/* ============================================================
   LEXAILY — Hospitality-tech design system
   Production stylesheet. All component styles live here as
   semantic classes (ported from the original JSX prototype).
   ============================================================ */

:root {
  /* --- Ink (warm espresso) --- */
  --ink-900: oklch(0.215 0.012 70);
  --ink-850: oklch(0.25 0.013 70);
  --ink-800: oklch(0.275 0.014 70);
  --ink-700: oklch(0.375 0.014 70);
  --ink-600: oklch(0.42 0.012 72);

  /* --- Paper / cream --- */
  --paper:   oklch(0.99 0.005 85);
  --cream:   oklch(0.97 0.009 82);
  --cream-2: oklch(0.945 0.012 80);
  --sand:    oklch(0.91 0.016 78);

  /* --- Text --- */
  --on-dark:        oklch(0.96 0.006 82);
  --on-dark-muted:  oklch(0.74 0.012 76);
  --on-dark-faint:  oklch(0.63 0.012 74);
  --on-light:       oklch(0.21 0.013 70);
  --on-light-muted: oklch(0.46 0.013 72);

  /* --- Accents (shared L/C, varied hue) --- */
  --honey:    oklch(0.80 0.118 73);
  --honey-2:  oklch(0.72 0.12 65);
  --honey-soft: oklch(0.90 0.06 78);
  --teal:     oklch(0.80 0.085 200);
  --teal-2:   oklch(0.70 0.09 205);

  /* --- Lines --- */
  --line-dark:  oklch(0.375 0.012 72 / 0.55);
  --line-light: oklch(0.21 0.013 70 / 0.12);

  /* --- Type --- */
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- Rhythm --- */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Anchored sections must clear the 72px fixed header when jumped to */
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ink-900);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

::selection { background: var(--honey); color: var(--ink-900); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Visible keyboard focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--honey);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 100px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 148px); }
.section--bordered { border-top: 1px solid var(--line-dark); }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 4px oklch(0.80 0.118 73 / 0.18);
}
.eyebrow.on-light { color: var(--honey-2); }
.eyebrow.on-light::before { background: var(--honey-2); box-shadow: 0 0 0 4px oklch(0.72 0.12 65 / 0.16); }
.eyebrow--center { justify-content: center; }

/* ---------- Type scale ---------- */
.display {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(44px, 7.2vw, 92px);
  text-wrap: balance;
  margin: 0;
}
.h1 { font-weight: 700; letter-spacing: -0.028em; line-height: 1.02; font-size: clamp(34px, 5vw, 62px); text-wrap: balance; margin: 0; }
.h2 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(26px, 3vw, 36px); text-wrap: balance; margin: 0; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--on-dark-muted); font-weight: 400; }
.lead.on-light { color: var(--on-light-muted); }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.accent-honey { color: var(--honey); }
.accent-honey-2 { color: var(--honey-2); }
.faint { color: var(--on-dark-faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, color .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--honey);
  color: var(--ink-900);
  box-shadow: 0 1px 0 oklch(0.88 0.09 78) inset, 0 10px 30px -12px oklch(0.80 0.118 73 / 0.7);
}
.btn-primary:hover { background: oklch(0.84 0.12 74); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line-dark);
}
.btn-ghost:hover { border-color: oklch(0.45 0.012 74); background: oklch(0.375 0.012 72 / 0.3); }
.btn-light {
  background: var(--ink-900);
  color: var(--on-dark);
}
.btn-light:hover { background: var(--ink-800); transform: translateY(-1px); }
.btn-on-light-ghost {
  background: transparent; color: var(--on-light); border-color: var(--line-light);
}
.btn-on-light-ghost:hover { border-color: oklch(0.21 0.013 70 / 0.3); background: oklch(0.21 0.013 70 / 0.04); }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Surfaces ---------- */
.on-light-section { background: var(--cream); color: var(--on-light); }
.on-paper-section { background: var(--paper); color: var(--on-light); }
.card {
  background: oklch(0.275 0.014 70 / 0.5);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}
.card-light {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}

/* ---------- Pill / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  background: oklch(0.275 0.014 70 / 0.4);
}
.chip.on-light { border-color: var(--line-light); color: var(--on-light-muted); background: var(--paper); }
.chip--honey { border-color: oklch(0.80 0.118 73 / 0.4); color: var(--honey); }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .07s; }
  .reveal-d2 { transition-delay: .14s; }
  .reveal-d3 { transition-delay: .21s; }
  .reveal-d4 { transition-delay: .28s; }
}

/* ---------- Misc ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.divider-light { height: 1px; background: var(--line-light); border: 0; margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* placeholder image style */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, oklch(0.375 0.012 72 / 0.5) 0 1px, transparent 1px 9px),
    var(--ink-850);
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark-faint);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ph.on-light {
  background:
    repeating-linear-gradient(135deg, oklch(0.21 0.013 70 / 0.09) 0 1px, transparent 1px 9px),
    var(--cream-2);
  border-color: var(--line-light); color: var(--on-light-muted);
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: oklch(0.215 0.012 70 / 0.78);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line-dark);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; color: var(--on-dark); }
.brand-name--light { color: var(--on-light); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--on-dark-muted);
  transition: color .18s;
}
.nav-link:hover { color: var(--on-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-signin { font-size: 14.5px; font-weight: 500; color: var(--on-dark-muted); }
.nav-signin:hover { color: var(--on-dark); }

.nav-burger {
  display: none; background: transparent; border: 1px solid var(--line-dark);
  border-radius: 9px; width: 40px; height: 40px; color: var(--on-dark);
  padding: 0; align-items: center; justify-content: center;
}
.nav-burger svg { margin: auto; }

.mobile-menu {
  padding: 8px var(--gutter) 22px;
  border-top: 1px solid var(--line-dark);
  background: oklch(0.215 0.012 70 / 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a.m-link {
  font-size: 17px; font-weight: 500; padding: 12px 0; color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: 132px; }
.hero-glow-a {
  position: absolute; top: -180px; right: -8%; width: 720px; height: 720px;
  background: radial-gradient(circle at center, oklch(0.80 0.118 73 / 0.16), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero-glow-b {
  position: absolute; bottom: -260px; left: -12%; width: 620px; height: 620px;
  background: radial-gradient(circle at center, oklch(0.80 0.085 200 / 0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding-bottom: 96px; position: relative;
}
.hero-chip-row { margin-bottom: 26px; }
.hero-title { margin: 0 0 24px; }
.hero-lead { max-width: 510px; margin: 0 0 36px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-connects { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-connects .logos { display: flex; gap: 18px; align-items: center; }
.hero-pms { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--on-dark-muted); }
.dot-sep { width: 4px; height: 4px; border-radius: 9px; background: var(--on-dark-faint); display: inline-block; }

/* Hero booking-engine panel */
.hero-panel { max-width: none; }
.hp {
  position: relative; border-radius: 20px; border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, oklch(0.285 0.014 70 / 0.9), oklch(0.25 0.013 70 / 0.9));
  box-shadow: 0 40px 80px -40px oklch(0.10 0.01 70 / 0.9), 0 2px 0 oklch(0.375 0.012 72 / 0.4) inset;
  overflow: hidden;
}
.hp-chrome { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line-dark); }
.hp-dot-btn { width: 10px; height: 10px; border-radius: 9px; background: oklch(0.45 0.012 74); }
.hp-url { margin-left: 10px; flex: 1; height: 26px; border-radius: 7px; background: var(--ink-900); display: flex; align-items: center; padding: 0 11px; gap: 8px; }
.hp-body { padding: 20px; min-height: 386px; }
.hp-searchbar {
  display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 12px;
  background: var(--ink-900); border: 1px solid var(--line-dark);
}
.hp-search-text { font-size: 15px; color: var(--on-dark-faint); }
.hp-search-text.has-text { color: var(--on-dark); }
.hp-phase { margin-top: 16px; }
.hp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hp-chips .chip { font-size: 12.5px; padding: 6px 11px; }
.hp-results { display: flex; flex-direction: column; gap: 10px; }
.hp-result-row {
  display: flex; align-items: center; gap: 13px; padding: 11px; border-radius: 12px;
  background: oklch(0.215 0.012 70 / 0.6); border: 1px solid var(--line-dark);
}
.hp-result-thumb { width: 52px; height: 52px; border-radius: 9px; flex-shrink: 0; font-size: 0; }
.hp-result-name { font-size: 14.5px; font-weight: 600; }
.hp-result-loc { font-size: 12.5px; color: var(--on-dark-faint); }
.hp-result-price { font-size: 14.5px; font-weight: 700; color: var(--honey); }
.hp-result-unit { font-size: 11px; color: var(--on-dark-faint); }
.hp-capture { display: flex; flex-direction: column; gap: 14px; }
.hp-capture-banner {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 12px;
  background: oklch(0.80 0.085 200 / 0.1); border: 1px solid oklch(0.80 0.085 200 / 0.35);
}
.hp-capture-ico {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: oklch(0.80 0.085 200 / 0.2); flex-shrink: 0; color: var(--teal);
}
.hp-capture-title { font-size: 13.5px; font-weight: 600; }
.hp-capture-sub { font-size: 12.5px; color: var(--on-dark-muted); }
.hp-email-row { display: flex; gap: 9px; }
.hp-email-field {
  flex: 1; display: flex; align-items: center; gap: 9px; padding: 12px 13px; border-radius: 10px;
  background: var(--ink-900); border: 1px solid var(--line-dark);
}
.hp-email-text { font-size: 13.5px; color: var(--on-dark); }
.hp-captured { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--teal); font-weight: 500; }
.hp-ticker {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 18px;
  border-top: 1px solid var(--line-dark); background: oklch(0.215 0.012 70 / 0.6);
}
.hp-ticker .label { display: flex; align-items: center; gap: 8px; color: var(--on-dark-faint); white-space: nowrap; }
.hp-ticker .mono-label { white-space: nowrap; }

/* ============================================================
   INTEGRATIONS strip
   ============================================================ */
.int-strip { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 30px 0; }
.int-strip .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.int-marquee { display: flex; gap: 38px; align-items: center; flex-wrap: wrap; }
.int-item { display: flex; align-items: center; gap: 38px; }
.int-name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--on-dark-muted); }
.int-dot { width: 5px; height: 5px; border-radius: 9px; background: var(--on-dark-faint); }

/* ============================================================
   INSIGHT / stats
   ============================================================ */
.insight { position: relative; overflow: hidden; }
.insight-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, oklch(0.80 0.118 73 / 0.06), transparent 70%);
  pointer-events: none;
}
.insight-head { max-width: 920px; margin: 0 auto; text-align: center; }
.insight-statement { margin: 26px 0 0; font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line-dark); }
.stat-cell { padding: 38px 28px 8px; border-right: 1px solid var(--line-dark); }
.stat-cell:last-child { border-right: none; }
.stat-num { font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; color: var(--honey); line-height: 1; }
.stat-label { font-size: 15.5px; color: var(--on-dark-muted); margin-top: 16px; max-width: 260px; line-height: 1.5; }

/* ============================================================
   JOURNEY (interactive stepper)
   ============================================================ */
.journey-head { max-width: 680px; margin-bottom: 54px; }
.journey-title { margin: 18px 0 18px; color: var(--on-light); }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.journey-steps { display: flex; flex-direction: column; gap: 10px; }
.jstep {
  text-align: left; padding: 18px 20px; border-radius: 16px; position: relative;
  background: transparent; border: 1px solid transparent; box-shadow: none;
  transition: all .3s cubic-bezier(.2,.7,.3,1); cursor: pointer; color: var(--on-light); width: 100%;
}
.jstep.is-active { background: var(--paper); border-color: var(--line-light); box-shadow: 0 18px 40px -28px oklch(0.21 0.013 70 / 0.5); }
.jstep.is-active.is-key { border-color: oklch(0.72 0.12 65 / 0.5); }
.jstep-top { display: flex; align-items: center; gap: 14px; }
.jstep-num {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  background: var(--sand); color: var(--on-light-muted); transition: all .3s;
}
.jstep.is-active .jstep-num { background: var(--ink-900); color: var(--on-dark); }
.jstep.is-active.is-key .jstep-num,
.jstep.is-active.is-won .jstep-num { background: var(--honey); color: var(--ink-900); }
.jstep-title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.jstep-desc { font-size: 14px; color: var(--on-light-muted); margin-top: 6px; line-height: 1.5; }
.jstep:not(.is-active) .jstep-desc { display: none; }
.jstep-badge {
  font-size: 11.5px; padding: 5px 10px; border-radius: 100px;
  border: 1px solid oklch(0.72 0.12 65 / 0.4); color: var(--honey-2);
  background: oklch(0.72 0.12 65 / 0.08); white-space: nowrap;
}

.journey-panel-wrap { position: sticky; top: 90px; align-self: start; }
.gp { overflow: hidden; transition: border-color .4s; }
.gp.is-key { border-color: oklch(0.72 0.12 65 / 0.4); }
.gp-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-light); }
.gp-note {
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 100px;
  background: var(--sand); color: var(--on-light-muted);
  transition: all .35s; display: inline-flex; align-items: center; gap: 7px;
}
.gp-note .pip { width: 7px; height: 7px; border-radius: 9px; background: currentColor; }
.gp.is-key .gp-note { background: oklch(0.80 0.085 200 / 0.14); color: var(--teal-2); }
.gp.is-won .gp-note { background: oklch(0.72 0.12 65 / 0.14); color: var(--honey-2); }
.gp-id { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line-light); }
.gp-avatar { width: 46px; height: 46px; border-radius: 100px; font-size: 0; }
.gp-name { font-size: 15.5px; font-weight: 600; color: var(--on-light); }
.gp-email { font-size: 13px; color: var(--on-light-muted); }
.gp-pct-wrap { margin-left: auto; text-align: right; }
.gp-pct { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--on-light); transition: color .35s; }
.gp.is-key .gp-pct, .gp.is-won .gp-pct { color: var(--honey-2); }
.gp-pct span { font-size: 13px; }
.gp-feed { padding: 8px 20px 18px; max-height: 268px; overflow: hidden; display: flex; flex-direction: column-reverse; }
.gp-feed-inner { display: flex; flex-direction: column; gap: 2px; }
.gp-row {
  display: flex; align-items: center; gap: 11px; padding: 10px 2px;
  border-bottom: 1px solid var(--line-light); opacity: 0.5; transition: opacity .4s;
}
.gp-row.is-fresh { opacity: 1; }
.gp-row .txt { font-size: 13.5px; color: var(--on-light); }
.gp-foot { padding: 14px 20px; border-top: 1px solid var(--line-light); background: var(--cream); transition: background .4s; }
.gp.is-won .gp-foot { background: oklch(0.72 0.12 65 / 0.06); }
.gp-foot-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--on-light-muted); }
.gp-foot-row .strong { color: var(--on-light); }

.journey-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.jdot {
  height: 6px; border-radius: 9px; border: 0; cursor: pointer; padding: 0; width: 6px;
  background: var(--sand); transition: all .35s cubic-bezier(.2,.7,.3,1);
}
.jdot.is-active { width: 26px; background: var(--honey-2); }

/* ============================================================
   FEATURES
   ============================================================ */
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head .h1 { margin: 18px 0 16px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { padding: 28px; display: flex; flex-direction: column; transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s, background .25s; }
.feat-card.span-2 { grid-column: span 2; }
.feat-card.span-1 { grid-column: span 1; }
.feat-card:hover { transform: translateY(-3px); border-color: oklch(0.42 0.012 72 / 0.7); background: oklch(0.375 0.014 70 / 0.6); }
.feat-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: oklch(0.80 0.118 73 / 0.12); color: var(--honey);
}
.feat-card.span-2 .feat-ico { margin-bottom: 18px; }
.feat-card.span-1 .feat-ico { margin-bottom: 64px; }
.feat-title { font-size: 19.5px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.feat-body { font-size: 15px; color: var(--on-dark-muted); line-height: 1.55; margin: 0; }
.feat-card.span-2 .feat-body { max-width: 460px; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.show-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.show-title { margin: 18px 0 18px; color: var(--on-light); }
.show-lead { margin-bottom: 28px; }
.show-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.show-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--on-light); }
.show-check { width: 24px; height: 24px; border-radius: 100px; background: oklch(0.72 0.12 65 / 0.14); display: grid; place-items: center; flex-shrink: 0; color: var(--honey-2); }
.show-mock { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-light); background: var(--paper); box-shadow: 0 40px 80px -44px oklch(0.21 0.013 70 / 0.45); }
.show-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--line-light); background: var(--cream); }
.show-chrome .d { width: 9px; height: 9px; border-radius: 9px; background: var(--sand); }
.show-chrome .bar { margin-left: 8px; flex: 1; height: 24px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line-light); display: flex; align-items: center; padding: 0 10px; }
.show-mock-body { padding: 18px; }
.show-searchrow { display: flex; gap: 8px; margin-bottom: 14px; }
.show-searchbar { flex: 1; height: 38px; border-radius: 9px; background: var(--cream); border: 1px solid var(--line-light); display: flex; align-items: center; padding: 0 12px; gap: 8px; }
.show-searchbar span { font-size: 13px; color: var(--on-light-muted); }
.show-filterbtn { width: 38px; height: 38px; border-radius: 9px; background: var(--ink-900); display: grid; place-items: center; color: var(--on-dark); }
.show-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.show-card { border-radius: 11px; overflow: hidden; border: 1px solid var(--line-light); }
.show-card .thumb { height: 88px; font-size: 0; }
.show-card .meta { padding: 9px 11px; }
.show-card .name { font-size: 13px; font-weight: 600; color: var(--on-light); }
.show-card .row { display: flex; justify-content: space-between; margin-top: 3px; }
.show-card .sleeps { font-size: 11.5px; color: var(--on-light-muted); }
.show-card .price { font-size: 12.5px; font-weight: 700; color: var(--honey-2); }

/* ============================================================
   AUDIENCE
   ============================================================ */
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.aud-card { padding: 24px; transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s, background .25s; }
.aud-card:hover { transform: translateY(-3px); border-color: oklch(0.42 0.012 72 / 0.7); background: oklch(0.375 0.014 70 / 0.6); }
.aud-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: oklch(0.80 0.085 200 / 0.12); color: var(--teal); margin-bottom: 50px; }
.aud-title { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.aud-body { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.5; margin: 0; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-head { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.pricing-head .h1 { margin: 18px 0 16px; color: var(--on-light); }
.price-card {
  max-width: 920px; margin: 0 auto; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-light); background: var(--paper);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  box-shadow: 0 40px 90px -50px oklch(0.21 0.013 70 / 0.4);
}
.price-main { padding: 44px; }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.price-amount .big { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; color: var(--on-light); line-height: 1; }
.price-desc { font-size: 15.5px; color: var(--on-light-muted); line-height: 1.55; margin: 0 0 28px; max-width: 380px; }
.price-side { padding: 44px 40px; background: var(--cream); border-left: 1px solid var(--line-light); }
.price-includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.price-includes li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--on-light); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; }
.faq-intro .lead { max-width: 320px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--line-dark); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; background: transparent; border: 0; text-align: left; color: var(--on-dark);
}
.faq-q-text { font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; }
.faq-icon { flex-shrink: 0; color: var(--on-dark-faint); transition: color .2s; display: inline-flex; }
.faq-icon .ic-minus { display: none; }
.faq-item.is-open .faq-icon { color: var(--honey); }
.faq-item.is-open .faq-icon .ic-plus { display: none; }
.faq-item.is-open .faq-icon .ic-minus { display: inline-flex; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.3,1); }
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a p { font-size: 15.5px; color: var(--on-dark-muted); line-height: 1.6; margin: 0; padding: 0 60px 24px 4px; }

/* ============================================================
   DEMO / CONTACT FORM
   ============================================================ */
.demo { position: relative; overflow: hidden; }
.demo-glow {
  position: absolute; bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center, oklch(0.80 0.118 73 / 0.13), transparent 65%);
  pointer-events: none;
}
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.demo-title { font-size: clamp(38px, 5vw, 64px); margin: 18px 0 18px; }
.demo-lead { max-width: 440px; margin-bottom: 28px; }
.demo-points { display: flex; flex-direction: column; gap: 14px; }
.demo-point { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--on-dark-muted); }
.demo-card { padding: 30px; background: oklch(0.275 0.014 70 / 0.7); }

.form-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.lx-form { display: flex; flex-direction: column; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field {
  width: 100%; padding: 13px 15px; border-radius: 11px; font-size: 15px;
  background: oklch(0.215 0.012 70); border: 1px solid var(--line-dark);
  color: var(--on-dark); font-family: var(--sans); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field::placeholder { color: var(--on-dark-faint); }
.field:focus { border-color: oklch(0.80 0.118 73 / 0.6); box-shadow: 0 0 0 3px oklch(0.80 0.118 73 / 0.12); }
.field-label { display: flex; flex-direction: column; gap: 6px; }
.field-label .mono-label { color: var(--on-dark-faint); }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23a89e92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea.field { resize: vertical; min-height: 120px; line-height: 1.5; }
.field.has-error { border-color: oklch(0.62 0.17 25); box-shadow: 0 0 0 3px oklch(0.62 0.17 25 / 0.14); }
.field-error { font-size: 12.5px; color: oklch(0.72 0.15 28); margin: 2px 0 0; }
.form-fineprint { font-size: 12.5px; color: var(--on-dark-faint); text-align: center; margin: 2px 0 0; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.5; }
.form-consent input { margin-top: 2px; accent-color: var(--honey); width: 16px; height: 16px; flex-shrink: 0; }
.form-consent a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 40px 10px; }
.form-success .ico { width: 64px; height: 64px; border-radius: 100px; background: oklch(0.80 0.118 73 / 0.16); display: grid; place-items: center; margin: 0 auto 22px; color: var(--honey); }
.form-success h3 { font-size: 24px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.02em; }
.form-success p { font-size: 15.5px; color: var(--on-dark-muted); margin: 0; line-height: 1.55; }
.form-success strong { color: var(--on-dark); }
.form-success .tagline { font-size: 15px; color: var(--on-dark-faint); margin-top: 18px; }
.form-alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; background: oklch(0.62 0.17 25 / 0.12); border: 1px solid oklch(0.62 0.17 25 / 0.3); color: oklch(0.82 0.1 30); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line-dark); padding-top: 64px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 54px; }
.footer-about { font-size: 15px; color: var(--on-dark-muted); line-height: 1.55; max-width: 280px; margin: 18px 0 0; }
.footer-col .mono-label { color: var(--on-dark-faint); margin-bottom: 16px; display: block; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--on-dark-muted); transition: color .18s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.footer-copy { font-size: 13.5px; color: var(--on-dark-faint); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13.5px; color: var(--on-dark-faint); }
.footer-legal a:hover { color: var(--on-dark-muted); }

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.page { padding-top: 132px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.028em; margin: 0 0 14px; }
.prose .updated { font-size: 14px; color: var(--on-dark-faint); margin: 0 0 40px; font-family: var(--mono); }
.prose h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 14px; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--on-dark-muted); }
.prose a { color: var(--honey); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--on-dark); }

/* error page */
.errpage { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: 100px; }
.errpage .code { font-family: var(--mono); font-size: 14px; letter-spacing: 0.2em; color: var(--honey); }
.errpage h1 { font-size: clamp(40px, 8vw, 84px); font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 16px; }

/* ============================================================
   Animations (panel + reveal helpers)
   ============================================================ */
.hp-caret { animation: hpBlink 1s steps(1) infinite; color: var(--honey); }
@keyframes hpBlink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.hp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; box-shadow: 0 0 0 0 oklch(0.80 0.085 200 / 0.5); animation: hpPulse 2s infinite; }
@keyframes hpPulse { 0% { box-shadow: 0 0 0 0 oklch(0.80 0.085 200 / 0.5); } 70% { box-shadow: 0 0 0 7px oklch(0.80 0.085 200 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.80 0.085 200 / 0); } }
@media (prefers-reduced-motion: no-preference) {
  .hp-fade { animation: hpFade .5s cubic-bezier(.2,.7,.3,1) both; }
  .hp-result { animation: hpRise .5s cubic-bezier(.2,.7,.3,1) both; }
  .hp-captured { animation: hpFade .5s .2s cubic-bezier(.2,.7,.3,1) both; }
  .jr-row-fresh { animation: hpRise .45s cubic-bezier(.2,.7,.3,1) both; }
}
@keyframes hpFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hpRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card.span-2 { grid-column: span 1; }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 520px; }
  .journey-grid { grid-template-columns: 1fr; gap: 22px; }
  .journey-panel-wrap { position: static; }
  .show-grid, .demo-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .price-card { grid-template-columns: 1fr; }
  .price-side { border-left: 0; border-top: 1px solid var(--line-light); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .stat-cell:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .feat-grid, .aud-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .int-marquee { gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .demo-card { padding: 22px; }
  .price-main, .price-side { padding: 30px 24px; }
  /* In single-column layouts the tall icon "spacer" gaps read as broken
     whitespace — tighten them to the same rhythm as the wide cards. */
  .feat-card.span-1 .feat-ico { margin-bottom: 20px; }
  .aud-ico { margin-bottom: 20px; }
  /* FAQ answers: reclaim the desktop-only 60px right padding, and allow
     taller answers on narrow screens. */
  .faq-a p { padding: 0 8px 24px 4px; }
  .faq-item.is-open .faq-a { max-height: 520px; }
  /* Decorative right ticker label crowds the panel at phone widths */
  .hp-ticker .mono-label.faint { display: none; }
}
