/* crewbinder.net — direction A "Blueprint". One stylesheet, system fonts, no external requests.
   Light + dark follow the device setting. Brand colours: brand kit splash-spec.md / icon gradients. */
:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #0b1424;
  --text-2: #4a5568;
  --line: #dde3ec;
  --line-strong: #c9d2df;
  --brand: #1877f0;
  --brand-strong: #0062e0;
  --brand-top: #2f8dff;
  --link: #0058c9;
  --brand-soft: #e8f1fe;
  --brand-soft-line: #c4dbfb;
  --on-brand: #ffffff;
  --grid-line: rgba(24, 119, 240, .08);
  --pill-bg: #0b1424;
  --pill-text: #ffffff;
  --focus: #0062e0;
  --shadow-sm: 0 1px 2px rgba(11, 20, 36, .05);
  --shadow: 0 1px 2px rgba(11, 20, 36, .04), 0 12px 32px -12px rgba(11, 20, 36, .14);
  --shadow-lg: 0 30px 60px -20px rgba(0, 60, 150, .35);
  --radius: 20px;
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111e;
    --surface: #111b2d;
    --surface-2: #16233a;
    --text: #edf2fa;
    --text-2: #a7b4c8;
    --line: #22314a;
    --line-strong: #2e4060;
    --brand: #2f8dff;
    --brand-strong: #1877f0;
    --link: #79b8ff;
    --brand-soft: #10264a;
    --brand-soft-line: #1f4479;
    --grid-line: rgba(108, 178, 255, .07);
    --pill-bg: #edf2fa;
    --pill-text: #0a111e;
    --focus: #79b8ff;
    --shadow-sm: none;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .02);
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  }
}

/* ---- Base ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { color: var(--text); text-wrap: balance; }
p { text-wrap: pretty; }
code { font-family: var(--mono); font-size: .9em; }

.skip { position: absolute; left: -9999px; top: 0; }
a.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.ui-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--link); } }
.eyebrow.center, .center { text-align: center; }

/* ---- Buttons -------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: #0052bd; text-decoration: none; }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--brand-strong); } .btn-primary:hover { background: var(--brand); } }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); text-decoration: none; }
.btn .ui-icon { width: 18px; height: 18px; }
/* Store download link (plain styled button until the official store badges can be used) */
.btn-store { background: var(--pill-bg); color: var(--pill-text); }
.btn-store:hover { text-decoration: none; opacity: .9; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.cta-row.center { justify-content: center; }

/* ---- Header --------------------------------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -.01em; min-height: 44px; }
.brand-tile {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: linear-gradient(180deg, var(--brand-top), var(--brand-strong)); color: #fff;
}
.brand-tile .mark { width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) { .brand-tile { background: linear-gradient(180deg, #16233a, #070b14); color: #6cb2ff; box-shadow: inset 0 0 0 1px #23324a; } }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 550; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; }
.nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
@media (max-width: 440px) { .site-header .wrap { flex-wrap: nowrap; } .brand { gap: 8px; font-size: 17px; } .brand-tile { width: 28px; height: 28px; } .nav { flex-wrap: nowrap; } .nav a:not(.btn) { padding: 0 7px; font-size: 14.5px; } }
/* The header "Open web app" button (only when WEB_APP_URL is set) needs room; on phones the hero and footer carry it. */
.nav .btn { margin-left: 8px; }
@media (max-width: 639px) { .nav .btn { display: none; } }
.doc-head.doc-head-solo { padding: 32px 0 84px; } /* beats .doc-head padding: the card below overlaps 56px */
.doc-head-solo + .support-body { position: relative; z-index: 1; margin-top: -56px; padding-top: 0; }

/* ---- Footer --------------------------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 15px; padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin: 8px 0 0; max-width: 22em; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin: 0 0 6px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-base { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-base p { margin: 0; }
@media (min-width: 640px) { .footer-base { border-top: 0; } .footer-base p { border-top: 1px solid var(--line); padding-top: 20px; } }

/* ---- Home: hero ----------------------------------------------------------------------------------------------- */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) { .hero { padding: 88px 0 96px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; } }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 0 0 20px; max-width: 12em; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); max-width: 30em; margin: 0; line-height: 1.5; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47, 141, 255, .35), transparent 65%); filter: blur(10px); }
.phone { position: relative; width: min(240px, 62vw); filter: drop-shadow(0 30px 40px rgba(0, 60, 150, .25)); }
.phone-body { fill: #0b1424; }
.phone-screen { fill: #1877f0; }
.phone-cam { fill: #0b1424; }
.phone-mark { fill: #ffffff; }
@media (prefers-color-scheme: dark) {
  .phone { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
  .phone-body { fill: #24324a; }
  .phone-screen { fill: #0a111e; }
  .phone-cam { fill: #24324a; }
  .phone-mark { fill: #64a8ff; }
}
.float-cards { display: none; }
@media (min-width: 920px) {
  .float-cards { display: block; list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
  .float-cards li {
    position: absolute; display: flex; align-items: center; gap: 10px; max-width: 230px;
    padding: 10px 14px 10px 10px; border-radius: 14px; font-size: 14px; font-weight: 650; line-height: 1.25;
    background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .float-cards svg { width: 34px; height: 34px; padding: 7px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  @media (prefers-color-scheme: dark) { .float-cards svg { color: var(--link); } }
  .float-cards li:nth-child(1) { top: 10%; left: -2%; }
  .float-cards li:nth-child(2) { top: 30%; right: -4%; }
  .float-cards li:nth-child(3) { bottom: 26%; left: -6%; }
  .float-cards li:nth-child(4) { bottom: 8%; right: 0; }
}

/* ---- Home: sections ------------------------------------------------------------------------------------------- */
.section { padding: 64px 0; }
@media (min-width: 920px) { .section { padding: 96px 0; } }
.section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; line-height: 1.08; font-weight: 800; margin: 0 auto 40px; text-align: center; max-width: 18em; }
.section h2:has(+ .sub) { margin-bottom: 14px; }
.section .sub { text-align: center; color: var(--text-2); margin: 0 auto 40px; max-width: 36em; font-size: 18px; }
.fineprint { color: var(--text-2); font-size: 14px; text-align: center; max-width: 46em; margin: 28px auto 0; }

.features { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .feature .icon { color: var(--link); } }
.feature .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature .step { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text-2); letter-spacing: .05em; }
.feature h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--text-2); font-size: 16px; }
.feature .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
@media (prefers-color-scheme: dark) { .feature .tag { color: var(--link); } }

.plans { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.plan-solo-pro { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.015em; }
.plan .summary { margin: 0 0 18px; color: var(--text-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { display: flex; gap: 10px; margin: 10px 0; font-size: 16px; line-height: 1.45; }
.plan li .ui-icon { color: var(--brand); width: 20px; height: 20px; margin-top: 1px; }

.band {
  display: grid; gap: 20px; align-items: center;
  padding: 32px 24px; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--brand-top), var(--brand-strong));
  position: relative; overflow: hidden;
}
@media (prefers-color-scheme: dark) { .band { background: linear-gradient(135deg, #16233a, #0d1830); box-shadow: inset 0 0 0 1px #23324a; } }
@media (min-width: 860px) { .band { grid-template-columns: auto 1fr auto; padding: 40px 48px; gap: 28px; } }
.band-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.band-icon .ui-icon { width: 30px; height: 30px; color: #fff; }
.band h2 { color: #fff; text-align: left; margin: 0 0 4px; font-size: clamp(26px, 3.4vw, 34px); max-width: none; }
.band p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 18px; }
@media (prefers-color-scheme: dark) { .band p { color: #c9d6ea; } }
.band .btn-store { background: #fff; color: #0b1424; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Documents: header band, layout, table of contents ---------------------------------------------------------- */
.doc-head { position: relative; padding: 48px 0 32px; border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; }
.doc-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
@media (min-width: 920px) { .doc-head { padding: 72px 0 44px; } }
.doc-head h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.035em; line-height: 1.05; font-weight: 800; margin: 0 0 12px; }
.doc-head .intro { font-size: clamp(18px, 2vw, 20px); color: var(--text-2); margin: 0; max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.chip .ui-icon { width: 16px; height: 16px; }
.chip time { color: var(--text); }
/* Shown only while DRAFT = true in build.mjs (off on the live site). */
.draft { margin: 20px 0 0; max-width: 40em; padding: 12px 16px; border-radius: 12px; font-size: 15px; background: #fff7e6; color: #5c3b00; border: 1px solid #f2d39b; }
.draft strong { display: block; }
@media (prefers-color-scheme: dark) { .draft { background: #2b2210; color: #f6dfae; border-color: #5a4520; } }


.doc-layout { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 80px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 250px minmax(0, 760px); gap: 56px; padding-top: 48px; justify-content: center; } }
.doc-body { min-width: 0; }

.toc-side { display: none; }
@media (min-width: 1000px) {
  .toc-side { display: block; }
  .toc-side nav { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 4px; }
}
.toc-title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin: 0 0 10px; font-weight: 700; }
.toc-side ol, .jump ol { list-style: none; margin: 0; padding: 0; }
.toc-side a { display: block; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--text-2); text-decoration: none; font-size: 15px; line-height: 1.35; }
.toc-side a:hover { color: var(--text); border-left-color: var(--brand); background: var(--surface); }

.jump { margin-bottom: 16px; }
@media (min-width: 1000px) { .jump { display: none; } }
.jump details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.jump summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; font-weight: 650; }
.jump summary::-webkit-details-marker { display: none; }
.jump summary::after, .accordion summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); flex: none; margin-left: 12px; }
.jump details[open] summary::after, .accordion details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.jump ol { padding: 4px 8px 12px; border-top: 1px solid var(--line); }
.jump a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.jump a:hover { background: var(--surface-2); }

/* Section cards */
.doc-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; margin: 0 0 16px; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .doc-sec { padding: 32px 36px; } }
.doc-sec > :last-child { margin-bottom: 0; }
.doc-sec h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.doc-sec h2 { font-size: clamp(22px, 2.6vw, 26px); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px; font-weight: 750; }
.doc-sec h3 { font-size: 18px; margin: 28px 0 8px; letter-spacing: -.01em; }
.doc-sec p, .doc-sec li { color: var(--text); }
.doc-sec li { margin: 6px 0; }
.doc-sec ul, .doc-sec ol { padding-left: 22px; }
.doc-sec li::marker { color: var(--brand); }
.note { color: var(--text-2); font-size: 15px; }
.doc-sec .note { color: var(--text-2); }

.summary-card { background: var(--brand-soft); border-color: var(--brand-soft-line); }
.summary-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; }
.summary-card li { position: relative; padding-left: 34px; margin: 6px 0; }
.summary-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-strong); }
.summary-card li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.summary-card .more { font-size: 14px; font-weight: 600; white-space: nowrap; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface-2); font-weight: 700; font-size: 14px; }
tbody th { font-weight: 600; }

/* ---- Support ---------------------------------------------------------------------------------------------------- */
.tiles ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .tiles ul { grid-template-columns: repeat(4, 1fr); } }
.tiles a { display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 44px; padding: 16px; border-radius: 16px; text-decoration: none; color: var(--text); background: var(--bg); border: 1px solid var(--line); }
@media (min-width: 640px) { .tiles a { flex-direction: row; align-items: center; padding: 18px; } }
.tiles a:hover { border-color: var(--brand); }
.tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
@media (prefers-color-scheme: dark) { .tile-icon { color: var(--link); } }
.tile-text { display: flex; flex-direction: column; line-height: 1.3; }
.tile-text strong { font-size: 16px; }
.tile-text span { color: var(--text-2); font-size: 14px; }

.support-body { padding-top: 32px; padding-bottom: 80px; }
/* Email: button + the address as selectable text (mailto: opens nothing on devices without a mail app) */
.mail-block { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 16px 0; }
.mail-block .btn { white-space: normal; }
.addr-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: var(--text-2); }
.addr { font-family: var(--mono); font-size: 15px; color: var(--text); background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 8px; padding: 4px 10px; -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; cursor: text; }
.site-footer .addr { font-size: 13px; display: inline-block; margin-top: 2px; }
.still { margin-top: 20px; }

/* Delete account: numbered steps */
.delete-flow h3 { padding-top: 20px; border-top: 1px solid var(--line); }
.delete-flow ol { counter-reset: step; list-style: none; padding: 0; }
.delete-flow ol > li { counter-increment: step; position: relative; padding: 2px 0 2px 46px; margin: 14px 0; }
.delete-flow ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--brand-soft); color: var(--brand-strong); border: 1px solid var(--brand-soft-line); }
@media (prefers-color-scheme: dark) { .delete-flow ol > li::before { color: var(--link); } }
.more-help { text-align: center; }

/* FAQ accordions */
.accordion { display: grid; gap: 10px; margin-top: 16px; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.accordion details[open] { border-color: var(--brand-soft-line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 12px 18px; font-weight: 650; font-size: 17px; line-height: 1.35; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .note { font-weight: 500; margin-left: 6px; }
.accordion details > div { padding: 0 18px 16px; }
.accordion details > div > :first-child { margin-top: 0; }

/* Troubleshooting */
.fixes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .fixes { grid-template-columns: 1fr 1fr; } }
.fixes li { margin: 0; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.fixes h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.fixes p { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---- 404 --------------------------------------------------------------------------------------------------------- */
.not-found { text-align: center; padding: 96px 0 120px; }
.nf-mark { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; margin-bottom: 24px; color: #fff; background: linear-gradient(180deg, var(--brand-top), var(--brand-strong)); box-shadow: var(--shadow-lg); }
.nf-mark .mark { width: 64px; height: 64px; }
.not-found h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; margin: 0 0 12px; font-weight: 800; }
.not-found .intro { color: var(--text-2); font-size: 19px; }

/* ---- Motion: subtle, only when allowed ------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .tiles a, .feature, .nav a, .toc-side a, .accordion details { transition: background-color .15s ease, border-color .15s ease, transform .2s ease, box-shadow .2s ease; }
  .feature:hover, .tiles a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .phone { animation: rise .7s cubic-bezier(.2, 0, 0, 1) both; }
  .float-cards li { animation: rise .7s cubic-bezier(.2, 0, 0, 1) both; }
  .float-cards li:nth-child(2) { animation-delay: .08s; }
  .float-cards li:nth-child(3) { animation-delay: .16s; }
  .float-cards li:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media print {
  .site-header, .site-footer, .skip, .toc-side, .jump, .hero-visual { display: none; }
  body { font-size: 12pt; background: #fff; color: #000; }
  .doc-sec { border: 0; box-shadow: none; padding: 0; }
}

/* ---- Scroll-driven motion: progressive enhancement, CSS only ------------------------------------------------------
   Only where the browser supports scroll timelines AND the visitor allows motion. Elsewhere nothing is hidden or moved.
   Uses opacity and the `translate` / `scale` properties only (no layout changes); legal text itself never animates. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes cb-enter { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
    @keyframes cb-drift { from { translate: 0 0; } to { translate: 0 -16px; } }
    @keyframes cb-progress { from { scale: 0 1; } to { scale: 1 1; } }
    .feature, .plan, .band, .fixes li, .tiles li, .support-body > .doc-sec, .section h2, .section .sub {
      animation: cb-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .hero-visual { animation: cb-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    /* Reading progress on Privacy and Terms */
    .page-privacy::before, .page-terms::before {
      content: ""; position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 3px;
      background: var(--progress, var(--brand)); transform-origin: 0 50%;
      animation: cb-progress linear both; animation-timeline: scroll(root block);
    }
  }
}

/* ---- /join: the invite link's page (batch 15b) -------------------------------------------------------------------- */
[hidden] { display: none !important; }
.join-page h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -.03em; margin: 0 0 8px; }
.join-page .intro { color: var(--text-2); font-size: 18px; margin: 0 0 8px; }
.join-page .cta-row { margin-top: 14px; }
.join-code-row { margin: 12px 0 0; }
.join-code { display: inline-block; font-family: var(--mono); font-size: 15px; color: var(--text-2); background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 10px 16px; overflow-wrap: anywhere; }
.join-code.has-code { font-size: clamp(24px, 6vw, 32px); font-weight: 700; letter-spacing: .08em; color: var(--text); -webkit-user-select: all; user-select: all; }
.join-note { margin-top: 10px; }
