/* ==========================================================================
   Last50m — marketing site design system.
   Extends the TaxiTrack app palette (navy #1E3A5F + teal #14B8A6) into a
   warmer, marketing-grade system. Self-contained: no external fonts, no
   trackers, no CDN — same privacy posture the product sells on.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens -- */
:root {
  /* Brand — navy */
  --navy: #1E3A5F;
  --navy-700: #16304e;
  --navy-900: #0f2440;          /* hero / footer deep */
  --navy-300: #3d5a7e;

  /* Brand — teal */
  --teal: #14B8A6;
  --teal-300: #2dd4bf;
  --teal-600: #0e9486;
  --teal-text: #0F766E;         /* teal for TEXT on light (AA) */
  --teal-050: #E6FAF7;          /* teal tint surface */

  /* Ink & neutral */
  --ink: #0F172A;
  --muted: #51607A;             /* >=4.5:1 on white */
  --muted-on-dark: #A9BCD2;     /* body text on navy */
  --faint-on-dark: #7E93AC;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-sand: #FBF5EC;           /* warm "human" sections */
  --surface: #FFFFFF;
  --border: #E6EBF2;
  --border-strong: #CBD5E1;

  /* RAG (carried from the product) */
  --red: #EF4444;   --red-050: #FEF2F2;
  --amber: #F59E0B; --amber-050: #FFF8EB;
  --green: #22C55E; --green-050: #F0FDF4;

  /* Shape & depth */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 8px 28px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 64px rgba(15,23,42,.16);
  --shadow-teal: 0 14px 30px rgba(20,184,166,.30);

  /* Layout */
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --gutter: clamp(20px, 5vw, 44px);
  --header-h: 70px;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h1: clamp(2.25rem, 1.55rem + 3.1vw, 3.65rem);
  --h2: clamp(1.7rem, 1.28rem + 1.95vw, 2.6rem);
  --h3: clamp(1.18rem, 1.06rem + .55vw, 1.45rem);
  --lead: clamp(1.06rem, 1rem + .38vw, 1.28rem);

  /* Motion */
  --t-fast: 130ms ease;
  --t: 240ms cubic-bezier(.4,0,.2,1);
  --focus-ring: 0 0 0 3px rgba(20,184,166,.55);
}

/* ------------------------------------------------------------------ Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17px — friendlier marketing read */
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; }
p { text-wrap: pretty; }
a { color: var(--teal-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
strong { font-weight: 700; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* --------------------------------------------------------------- Layout -- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--soft { background: var(--bg-soft); }
.section--sand { background: var(--bg-sand); }
.section--navy { background: var(--navy-900); color: var(--muted-on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-head--left .eyebrow { }
.section--navy .eyebrow { color: var(--teal-300); }
h2.title { font-size: var(--h2); }
.section-lead { font-size: var(--lead); color: var(--muted); margin-top: 16px; }
.section--navy .section-lead { color: var(--muted-on-dark); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Brand -- */
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__word { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--navy); }
.brand__word .n { color: var(--teal-text); }
.brand--on-dark .brand__word { color: #fff; }
.brand--on-dark .brand__word .n { color: var(--teal-300); }

/* --------------------------------------------------------------- Buttons -- */
.btn {
  --bbg: var(--navy); --bfg: #fff;
  appearance: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; line-height: 1;
  color: var(--bfg); background: var(--bbg);
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bbg: var(--navy); --bfg: #fff; }
.btn--primary:hover { --bbg: var(--navy-700); box-shadow: var(--shadow); }
.btn--accent { --bbg: var(--teal); --bfg: var(--navy-900); }
.btn--accent:hover { --bbg: var(--teal-300); box-shadow: var(--shadow-teal); }
.btn--ghost { --bbg: transparent; --bfg: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.10); border-color: #fff; }
.btn--outline { --bbg: transparent; --bfg: var(--navy); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--bg-soft); border-color: var(--navy-300); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- Header -- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .brand__word { color: #fff; }
.site-header .brand__word .n { color: var(--teal-300); }
.site-header.is-solid,
.page-light .site-header {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
}
.site-header.is-solid .brand__word,
.page-light .site-header .brand__word { color: var(--navy); }
.site-header.is-solid .brand__word .n,
.page-light .site-header .brand__word .n { color: var(--teal-text); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: rgba(255,255,255,.86); font-weight: 600; font-size: .98rem;
  padding: 9px 14px; border-radius: var(--r-pill); transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.12); text-decoration: none; }
.is-solid .nav__links a, .page-light .nav__links a { color: var(--navy); }
.is-solid .nav__links a:hover, .page-light .nav__links a:hover { background: var(--bg-soft); color: var(--navy); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav__signin {
  color: rgba(255,255,255,.92); font-weight: 600; padding: 9px 8px;
}
.is-solid .nav__signin, .page-light .nav__signin { color: var(--navy); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent;
  cursor: pointer; border-radius: var(--r-sm); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 24px; height: 2.5px; border-radius: 2px;
  background: #fff; transition: transform var(--t), opacity var(--t-fast), background var(--t);
}
.is-solid .nav-toggle span, .is-solid .nav-toggle span::before, .is-solid .nav-toggle span::after,
.page-light .nav-toggle span, .page-light .nav-toggle span::before, .page-light .nav-toggle span::after { background: var(--navy); }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 120; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform var(--t);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: translateY(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links a { color: var(--navy); padding: 14px 12px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__cta { flex-direction: column; align-items: stretch; margin: 14px 0 0; gap: 10px; }
  .nav__signin { color: var(--navy); text-align: center; padding: 12px; border-radius: var(--r-sm); border: 1.5px solid var(--border-strong); }
  .nav__cta .btn { width: 100%; }
}

/* ------------------------------------------------------------------ Hero -- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 82% -8%, rgba(20,184,166,.20), transparent 60%),
    radial-gradient(700px 500px at 6% 110%, rgba(20,184,166,.10), transparent 55%),
    linear-gradient(160deg, #21436b 0%, var(--navy) 42%, var(--navy-900) 100%);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 76px));
  padding-bottom: clamp(48px, 7vw, 96px);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; text-align: center; } }
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  color: #dbe7f4; font-weight: 600; font-size: .9rem;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill); margin-bottom: 22px;
}
.hero__pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 4px rgba(45,212,191,.25); }
.hero h1 { color: #fff; font-size: var(--h1); margin-bottom: 18px; }
.hero h1 .hl { color: var(--teal-300); }
.hero__lead { font-size: var(--lead); color: var(--muted-on-dark); max-width: 36ch; margin-bottom: 30px; }
@media (max-width: 940px) { .hero__lead { margin-inline: auto; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 940px) { .hero__cta { justify-content: center; } }
.hero__note { margin-top: 22px; color: var(--faint-on-dark); font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.hero__art { position: relative; }
.hero__art img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(8,18,33,.45)); }

/* ---------------------------------------------------------- Trust strip -- */
.trust { border-top: 1px solid rgba(255,255,255,.10); margin-top: clamp(40px, 5vw, 64px); padding-top: 30px; }
.trust__label { text-align: center; color: var(--faint-on-dark); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 64px); }
.stat { text-align: center; }
.stat__num { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat__num .u { color: var(--teal-300); }
.stat__label { color: var(--muted-on-dark); font-size: .92rem; margin-top: 8px; }

/* ----------------------------------------------------------------- Cards -- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card h3 { font-size: var(--h3); margin-bottom: 10px; }
.card p { color: var(--muted); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-text); margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--navy { background: rgba(30,58,95,.08); color: var(--navy); }
.icon-badge--red { background: var(--red-050); color: var(--red); }
.icon-badge--amber { background: var(--amber-050); color: #B45309; }
.icon-badge--green { background: var(--green-050); color: #15803D; }

/* problem cards (why it's necessary) */
.problem .card { background: var(--surface); }
.problem .card h3 { display: flex; align-items: center; gap: 12px; }

/* feature list checks */
.checklist { display: grid; gap: 12px; margin-top: 6px; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist li svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.checklist li strong { color: var(--ink); }

/* ----------------------------------------------------- How it works (steps) */
.steps { counter-reset: step; display: grid; gap: clamp(18px, 2.4vw, 26px); }
.steps.grid-3 { }
.step { position: relative; }
.step__num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--navy); margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* RAG live demo widget */
.rag-demo {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: clamp(20px, 2.5vw, 28px);
}
.rag-demo__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.rag-demo__title { font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: relative; }
.live-dot::after { content:""; position:absolute; inset:-5px; border-radius:50%; border:2px solid var(--green); opacity:.55; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0%{transform:scale(.6);opacity:.7} 100%{transform:scale(1.6);opacity:0} }
.rag-rows { display: grid; gap: 10px; }
.rag-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--r);
  background: #fff; transition: background var(--t), border-color var(--t);
}
.rag-row__name { font-weight: 600; color: var(--navy); }
.rag-row__sub { color: var(--muted); font-size: .85rem; }
.rag-pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem;
  padding: 6px 12px; border-radius: var(--r-pill); transition: all var(--t);
}
.rag-pill .pdot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.rag-row[data-state="red"]   { border-color: rgba(239,68,68,.4);  background: var(--red-050); }
.rag-row[data-state="amber"] { border-color: rgba(245,158,11,.4); background: var(--amber-050); }
.rag-row[data-state="green"] { border-color: rgba(34,197,94,.4);  background: var(--green-050); }
.rag-row[data-state="red"]   .rag-pill { color: var(--red); }
.rag-row[data-state="amber"] .rag-pill { color: #B45309; }
.rag-row[data-state="green"] .rag-pill { color: #15803D; }

/* --------------------------------------------------------------- Audience -- */
.aud-card { display: flex; flex-direction: column; }
.aud-card .aud-art { height: 120px; border-radius: var(--r); margin-bottom: 18px; display: grid; place-items: center; }
.aud-card .who { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--border-strong); color: var(--muted); font-size: .92rem; }
.aud-card .who b { color: var(--navy); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .8rem; font-weight: 600; color: var(--teal-text); background: var(--teal-050); padding: 5px 11px; border-radius: var(--r-pill); }

/* ------------------------------------------------------- Split / feature -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media .card { padding: clamp(18px,2.4vw,26px); }

/* --------------------------------------------------------------- Security -- */
.sec-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 36px; }
@media (max-width: 700px){ .sec-grid { grid-template-columns: 1fr; } }
.sec-item { display: flex; gap: 14px; }
.sec-item svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--teal-300); margin-top: 3px; }
.sec-item h3 { font-size: 1.05rem; color: #fff; margin-bottom: 4px; }
.sec-item p { color: var(--muted-on-dark); font-size: .95rem; }

/* --------------------------------------------------------------- Pricing -- */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card.is-featured { border: 2px solid var(--teal); box-shadow: var(--shadow); position: relative; }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--navy-900); font-weight: 800; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill); }
.price-card .plan { font-weight: 800; color: var(--navy); font-size: 1.2rem; }
.price-card .price { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; margin: 12px 0 2px; }
.price-card .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-card .price-sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.price-card .checklist { margin-bottom: 24px; flex: 1; }
.price-card .btn { margin-top: auto; }

/* ------------------------------------------------------------------- FAQ -- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--navy); font-size: 1.05rem;
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__q .chev { flex: 0 0 auto; transition: transform var(--t); color: var(--teal); }
.faq__item.is-open .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq__a p { padding: 0 22px 22px; color: var(--muted); }

/* --------------------------------------------------------------- CTA band -- */
.cta-band {
  position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px);
  background:
    radial-gradient(700px 360px at 88% -20%, rgba(45,212,191,.28), transparent 60%),
    linear-gradient(150deg, #21436b, var(--navy-900));
  color: #fff; padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 72px); text-align: center;
}
.cta-band h2 { color: #fff; font-size: var(--h2); margin-bottom: 14px; }
.cta-band p { color: var(--muted-on-dark); font-size: var(--lead); max-width: 56ch; margin: 0 auto 28px; }
.cta-band .hero__cta { justify-content: center; }

/* ---------------------------------------------------------------- Footer -- */
.site-footer { background: var(--navy-900); color: var(--muted-on-dark); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid p { color: var(--faint-on-dark); font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted-on-dark); padding: 6px 0; font-size: .96rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  color: var(--faint-on-dark); font-size: .9rem;
}
.footer-bottom .heritage { display: inline-flex; align-items: center; gap: 8px; }

/* ----------------------------------------------------------- Reveal anim -- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .live-dot::after, .rag-row { animation: none !important; }
}

/* ============================================================ Sign-up page */
.auth {
  min-height: 100vh; display: grid; grid-template-columns: 1fr .92fr;
  padding-top: var(--header-h);
}
@media (max-width: 920px){ .auth { grid-template-columns: 1fr; } }
.auth__form-wrap { padding: clamp(28px, 4vw, 56px) var(--gutter); display: flex; align-items: flex-start; }
.auth__form { width: 100%; max-width: 560px; margin-inline: auto; }
.auth__aside {
  background:
    radial-gradient(600px 380px at 110% 0%, rgba(45,212,191,.22), transparent 60%),
    linear-gradient(160deg, #21436b, var(--navy-900));
  color: #fff; padding: clamp(32px, 4vw, 64px) clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.auth__aside h2 { color: #fff; font-size: clamp(1.5rem,1.2rem+1.4vw,2.1rem); margin-bottom: 18px; }
.auth__aside .checklist li { color: var(--muted-on-dark); }
.auth__aside .checklist li strong { color: #fff; }
.auth__aside .checklist li svg { color: var(--teal-300); }
.auth__quote { margin-top: 32px; padding: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); }
.auth__quote p { color: #eaf2fb; font-style: italic; }
.auth__quote .cite { color: var(--faint-on-dark); font-style: normal; font-size: .9rem; margin-top: 10px; }

.form-head h1 { font-size: clamp(1.7rem,1.4rem+1.4vw,2.3rem); margin-bottom: 8px; }
.form-head p { color: var(--muted); margin-bottom: 28px; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 14px; padding: 0; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .95rem; }
.field .req { color: var(--red); }
.field .hint { color: var(--muted); font-weight: 500; font-size: .85rem; }
.input, .select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--border-strong); border-radius: var(--r); padding: 13px 15px; min-height: 50px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus, .select:focus { outline: none; border-color: var(--teal); box-shadow: var(--focus-ring); }
.input::placeholder { color: #9aa7bd; }
.field.has-error .input, .field.has-error .select { border-color: var(--red); }
.error-text { color: var(--red); font-size: .85rem; margin-top: 6px; display: none; }
.field.has-error .error-text { display: block; }

.slug-wrap { display: flex; align-items: stretch; border: 1.5px solid var(--border-strong); border-radius: var(--r); overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.slug-wrap:focus-within { border-color: var(--teal); box-shadow: var(--focus-ring); }
.slug-wrap .input { border: 0; border-radius: 0; box-shadow: none; flex: 1; text-align: right; }
.slug-wrap .input:focus { box-shadow: none; }
.slug-suffix { display: flex; align-items: center; padding: 0 14px; background: var(--bg-soft); color: var(--muted); font-weight: 600; border-left: 1px solid var(--border); white-space: nowrap; }
.slug-preview { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.slug-preview b { color: var(--teal-text); }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: 0 0 auto; }
.check label { font-weight: 500; color: var(--muted); font-size: .95rem; }
.form-actions { margin-top: 8px; }
.form-foot { margin-top: 16px; color: var(--muted); font-size: .92rem; text-align: center; }

.form-success { display: none; text-align: center; padding: 20px 0; }
.form.is-submitted .form-fields { display: none; }
.form.is-submitted .form-success { display: block; }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--green-050); color: #15803D; display: grid; place-items: center; margin: 0 auto 22px; }
.success-mark svg { width: 40px; height: 40px; }
.form-success h2 { font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 42ch; margin: 0 auto 8px; }

/* ============================================================== Brand page */
.swatches { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 820px){ .swatches { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .swatches { grid-template-columns: 1fr; } }
.swatch { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.swatch__chip { height: 96px; }
.swatch__meta { padding: 14px 16px; }
.swatch__meta .nm { font-weight: 700; color: var(--navy); }
.swatch__meta .hex { color: var(--muted); font-size: .9rem; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; text-transform: uppercase; }
.swatch__meta .use { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.type-specimen { border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px,3vw,34px); }
.type-specimen > * + * { margin-top: 18px; }
.type-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-bottom: 1px dashed var(--border); padding-bottom: 16px; flex-wrap: wrap; }
.type-row .meta { color: var(--muted); font-size: .85rem; font-family: ui-monospace, Menlo, Consolas, monospace; }
.logo-demo { display: flex; flex-wrap: wrap; gap: 20px; }
.logo-box { flex: 1 1 240px; border: 1px solid var(--border); border-radius: var(--r); padding: 30px; display: grid; place-items: center; min-height: 130px; }
.logo-box.on-dark { background: var(--navy-900); border-color: var(--navy-900); }
.logo-box.on-sand { background: var(--bg-sand); }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px){ .do-dont { grid-template-columns: 1fr; } }
.dd { border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--border); }
.dd.do { background: var(--green-050); border-color: rgba(34,197,94,.3); }
.dd.dont { background: var(--red-050); border-color: rgba(239,68,68,.3); }
.dd h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dd.do h4 { color: #15803D; } .dd.dont h4 { color: #b91c1c; }
.dd p { color: var(--muted); font-size: .95rem; }
.voice-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:620px){ .voice-grid { grid-template-columns:1fr; } }

.anchor-offset { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------------------------------------------------------------- Icons -- */
.i { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2;
     stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.i--sm { width: 1.15rem; height: 1.15rem; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
