/* Liquid8 Pallet IQ — one stylesheet, no build step. */
:root {
  --bg: #f6f5f1;
  --bg-2: #efede6;
  --card: #ffffff;
  --ink: #111110;
  --ink-2: #3d3c38;
  --mute: #6b6a64;
  --line: #dedcd3;
  --accent: #0e7c66;
  --accent-ink: #ffffff;
  --accent-soft: #e2f1ec;
  --amber: #a85f00;
  --amber-soft: #fbefdc;
  --red: #b42318;
  --red-soft: #fbe6e3;
  --c1: #111110; --c2: #0e7c66; --c3: #6aa79a; --c4: #c9c6bb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(17,17,16,.05), 0 12px 32px -12px rgba(17,17,16,.18);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Theme: follows the device until the visitor picks one with the toggle (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111110; --bg-2: #171715; --card: #1b1b19; --ink: #f2f1ec; --ink-2: #d4d2ca; --mute: #a3a29b;
    --line: #2e2e2a; --accent: #3cc4a2; --accent-ink: #0b1f1a; --accent-soft: #15302a;
    --amber: #f0b45a; --amber-soft: #33270f; --red: #ff8a7a; --red-soft: #3a1714;
    --c1: #f2f1ec; --c2: #3cc4a2; --c3: #2f7d6c; --c4: #4a4943;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #111110; --bg-2: #171715; --card: #1b1b19; --ink: #f2f1ec; --ink-2: #d4d2ca; --mute: #a3a29b;
    --line: #2e2e2a; --accent: #3cc4a2; --accent-ink: #0b1f1a; --accent-soft: #15302a;
    --amber: #f0b45a; --amber-soft: #33270f; --red: #ff8a7a; --red-soft: #3a1714;
    --c1: #f2f1ec; --c2: #3cc4a2; --c3: #2f7d6c; --c4: #4a4943;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 600; }
h3, .h3 { font-size: 1.15rem; font-weight: 600; }
h1 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
code { background: var(--bg-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--mute); }
.small { font-size: .875rem; }
.block { display: block; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: var(--accent); }
.neg { color: var(--red); }
.inline { display: inline; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
section { padding: 72px 0; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  border-radius: 999px; padding: 12px 22px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s, opacity .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: wait; transform: none; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.disabled { opacity: .55; pointer-events: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--mute); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
label { display: block; font-weight: 500; font-size: .95rem; }
label > input, label > select, label > textarea { margin-top: 6px; font-weight: 400; }
label.check { display: flex; gap: 8px; align-items: center; margin-top: 28px; }
label.check input { width: auto; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 8px; }
.stack > * + * { margin-top: 16px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.grid-4 { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); align-items: end; }
.grid-4 legend { grid-column: 1 / -1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 10px; background: var(--accent-soft); color: var(--ink); }
.flash-err { background: var(--red-soft); color: var(--red); }
.note { background: var(--bg-2); border-radius: 12px; padding: 10px 14px; color: var(--ink-2); }
.warn { color: var(--amber); display: block; margin-top: 4px; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; }
.logo { height: 40px; width: auto; display: block; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px; font: 500 .85rem/1 var(--font-body); cursor: pointer; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.theme-toggle .to-dark, .theme-toggle .to-light { display: inline-flex; align-items: center; gap: 6px; }
.theme-toggle .to-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .to-light { display: inline-flex; } :root:not([data-theme="light"]) .theme-toggle .to-dark { display: none; } }
:root[data-theme="dark"] .theme-toggle .to-light { display: inline-flex; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
@media (max-width: 520px) { .theme-toggle .tt-label { display: none; } .theme-toggle { padding: 7px 9px; } }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo { height: 32px; margin-bottom: 8px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-legal { margin-top: 20px; }

/* hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.join-anchor { scroll-margin-top: 96px; margin-top: 28px; }
.waitlist-form { max-width: 620px; }
.wl-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; }
.form-note { font-size: .875rem; color: var(--mute); margin-top: 10px; }

.report-card { position: relative; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.sample-tag { position: absolute; top: -12px; right: 18px; background: var(--ink); color: var(--bg); font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.rc-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.rc-title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.rc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rc-stats > div, .sum-card { background: var(--bg); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.k { font-size: .75rem; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.v { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.v small { font-size: .8rem; color: var(--mute); font-weight: 400; }
.r { font-size: .8rem; color: var(--mute); }
.rc-costs { margin: 10px 2px 14px; }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--bg-2); }
.c1 { background: var(--c1); } .c2 { background: var(--c2); } .c3 { background: var(--c3); } .c4 { background: var(--c4); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--ink-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.rc-items { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .86rem; }
.rc-items th { text-align: left; font-weight: 500; color: var(--mute); font-size: .75rem; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.rc-items td.num { white-space: nowrap; }
.rc-items td { padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rc-foot { margin-top: 12px; }
.flag { display: inline-block; font-size: .7rem; font-weight: 600; background: var(--amber-soft); color: var(--amber); border-radius: 6px; padding: 1px 7px; margin: 2px 4px 0 0; white-space: nowrap; }
.flag-conf { background: var(--red-soft); color: var(--red); }
.verdict { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.verdict-lg { font-size: 1.05rem; padding: 7px 16px; margin: 6px 0; align-self: flex-start; }
.v-strong { background: var(--accent); color: var(--accent-ink); }
.v-buy { background: var(--accent-soft); color: var(--accent); }
.v-thin { background: var(--amber-soft); color: var(--amber); }
.v-pass { background: var(--red-soft); color: var(--red); }
.v-wait { background: var(--bg-2); color: var(--mute); }

/* stats strip */
.stats-strip { background: var(--ink); color: var(--bg); padding: 44px 0 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats-grid strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.02em; }
.stats-grid span { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.source-note { margin-top: 18px; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.source-note a { color: inherit; }

/* founder */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.founder-art { color: var(--ink); background: var(--bg-2); border-radius: 24px; padding: 36px; }
.founder-art img { width: 100%; height: auto; display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .founder-art { background: #efede6; } }
:root[data-theme="dark"] .founder-art { background: #efede6; }
.about-img { display: block; width: 100%; max-width: 360px; height: auto; background: #efede6; border-radius: 20px; padding: 24px; margin: 0 0 28px; }

/* site content editor */
.cms-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px 8px 16px; box-shadow: var(--shadow); max-width: calc(100% - 24px); }
.cms-status { font-size: .85rem; color: var(--ink-2); }
.cms-on .cms { outline: 1px dashed var(--accent); outline-offset: 2px; border-radius: 3px; cursor: text; min-width: 1ch; display: inline-block; }
.cms-on .cms:hover, .cms-on .cms:focus { outline: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.cms-on [data-cms-img] { outline: 2px dashed var(--accent); outline-offset: 3px; cursor: pointer; }
.cms-only { display: none; }
.cms-on .cms-only { display: inline; }
.content-group { margin-bottom: 28px; }
.content-group h2 { font-size: 1.15rem; margin: 0 0 12px; }
.content-row { display: grid; grid-template-columns: 220px 1fr auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); align-items: start; }
.content-row .key { font-weight: 600; font-size: .9rem; }
.content-row .key code { display: block; font-weight: 400; font-size: .72rem; color: var(--mute); background: none; padding: 0; margin-top: 2px; word-break: break-all; }
.content-row textarea { min-height: 44px; }
.content-row .orig { font-size: .8rem; color: var(--mute); margin-top: 6px; }
.content-row .row-actions { display: flex; flex-direction: column; gap: 6px; }
.content-img { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.content-img img { max-height: 80px; max-width: 220px; background: repeating-conic-gradient(var(--bg-2) 0 25%, var(--card) 0 50%) 0 0 / 16px 16px; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.changed-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.sticky-save { position: sticky; bottom: 12px; display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
@media (max-width: 860px) { .content-row { grid-template-columns: 1fr; } .content-row .row-actions { flex-direction: row; } }
.accent-stroke { stroke: var(--accent); }
.founder-copy p { font-size: 1.08rem; color: var(--ink-2); }
.sig { font-family: var(--font-head); font-weight: 600; color: var(--ink) !important; }

/* how */
.how { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
.feature { background: var(--card); padding: 26px; }
.feature p { color: var(--ink-2); margin: 0; }

/* honest */
.honest-box { background: var(--ink); color: var(--bg); border-radius: 24px; padding: 48px; max-width: 1128px; }
.honest-box h2 { color: var(--bg); }
.honest-box p { font-size: 1.15rem; max-width: 46em; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.honest-box p:last-child { margin: 0; color: var(--bg); font-weight: 500; }

/* who */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.who-grid > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.who-grid p { color: var(--ink-2); margin: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 24px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--ink); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--ink); color: var(--bg); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; margin: 0; }
.plan-price span { font-size: 1rem; color: var(--mute); font-weight: 400; }
.plan ul { padding: 0 0 0 18px; margin: 12px 0 22px; color: var(--ink-2); flex: 1; }
.plan li { margin: 4px 0; }
.fineprint dt { font-weight: 600; margin-top: 18px; }
.fineprint dd { margin: 4px 0 0; color: var(--ink-2); }

/* faq */
.faq-list details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::after { content: "+"; font-weight: 400; color: var(--mute); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { font: inherit; margin: 0; letter-spacing: 0; }
.faq-a { color: var(--ink-2); margin-top: 10px; }
.final-cta { padding-bottom: 96px; }
.final-cta .waitlist-form { margin: 24px auto 0; text-align: left; }

/* pages */
.page-head { padding: 64px 0 24px; }
.page-head .lede { margin: 0 auto 1em; }
.share-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: left; margin: 28px 0; }
.share-row { display: flex; gap: 10px; margin: 6px 0 8px; }
.auth { padding: 56px 16px; }
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-card h1 { font-size: 1.8rem; }

/* app */
body.app section { padding: 28px 0; }
.app-head { padding: 32px 0 0 !important; }
.app-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 4px; }
.app-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 8px; }
.empty { text-align: center; padding: 48px 24px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { text-align: left; font-weight: 500; color: var(--mute); font-size: .8rem; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
.tiny-input { width: 180px; padding: 6px 8px; font-size: .8rem; }
.drop { display: block; border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; cursor: pointer; background: var(--bg); }
.drop:hover { border-color: var(--accent); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 2px solid var(--accent); }
details > summary { cursor: pointer; }
.progress { height: 12px; background: var(--bg-2); border-radius: 99px; overflow: hidden; margin: 12px 0; }
.progress span { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 8px 0 12px; }
.sum-card { background: var(--card); border: 1px solid var(--line); }
.basis { color: var(--ink-2); margin-bottom: 18px; }
.costs-edit summary { font-weight: 600; }
.costs-edit form { margin-top: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hbar { display: grid; grid-template-columns: 150px 1fr 130px; gap: 10px; align-items: center; margin: 8px 0; font-size: .9rem; }
.hbar-track { height: 10px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.hbar-track span { display: block; height: 100%; background: var(--accent); }
.hbar-val { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.flag-list { list-style: none; padding: 0; margin: 0; }
.flag-list li { margin: 6px 0; color: var(--ink-2); }
.items-head { margin-top: 12px; }
.items { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.item-row { display: grid; grid-template-columns: minmax(0, 3fr) 50px 160px 100px 150px 50px; gap: 12px; padding: 12px 16px; align-items: start; }
.item-headrow { border-bottom: 1px solid var(--line); }
.item { border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item > summary { list-style: none; }
.item > summary::-webkit-details-marker { display: none; }
.item > summary:hover { background: var(--bg); }
.item[open] > summary { background: var(--bg); }
.item-name strong { font-weight: 600; }
.err-cell { grid-column: span 4; color: var(--red); font-size: .85rem; }
.item-detail { padding: 4px 16px 16px; background: var(--bg); }
.listing { display: grid; gap: 8px; margin: 10px 0; }
.listing-row { display: flex; gap: 8px; align-items: flex-start; }
.listing-row textarea { resize: vertical; }
.tabs { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); font-size: .9rem; }
.tabs a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-admin li { margin: 8px 0; }
.narrow-card { max-width: 520px; }

/* responsive */
@media (max-width: 1000px) {
  .summary { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 52px 0; }
  .hero-grid, .founder-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .steps, .feature-grid, .plans, .stats-grid { grid-template-columns: 1fr; }
  .wl-row { grid-template-columns: 1fr; }
  .wl-row .btn { width: 100%; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
  .nav { gap: 14px; }
  .honest-box { padding: 32px 24px; border-radius: 18px; }
  .founder-art { max-width: 420px; }
  .item-headrow { display: none; }
  .item-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .item-row > span:nth-child(2) { display: none; }
  .item-row > span:nth-child(4), .item-row > span:nth-child(6) { display: none; }
  .err-cell { grid-column: 1 / -1; }
  .hbar { grid-template-columns: 110px 1fr 96px; }
}
@media (max-width: 520px) {
  .summary { grid-template-columns: 1fr 1fr; }
  .rc-stats { grid-template-columns: 1fr 1fr; }
  .rc-stats > div:last-child { grid-column: span 2; }
  .who-grid { grid-template-columns: 1fr; }
  .nav a[href$="/faq"] { display: none; }
  .logo { height: 34px; }
  .share-row, .listing-row { flex-direction: column; }
  .rc-items th:nth-child(2), .rc-items td:nth-child(2) { display: none; }
}

/* ---------- Intro animation ---------- */
.l8-intro-overlay { display: none; }
html.l8-intro { overflow: hidden; }
html.l8-intro .l8-intro-overlay {
  overflow: hidden; display: flex; position: fixed; inset: 0; z-index: 100; background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center; gap: 0;
  transition: opacity 1.5s ease;
  /* Failsafe: if the script never runs, the overlay gets out of the way after 6s. */
  animation: l8-failsafe 0s linear 6s forwards;
}
html.l8-intro.l8-intro-go .l8-intro-overlay { animation: none; }
html.l8-intro-out .l8-intro-overlay { opacity: 0; pointer-events: none; }
@keyframes l8-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.l8-intro-logo { position: relative; width: min(78vw, 760px); aspect-ratio: 1344 / 470; }
.l8-intro-logo .ig {
  position: absolute; display: block; background: var(--ink); opacity: 0;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
  will-change: transform, opacity, filter;
}
/* LIQUID: letters slide in from the right one after another, starting with L */
html.l8-intro-go .ig-l, html.l8-intro-go .ig-i1, html.l8-intro-go .ig-q,
html.l8-intro-go .ig-u, html.l8-intro-go .ig-i2, html.l8-intro-go .ig-d {
  animation: l8-flow .7s cubic-bezier(.16,1,.3,1) forwards;
}
html.l8-intro-go .ig-l  { animation-delay: .10s; }
html.l8-intro-go .ig-i1 { animation-delay: .24s; }
html.l8-intro-go .ig-q  { animation: l8-flow .7s cubic-bezier(.16,1,.3,1) .38s forwards, l8-q-out .4s ease-in 1.35s forwards; }
html.l8-intro-go .ig-u  { animation-delay: .52s; }
html.l8-intro-go .ig-i2 { animation-delay: .66s; }
html.l8-intro-go .ig-d  { animation-delay: .80s; }
/* The Q fades away first; then the 8 fades in where it stood */
html.l8-intro-go .ig-eight { animation: l8-eight .7s ease-out 1.85s forwards; }

/* Each letter slides in from the right, upright the whole way */
@keyframes l8-flow {
  0%   { opacity: 0; transform: translateX(38vw); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes l8-q-out {
  to { opacity: 0; }
}
@keyframes l8-eight {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.l8-intro-controls {
  position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; width: calc(100% - 32px);
}
.l8-intro-check { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink); cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.l8-intro-check input, .intro-pref input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.footer-prefs { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; color: var(--ink-2); }
.intro-pref { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .l8-intro-overlay { display: none !important; } }

.intro-admin { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 12px 0 16px; border-top: 1px solid var(--line); margin-top: 8px; }
