/* Carib Radio. Coastal Editorial, revision 7.
   The one rule: no borders on cards, chips, inputs, or buttons.
   Containment is tonal. Hairlines only where the plan allows them. */

/* Self-hosted display face (latin, variable weight). No external requests. */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/playfair-display-italic-latin.woff2") format("woff2");
}

:root {
  /* Plan token system */
  --ink-dark: #0D1B1E;
  --paper: #F4F1EC;
  --panel-dark: #14262B;
  --panel-light: rgba(255, 255, 255, 0.7);
  --muted-dark: #A8B8BA;

  /* Brand anchors */
  --primary: #00778B;
  --primary-deep: #1F4A52;
  --primary-soft: #5E8E95;
  --primary-tint: #D6E8EC;
  --gold: #E8B422;
  --seafoam: #7BCAB0;
  --sand: #F6E5D3;
  --tan: #D9BEA1;
  --slate: #6F6C6C;
  --ink: #2A2826;

  /* Supporting */
  --scaffold: #F4F4F4;
  --surface: #FFFFFF;
  --grey-bg: #E8E6E3;
  --border-grey: #E2E0DD;
  --placeholder: #A09B95;
  --icon-off: #C8C4BD;
  --bg-warning: #FBF2DC;
  --dusk-0: #0C1518;
  --dusk-1: #182429;
  --dusk-2: #1A2A30;
  --dusk-ink: #08151A;
  --dusk-icon: #5E6A6E;

  /* Type */
  --font: "SF Pro", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  /* One radius family */
  --r-card: 28px;
  --r-input: 16px;
  --r-pill: 999px;
  --r-sm: 8px;

  /* Spacing ladder */
  --s1: 2px; --s2: 5px; --s3: 8px; --s4: 10px; --s5: 15px;
  --s6: 20px; --s7: 25px; --s8: 30px; --s9: 40px; --s10: 56px;

  /* One shadow language */
  --shadow-ambient: 0 24px 60px -24px rgba(13, 27, 30, 0.25);
  --shadow-lift: 0 34px 72px -26px rgba(13, 27, 30, 0.38);
  --inset-top-dark: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Motion */
  --ease-io: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

figure { margin: 0; }

h1, h2, h3, h4, p, li, span, a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

a { color: var(--primary); }

h1, h2, h3, h4, p { margin: 0; }

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

button { font-family: var(--font); }

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

.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--gold); }

.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: -9999px;
  top: 0;
  z-index: 120;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--s6);
  padding-right: var(--s6);
}

section { scroll-margin-top: 96px; }
[id] { scroll-margin-top: 96px; }

/* ---------- Film grain ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
  padding: 18px 32px;
  min-height: 56px;
  border-radius: var(--r-pill);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.7s var(--ease-spring), background-color 0.25s var(--ease-io), color 0.25s var(--ease-io), box-shadow 0.7s var(--ease-spring);
}
.btn:active { transform: scale(0.96); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: color-mix(in oklch, var(--primary) 76%, var(--primary-deep)); color: #fff; }
.btn-primary:active { background: var(--primary-deep); }

/* Anti-sell keeps its locked outline pill */
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--tan); }
.btn-ghost:hover { background: var(--primary-tint); color: var(--primary-deep); }

.btn-light { background: var(--sand); color: var(--dusk-ink); }
.btn-light:hover { background: color-mix(in srgb, var(--sand) 78%, var(--tan)); color: var(--dusk-ink); }
.btn-light:active { background: var(--tan); }

.btn-sm { font-size: 16px; padding: 12px 22px; min-height: 46px; }

/* Button-in-button */
.btn-arrow { gap: 14px; padding-right: 10px; }
.btn-arrow:hover { transform: scale(0.98); }
.btn-orb {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.7s var(--ease-spring);
}
.btn-orb svg { width: 15px; height: 15px; }
.btn-arrow:hover .btn-orb { transform: translate(3px, -1px) scale(1.05); }
.btn-light .btn-orb { background: rgba(8, 21, 26, 0.12); }
.btn-sm.btn-arrow { padding-right: 8px; }
.btn-sm .btn-orb { width: 28px; height: 28px; }
.btn-sm .btn-orb svg { width: 13px; height: 13px; }

/* Text-link CTA with arrow orb, no outline box */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--s7);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--primary);
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  transition: transform 0.7s var(--ease-spring), color 0.25s var(--ease-io), background-color 0.25s var(--ease-io), border-color 0.25s var(--ease-io);
}
.link-cta .btn-orb { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); transition: transform 0.7s var(--ease-spring), background-color 0.25s var(--ease-io), color 0.25s var(--ease-io); }
.link-cta:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.link-cta:hover .btn-orb { transform: translate(3px, -1px) scale(1.05); background: rgba(255, 255, 255, 0.14); color: #fff; }
.link-cta:active { transform: scale(0.98); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 0;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.7s var(--ease-spring); }
.link-arrow:hover { color: var(--primary-deep); }
.link-arrow:hover svg { transform: translate(3px, -1px); }

/* ---------- Utility bar (locked) ---------- */

.utility-bar {
  background: var(--dusk-0);
  border-bottom: 1px solid color-mix(in srgb, var(--tan) 14%, transparent);
  color: var(--tan);
  font-size: 13px;
  font-weight: 500;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 40px;
}
.utility-left, .utility-right { display: flex; align-items: center; gap: var(--s5); }

.lang-picker { display: inline-flex; align-items: center; gap: 8px; color: var(--tan); }
.lang-picker select {
  appearance: none;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--tan) 35%, transparent);
  color: var(--sand);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-pill);
  padding: 5px 26px 5px 12px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23D9BEA1' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.lang-picker select:hover { border-color: var(--tan); }
.lang-picker select option { color: var(--ink); background: var(--surface); }

.utility-link { color: var(--tan); text-decoration: none; padding: 6px 2px; }
.utility-link:hover { color: var(--sand); }

.social-row { display: inline-flex; align-items: center; gap: 4px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--r-pill);
  color: var(--tan);
  transition: color 0.25s var(--ease-io), background-color 0.25s var(--ease-io);
}
.social-row a:hover { color: var(--sand); background: color-mix(in srgb, var(--sand) 10%, transparent); }
.social-row svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header (locked) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--dusk-0);
  border-bottom: 1px solid color-mix(in srgb, var(--tan) 14%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: var(--r-sm); }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 0.4px; color: var(--sand); }

.site-nav { display: flex; align-items: center; gap: var(--s7); }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--tan);
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease-io), border-color 0.2s var(--ease-io);
}
.site-nav a:hover { color: var(--sand); border-bottom-color: var(--gold); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--tan) 35%, transparent);
  border-radius: var(--r-sm);
  color: var(--sand);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; }

.mobile-panel { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(62% 54% at 50% -6%, color-mix(in srgb, var(--primary) 40%, transparent), transparent 72%),
    radial-gradient(38% 30% at 86% 2%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 74%),
    radial-gradient(30% 34% at 4% 60%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%),
    linear-gradient(180deg, var(--ink-dark) 0%, #102024 100%);
  color: var(--sand);
  text-align: center;
  padding: var(--s9) 0 var(--s9);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--sand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.proof-pill .dot {
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--s8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-kicker::before, .hero-kicker::after {
  content: "";
  width: 30px; height: 1px;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
}

.hero-title {
  margin: var(--s5) auto 0;
  max-width: 960px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--sand);
  text-wrap: balance;
}
.hero-title em { font-style: italic; }

.hero-sub {
  margin: var(--s6) auto 0;
  max-width: 680px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--muted-dark);
}

.hero-actions {
  margin-top: var(--s8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  flex-wrap: wrap;
}
.hero-actions .store-badge { flex-shrink: 0; }

/* Flag marquee */
.proof-strip {
  margin: var(--s9) auto 0;
  max-width: 980px;
  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);
}
.proof-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.proof-strip:hover .proof-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.proof-set { display: flex; }
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: var(--s4);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--tan);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.proof-chip .flag { font-size: 15px; line-height: 1; }
.proof-chip.lead {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

/* Dial motif */
.dial-motif {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.hero .dial-motif { bottom: -320px; width: min(840px, 130vw); }
.final-cta .dial-motif { top: -300px; width: min(760px, 120vw); }
.dial-motif svg {
  display: block;
  width: 100%;
  height: auto;
  animation: dial-spin 120s linear infinite;
}
@keyframes dial-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Phone fan */
.screen-rail {
  position: relative;
  z-index: 1;
  margin-top: var(--s8);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px 0 30px;
}
.phone-frame {
  position: relative;
  flex-shrink: 0;
  width: clamp(148px, 15vw, 184px);
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 24px;
  box-shadow: var(--shadow-ambient);
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
  transition: transform 0.7s var(--ease-spring), filter 0.7s var(--ease-spring), opacity 0.7s var(--ease-spring);
}
.screen-rail .phone-frame:nth-child(1) { --r: -6deg; --y: 16px; z-index: 1; margin-right: -30px; }
.screen-rail .phone-frame:nth-child(2) { --r: -2deg; --y: -10px; z-index: 2; margin-right: -30px; }
.screen-rail .phone-frame:nth-child(3) { --r: 2deg; --y: -10px; z-index: 2; margin-right: -30px; }
.screen-rail .phone-frame:nth-child(4) { --r: 6deg; --y: 16px; z-index: 1; }
.phone-frame img { width: 100%; height: auto; border-radius: 24px; }

@media (min-width: 721px) {
  .screen-rail.auto .phone-frame.is-dim {
    transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)) scale(0.94);
    filter: brightness(0.72) saturate(0.85);
    opacity: 0.92;
  }
  .screen-rail.auto .phone-frame.is-featured {
    transform: rotate(0deg) translateY(-22px) scale(1.07);
    filter: brightness(1);
    opacity: 1;
    z-index: 6;
  }
}

/* ---------- Stats band: single credibility line (Linear / Notion) ---------- */

.stats-band {
  background: var(--ink-dark);
  padding: var(--s8) 0;
  text-align: center;
}
.cred-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s4) clamp(14px, 2vw, 22px);
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--tan);
}
.cred-stat strong { font-weight: 700; color: var(--sand); }
.cred-dot {
  width: 7px; height: 7px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--gold);
}
.cred-sub { margin-top: var(--s4); font-size: 15px; line-height: 1.55; color: var(--muted-dark); }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 7vw, 104px) 0; }

.section-head { max-width: 760px; margin: 0 auto var(--s9); text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  text-wrap: balance;
}
.section-head .lede {
  margin-top: var(--s5);
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--s5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.row-idx { color: var(--gold); margin-bottom: var(--s4); }

/* ---------- Problem: dense list vs one visual ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s10);
  align-items: center;
}
.pain-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  max-width: 22ch;
  text-wrap: balance;
}
.pain-lede { margin-top: var(--s5); font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 48ch; }
.pain-list { margin-top: var(--s6); display: grid; gap: var(--s4); }
.pain-list li {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.pain-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: var(--r-pill);
  background: var(--gold);
  margin-top: 8px;
}
.pain-footnote { margin-top: var(--s6); font-size: 14px; line-height: 1.5; color: var(--slate); }
.pain-media {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  aspect-ratio: 4 / 5;
}
.pain-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Mechanism: alternating full-width rows ---------- */

.mechanism { padding: clamp(64px, 8vw, 120px) 0; }
.feature-rows { display: grid; gap: clamp(56px, 8vw, 112px); margin-top: var(--s6); }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-visual { order: 1; }
.feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  text-wrap: balance;
}
.feature-copy p { margin-top: var(--s4); font-size: 17px; line-height: 1.6; color: var(--slate); max-width: 46ch; }
.feature-copy .link-cta { margin-top: var(--s6); }
.feature-visual { display: flex; justify-content: center; }

.device-frame {
  width: min(280px, 100%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 24px;
  box-shadow: var(--shadow-ambient);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}
.device-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.device-frame img { width: 100%; height: auto; border-radius: 24px; }

/* ---------- Pillars: stacked sticky scroll panels (Atoks mechanic) ---------- */

.pillars {
  padding: clamp(64px, 8vw, 120px) 0;
  background: color-mix(in srgb, var(--sand) 30%, var(--paper));
}
.stack { display: grid; gap: var(--s6); }
.stack-panel {
  position: sticky;
  top: calc(84px + var(--i, 0) * 22px);
  min-height: 64vh;
  border-radius: var(--r-card);
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: color-mix(in srgb, var(--sand) 52%, var(--surface));
  box-shadow: var(--shadow-ambient);
  overflow: hidden;
}
.stack-panel.alt { background: color-mix(in srgb, var(--primary-tint) 62%, var(--surface)); }
.stack-panel.soft { background: color-mix(in srgb, var(--sand) 22%, var(--surface)); }
.stack-panel.tone-dark {
  background: linear-gradient(180deg, var(--panel-dark) 0%, var(--ink-dark) 100%);
  box-shadow: var(--inset-top-dark), var(--shadow-lift);
}

.pillar-screen { display: flex; justify-content: center; }
.pillar-screen .device-frame { width: auto; }
.pillar-screen .device-frame img {
  width: auto;
  height: min(56vh, 560px);
  max-width: 100%;
}

.pillar-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  text-wrap: balance;
}
.pillar-copy p { margin-top: var(--s4); font-size: 17px; line-height: 1.6; color: var(--slate); max-width: 46ch; }
.pillar-copy .link-cta { margin-top: var(--s6); }

.tone-dark .pillar-copy h3 { color: var(--sand); }
.tone-dark .pillar-copy p { color: var(--muted-dark); }
.tone-dark .link-cta {
  color: var(--seafoam);
  border-color: color-mix(in srgb, var(--seafoam) 45%, transparent);
}
.tone-dark .link-cta .btn-orb {
  background: color-mix(in srgb, var(--seafoam) 14%, transparent);
  color: var(--seafoam);
}
.tone-dark .link-cta:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.tone-dark .link-cta:hover .btn-orb {
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold);
}

/* ---------- How it works: horizontal numbered stepper ---------- */

.how { padding: clamp(56px, 7vw, 96px) 0; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-step { display: flex; flex-direction: column; min-width: 0; }
.how-step-head { display: flex; align-items: center; gap: var(--s5); margin-bottom: var(--s5); }
.how-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
}
.how-rule { flex: 1; height: 1px; background: rgba(13, 27, 30, 0.14); }
.how-step h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  text-wrap: balance;
}
.how-step p { margin-top: var(--s2); font-size: 15px; line-height: 1.55; color: var(--slate); }
.how-visual {
  margin-top: var(--s6);
  border-radius: var(--r-input);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
}
.how-visual img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
}
.how-visual.fit-center img { object-position: center; }

/* ---------- Proof: asymmetric bento, cells sized by claim weight ---------- */

.proof { padding: clamp(56px, 7vw, 96px) 0; }
.proof-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s6);
  max-width: 1020px;
  margin: 0 auto;
}
.proof-cell {
  grid-column: span 2;
  border-radius: var(--r-card);
  background: var(--panel-dark);
  box-shadow: var(--inset-top-dark), var(--shadow-ambient);
  padding: var(--s8);
  display: flex;
  align-items: center;
  gap: var(--s7);
  overflow: hidden;
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}
.proof-cell:hover { transform: translateY(-4px); box-shadow: var(--inset-top-dark), var(--shadow-lift); }
.proof-hero {
  grid-row: span 2;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--s6);
  padding: clamp(var(--s8), 4vw, var(--s10));
}
.proof-copy { flex: 1; min-width: 0; }
.proof-copy h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sand);
  text-wrap: balance;
}
.proof-hero .proof-copy h3 { font-size: clamp(24px, 2.6vw, 30px); }
.proof-copy p { margin-top: var(--s3); font-size: 15px; line-height: 1.6; color: var(--muted-dark); }
.proof-visual { flex-shrink: 0; width: min(150px, 34%); }
.proof-visual img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-input);
  box-shadow: var(--shadow-ambient);
}
.proof-hero .proof-visual { width: 100%; }
.proof-hero .proof-visual img { height: clamp(240px, 30vh, 320px); }
.proof-footnote { margin-top: var(--s8); text-align: center; font-size: 15px; color: var(--slate); }

/* ---------- Free and Premium: three plan cards, featured middle tile ---------- */

.pricing {
  padding: clamp(56px, 7vw, 96px) 0;
  background: color-mix(in srgb, var(--primary-tint) 45%, var(--paper));
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s6);
  max-width: 1060px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  border-radius: var(--r-card);
  padding: clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
}
.price-free { background: var(--surface); box-shadow: var(--shadow-ambient); }
.price-premium { background: var(--panel-dark); box-shadow: var(--inset-top-dark), var(--shadow-lift); }
.plan-featured { outline: 1.5px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: -1.5px; }
.plan-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.price-premium .plan-eyebrow { color: var(--gold); }
.price-card h3 {
  margin-top: var(--s3);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-deep);
}
.price-premium h3 { color: var(--sand); }
.plan-price { margin-top: var(--s2); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--primary-deep); }
.price-premium .plan-price { color: var(--sand); }
.plan-list { margin-top: var(--s6); display: grid; gap: var(--s3); }
.plan-list li {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}
.plan-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: var(--r-pill);
  background: var(--primary);
  margin-top: 8px;
}
.price-premium .plan-list li { color: var(--sand); }
.price-premium .plan-list li::before { background: var(--gold); }
.price-note { margin-top: auto; padding-top: var(--s6); font-size: 13px; line-height: 1.5; color: var(--slate); }
.price-premium .price-note { color: var(--tan); }
.price-card .btn { margin-top: var(--s7); align-self: flex-start; flex-shrink: 0; }

/* ---------- Anti-sell: quiet, cardless ---------- */

.antisell {
  background: var(--sand);
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 0;
}
.antisell-inner { max-width: 620px; margin: 0 auto; }
.antisell h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
  text-wrap: balance;
}
.antisell p { margin-top: var(--s5); font-size: 17px; line-height: 1.6; color: var(--ink); }

/* ---------- FAQ: grouped accordion ---------- */

.faq-section { padding: clamp(64px, 8vw, 112px) 0; }
.faq-groups { max-width: 780px; margin: 0 auto; display: grid; gap: var(--s9); }
.faq-group-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s4);
}
.faq-list { max-width: none; margin: 0; }
.faq-item + .faq-item { border-top: 1px solid rgba(13, 27, 30, 0.10); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: 24px 0;
  background: none;
  border: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-plus { flex-shrink: 0; width: 24px; height: 24px; display: inline-flex; color: var(--primary); }
.faq-plus svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.faq-plus svg .v { transform-origin: 12px 12px; transition: transform 0.3s var(--ease-spring); }
.faq-item.open .faq-plus svg .v { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-spring); }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p { padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--slate); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Partner strip ---------- */

.partner-strip {
  background: var(--primary-deep);
  color: var(--sand);
  padding: var(--s8) 0;
}
.partner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
}
.partner-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--sand);
}
.partner-copy p { margin-top: var(--s2); font-size: 15px; color: color-mix(in srgb, var(--tan) 88%, transparent); }

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  background:
    radial-gradient(52% 60% at 20% 20%, color-mix(in srgb, var(--primary) 26%, transparent), transparent 70%),
    radial-gradient(34% 36% at 88% 82%, color-mix(in srgb, var(--gold) 7%, transparent), transparent 72%),
    linear-gradient(180deg, var(--ink-dark), #102024);
  color: var(--sand);
  padding: clamp(72px, 8vw, 120px) 0;
  overflow: hidden;
}
.final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s10);
  align-items: center;
}
.final-copy h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--sand);
  text-wrap: balance;
}
.final-copy .final-sub { margin-top: var(--s5); font-size: 18px; line-height: 1.6; color: var(--muted-dark); max-width: 480px; }
.final-badges { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s8); }

/* Signup panel */
.signup-card {
  background: var(--panel-dark);
  border-radius: var(--r-card);
  box-shadow: var(--inset-top-dark), var(--shadow-ambient);
  padding: var(--s8);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}
.signup-card:hover { transform: translateY(-4px); box-shadow: var(--inset-top-dark), var(--shadow-lift); }
.signup-card h3 { font-size: 18px; font-weight: 700; color: var(--sand); }
.signup-card > p { margin-top: var(--s2); font-size: 14px; line-height: 1.55; color: var(--muted-dark); }
.signup-card form { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.signup-field { position: relative; display: flex; align-items: center; flex: 1 1 220px; min-width: 0; }
.signup-field svg {
  position: absolute;
  left: 16px;
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--placeholder);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.signup-card input {
  width: 100%;
  min-height: 52px;
  background: rgba(13, 27, 30, 0.6);
  border: 0;
  border-radius: var(--r-input);
  padding: 13px 18px 13px 44px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--sand);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.25s var(--ease-io);
}
.signup-card input::placeholder { color: var(--placeholder); }
.signup-card input:hover { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); }
.trust-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--s4);
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--tan) 82%, transparent);
}
.trust-line svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: var(--tan);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.signup-success { margin-top: var(--s5); font-size: 15px; font-weight: 600; color: var(--seafoam); }
.signup-error { margin-top: var(--s5); font-size: 14px; font-weight: 600; color: #F2A9A0; }

/* ---------- Store badges ---------- */

.store-badge {
  position: relative;
  display: inline-flex;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--tan) 45%, transparent);
  line-height: 0;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring), border-color 0.25s var(--ease-io);
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px -22px rgba(0, 0, 0, 0.7);
  border-color: color-mix(in srgb, var(--gold) 60%, transparent);
}
.store-badge:hover text { fill: var(--gold); }
.store-badge svg { display: block; height: 56px; width: auto; max-width: 100%; }
.store-badge text { font-family: var(--font); }

.soon-pill {
  position: absolute;
  top: -7px;
  right: -8px;
  background: var(--gold);
  color: var(--dusk-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* ---------- Footer (locked) ---------- */

.site-footer {
  position: relative;
  background:
    radial-gradient(56% 90% at 50% -10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 72%),
    var(--dusk-0);
  border-top: 1px solid color-mix(in srgb, var(--tan) 16%, transparent);
  color: var(--tan);
  padding: var(--s10) 0 var(--s8);
  overflow: hidden;
}
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--s8); }
.footer-brand p {
  margin-top: var(--s4);
  font-size: 13px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--tan) 84%, transparent);
  max-width: 240px;
}
.footer-brand .social-row { margin-top: var(--s5); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: var(--s4);
}
.footer-col ul { display: grid; gap: var(--s3); }
.footer-col a { font-size: 13px; font-weight: 500; color: color-mix(in srgb, var(--tan) 88%, transparent); text-decoration: none; padding: 2px 0; }
.footer-col a:hover { color: var(--sand); }
.footer-col .soon {
  font-size: 11px;
  font-weight: 500;
  color: var(--dusk-icon);
  border: 1px solid color-mix(in srgb, var(--tan) 25%, transparent);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  margin-left: 6px;
}
.footer-legal {
  margin-top: var(--s9);
  padding-top: var(--s6);
  border-top: 1px solid color-mix(in srgb, var(--tan) 14%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
  font-size: 12px;
  color: color-mix(in srgb, var(--tan) 78%, transparent);
}
.footer-legal nav { display: flex; gap: var(--s5); flex-wrap: wrap; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--sand); }

/* ---------- Legal pages ---------- */

.draft-banner {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  background: var(--bg-warning);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: var(--r-sm);
  padding: var(--s4) var(--s5);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s8);
}
.draft-banner strong { font-weight: 700; }

.legal { max-width: 760px; margin: 0 auto; padding: var(--s10) var(--s6) 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 700; line-height: 1.15; color: var(--primary-deep); margin-bottom: var(--s4); }
.legal .legal-updated { font-size: 13px; color: var(--slate); margin-bottom: var(--s8); }
.legal h2 { font-size: 19px; font-weight: 700; color: var(--primary-deep); margin: var(--s8) 0 var(--s3); }
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink); }
.legal p { margin-bottom: var(--s4); }
.legal ul { display: grid; gap: var(--s2); padding-left: var(--s6); list-style: disc; margin-bottom: var(--s4); }
.legal a { color: var(--primary); }
.legal .table-scroll {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--s4) 0 var(--s6);
  border: 1px solid var(--border-grey);
  border-radius: var(--r-sm);
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  min-width: 560px;
}
.legal thead th {
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--primary-tint);
  padding: var(--s4) var(--s5);
}
.legal tbody td {
  padding: var(--s4) var(--s5);
  border-top: 1px solid var(--border-grey);
  color: var(--ink);
  vertical-align: top;
}
.legal tbody tr:nth-child(even) td { background: var(--scaffold); }


/* ---------- Scroll reveal ---------- */

html.has-reveal [data-reveal] {
  opacity: 0;
  translate: 0 64px;
  filter: blur(8px);
  transition: opacity 0.85s var(--ease-out), translate 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}
html.has-reveal [data-reveal].in-view {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

/* ---------- Entrance ---------- */

.rise { animation: rise 0.8s var(--ease-out) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.16s; }
.rise-3 { animation-delay: 0.28s; }
.rise-4 { animation-delay: 0.4s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .final-grid { grid-template-columns: minmax(0, 1fr); }
  .signup-card { max-width: 520px; }

  .pain-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .pain-media { aspect-ratio: 4 / 3; max-width: 560px; }

  .feature-row { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .feature-row.flip .feature-copy, .feature-row.flip .feature-visual { order: 0; }
  .feature-visual .device-frame { width: min(240px, 60%); }

  .stack-panel {
    position: static;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s7);
  }
  .pillar-screen .device-frame img { height: auto; max-height: 460px; }

  .how-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s9); }

  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }

  .proof-bento { grid-template-columns: minmax(0, 1fr); }
  .proof-cell, .proof-hero { grid-column: auto; grid-row: auto; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { font-size: 15px; padding: 11px 18px; min-height: 44px; }
  .mobile-panel {
    display: none;
    border-top: 1px solid color-mix(in srgb, var(--tan) 14%, transparent);
    background: var(--dusk-0);
    padding: var(--s5) var(--s6) var(--s6);
  }
  .site-header.nav-open .mobile-panel { display: block; }
  .mobile-panel ul { display: grid; gap: var(--s2); }
  .mobile-panel a {
    display: block;
    padding: 12px var(--s3);
    font-size: 16px;
    font-weight: 500;
    color: var(--tan);
    text-decoration: none;
    border-radius: var(--r-sm);
  }
  .mobile-panel a:hover { background: color-mix(in srgb, var(--sand) 8%, transparent); color: var(--sand); }
}

@media (max-width: 720px) {
  .screen-rail {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px var(--s6) var(--s5);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .screen-rail::-webkit-scrollbar { display: none; }
  .screen-rail .phone-frame {
    scroll-snap-align: center;
    width: 158px;
    transform: none;
    margin: 0 8px 0 0;
  }
  .cred-line { font-size: 18px; gap: var(--s3) var(--s4); }
  .utility-inner { flex-wrap: wrap; justify-content: center; min-height: 44px; row-gap: 2px; }

  .proof-cell { flex-direction: column; align-items: stretch; gap: var(--s5); }
  .proof-visual { width: 100%; }
  .proof-visual img { height: 200px; }

  .partner-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero-kicker::before, .hero-kicker::after { display: none; }
}

@media (max-width: 560px) {
  .signup-card form { flex-direction: column; align-items: stretch; gap: var(--s5); }
  .signup-card form .btn { width: 100%; justify-content: center; }
  .signup-card form .signup-field { flex: 1 1 auto; width: 100%; }
  .signup-card form .signup-field input { width: 100%; }
  .price-card .btn { align-self: stretch; width: 100%; }
}

@media (max-width: 480px) {
  .container { padding-left: var(--s5); padding-right: var(--s5); }
  .header-cta { display: none; }
  .mobile-panel .btn { width: 100%; margin-top: var(--s4); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .hero-kicker { letter-spacing: 0.14em; font-size: 11px; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.has-reveal [data-reveal] { opacity: 1; translate: 0 0; filter: none; transition: none; }
}

:root {
  --bg-success: #E3F5ED;
  --bg-error: #F6E0D3;
  --error: #D9542A;
  --error-strong: #C8521A;
}

/* ---------- Support page ---------- */

.btn-ghost-dark { background: transparent; color: var(--sand); border: 1px solid color-mix(in srgb, var(--tan) 45%, transparent); }
.btn-ghost-dark:hover { background: color-mix(in srgb, var(--sand) 10%, transparent); color: var(--sand); }

.support-status {
  display: inline-flex;
  align-items: center;
  gap: var(--s5);
  margin-top: var(--s8);
  padding: 16px 24px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--inset-top-dark);
  text-align: left;
}
.support-status .live-dot {
  width: 10px; height: 10px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--gold);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 20%, transparent);
}
.support-status .status-copy { line-height: 1.3; }
.support-status .status-copy strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.support-status .status-copy span { display: block; margin-top: 3px; font-size: 15px; font-weight: 500; color: var(--sand); }
.support-status .status-rule { width: 1px; height: 42px; background: color-mix(in srgb, var(--tan) 28%, transparent); }
.support-status .status-station { display: grid; gap: 3px; line-height: 1.2; }
.support-status .status-station .status-name { font-size: 15px; font-weight: 600; color: var(--sand); }
.support-status .status-station .status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seafoam);
}
.support-status .status-station .status-live::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--seafoam); }

/* Quick help */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s6);
  max-width: 900px;
  margin: 0 auto;
}
.help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s4);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-ambient);
  padding: var(--s8);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.help-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.help-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--primary-deep);
}
.help-card p { font-size: 15px; line-height: 1.6; color: var(--slate); }
.help-callout {
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg-warning);
  border-radius: var(--r-input);
  padding: var(--s4) var(--s5);
}
.help-callout strong { font-weight: 700; }
.help-card .link-arrow { margin-top: auto; }

/* Support form */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: var(--s9);
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}
.support-form {
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-ambient);
  padding: clamp(28px, 3.4vw, 44px);
  max-width: 720px;
  margin: 0 auto;
}
.support-form .form-title { font-size: 20px; font-weight: 700; color: var(--primary-deep); }
.support-form .form-lede { margin-top: var(--s2); font-size: 15px; line-height: 1.55; color: var(--slate); }
.form-fields { margin-top: var(--s7); display: grid; gap: var(--s6); }
.field { display: grid; gap: var(--s3); }
.field label { font-size: 14px; font-weight: 600; color: var(--primary-deep); }
.field .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--scaffold);
  border: 0;
  border-radius: var(--r-input);
  padding: 14px 16px;
  transition: background-color 0.25s var(--ease-io), box-shadow 0.25s var(--ease-io);
}
.field input, .field select { min-height: 52px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--grey-bg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); background: var(--surface); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F6C6C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.field .hint { font-size: 12.5px; line-height: 1.4; color: var(--slate); }
.form-actions { margin-top: var(--s8); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.form-actions .text-link { font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.form-actions .text-link:hover { color: var(--primary-deep); text-decoration: underline; }
.form-status {
  display: none;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s6);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  border-radius: var(--r-input);
  padding: var(--s4) var(--s5);
}
.form-status.is-visible { display: flex; }
.form-status .dot { width: 7px; height: 7px; border-radius: var(--r-pill); flex-shrink: 0; }
.form-status.sending { background: var(--bg-warning); color: var(--ink); }
.form-status.sending .dot { background: var(--gold); }
.form-status.success { background: var(--bg-success); color: var(--primary-deep); }
.form-status.success .dot { background: var(--seafoam); }
.form-status.error { background: var(--bg-error); color: var(--error-strong); }
.form-status.error .dot { background: var(--error); }

/* Before you send (aside) */
.support-aside {
  position: sticky;
  top: 96px;
  border-radius: var(--r-card);
  background: var(--panel-dark);
  box-shadow: var(--inset-top-dark), var(--shadow-ambient);
  padding: var(--s8);
}
.support-aside h3 { font-size: 18px; font-weight: 700; color: var(--sand); }
.support-aside .aside-lede { margin-top: var(--s2); font-size: 14px; line-height: 1.55; color: var(--muted-dark); }
.tips-list { margin-top: var(--s6); display: grid; gap: var(--s5); }
.tips-list li { display: flex; gap: var(--s4); align-items: flex-start; }
.tip-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--dusk-ink);
  background: var(--gold);
}
.tips-list p { font-size: 14px; line-height: 1.55; color: color-mix(in srgb, var(--tan) 92%, transparent); }

/* Closing */
.support-closing {
  position: relative;
  background:
    radial-gradient(52% 60% at 50% -10%, color-mix(in srgb, var(--primary) 26%, transparent), transparent 70%),
    linear-gradient(180deg, var(--ink-dark), #102024);
  color: var(--sand);
  padding: clamp(72px, 8vw, 112px) 0;
  text-align: center;
  overflow: hidden;
}
.support-closing .container { position: relative; z-index: 1; }
.support-closing h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--sand);
  text-wrap: balance;
  max-width: 720px;
  margin: 0 auto;
}
.support-closing .closing-sub { margin: var(--s5) auto 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--muted-dark); }
.closing-actions { margin-top: var(--s8); display: flex; align-items: center; justify-content: center; gap: var(--s4); flex-wrap: wrap; }
.closing-note { margin-top: var(--s7); font-size: 13.5px; color: color-mix(in srgb, var(--tan) 86%, transparent); }
.closing-note strong { color: var(--sand); font-weight: 600; }

/* Hero search + topic pills */
.hero-search {
  position: relative;
  max-width: 520px;
  margin: var(--s8) auto 0;
  display: flex;
  align-items: center;
}
.hero-search svg {
  position: absolute;
  left: 18px;
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--placeholder);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.hero-search input {
  width: 100%;
  min-height: 56px;
  background: rgba(13, 27, 30, 0.6);
  border: 0;
  border-radius: var(--r-input);
  padding: 15px 20px 15px 52px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--sand);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.25s var(--ease-io);
}
.hero-search input::placeholder { color: var(--placeholder); }
.hero-search input:hover { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); }
.hero-search input:focus { outline: none; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--gold); }

.topic-pills {
  margin-top: var(--s7);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3);
}
.topic-pills .proof-chip { margin-right: 0; text-decoration: none; }
.topic-pills .proof-chip:hover { background: color-mix(in srgb, var(--sand) 12%, transparent); color: var(--sand); }
.topic-pills .proof-chip.outline {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--tan) 45%, transparent);
  color: var(--tan);
}
.topic-pills .proof-chip.outline:hover { border-color: var(--gold); color: var(--sand); }

/* Delete notice (form) */
.delete-notice {
  background: var(--bg-warning);
  border-radius: var(--r-input);
  padding: var(--s4) var(--s5);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.delete-notice strong { font-weight: 700; }
.delete-notice a { color: var(--primary-deep); font-weight: 600; }

/* Account and data deletion */
.deletion { padding: clamp(64px, 8vw, 112px) 0; background: color-mix(in srgb, var(--sand) 30%, var(--paper)); }
.deletion-panel {
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--panel-dark) 0%, var(--ink-dark) 100%);
  box-shadow: var(--inset-top-dark), var(--shadow-lift);
  padding: clamp(28px, 4vw, 56px);
  color: var(--sand);
}
.deletion-panel .eyebrow { color: var(--gold); }
.deletion-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--sand);
  text-wrap: balance;
}
.deletion-panel .deletion-lede { margin-top: var(--s4); font-size: 17px; line-height: 1.6; color: var(--muted-dark); max-width: 60ch; }
.deletion-grid {
  margin-top: var(--s8);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s7);
}
.deletion-col h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s4);
}
.deletion-step { display: grid; gap: var(--s2); }
.deletion-step + .deletion-step { margin-top: var(--s5); }
.deletion-step strong { font-size: 15px; font-weight: 700; color: var(--sand); }
.deletion-step p { font-size: 14.5px; line-height: 1.55; color: var(--muted-dark); }
.deletion-col ul { display: grid; gap: var(--s3); }
.deletion-col li {
  position: relative;
  padding-left: var(--s6);
  font-size: 14.5px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--tan) 92%, transparent);
}
.deletion-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px; height: 7px;
  border-radius: var(--r-pill);
  background: var(--gold);
}
.deletion-warning {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  margin-top: var(--s8);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border-radius: var(--r-input);
  padding: var(--s5);
  font-size: 15px;
  line-height: 1.5;
  color: var(--sand);
  box-shadow: var(--inset-top-dark);
}
.deletion-warning strong { font-weight: 700; color: var(--gold); }

@media (max-width: 860px) {
  .deletion-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .support-aside { position: static; }
}
@media (max-width: 720px) {
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .support-status { flex-wrap: wrap; justify-content: flex-start; }
  .support-status .status-rule { display: none; }
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  background: rgba(8, 21, 26, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open {
  display: flex;
  animation: modal-fade 0.25s var(--ease-out) both;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--panel-dark) 0%, var(--ink-dark) 100%);
  box-shadow: var(--inset-top-dark), var(--shadow-lift);
  padding: var(--s9) var(--s8) var(--s8);
  color: var(--sand);
  text-align: center;
  animation: modal-pop 0.3s var(--ease-spring) both;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--sand) 8%, transparent);
  border: 0;
  border-radius: var(--r-pill);
  color: var(--tan);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-io), color 0.25s var(--ease-io);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: color-mix(in srgb, var(--sand) 16%, transparent); color: var(--sand); }
.modal-pill {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dusk-ink);
  background: var(--gold);
  padding: 7px 14px;
  border-radius: var(--r-pill);
}
.modal-title {
  margin-top: var(--s6);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(26px, 5vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--sand);
}
.modal-body { margin-top: var(--s4); font-size: 15px; line-height: 1.55; color: var(--muted-dark); }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Success modal extras */
.modal-emojis { font-size: 34px; letter-spacing: 0.14em; line-height: 1; margin-bottom: var(--s5); }
.modal-actions { margin-top: var(--s7); display: flex; justify-content: center; }
.modal-actions .btn { min-width: 180px; }
.modal-pill.modal-pill-success { background: var(--seafoam); color: var(--dusk-ink); }

/* Deletion CTA */
.deletion-actions { margin-top: var(--s8); }
.deletion-actions .btn { min-width: 220px; }

/* Form validation */
.field.invalid input, .field.invalid select, .field.invalid textarea {
  box-shadow: 0 0 0 2px var(--error);
  background: var(--surface);
}
.field-error { font-size: 12.5px; line-height: 1.4; color: var(--error-strong); }
.field.invalid .hint { color: var(--error-strong); }
.form-fields[hidden], .form-actions[hidden] { display: none; }
