/* Relay marketing site — ported from the "Relay App Home Page" Claude Design
 * project. Colors/spacing reference the Relay Design System tokens
 * (ds-tokens.css); values that appear literal here match the design source. */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-900);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
img { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.kicker--teal { color: var(--teal-400); }
.grad-text {
  background: linear-gradient(92deg, var(--teal-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.check-row { display: flex; align-items: center; gap: 12px; }
.check-row svg { flex-shrink: 0; }
.check-row span { font-size: 15.5px; font-weight: 600; color: var(--ink-900); }
.section-dark .check-row span { color: #fff; }

/* ---------- Fixed nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(13, 28, 60, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.site-nav.scrolled {
  background: rgba(13, 28, 60, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav-brand img { height: 32px; width: 32px; }
.nav-brand span { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 14px;
  font-weight: 600;
}
.nav-links a { color: rgba(255, 255, 255, 0.75); }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--blue-600);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 22px rgba(13, 124, 253, 0.5);
  transition: transform 0.2s, filter 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-900) 0%, #122550 55%, var(--ink-900) 100%);
  color: #fff;
  padding: clamp(120px, 14vh, 170px) 0 clamp(60px, 8vh, 110px);
}
.hero-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 420px at 68% 30%, rgba(13, 124, 253, 0.22), transparent 70%),
    radial-gradient(520px 420px at 82% 75%, rgba(1, 200, 172, 0.16), transparent 70%);
  animation: kfDrift 18s ease-in-out infinite;
  pointer-events: none;
}
.hero-bars {
  position: absolute;
  right: 4%; top: 12%;
  display: flex;
  align-items: center;
  gap: 34px;
  height: 560px;
  opacity: 0.14;
  filter: blur(2px);
  pointer-events: none;
}
.hero-bars span { width: 70px; border-radius: 99px; }
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
}
.hero-copy { flex: 1 1 480px; min-width: min(100%, 480px); }
.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  animation: kfHero 0.8s var(--ease-standard) both;
}
.hero-tag img { height: 18px; width: 18px; }
.hero-tag span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  animation: kfHero 0.8s var(--ease-standard) 0.08s both;
}
.hero-sub {
  margin: 0 0 30px;
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
  animation: kfHero 0.8s var(--ease-standard) 0.16s both;
}
.hero-join { animation: kfHero 0.8s var(--ease-standard) 0.24s both; }
.hero-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  animation: kfHero 0.8s var(--ease-standard) 0.32s both;
}

/* Waitlist form (hero + final CTA) — input and button stay on one line at
   every width; the input shrinks, the button doesn't. */
.waitlist-form { display: flex; flex-wrap: nowrap; gap: 10px; max-width: 520px; }
.waitlist-form input[type='email'] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
}
.waitlist-form input[type='email']::placeholder { color: rgba(255, 255, 255, 0.5); }
.waitlist-form input[type='email']:focus { border-color: rgba(255, 255, 255, 0.45); }
.waitlist-form button {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 15px 28px;
  border-radius: 14px;
  border: none;
  background: var(--blue-600);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(13, 124, 253, 0.45);
  transition: transform 0.2s, filter 0.2s;
}
@media (max-width: 400px) {
  .waitlist-form input[type='email'] { padding: 15px 14px; }
  .waitlist-form button { padding: 15px 18px; }
}
.waitlist-form button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.waitlist-form button:active { transform: scale(0.97); }
.waitlist-form button:disabled { opacity: 0.7; cursor: default; transform: none; }
/* honeypot — visually gone, still fillable by naive bots */
.waitlist-form .hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.waitlist-joined {
  display: none;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(1, 200, 172, 0.14);
  border: 1px solid rgba(1, 200, 172, 0.4);
}
.waitlist-joined span { font-size: 15px; font-weight: 600; color: #fff; }
.waitlist-error {
  display: none;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffb3b6;
}
.waitlist-block.joined .waitlist-form { display: none; }
.waitlist-block.joined .waitlist-joined { display: flex; }
.waitlist-block.error .waitlist-error { display: block; }
.fineprint {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Store buttons */
.store-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  border-radius: 14px;
  padding: 9px 18px;
  transition: background 0.2s;
}
.store-btn:hover { background: rgba(255, 255, 255, 0.18); }
.store-btn .s1 { display: block; font-size: 10px; opacity: 0.65; line-height: 1.2; }
.store-btn .s2 { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.store-soon { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.store-soon .store-btn { opacity: 0.55; }
.store-soon .store-btn:hover { background: rgba(255, 255, 255, 0.1); }
.soon-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
}
.store-btn--light {
  background: #fff;
  color: var(--ink-900) !important;
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.store-btn--light:hover { transform: translateY(-2px); background: #fff; }
/* the coming-soon Play button is not a control — faint ghost style and no
   hover/tap response, mirroring the hero version (not the white badge) */
.store-soon .store-btn--light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  box-shadow: none;
  opacity: 0.55;
}
.store-soon .store-btn--light:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.1);
}
.store-btn--light .s1 { opacity: 0.6; }
.store-btn--light .s2 { font-size: 16px; }

/* Hero phone + floating cards */
.hero-phone {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 700px;
  animation: kfHero 1s var(--ease-standard) 0.2s both;
}
.phone-slot { position: relative; width: 340px; height: 700px; }
.phone-float { animation: kfFloat 9s ease-in-out infinite; }
.phone-scale {
  transform: scale(0.76);
  transform-origin: top center;
  margin-left: -31px;
  position: relative;
  width: 402px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}
.phone-scale .side-btn {
  position: absolute;
  width: 4px;
  background: #1d2942;
}
.phone-scale .sb-1 { left: -17px; top: 150px; height: 32px; border-radius: 2px 0 0 2px; }
.phone-scale .sb-2 { left: -17px; top: 200px; height: 58px; border-radius: 2px 0 0 2px; }
.phone-scale .sb-3 { left: -17px; top: 268px; height: 58px; border-radius: 2px 0 0 2px; }
.phone-scale .sb-4 { right: -17px; top: 230px; height: 88px; border-radius: 0 2px 2px 0; }
/* The demo is a visualization, not a control — no taps, scroll, hover, or
   selection reach it (the inert attribute on the element handles focus/AT). */
#phone-demo {
  width: 402px;
  height: 858px;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.float-wrap { position: absolute; }
.fw-speaking { top: 64px; left: -150px; }
.fw-flight { top: 190px; right: -160px; }
.fw-hold { bottom: 120px; left: -130px; }
.float-card {
  border-radius: 16px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.float-card--dark {
  animation: kfFloat 8s ease-in-out -1s infinite;
  background: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.float-card--dark span.label { font-size: 13px; font-weight: 600; color: #fff; }
.float-card--light {
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.fw-flight .float-card--light { animation: kfFloat 7s ease-in-out infinite; }
.fw-hold .float-card--light { animation: kfFloat 9.5s ease-in-out -3s infinite; }
.float-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-icon--teal { background: var(--teal-50); }
.float-icon--amber { background: var(--amber-50); }
.float-card--light .t1 { display: block; font-size: 13px; font-weight: 700; color: var(--ink-900); }
.float-card--light .t2 { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); margin-top: 2px; }
.float-card--light .t2--sans { font-family: var(--font-sans); font-size: 11.5px; }
/* When the hero columns wrap, give the phone breathing room below the copy */
@media (max-width: 960px) {
  .hero-phone { margin-top: 32px; }
}
/* Mobile: render the phone at ~75% of its desktop size, entirely below the
   fold — the first screen is hero copy only, the visualization appears on
   scroll. The copy block stretches to fill the viewport (svh where
   supported) and the phone gets an extra push past it. */
@media (max-width: 760px) {
  .hero-copy {
    min-height: calc(100vh - 110px);
    min-height: calc(100svh - 110px);
  }
  .hero-phone { min-height: 560px; margin-top: 72px; }
  .phone-slot { width: 260px; height: 540px; }
  .phone-scale {
    transform: scale(0.57);
    margin-left: -71px; /* centers the 402px frame in the 260px slot */
  }
  .fw-speaking { top: 36px; }
  .fw-flight { top: 150px; }
  .fw-hold { bottom: 90px; }
}
@media (max-width: 640px) {
  /* Hug the window edges (10px in) instead of covering the phone —
     calc maps slot-relative offsets to the viewport edge for the
     centered 260px slot. */
  .fw-speaking { left: calc(140px - 50vw); }
  .fw-flight { right: calc(140px - 50vw); }
  .fw-hold { left: calc(140px - 50vw); }
}

/* Equalizer bars (shared) */
.eq { display: flex; align-items: center; gap: 3px; }
.eq span { border-radius: 99px; }
.eq span:nth-child(1) { background: var(--teal-400); animation: kfBar 1.1s ease-in-out infinite; }
.eq span:nth-child(2) { background: var(--teal-600); animation: kfBar 1.1s ease-in-out -0.3s infinite; }
.eq span:nth-child(3) { background: var(--blue-600); animation: kfBar 1.1s ease-in-out -0.6s infinite; }
.eq--sm { height: 18px; }
.eq--sm span { width: 4px; height: 18px; }

/* ---------- Use-case marquees ---------- */
.usecases { padding: clamp(60px, 8vw, 90px) 0; overflow: hidden; }
.usecases-head { text-align: center; max-width: 720px; margin: 0 auto 40px; padding: 0 24px; }
.usecases-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.marquees { display: flex; flex-direction: column; gap: 14px; }
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}
.marquee--l .marquee-track { animation: kfMarqL 46s linear infinite; }
.marquee--r .marquee-track { animation: kfMarqR 52s linear infinite; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 99px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: 0 2px 8px rgba(13, 28, 60, 0.05);
}
.chip i { width: 8px; height: 8px; border-radius: 99px; }
.chip .d-teal { background: var(--teal-600); }
.chip .d-blue { background: var(--blue-600); }
.chip .d-mint { background: var(--teal-400); }

/* ---------- Reservations spotlight ---------- */
.spotlight { background: #fff; padding: clamp(70px, 9vw, 110px) 0; overflow: hidden; }
.spotlight-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 72px); }
.spotlight-copy { flex: 1 1 420px; min-width: min(100%, 420px); }
.spotlight-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.spotlight-copy p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 500px;
  text-wrap: pretty;
}
.spotlight-checks { display: flex; flex-direction: column; gap: 14px; }
.spotlight-cards {
  flex: 1 1 400px;
  min-width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sched-card {
  width: 100%;
  max-width: 440px;
  background: var(--canvas);
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 3px 14px rgba(13, 28, 60, 0.06);
}
.card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 10px;
}
.sched-row { display: flex; align-items: center; gap: 12px; }
.sched-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fdf1f0;
  color: #b4443c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.sched-row .r1 { font-weight: 700; font-size: 15.5px; color: var(--ink-900); }
.sched-row .r2 { font-size: 13.5px; color: var(--ink-500); }
.sched-when {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--blue-50);
  border-radius: 12px;
  padding: 10px 14px;
}
.sched-when svg { flex-shrink: 0; }
.sched-when span { font-size: 13px; font-weight: 600; color: var(--blue-700); }
.sched-connector { display: flex; flex-direction: column; align-items: center; padding: 6px 0; }
.sched-connector .line { width: 2px; height: 16px; background: var(--ink-200); }
.sched-connector .eq { padding: 6px 0; }
.sched-connector .eq span { width: 3.5px; height: 14px; }
.outcome-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--teal-600);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(13, 28, 60, 0.1);
}
.outcome-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.outcome-head .t {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.outcome-head .when {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-400);
}
.outcome-card .body { font-size: 14px; color: var(--ink-500); line-height: 1.55; }
.outcome-card .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-400);
  margin-top: 10px;
}

/* ---------- How it works ---------- */
.how { background: #fff; padding: clamp(80px, 10vw, 130px) 0; scroll-margin-top: 70px; }
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.section-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-500); text-wrap: pretty; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.7); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.how-card {
  background: var(--canvas);
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 8px;
  padding: 5px 10px;
  align-self: flex-start;
}
.how-card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.how-card > div > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-500); text-wrap: pretty; }
.mini-card {
  margin-top: auto;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 3px 12px rgba(13, 28, 60, 0.06);
}
.mini-card .typed { font-size: 14.5px; font-weight: 500; }
.caret {
  display: inline-block;
  width: 2px; height: 16px;
  background: var(--blue-600);
  margin-left: 2px;
  vertical-align: -3px;
  animation: kfCaret 1.1s step-end infinite;
}
.mini-send { display: flex; justify-content: flex-end; margin-top: 10px; }
.mini-send span {
  width: 32px; height: 32px;
  border-radius: 99px;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.approve-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.approve-head .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.approve-head b { font-size: 14px; font-weight: 700; line-height: 1.35; }
.approve-btns { display: flex; gap: 8px; }
.approve-btns span {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  padding: 9px 0;
}
.approve-btns .yes {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 124, 253, 0.35);
}
.approve-btns .no { background: var(--ink-50); color: var(--ink-600); }
.mini-card--done { border-left: 4px solid var(--teal-600); }
.mini-done-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.mini-done-head b { font-size: 14.5px; font-weight: 700; }
.mini-card--done .body { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.mini-card--done .meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-400); margin-top: 8px; }

/* ---------- Live call showcase / dark sections ---------- */
.section-dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-900), #122550);
  color: #fff;
  padding: clamp(80px, 10vw, 130px) 0;
}
.dark-glow { position: absolute; inset: -20%; pointer-events: none; }
.live .dark-glow {
  background:
    radial-gradient(560px 460px at 78% 40%, rgba(13, 124, 253, 0.2), transparent 70%),
    radial-gradient(460px 400px at 15% 85%, rgba(1, 200, 172, 0.12), transparent 70%);
  animation: kfDrift 20s ease-in-out infinite;
}
.live-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 72px); }
.live-copy { flex: 1 1 420px; min-width: min(100%, 420px); }
.live-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.live-copy > p {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  text-wrap: pretty;
}
.live-checks { display: flex; flex-direction: column; gap: 14px; }
.live-demo { flex: 1 1 420px; min-width: min(100%, 400px); display: flex; justify-content: center; }
.call-card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  color: var(--ink-900);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.call-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-100);
}
.live-dot {
  width: 9px; height: 9px;
  border-radius: 99px;
  background: var(--teal-600);
  animation: kfDot 1.6s infinite;
}
.live-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-800); }
.call-head .org { font-size: 14.5px; font-weight: 700; flex: 1; }
.call-head .eq { height: 16px; }
.call-head .eq span { width: 3.5px; height: 16px; }
.call-timer { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink-500); }
.call-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}
.bubble-group { max-width: 82%; }
.bg-agent { align-self: flex-end; }
.bg-relay { align-self: flex-start; }
.bubble-who {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  color: var(--ink-400);
}
.bg-agent .bubble-who { text-align: right; }
.bg-relay .bubble-who { color: var(--blue-600); }
.bubble { padding: 11px 14px; font-size: 14px; line-height: 1.5; }
.bubble--agent { background: var(--ink-50); border-radius: 16px 16px 4px 16px; }
.bubble--relay { background: var(--blue-600); color: #fff; border-radius: 16px 16px 16px 4px; }
.bg-1 { animation: kfB1 14s ease-in-out infinite; }
.bg-2 { animation: kfB2 14s ease-in-out infinite; }
.bg-3 { animation: kfB3 14s ease-in-out infinite; }
.bg-4 { animation: kfB4 14s ease-in-out infinite; }
.bubble-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-800);
}
.call-controls { padding: 0 20px 20px; display: flex; align-items: center; gap: 10px; }
.ctl-round {
  width: 44px; height: 44px;
  border-radius: 99px;
  background: var(--canvas);
  border: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ctl-takeover {
  flex: 1;
  height: 44px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--ink-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.ctl-end {
  width: 44px; height: 44px;
  border-radius: 99px;
  background: var(--red-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(229, 72, 77, 0.35);
}
.ctl-end svg { transform: rotate(135deg); }

/* ---------- Features ---------- */
.features { padding: clamp(80px, 10vw, 130px) 0; scroll-margin-top: 70px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 2px 10px rgba(13, 28, 60, 0.05);
  transition: transform 0.3s var(--ease-standard), box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13, 28, 60, 0.12); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon--blue { background: var(--blue-50); }
.feature-icon--ink { background: var(--ink-50); }
.feature-icon--teal { background: var(--teal-50); }
.feature-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.feature-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-500); text-wrap: pretty; }
.voice-banner {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-900), #16294f);
  color: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.voice-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 300px at 85% 20%, rgba(1, 200, 172, 0.18), transparent 70%);
  pointer-events: none;
}
.voice-copy { position: relative; flex: 1 1 380px; }
.pill-new {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(1, 200, 172, 0.16);
  border: 1px solid rgba(1, 200, 172, 0.4);
  color: var(--teal-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.voice-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.voice-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  text-wrap: pretty;
}
.voice-viz {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.voice-wave { display: flex; align-items: center; gap: 5px; height: 64px; }
.voice-wave span { width: 6px; border-radius: 99px; }
.voice-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Privacy ---------- */
.privacy { scroll-margin-top: 70px; }
.privacy .dark-glow {
  background:
    radial-gradient(560px 460px at 20% 30%, rgba(13, 124, 253, 0.16), transparent 70%),
    radial-gradient(460px 400px at 85% 80%, rgba(1, 200, 172, 0.1), transparent 70%);
  animation: kfDrift 22s ease-in-out infinite;
}
.privacy-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  margin-bottom: clamp(40px, 5vw, 60px);
}
.privacy-copy { flex: 1 1 440px; min-width: min(100%, 440px); }
.privacy-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.privacy-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  text-wrap: pretty;
}
.privacy-demo { flex: 1 1 380px; min-width: min(100%, 340px); display: flex; justify-content: center; }
.approval-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: var(--ink-900);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.approval-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.approval-head .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.approval-head .t1 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.approval-head .t2 { font-size: 12.5px; color: var(--ink-500); }
.approval-head .eq { margin-left: auto; height: 14px; }
.approval-head .eq span { width: 3px; height: 14px; }
.approval-card .q { font-size: 14.5px; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.approval-card .note { font-size: 13px; color: var(--ink-500); line-height: 1.5; margin-bottom: 14px; }
.vault-row {
  background: var(--canvas);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.vault-row svg { flex-shrink: 0; }
.vault-row .dob {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.vault-row .enc {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.06em;
}
.approval-btns { display: flex; gap: 8px; }
.approval-btns span {
  flex: 1;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 11px;
  padding: 10px 0;
}
.approval-btns .yes {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 124, 253, 0.35);
}
.approval-btns .no { background: var(--ink-50); color: var(--ink-600); }
.privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.privacy-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
}
.privacy-tile svg { margin-bottom: 14px; }
.privacy-tile .t { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.privacy-tile .b { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.65); text-wrap: pretty; }
.privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Pricing ---------- */
.pricing { background: #fff; padding: clamp(80px, 10vw, 130px) 0; scroll-margin-top: 70px; }
.pricing .section-head { max-width: 680px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(13, 28, 60, 0.05);
  transition: transform 0.3s var(--ease-standard), box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13, 28, 60, 0.12); }
.price-card--free { background: var(--canvas); box-shadow: none; }
.price-card--free:hover { transform: none; box-shadow: none; }
.price-card--best {
  position: relative;
  border: 2px solid var(--blue-600);
  box-shadow: 0 10px 30px rgba(13, 124, 253, 0.15);
}
.price-card--best:hover { box-shadow: 0 18px 44px rgba(13, 124, 253, 0.22); }
.best-badge {
  position: absolute;
  top: -12px; right: 18px;
  background: var(--blue-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 4px 12px;
}
.price-card .tier { font-size: 14px; font-weight: 700; color: var(--ink-600); }
.price-card--free .tier { color: var(--teal-800); }
.price-card--best .tier { color: var(--blue-700); }
.price-card .amount {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-card .desc { font-size: 14px; color: var(--ink-500); line-height: 1.55; }
.free-meter {
  margin-top: 14px;
  height: 7px;
  border-radius: 99px;
  background: var(--ink-100);
  overflow: hidden;
}
.free-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-500));
  border-radius: 99px;
}
.free-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-400); margin-top: 6px; }
.premium-banner {
  background: linear-gradient(135deg, var(--ink-900), #16294f);
  color: #fff;
  border-radius: 22px;
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.premium-banner img { height: 40px; width: 40px; flex-shrink: 0; }
.premium-info { flex: 1 1 320px; }
.premium-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.premium-title b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.pill-sub {
  background: rgba(1, 200, 172, 0.16);
  border: 1px solid rgba(1, 200, 172, 0.4);
  color: var(--teal-400);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 3px 10px;
}
.premium-info p { font-size: 14.5px; color: rgba(255, 255, 255, 0.68); margin: 6px 0 0; line-height: 1.55; }
.premium-price { display: flex; align-items: baseline; gap: 6px; }
.premium-price .n { font-family: var(--font-mono); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.premium-price .per { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.premium-cta {
  background: var(--blue-600);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  padding: 14px 26px;
  box-shadow: 0 10px 30px rgba(13, 124, 253, 0.4);
  transition: transform 0.2s, filter 0.2s;
}
.premium-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.pricing-note {
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 120px) 0; scroll-margin-top: 70px; }
.faq-inner { max-width: 760px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.faq-head { text-align: center; margin-bottom: 44px; }
.faq-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(13, 28, 60, 0.04);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 19px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.faq-q svg { flex-shrink: 0; transition: transform 0.3s var(--ease-standard); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-500);
  text-wrap: pretty;
}
.faq-item.open .faq-a { display: block; }

/* ---------- Final CTA ---------- */
.join {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-900), #122550 60%, var(--ink-900));
  color: #fff;
  padding: clamp(90px, 12vw, 150px) 0;
  text-align: center;
  scroll-margin-top: 70px;
}
.join-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
  opacity: 0.12;
  pointer-events: none;
}
.join-bars span { width: 64px; border-radius: 99px; }
.join-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.join h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.join .sub {
  margin: 0 auto 34px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}
.join .waitlist-block { margin: 0 auto 22px; max-width: 520px; }
.join .waitlist-form { justify-content: center; }
.join .waitlist-joined { justify-content: center; }
.join-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}
.join .fineprint { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--ink-100);
  padding: clamp(48px, 6vw, 72px) 0 36px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 80px);
  justify-content: space-between;
  margin-bottom: 44px;
}
.footer-brand { flex: 1 1 260px; max-width: 430px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 30px; width: 30px; }
.footer-logo span { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900); }
.footer-brand .blurb { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }
.footer-brand .mail { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; }
.footer-nav { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; min-width: 120px; }
.footer-col b {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.footer-col a { font-size: 14px; font-weight: 500; color: var(--ink-700); }
.footer-col a:hover { color: var(--blue-600); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ink-100);
  padding-top: 22px;
}
.footer-base span { font-size: 13px; color: var(--ink-400); }
.footer-base img { height: 30px; width: 30px; }

/* ---------- Legal pages ---------- */
/* Same fixed nav as the home page, permanently in its solid "scrolled" state
   (these pages have no dark hero behind it and load no JS). */
.site-nav--solid {
  background: var(--ink-900);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.legal-page { padding-top: 60px; }
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px) 96px;
}
.legal-main h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.legal-main .effective {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-400);
  margin: 0 0 36px;
}
.legal-main h2 {
  margin: 40px 0 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.legal-main p, .legal-main li { font-size: 15.5px; line-height: 1.7; color: var(--ink-700); }
.legal-main p { margin: 0 0 14px; }
.legal-main ul { margin: 0 0 14px; padding-left: 22px; }
.legal-main li { margin-bottom: 8px; }
.legal-main strong { color: var(--ink-900); }
.legal-main table {
  border-collapse: collapse;
  width: 100%;
  margin: 6px 0 16px;
  font-size: 14.5px;
}
.legal-main th, .legal-main td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--ink-100);
  line-height: 1.5;
}
.legal-main th {
  background: var(--ink-50);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.legal-main td { color: var(--ink-700); background: #fff; }
.index-links { display: flex; flex-direction: column; gap: 12px; margin: 26px 0; }
.index-links a {
  display: block;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  box-shadow: 0 2px 8px rgba(13, 28, 60, 0.04);
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s;
}
.index-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(13, 28, 60, 0.1);
  color: var(--blue-600);
}

/* ---------- Cookie consent banner (design: Relay Home cookie banner) ---------- */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.consent-card {
  pointer-events: auto;
  width: 100%;
  max-width: 462px;
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(13, 28, 60, 0.18), 0 2px 7px rgba(13, 28, 60, 0.08);
  padding: 13px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}
/* Soft variant — sits in the footer between the link columns and the base
   row (design: Relay Home - Soft Consent Footer); used outside the EEA gate */
.consent-footer { margin: -30px 0 32px; }
.consent-footer .consent-card { box-shadow: 0 2px 7px rgba(13, 28, 60, 0.06); }
.consent-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consent-card p {
  margin: 0;
  flex: 1 1 180px;
  min-width: 165px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-600);
  text-wrap: pretty;
}
.consent-card p a { font-weight: 600; white-space: nowrap; }
.consent-card p a:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 3px;
}
.consent-actions { display: flex; gap: 7px; flex: 0 0 auto; margin-left: auto; }
.consent-actions button {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
}
.consent-decline {
  border: 1px solid var(--ink-200);
  background: #fff;
  color: var(--ink-700);
  transition: background 0.2s;
}
.consent-decline:hover { background: var(--ink-50); }
.consent-decline:active { transform: scale(0.97); }
.consent-decline:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.consent-accept {
  border: none;
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 5px 15px rgba(13, 124, 253, 0.35);
  transition: transform 0.2s, filter 0.2s;
}
.consent-accept:hover { filter: brightness(1.08); }
.consent-accept:active { transform: scale(0.97); }
.consent-accept:focus-visible { outline: 2px solid var(--ink-900); outline-offset: 2px; }

/* ---------- Keyframes ---------- */
@keyframes kfBar { 0%, 100% { transform: scaleY(0.34); } 50% { transform: scaleY(1); } }
@keyframes kfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes kfMarqL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kfMarqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes kfB1 { 0% { opacity: 0; transform: translateY(12px); } 5%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes kfB2 { 0%, 16% { opacity: 0; transform: translateY(12px); } 22%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes kfB3 { 0%, 36% { opacity: 0; transform: translateY(12px); } 42%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes kfB4 { 0%, 58% { opacity: 0; transform: translateY(12px); } 64%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes kfDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(1, 200, 172, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(1, 200, 172, 0); } }
@keyframes kfCaret { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes kfDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4%, -4%) scale(1.08); } }
@keyframes kfHero { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Contact page ---------- */
/* Option B ("Split assurance") from the contact-page design canvas: copy +
   reasons on the left, form card on the right; same nav/footer shell as the
   legal pages. */
.contact-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 48px) 96px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
.contact-copy { padding-top: 12px; }
.contact-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.contact-copy p {
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-700);
}
.contact-reasons { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(13, 28, 60, 0.08);
  padding: clamp(24px, 3.5vw, 36px);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field > span { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid var(--ink-200);
  background: #fff;
  color: var(--ink-900);
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--ink-400); }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: var(--blue-600); }
.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7A93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 46px;
}
.contact-field textarea { min-height: 140px; resize: vertical; }
.contact-form .hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-actions button {
  white-space: nowrap;
  padding: 15px 28px;
  border-radius: 14px;
  border: none;
  background: var(--blue-600);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(13, 124, 253, 0.35);
  transition: transform 0.15s, filter 0.15s;
}
.contact-actions button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.contact-actions button:active { transform: scale(0.97); }
.contact-actions button:disabled { opacity: 0.7; cursor: default; transform: none; }
.contact-note { font-size: 13px; color: var(--ink-400); }
.contact-error {
  display: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #C0392B;
}
.contact-card.error .contact-error { display: block; }
.contact-sent {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--ink-50);
}
.contact-sent span { font-size: 15px; font-weight: 600; color: var(--ink-900); }
.contact-card.sent .contact-form { display: none; }
.contact-card.sent .contact-sent { display: flex; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-copy { padding-top: 0; }
}

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