/* Bamgbopa — bamgbopa.com
   One stylesheet for every page. No web fonts, no trackers: system fonts only. */

:root {
  --night: #0E1210;
  --night-2: #151B17;
  --night-3: #1C241F;
  --night-rule: #2A332D;
  --night-ink: #EEF2EE;
  --night-soft: #A9B6AE;
  --glow: #7CC39C;
  --glow-soft: rgba(124, 195, 156, 0.14);
  --leaf: #2F6B4F;
  --leaf-deep: #22503B;
  --paper: #F7F5EF;
  --paper-2: #EFEBE1;
  --card: #FFFFFF;
  --ink: #131915;
  --ink-soft: #46524B;
  --ink-faint: #5B6660;
  --rule: #DFDACE;
  --warm: #E2A65B;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(19, 25, 21, 0.05), 0 12px 32px rgba(19, 25, 21, 0.07);
  --wrap: 1160px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--leaf-deep); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 750; }
p { margin: 0; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--glow); color: var(--night);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--night-ink); text-decoration: none;
  font-weight: 750; font-size: 19px; letter-spacing: 0.01em; }
.brand:hover { color: #fff; }
.brand svg { width: 26px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--night-soft); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--night-ink); background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--night-rule); color: var(--night-ink);
  border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); border-bottom: 1px solid var(--night-rule); padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--night-rule); }
  .nav .btn { margin: 16px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-glow { background: var(--glow); color: var(--night); }
.btn-glow:hover { background: #93d1ae; color: var(--night); }
.btn-ghost { color: var(--night-ink); border-color: rgba(238, 242, 238, 0.28); }
.btn-ghost:hover { color: #fff; border-color: rgba(238, 242, 238, 0.6); background: rgba(255, 255, 255, 0.04); }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: var(--leaf-deep); color: #fff; }
.btn-line { color: var(--leaf); border-color: rgba(47, 107, 79, 0.35); background: transparent; }
.btn-line:hover { border-color: var(--leaf); color: var(--leaf-deep); }
.nav .btn { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.nav .btn-glow { color: var(--night); }
.nav .btn-glow:hover { color: var(--night); background: #93d1ae; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.dark { background: var(--night); color: var(--night-ink); }
.dark p { color: var(--night-soft); }
.dark a { color: var(--glow); }
.sand { background: var(--paper-2); }
.white { background: var(--card); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf); }
.dark .eyebrow { color: var(--glow); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.dark .section-head p { color: var(--night-soft); }
.dark .serif { color: var(--glow); }
.serif.leaf { color: var(--leaf); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 600px at 78% 30%, rgba(124, 195, 156, 0.13), transparent 60%),
  radial-gradient(800px 500px at 10% 100%, rgba(47, 107, 79, 0.25), transparent 60%), var(--night);
  color: var(--night-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); margin-top: 22px; }
.hero h1 .serif { color: var(--glow); white-space: nowrap; }
.hero .lede { margin-top: 24px; font-size: clamp(18px, 2vw, 21px); color: var(--night-soft); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--night-soft); }
.hero .note a { color: var(--glow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px var(--glow-soft); flex: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; font-weight: 650; color: var(--night-ink); border: 1px solid var(--night-rule);
  background: rgba(255, 255, 255, 0.03); padding: 6px 12px; border-radius: 999px; }
.hero-art { position: relative; }
.hero-art svg.tree { width: 100%; height: auto; }
.float-card { position: relative; width: min(300px, 64%); margin: 2px 0 0 auto; background: var(--night-2);
  border: 1px solid var(--night-rule); border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); animation: floaty 7s ease-in-out infinite; }
.float-card .k { font-size: 11px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--glow); }
.float-card .t { margin-top: 8px; font-size: 15px; color: var(--night-ink); line-height: 1.45; }
.float-card .actions { display: flex; gap: 8px; margin-top: 12px; }
.float-card .a { flex: 1; text-align: center; font-size: 13px; font-weight: 700; padding: 8px 0; border-radius: 10px; }
.float-card .a.yes { background: var(--glow); color: var(--night); }
.float-card .a.no { border: 1px solid var(--night-rule); color: var(--night-soft); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.lit { stroke-dasharray: 8 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.18); } }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 64px; }
  .hero-art { max-width: 540px; margin: 8px auto 0; width: 100%; }
  .float-card { width: min(320px, 92%); }
}

/* ---------- Facts strip ---------- */
.facts { background: var(--night-2); border-top: 1px solid var(--night-rule); border-bottom: 1px solid var(--night-rule); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 32px 24px; border-left: 1px solid var(--night-rule); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .n { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--glow); line-height: 1; }
.fact .n small { font-size: 18px; font-weight: 700; color: var(--night-ink); margin-left: 6px; letter-spacing: 0; }
.fact p { margin-top: 10px; font-size: 15px; color: var(--night-soft); line-height: 1.5; }
@media (max-width: 880px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 16px; border-left: 0; border-top: 1px solid var(--night-rule); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
}

/* ---------- Vision ---------- */
.vision .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.vision .wrap > div:first-child { position: sticky; top: 110px; }
.vision h2 { font-size: clamp(36px, 5vw, 60px); margin-top: 14px; }
.vision .quote-mark { font-family: var(--serif); font-size: 120px; line-height: 0.6; color: var(--glow); height: 46px; margin-top: 36px; }
.vision .body p { font-size: 19px; color: var(--ink-soft); margin-bottom: 20px; }
.vision .body p.big { font-size: 24px; line-height: 1.45; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.signature .mono { width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--glow);
  display: grid; place-items: center; font-weight: 750; font-size: 15px; flex: none; }
.signature b { display: block; font-size: 16px; }
.signature span { font-size: 14px; color: var(--ink-faint); }
@media (max-width: 880px) { .vision .wrap { grid-template-columns: 1fr; gap: 24px; } .vision .wrap > div:first-child { position: static; }
  .vision .quote-mark { display: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.white .step { background: var(--paper); box-shadow: none; }
.step .num { display: flex; align-items: center; justify-content: space-between; }
.step .num b { width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--glow);
  display: grid; place-items: center; font-size: 16px; }
.step .num svg { width: 28px; height: 28px; color: var(--leaf); }
.step h3 { font-size: 21px; margin-top: 22px; }
.step p { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
.after-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 22px 24px;
  border-radius: var(--radius); background: var(--glow-soft); border: 1px solid rgba(47, 107, 79, 0.18); }
.after-note svg { width: 26px; height: 26px; color: var(--leaf); flex: none; margin-top: 2px; }
.after-note p { color: var(--ink-soft); font-size: 16px; }
.after-note b { color: var(--ink); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Story ---------- */
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chain-card { background: var(--night); border-radius: 28px; padding: 30px 26px; color: var(--night-ink); box-shadow: 0 30px 70px rgba(14, 18, 16, 0.25); }
.chain-card .reason { background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 16px; padding: 14px 16px; }
.chain-card .reason small { display: block; font-size: 12px; color: var(--night-soft); font-weight: 600; }
.chain-card .reason q { display: block; margin-top: 4px; font-size: 16px; }
.chain-card svg { width: 100%; height: auto; margin-top: 8px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 40px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--rule); }
.timeline li:last-child::before { display: none; }
.timeline .t-dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--leaf); display: grid; place-items: center; }
.timeline .t-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.timeline b { display: block; font-size: 17px; }
.timeline span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 16px; }
.fineprint { margin-top: 10px; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 920px) { .story .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Promises ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--night-2); border: 1px solid var(--night-rule); border-radius: var(--radius); padding: 26px 22px; }
.promise svg { width: 30px; height: 30px; color: var(--glow); }
.promise h3 { font-size: 19px; margin-top: 18px; color: var(--night-ink); }
.promise p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
@media (max-width: 1000px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* ---------- Audiences ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.aud .top { background: var(--night); padding: 22px 24px; display: flex; align-items: center; gap: 14px; min-height: 96px; }
.aud .top svg { width: 34px; height: 34px; color: var(--glow); flex: none; }
.aud .top h3 { color: var(--night-ink); font-size: 21px; }
.aud .body { padding: 24px; }
.aud .body > p { color: var(--ink-soft); font-size: 16px; }
.aud ul { list-style: none; padding: 0; margin: 18px 0 0; }
.aud li { position: relative; padding-left: 26px; margin-top: 10px; font-size: 15px; color: var(--ink); }
.aud li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(-45deg); }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Safety ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { display: grid; gap: 14px; }
.check { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px; }
.check svg { width: 26px; height: 26px; color: var(--leaf); flex: none; margin-top: 2px; }
.check b { display: block; font-size: 17px; }
.check span { display: block; margin-top: 3px; font-size: 15px; color: var(--ink-soft); }
.callout { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--warm); background: #FBF3E6; border-radius: 0 14px 14px 0; font-size: 15px; color: var(--ink-soft); }
.callout b { color: var(--ink); }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Join ---------- */
.join { background: radial-gradient(900px 500px at 85% 0%, rgba(124, 195, 156, 0.16), transparent 60%), var(--night); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 24px; padding: 34px 30px; }
.panel h3 { font-size: 26px; color: var(--night-ink); }
.panel > p { margin-top: 10px; }
.panel ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: j; }
.panel ol li { counter-increment: j; position: relative; padding-left: 44px; margin-top: 16px; color: var(--night-soft); font-size: 16px; }
.panel ol li::before { content: counter(j); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--glow); color: var(--glow); font-weight: 750; font-size: 14px; display: grid; place-items: center; }
.panel ol li b { color: var(--night-ink); }
.form { display: grid; gap: 14px; margin-top: 22px; }
.form label { font-size: 14px; font-weight: 650; color: var(--night-ink); display: grid; gap: 6px; }
.form input, .form select { width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--night-rule);
  background: var(--night); color: var(--night-ink); font: inherit; font-size: 16px; padding: 0 14px; }
.form input:focus, .form select:focus { border-color: var(--glow); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--night-soft); font-size: 14px; line-height: 1.5; }
.form .consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--glow); }
.form .btn { width: 100%; margin-top: 4px; }
.hp { display: none; }
@media (max-width: 880px) { .join-grid { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; margin-top: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 16px; }
.faq .a p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--leaf); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 720px; }
.cta-band .serif { color: #CFEBDB; }
.cta-band .btn-glow { background: #fff; color: var(--leaf-deep); }
.cta-band .btn-glow:hover { background: #E8F4ED; }
@media (max-width: 760px) { .cta-band .wrap { flex-direction: column; align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-soft); padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: var(--night-ink); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-top: 10px; }
.site-footer a { color: var(--night-soft); text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.site-footer .tag { margin-top: 14px; max-width: 320px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--night-rule); font-size: 13px; color: #87958D; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid > div:first-child { grid-column: 1 / -1; } .site-footer li { overflow-wrap: anywhere; } }

/* ---------- Document pages (privacy, terms, deletion, support) ---------- */
.doc-hero { background: var(--night); color: var(--night-ink); padding: 64px 0 56px; }
.doc-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 14px; }
.doc-hero p { margin-top: 14px; color: var(--night-soft); font-size: 18px; max-width: 720px; }
.doc-hero .meta { margin-top: 18px; font-size: 14px; color: #87958D; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 56px 20px 96px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc b { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--rule); color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--leaf); border-left-color: var(--leaf); }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0 0; }
.prose li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; background: var(--card); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.prose th { background: var(--paper-2); font-weight: 700; color: var(--ink); }
.prose td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }
.notice { display: flex; gap: 14px; align-items: flex-start; background: #FBF3E6; border: 1px solid #EED7B3; border-radius: 14px; padding: 16px 18px; margin-bottom: 30px; }
.notice svg { width: 22px; height: 22px; color: #A86A1D; flex: none; margin-top: 2px; }
.notice p { font-size: 15px; color: #5E4A2C; }
.steps-box { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 8px 24px 22px; margin-top: 14px; }
.steps-box ol { padding-left: 22px; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.help-card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; }
.help-card svg { width: 26px; height: 26px; color: var(--leaf); }
.help-card h3 { margin: 14px 0 6px; font-size: 18px; }
.help-card p { font-size: 15px; }
@media (max-width: 880px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; } .toc { position: static; column-count: 2; column-gap: 16px; }
  .toc b { column-span: all; } .toc a { break-inside: avoid; }
  .help-grid { grid-template-columns: 1fr; } }

/* ---------- Small pages (invite, thanks, 404) ---------- */
.solo { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(800px 500px at 80% 0%, rgba(124, 195, 156, 0.14), transparent 60%), var(--night); color: var(--night-ink); }
.solo main { flex: 1; display: flex; align-items: center; }
.solo .box { max-width: 560px; margin: 0 auto; padding: 48px 20px 64px; }
.solo h1 { font-size: clamp(32px, 6vw, 46px); margin-top: 16px; }
.solo p { color: var(--night-soft); margin-top: 14px; font-size: 17px; }
.solo .small { font-size: 15px; }
.code-box { margin-top: 26px; background: var(--night-2); border: 1.5px solid var(--glow); border-radius: 16px; padding: 18px;
  font-size: 28px; font-weight: 700; letter-spacing: 0.3em; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--night-ink); }
@media (max-width: 360px) { .code-box { font-size: 22px; letter-spacing: 0.2em; padding: 16px 10px; } }
.solo .btn { width: 100%; margin-top: 18px; }
.solo .mini-steps { margin-top: 28px; border-top: 1px solid var(--night-rule); padding-top: 8px; }
.solo .mini-steps p { margin-top: 12px; font-size: 15px; }
.solo .mini-steps b { color: var(--night-ink); }
.iphone-box { margin-top: 28px; border-top: 1px solid var(--night-rule); padding-top: 20px; }
.iphone-box h2 { font-size: 20px; color: var(--night-ink); }
.iphone-box p { margin-top: 8px; font-size: 15px; }
.is-apple #open-app, .is-apple .has-app { display: none; }   /* nothing to open on an iPhone yet */
.is-apple .iphone-box { border: 1.5px solid var(--glow); border-radius: 16px; padding: 18px; background: var(--night-2); }
/* Home page: the iPhone waiting list, under the two join panels */
.iphone-panel { margin-top: 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.iphone-panel .form { margin-top: 0; }
@media (max-width: 880px) { .iphone-panel { grid-template-columns: 1fr; gap: 16px; } }
.solo-foot { padding: 24px 20px 32px; text-align: center; font-size: 13px; color: #87958D; }
.solo-foot a { color: var(--night-soft); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lit, .pulse, .float-card { animation: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
/* The hero picture moves; anyone can stop it (WCAG 2.2.2). */
.motion-toggle { display: inline-flex; align-items: center; min-height: 36px; margin-top: 14px; padding: 6px 14px;
  font: inherit; font-size: 14px; color: var(--night-soft); background: transparent; border: 1px solid var(--night-rule);
  border-radius: 999px; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--night-ink); border-color: var(--night-soft); }
.hero-art.paused .lit, .hero-art.paused .pulse, .hero-art.paused .float-card { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* ---------- Section headings used outside .section-head ---------- */
.story-h, .safety-h { font-size: clamp(32px, 4.4vw, 50px); margin: 14px 0 30px; }
.safety-h { margin-bottom: 0; }
.safety-p { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }

/* ---------- Dark backgrounds: eyebrows and links ---------- */
.doc-hero .eyebrow, .solo .eyebrow { color: var(--glow); }
.solo .box a:not(.btn) { color: var(--glow); }
[hidden] { display: none !important; }

/* ---------- Polish ---------- */
button, input, select, textarea { font: inherit; }
.site-footer .brand { color: var(--night-ink); }
@media (min-width: 881px) {
  .section-head h2 .serif, .cta-band h2 .serif, .story-h .serif, .safety-h .serif { white-space: nowrap; }
}
.site-footer .foot-legal { margin-top: 40px; font-size: 13px; color: #87958D; max-width: 760px; }
.site-footer .foot-legal + .foot-base { margin-top: 18px; }
/* Very narrow screens, large text or wide text spacing: one column, and long words may wrap. */
@media (max-width: 420px) { .toc { column-count: 1; } }
.toc a, .prose { overflow-wrap: break-word; }

/* ---------- Friendship notes (/notes/) ---------- */
.note-list { display: grid; gap: 16px; margin-top: 18px; }
.note-card { margin: 0; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--leaf); border-radius: 18px; padding: 26px 26px 22px; scroll-margin-top: 90px; }
.note-card blockquote { margin: 0; }
.note-card blockquote p { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); line-height: 1.35; color: var(--ink); }
.note-card figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-faint); }
.note-card figcaption::before { content: "— "; }
