:root {
  --lat-bg: #0a0b12;
  --lat-surface: rgba(22, 24, 38, 0.72);
  --lat-glass: rgba(255, 255, 255, 0.06);
  --lat-border: rgba(255, 255, 255, 0.1);
  --lat-violet: #8b5cf6;
  --lat-magenta: #ec4899;
  --lat-amber: #f59e0b;
  --lat-cyan: #22d3ee;
  --lat-text: #e8eaf3;
  --lat-muted: #9ca3b8;
  --lat-radius: 18px;
  --lat-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --lat-font: "Sora", "Noto Sans SC", system-ui, sans-serif;
  --lat-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--lat-font);
  background: var(--lat-bg);
  color: var(--lat-text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

body.lat-menu-lock {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(236, 72, 153, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(245, 158, 11, 0.15), transparent 45%),
    var(--lat-bg);
}

a {
  color: var(--lat-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lat-wrap {
  width: min(100% - 2rem, var(--lat-max));
  margin-inline: auto;
}

.lat-header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(16px);
  background: rgba(10, 11, 18, 0.82);
  border-bottom: 1px solid var(--lat-border);
}

.lat-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.lat-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.lat-brand img {
  border-radius: 12px;
}

.lat-nav-desktop {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.lat-nav-desktop a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--lat-muted);
  border-radius: 999px;
  font-size: 0.92rem;
}

.lat-nav-desktop a:hover,
.lat-nav-desktop a.lat-active {
  color: #fff;
  background: var(--lat-glass);
}

.lat-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--lat-border);
  border-radius: 12px;
  background: var(--lat-glass);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.lat-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.lat-drawer {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 960;
  background: rgba(10, 11, 18, 0.96);
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 1.5rem;
}

.lat-drawer.lat-drawer-open {
  transform: translateX(0);
}

.lat-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lat-drawer a {
  display: block;
  padding: 1rem 0;
  color: var(--lat-text);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--lat-border);
}

.lat-sticky-dl {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 800;
  background: rgba(14, 15, 24, 0.94);
  border-bottom: 1px solid var(--lat-border);
  backdrop-filter: blur(14px);
  padding: 0.55rem 0.75rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.lat-sticky-dl.lat-sticky-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body.lat-menu-lock .lat-sticky-dl {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.lat-sticky-grid,
#lat-promo-ads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0.35rem;
}

.lat-ad-cell {
  width: calc(20% - 0.3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lat-ad-cell a {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.lat-ad-cell img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}

.lat-ad-cell a:hover img {
  transform: translateY(-3px) scale(1.04);
}

.lat-ad-cap {
  margin-top: 0.2rem;
  font-size: 10px;
  color: var(--lat-muted);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.lat-promo-band {
  padding: 0.75rem 0 0.25rem;
  border-bottom: 1px solid var(--lat-border);
  background: rgba(255, 255, 255, 0.02);
}

.lat-hero {
  padding: 2.5rem 0 2rem;
  position: relative;
}

.lat-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.2));
  border: 1px solid var(--lat-border);
  font-size: 0.82rem;
  color: #ddd6fe;
  margin-bottom: 1rem;
}

.lat-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, #fff 30%, #c4b5fd 70%, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lat-lead {
  font-size: 1.05rem;
  color: var(--lat-muted);
  max-width: 52ch;
}

.lat-hero-visual {
  position: relative;
  border-radius: calc(var(--lat-radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--lat-border);
  box-shadow: var(--lat-shadow);
}

.lat-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 11, 18, 0.65));
  pointer-events: none;
}

.lat-section {
  padding: 2.75rem 0;
}

.lat-section-head {
  margin-bottom: 1.75rem;
}

.lat-section-head h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  margin: 0 0 0.5rem;
  color: #fff;
}

.lat-section-head p {
  margin: 0;
  color: var(--lat-muted);
  max-width: 60ch;
}

.lat-glass-card {
  background: var(--lat-surface);
  border: 1px solid var(--lat-border);
  border-radius: var(--lat-radius);
  padding: 1.35rem 1.25rem;
  backdrop-filter: blur(12px);
}

.lat-bento {
  display: grid;
  gap: 1rem;
}

.lat-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.lat-split-reverse .lat-split-media {
  order: -1;
}

.lat-split-media img {
  border-radius: var(--lat-radius);
  border: 1px solid var(--lat-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.lat-split-body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: #f3e8ff;
}

.lat-split-body p {
  margin: 0 0 0.85rem;
  color: #c7cad9;
}

.lat-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.lat-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: #ddd6fe;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.lat-card-grid {
  display: grid;
  gap: 1rem;
}

.lat-feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.lat-feature-card p {
  margin: 0;
  color: var(--lat-muted);
  font-size: 0.94rem;
}

.lat-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--lat-violet), var(--lat-magenta));
  font-size: 1.2rem;
}

.lat-prose {
  color: #c7cad9;
}

.lat-prose h2,
.lat-prose h3 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.lat-prose h2 {
  font-size: 1.45rem;
}

.lat-prose h3 {
  font-size: 1.15rem;
}

.lat-prose p {
  margin: 0 0 1rem;
}

.lat-prose ul,
.lat-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.lat-dl-link {
  color: var(--lat-amber);
  border-bottom: 1px dashed rgba(245, 158, 11, 0.5);
}

.lat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lat-btn-primary {
  background: linear-gradient(135deg, var(--lat-violet), var(--lat-magenta));
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.lat-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.45);
  color: #fff;
}

.lat-faq-item {
  border: 1px solid var(--lat-border);
  border-radius: 14px;
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: var(--lat-glass);
}

.lat-faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.98rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lat-faq-trigger::after {
  content: "+";
  color: var(--lat-cyan);
  font-size: 1.2rem;
}

.lat-faq-trigger[aria-expanded="true"]::after {
  content: "−";
}

.lat-faq-panel {
  padding: 0 1.1rem 1rem;
  color: var(--lat-muted);
  font-size: 0.94rem;
}

.lat-breadcrumb {
  padding: 1rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--lat-muted);
}

.lat-breadcrumb a {
  color: var(--lat-muted);
}

.lat-breadcrumb span {
  color: #fff;
}

.lat-page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1.5rem;
  color: #fff;
}

.lat-legal {
  padding-bottom: 3rem;
}

.lat-legal h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: #f3e8ff;
}

.lat-legal p,
.lat-legal li {
  color: #b8bccf;
}

.lat-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--lat-border);
  background: rgba(0, 0, 0, 0.25);
}

.lat-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.lat-footer-nav a {
  color: var(--lat-muted);
  font-size: 0.9rem;
}

.lat-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7289;
}

.lat-error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 0 3rem;
}

.lat-error-code {
  font-size: clamp(4rem, 16vw, 7rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--lat-violet), var(--lat-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.lat-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.lat-stat {
  text-align: center;
  padding: 1rem;
  border-radius: 14px;
  background: var(--lat-glass);
  border: 1px solid var(--lat-border);
}

.lat-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--lat-cyan);
}

.lat-stat span {
  font-size: 0.82rem;
  color: var(--lat-muted);
}

@media (min-width: 640px) {
  .lat-ad-cell {
    width: calc(12.5% - 0.35rem);
  }

  .lat-ad-cell a {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .lat-ad-cell img {
    border-radius: 14px;
  }

  .lat-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .lat-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lat-stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .lat-nav-desktop {
    display: flex;
  }

  .lat-burger {
    display: none;
  }

  .lat-drawer {
    display: none;
  }

  .lat-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .lat-split {
    grid-template-columns: 1fr 1fr;
  }

  .lat-split-reverse .lat-split-media {
    order: 0;
  }

  .lat-bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .lat-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lat-ad-cell a {
    width: 65px;
    height: 65px;
    border-radius: 16px;
  }

  .lat-ad-cell img {
    border-radius: 16px;
  }
}
