/* Blume Notebook's site: the app's own paper and purple, Blume Display
   (Merriweather) over Blume Body (Hanken Grotesk), the drawn phones and
   the report drawn as the PDF is. One sheet, no framework. */

:root {
  --paper: #F6F8FC; --raised: #FFFFFF; --sunk: #EAEDF4; --wash: #F1EEF4;
  --ink: #2F2F2F; --muted: #5C6370; --line: #E3E6EE; --line-strong: #D6D6D6;
  --accent: #775496; --accent-deep: #5E4178; --on-accent: #FFFFFF; --glow: rgba(119,84,150,.18);
  --success: #4D7A43; --success-wash: #EAEFE8; --danger: #C24D42; --danger-wash: #F9EDEC;
  --warning: #946514; --warning-wash: #F6EEDD;
  --bezel: #1C1C1F; --frost: rgba(255,255,255,.8);
  --band: #1E1A22; --band-raised: #2A2430; --band-ink: #F3EEF7; --band-muted: #B9AFC4; --band-line: #3C3443; --band-accent: #D3ADF5;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --lift: 0 30px 60px -24px rgba(40,20,60,.35), 0 2px 6px rgba(40,20,60,.08);
  --display: "Merriweather", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1B1B; --raised: #242424; --sunk: #161616; --wash: #3B3540;
    --ink: #F0F0F0; --muted: #A3AAB5; --line: #333333; --line-strong: #454545;
    --accent: #D3ADF5; --accent-deep: #E4C9FA; --on-accent: #1A1A1A; --glow: rgba(211,173,245,.13);
    --success: #70CD88; --success-wash: #2D3A30; --danger: #F87171; --danger-wash: #402D2D;
    --warning: #FFC409; --warning-wash: #3D3522;
    --bezel: #050505; --frost: rgba(48,48,48,.82);
    --band: #121014; --band-raised: #1F1B23; --band-line: #332D38;
    --shadow: 0 1px 2px rgba(0,0,0,.45), 0 4px 14px rgba(0,0,0,.3);
    --lift: 0 30px 60px -24px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1B1B1B; --raised: #242424; --sunk: #161616; --wash: #3B3540;
  --ink: #F0F0F0; --muted: #A3AAB5; --line: #333333; --line-strong: #454545;
  --accent: #D3ADF5; --accent-deep: #E4C9FA; --on-accent: #1A1A1A; --glow: rgba(211,173,245,.13);
  --success: #70CD88; --success-wash: #2D3A30; --danger: #F87171; --danger-wash: #402D2D;
  --warning: #FFC409; --warning-wash: #3D3522;
  --bezel: #050505; --frost: rgba(48,48,48,.82);
  --band: #121014; --band-raised: #1F1B23; --band-line: #332D38;
  --shadow: 0 1px 2px rgba(0,0,0,.45), 0 4px 14px rgba(0,0,0,.3);
  --lift: 0 30px 60px -24px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.4);
  color-scheme: dark;
}
.on-ink { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-paper { display: none; }
  :root:not([data-theme="light"]) .on-ink { display: block; }
}
:root[data-theme="dark"] .on-paper { display: none; }
:root[data-theme="dark"] .on-ink { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.18; letter-spacing: -.012em; text-wrap: balance; margin: 0; }
h4 { font-family: var(--body); font-weight: 700; font-size: 1.06rem; line-height: 1.35; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.ico { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.02rem; padding-left: 12px; border-left: 1px solid var(--line-strong); }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .95rem; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; background-image: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%); }
.btn:hover { filter: brightness(1.06); }
.btn.tonal { background: var(--wash); color: var(--accent); background-image: none; }
.btn.light { background: var(--band-accent); color: #1A1A1A; }
.btn .ico { font-size: 18px; }

/* Store badges, placeholders until the apps are live */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 176px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid #A6A6A6; text-decoration: none; cursor: default; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: .68rem; letter-spacing: .02em; opacity: .85; }
.store b { font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.store .soon { position: absolute; top: -9px; right: -8px; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store { border-color: #5a5a5a; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; max-width: 130%; background: radial-gradient(closest-side, var(--glow), transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 56px 88px; }
.free { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; background: var(--success-wash); color: var(--success); }
.free .ico { font-size: 17px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 900; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.18rem; max-width: 34em; margin-top: 22px; color: var(--muted); }
.lede b { color: var(--ink); font-weight: 600; }
.hero .stores { margin-top: 32px; }

.stage { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.stage .phone { position: relative; z-index: 1; }
.stage .mini-report { position: absolute; z-index: 2; right: -12px; bottom: -18px; width: 236px; }
@media (max-width: 1100px) { .stage .mini-report { right: 0; } }

/* The drawn phone */
.phone { width: 300px; max-width: 100%; border-radius: 48px; background: var(--bezel); padding: 10px; box-shadow: var(--lift); }
.screen { position: relative; border-radius: 38px; background: var(--paper); overflow: hidden; padding: 18px 16px 92px; font-size: 12px; line-height: 1.35; min-height: 590px; }
.notch { width: 96px; height: 26px; border-radius: 14px; background: var(--bezel); margin: -8px auto 14px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 17px; }
.ph-top span { display: flex; gap: 12px; align-items: center; }
.disc { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.ph-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 14px; }
.ph-title { font-family: var(--display); font-weight: 700; font-size: 26px; margin-top: 2px; }
.capsule { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); margin-top: 12px; box-shadow: var(--shadow); }
.capsule span { font-family: var(--display); font-size: 11px; padding: 5px 9px; border-radius: 999px; color: var(--muted); }
.capsule span.on { background: var(--wash); color: var(--accent); font-weight: 700; }
.ph-h { font-family: var(--display); font-weight: 700; font-size: 15px; margin: 16px 0 8px; }
.ph-over { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin: 14px 0 6px; }
.ev { display: flex; gap: 10px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 9px 11px; margin-bottom: 7px; }
.ev .bar { width: 3px; align-self: stretch; border-radius: 3px; background: var(--accent); }
.ev .bar.late { background: var(--danger); }
.ev .bar.rem { background: var(--warning); }
.ev div { flex: 1; min-width: 0; }
.ev b { display: block; font-size: 12px; }
.ev small { color: var(--muted); font-size: 10.5px; }
.tag { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--wash); color: var(--accent); font-style: normal; white-space: nowrap; }
.tag.late { background: var(--danger-wash); color: var(--danger); }
.tag.done { background: var(--success-wash); color: var(--success); }
.ev.faded { opacity: .6; }
.ev.faded b { text-decoration: line-through; }
.ph-bar { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; gap: 8px; align-items: center; }
.ph-tabs { flex: 1; display: flex; justify-content: space-around; background: var(--frost); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; padding: 7px 4px; box-shadow: var(--shadow); }
.ph-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; color: var(--muted); padding: 2px 8px; border-radius: 999px; }
.ph-tabs span .ico { font-size: 17px; }
.ph-tabs span.on { color: var(--accent); background: var(--wash); font-weight: 700; }
.ph-plus { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%), var(--accent); color: var(--on-accent); font-size: 22px; box-shadow: 0 0 0 2px var(--raised), var(--shadow); }

/* Ask Allan's phone */
.chat { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.q { align-self: flex-end; max-width: 82%; background: var(--accent); color: var(--on-accent); border-radius: 18px 18px 4px 18px; padding: 9px 12px; font-size: 12px; }
.a { background: var(--raised); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 11px 12px; font-size: 11.5px; display: flex; flex-direction: column; gap: 7px; }
.a ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 3px; }
.a .src { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--accent); padding-top: 7px; border-top: 1px solid var(--line); }
.composer { position: absolute; left: 14px; right: 14px; bottom: 18px; display: flex; align-items: center; gap: 8px; background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 14px; color: var(--muted); font-size: 11.5px; box-shadow: var(--shadow); }
.composer span { flex: 1; }
.composer i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 15px; font-style: normal; }
.ph-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: var(--muted); }

/* Sections */
section { padding-block: 104px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 46em; margin-bottom: 48px; }
.head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.head p:not(.eyebrow) { font-size: 1.15rem; color: var(--muted); }
.head.center { margin-inline: auto; text-align: center; align-items: center; }

/* Proof strip */
.proof { padding-block: 0; }
.proof .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof div { display: flex; gap: 14px; align-items: flex-start; background: var(--raised); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.proof .glyph { width: 44px; height: 44px; font-size: 21px; }
.proof b { display: block; font-size: 1.04rem; }
.proof span { font-size: .95rem; color: var(--muted); }
.glyph { width: 52px; height: 52px; border-radius: 50%; background: var(--wash); color: var(--accent); display: grid; place-items: center; font-size: 24px; flex: none; }

/* From sign-up to a report */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line-strong)); }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 14px; min-width: 0; }
.steps .n { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 2px solid var(--accent); color: var(--accent); font-size: 24px; box-shadow: 0 0 0 8px var(--paper); }
.steps li:last-child .n { background: var(--accent); color: var(--on-accent); }
.steps h3 { font-size: 1.15rem; margin-top: 6px; }
.steps p { color: var(--muted); font-size: .97rem; }
.steps .when { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.nothing { margin: 48px auto 0; max-width: 44em; display: flex; gap: 14px; align-items: center; justify-content: center; text-align: center; background: var(--wash); border-radius: 18px; padding: 18px 24px; font-weight: 600; color: var(--accent); }
.nothing .ico { font-size: 24px; }

/* The report */
.reports { background: linear-gradient(180deg, var(--paper), var(--sunk)); }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; }
.sheet { background: #FFFFFF; color: #2F2F2F; border-radius: 6px; box-shadow: var(--lift); padding: 36px 36px 26px; font-size: 12.5px; line-height: 1.45; --r-accent: #775496; --r-muted: #5C6370; --r-line: #E3E6EE; --r-track: #EAEDF4; --r-wash: #F1EEF4; --r-green: #4D7A43; --r-green-wash: #EAEFE8; --r-amber: #946514; }
.sheet .r-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.sheet .r-days { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--r-accent); }
.sheet .r-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; margin-top: 4px; }
.sheet .r-meta { color: var(--r-muted); margin-top: 4px; }
.sheet .r-logo { width: 64px; flex: none; }
.sheet .r-h { font-family: var(--display); font-weight: 700; font-size: 15px; margin: 26px 0 10px; }
.glance { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; border-radius: 14px; padding: 20px; background: linear-gradient(180deg, var(--r-green-wash), #fff); margin-top: 22px; }
.glance .verdict { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; }
.glance .verdict b { font-family: var(--display); font-size: 19px; color: var(--r-green); }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .fig { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .fig b { font-family: var(--body); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring .fig small { font-size: 9.5px; color: var(--r-muted); }
.ring.sm { width: 76px; height: 76px; }
.ring.sm .fig b { font-size: 16px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--r-green-wash); color: var(--r-green); white-space: nowrap; }
.chip.purple { background: var(--r-wash); color: var(--r-accent); }
.t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.t th { text-align: left; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--r-muted); padding: 0 0 6px; border-bottom: 1px solid var(--r-line); }
.t td { padding: 6px 0; border-bottom: 1px solid var(--r-line); }
.t td:first-child { color: var(--r-muted); }
.t td:not(:first-child), .t th:not(:first-child) { text-align: right; font-weight: 700; }
.t tr:last-child td { border-bottom: 0; }
.t .up { color: var(--r-green); }
.facts { grid-column: 1 / -1; margin: 0; padding-left: 1.1em; color: #2F2F2F; display: flex; flex-direction: column; gap: 3px; }
.r-card { border: 1px solid var(--r-line); border-radius: 12px; padding: 16px 18px; }
.r-goal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: center; }
.r-goal .gname { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.r-goal .gname b { font-size: 13.5px; }
.r-goal .gname small { display: block; color: var(--r-muted); font-size: 11px; }
.r-goal .t { grid-column: 1 / -1; }
.chart-card .over { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: var(--r-muted); }
.chart-card svg { width: 100%; height: auto; display: block; margin-top: 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 10px; color: var(--r-muted); margin-top: 4px; }
.legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 5px; }
.ptt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 12px; font-size: 10.5px; }
.ptt .track { height: 7px; border-radius: 9px; background: var(--r-track); overflow: hidden; }
.ptt .track span { display: block; height: 100%; width: 75%; border-radius: 9px; background: var(--r-green); }
.ptt b { font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; margin-top: 10px; }
.bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--r-accent); opacity: .85; }
.stack { display: flex; height: 9px; border-radius: 9px; overflow: hidden; margin-top: 10px; }
.stack span:nth-child(1) { background: var(--r-green); }
.stack span:nth-child(2) { background: #C24D42; }
.stack span:nth-child(3) { background: var(--r-track); }
.mini-label { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--r-muted); }
.r-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--r-line); font-size: 9.5px; color: var(--r-muted); }
.sheet-wrap { position: relative; }
.sheet-wrap .share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 22px; background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; box-shadow: var(--shadow); font-size: .92rem; }
.share b { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.share span { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.share span i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--accent); font-size: 15px; font-style: normal; }
.pdf { position: absolute; z-index: 2; right: -14px; top: -16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.points { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 110px; }
.point { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.point .glyph { width: 44px; height: 44px; font-size: 20px; }
.point h3 { font-size: 1.18rem; margin-bottom: 4px; }
.point p { color: var(--muted); }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.kind { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kind .ico { font-size: 22px; color: var(--accent); margin-bottom: 6px; }
.kind p { font-size: .94rem; color: var(--muted); }

/* Educators */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--raised); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature .glyph { width: 46px; height: 46px; font-size: 22px; margin-bottom: 4px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); }
.feature .fine { font-size: .9rem; color: var(--accent); font-weight: 600; margin-top: auto; padding-top: 6px; }

/* Ask Allan */
.ask { background: var(--band); color: var(--band-ink); }
.ask .eyebrow { color: var(--band-accent); }
.ask .head p:not(.eyebrow) { color: var(--band-muted); }
.ask-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pillar { background: var(--band-raised); border: 1px solid var(--band-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pillar .big { font-family: var(--display); font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--band-accent); }
.pillar h3 { font-size: 1.15rem; }
.pillar p { color: var(--band-muted); font-size: .97rem; }
.ask .scope { margin-top: 22px; color: var(--band-muted); font-size: .95rem; max-width: 46em; }
.ask .phone { --paper: #1B1B1B; --raised: #242424; --line: #333333; --ink: #F0F0F0; --muted: #A3AAB5; --wash: #3B3540; --accent: #D3ADF5; --on-accent: #1A1A1A; --frost: rgba(48,48,48,.82); color: #F0F0F0; margin-inline: auto; }

/* Allan Blume */
.allan .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: var(--lift); }
.portrait figcaption { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.portrait figcaption b { display: block; font-size: 1rem; color: var(--ink); }
.allan h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 10px; }
.allan .copy { display: flex; flex-direction: column; gap: 16px; }
.allan .copy > p { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 8px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1.05; color: var(--accent); }
.stats span { font-size: .92rem; color: var(--muted); }

/* Districts */
.districts { background: var(--sunk); }
.d-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 56px; }
.d-top .head { margin-bottom: 0; }
.path-card { background: var(--raised); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.path-card ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.path-card li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.path-card li i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--accent); font-style: normal; font-weight: 700; font-family: var(--display); }
.path-card li:last-child i { background: var(--accent); color: var(--on-accent); }
.path-card li span { padding-top: 6px; }
.path-card li b { display: block; }
.path-card li small { color: var(--muted); font-size: .92rem; }
.d-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.d-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; border-radius: 24px; padding: 32px 36px; background: var(--band); color: var(--band-ink); }
.d-cta h3 { font-size: 1.5rem; }
.d-cta p { color: var(--band-muted); margin-top: 4px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.04rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { color: var(--accent); font-size: 20px; transition: transform .2s; }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); }

/* Closing */
.closing { text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); max-width: 18em; }
.closing p { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.closing .stores { justify-content: center; margin-top: 12px; }
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-block: 32px 48px; color: var(--muted); font-size: .92rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer img { width: 72px; }

/* Narrow */
@media (max-width: 1000px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero .wrap, .report-grid, .ask-grid, .d-top, .allan .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 32px 64px; gap: 40px; }
  .stage .mini-report { right: 50%; transform: translateX(calc(50% + 150px)); }
  .proof .wrap, .features, .d-grid { grid-template-columns: minmax(0, 1fr); }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { display: none; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: -28px; width: 2px; background: var(--line-strong); }
  .steps li:first-child::after { background: var(--accent); }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); text-align: left; align-items: start; padding: 0; gap: 4px 18px; }
  .steps li .n { grid-row: span 4; }
  .steps h3 { margin-top: 0; }
  .allan .wrap { gap: 32px; }
  .portrait { max-width: 320px; }
  section { padding-block: 72px; }
  .points { position: static; }
  .sheet-wrap .share { border-radius: 18px; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .brand span { display: none; }
  .pillars, .two { grid-template-columns: minmax(0, 1fr); }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .sheet { padding: 24px 18px 18px; }
  .glance { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .stage .mini-report { display: none; }
  .d-cta { padding: 26px; }
  .pdf { right: auto; left: 18px; }
}

/* The app's own icon, at the download */
.app-icon { width: 120px; height: 120px; border-radius: 26.5%; box-shadow: var(--lift); margin-bottom: 6px; }

/* Program insights: Blume Admin, in its slate */
.insights { margin-bottom: 72px; padding: 48px; border-radius: 32px; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); }
.insights .head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.ins-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.answer { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.answer .glyph { width: 44px; height: 44px; font-size: 20px; }
.answer h3 { font-size: 1.15rem; margin-bottom: 4px; }
.answer p { color: var(--muted); font-size: .97rem; }
.phone.admin { --accent: #5D7B93; --wash: #EFF2F4; --on-accent: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone.admin { --accent: #AEBECC; --wash: #35383A; --on-accent: #1A1A1A; } }
:root[data-theme="dark"] .phone.admin { --accent: #AEBECC; --wash: #35383A; --on-accent: #1A1A1A; }
.ad-hero { margin-top: 12px; border-radius: 16px; padding: 14px; background: linear-gradient(180deg, var(--success-wash), var(--raised)); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ad-hero b { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--success); }
.ad-hero span { font-weight: 700; font-size: 12px; margin-top: 4px; }
.ad-hero small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.ad-high { display: flex; gap: 10px; align-items: center; margin-top: 8px; border-radius: 14px; padding: 10px 12px; background: var(--raised); border: 1px solid var(--line); }
.ad-high b { font-family: var(--display); font-weight: 900; font-size: 19px; color: var(--accent); min-width: 48px; }
.ad-high span { font-weight: 700; font-size: 11.5px; display: flex; flex-direction: column; }
.ad-high small { font-weight: 400; color: var(--muted); font-size: 9.5px; }
.ad-rows { display: flex; flex-direction: column; gap: 6px; }
.ad-rows p { display: grid; grid-template-columns: 1fr 52px 30px; gap: 8px; align-items: center; font-size: 10.5px; }
.ad-rows i { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--success) var(--w), var(--sunk) var(--w)); }
.ad-rows b { text-align: right; font-variant-numeric: tabular-nums; }
.cuts { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cuts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cuts li { font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 999px; background: var(--wash); color: var(--accent); }
.cuts .muted { font-size: .95rem; }
.meeting { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.meeting div { border-radius: 18px; padding: 20px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.meeting p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) {
  .insights { padding: 28px 20px; border-radius: 24px; }
  .ins-grid, .answers, .meeting { grid-template-columns: minmax(0, 1fr); }
  .ins-grid { gap: 40px; }
  .phone.admin { margin-inline: auto; }
}

/* The fork: on your own, or with your team */
.hero-fork { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-fork a { display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); text-decoration: none; }
.hero-fork a:hover { border-color: var(--accent); }
.hero-fork .ico { font-size: 22px; color: var(--accent); }
.hero-fork span { display: flex; flex-direction: column; line-height: 1.25; }
.hero-fork b { font-size: .95rem; }
.hero-fork small { font-size: .82rem; color: var(--muted); }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.way { display: flex; flex-direction: column; gap: 10px; border-radius: 28px; padding: 36px; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.way.own { border: 1.5px solid var(--accent); }
.way .glyph { width: 50px; height: 50px; font-size: 24px; margin-bottom: 6px; }
.way h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.way ul { list-style: none; margin: 8px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.way li { display: flex; gap: 10px; align-items: flex-start; }
.way li .ico { color: var(--success); margin-top: 5px; flex: none; }
.way .btn { margin-top: auto; align-self: flex-start; }
.faq-group { font-size: 1.1rem; margin: 22px 0 4px; color: var(--muted); }
.faq-group:first-child { margin-top: 0; }
.closing-team { margin-top: 22px; color: var(--muted); }
.closing-team a { color: var(--accent); font-weight: 700; white-space: nowrap; }
@media (max-width: 720px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way { padding: 28px 22px; border-radius: 24px; }
}

/* Goals: the seven parts */
.goals .head, .data .head { margin-bottom: 40px; }
.g-grid, .o-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.o-grid { grid-template-columns: minmax(0, 1fr) 300px; }
.g-grid .points, .o-grid .points { position: static; }
.o-grid .points { max-width: 34em; }
.anatomy { border-radius: 28px; padding: 32px; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.a-over { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sentence { font-family: var(--display); font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.9; margin-top: 12px; }
.pt { background: linear-gradient(transparent 58%, var(--wash) 58%); padding: 0 1px; }
.pt i, .parts i { font-style: normal; font-family: var(--body); display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; margin-right: 5px; vertical-align: 2px; }
.parts { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.parts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-content: start; gap: 0 4px; font-size: .95rem; }
.parts i { grid-row: span 2; margin-top: 2px; }
.parts span { color: var(--muted); font-size: .9rem; }
.path { margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: var(--paper); }
.path-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.path .end { display: flex; flex-direction: column; line-height: 1.15; }
.path .end small { font-size: .78rem; color: var(--muted); }
.path .end b { font-family: var(--display); font-size: 1.4rem; }
.path .end.goal { text-align: right; color: var(--success); }
.track { position: relative; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--line-strong), var(--success)); }
.track i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--raised); border: 2px solid var(--success); }
.bench { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; font-size: .88rem; }
.bench span { color: var(--muted); margin-right: 4px; }
.bench b { padding: 2px 10px; border-radius: 999px; background: var(--success-wash); color: var(--success); }

/* Data collection: the observation */
.data { background: var(--sunk); }
.phone.obs { margin-inline: auto; }
.phone.obs .screen { padding-bottom: 20px; min-height: 0; }
.phone.obs .ph-top .x { font-size: 22px; line-height: 1; }
.f-card { margin-top: 8px; border-radius: 14px; padding: 10px 12px; background: var(--raised); border: 1px solid var(--line); }
.f-card.cond { margin-top: 12px; background: var(--wash); border-color: transparent; }
.f-card.cond p:last-child { font-size: 11px; margin-top: 3px; }
.f-over { font-size: 9px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 11px; }
.step + .step { border-top: 1px solid var(--line); }
.step b { display: flex; align-items: center; gap: 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.step b i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--accent); font-size: 14px; }
.worked { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; border-radius: 14px; padding: 10px 12px; background: var(--success-wash); font-size: 11px; }
.worked b { color: var(--success); font-size: 13px; }
.tog { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 700; }
.sw { width: 32px; height: 18px; border-radius: 999px; background: var(--line-strong); position: relative; }
.sw.on { background: var(--accent); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.sw.on::after { left: 16px; }
.kinds-row { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.kinds-row .k { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.kinds-row .k.on { background: var(--wash); color: var(--accent); font-weight: 700; }
.level { margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--accent); }
.hold { margin-top: 12px; text-align: center; padding: 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 12px; }
.measures { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.measures ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.measures li { font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); }
@media (max-width: 1000px) {
  .g-grid, .o-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .o-grid .phone { order: -1; }
}
@media (max-width: 720px) {
  .anatomy { padding: 22px 18px; border-radius: 22px; }
  .parts { grid-template-columns: minmax(0, 1fr); }
}
