/* windpost.app — one stylesheet for every page (the home page, android, testers, the invitation pages, 404).
   No framework, no external requests: the fonts are ours (fonts/, SIL Open Font License), and the colours are
   the app's own (brand/README.md). Light and dark follow the reader's system. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/fraunces-latin.woff2) format("woff2");
  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; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/fraunces-latin-ext.woff2) format("woff2");
  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; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/fonts/fraunces-italic-latin.woff2) format("woff2");
  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; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(/fonts/fraunces-italic-latin-ext.woff2) format("woff2");
  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; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/atkinson-latin.woff2) format("woff2");
  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; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/atkinson-latin-ext.woff2) format("woff2");
  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; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/fonts/atkinson-italic-latin.woff2) format("woff2");
  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; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/fonts/atkinson-italic-latin-ext.woff2) format("woff2");
  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; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --paper: #F7F5F0;      /* warm writing paper */
  --paper-2: #EFEBE2;
  --card: #FFFFFF;
  --ink: #13212B;
  --ink-2: #44535E;
  --ink-3: #5A6772;
  --line: #DFD9CC;
  --line-2: #E9E4D9;
  --brand: #0E5E84;      /* the icon's ground */
  --brand-ink: #0E5E84;  /* links and the word, on paper */
  --on-brand: #FFFFFF;
  --sky: #8FD3F4;        /* the underline */
  --sky-soft: #E2F2FA;
  --wind: #8FD3F4;
  --amber-bg: #F8F0E1;
  --amber-card: #FFFCF6;
  --amber-line: #E8D6B6;
  --amber-ink: #7A4E12;
  --sos: #B3261E;
  --shadow: 0 1px 2px rgba(19, 33, 43, .06), 0 10px 30px -12px rgba(19, 33, 43, .18);
  --phone: #121C24;
  --screen-top: #FBFCFD;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B1720;
    --paper-2: #0F1E29;
    --card: #132633;
    --ink: #ECF1F4;
    --ink-2: #B4C2CB;
    --ink-3: #9AA9B3;
    --line: #23394A;
    --line-2: #1B2F3D;
    --brand: #0E5E84;
    --brand-ink: #8FD3F4;
    --on-brand: #FFFFFF;
    --sky-soft: #12303F;
    --wind: #8FD3F4;
    --amber-bg: #1A1A16;
    --amber-card: #221F18;
    --amber-line: #4A3C24;
    --amber-ink: #F0C687;
    --sos: #FF8A80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .6);
    --phone: #05090C;
    --screen-top: #10161B;
  }
}
:lang(zh-Hans) { --display: "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", serif;
  --text: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(zh-Hant) { --display: "PingFang TC", "Noto Serif TC", "Source Han Serif TC", "Microsoft JhengHei", serif;
  --text: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.62 var(--text); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2, .display { font-family: var(--display); font-weight: 600; letter-spacing: -.018em; font-optical-sizing: auto; }
:lang(zh-Hans) :is(h1, h2, .display), :lang(zh-Hant) :is(h1, h2, .display) { letter-spacing: 0; font-weight: 700; }
h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
strong { font-weight: 700; }
code { font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: .86em; overflow-wrap: anywhere; }
main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom: 1px solid transparent; }
@supports (backdrop-filter: blur(10px)) { .site-head { backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); } }
.site-head { border-bottom-color: var(--line-2); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-ink); text-decoration: none; font: 700 1.375rem/1 "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; }
.brand-icon { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 1rem; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.lang-menu { position: relative; margin-left: 4px; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; color: var(--ink-2); background: var(--card); min-height: 44px; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary .icon { width: 18px; height: 18px; }
.lang-menu[open] > summary { color: var(--ink); border-color: var(--ink-3); }
.langs { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 190px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.langs a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-size: 1rem; }
.langs a:hover { background: var(--paper-2); }
.langs a[aria-current] { font-weight: 700; color: var(--brand-ink); }
.langs a[aria-current]::after { content: " ✓"; }
@media (max-width: 900px) { .site-nav { display: none; } .lang-menu { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; font: 600 1.0625rem/1.2 var(--text); text-decoration: none; border: 1.5px solid transparent; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: #0B4E6E; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-3); }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 9px 22px 9px 20px; border-radius: 16px; background: var(--ink); color: var(--paper); line-height: 1.2; }
.store small { font-size: .78rem; opacity: .85; letter-spacing: .02em; }
.store b { font-size: 1.12rem; font-weight: 700; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero-wind { position: absolute; inset: auto 0 0 0; width: 100%; height: 75%; pointer-events: none; color: var(--wind); }
.hero-wind path { fill: none; stroke: currentColor; stroke-linecap: round; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BA776; box-shadow: 0 0 0 3px color-mix(in srgb, #3BA776 25%, transparent); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; margin: 22px 0 22px; max-width: 13ch; }
:lang(zh-Hans) .hero h1, :lang(zh-Hant) .hero h1 { max-width: 12em; line-height: 1.15; }
.flourish { position: relative; white-space: nowrap; font-style: italic; color: var(--brand-ink); }
:lang(zh-Hans) .flourish, :lang(zh-Hant) .flourish { font-style: normal; }
.flourish::after { content: ""; position: absolute; left: 4%; right: 6%; bottom: -.12em; height: .2em; background: url(/img/underline.svg) center / 100% 100% no-repeat; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.32rem); color: var(--ink-2); max-width: 34em; }
.tester-line { font-size: 1rem; color: var(--ink-3); }
.hero-phones { position: relative; height: 640px; }
.hero-phones .phone { position: absolute; }
.hero-phones .phone-front { width: 300px; left: 8%; top: 10px; z-index: 2; }
.hero-phones .phone-back { width: 262px; left: 52%; top: 70px; transform: rotate(5deg); z-index: 1; opacity: .98; }
.hero-phones .note { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); font-size: .95rem; font-weight: 600; border: 1px solid var(--line-2); }
.hero-phones .note .icon { width: 20px; height: 20px; color: var(--brand-ink); }
.note-1 { left: -2%; top: 300px; }
.note-2 { right: 0; top: 520px; }

/* ---------- Phone frame (real screens from app/test/site_pictures_test.dart) ---------- */
.phone { background: var(--phone); border-radius: 46px; padding: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 40px 70px -30px rgba(10, 32, 48, .55), 0 18px 30px -18px rgba(10, 32, 48, .4); }
.phone .screen { position: relative; border-radius: 37px; overflow: hidden; background: var(--screen-top); }
.phone .screen::before { content: ""; position: absolute; top: 5px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--phone); }
.phone img { width: 100%; aspect-ratio: 390 / 870; object-fit: cover; object-position: top; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.alt { background: var(--paper-2); }
.eyebrow { display: inline-block; font: 700 .82rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 14px; }
:lang(zh-Hans) .eyebrow, :lang(zh-Hant) .eyebrow { letter-spacing: .06em; }
.section-head { max-width: 780px; margin: 0 0 52px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; margin: 0 0 18px; }
.section-head p { color: var(--ink-2); font-size: 1.2rem; margin: 0; }
.section-head .eyebrow { color: var(--brand-ink); font-size: .82rem; margin: 0 0 14px; }
.limits-sec .section-head .eyebrow { color: var(--amber-ink); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* The four plain facts under the hero. */
.facts { padding: 0 0 80px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px 22px 22px; box-shadow: var(--shadow); }
.fact .badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sky-soft); color: var(--brand-ink); margin-bottom: 16px; }
.fact h3 { font-family: var(--text); font-weight: 700; font-size: 1.12rem; letter-spacing: 0; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }

/* A letter: the airmail edge is the one ornament the post allows itself. */
.letter { position: relative; background: var(--card); border-radius: 18px; padding: 52px clamp(24px, 6vw, 72px) 44px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.letter::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(-45deg, var(--brand) 0 14px, transparent 14px 22px, var(--sky) 22px 36px, transparent 36px 44px); }
.letter .stamp { position: absolute; top: 26px; right: 26px; width: 56px; height: 64px; padding: 6px; border-radius: 4px; background: var(--paper); outline: 2px dashed var(--line); outline-offset: -1px; }
.letter .stamp svg { width: 100%; height: 100%; border-radius: 6px; }
.letter .big { font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 22px; max-width: 30ch; }
:lang(zh-Hans) .letter .big, :lang(zh-Hant) .letter .big { max-width: none; letter-spacing: 0; }
.letter p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- Chapters (Made for families) ---------- */
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: 56px 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter:nth-of-type(even) .chapter-media { order: -1; }
.chapter h3 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; margin: 0 0 16px; }
.chapter .intro { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 26px; }
.details { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.details li { padding-left: 18px; border-left: 3px solid var(--sky); }
.details h4 { font: 700 1.05rem/1.35 var(--text); margin: 0 0 4px; }
.details p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.58; }
.chapter-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; border-radius: 32px; background: radial-gradient(120% 90% at 50% 100%, var(--sky-soft), transparent 70%); }
.chapter-media .phone { width: 290px; }
.chapter-media.two .phone:first-child { transform: translateX(-18%) rotate(-3deg); z-index: 1; }
.chapter-media.two .phone:last-child { position: absolute; width: 250px; transform: translateX(42%) translateY(36px) rotate(4deg); }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.callout .icon { color: var(--sos); margin-top: 2px; }
.callout p { margin: 0; font-size: 1rem; }
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.tool { padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); }
.tool h4 { font: 700 1rem/1.3 var(--text); margin: 0 0 4px; display: flex; gap: 8px; align-items: center; }
.tool h4 .icon { width: 20px; height: 20px; color: var(--brand-ink); }
.tool p { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Joining ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: block; font: 600 3rem/1 var(--display); color: var(--brand-ink); margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.join-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.join-grid .steps { grid-template-columns: 1fr; }
.join-grid .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: 24px 26px; }
.join-grid .step::before { grid-row: span 2; margin: 0; font-size: 2.6rem; }
.join-media { display: flex; justify-content: center; padding: 24px 0; border-radius: 32px; background: radial-gradient(120% 90% at 50% 100%, var(--sky-soft), transparent 70%); }
.join-media .phone { width: 280px; }
.aside { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); border: 1.5px dashed var(--line); }
.aside .icon { color: var(--brand-ink); width: 28px; height: 28px; }
.aside h3 { font-family: var(--text); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin: 0 0 4px; }
.aside p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Private by design ---------- */
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h3 { font-size: 1.5rem; margin: 0 0 18px; }
.cannot { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cannot li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.cannot .icon { color: var(--brand-ink); margin-top: 2px; }
.keeps { width: 100%; border-collapse: collapse; font-size: 1rem; }
.keeps caption { text-align: left; }
.keeps th, .keeps td { text-align: left; vertical-align: top; padding: 13px 0; border-top: 1px solid var(--line); }
.keeps th { font-weight: 700; padding-right: 18px; width: 46%; }
.keeps td { color: var(--ink-2); }
.keeps tr:first-child th, .keeps tr:first-child td { border-top: 0; }
.relay-text { margin-top: 20px; }
.relay-text p { color: var(--ink-2); font-size: 1.02rem; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.mini { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-2); }
.mini h3 { font: 700 1.04rem/1.35 var(--text); letter-spacing: 0; margin: 0 0 6px; }
.mini p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }

/* ---------- Everything it can do ---------- */
.everything { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.everything > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 22px 26px; font: 600 clamp(1.25rem, 2.2vw, 1.55rem)/1.25 var(--display); }
.everything > summary::-webkit-details-marker { display: none; }
.everything > summary .count { font: 700 .9rem/1 var(--text); color: var(--on-brand); background: var(--brand); padding: 6px 10px; border-radius: 999px; }
.everything > summary .chev { margin-left: auto; transition: transform .2s; }
.everything[open] > summary .chev { transform: rotate(180deg); }
.everything .note-line { padding: 0 26px; color: var(--ink-2); font-size: 1rem; }
.can-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0 12px 16px; }
.can { padding: 18px 14px; border-top: 1px solid var(--line-2); }
.can h3 { font: 700 1.02rem/1.35 var(--text); letter-spacing: 0; margin: 0 0 6px; }
.can p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Honest limits ---------- */
.limits-sec { background: var(--amber-bg); }
.limits-sec .eyebrow { color: var(--amber-ink); }
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: lim; }
.limit { position: relative; background: var(--amber-card); border: 1px solid var(--amber-line); border-radius: 18px; padding: 24px 24px 22px 70px; }
.limit::before { counter-increment: lim; content: counter(lim, decimal-leading-zero); position: absolute; left: 22px; top: 22px; font: 600 1.3rem/1 var(--display); color: var(--amber-ink); }
.limit h3 { font: 700 1.08rem/1.35 var(--text); letter-spacing: 0; margin: 0 0 8px; }
.limit p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.absent { margin-top: 28px; padding: 22px 26px; border-radius: 18px; border: 1.5px dashed var(--amber-line); color: var(--ink); font-size: 1.05rem; }
.coming { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; padding: 22px 26px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); }
.coming .icon { color: var(--brand-ink); width: 28px; height: 28px; }
.coming h3 { font: 700 1.08rem/1.3 var(--text); letter-spacing: 0; margin: 0 0 6px; }
.coming p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---------- Questions ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 0; font: 700 1.12rem/1.4 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--brand-ink); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Closing band ---------- */
.band { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding: 88px 0; }
.band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; margin: 0 0 16px; max-width: 18ch; }
.band p { color: #DCEFF8; max-width: 46ch; font-size: 1.15rem; }
.band .btn-light { background: #fff; color: #0B3F58; }
.band .btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.band .btn-line:hover { border-color: #fff; }
.band a:focus-visible { outline-color: #fff; }
.band-w { position: absolute; right: -40px; bottom: -60px; width: 460px; color: rgba(143, 211, 244, .22); pointer-events: none; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--paper-2); padding: 64px 0 40px; font-size: 1rem; border-top: 1px solid var(--line-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.foot-brand p { color: var(--ink-2); margin: 14px 0 0; max-width: 30ch; }
.foot-h { font: 700 .82rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .mail { color: var(--ink-2); font-size: .95rem; }
.site-foot .mail a { color: var(--brand-ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .93rem; }
.foot-base p { margin: 0; }

/* ---------- Plain pages (android, testers, 404) ---------- */
.page-hero { padding: 64px 0 28px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 16px; }
.page-hero p { font-size: 1.2rem; color: var(--ink-2); max-width: 40em; }
.plain section { padding: 36px 0; }
.plain h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 16px; }
.plain h3 { font-size: 1.25rem; margin: 26px 0 6px; }
.plain ol, .plain ul { padding-left: 1.3em; }
.plain li { margin-bottom: 10px; }
.plain .box { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.plain .small { font-size: .98rem; color: var(--ink-2); }
.plain .warm { background: var(--amber-card); border-color: var(--amber-line); }
.get-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 16px; }

/* ---------- Features (/features): one table per group, name and one line; a stack of two lines on phones ---------- */
.mid { max-width: 1000px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.jump a:hover { color: var(--ink); border-color: var(--ink-3); }
.features section { padding: 28px 0; }
.fgroup { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.fgroup.with-shot { grid-template-columns: minmax(0, 1fr) 250px; }
.fgroup h2 { display: flex; align-items: center; gap: 12px; }
.fgroup h2 .icon { width: 28px; height: 28px; color: var(--brand-ink); }
.fshot { position: sticky; top: 92px; padding-top: 62px; }
.fshot .phone { width: 250px; }
.fbox { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 26px; }
.ftable { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.55; }
.ftable th, .ftable td { text-align: left; vertical-align: top; padding: 14px 0; border-top: 1px solid var(--line-2); }
.ftable tr:first-child th, .ftable tr:first-child td { border-top: 0; }
.ftable th { width: 34%; padding-right: 22px; font-weight: 700; color: var(--ink); }
.ftable td { color: var(--ink-2); }
@media (max-width: 960px) {
  .fgroup.with-shot { grid-template-columns: minmax(0, 1fr); }
  .fshot { position: static; padding-top: 0; display: flex; justify-content: center; }
  .fshot .phone { width: 240px; }
}
@media (max-width: 640px) {
  .fbox { padding: 2px 18px; }
  .ftable th, .ftable td { display: block; width: auto; padding: 0; border: 0; }
  .ftable tr { display: block; padding: 13px 0; border-top: 1px solid var(--line-2); }
  .ftable tr:first-child { border-top: 0; }
  .ftable th { margin-bottom: 2px; }
  .fshot .phone { width: 220px; }
}

/* ---------- Invitation pages (/j, /join) ---------- */
.invite-body { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(90% 60% at 50% 0%, var(--sky-soft), transparent 70%), var(--paper); }
.invite { position: relative; width: 100%; max-width: 34rem; background: var(--card); border-radius: 22px; padding: 46px clamp(22px, 6vw, 44px) 32px; box-shadow: var(--shadow); }
.invite::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 9px; border-radius: 22px 22px 0 0;
  background: repeating-linear-gradient(-45deg, var(--brand) 0 14px, transparent 14px 22px, var(--sky) 22px 36px, transparent 36px 44px); }
.invite .brand-icon { width: 60px; height: 60px; border-radius: 15px; margin: 0 0 22px; }
.invite h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1.12; margin: 0 0 14px; }
.invite p { color: var(--ink-2); }
.invite .muted { font-size: .97rem; color: var(--ink-3); }
.invite code#code { display: block; font-size: clamp(1.3rem, 6vw, 1.7rem); letter-spacing: .14em; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-align: center; margin: 20px 0; user-select: all; color: var(--ink); }
.invite a.button { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 24px; background: var(--brand); color: #fff; text-decoration: none; border-radius: 999px; font-weight: 600; }
.invite a.button:hover { background: #0B4E6E; }
.langs[hidden] { display: none !important; }
.invite .langs { position: static; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; padding: 18px 0 0; margin-top: 26px; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.invite .langs button { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: inherit; font-size: .93rem; padding: 6px 12px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.invite .langs button:hover { color: var(--ink); border-color: var(--ink-3); }
.invite .langs button[aria-pressed="true"] { color: var(--on-brand); background: var(--brand); border-color: var(--brand); font-weight: 600; }
.invite-foot { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--ink-3); }
.invite-foot a { color: var(--ink-3); }

/* ---------- Motion: the wind writes itself in, once, and only if the reader wants motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-wind path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: write 2.6s .2s cubic-bezier(.4, 0, .2, 1) forwards; }
  .hero-wind path + path { animation-delay: .6s; }
  @keyframes write { to { stroke-dashoffset: 0; } }
  .hero-phones .phone-front { animation: rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-phones .phone-back { animation: rise-tilt 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes rise-tilt { from { opacity: 0; transform: translateY(30px) rotate(8deg); } }
  @supports (animation-timeline: view()) {
    .chapter-media .phone, .step, .limit, .fact { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes drift { from { translate: 0 26px; } }
  }
}

/* ---------- Narrower screens ---------- */
@media (min-width: 961px) {
  .chapter { align-items: start; }
  .chapter-media { position: sticky; top: 92px; }
}
@media (max-width: 1080px) {
  .facts-grid, .cards4 { grid-template-columns: repeat(2, 1fr); }
  .can-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-phones { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-phones .phone-front { width: 260px; left: 6%; }
  .hero-phones .phone-back { width: 226px; left: 50%; top: 56px; }
  .note-1 { left: 0; top: 380px; }
  .note-2 { right: 0; top: 470px; }
  .chapter, .privacy-grid, .faq-grid { grid-template-columns: 1fr; }
  .chapter:nth-of-type(even) .chapter-media { order: 0; }
  .chapter-media { min-height: 0; padding: 36px 0; }
  .faq-grid { gap: 24px; }
  .faq-grid .section-head { position: static; }
  .steps { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .wrap { padding: 0 16px; }
  .head-row { min-height: 60px; gap: 10px; }
  .brand { font-size: 1.2rem; }
  .brand-icon { width: 32px; height: 32px; }
  .lang-menu > summary span:not(.vh) { display: none; }
  .facts-grid, .cards4, .can-grid, .tools { grid-template-columns: 1fr; }
  .fact { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px; }
  .fact .badge { grid-row: span 2; margin: 0; }
  .fact h3 { align-self: end; }
  .hero-phones { height: 470px; }
  .hero-phones .phone-front { width: 214px; left: 0; }
  .hero-phones .phone-back { width: 186px; left: auto; right: 0; top: 46px; }
  .phone { border-radius: 36px; padding: 7px; }
  .phone .screen { border-radius: 30px; }
  .phone .screen::before { top: 3px; width: 8px; height: 8px; margin-left: -4px; }
  .hero-phones .note { font-size: .86rem; padding: 8px 11px; }
  .note-1 { top: 330px; }
  .note-2 { top: 410px; }
  .chapter-media .phone, .join-media .phone { width: 240px; }
  .chapter-media.two .phone:first-child { transform: translateX(-16%) rotate(-3deg); }
  .chapter-media.two .phone:last-child { width: 196px; transform: translateX(38%) translateY(30px) rotate(4deg); }
  .letter { padding-top: 64px; }
  .letter .stamp { width: 44px; height: 50px; top: 20px; right: 18px; }
  .limit { padding: 58px 20px 20px; }
  .limit::before { top: 20px; left: 20px; }
  .everything > summary { padding: 18px; }
  .everything .note-line { padding: 0 18px; }
  .panel { padding: 22px; }
  .keeps th, .keeps td { display: block; width: auto; padding: 0; border: 0; }
  .keeps tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .keeps tr:first-child { border-top: 0; }
  .keeps th { margin-bottom: 2px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stores .store { flex: 1 1 140px; }
  section { padding: 60px 0; }
}
@media (max-width: 360px) {
  .hero-phones { height: 420px; }
  .hero-phones .phone-front { width: 190px; }
  .hero-phones .phone-back { width: 160px; }
  .note-1 { top: 300px; } .note-2 { top: 370px; }
  .foot-grid { grid-template-columns: 1fr; }
  .chapter-media .phone, .join-media .phone { width: 210px; }
  .chapter-media.two .phone:last-child { width: 172px; }
}
@media (forced-colors: active) {
  .letter::before, .invite::before { forced-color-adjust: none; }
  .btn, .store, .pill { border: 1px solid CanvasText; }
}
@media print {
  .site-head, .hero-wind, .band, .lang-menu { display: none; }
  .everything:not([open]) > *:not(summary) { display: block; }
}

/* ---------- The privacy policy (and later the terms): long legal text, kept readable ---------- */
.legal section { padding: 30px 0; border-top: 1px solid var(--line-2); }
.legal .page-hero p.status { display: inline-block; font-size: .95rem; padding: 8px 14px; border-radius: 999px; background: var(--amber-card); border: 1px solid var(--amber-line); color: var(--amber-ink); }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.legal .note { background: var(--amber-card); border: 1px solid var(--amber-line); border-radius: 16px; padding: 18px 20px; margin: 0 0 24px; }
.legal .note p:last-child { margin: 0; }
.legal .review { color: var(--amber-ink); font-style: italic; }
.legal .table { overflow-x: auto; margin: 8px 0 18px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); }
.legal th { font: 700 .82rem/1.4 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.legal td:first-child { font-weight: 700; min-width: 9em; }
