/* ============================================================
   VOICE HARBOUR — Design System
   Palette: deep navy harbour water + teal-cyan signal accent
   Display: Sora / Body: Inter / Utility-data: IBM Plex Mono
   ============================================================ */

:root {
  /* -- Color: harbour water at night, one bright signal -- */
  --navy-deep:    #060F1E;
  --navy:         #0A1A30;
  --navy-panel:   #0F2440;
  --navy-panel-2: #14304F;
  --border:       rgba(228, 238, 250, 0.09);
  --border-strong:rgba(228, 238, 250, 0.16);
  --text:         #F3F8FC;
  --text-muted:   #93A8C4;
  --text-faint:   #5D7290;
  --accent:       #35D8C6;           /* teal-cyan — the "signal" */
  --accent-2:     #4C8DFF;           /* electric blue, paired sparingly */
  --accent-soft:  rgba(53, 216, 198, 0.14);
  --accent-line:  rgba(53, 216, 198, 0.35);
  --amber:        #F2B84B;           /* founding-offer marker only */

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.16,.84,.44,1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

section { position: relative; padding: clamp(64px, 10vw, 128px) 0; }
section.tight { padding: clamp(40px, 6vw, 72px) 0; }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 56px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2.section-title { font-size: clamp(28px, 4vw, 42px); }
h3.card-title { font-size: 19px; }

.lede {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 14px;
  max-width: 52ch;
}
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #26B8AC);
  color: #052420;
  box-shadow: 0 8px 24px -8px rgba(53,216,198,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(53,216,198,0.7); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn[hidden] { display: none !important; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 15, 30, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(6,15,30,0.85);
  border-bottom-color: transparent;
  transform: rotate(45deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong);
  border-radius: 10px; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--text);
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-cta .btn-primary { display: none; }
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  background: var(--navy);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { margin: 16px var(--gutter); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 9vw, 108px);
  padding-bottom: clamp(56px, 9vw, 96px);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(53,216,198,0.16), rgba(53,216,198,0) 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -- Phone visual (signature-adjacent element) -- */
.phone-card {
  background: linear-gradient(165deg, var(--navy-panel), var(--navy-panel-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.phone-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(53,216,198,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.phone-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.phone-caller {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-muted);
}
.caller-dot { width: 8px; height: 8px; border-radius: 50%; background: #F2B84B; animation: pulse-dot 1.6s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.phone-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 100px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 46px;
  margin: 18px 0 22px;
}
.waveform span {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  animation: wave 1.2s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.transcript { display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  animation: rise .5s var(--ease) forwards;
}
.bubble.them { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble.ai { align-self: flex-end; background: var(--accent-soft); border: 1px solid var(--accent-line); color: #DFFBF6; border-bottom-right-radius: 4px; }
.bubble:nth-child(1) { animation-delay: .2s; }
.bubble:nth-child(2) { animation-delay: 1.1s; }
.bubble:nth-child(3) { animation-delay: 2s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.phone-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Ripple divider (harbour signature motif) ---------- */
.ripple-divider {
  height: 46px;
  width: 100%;
  opacity: 0.55;
}
.ripple-divider path { stroke: var(--accent); stroke-width: 1; fill: none; opacity: 0.4; }
.ripple-divider path:nth-child(2) { opacity: 0.22; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--navy-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 15px; }
.step-connector {
  display: none;
}
@media (min-width: 801px) {
  .steps { position: relative; }
}

/* ---------- Cards grid (benefits) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--navy-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.benefit-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.benefit-card h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Target businesses ---------- */
.trade-band {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .trade-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .trade-grid { grid-template-columns: repeat(2, 1fr); } }
.trade-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  font-size: 14.5px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
  transition: border-color .2s ease, color .2s ease;
}
.trade-chip:hover { border-color: var(--accent-line); color: var(--text); }
.trade-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.price-card {
  background: var(--navy-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent-line);
  background: linear-gradient(165deg, var(--navy-panel-2), var(--navy-panel));
  box-shadow: 0 30px 60px -30px rgba(53,216,198,0.35);
}
.price-card.founding { border-color: rgba(242,184,75,0.4); }

.price-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 100px;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
}
.price-badge.popular { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.price-badge.founding { background: rgba(242,184,75,0.12); color: var(--amber); border: 1px solid rgba(242,184,75,0.4); }

.price-name { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; }
.price-amount { font-family: var(--font-display); font-size: 40px; font-weight: 700; }
.price-amount span { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--text-muted); }
.price-desc { font-size: 13.5px; color: var(--text-faint); margin-top: 8px; min-height: 34px; }

.price-features { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-muted); }
.price-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.price-allowance {
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 12px;
  margin-top: -6px;
  margin-bottom: 18px;
  border-top: 1px solid var(--border);
}
.price-allowance[hidden] { display: none; }
.price-allowance strong { color: var(--text); }

.pricing-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 13.5px;
  max-width: 60ch;
  margin: 32px auto 0;
}

/* ---------- Why section ---------- */
.why-panel {
  background: linear-gradient(150deg, var(--navy-panel), var(--navy-deep));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) { .why-panel { grid-template-columns: 1fr; } }
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text-muted); }
.why-list li strong { color: var(--text); }
.why-list li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- Demo teaser ---------- */
.demo-teaser {
  background: radial-gradient(ellipse at top, rgba(53,216,198,0.12), transparent 60%), var(--navy-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
}
.demo-teaser .waveform { justify-content: center; margin: 24px auto; }

/* ---------- Live demo page ---------- */
.demo-console {
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(165deg, var(--navy-panel), var(--navy-panel-2));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.7);
  text-align: center;
}
.console-avatar {
  width: 88px; height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent), var(--accent-2) 90%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.console-avatar-ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-line);
  opacity: 0;
}
.console-avatar-ring.active { animation: ring-expand 1.8s ease-out infinite; }
@keyframes ring-expand {
  0% { opacity: .7; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.5); }
}
.console-status { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-bottom: 6px; letter-spacing: 0.03em; }
.console-status.live { color: var(--accent); }
.console-timer { font-family: var(--font-mono); font-size: 28px; margin-bottom: 24px; }
.console-wave { height: 54px; margin-bottom: 28px; }
.console-actions { display: flex; align-items: center; justify-content: center; gap: 14px; }
.console-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all .25s ease;
}
.console-btn:hover { border-color: var(--accent-line); }
.console-btn.start { width: auto; padding: 0 30px; border-radius: 100px; background: linear-gradient(135deg, var(--accent), #26B8AC); color: #052420; border: none; font-weight: 600; gap: 10px; }
.console-btn.end { background: #F2554B; border-color: #F2554B; color: #fff; }
.console-btn.muted { background: rgba(255,255,255,0.1); color: var(--accent); }
.console-btn[hidden], .console-actions [hidden] { display: none !important; }
.console-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.console-btn[disabled]:hover { border-color: var(--border-strong); }
.console-note {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-faint);
}
.console-error {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(242, 85, 75, 0.12);
  border: 1px solid rgba(242, 85, 75, 0.35);
  color: #FFD9D6;
  font-size: 13.5px;
  text-align: left;
}
.console-error[hidden] { display: none; }

/* ---------- Trust ---------- */
.trust-section {
  text-align: center;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 100px;
}
.trust-badge svg { color: var(--accent); }

.honesty-note {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 13.5px;
  color: var(--text-faint);
  border-left: 2px solid var(--accent-line);
  padding-left: 16px;
  text-align: left;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--navy-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none; border: none; color: var(--text);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 15.5px; font-weight: 600;
  text-align: left;
}
.faq-q svg { transition: transform .3s ease; flex-shrink: 0; color: var(--accent); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0C2B34, #0A1A30 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band .btn { margin: 6px; }

/* ---------- Plan selector (signup) ---------- */
.plan-select {
  border: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 620px) { .plan-select { grid-template-columns: 1fr; } }
.field-legend {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0;
  margin-bottom: 12px;
  grid-column: 1 / -1;
}
.plan-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  background: var(--navy);
  transition: border-color .2s ease, background .2s ease;
}
.plan-option:hover { border-color: var(--accent-line); }
.plan-option input { position: absolute; opacity: 0; }
.plan-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.plan-option.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.plan-option-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--amber);
  min-height: 14px;
}
.plan-option-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.plan-option-price { font-size: 14px; color: var(--text-muted); }
.plan-option-price span { font-size: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Form error banner ---------- */
.form-error {
  max-width: 640px;
  margin: 16px auto 0;
  background: rgba(242, 85, 75, 0.12);
  border: 1px solid rgba(242, 85, 75, 0.35);
  color: #FFD9D6;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
}
.form-error[hidden] { display: none; }

/* ---------- Forms ---------- */
.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--navy);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.show { display: block; }
.form-success svg { color: var(--accent); margin: 0 auto 16px; }
.form-success h3 { font-size: 20px; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero {
  padding: clamp(52px, 8vw, 88px) 0 clamp(28px, 5vw, 44px);
  text-align: center;
}
.page-hero .lede { margin-left: auto; margin-right: auto; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 21px; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--navy-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; max-width: 32ch; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 16px; font-family: var(--font-mono); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-faint);
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
