/* Combo — site styles.
   The palette, geometry and type are lifted from the app itself
   (lib/theme/combo_colors.dart, lib/theme/combo_theme.dart) so the site and
   the product are one visual system rather than two.  The discipline that
   keeps it bright rather than pastel: the page stays near-colourless and a hue
   is either at full strength or not there.  Quiet comes from coverage — a
   thinner ring, a smaller mark — never from mixing a colour into the paper. */

@font-face {
  font-family: 'Figtree';
  src: url('figtree.woff2') format('woff2-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* 1 — paper.  Warm by about one per cent. */
  --paper: #FFF5F1;
  --raised: #FFFFFF;

  /* ink */
  --ink: #17131C;
  --ink-soft: #6C6678;
  --ink-12: rgba(23, 19, 28, .12);
  --ink-08: rgba(23, 19, 28, .08);
  --ink-05: rgba(23, 19, 28, .05);
  --edge-lit: rgba(255, 255, 255, .82);

  /* 4 — the eleven hues, three stops each, exactly as the app holds them */
  --lime-1: #57D400;   --lime-2: #00C24E;   --lime-3: #00D9A0;
  --emerald-1: #00D18C; --emerald-2: #2BD44A; --emerald-3: #00C9C6;
  --aqua-1: #00C4F0;   --aqua-2: #158CFF;   --aqua-3: #22E0C0;
  --azure-1: #1E6BFF;  --azure-2: #00A6F5;  --azure-3: #6A4BFF;
  --indigo-1: #6A4BFF; --indigo-2: #9B47FF; --indigo-3: #2C5BFF;
  --violet-1: #AE45FF; --violet-2: #E241E8; --violet-3: #7B4FFF;
  --magenta-1: #FF2D94; --magenta-2: #FF3D6E; --magenta-3: #F02BD0;
  --rose-1: #FF3355;   --rose-2: #FF5C2E;   --rose-3: #FF1F86;
  --scarlet-1: #FF1F35; --scarlet-2: #FF5C1F; --scarlet-3: #FF1470;
  --coral-1: #FF6A2B;  --coral-2: #FF9E1B;  --coral-3: #FF2D94;
  --amber-1: #FFC400;  --amber-2: #FF9E00;  --amber-3: #FF7A14;

  /* readable — the deepened form, for hairlines and type on paper */
  --aqua-r: #0090B4;
  --azure-r: #1E6BFF;
  --amber-r: #B87A00;
  --magenta-r: #E00075;
  --lime-r: #3E9600;
  --coral-r: #E04A00;
  --violet-r: #8A1FE0;

  /* geometry — ComboGeometry */
  --r-card: 24px;
  --r-panel: 30px;
  --r-pill: 22px;

  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 40px);
  --page: 1140px;

  --shadow-contact: 0 1px 2px rgba(23, 19, 28, .06), 0 2px 6px rgba(23, 19, 28, .04);
  --shadow-lift: 0 2px 4px rgba(23, 19, 28, .05), 0 18px 40px -18px rgba(23, 19, 28, .22);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* The ambient wash.  A coloured light on white is a pastel, so this layer is
   held to a few per cent and the colour comes from the marks instead. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(110% 65% at 100% -4%, rgba(255, 106, 43, .10), transparent 60%),
    radial-gradient(90% 55% at -6% 22%, rgba(255, 45, 148, .06), transparent 58%),
    radial-gradient(85% 50% at 50% 104%, rgba(255, 196, 0, .07), transparent 60%);
}

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

a { color: inherit; }

::selection { background: rgba(30, 107, 255, .18); }

:focus-visible {
  outline: 2.5px solid var(--azure-1);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── type ────────────────────────────────────────────────────────────────
   One typeface, sentence case everywhere.  Large type tightens, small type
   stays open — optical, not uniform. */

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.06; }

.display {
  font-size: clamp(42px, 6.4vw, 76px);
  letter-spacing: -.040em;
  line-height: 1.02;
}
h2, .h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: -.034em;
  line-height: 1.06;
}
h3, .h3 {
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: -.020em;
  line-height: 1.2;
}
p { margin: 0; }

.lede {
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -.014em;
  max-width: 34ch;
}
.body-soft { color: var(--ink-soft); }
.small { font-size: 15px; line-height: 1.5; letter-spacing: -.004em; }

/* An eyebrow: a dot in the section's own hue and a word.  Sentence case —
   Combo does not shout in caps outside a sheet. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.004em;
  color: var(--accent-r, var(--ink-soft));
}
.eyebrow::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent, var(--azure-1));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--azure-1)) 16%, transparent);
}

/* ── shell ───────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip:focus { left: 0; }

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-head[data-stuck='true'] {
  border-bottom-color: var(--ink-08);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.03em;
  text-decoration: none;
  margin-right: auto;
}
.brand svg { display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: var(--ink); background: var(--ink-05); }
.nav a[aria-current='page'] { color: var(--ink); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }
@media (max-width: 560px) { .nav .hide-xs { display: none; } .head-row { gap: 12px; } }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.014em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease-out, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(158deg, var(--azure-2), var(--azure-1) 55%, var(--azure-3));
  box-shadow: 0 2px 3px rgba(23, 19, 28, .10), 0 14px 30px -12px rgba(30, 107, 255, .55);
}
.btn-primary:hover { box-shadow: 0 2px 3px rgba(23, 19, 28, .12), 0 18px 38px -12px rgba(30, 107, 255, .62); }
.btn-quiet {
  height: 52px;
  color: var(--ink);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--ink-08), var(--shadow-contact);
}
.btn-quiet:hover { box-shadow: inset 0 0 0 1px var(--ink-12), var(--shadow-contact); }
.btn-sm { height: 42px; font-size: 15.5px; padding: 0 18px; }

/* ── hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .hero-copy .lede, .hero-copy .display { max-width: 22ch; margin-inline: auto; }
  .hero-copy .lede { max-width: 40ch; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; }
}
.hero-copy .display { margin-top: 18px; max-width: 15ch; }
.hero-copy .display em {
  font-style: normal;
  color: var(--azure-1);
}
.hero-copy .lede { margin-top: 20px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  opacity: .45;
}

/* ── the phone ───────────────────────────────────────────────────────── */

.phone {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 360 / 740;
  border-radius: 54px;
  padding: 11px;
  background:
    linear-gradient(168deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .5)),
    linear-gradient(168deg, #EFE7E4, #E4DBDA);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 0 0 1px rgba(23, 19, 28, .07),
    0 40px 80px -40px rgba(23, 19, 28, .45),
    0 18px 60px -30px rgba(30, 107, 255, .35);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(23, 19, 28, .06);
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
}
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 42% at 100% 0%, rgba(255, 158, 27, .12), transparent 62%),
    radial-gradient(64% 40% at -4% 96%, rgba(255, 45, 148, .08), transparent 60%);
}
.phone-day {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 8px 14px;
  position: relative;
  z-index: 1;
}
.phone-day b { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.phone-day span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* the grid rule: two columns, always */
.dial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.guidance {
  margin-top: auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--ink-08), var(--shadow-contact);
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink-soft);
}

/* ── the dial ────────────────────────────────────────────────────────────
   Three states told apart by composition, not by colour alone.  Completing
   does not add anything to the dial: the dial becomes the stamp. */

.dial {
  --accent: var(--azure-1);
  --accent-2: var(--azure-2);
  --accent-3: var(--azure-3);
  --accent-r: var(--azure-r);
  appearance: none;
  border: 0;
  background: none;
  padding: 12px 6px 10px;
  font: inherit;
  cursor: pointer;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease-out;
}
.dial:active { transform: scale(.95); }

.dial-face {
  position: relative;
  width: var(--dial, 96px);
  height: var(--dial, 96px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: box-shadow .28s cubic-bezier(.2, .8, .3, 1);
}
/* the ring: the hue swept from twelve o'clock through three stops and closed
   back on the first — three stops read as light travelling, two read as a band
   with a seam */
.dial-face::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -90deg,
    var(--accent-2), var(--accent), var(--accent-3), var(--accent-2));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - var(--ring, 5px)), #000 calc(100% - var(--ring, 5px)));
  mask: radial-gradient(closest-side, transparent calc(100% - var(--ring, 5px)), #000 calc(100% - var(--ring, 5px)));
  transition: opacity .3s ease;
}
/* the flooded disc, drawn over the ring when the day closes */
.dial-face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(75% 70% at 30% 22%, rgba(255, 255, 255, .34), transparent 62%),
    linear-gradient(157deg, var(--accent-2), var(--accent) 52%, var(--accent-3));
  opacity: 0;
  transform: scale(.72);
  transition: opacity .22s ease-out, transform .22s cubic-bezier(.2, .9, .3, 1.25);
}
.dial-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.dial-mark {
  width: 26px;
  height: 26px;
  color: var(--accent-r);
  transition: transform .22s cubic-bezier(.2, .9, .3, 1.2), opacity .18s ease, color .2s ease;
}
.dial-count {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  transition: transform .24s cubic-bezier(.2, .9, .3, 1.2), color .2s ease;
}
.dial-label {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.012em;
  color: rgba(23, 19, 28, .58);
  transition: color .2s ease;
}

/* stamped */
.dial[data-done='true'] .dial-face {
  box-shadow:
    0 10px 26px -10px color-mix(in srgb, var(--accent) 75%, transparent),
    0 2px 5px rgba(23, 19, 28, .10);
}
.dial[data-done='true'] .dial-face::before { opacity: 0; }
.dial[data-done='true'] .dial-face::after { opacity: 1; transform: scale(1); }
/* the impression hairline the stamp leaves at the edge */
.dial[data-done='true'] .dial-face .impression { opacity: .22; transform: scale(1); }
.impression {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .3s ease .06s, transform .3s ease .06s;
  z-index: 1;
}
.dial[data-done='true'] .dial-mark { transform: translateY(1px) scale(.74); opacity: .92; color: #fff; }
.dial[data-done='true'] .dial-count { transform: scale(1.12); color: #fff; }
.dial[data-done='true'] .dial-label { color: var(--accent-r); }

/* the ring the stamp throws off */
.ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}
.dial[data-burst='true'] .ripple { animation: ripple .52s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes ripple {
  from { opacity: .55; transform: scale(1); }
  to { opacity: 0; transform: scale(1.42); }
}
.dial[data-burst='true'] .dial-face { animation: bloom .42s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes bloom {
  0% { transform: scale(.95); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .dial *, .dial::before, .dial::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ── sections ────────────────────────────────────────────────────────── */

section { position: relative; }
.band { padding: clamp(64px, 8vw, 116px) 0; }
.band-tint { position: relative; }
.band-tint::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent, var(--azure-1)) 5%, transparent) 45%, transparent);
  pointer-events: none;
}
.section-head { max-width: 38ch; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; }
.section-head.center { max-width: 60ch; margin-inline: auto; text-align: center; }
.section-head.center h2 { max-width: 22ch; margin-inline: auto; }
.section-head.center p { margin-inline: auto; }

/* the three-beat explainer */
.beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
  counter-reset: beat;
}
@media (max-width: 820px) { .beats { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
.beat { position: relative; }
.beat-art {
  display: grid;
  place-items: start;
  margin-bottom: 20px;
}
.beat h3 { margin-bottom: 10px; }
.beat p { color: var(--ink-soft); font-size: 16.5px; }
.beat-n {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-r);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

/* split feature — art on one side, words on the other, alternating */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.split + .split { margin-top: clamp(56px, 7vw, 104px); }
.split.flip .split-art { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.flip .split-art { order: 0; }
}
.split-copy h3 { margin-top: 14px; }
.split-copy p { margin-top: 14px; color: var(--ink-soft); max-width: 46ch; }
.split-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.split-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 16.5px;
  color: var(--ink-soft);
}
.split-list b { color: var(--ink); font-weight: 700; }
.split-list svg { margin-top: 2px; color: var(--accent-r); }

/* a card: near-white, with an accent gradient in the fill, a lit top edge,
   a wide glow in the accent's own hue and a tight contact shadow */
.card {
  position: relative;
  border-radius: var(--r-panel);
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--accent, var(--azure-1)) 2%, var(--raised)),
      color-mix(in srgb, var(--accent, var(--azure-1)) 7%, var(--raised)));
  box-shadow:
    inset 0 1px 0 var(--edge-lit),
    inset 0 0 0 1px color-mix(in srgb, var(--accent-r, var(--azure-r)) 14%, transparent),
    0 24px 50px -30px color-mix(in srgb, var(--accent-r, var(--azure-r)) 45%, transparent),
    var(--shadow-contact);
}

/* quiet feature rows — not everything is a card */
.plain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 46px);
  margin-top: clamp(40px, 5vw, 60px);
}
.plain-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .plain-grid, .plain-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .plain-grid, .plain-grid.four { grid-template-columns: minmax(0, 1fr); }
}

.plain h4 {
  font-size: 18.5px;
  font-weight: 750;
  letter-spacing: -.018em;
  margin-bottom: 8px;
}
.plain p { color: var(--ink-soft); font-size: 16px; }
.plain .mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--accent-r);
  background: color-mix(in srgb, var(--accent) 12%, var(--raised));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-r) 16%, transparent);
}

/* privacy strip */
.pledge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--ink-08);
  margin-top: clamp(36px, 4vw, 52px);
}
.pledge div {
  background: var(--raised);
  padding: 26px 24px 28px;
}
.pledge b {
  display: block;
  font-size: 17.5px;
  font-weight: 750;
  letter-spacing: -.018em;
  margin-bottom: 6px;
}
.pledge p { font-size: 15.5px; color: var(--ink-soft); }

/* languages */
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.langs span {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--ink-08);
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink-soft);
}

/* FAQ */
.faq { margin-top: clamp(32px, 4vw, 44px); max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--ink-08);
}
.faq details:first-of-type { border-top: 1px solid var(--ink-08); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--ink-soft);
  border-bottom: 2.2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 0 24px; color: var(--ink-soft); max-width: 62ch; }

/* CTA */
.cta {
  text-align: center;
  border-radius: 40px;
  padding: clamp(44px, 6vw, 76px) var(--gutter);
  background:
    radial-gradient(90% 120% at 50% -10%, rgba(30, 107, 255, .10), transparent 62%),
    radial-gradient(70% 100% at 90% 110%, rgba(255, 45, 148, .09), transparent 60%),
    var(--raised);
  box-shadow: inset 0 1px 0 var(--edge-lit), inset 0 0 0 1px var(--ink-08), var(--shadow-lift);
}
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { margin: 18px auto 0; max-width: 46ch; color: var(--ink-soft); }
.cta .hero-actions { justify-content: center; }

/* footer */
.site-foot {
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--ink-08);
  padding: 44px 0 56px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-links a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.foot-links a:hover { color: var(--ink); background: var(--ink-05); }
.foot-meta { font-size: 14.5px; color: var(--ink-soft); }
.foot-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 62ch;
  opacity: .9;
}

/* ── document pages ──────────────────────────────────────────────────── */

.doc-head { padding: clamp(48px, 6vw, 84px) 0 clamp(28px, 3vw, 40px); }
.doc-head .display { font-size: clamp(38px, 5vw, 60px); max-width: 16ch; }
.doc-head .lede { max-width: 52ch; margin-top: 20px; }
.doc-updated {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--ink-08);
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink-soft);
}

.doc-short {
  margin-top: 34px;
  border-radius: var(--r-panel);
  padding: clamp(22px, 3vw, 30px) clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 3%, var(--raised)),
    color-mix(in srgb, var(--accent) 8%, var(--raised)));
  box-shadow:
    inset 0 1px 0 var(--edge-lit),
    inset 0 0 0 1px color-mix(in srgb, var(--accent-r) 15%, transparent),
    0 24px 50px -34px color-mix(in srgb, var(--accent-r) 50%, transparent);
}
.doc-short b { display: block; font-size: 15px; color: var(--accent-r); margin-bottom: 8px; }
.doc-short p { font-size: 19px; font-weight: 600; letter-spacing: -.018em; max-width: 54ch; }

.doc-body {
  padding-bottom: clamp(50px, 6vw, 80px);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 920px) { .doc-body { grid-template-columns: minmax(0, 1fr); } .doc-toc { display: none; } }
.doc-toc {
  position: sticky;
  top: 92px;
  font-size: 14.5px;
}
.doc-toc b {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.doc-toc a {
  display: block;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}
.doc-toc a:hover { color: var(--ink); background: var(--ink-05); }
.doc-toc a.on { color: var(--ink); background: var(--ink-05); }

.doc-article { max-width: 660px; }
.doc-article section { padding-top: 12px; scroll-margin-top: 92px; }
.doc-article section + section { margin-top: clamp(34px, 4vw, 46px); }
.doc-article h2 {
  font-size: clamp(22px, 2.2vw, 26px);
  letter-spacing: -.022em;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.doc-article h2 i {
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-r);
  letter-spacing: 0;
  min-width: 22px;
}
.doc-article h3 {
  font-size: 18px;
  margin-top: 24px;
}
.doc-article p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.doc-article p strong { color: var(--ink); font-weight: 700; }
.doc-article ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doc-article li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 17px;
}
.doc-article li::before {
  content: '';
  position: absolute;
  left: 2px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 70%, transparent);
}
.doc-article a:not(.btn) { color: var(--accent-r); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* support page bits */
.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.contact-card .mailto {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--accent-r);
  text-decoration: none;
  word-break: break-word;
}

/* ── support ─────────────────────────────────────────────────────────── */

.contact-card b {
  display: block;
  font-size: 15px;
  color: var(--accent-r);
  margin-bottom: 8px;
}
.contact-card .btn { flex: 0 0 auto; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(30px, 4vw, 56px);
  padding-top: clamp(34px, 4vw, 52px);
}
@media (max-width: 760px) { .support-grid { grid-template-columns: minmax(0, 1fr); } }
.support-group .eyebrow { margin-bottom: 6px; }
.support-group .faq { margin-top: 12px; }
.support-group .faq summary { font-size: 17px; padding: 18px 40px 18px 0; }
.support-group .faq p { font-size: 16px; padding-bottom: 20px; }

.support-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 4vw, 48px);
}
.support-links a {
  display: block;
  padding: 24px 26px 26px;
  border-radius: var(--r-card);
  text-decoration: none;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--ink-08), var(--shadow-contact);
  transition: box-shadow .2s ease, transform .16s ease;
}
.support-links a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink-12), var(--shadow-lift); }
.support-links b {
  display: block;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.support-links span { font-size: 15.5px; color: var(--ink-soft); }
