/* =========================================================================
   Bokk GP — tokens
   ========================================================================= */

:root {
  --bg: #FAF8F3;
  --bg-elevated: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F0E9;
  --border: #E6E1D6;
  --text: #16241D;
  --text-muted: rgba(22, 36, 29, 0.68);

  --mint: #0E7C4A;
  --mint-strong: #0B5E38;
  --on-mint: #FFFFFF;
  --mint-container: #D9F0E3;
  --on-mint-container: #07341C;

  --gold: #F4B400;
  --on-gold: #241C00;

  --danger: #C23B3B;

  --header-bg: rgba(250, 248, 243, 0.78);
  --glow: radial-gradient(60% 50% at 50% 0%, rgba(14, 124, 74, 0.14), transparent 70%);
  --shadow-sm: 0 1px 2px rgba(22, 36, 29, 0.06), 0 1px 1px rgba(22, 36, 29, 0.04);
  --shadow-md: 0 12px 32px rgba(22, 36, 29, 0.10);
  --shadow-lg: 0 24px 64px rgba(22, 36, 29, 0.16);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;

  --container: 1200px;
  --prose: 70ch;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1512;
    --bg-elevated: #141B17;
    --surface: #1C2420;
    --surface-2: #171F1A;
    --border: #3A403C;
    --text: #EDEAE3;
    --text-muted: rgba(237, 234, 227, 0.68);

    --mint: #4FBF86;
    --mint-strong: #6FD39F;
    --on-mint: #0F1512;
    --mint-container: #14532F;
    --on-mint-container: #BEEBD3;

    --gold: #F4B400;
    --on-gold: #241C00;

    --danger: #E06B62;

    --header-bg: rgba(15, 21, 18, 0.72);
    --glow: radial-gradient(60% 50% at 50% 0%, rgba(79, 191, 134, 0.16), transparent 70%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  --bg: #0F1512;
  --bg-elevated: #141B17;
  --surface: #1C2420;
  --surface-2: #171F1A;
  --border: #3A403C;
  --text: #EDEAE3;
  --text-muted: rgba(237, 234, 227, 0.68);

  --mint: #4FBF86;
  --mint-strong: #6FD39F;
  --on-mint: #0F1512;
  --mint-container: #14532F;
  --on-mint-container: #BEEBD3;

  --gold: #F4B400;
  --on-gold: #241C00;

  --danger: #E06B62;

  --header-bg: rgba(15, 21, 18, 0.72);
  --glow: radial-gradient(60% 50% at 50% 0%, rgba(79, 191, 134, 0.16), transparent 70%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* =========================================================================
   Base
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Variable.woff2") format("woff2-variations"),
       url("/assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Italic-Variable.woff2") format("woff2-variations"),
       url("/assets/fonts/Inter-Italic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

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

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 700; }

p { margin: 0; }

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

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

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

.visually-hidden {
  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: 16px; top: -60px;
  background: var(--mint);
  color: var(--on-mint);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 16px; }

/* =========================================================================
   Reveal-on-scroll
   ========================================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Buttons, pills, chips
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--mint); color: var(--on-mint); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--mint-strong); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }

.pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .pill-gold { font-size: 0.7rem; padding: 8px 13px; gap: 6px; }
  .pill-gold svg { width: 12px; height: 12px; flex-shrink: 0; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.chip img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon { height: 30px; width: 30px; display: block; border-radius: 22.4%; }

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.95rem; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.site-nav a:hover { background: var(--surface-2); color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-switch a {
  padding: 6px 11px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--text-muted);
}

.lang-switch a.active { background: var(--mint); color: var(--on-mint); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text);
  flex-shrink: 0;
}

.theme-toggle:hover { background: var(--surface-2); }

.theme-toggle svg { width: 19px; height: 19px; }

.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  place-items: center;
}

.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: 64px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 13px 16px; text-align: left; }
  .menu-toggle { display: grid; }

  /* .site-nav is position:fixed above, so it no longer takes up space in
     this flex row — it's really just .brand vs .header-actions fighting
     over the remaining width. A 4-language .lang-switch (EN/FR/IT/ES, on
     every legal/support page) doesn't fit next to the theme/menu buttons
     at narrow phone widths, which overflowed the viewport. Let the row
     wrap instead, with header-actions pinned right on whichever line it
     lands on — never changes anything above this breakpoint. */
  .site-header .container { flex-wrap: wrap; row-gap: 6px; }
  .header-actions { margin-left: auto; }
}

/* Tighten the lang-switch itself at phone widths narrower than this site's
   smallest supported target (320px) so even a 4-item switch comfortably
   fits on its own row without relying on wrapping alone. */
@media (max-width: 360px) {
  .lang-switch { gap: 1px; padding: 2px; }
  .lang-switch a { padding: 6px 8px; font-size: 0.74rem; }
  .header-actions { gap: 4px; }
}

/* =========================================================================
   Sections / hero
   ========================================================================= */

main { display: block; }

.section {
  padding: 96px 0;
}

.section-tight { padding: 64px 0; }

.section-alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  padding: 64px 0 40px;
  background-image: var(--glow);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 40px;
}

/* Grid items default to min-width:auto, which lets a long heading or the
   phone group size to their unwrapped/unshrunk content width and push
   past the viewport — invisible as a scrollbar since .hero clips it, but
   it cuts the heading's text and shoves the phones off-edge. Every grid
   child needs an explicit min-width:0 to actually respect the track. */
.hero-copy, .hero-visual { min-width: 0; }

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    justify-items: start;
    text-align: left;
    gap: 48px;
    align-items: center;
  }
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  line-height: 1.06;
  margin-bottom: 20px;
}

@media (min-width: 900px) {
  .hero-copy h1 { font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4rem); }
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero-copy .lede {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 34ch;
  margin: 0 auto 24px;
}

@media (min-width: 900px) {
  .hero-copy .lede { max-width: 46ch; margin-left: 0; margin-right: 0; }
}

.hero-copy .pill-gold { margin-bottom: 28px; }

.store-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.store-badges a { display: block; }

.store-badges img {
  height: 52px;
  width: auto;
}

.store-badges a.is-disabled {
  opacity: 0.55;
  cursor: default;
}

.store-badges a:not(.is-disabled) { cursor: pointer; }

.store-badges .badge-soon {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

@media (max-width: 540px) {
  .store-badges { flex-wrap: nowrap; justify-content: center; gap: 10px; }
  .store-badges img { height: 44px; }
}

/* Plain-text "Android coming soon" note — never a Google Play badge until
   that listing is actually live (see script.js's APP_STORE_LIVE/PLAY_STORE_LIVE
   comment). Sized to match the App Store badge's height so the pair reads
   as one balanced row instead of a mismatched link + afterthought label. */
.store-pill {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .store-pill { height: 44px; padding: 0 14px; font-size: 0.72rem; }
}

/* Smaller footer-only variant — same component, every page's shared footer
   (see site-footer across legal/support/delete-account pages too). */
.footer-store {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px 0 22px;
}

.footer-store img { display: block; height: 36px; width: auto; }

.footer-store .store-pill { height: 36px; padding: 0 14px; font-size: 0.72rem; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================================
   Phone mockup
   ========================================================================= */

/*
 * The frame's height is never set directly — it comes entirely from the
 * screenshot (img width:100%; height:auto). --w is the one sizing knob;
 * every other dimension (radius, bezel, Dynamic Island) is a calc()/%
 * derived from it or from the screen's own box, so the frame is always
 * exactly as tall as its content at any width. No height, min-height,
 * aspect-ratio or container-query unit anywhere in this component —
 * those are exactly what previously made mobile diverge from desktop.
 */
.phone {
  --w: 260px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(145deg, #9a9ea1, #4b4f52 30%, #85898c 55%, #3a3d40 80%, #8d9093);
  box-shadow:
    inset 0 0 0 calc(var(--w) * 0.012) #0b0c0c,
    0 30px 60px -20px rgba(0, 0, 0, .6);
  margin: 0;
  flex: none;
}

.phone__screen {
  position: relative;
  border-radius: calc(var(--w) * 0.135);
  overflow: hidden;
  background: #000;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}

.phone__screen::after {
  content: "";
  position: absolute;
  top: 1.15%;
  left: 50%;
  width: 28.6%;
  height: 3.9%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
}

/* Fanned group (hero, senders, GPs): 2D rotate + translate only, no
   rotateY/perspective/preserve-3d. Mobile changes --w and the
   translate/rotate amounts only — the frame itself is untouched. */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.phones .phone { --w: min(38vw, 230px); }

.phones .phone:nth-child(1) {
  transform: rotate(-4deg) translateX(10px);
  z-index: 1;
}

.phones .phone:nth-child(2) {
  margin-left: calc(var(--w) * -0.52);
  transform: rotate(4deg) translate(-6px, 20px);
}

.phones .phone:nth-child(3) {
  margin-left: calc(var(--w) * -0.52);
  transform: rotate(6deg) translate(-12px, 30px);
}

@media (min-width: 560px) {
  .phones .phone:nth-child(2) { transform: rotate(4deg) translate(-10px, 28px); }
  .phones .phone:nth-child(3) { transform: rotate(6deg) translate(-20px, 42px); }
}

@media (min-width: 900px) {
  .phones .phone { --w: 260px; }
  .phones .phone:nth-child(2) { margin-left: calc(var(--w) * -0.38); }
  .phones .phone:nth-child(3) { margin-left: calc(var(--w) * -0.38); }
}

/* Hero only, below the single-column breakpoint: a bigger front phone with
   smaller ones fanned behind, always within the viewport (.hero itself
   clips with overflow:hidden so this group can never cause page scroll).
   Rotation is gentle here on purpose — these are tall, narrow elements,
   so even a few degrees of rotate() noticeably widens the axis-aligned
   bounding box (extra width ≈ height × sin(angle)); keeping the angle
   small keeps the fan inside the viewport instead of just relying on the
   clip. */
@media (max-width: 899px) {
  .hero-visual .phones .phone { --w: min(44vw, 190px); }
  .hero-visual .phones .phone:nth-child(1) { --w: min(56vw, 230px); }
  .hero-visual .phones .phone:nth-child(1) { transform: rotate(-2.5deg) translateX(6px); }
  .hero-visual .phones .phone:nth-child(2) { transform: rotate(2.5deg) translate(-4px, 14px); }
  .hero-visual .phones .phone:nth-child(3) { transform: rotate(3.5deg) translate(-8px, 20px); }
}

/* =========================================================================
   Worldwide strip
   ========================================================================= */

.world {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.world-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.world-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 10px; }
.world-head p { color: var(--text-muted); font-size: 1.05rem; }

.world-map {
  max-width: 760px;
  margin: 0 auto 28px;
  display: block;
}

.world-map .dot-origin { fill: var(--gold); }
.world-map .dot-dest { fill: var(--mint); }
.world-map .arc { fill: none; stroke: var(--mint); stroke-width: 1.4; opacity: 0.45; }

.route-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* =========================================================================
   Steps (senders / GPs)
   ========================================================================= */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split-copy, .split-media { min-width: 0; }

.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { order: 1; }

.split-media {
  position: relative;
}

.steps { counter-reset: step; margin-bottom: 28px; }

.step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.step:first-child { border-top: none; padding-top: 0; }

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint-container);
  color: var(--on-mint-container);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.step-copy h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step-copy p { color: var(--text-muted); font-size: 0.97rem; }

.feature-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-container);
  color: var(--on-mint-container);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
}

@media (max-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split-reverse .split-media { order: 1; }
  .split-reverse .split-copy { order: 2; }
}

/* =========================================================================
   Features grid
   ========================================================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint-container);
  color: var(--on-mint-container);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 1rem; margin-bottom: 6px; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Safety
   ========================================================================= */

.safety {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.safety .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.safety-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.safety-icon svg { width: 28px; height: 28px; color: var(--mint); }

.safety-copy h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 12px; }
.safety-copy p { color: var(--text-muted); font-size: 1.05rem; max-width: 48ch; }

.safety-media { display: flex; justify-content: center; }
.safety-media .phone { --w: min(55vw, 230px); }

@media (max-width: 920px) {
  .safety .container { grid-template-columns: 1fr; text-align: center; }
  .safety-icon { margin-left: auto; margin-right: auto; }
  .safety-copy p { margin-left: auto; margin-right: auto; }
  .safety-media { order: -1; }
}

/* =========================================================================
   FAQ
   ========================================================================= */

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }

details.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 28px 18px 0;
  list-style: none;
  position: relative;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--mint);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
}

details.faq[open] summary::after { content: "\2212"; }

details.faq p { padding: 0 0 20px; color: var(--text-muted); }
details.faq p a { color: var(--mint); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   Final CTA
   ========================================================================= */

.final-cta {
  text-align: center;
  background-image: var(--glow);
}

.final-cta .brand-mark {
  width: 72px; height: 72px;
  border-radius: 22.4%;
  margin: 0 auto 18px;
  display: block;
}

.final-cta h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); margin-bottom: 10px; }
.final-cta .tagline { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; }
.final-cta .store-badges { justify-content: center; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.footer-brand .brand-icon { height: 24px; width: 24px; border-radius: 22.4%; display: block; }
.footer-brand .brand-name { font-size: 0.95rem; font-weight: 700; color: var(--text); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; }

.footer-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav a:hover { background: var(--surface-2); color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-bottom { align-items: flex-start; }
}

/* =========================================================================
   Legal / content pages
   ========================================================================= */

.page-hero {
  padding: 56px 0 20px;
  background-image: var(--glow);
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); margin-bottom: 10px; }
.page-hero .lede { color: var(--text-muted); font-size: 1.08rem; max-width: 60ch; margin: 0 auto; }

.updated-note {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  margin-top: 16px;
}

.prose-wrap { padding: 16px 0 96px; }

.prose {
  max-width: var(--prose);
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
  color: var(--text);
  scroll-margin-top: 90px;
}

.prose h2:first-of-type { margin-top: 0; }

.prose p { color: var(--text-muted); margin-bottom: 14px; font-size: 1rem; }
.prose p strong { color: var(--text); }

.prose ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.prose ul li { color: var(--text-muted); margin-bottom: 8px; }

.prose a { color: var(--mint); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Retention table, rendered as stacked label/value pairs rather than a wide
   table so it stays readable on narrow phones. */
.prose dl.retention-list { margin: 0 0 14px; }
.prose dl.retention-list dt { color: var(--text); font-weight: 700; margin-top: 12px; }
.prose dl.retention-list dd { color: var(--text-muted); margin: 2px 0 0; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 0 auto 48px;
  max-width: var(--prose);
}

.toc p.toc-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 6px; counter-reset: toc; }
.toc a { color: var(--text); text-decoration: none; font-size: 0.93rem; }
.toc a:hover { color: var(--mint); }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 10px 0 28px;
  max-width: var(--prose);
}

.contact-card a { font-weight: 700; font-size: 1.05rem; color: var(--mint); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-card .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--mint-container);
  color: var(--on-mint-container);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-card .icon svg { width: 20px; height: 20px; }

/* =========================================================================
   404
   ========================================================================= */

.error-page {
  text-align: center;
  padding: 110px 20px 120px;
  background-image: var(--glow);
}

.error-page .error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 8px;
}

.error-page h1 { font-size: 1.7rem; margin-bottom: 12px; }
.error-page p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }
.error-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Responsive helpers
   ========================================================================= */

@media (max-width: 760px) {
  .container { padding: 0 20px; }
}
