/* Archivo, self-hosted with BOTH axes (weight 100-900, width 62%-125%).
   Without the width axis font-stretch is inert — which is why the
   static pages could never do the stretched display treatment. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: block;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  src: url('/fonts/archivo-vietnamese.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
}
/* Void Studio — shared design system for static pages
   Mirrors the app: Archivo, glass cards, gold accents, #F6F6F8 background. */
:root {
  --void-black: #F6F6F8;
  /* These were neutralised to ink during the light-theme migration, which is
     why every card read as black-and-white. Ember, matching the page bloom. */
  --void-gold: #E23C00;
  --void-gold-bright: #FF6A0A;
  --void-champagne: #0A0A0B;
  --void-pale: #5B5B62;
  --surface: #FFFFFF;
  --border: rgba(10, 10, 11, 0.08);
  --text-muted: rgba(10, 10, 11, 0.80);
  --text-dim: rgba(10, 10, 11, 0.56);
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
button, input, optgroup, select, textarea { font-stretch: inherit; }
/* The public pages (privacy, terms, about, contact, developers, guides) are
   hand-written HTML, so they never picked up the app's atmosphere. They now
   share it: one ember bloom at the top of the document, dissolving to white,
   painted on a fixed layer behind the content. body must stay transparent or
   it covers that layer; html paints the canvas underneath. */
html { background: #FFFFFF; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 34% at 16% -8%, #FF3D00 0%, rgba(255, 61, 0, 0) 66%),
    radial-gradient(46% 28% at 88% -4%, #FF8A1F 0%, rgba(255, 138, 31, 0) 62%),
    radial-gradient(120% 48% at 50% 2%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #E23C00 0vh, #FF5E05 6vh, #FF8A33 12vh,
                    #FFB981 20vh, #FFE3CE 30vh, #FFF7F1 40vh, #FFFFFF 52vh);
}

/* 3% grain — the same layer the app uses to stop the ramp banding. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

body {
  background-color: transparent;
  color: #0A0A0B;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, ui-sans-serif, system-ui, sans-serif;
  /* Was 700 — that was "regular" under Nunito, so everything inherited bold.
     400 restores hierarchy; explicit weights now decide. */
  font-weight: 400;
  /* Archivo's width axis. The app and the landing both run everything at 125%;
     these static pages were left at 100% for body copy while headings were
     125%, so the same family read as two different fonts side by side. */
  font-stretch: 125%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 900px; margin: 0 auto; padding-left: 20px; padding-right: 20px;   /* longhand: leave vertical to the section rule */ }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }

/* ── Hero ── */
.hero { text-align: center; padding: 72px 20px 48px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(90,110,140,0.07), transparent 70%);
  pointer-events: none;
}
.hero .inner { position: relative; max-width: 720px; margin: 0 auto; }

/* ── Type ── */
.tag {
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(10,10,11,0.7); margin-bottom: 16px;
  font-weight: 600; font-stretch: 125%;
}
/* Display type: bold AND stretched. Tight tracking on the big sizes,
   wide tracking on the small ones — that contrast is the whole effect. */
h1 {
  font-size: clamp(30px, 5.5vw, 48px);
  font-weight: 700; font-stretch: 125%;
  letter-spacing: -0.032em; line-height: 1.04;
}
h1 em { font-style: normal; color: var(--void-gold); }
h2 {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700; font-stretch: 125%;
  letter-spacing: -0.024em; line-height: 1.14; margin-bottom: 20px;
}
h3 { font-size: 15px; font-weight: 650; font-stretch: 125%; letter-spacing: -0.012em; margin-bottom: 8px; }
.sub { color: var(--text-muted); font-size: 15px; margin-top: 18px; }
.sub b { color: var(--void-champagne); }
.eyebrow {
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(10,10,11,0.7); margin-bottom: 12px;
  font-weight: 600; font-stretch: 125%;
}
.updated { color: var(--text-dim); font-size: 12px; margin-bottom: 32px; }
/* ── Vertical rhythm ──────────────────────────────────────────────────────
   The global reset zeroes every margin and nothing used to put them back, so
   blocks stacked flush: the CTA button sat hard against the paragraph above
   it and the footer rule crowded the text. Sizes are the app's, not 13.5px. */
p {
  color: #0A0A0B;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 18px;
}
p:last-child { margin-bottom: 0; }
li {
  color: #0A0A0B;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 9px;
}
li:last-child { margin-bottom: 0; }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
ul:last-child, ol:last-child { margin-bottom: 0; }
a { color: var(--void-gold); }

/* Headings own the space above them, so a section never needs a spacer div. */
h1 { margin-bottom: 22px; }
h2 { margin-top: 40px; margin-bottom: 14px; }
h2:first-child { margin-top: 0; }
h3 { margin-top: 26px; margin-bottom: 8px; }
.tag + h1 { margin-top: 0; }

/* A button alone in its paragraph needs the gap the paragraph after text
   would have had. */
p:has(> .btn) { margin: 26px 0 4px; }
.btn { line-height: 1; }

section { padding: 44px 0; }

/* ── Glass cards (matches app .glass) ── */
.card, .glass {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.08);
  box-shadow: 0 1px 2px rgba(10,10,11,0.04), 0 4px 14px rgba(10,10,11,0.05);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.card h2, .card h3 { color: var(--void-champagne); }
.card p { color: rgba(10,10,11,0.82); font-size: 14.5px; }

/* Inside a card the space above a heading comes from the icon's own margin,
   not from the document rhythm — otherwise the two stack into a hole. */
.card h2, .card h3, .step h3, .path h3, .ol-item h3 { margin-top: 0; }
.card > .ic + h3 { margin-top: 0; }
.card.gold { border-color: rgba(226,60,0,0.28); background: #FFFFFF; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
/* Inside a grid the gap already separates cards; a margin-bottom would double it */
.grid3 > .card, .grid3 > .glass, .grid3 > .step, .grid3 > .path { margin-bottom: 0; }
.grid3 .ic { margin-bottom: 14px; }   /* keep inline-flex: display:block killed the glyph centring */
.grid3 .card p { font-size: 14.5px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.16em;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #0A0A0B; color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(10,10,11,0.18), 0 8px 22px rgba(10,10,11,0.12);
}
.btn-primary:hover { background: #24242A; box-shadow: 0 2px 4px rgba(10,10,11,0.2), 0 12px 30px rgba(10,10,11,0.16); }
.btn-ghost { border: 1px solid rgba(10,10,11,0.16); color: rgba(10,10,11,0.78); }
.btn-ghost:hover { border-color: rgba(10,10,11,0.32); color: #0A0A0B; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-box {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(226,60,0,0.09), rgba(255,255,255,0) 70%), #FFFFFF;
  border: 1px solid rgba(226,60,0,0.18); border-radius: 24px; padding: 40px 20px; text-align: center;
}
.cta-final { text-align: center; padding-top: 64px; padding-bottom: 88px; }
.foot-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-dim);
  /* Was padding-only, so the box still butted against the card above it and
     the gap measured 0. Margin is what actually separates blocks. */
  margin-top: 28px;
  padding-top: 0;
}

/* ── Icon squares (lucide-style, matches app) ── */
.ic {
  width: 36px; height: 36px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(226,60,0,0.09);
  border: 1px solid rgba(226,60,0,0.20);
  color: var(--void-gold);
  margin-bottom: 14px;
}
.ic svg { width: 17px; height: 17px; }
.btn svg { width: 13px; height: 13px; }

/* ── Steps / lists ── */
.step { display: flex; gap: 18px; align-items: flex-start; padding: 22px; margin-bottom: 16px; border-radius: var(--radius); background: rgba(10,10,11,0.03); border: 1px solid var(--border); }
.step.gold { border-color: rgba(226,60,0,0.30); background: rgba(226,60,0,0.04); }
.step .n, .ol-item .n { color: var(--void-gold); font-weight: 700; font-stretch: 125%; font-size: 13px; flex-shrink: 0; }
.step p, .ol-item p { color: rgba(10,10,11,0.82); font-size: 14.5px; }
.badge { display: inline-block; margin-left: 8px; vertical-align: middle; font-size: 10.5px; font-weight: 600; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.13em; padding: 3px 9px; border-radius: 999px; color: #F6F6F8; background: linear-gradient(135deg, #3C3C43, #0A0A0B); }
.path { padding: 22px; border-radius: var(--radius); background: rgba(10,10,11,0.03); border: 1px solid var(--border); margin-bottom: 16px; }
.rank { display: inline-block; font-size: 10.5px; font-weight: 600; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.13em; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; border: 1px solid; color: var(--void-champagne); }
.ol-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; margin-bottom: 10px; border-radius: var(--radius); background: rgba(10,10,11,0.03); border: 1px solid var(--border); }
.note { font-size: 12px; color: var(--text-dim); margin-top: 16px; }

/* ── Stats band ── */
.stats-band { text-align: center; background: linear-gradient(160deg, rgba(10,10,11,0.1), rgba(7,7,13,0.4) 55%); border: 1px solid rgba(10,10,11,0.25); border-radius: 24px; padding: 40px 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; margin-top: 24px; }
.stat .v { font-size: 20px; font-weight: 700; font-stretch: 125%; letter-spacing: -0.02em; color: var(--void-champagne); }
.stat .d { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); margin-top: 4px; }

/* ── FAQ ── */
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--void-gold); font-size: 18px; line-height: 1; }
.faq[open] summary .plus { transform: rotate(45deg); }

/* ── More / footer ── */
.more { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px; border-radius: var(--radius); background: rgba(10,10,11,0.03); border: 1px solid var(--border); }
footer {
  text-align: center;
  margin-top: 64px;
  padding: 40px 20px 56px;
  border-top: 1px solid rgba(10,10,11,0.08);
  color: var(--text-dim);
  font-size: 11.5px;
  line-height: 1.9;
}
footer a { color: rgba(10,10,11,0.5); text-decoration: none; }

/* diamond marker — font-independent, so it can never render in a fallback face */
.dia { display: inline-block; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); border-radius: 1px; margin: 0 7px; vertical-align: middle; }

/* ── A CTA link that sits alone at the end of a section (guides index) has no
      sibling to space it from the cards above it. ── */
section.wrap > a.btn:last-child { margin-top: 30px; }
