/* ============================================================
   booq — monochrome. black, white, and the grays between.
   Light + dark (follows the system; footer switch overrides).
   ============================================================ */

/* ---------- Poppins (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-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: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-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;
}

:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --ink-2: #2b2b2b;
  --gray: #6e6e73;
  --gray-2: #9a9a9f;
  --tile: #f3f3f3;
  --line: rgba(0,0,0,.08);
  --white: #fff;
  --hero: #f3f3f3;
  --hero-sub: #6e6e73;
  /* accent surfaces: buttons, thumbs, inverted tiles */
  --accent: #1a1a1a; --accent-fg: #fff; --accent-tile: #1a1a1a;
  /* on inverted (ink) surfaces */
  --inv-text: rgba(255,255,255,.72);
  --inv-soft: rgba(255,255,255,.55);
  --inv-line: rgba(255,255,255,.14);
  --inv-pill: rgba(255,255,255,.14);
  --inv-input: rgba(255,255,255,.08);
  --inv-input-line: rgba(255,255,255,.25);
  --inv-highlight: rgba(255,255,255,.10);
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.08);
  --shadow-up: 0 1px 2px rgba(0,0,0,.08), 0 12px 36px rgba(0,0,0,.14);
  /* closing band */
  --band-bg: #1a1a1a; --band-fg: #fff; --band-soft: rgba(255,255,255,.7); --band-soft-2: rgba(255,255,255,.55);
  --band-btn-bg: #fff; --band-btn-fg: #1a1a1a; --band-line: rgba(255,255,255,.5); --band-input: rgba(255,255,255,.08); --band-input-line: rgba(255,255,255,.25);
  --r: 32px;
  --inset: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif; /* SF on Apple, Poppins elsewhere */
  --max: 1120px;
}
/* dark: ink and paper swap, so black tiles/buttons become white ones */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f5f5f7; --ink-2: #e5e5ea; --gray: #a1a1a6; --gray-2: #6e6e73;
    --tile: #1c1c1e; --line: rgba(255,255,255,.1); --white: #0d0d0e; --hero: #1c1c1e; --hero-sub: #a1a1a6;
    --accent: #3a3a3d; --accent-fg: #f5f5f7; --accent-tile: #1c1c1e;
    --inv-text: #a1a1a6; --inv-soft: #8a8a8f; --inv-line: rgba(255,255,255,.1); --inv-pill: #0d0d0e;
    --inv-input: rgba(255,255,255,.06); --inv-input-line: rgba(255,255,255,.16); --inv-highlight: transparent;
   
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 30px rgba(0,0,0,.45); --shadow-up: 0 1px 2px rgba(0,0,0,.5), 0 12px 36px rgba(0,0,0,.6);
    --band-bg: #1c1c1e; --band-fg: #f5f5f7; --band-soft: #a1a1a6; --band-soft-2: #8a8a8f;
    --band-btn-bg: #3a3a3d; --band-btn-fg: #f5f5f7; --band-line: rgba(255,255,255,.35); --band-input: rgba(255,255,255,.06); --band-input-line: rgba(255,255,255,.16);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f5f7; --ink-2: #e5e5ea; --gray: #a1a1a6; --gray-2: #6e6e73;
  --tile: #1c1c1e; --line: rgba(255,255,255,.1); --white: #0d0d0e; --hero: #1c1c1e; --hero-sub: #a1a1a6;
  --accent: #3a3a3d; --accent-fg: #f5f5f7; --accent-tile: #1c1c1e;
  --inv-text: #a1a1a6; --inv-soft: #8a8a8f; --inv-line: rgba(255,255,255,.1); --inv-pill: #0d0d0e;
  --inv-input: rgba(255,255,255,.06); --inv-input-line: rgba(255,255,255,.16); --inv-highlight: transparent;
 
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 30px rgba(0,0,0,.45); --shadow-up: 0 1px 2px rgba(0,0,0,.5), 0 12px 36px rgba(0,0,0,.6);
  --band-bg: #1c1c1e; --band-fg: #f5f5f7; --band-soft: #a1a1a6; --band-soft-2: #8a8a8f;
  --band-btn-bg: #3a3a3d; --band-btn-fg: #f5f5f7; --band-line: rgba(255,255,255,.35); --band-input: rgba(255,255,255,.06); --band-input-line: rgba(255,255,255,.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font); background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.028em; line-height: 1.04; }
h1 { font-size: clamp(44px, 7.2vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.1; }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 16px; font-weight: 600; padding: 13px 24px; border-radius: 100px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-fg); transition: transform .15s, opacity .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { opacity: .85; }
.btn:active { transform: scale(.98); }
.btn-sm { font-size: 14px; padding: 9px 16px; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { opacity: 1; background: var(--accent); color: var(--accent-fg); }
.btn-white { background: var(--band-btn-bg); border-color: var(--band-btn-bg); color: var(--band-btn-fg); }
.btn-line-white { border-color: var(--band-line); color: var(--band-fg); }
.btn-line-white:hover { background: var(--band-btn-bg); color: var(--band-btn-fg); }
.apple { width: 17px; height: 17px; fill: currentColor; margin-top: -2px; }
.pill { display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 100px; background: var(--tile); color: var(--ink); white-space: nowrap; }
.pill-soft { background: var(--tile); color: var(--hero-sub); white-space: normal; text-align: center; }
.tile .pill { background: var(--white); }
.pill-dark, .tile .pill-dark { background: var(--inv-pill); color: var(--accent-fg); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; }
.more span { transition: transform .2s; }
.more:hover span { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px calc(var(--inset) + 28px); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav-glyph img { height: 30px; width: auto; }
.nav-pill { position: relative; display: flex; gap: 4px; padding: 6px; background: var(--white); border-radius: 100px; box-shadow: var(--shadow); transition: box-shadow .25s; }
.nav.scrolled .nav-pill, .nav.scrolled .nav-right { box-shadow: var(--shadow-up); }
.nav-pill a { position: relative; z-index: 1; padding: 9px 18px; border-radius: 100px; font-size: 15px; font-weight: 600; color: var(--ink); transition: color .2s; }
.nav-pill a.active { color: var(--accent-fg); }
.nav-ind { position: absolute; top: 6px; left: 0; height: calc(100% - 12px); width: 0; border-radius: 100px; background: var(--accent); opacity: 0; transition: left .3s cubic-bezier(.3,.7,.2,1), width .3s cubic-bezier(.3,.7,.2,1), opacity .2s; }
.nav-right { display: flex; align-items: center; gap: 16px; justify-self: end; padding: 5px 5px 5px 18px; background: var(--white); border-radius: 100px; box-shadow: var(--shadow); transition: box-shadow .25s; }
.nav-text { font-size: 15px; font-weight: 600; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 100px; background: var(--white); justify-self: end; box-shadow: var(--shadow); position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); top: 15px; transition: transform .25s, top .25s; }
.nav-burger span + span { top: 23px; }
.nav-burger[aria-expanded="true"] span { top: 19px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span + span { transform: rotate(-45deg); }
.nav-menu { display: none; }
.nav-menu.open { display: flex; position: fixed; inset: 0; z-index: 40; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 22px; font-size: 28px; font-weight: 500; }

/* ---------- bands (full-bleed rounded cards) ---------- */
.band { margin: var(--inset); border-radius: 40px; overflow: hidden; }
.band-hero { background: transparent; margin: 0; position: relative; }
.band-dark { background: var(--band-bg); color: var(--band-fg); }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 132px 28px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-top: 26px; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--hero-sub); max-width: 58ch; margin: 22px auto 0; line-height: 1.45; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.seg { position: relative; display: inline-flex; margin-top: 22px; padding: 5px; background: var(--tile); border-radius: 100px; }
.seg button { position: relative; z-index: 1; padding: 9px 20px; border-radius: 100px; font-size: 15px; font-weight: 600; color: var(--ink); transition: color .25s; }
.seg button[aria-selected="true"] { color: var(--accent-fg); }
.seg-thumb { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: 0; border-radius: 100px; background: var(--accent); transition: left .3s cubic-bezier(.3,.7,.2,1), width .3s cubic-bezier(.3,.7,.2,1); }
.aud { display: none; }
html[data-aud="player"] .aud-player, html[data-aud="owner"] .aud-owner { display: block; }
html[data-aud="player"] .aud-player.actions, html[data-aud="owner"] .aud-owner.actions { display: flex; }
.aud h1, .aud .lead, .aud .actions { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-shot { width: min(380px, 78%); margin: 56px auto 0; position: relative; z-index: 1; }
.hero-shot img { width: 100%; animation: rise .6s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero-strip { display: flex; gap: 8px 36px; justify-content: center; flex-wrap: wrap; padding: 40px 28px 0; font-size: 14px; font-weight: 500; color: var(--gray); }

/* ---------- sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: 120px 28px 0; scroll-margin-top: -106px; } /* anchor lands on the heading (nav 71px + 39px), not on the padded box edge */
.sec-tight { padding-top: 18px; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--gray); max-width: 60ch; line-height: 1.45; }
.sec-head p a { text-decoration: underline; text-underline-offset: 4px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.grid { display: grid; gap: 18px; }
.sec > .grid + .grid, .sec > .tile + .grid, .sec > .grid + .tile, .sec > .tile + .tile { margin-top: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-13 { grid-template-columns: 1fr 2fr; }

.tile { background: var(--tile); border-radius: var(--r); padding: 32px; position: relative; overflow: hidden; }
.tile h3 { margin-top: 22px; }
.tile p { margin-top: 12px; color: var(--gray); max-width: 46ch; line-height: 1.45; }
.tile .more { margin-top: 22px; }
.tile-dark { background: var(--accent-tile); color: var(--accent-fg); background-image: radial-gradient(ellipse 60% 80% at 100% 100%, var(--inv-highlight), transparent 60%); }
.tile-dark p { color: var(--inv-text); }
.tile-feature { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; }
.tile-feature .tile-text { align-self: start; }
.tile-col { display: flex; flex-direction: column; align-items: flex-start; }
.tile-shot { justify-self: center; width: min(280px, 90%); margin: 28px 0 0; }
.tile-shot-r { justify-self: center; width: min(280px, 90%); }
.tile-shot-b { width: min(240px, 80%); margin: 36px auto 0; }
.tile-shot img { width: 100%; }
.tile-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 26px 32px; }
.tile-row .more { margin-top: 0; }
.row-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-right: auto; }
.row-title b { font-weight: 600; }

.stat { display: flex; flex-direction: column; min-height: 220px; }
.stat-label { font-size: 15px; color: var(--gray); }
.stat-num { margin-top: auto; font-size: clamp(34px, 3.2vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat-num b { font-weight: inherit; }
.stat-sub { margin-top: 8px; font-size: 15px; color: var(--gray); min-height: 2.6em; }

.tile-step { display: flex; flex-direction: column; }
.step { width: 40px; height: 40px; border-radius: 100px; background: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 16px; }
.tile-step .tile-shot { margin-top: auto; padding-top: 32px; }

/* ---------- tabs ---------- */
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; background: var(--tile); border-radius: 100px; margin-bottom: 18px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; padding: 10px 20px; border-radius: 100px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: color .25s; }
.tabs button[aria-selected="true"] { color: var(--accent-fg); }
.tabs-thumb { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: 0; border-radius: 100px; background: var(--accent); transition: left .3s cubic-bezier(.3,.7,.2,1), width .3s cubic-bezier(.3,.7,.2,1); }
.tile-panel { padding: 0; }
.panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 40px; animation: rise .4s cubic-bezier(.2,.7,.2,1) both; }
.panel[hidden] { display: none; }
.feat { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; align-content: start; }
.feat li { display: flex; flex-direction: column; gap: 4px; }
.feat b { font-weight: 600; font-size: 17px; }
.feat span { color: var(--gray); font-size: 15px; line-height: 1.4; }
.panel-shot { align-self: center; justify-self: center; width: min(280px, 100%); }

/* ---------- gallery ---------- */
.chips { display: inline-flex; gap: 6px; padding: 5px; background: var(--tile); border-radius: 100px; }
.chips button { padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.chips button[aria-selected="true"] { background: var(--accent); color: var(--accent-fg); }
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px calc(50vw - 50%) 24px; margin: 0 calc(50% - 50vw); scroll-padding: 0 max(28px, calc(50vw - 532px)); scrollbar-width: none; }
.scroll-hint { margin-top: 14px; font-size: 15px; color: var(--gray); }
.scroll-hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 auto; scroll-snap-align: start; transition: opacity .3s, transform .3s; }
.gallery figure.dim { opacity: .28; transform: scale(.96); }
.gallery img { width: min(268px, 70vw); }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--gray); text-align: center; }

/* ---------- pricing ---------- */
.price h3 { margin-top: 0; font-size: 22px; letter-spacing: -0.01em; }
.price .pill { position: absolute; top: 20px; right: 20px; }
.tile p.amount { margin-top: 26px; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: inherit; max-width: none; }
.amount span { font-size: 16px; color: var(--gray); font-weight: 500; margin-left: 2px; }
.tile-dark .amount span { color: var(--inv-soft); }
.pdesc { margin-top: 8px; font-size: 14px; min-height: 2.9em; }
.price ul { list-style: none; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.tile-dark ul { border-top-color: var(--inv-line); }
/* Pro stands out in dark mode too: lighter graphite, thin light ring, accent pill */
:root[data-theme="dark"] .price.tile-dark { background: #262629; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
:root[data-theme="dark"] .price.tile-dark .pill { background: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .price.tile-dark { background: #262629; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
  :root:not([data-theme="light"]) .price.tile-dark .pill { background: var(--accent); }
}
.note { margin-top: 20px; font-size: 14px; color: var(--gray); max-width: 80ch; line-height: 1.5; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--gray); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { padding: 0 0 24px; color: var(--gray); max-width: 62ch; line-height: 1.5; }

/* ---------- closing band, footer ---------- */
.band-dark { margin-top: 120px; }
.cta { max-width: 760px; margin: 0 auto; padding: 120px 28px; text-align: center; }
.cta h2 { font-size: clamp(40px, 6vw, 80px); }
.cta p { margin: 22px auto 0; font-size: 18px; color: var(--band-soft); max-width: 52ch; }
.cta-small { margin-top: 44px; font-size: 15px; color: var(--band-soft-2); }
.cta-form { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.cta-form input { font: inherit; font-size: 16px; padding: 12px 20px; border-radius: 100px; border: 1px solid var(--band-input-line); background: var(--band-input); color: var(--band-fg); min-width: 280px; }
.cta-form input::placeholder { color: var(--band-soft-2); }
.cta-thanks { font-size: 17px; font-weight: 500; color: var(--band-fg); }
.cta-error { width: 100%; font-size: 14px; color: var(--band-soft); }
.footer { max-width: var(--max); margin: 0 auto; padding: 56px 28px 48px; }
.foot-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-logo { height: 30px; width: auto; }
.foot-top p { font-size: 15px; color: var(--gray); max-width: 44ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.foot-cols a { display: block; font-size: 15px; color: var(--gray); padding: 5px 0; }
.foot-cols a:hover { color: var(--ink); }
.foot-fine { margin-top: 44px; font-size: 13px; color: var(--gray-2); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.foot-bottom .foot-fine { margin-top: 0; }
.theme { display: inline-flex; gap: 2px; padding: 4px; background: var(--tile); border-radius: 100px; }
.theme button { padding: 6px 12px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--gray); transition: background .2s, color .2s; }
.theme button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }
:root[data-theme="dark"] .foot-logo, :root[data-theme="dark"] .nav-glyph img, :root[data-theme="dark"] .nav-menu .nav-logo { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot-logo, :root:not([data-theme="light"]) .nav-glyph img { filter: invert(1); } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 180px; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; padding: 14px calc(var(--inset) + 14px); }
  .nav-pill, .nav-right { display: none; }
  .nav-burger { display: block; }
  .hero { padding-top: 96px; }
  h1 br, h2 br { display: none; }
  .grid-3, .grid-13, .grid-4, .faq-grid { grid-template-columns: 1fr; }
  .tile-feature { grid-template-columns: 1fr; min-height: 0; }
  .tile-step { min-height: 0; }
  .panel { grid-template-columns: 1fr; padding: 28px 24px; }
  .feat { grid-template-columns: 1fr; }
  .sec { padding-top: 88px; scroll-margin-top: -96px; }
  .tile { padding: 26px 22px; border-radius: 26px; }
  .tile-row .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr; }
  .band { margin: 8px; border-radius: 28px; }
}
