/* ============================================================
   SeatNow — landing page styles
   Brand: electric indigo + warm coral, cream surface, soft radii.
   ============================================================ */

:root {
  /* Surfaces — warm neutrals */
  --bg: #FBF8F3;
  --bg-2: #F5F1EA;
  --surface: #FFFFFF;
  --ink: #16162E;
  --ink-soft: #54546B;
  --muted: #8C8CA1;

  /* Brand */
  --indigo: #3D3DF5;
  --indigo-dark: #2A2ACB;
  --purple: #6C4BF6;
  --coral: #F26A3D;
  --green: #2FA866;
  --red: #D2544B;

  /* Accent (tweakable) — drives primary buttons, badges, links */
  --accent: var(--indigo);
  --accent-dark: var(--indigo-dark);
  --accent-2: var(--purple);

  /* Lines & shadows */
  --border: #EBE5DC;
  --border-strong: #DCD4C8;
  --hairline: #EFEFF3;
  --shadow-sm: 0 1px 2px rgba(20,20,46,.05), 0 2px 6px rgba(20,20,46,.05);
  --shadow-md: 0 8px 24px rgba(20,20,46,.08), 0 2px 6px rgba(20,20,46,.05);
  --shadow-lg: 0 30px 70px -20px rgba(20,20,46,.28), 0 8px 24px rgba(20,20,46,.10);
  --shadow-accent: 0 14px 30px -8px color-mix(in srgb, var(--accent) 45%, transparent);

  /* Radii */
  --r-card: 22px;
  --r-btn: 14px;
  --r-pill: 999px;
  --r-lg: 30px;

  /* Type */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --maxw: 1180px;
}

[data-bg="white"] {
  --bg: #FFFFFF;
  --bg-2: #F7F7FB;
  --border: #ECECF3;
  --border-strong: #E2E2EC;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
/* Tighter gutters on small phones so content (nav, cards) isn't cramped. */
@media (max-width: 420px) { .wrap { padding: 0 18px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-btn);
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { box-shadow: 0 18px 38px -8px color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-1px); }

.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-light {
  color: var(--accent);
  background: #fff;
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 7px 14px;
  border-radius: var(--r-pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }

/* ---------- SeatNow logo (queue-stack mark + two-tone wordmark) ----------
   The mark is the three stacked rounded bars from the app's SeatNowMark /
   favicon.svg — flat, gradient-free, recoloured per surface via currentColor
   (indigo on light, white on dark). The wordmark renders "Seat" in the ambient
   ink and "Now" in brand indigo. */
.sn-mark { display: block; flex: none; }
.nav .brand .sn-mark { width: 30px; height: 30px; color: var(--accent); }
.footer .brand .sn-mark { width: 28px; height: 28px; color: #fff; }
.wm-now { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .signin { font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 880px) { .nav-links { display: none; } .nav-cta .signin { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
/* Let grid items shrink below the mockup's intrinsic width. Without this the
   device/board min-content forces the 1fr track wider than the viewport on
   narrow screens, causing horizontal overflow. */
.hero-copy, .hero-mock { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 480px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick { color: var(--green); font-weight: 700; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-sub { max-width: none; }
}

/* ---------- App mockup (shared) ---------- */
.device {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.device-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}
.device-bar .title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.device-bar .title .glyph {
  width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.18);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.glyph .sn-mark { width: 16px; height: 16px; }
.device-bar .plus {
  width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.18);
  display: grid; place-items: center; font-size: 19px; line-height: 1;
}
.device-body { padding: 16px; background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; }

.device-tabs { display: flex; gap: 6px; padding: 12px 16px 0; background: var(--bg-2); }
.device-tabs .tab { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: var(--r-pill); }
.device-tabs .tab.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }

/* ---------- Guest card (faithful to app) ---------- */
.gcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 15px;
}
.gcard-top { display: flex; align-items: flex-start; gap: 13px; }
.qbadge {
  flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff; font-weight: 700; font-size: 15px;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--accent) 55%, transparent);
}
.gcard-info { flex: 1; min-width: 0; }
.gcard-info .name { font-weight: 600; font-size: 16px; }
.gcard-info .phone { font-size: 13px; color: var(--muted); margin-top: 1px; }
.gcard-meta { display: flex; gap: 14px; margin-top: 7px; font-size: 13px; color: var(--muted); font-weight: 500; }
.gcard-meta span { display: inline-flex; align-items: center; gap: 5px; }
.gcard-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.wchip {
  font-size: 12px; font-weight: 600; color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 11%, transparent);
  padding: 5px 10px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.npill {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: color-mix(in srgb, var(--green) 13%, transparent);
  padding: 4px 9px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 4px;
}
.gcard-actions { display: flex; gap: 9px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--hairline); }
.gact {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 10px; border-radius: var(--r-btn);
  border: 1px solid;
}
.gact.notify { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 22%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.gact.done { color: var(--green); border-color: color-mix(in srgb, var(--green) 22%, transparent); background: color-mix(in srgb, var(--green) 9%, transparent); }
.gact.cancel { color: var(--red); border-color: color-mix(in srgb, var(--red) 22%, transparent); background: color-mix(in srgb, var(--red) 9%, transparent); }

.svg-ico { width: 1em; height: 1em; flex: none; }

/* ---------- Floating chips on hero mockup ---------- */
.hero-mock { position: relative; }
.float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
}
/* live-update phone — guests watch their spot climb on their own screen */
.float-phone {
  right: -34px; bottom: 28px;
  padding: 0; background: transparent; border: 0; box-shadow: none;
  border-radius: 0;
  animation: floaty 5.5s ease-in-out infinite;
}
.phone {
  width: 196px;
  background: #0F0F22;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 30px 60px -16px rgba(20,20,46,.45), 0 8px 20px rgba(20,20,46,.18), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 16px; background: #0F0F22; border-radius: 0 0 12px 12px; z-index: 3;
}
.phone-screen {
  background: var(--surface);
  border-radius: 23px;
  overflow: hidden;
  padding: 26px 15px 16px;
}
.ph-bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ph-brand { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--ink); }
.ph-glyph { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; display: grid; place-items: center; font-size: 9px; }
.ph-live { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.ph-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: pulse 2s infinite; }
.ph-greet { margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--ink); }

/* waiting state */
.ph-wait { display: block; }
.ph-spot { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.ph-rank { display: flex; align-items: baseline; gap: 2px; color: var(--accent); margin-top: 2px; }
.ph-rank .ph-hash { font-family: var(--font-display); font-weight: 700; font-size: 22px; opacity: .55; }
.ph-rank .ph-pos { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.04em; }
.ph-dots { display: flex; gap: 5px; margin-top: 12px; }
.ph-dots i { flex: 1; height: 5px; border-radius: 999px; background: var(--border-strong); }
.ph-dots i.done { background: color-mix(in srgb, var(--accent) 35%, var(--border-strong)); }
.ph-dots i.here { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.ph-eta { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--ink-soft); }
.ph-eta b { color: var(--ink); font-weight: 700; }
.ph-eta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.ph-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 10px; line-height: 1.45; color: var(--muted); }

/* ready state (hidden unless data-state="ready") */
.ph-ready { display: none; text-align: center; padding: 8px 0 6px; }
.ph-seal { width: 52px; height: 52px; border-radius: 50%; margin: 14px auto 0; background: linear-gradient(135deg, var(--green), #1F7A45); display: grid; place-items: center; box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--green) 55%, transparent); }
.ph-seal svg { width: 26px; height: 26px; }
.ph-ready-t { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); margin-top: 14px; }
.ph-ready-s { font-size: 11px; color: var(--ink-soft); margin-top: 5px; line-height: 1.4; }

.float-phone[data-state="ready"] .ph-wait { display: none; }
.float-phone[data-state="ready"] .ph-ready { display: block; }
.float-stat {
  left: -28px; top: 70px;
  display: flex; align-items: center; gap: 11px;
  animation: floaty 6s ease-in-out infinite reverse;
}
.float-stat .pulse { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: pulse 2s infinite; }
.float-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.float-stat .lbl { font-size: 11px; color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.no-float .float-phone, .no-float .float-stat { animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent);} 70% { box-shadow: 0 0 0 9px transparent;} 100% { box-shadow: 0 0 0 0 transparent;} }
@media (max-width: 560px) { .float-phone { right: -8px; bottom: 16px; } .phone { width: 168px; } .float-stat { left: -8px; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step .snum {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--coral);
  background: color-mix(in srgb, var(--coral) 13%, transparent);
  margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step-visual { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* mini add-guest form visual */
.mini { background: var(--bg-2); padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.mini-field { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px; font-size: 12px; color: var(--ink-soft); display: flex; justify-content: space-between; align-items: center; }
.mini-field .v { color: var(--ink); font-weight: 600; }
.mini-stepper { display: flex; align-items: center; gap: 8px; }
.mini-stepper b { font-family: var(--font-display); }
.mini-step-btn { width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); display: grid; place-items: center; font-weight: 700; }

/* lock-screen notification visual — lands on the guest's own phone */
.lockscreen { background: linear-gradient(160deg, #1B1B3A, #2A2A5C 55%, var(--accent-dark)); padding: 16px 14px 18px; min-height: 120px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ls-time { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 30px; text-align: center; letter-spacing: -.02em; opacity: .95; line-height: 1; }
.ls-banner { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 11px 12px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.ls-ico { flex: none; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.ls-ico .sn-mark { width: 18px; height: 18px; }
.ls-txt { flex: 1; min-width: 0; }
.ls-app { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #fff; }
.ls-app span { font-weight: 500; color: rgba(255,255,255,.6); }
.ls-msg { font-size: 12px; color: rgba(255,255,255,.92); margin-top: 3px; line-height: 1.4; }

/* seated visual */
.seated { background: var(--bg-2); padding: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 120px; }
.seated .seal { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--green), #1F7A45); display: grid; place-items: center; box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--green) 55%, transparent); }
.seated .seal svg { width: 26px; height: 26px; }
.seated .s-txt b { font-family: var(--font-display); display: block; font-size: 16px; }
.seated .s-txt span { font-size: 13px; color: var(--muted); }

/* ============================================================
   FEATURES (alternating deep-dives)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}
/* Same shrink guard as the hero grid (see note above). */
.feat-copy, .feat-visual { min-width: 0; }
.feature.flip .feat-copy { order: 2; }
.feature .feat-copy h3 { font-size: clamp(26px, 3vw, 36px); margin: 16px 0 14px; }
.feature .feat-copy p { color: var(--ink-soft); font-size: 17px; }
.feat-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 13px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.feat-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.feat-list .ck svg { width: 12px; height: 12px; }
.feat-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 11%, var(--surface)); color: var(--accent); box-shadow: var(--shadow-sm); }
.feat-icon svg { width: 25px; height: 25px; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; }
  .feature.flip .feat-copy { order: 0; }
}

/* TV display board mockup */
.tvboard {
  background: #14142B;
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.tvboard .tv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.tvboard .tv-head .b { font-family: var(--font-display); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 9px; }
.tvboard .tv-head .glyph { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: grid; place-items: center; font-size: 12px; }
.tvboard .tv-head .clock { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }
.tv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Stack the board's "Now seating" / "Up next" columns on small screens. */
@media (max-width: 560px) { .tv-grid { grid-template-columns: 1fr; } }
.tv-col .tv-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 12px; }
.tv-now {
  background: linear-gradient(135deg, var(--green), #1F7A45);
  border-radius: 16px; padding: 18px;
  display: flex; align-items: center; gap: 14px;
}
.tv-now .n { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; }
.tv-now .meta b { font-size: 16px; display: block; }
.tv-now .meta span { font-size: 12px; opacity: .8; }
.tv-up { display: flex; flex-direction: column; gap: 10px; }
.tv-up .row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border-radius: 13px; padding: 12px 14px; }
.tv-up .row .n { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent-2); width: 38px; }
.tv-up .row .who b { font-size: 14px; display: block; }
.tv-up .row .who span { font-size: 11px; color: rgba(255,255,255,.5); }

/* Customer directory mockup */
.dir { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dir-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--hairline); }
.dir-head .t { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.dir-search { font-size: 12px; color: var(--muted); background: var(--bg-2); border-radius: var(--r-pill); padding: 7px 13px; display: flex; align-items: center; gap: 7px; }
.dir-row { display: flex; align-items: center; gap: 13px; padding: 13px 18px; border-bottom: 1px solid var(--hairline); }
.dir-row:last-child { border-bottom: none; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; font-family: var(--font-display); }
.dir-row .who { flex: 1; min-width: 0; }
.dir-row .who b { font-size: 14.5px; }
.dir-row .who span { display: block; font-size: 12px; color: var(--muted); }
.dir-row .visits { text-align: right; }
.dir-row .visits b { font-size: 15px; font-family: var(--font-display); color: var(--accent); }
.dir-row .visits span { display: block; font-size: 11px; color: var(--muted); }
.vbadge { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral); }

/* ============================================================
   STAT BAND
   ============================================================ */
.statband { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 56px 0; }
.stat { text-align: center; }
.stat .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 48px); color: var(--accent); letter-spacing: -.03em; }
.stat .cap { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.tcard .stars { display: flex; gap: 3px; color: var(--coral); margin-bottom: 16px; }
.tcard .stars svg { width: 17px; height: 17px; }
.tcard .quote { font-size: 16px; line-height: 1.55; color: var(--ink); flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.tcard .who b { font-size: 14.5px; display: block; }
.tcard .who span { font-size: 13px; color: var(--muted); }
@media (max-width: 880px) { .tgrid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.bill-toggle { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 5px; margin: 0 auto 14px; gap: 4px; }
.bill-toggle button {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  border: none; background: transparent; color: var(--ink-soft);
  padding: 9px 20px; border-radius: var(--r-pill); cursor: pointer; transition: all .2s ease;
}
.bill-toggle button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.bill-toggle .save { font-size: 11px; color: var(--green); font-weight: 700; margin-left: 5px; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pgrid.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
}
.pcard.featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--accent);
  transform: translateY(-8px);
}
.pcard .ptag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 15px; border-radius: var(--r-pill); box-shadow: var(--shadow-accent); }
.pcard .pname { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.pcard .pdesc { font-size: 13.5px; color: var(--muted); margin-top: 5px; min-height: 38px; }
.pcard .price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 4px; }
.pcard .price .amt { font-family: var(--font-display); font-weight: 700; font-size: 46px; letter-spacing: -.03em; }
.pcard .price .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.pcard .plist { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard .plist li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.pcard .plist .ck { flex: none; width: 19px; height: 19px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); display: grid; place-items: center; margin-top: 1px; }
.pcard .plist .ck svg { width: 11px; height: 11px; }
.pcard .btn { width: 100%; }
/* single plan */
.plan-single {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--accent);
  overflow: hidden;
}
.plan-left { padding: 42px 40px; display: flex; flex-direction: column; }
.plan-left .pname { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.plan-left .pdesc { font-size: 14.5px; color: var(--muted); margin-top: 7px; max-width: 320px; }
.price-duo { display: flex; align-items: flex-start; gap: 24px; margin: 26px 0 28px; }
.price-opt .amt { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; color: var(--ink); line-height: 1.05; }
.price-opt .per { font-size: 13px; color: var(--muted); margin-top: 7px; font-weight: 500; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.price-div { align-self: stretch; width: 1px; background: var(--border-strong); }
.save-badge { font-size: 11px; font-weight: 700; color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); padding: 3px 8px; border-radius: var(--r-pill); }
.plan-left .btn { width: 100%; margin-top: auto; }
.plan-micro { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.plan-right { padding: 42px 40px; background: color-mix(in srgb, var(--accent) 5%, var(--surface)); border-left: 1px solid var(--border); }
.plan-feat-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.plan-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.plan-feats .ck { flex: none; width: 21px; height: 21px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.plan-feats .ck svg { width: 12px; height: 12px; }
@media (max-width: 820px) {
  .plan-single { grid-template-columns: 1fr; max-width: 480px; }
  .plan-right { border-left: 0; border-top: 1px solid var(--border); }
  .plan-left .btn { margin-top: 8px; }
}
@media (max-width: 420px) {
  .price-duo { flex-direction: column; gap: 16px; }
  .price-div { width: 100%; height: 1px; align-self: auto; }
}

.enterprise {
  margin-top: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: var(--shadow-sm); flex-wrap: wrap;
}
.enterprise .e-l b { font-family: var(--font-display); font-size: 18px; }
.enterprise .e-l p { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
@media (max-width: 880px) { .pgrid, .pgrid.two { grid-template-columns: 1fr; } .pcard.featured { transform: none; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq[open] { box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; transition: transform .25s ease; color: var(--accent); }
.faq[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 34px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-inner::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta-inner::after { width: 240px; height: 240px; bottom: -120px; left: -60px; }
.cta-inner h2 { color: #fff; font-size: clamp(32px, 4.5vw, 52px); position: relative; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 19px; margin: 18px auto 32px; max-width: 520px; position: relative; }
.cta-inner .hero-actions { justify-content: center; position: relative; }
.cta-inner .micro { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.7); position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .tagline { font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.62); transition: color .15s ease; }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   CONTENT / LEGAL PAGES (about-us, terms, privacy)
   Standalone static pages that share the nav + footer shell.
   ============================================================ */

/* Compact header band that sits directly under the sticky nav. */
.page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; }
.page-hero .page-sub { margin-top: 20px; font-size: 19px; color: var(--ink-soft); max-width: 620px; }
.page-hero .page-meta { margin-top: 18px; font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- Long-form legal prose ---------- */
.legal { padding: 64px 0 96px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 48px 0 14px;
  padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { color: var(--accent-dark); text-decoration: underline; }
.prose strong { color: var(--ink); font-weight: 700; }

/* ---------- About page ---------- */
.about-section { padding: 80px 0; }
.about-lead { max-width: 760px; margin: 0 auto; text-align: center; }
.about-lead h2 { font-size: clamp(28px, 3.4vw, 40px); }
.about-lead p { margin-top: 18px; color: var(--ink-soft); font-size: 18px; line-height: 1.7; }

.about-story { max-width: 720px; margin: 0 auto; }
.about-story p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.about-story p strong { color: var(--ink); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.value-card .v-ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
  margin-bottom: 16px;
}
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }
