/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(251,250,246,.92); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink-900); }
.nav__brand .word { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.025em; }
.nav__brand .ai { color: var(--teal-700); font-weight: 600; background: transparent; }

.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--teal-700); }
.nav__cta { display: flex; gap: 10px; align-items: center; }

.nav__menu-btn { display: none; padding: 8px; border-radius: 10px; }
.nav__menu-btn:hover { background: var(--paper-100); }

@media (max-width: 1024px) {
  .nav__links, .nav__cta .btn--ghost, .nav__cta .btn--primary { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,26,46,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; right: 0; top: 0; height: 100%;
  width: min(360px, 86%);
  background: var(--paper-50);
  padding: 24px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease-out);
  border-left: 1px solid var(--border);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer__links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.drawer__links a { padding: 14px 12px; border-radius: var(--r-md); font-weight: 500; }
.drawer__links a:hover { background: var(--paper-100); }
.drawer .btn { width: 100%; }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding-top: 64px;
  padding-bottom: 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0 0 30% 0;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(22,184,199,.10), transparent 60%),
    radial-gradient(50% 70% at 10% 10%, rgba(200,162,75,.07), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__top { display: flex; justify-content: center; margin-bottom: 28px; }
.hero h1 {
  text-align: center;
  max-width: 18ch;
  margin-inline: auto;
}
.hero h1 em { font-style: normal; color: var(--teal-700); font-family: var(--font-display); }
.hero__sub {
  text-align: center;
  max-width: 62ch;
  margin: 24px auto 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.225rem);
  line-height: 1.55;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 28px; justify-content: center; margin-top: 28px;
  font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap;
}
.hero__meta span { display: inline-flex; gap: 8px; align-items: center; }

/* Product UI mockup card */
.hero__product {
  margin-top: 64px;
  border-radius: var(--r-2xl);
  background: var(--ink-900);
  padding: clamp(14px, 2vw, 24px);
  position: relative;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hero__product::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,184,199,.07), transparent 30%);
  pointer-events: none;
}

/* The product UI mockup */
.ui {
  background: #0E1E33;
  border-radius: 22px;
  border: 1px solid #1B3047;
  overflow: hidden;
  position: relative;
  color: #DAE2EE;
  font-size: 13px;
  line-height: 1.4;
}
.ui__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #1B3047;
  background: #0B1A2D;
}
.ui__dots { display: flex; gap: 6px; }
.ui__dots span { width: 10px; height: 10px; border-radius: 50%; background: #2A405A; }
.ui__crumb { display: flex; gap: 8px; align-items: center; color: #9AA8BB; font-size: 12px; font-weight: 500; }
.ui__crumb b { color: #DAE2EE; font-weight: 600; }
.ui__search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: #112436;
  color: #6B7B92;
  font-size: 12px;
}

.ui__body { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.ui__side {
  background: #0B1A2D;
  border-right: 1px solid #1B3047;
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.ui__side-h {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #6B7B92; padding: 14px 8px 6px;
}
.ui__side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  color: #C7CFDB; font-weight: 500; font-size: 12.5px;
}
.ui__side-item.active { background: linear-gradient(90deg, rgba(22,184,199,.18), rgba(22,184,199,.02)); color: #6AD7E1; }
.ui__side-item .ic { width: 16px; height: 16px; flex-shrink: 0; opacity: .9; }

.ui__main { padding: 22px; display: grid; gap: 18px; }
.ui__heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.ui__heading h5 { font-size: 18px; font-family: var(--font-display); font-weight: 500; color: #fff; letter-spacing: -.01em; margin: 0; }
.ui__heading .pill {
  font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(22,184,199,.12); color: #6AD7E1; border: 1px solid rgba(22,184,199,.25);
  font-weight: 600;
}

.ui__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
  background: #112436;
  border: 1px solid #1B3047;
  border-radius: 14px;
  padding: 12px 14px;
}
.kpi__label { font-size: 11px; color: #6B7B92; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.kpi__value { font-size: 22px; font-family: var(--font-display); font-weight: 500; color: #fff; margin-top: 4px; letter-spacing: -.02em; }
.kpi__delta { font-size: 11px; font-weight: 600; margin-top: 4px; display: inline-flex; gap: 4px; align-items: center; }
.kpi__delta.up { color: #5BD6A5; }
.kpi__delta.down { color: #E68B97; }

.ui__heatmap { background: #112436; border: 1px solid #1B3047; border-radius: 14px; padding: 14px; }
.heatmap__head { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.heatmap__head .legend { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #9AA8BB; }
.heatmap__head .legend i { width: 12px; height: 12px; border-radius: 3px; }
.heatmap__grid {
  display: grid;
  grid-template-columns: 56px repeat(14, 1fr);
  gap: 4px;
  font-size: 10.5px;
}
.heatmap__grid .lbl { color: #9AA8BB; padding: 6px 0; font-weight: 600; }
.heatmap__grid .col-lbl { color: #6B7B92; text-align: center; padding-bottom: 4px; font-weight: 500; font-size: 10px; }
.cell {
  height: 22px; border-radius: 4px;
  background: var(--c, #1B3047);
  position: relative;
}
.cell[data-mark="comp"]::after {
  content: ""; position: absolute; inset: 0; border-radius: 4px;
  outline: 1.5px solid #C8A24B; outline-offset: -1.5px;
}

.ui__rows { display: grid; gap: 8px; }
.ui__row {
  display: grid;
  grid-template-columns: 1fr 80px 100px 80px 100px;
  align-items: center;
  padding: 10px 12px;
  background: #112436;
  border: 1px solid #1B3047;
  border-radius: 12px;
  font-size: 12.5px;
}
.ui__row .name { color: #fff; font-weight: 500; }
.ui__row .sub { color: #6B7B92; font-size: 11px; font-weight: 500; }
.ui__row .num { font-variant-numeric: tabular-nums; color: #DAE2EE; font-weight: 600; }
.ui__row .pos { color: #5BD6A5; }
.ui__row .neg { color: #E68B97; }
.ui__row .neutral { color: #9AA8BB; }

@media (max-width: 760px) {
  .ui__body { grid-template-columns: 1fr; }
  .ui__side { display: none; }
  .ui__kpis { grid-template-columns: repeat(2,1fr); }
  .heatmap__grid { grid-template-columns: 40px repeat(7, 1fr); }
  .heatmap__grid .col-lbl:nth-child(n+9) { display: none; }
  .heatmap__grid .cell:nth-child(15n+9), .heatmap__grid .cell:nth-child(15n+10),
  .heatmap__grid .cell:nth-child(15n+11), .heatmap__grid .cell:nth-child(15n+12),
  .heatmap__grid .cell:nth-child(15n+13), .heatmap__grid .cell:nth-child(15n+14),
  .heatmap__grid .cell:nth-child(15n) { display: none; }
  .ui__row { grid-template-columns: 1fr 70px 70px; }
  .ui__row .col-hide { display: none; }
}

/* ============== TRUST STRIP ============== */
.trust {
  padding-block: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-100);
}
.trust__h { text-align: center; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.trust__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  margin-top: 28px;
  align-items: center;
}
.trust__logo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.05rem; letter-spacing: -0.01em;
  opacity: .7;
  filter: grayscale(1);
}
.trust__logo svg { color: var(--ink-700); }

/* Brand logo strip — monochrome wordmarks */
.trust__row--brands {
  grid-template-columns: repeat(7, 1fr);
  gap: 28px 36px;
  align-items: center;
  margin-top: 28px;
}
.trust__row--brands .trust__logo {
  filter: none;
  opacity: .72;
  transition: opacity .2s ease;
  min-height: 32px;
}
.trust__row--brands .trust__logo:hover { opacity: 1; }
.trust__row--brands .trust__logo svg {
  width: 100%;
  height: auto;
  max-height: 30px;
  color: var(--ink-900, #0A1A2E);
  display: block;
}
.trust__disc {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 24px;
  opacity: .65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .trust__row--brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust__row--brands { grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
  .trust__row--brands .trust__logo svg { max-height: 26px; }
}

/* ============== BRAND MARQUEE (scrolling logo strip) ============== */
.brand-marquee {
  margin-top: 28px;
  overflow: hidden;
  position: relative;
  /* Soft fade on left/right edges so logos slide in/out gracefully */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.brand-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 72px;
  animation: brand-marquee-scroll 40s linear infinite;
  will-change: transform;
}
.brand-marquee:hover .brand-marquee__track { animation-play-state: paused; }
.brand-marquee .brand-logo {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  height: 56px;
}
.brand-marquee .brand-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
  /* Render every brand mark in a neutral dark tone so the strip feels uniform */
  filter: grayscale(100%) brightness(0) saturate(100%);
  opacity: .72;
  transition: opacity .2s ease, filter .2s ease;
}
.brand-marquee .brand-logo:hover img { opacity: 1; }
@keyframes brand-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 760px) {
  .brand-marquee__track { gap: 48px; animation-duration: 32s; }
  .brand-marquee .brand-logo { height: 42px; }
  .brand-marquee .brand-logo img { max-height: 42px; max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; transform: none; }
  .brand-marquee {
    -webkit-mask-image: none;
            mask-image: none;
    overflow-x: auto;
  }
}

/* ============== PROBLEM ============== */
.problem { background: var(--paper-50); }
.problem__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 40px;
}
.pain {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid; gap: 10px;
}
.pain h4 { display: flex; align-items: center; gap: 10px; }
.pain .x {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(194,90,106,.12);
  color: var(--rose-500);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.pain p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 760px) { .problem__grid { grid-template-columns: 1fr; } }

/* ============== PLATFORM ============== */
.platform { background: var(--paper-100); border-block: 1px solid var(--border); }
.platform__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feat {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; gap: 12px; align-content: start;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feat__ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(22,184,199,.10);
  color: var(--teal-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.feat h4 { letter-spacing: -.005em; }
.feat p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 920px) { .platform__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .platform__grid { grid-template-columns: 1fr; } }

/* ============== MODULES (cards with mini UI) ============== */
.modules { background: var(--paper-50); }
.modules__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.mod {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mod--lg { grid-column: span 7; }
.mod--md { grid-column: span 5; }
.mod--sm { grid-column: span 4; }
.mod__body { padding: 28px 26px; display: grid; gap: 10px; }
.mod__body .eyebrow { color: var(--teal-700); }
.mod__body p { color: var(--text-muted); font-size: 0.95rem; }
.mod__viz {
  background: var(--ink-900);
  margin: 0 18px 18px;
  border-radius: var(--r-md);
  padding: 16px;
  color: #DAE2EE;
  font-size: 12px;
  border: 1px solid var(--ink-700);
}
@media (max-width: 980px) {
  .mod--lg, .mod--md, .mod--sm { grid-column: span 12; }
}

/* ============== INTEGRATIONS ============== */
.integrations {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(22,184,199,.06), transparent 60%),
    var(--paper-100);
  border-block: 1px solid var(--border);
}
.intg__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 48px;
}
.intg__cat-h {
  grid-column: 1/-1;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--text-muted);
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.intg__cat-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.intg__cell {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 0.92rem;
  color: var(--text);
  transition: transform .25s, box-shadow .25s;
}
.intg__cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.intg__cell .mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--paper-150);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink-700);
  font-size: 13px;
  flex-shrink: 0;
}
.intg__cell .mark.teal { background: rgba(22,184,199,.10); color: var(--teal-700); }
.intg__cell .mark.gold { background: rgba(200,162,75,.12); color: #8A6E1E; }
.intg__cell .mark.dark { background: var(--ink-900); color: #fff; }

/* Real-brand logo chips for OTA section */
.intg__cell .mark--logo { padding: 0; overflow: hidden; background: transparent; }
.intg__cell .mark--logo svg { width: 100%; height: 100%; display: block; border-radius: 8px; }
.intg__cell .mark.teal.mark--logo { background: rgba(22,184,199,.10); }
.intg__cell .mark.teal.mark--logo svg { padding: 6px; }

/* OTA lockup cells — single official horizontal logo on cream, no chip + no text */
.intg__cell--lockup {
  justify-content: center;
  padding: 18px 20px;
  min-height: 64px;
}
.intg__cell--lockup img {
  display: block;
  max-height: 28px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Match hotel brand marquee — unified monochrome tone on cream */
  filter: grayscale(100%) brightness(0) saturate(100%);
  opacity: .72;
  transition: opacity .2s ease, filter .2s ease;
}
.intg__cell--lockup:hover img { opacity: 1; }
@media (max-width: 720px) {
  .intg__cell--lockup img { max-height: 24px; max-width: 140px; }
}

@media (max-width: 920px) { .intg__grid { grid-template-columns: repeat(2,1fr); } }

/* ============== AI section ============== */
.section-ai {
  background: var(--ink-900);
  color: var(--paper-50);
  position: relative;
  overflow: hidden;
}
.section-ai::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 90% 20%, rgba(22,184,199,.12), transparent 60%),
    radial-gradient(40% 60% at 10% 80%, rgba(200,162,75,.08), transparent 60%);
  pointer-events: none;
}
.section-ai .container { position: relative; }
.section-ai h2 { color: #fff; }
.section-ai .section-head p { color: var(--ink-300); }
.ai__layout {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  margin-top: 40px;
}
.ai__list { display: grid; gap: 16px; }
.ai__item {
  display: flex; gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  transition: background .25s, border-color .25s;
}
.ai__item:hover { background: rgba(22,184,199,.06); border-color: rgba(22,184,199,.30); }
.ai__item .num {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--teal-300);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  width: 32px;
}
.ai__item h4 { color: #fff; font-size: 1rem; }
.ai__item p { color: var(--ink-300); font-size: 0.92rem; margin-top: 4px; }

.ai__panel {
  background: linear-gradient(180deg, #0E1E33, #0A1A2E);
  border: 1px solid var(--ink-700);
  border-radius: var(--r-xl);
  padding: 24px;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}
.ai__panel::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl);
  border: 1px solid rgba(22,184,199,.2);
  pointer-events: none;
  mask: linear-gradient(180deg, #000 0%, transparent 60%);
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 60%);
}
.ai__panel-head {
  display: flex; gap: 10px; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-700);
  margin-bottom: 14px;
}
.ai__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #16B8C7, #0B7A87);
  display: flex; align-items: center; justify-content: center;
  color: #04313A; font-weight: 700; font-size: 11px;
}
.ai__panel-head .t { color: #fff; font-weight: 600; font-size: 0.92rem; }
.ai__panel-head .s { color: var(--ink-400); font-size: 11px; }
.ai__panel ul { margin: 0; padding-left: 18px; color: var(--ink-200); }
.ai__panel ul li { margin-bottom: 8px; }
.ai__panel ul li b { color: var(--teal-300); font-weight: 600; }

@media (max-width: 920px) { .ai__layout { grid-template-columns: 1fr; gap: 32px; } }

/* ============== WHITE LABEL ============== */
.whitelabel { background: var(--paper-50); }
.wl__layout {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  margin-top: 32px;
}
.wl__list { display: grid; gap: 18px; }
.wl__item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.wl__item .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(200,162,75,.12);
  color: #8A6E1E;
  display: inline-flex; align-items: center; justify-content: center;
}
.wl__item h4 { font-size: 1rem; }
.wl__item p { color: var(--text-muted); font-size: 0.92rem; margin-top: 2px; }

.wl__cover {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid; gap: 14px;
  position: relative; overflow: hidden;
}
.wl__cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(200,162,75,.08), transparent 40%);
}
.wl__cover-h {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.1;
  color: var(--ink-900);
  z-index: 1;
}
.wl__cover .meta { color: var(--text-muted); font-size: 0.85rem; z-index: 1; }
.wl__chart { z-index: 1; }
.wl__brand-line {
  display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  z-index: 1;
}
@media (max-width: 920px) { .wl__layout { grid-template-columns: 1fr; gap: 32px; } }

/* ============== USE CASES ============== */
.use-cases { background: var(--paper-100); border-block: 1px solid var(--border); }
.uc__tabs {
  display: flex; gap: 8px; margin-top: 36px; flex-wrap: wrap;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  width: fit-content;
}
.uc__tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  transition: background .25s, color .25s;
}
.uc__tab.is-active { background: var(--ink-900); color: var(--paper-50); }
.uc__tab:hover:not(.is-active) { background: var(--paper-100); color: var(--text); }

.uc__panels { margin-top: 36px; position: relative; }
.uc__panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.uc__panel.is-active { display: grid; }
.uc__panel h3 { letter-spacing: -.02em; }
.uc__panel p { color: var(--text-muted); margin-top: 14px; font-size: 1.02rem; }
.uc__panel ul { padding-left: 0; list-style: none; margin: 24px 0 0; display: grid; gap: 10px; }
.uc__panel ul li { display: flex; gap: 10px; font-size: 0.95rem; }
.uc__panel ul li svg { flex-shrink: 0; color: var(--teal-600); margin-top: 3px; }

.uc__viz {
  background: var(--ink-900);
  border-radius: var(--r-lg);
  padding: 22px;
  color: #DAE2EE;
  min-height: 280px;
}
.uc__viz h6 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem; color: var(--ink-300); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.uc__viz .props { display: grid; gap: 8px; }
.uc__viz .prop {
  display: grid; grid-template-columns: 1fr 64px 80px;
  align-items: center;
  padding: 10px 12px;
  background: #112436;
  border: 1px solid #1B3047;
  border-radius: 10px;
  font-size: 12px;
}
.uc__viz .prop .nm { color: #fff; font-weight: 500; }
.uc__viz .prop .num { font-variant-numeric: tabular-nums; color: #DAE2EE; font-weight: 600; }
.uc__viz .prop .delta { font-size: 11px; font-weight: 600; }
.uc__viz .prop .delta.pos { color: #5BD6A5; }
.uc__viz .prop .delta.neg { color: #E68B97; }
@media (max-width: 920px) { .uc__panel.is-active { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 600px) { .uc__panel.is-active { padding: 22px; }}

/* ============== DEMO CTA ============== */
.demo {
  background: var(--ink-900);
  color: var(--paper-50);
  position: relative;
  overflow: hidden;
}
.demo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(22,184,199,.16), transparent 60%),
    radial-gradient(50% 70% at 5% 100%, rgba(200,162,75,.08), transparent 60%);
}
.demo .container { position: relative; }
.demo h2 { color: #fff; }
.demo__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
  margin-top: 40px;
}
.demo__copy { padding-top: 12px; }
.demo__copy p { color: var(--ink-300); font-size: 1.05rem; line-height: 1.6; }
.demo__list { display: grid; gap: 14px; margin-top: 28px; }
.demo__list li { display: flex; gap: 12px; color: var(--ink-200); font-size: 0.95rem; align-items: start; }
.demo__list svg { color: var(--teal-300); flex-shrink: 0; margin-top: 3px; }

.demo__form {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-xl);
  padding: 28px;
  display: grid; gap: 16px;
  backdrop-filter: blur(8px);
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-300); font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font: inherit; font-size: 0.95rem;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: rgba(22,184,199,.08);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo__form .btn--primary { width: 100%; padding: 14px; font-size: 1rem; }
.demo__form .legal { font-size: 0.78rem; color: var(--ink-400); }
.demo__form .legal a { color: var(--teal-300); text-decoration: underline; }

@media (max-width: 920px) { .demo__layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 540px) { .field--row { grid-template-columns: 1fr; } }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 24px);
  background: var(--ink-900); color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-700);
  box-shadow: var(--shadow-xl);
  display: flex; gap: 12px; align-items: center;
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease-out);
  max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast__ic {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-500); color: #04313A;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============== FOOTER ============== */
.foot {
  background: var(--paper-50);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.foot__brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 36ch;
}
.foot__col h5 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); font-family: var(--font-sans); font-weight: 600; }
.foot__col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.foot__col li a { font-size: 0.92rem; color: var(--text-muted); }
.foot__col li a:hover { color: var(--teal-700); }
.foot__bot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted);
}
@media (max-width: 760px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .foot__top { grid-template-columns: 1fr; }
}

/* small SVG icon sizing */
.ic { width: 18px; height: 18px; }
.ic-lg { width: 22px; height: 22px; }

/* ============== AI TEASER ============== */
.ai-teaser { padding-block: 64px; }
.ai-teaser__card {
  background: linear-gradient(135deg, #0A1A2E 0%, #133050 50%, #0E97A6 140%);
  border-radius: 20px;
  padding: 56px 48px;
  color: #F4F2EE;
  position: relative;
  overflow: hidden;
}
.ai-teaser__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 90% 10%, rgba(106, 215, 225, 0.18), transparent 60%);
  pointer-events: none;
}
.ai-teaser__copy { position: relative; max-width: 760px; }
.ai-teaser__copy h2 { color: #F4F2EE; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.ai-teaser__copy p { color: rgba(244, 242, 238, .82); margin-top: 14px; font-size: 1.05rem; line-height: 1.55; }
.ai-teaser__cta { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.ai-teaser__platforms {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, .65);
  font-weight: 600;
}
@media (max-width: 720px) {
  .ai-teaser__card { padding: 36px 24px; }
}

/* ============== FAQ ============== */
.faq { padding-block: 88px; background: var(--paper-50); }
.faq__list {
  max-width: 880px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq__item[open] { border-color: rgba(22,184,199,.35); box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--ink-900, #0A1A2E);
  font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; transition: transform .2s ease; }
.faq__item[open] .faq__chev { transform: rotate(180deg); color: var(--teal-700); }
.faq__a { padding: 0 24px 24px; color: var(--text-muted); line-height: 1.65; font-size: 0.98rem; }
.faq__a p { margin: 0; }
.faq__a a { color: var(--teal-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* =========================================================
   LEGAL PAGES — Lighthouse-style stripped layout
   ========================================================= */
section.legal { padding: calc(var(--nav-h, 72px) + 48px) 0 96px; background: var(--paper-50); }
section.legal .legal__wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.legal__h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 8.4vw, 7rem); line-height: 0.98;
  letter-spacing: -0.035em; color: var(--ink-900);
  margin: 0 0 28px;
}
.legal__meta { font-style: italic; color: var(--ink-700); font-size: 0.95rem; margin: 0 0 4px; }
.legal__meta + .legal__meta { margin-bottom: 28px; }

.legal-prose { max-width: 900px; margin: 0; }
.legal-prose section { padding: 28px 0 4px; border-top: 1px solid var(--border); }
.legal-prose section:first-of-type { border-top: 1px solid var(--border); }
.legal-prose h2 {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink-900);
  margin: 0 0 18px; text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}
.legal-prose h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--ink-900); margin: 22px 0 10px; }
.legal-prose p, .legal-prose li { color: var(--ink-800, #1A2435); line-height: 1.65; font-size: 1.02rem; }
.legal-prose p { margin: 0 0 14px; }
.legal-prose ul, .legal-prose ol { padding-left: 24px; margin: 8px 0 18px; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--ink-900); font-weight: 600; }
.legal-prose a { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-prose a:hover { color: var(--teal-700); }
.legal-prose table {
  width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 0.95rem;
}
.legal-prose th, .legal-prose td {
  border: 1px solid var(--border); padding: 10px 14px; vertical-align: top; text-align: left;
  color: var(--ink-800, #1A2435);
}
.legal-prose th { background: var(--paper-100); font-weight: 600; }

@media (max-width: 700px) {
  .legal__h1 { font-size: clamp(2.4rem, 14vw, 4rem); letter-spacing: -0.025em; }
  .legal-prose h2 { font-size: 1.25rem; }
  .legal-prose p, .legal-prose li { font-size: 0.98rem; }
}

/* AI Visibility page */
.aiv-hero {
  padding: calc(var(--nav-h, 72px) + 80px) 0 70px;
  background: linear-gradient(180deg, #0A1A2E 0%, #0E2540 100%);
  color: #E6ECF5;
  position: relative; overflow: hidden;
}
.aiv-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(22,184,199,.18), transparent 50%),
              radial-gradient(circle at 10% 100%, rgba(200,162,75,.10), transparent 50%);
  pointer-events: none;
}
.aiv-hero .container { position: relative; z-index: 1; }
.aiv-hero__eyebrow { color: #6AD7E1; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.aiv-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04;
  letter-spacing: -.02em; margin: 16px 0 18px; color: #FAFBFD;
  max-width: 18ch;
}
.aiv-hero h1 em { font-style: normal; color: #6AD7E1; }
.aiv-hero__sub { font-size: 1.15rem; line-height: 1.6; color: #B7C4D6; max-width: 60ch; margin: 0 0 32px; }
.aiv-hero .btn { background: #16B8C7; color: #0A1A2E; }
.aiv-hero .btn:hover { background: #4FD0DC; }
.aiv-hero .btn--ghost { background: transparent; color: #E6ECF5; border: 1px solid rgba(230,236,245,.25); }
.aiv-hero .btn--ghost:hover { background: rgba(230,236,245,.08); }

.pillars { padding: 80px 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.pillar {
  background: var(--paper-100); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px;
}
.pillar__num { font-family: var(--font-display); color: var(--teal-700); font-size: 14px; font-weight: 600; }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 6px 0 10px; letter-spacing: -.01em; color: var(--ink-900); }
.pillar p { font-size: .98rem; color: var(--ink-500); line-height: 1.6; margin: 0; }
@media (max-width: 1024px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pillars__grid { grid-template-columns: 1fr; } }

.how { padding: 70px 0; background: var(--paper-100); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.howcard { background: var(--paper); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.howcard__step { font-family: var(--font-display); font-size: 13px; color: var(--teal-700); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.howcard h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin: 8px 0 10px; letter-spacing: -.01em; color: var(--ink-900); }
.howcard p { color: var(--ink-500); line-height: 1.6; margin: 0 0 12px; }
.howcard ul { padding-left: 18px; color: var(--ink-700); font-size: .95rem; }
.howcard li { margin-bottom: 4px; }
@media (max-width: 900px) { .how__grid { grid-template-columns: 1fr; } }

.platforms { padding: 80px 0; }
.platforms__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px;
  background: var(--paper-100); border: 1px solid var(--border); border-radius: 16px; padding: 36px 26px;
}
.platforms__row .ai-platform {
  display: flex; align-items: center; justify-content: center;
  min-height: 72px; padding: 8px 12px;
}
.platforms__row--lockups .ai-platform__lockup {
  display: block; width: 100%; max-width: 200px; height: auto;
  max-height: 60px; object-fit: contain;
  color: var(--ink-900);
}
@media (max-width: 900px) {
  .platforms__row { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding: 28px 18px; }
  .platforms__row .ai-platform { min-height: 64px; }
  .platforms__row--lockups .ai-platform__lockup { max-width: 180px; max-height: 52px; }
}
@media (max-width: 420px) {
  .platforms__row { grid-template-columns: 1fr; gap: 18px; }
}

.aiv-cta { padding: 70px 0 90px; }

/* =========================================================
   MOBILE OVERFLOW LOCK + NAV CTA HIDE (fixes sideways scroll on phones)
   ========================================================= */
html, body { overflow-x: hidden; max-width: 100%; }
html { width: 100%; }
body { width: 100%; position: relative; }

/* Force-hide the nav CTAs below 1024px (higher specificity than original rule
   so it wins regardless of source order) */
@media (max-width: 1024px) {
  header.nav .nav__cta .btn--ghost,
  header.nav .nav__cta .btn--primary { display: none !important; }
  header.nav .nav__menu-btn { display: inline-flex !important; }
}

/* Guard against any descendant overflowing the viewport */
.nav__inner, main, footer { min-width: 0; }
img, svg, video, iframe { max-width: 100%; height: auto; }
