/* ============================================================
   ThinkInn — styles
   Palette: night pine → dawn clay → morning linen
   Type: Prata (display) · Hanken Grotesk (body) · DM Mono (meta)
   ============================================================ */

:root {
  /* blue & white theme — animated shader gradient sits behind the page */
  --night: #0b2545;
  --night-2: #10305c;
  --night-3: #16407a;
  --night-4: #1d4f96;
  --dawn: #4a6da8;
  --linen: #f4f8ff;
  --linen-2: #e8f0fe;
  --ink: #0b2545;
  --ink-soft: #44597a;
  --brass: #1d5fd0;
  --brass-bright: #4f8ef7;
  --mist: rgba(11, 37, 69, 0.72);
  --mist-faint: rgba(11, 37, 69, 0.42);
  --line-night: rgba(29, 95, 208, 0.22);
  --line-day: rgba(11, 37, 69, 0.14);
  --orange: #e08a4c;
  --blue: #5b8db8;
  --green: #4caf7d;
  --wa: #2fb56b;
  --card-night: rgba(255, 255, 255, 0.55);
  --radius: 14px;
  --font-display: "Prata", serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background-color: #e9f1ff; /* fallback when WebGL is unavailable */
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass); color: #fff; }

/* full-page animated blue/white shader gradient behind everything */
#bgShader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; }

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

/* ---------- shared layout ---------- */

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

section { position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 18px;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
}

h2.display { font-size: clamp(32px, 4.6vw, 54px); max-width: 18ch; }

.section-pad { padding: clamp(90px, 12vh, 150px) 0; }

/* theme: sections sitting on the morning background */
.theme-day { color: var(--ink); }
.theme-day .eyebrow { color: #1d5fd0; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-night);
}

.nav.daylight.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--line-day);
}

.nav.daylight { color: var(--ink); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo em { font-style: normal; color: var(--brass); }
.nav.daylight .logo em { color: #1d5fd0; }

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  opacity: 0.82;
  transition: opacity 0.25s;
}
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--brass);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn:active { transform: scale(0.98); }

.btn-solid { background: var(--brass); color: #fff; }
.btn-solid:hover { background: var(--brass-bright); border-color: var(--brass-bright); }

.btn-ghost { background: transparent; color: var(--brass); }
.btn-ghost:hover { background: rgba(29, 95, 208, 0.1); }

.theme-day .btn-ghost { color: #1d5fd0; border-color: #1d5fd0; }
.theme-day .btn-ghost:hover { background: rgba(29, 95, 208, 0.1); }
.theme-day .btn-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.theme-day .btn-solid:hover { background: #16407a; border-color: #16407a; }

.nav .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle { display: none; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ============================================================
   HERO — night
   ============================================================ */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  position: relative;
}

#fireflies {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero-clock {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-clock .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(76, 175, 125, 0.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 125, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(76, 175, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 125, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.08;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-bright);
}

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--mist);
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mist-faint);
  letter-spacing: 0.04em;
}

/* hero chat card */

.chat-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
  border: 1px solid var(--line-night);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(11, 37, 69, 0.18);
  max-width: 420px;
  margin-left: auto;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-night);
  margin-bottom: 18px;
}
.chat-head .hotel {
  font-family: var(--font-display);
  font-size: 16px;
}
.chat-head .chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brass);
  border: 1px solid var(--line-night);
  padding: 4px 10px;
  border-radius: 999px;
}

/* min-height ≈ final conversation height, so the card doesn't grow
   noticeably while the chat playback appends messages */
.chat-stream { display: flex; flex-direction: column; gap: 12px; min-height: 440px; }

.msg {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}

/* hero chat steps start hidden only when JS is running (it reveals them) */
.js .chat-stream .msg[data-step] {
  opacity: 0;
  transform: translateY(12px);
}
.msg .meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  opacity: 0.55;
  margin-bottom: 4px;
}
.msg-guest {
  align-self: flex-end;
  background: rgba(29, 95, 208, 0.1);
  border: 1px solid rgba(29, 95, 208, 0.22);
  border-bottom-right-radius: 4px;
}
.msg-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(11, 37, 69, 0.1);
  border-bottom-left-radius: 4px;
}

.typing {
  align-self: flex-start;
  display: none;
  gap: 5px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mist-faint);
  animation: blink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* ============================================================
   NIGHT LEDGER — timestamped vignettes
   ============================================================ */

.ledger-intro { padding: clamp(70px, 10vh, 120px) 0 30px; text-align: center; }
.ledger-intro h2 { margin-inline: auto; }
.ledger-intro p {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--mist);
}

.vignette {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 60px 0;
}

.vignette-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.vignette:nth-of-type(even) .vignette-inner { direction: rtl; }
.vignette:nth-of-type(even) .vignette-inner > * { direction: ltr; }

.v-time {
  font-family: var(--font-mono);
  font-size: clamp(46px, 6vw, 84px);
  color: var(--brass);
  letter-spacing: 0.02em;
  line-height: 1;
}
.v-channel {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 16px;
  color: var(--mist-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.v-channel .ch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.v-channel.wa .ch-dot { background: var(--wa); }
.v-channel.alert .ch-dot { background: var(--orange); }

.v-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 22px 0 12px;
  line-height: 1.25;
}
.v-text { color: var(--mist); max-width: 44ch; font-size: 17px; line-height: 1.65; }

.v-card {
  background: var(--card-night);
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-card .msg { opacity: 1; transform: none; }

/* daylight vignettes — light backgrounds, ink text, day-toned chat cards */
.vignette.theme-day .v-time { color: #1d5fd0; }
.vignette.theme-day .v-channel { color: rgba(38, 32, 25, 0.55); }
.vignette.theme-day .v-text { color: var(--ink-soft); }
.vignette.theme-day .v-card {
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--line-day);
}
.vignette.theme-day .msg-guest {
  background: rgba(29, 95, 208, 0.1);
  border-color: rgba(29, 95, 208, 0.25);
}
.vignette.theme-day .msg-ai {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(11, 37, 69, 0.1);
}

.escalation-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(224, 138, 76, 0.1);
  border: 1px solid rgba(224, 138, 76, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #f0c39e;
}
.escalation-note .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: var(--orange);
  color: var(--night);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.frontdesk-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--brass);
}

/* ============================================================
   DAWN
   ============================================================ */

.dawn {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 0;
}
.dawn .v-time { font-size: clamp(54px, 7vw, 100px); color: #1d5fd0; }
.dawn h2 { margin: 26px auto 18px; }
.dawn p { max-width: 46ch; margin-inline: auto; color: var(--ink-soft); }

/* ============================================================
   DASHBOARD — morning
   ============================================================ */

.dash-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.dash-copy p { color: var(--ink-soft); max-width: 46ch; margin-top: 18px; }

.dash-points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.dash-points li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  align-items: baseline;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.dash-points .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d5fd0;
  white-space: nowrap;
}

/* mock dashboard */
.dash-mock {
  background: #fdfeff;
  border: 1px solid var(--line-day);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(38, 32, 25, 0.12);
  overflow: hidden;
  font-size: 13.5px;
}
.dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-day);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dash-bar .brand { font-family: var(--font-display); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.dash-bar .brand em, .footer .logo em { font-style: normal; color: #1d5fd0; }

.dash-section {
  padding: 14px 20px 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d5fd0;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(38, 32, 25, 0.06);
}
.dash-row:last-child { border-bottom: none; }
.dash-row .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--linen-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink);
  flex-shrink: 0;
}
.dash-row .who { flex: 1; min-width: 0; }
.dash-row .who b { display: block; font-weight: 600; color: var(--ink); font-size: 13.5px; }
.dash-row .who span {
  display: block;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
}
.dash-row .t { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}

.dash-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.dash-badge.pending { background: rgba(224, 138, 76, 0.15); color: #b35f1f; border: 1px solid rgba(224, 138, 76, 0.4); }
.dash-badge.claimed { background: rgba(91, 141, 184, 0.14); color: #336699; border: 1px solid rgba(91, 141, 184, 0.4); }

.dash-row.dim { opacity: 0.5; }

/* ============================================================
   FEATURES
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.feature {
  border: 1px solid var(--line-day);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: rgba(255, 253, 249, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(38, 32, 25, 0.08);
}
.feature .f-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d5fd0;
}
.feature h3 { font-family: var(--font-display); font-weight: 400; font-size: 19px; margin: 14px 0 8px; }
.feature p { color: var(--ink-soft); font-size: 16.5px; }

/* ============================================================
   PRICING
   ============================================================ */

.price-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  max-width: 56ch;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  align-items: stretch;
}

.tier {
  border: 1px solid var(--line-day);
  border-radius: 18px;
  padding: 36px 30px;
  background: rgba(255, 253, 249, 0.65);
  display: flex;
  flex-direction: column;
}
.tier.featured {
  background: var(--night);
  color: var(--linen);
  border-color: var(--night);
  box-shadow: 0 30px 60px rgba(11, 37, 69, 0.18);
}
.tier h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.tier .price {
  font-family: var(--font-display);
  font-size: 44px;
  margin: 16px 0 4px;
}
.tier .price span { font-size: 16px; font-family: var(--font-body); opacity: 0.6; }
.tier .tagline { font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; }
.tier.featured .tagline { color: var(--mist); }

.tier ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; flex: 1; }
.tier li {
  font-size: 16px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.tier.featured li { color: rgba(255, 255, 255, 0.80); }
.tier li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #1d5fd0;
}
.tier.featured li::before { color: var(--brass); }

.tier .btn { text-align: center; }
.tier.featured .btn-solid { background: var(--brass); border-color: var(--brass); color: var(--night); }
.tier.featured .btn-solid:hover { background: var(--brass-bright); }

.tier .upcoming {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1d5fd0;
  margin: 14px 0 8px;
}
.tier.featured .upcoming { color: var(--brass); }

.pricing-honesty {
  margin-top: 36px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================================
   TRUST + CONTACT — unified single slide
   ============================================================ */

.mews-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-day);
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.tc-left h2 { margin-bottom: 0; }

.tc-intro {
  color: var(--ink-soft);
  margin-top: 20px;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.65;
}

.tc-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin-top: 36px;
}

.tc-trust-item {
  border-top: 2px solid var(--brass);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tc-trust-item strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
}

.tc-trust-item span {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.tc-mews { margin-top: 28px; }

.tc-right .email-line {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  margin: 18px 0 26px;
  word-break: break-all;
}
.tc-right .email-line a { text-decoration-color: var(--brass); text-underline-offset: 5px; }

.contact-form { display: grid; gap: 14px; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d5fd0;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line-day);
  border-radius: 10px;
  background: #fffdf9;
  color: var(--ink);
  width: 100%;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
.contact-form .btn { justify-self: start; margin-top: 6px; }

.contact-meta {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */

.final-cta {
  text-align: center;
  padding: clamp(90px, 12vh, 150px) 0;
}
.final-cta h2 { margin-inline: auto; }
.final-cta p { margin: 20px auto 36px; max-width: 46ch; color: var(--ink-soft); }

.footer {
  border-top: 1px solid var(--line-day);
  padding: 44px 0 54px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .logo { font-size: 20px; color: var(--ink); }
.footer-links { display: flex; gap: 26px; }
.footer-links a { text-decoration: none; opacity: 0.8; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  background: var(--linen);
  color: var(--ink);
  min-height: 100vh;
}
.legal-wrap {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  padding: 140px 0 100px;
}
.legal-wrap h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
.legal-wrap .updated { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-bottom: 50px; letter-spacing: 0.08em; }
.legal-wrap h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 44px 0 14px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 12px; }
.legal-wrap ul { padding-left: 22px; }

/* ============================================================
   REVEAL DEFAULTS (GSAP sets final state; CSS provides fallback)
   ============================================================ */

/* hidden state is gated behind the .js class (set by an inline head script),
   so content is always visible when JS is unavailable */
.js .reveal { opacity: 0; transform: translateY(34px); }
.reduced-motion .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chat-card { margin: 0 auto; }
  .vignette-inner { grid-template-columns: 1fr; gap: 30px; }
  .vignette { min-height: auto; padding: 70px 0; }
  .dash-grid { grid-template-columns: 1fr; }
  .feature-grid, .tiers { grid-template-columns: 1fr 1fr; }
  .tc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  /* legal pages have no menu toggle — their single "back" link must stay */
  .legal-page .nav-links { display: flex; }
  .chat-stream { min-height: 380px; }
  .nav-toggle {
    display: grid;
    place-items: center;
    background: none;
    border: 1px solid var(--line-night);
    border-radius: 8px;
    width: 40px; height: 40px;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
  }
  .nav.daylight .nav-toggle { border-color: var(--line-day); }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    padding: 26px 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line-night);
  }
  .nav.daylight .nav-links.open { background: rgba(255, 255, 255, 0.98); }
  .feature-grid, .tiers, .tc-grid, .tc-trust { grid-template-columns: 1fr; }
  .v-time { font-size: 44px; }
}
