/* Playbook Builder page — AVELaunch, web style "Site 2026".
   Brand values: brand/BRAND.md (2026-10-17). Colours and font names appear only in :root and @font-face (R14). */
:root {
  --color-bg: #F8F7F4;          /* editorial white 300, page */
  --color-text: #0B1424;        /* rich black 500, ink */
  --color-muted: #5D6C86;       /* rich black 400: only on page, 4.96 : 1 */
  --color-brand: #7C9EC7;       /* vista blue 500: fields; ink text on it 6.64 : 1 */
  --color-action: #E0A800;      /* amber 400: buttons; ink label 8.57 : 1 */
  --color-on-action: #0B1424;
  --color-action-hover: #F2BB16;/* amber 300; ink label 10.44 : 1 */
  --color-surface: #C7D2E3;     /* soft; ink on it 12.07 : 1 */
  --color-dark: #0B1424;
  --color-on-dark: #F8F7F4;
  --color-line: #C7D2E3;
  --color-field: #0B1424;
  --color-photo-grey: #919191;  /* the flat background of the brand image hero-back-accent.png */
  --font-body: "Mulish", system-ui, sans-serif;
  --font-script: "Comforter", cursive;
  --radius: 0;
  --line: 3px;
  --hairline: 1.5px;
  --margin: 20px;
  --pad: 72px;
  /* type scale (R36): phone 13 · 16 · 24 · 36 · 54 · 81 / desktop 13 · 17 · 26 · 50 · 100 · 150 */
  --t-fine: 13px;
  --t-body: 16px;
  --t-lead: 24px;
  --t-h2: 36px;
  --t-h1: 54px;
  --t-script: 81px;
  --t-script-sec: 54px;
  --t-num: 54px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-move: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 1024px) {
  :root { --margin: 50px; --pad: 150px; --t-body: 17px; --t-lead: 26px; --t-h2: 50px; --t-h1: 100px; --t-script: 150px; --t-script-sec: 100px; --t-num: 100px; }
}

@font-face { font-family: "Mulish"; src: url(fonts/mulish.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Comforter"; src: url(fonts/comforter.woff2) format("woff2"); font-weight: 400; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font: 400 var(--t-body)/1.55 var(--font-body); }
h1, h2, h3, p, ol, ul, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-action); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared type ---------- */
.fine { font-size: var(--t-fine); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; }
.h2 { font-size: var(--t-h2); font-weight: 900; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.lead { font-size: var(--t-lead); line-height: 1.35; }
.script { font-family: var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.measure { max-width: 62ch; }
.wrap { width: 100%; max-width: 1540px; margin: 0 auto; padding: 0 var(--margin); }
.sec { padding: var(--pad) 0; position: relative; }
.s-page { background: var(--color-bg); }
.s-soft { background: var(--color-surface); }
.s-blue { background: var(--color-brand); }
.s-ink { background: var(--color-dark); color: var(--color-on-dark); }
.sec-head { margin-bottom: 56px; }
.sec-head .fine { margin-bottom: 20px; }
.sec-head .lead { margin-top: 28px; max-width: 34ch; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 96px; } }

/* ---------- buttons (answer "Brand": square, amber, 3 px border, uppercase black) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px;
  background: var(--color-action); border: var(--line) solid var(--color-action); color: var(--color-on-action);
  font: 900 var(--t-body)/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer; border-radius: var(--radius);
  transition: background-color .16s ease, transform .16s ease, border-color .16s ease; }
.btn:hover, .btn:focus-visible { background: var(--color-action-hover); border-color: var(--color-action-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--color-action); color: var(--color-on-action); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: var(--t-fine); }
.acts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.textlink { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--color-action); }

/* ---------- header ---------- */
.top { position: absolute; z-index: 10; inset: 0 0 auto 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: none; }
.logo { display: block; width: 132px; color: var(--color-text); }
.logo svg { width: 100%; height: auto; }
.nav { display: none; }
.top .btn .long { display: none; }
@media (min-width: 1024px) {
  .top .wrap { height: 96px; padding-left: max(var(--margin), calc((100vw - 1440px) / 2)); }
  .logo { width: 168px; }
  .left { display: flex; align-items: center; gap: 48px; }
  .nav { display: flex; gap: 28px; }
  .nav a { font-size: var(--t-fine); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
  .nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .top .btn .long { display: inline; }
}

/* ---------- 1. hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--color-bg); overflow: clip; }
.hero-copy { padding: 96px var(--margin) 64px; position: relative; z-index: 3; }
.hero h1 { font-size: var(--t-h1); font-weight: 900; line-height: .98; letter-spacing: .012em; text-transform: uppercase; margin: 16px 0 26px; }
.hero h1 .script { font-size: var(--t-script); line-height: 0; position: relative; top: .04em; margin: 0 .02em 0 .04em; }
.hero h1 .l4 { display: block; margin-top: .56em; }
.hero h1 br { display: none; }
.hero .lead { font-size: var(--t-body); max-width: 40ch; }
.hero .acts { margin-top: 24px; }
.hero .acts .btn { min-width: 100%; }
.hero-meta { margin-top: 18px; color: var(--color-muted); }
.field { position: relative; height: 460px; background: var(--color-photo-grey); }
.field .walker { position: absolute; right: 7%; bottom: 0; height: 94%; width: auto; z-index: 2; }
.flake { position: absolute; overflow: visible; pointer-events: none; }
.flake line, .flake polygon { fill: none; stroke: currentColor; stroke-width: var(--line); vector-effect: non-scaling-stroke; stroke-linecap: square; stroke-linejoin: miter; }
.hero .flake { width: 330px; left: -6px; top: -64px; }
.hero .flake--ink { color: var(--color-text); z-index: 1; }
.field-clip { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.hero .flake--white { color: var(--color-on-dark); }
.hero .flake line, .hero .flake polygon { vector-effect: none; stroke-width: 2; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 61fr 39fr; min-height: max(780px, 100svh); }
  .hero-copy { padding: 124px var(--margin) 56px max(var(--margin), calc((100vw - 1440px) / 2)); align-self: center; }
  .hero h1 { margin: 22px 0 46px; }
  .hero h1 br { display: inline; }
  .hero .lead { font-size: var(--t-lead); max-width: 36ch; }
  .hero .acts { margin-top: 36px; }
  .hero .acts .btn { min-width: 0; }
  .field { height: auto; }
  .hero .flake { width: 600px; left: -210px; top: calc(50% - 250px); }
  .hero .flake line, .hero .flake polygon { stroke-width: 1.1; }
}

/* ---------- 2. problem, over the workroom ---------- */
.problem { padding: 0; position: relative; overflow: clip; }
.problem .photo { position: relative; height: 300px; background: var(--color-dark); }
.problem .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.problem .body { padding: 56px var(--margin) var(--pad); position: relative; z-index: 2; }
.quote-big { font-size: var(--t-h2); font-weight: 300; line-height: 1.12; letter-spacing: -.005em; max-width: 18ch; }
.quotes { margin-top: 40px; display: grid; gap: 22px; }
.quotes p { font-size: var(--t-lead); font-weight: 300; line-height: 1.3; color: var(--color-surface); }
.heard { margin-top: 28px; color: var(--color-surface); }
.answer { margin-top: 56px; padding-top: 28px; border-top: var(--line) solid var(--color-brand); max-width: 34ch; }
.answer p + p { margin-top: 12px; }
.answer strong { font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 1024px) {
  .problem { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 920px; }
  .problem .photo { position: absolute; inset: 0; height: auto; }
  .problem .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-dark) 0%, color-mix(in srgb, var(--color-dark) 88%, transparent) 38%, color-mix(in srgb, var(--color-dark) 20%, transparent) 72%, transparent 100%); }
  .problem .body { padding: var(--pad) var(--margin); max-width: 1540px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; align-content: center; }
  .problem .said { grid-column: 1 / 8; }
  .quote-big { max-width: 17ch; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; margin-top: 64px; }
  .answer { grid-column: 1 / 7; margin-top: 72px; }
}

/* ---------- 3. the learning loop (signature moment) ---------- */
.loop-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.loop-left, .loop-stick { display: contents; }
.pile { order: 3; }
.loop-fig { position: sticky; top: 0; z-index: 4; background: var(--color-brand); padding: 26px 0 10px; margin: 0 calc(var(--margin) * -1); }
.ring-box { position: relative; width: 200px; height: 200px; margin: 0 auto 22px; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring circle.track { fill: none; stroke: var(--color-text); stroke-width: var(--line); vector-effect: non-scaling-stroke; }
.ring .stn { fill: var(--color-brand); stroke: var(--color-text); stroke-width: var(--line); vector-effect: non-scaling-stroke; transition: fill .3s ease; }
.ring .prog { fill: none; stroke: var(--color-text); stroke-width: 14; stroke-dasharray: calc(var(--k, 3) * 25 + 25) 100; transform: rotate(-90deg); transform-origin: 300px 300px; transition: stroke-dasharray .6s var(--ease-move); }
.ring .marker-arm { transform-origin: 300px 300px; transform: rotate(calc(var(--k, 3) * 90deg)); transition: transform .6s var(--ease-move); }
.ring .marker { fill: var(--color-action); stroke: var(--color-text); stroke-width: var(--line); vector-effect: non-scaling-stroke; }
.loop-fig[data-stage="1"] { --k: 0; } .loop-fig[data-stage="2"] { --k: 1; } .loop-fig[data-stage="3"] { --k: 2; } .loop-fig[data-stage="4"] { --k: 3; }
.loop-fig[data-stage="1"] .stn-1, .loop-fig[data-stage="2"] .stn-2, .loop-fig[data-stage="3"] .stn-3, .loop-fig[data-stage="4"] .stn-4 { fill: var(--color-text); }
.st { position: absolute; font-size: var(--t-fine); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.st-1 { left: 50%; top: -6px; transform: translate(-50%, -100%); }
.st-2 { left: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.st-3 { left: 50%; bottom: -6px; transform: translate(-50%, 100%); }
.st-4 { right: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.st span { display: none; }
.doc { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%); background: var(--color-bg); border: var(--line) solid var(--color-text); padding: 10px 10px 12px; }
.doc .fine { font-size: var(--t-fine); letter-spacing: .06em; text-transform: none; display: block; margin-bottom: 6px; }
.doc i { display: block; height: 5px; margin-top: 6px; background: color-mix(in srgb, var(--color-text) 22%, transparent); }
.doc i:nth-of-type(2) { width: 82%; } .doc i:nth-of-type(3) { width: 64%; } .doc i:nth-of-type(4) { width: 90%; }
.doc i.new { background: var(--color-text); width: 74%; position: relative; transform-origin: left center; transition: transform .5s var(--ease-out); }
.doc i.new::after { content: ""; position: absolute; right: -14px; top: -3px; width: 10px; height: 10px; background: var(--color-action); }
.newflake { position: absolute; width: 38px; height: 38px; left: 50%; top: 50%; color: var(--color-text); z-index: 3;
  transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) scale(var(--s, 1)); transition: transform .6s var(--ease-move), opacity .3s ease; }
.newflake svg { width: 100%; height: 100%; overflow: visible; }
.newflake line, .newflake polygon, .drift line, .drift polygon { fill: none; stroke: currentColor; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.loop-fig[data-stage="1"] .newflake { opacity: 0; --x: 100px; --y: -46px; --s: .3; }
.loop-fig[data-stage="2"] .newflake { --x: 100px; --y: -46px; --s: 1; }
.loop-fig[data-stage="3"] .newflake { --x: 0px; --s: .7; }
.loop-fig[data-stage="4"] .newflake { opacity: 0; --y: 150px; --s: .5; }
.pile { position: relative; height: 150px; margin-top: 24px; color: var(--color-text); }
.pile svg.heap { width: 100%; height: 100%; overflow: visible; }
.pile .heap path { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.drift { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 40px; color: var(--color-text); }
.drift svg { width: 22px; height: 22px; flex: none; }
.drift svg:nth-child(3n) { width: 30px; height: 30px; } .drift svg:nth-child(4n+1) { width: 16px; height: 16px; }
.drift svg.fresh { animation: land .6s var(--ease-out) both; }
@keyframes land { from { transform: translateY(-30px) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.loop-ctrl { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.loop-ctrl button { min-width: 44px; min-height: 44px; background: transparent; border: var(--line) solid var(--color-text); color: var(--color-text); font: 800 var(--t-fine)/1 var(--font-body); letter-spacing: .1em; cursor: pointer; padding: 0 10px; }
.loop-ctrl button[aria-current="step"] { background: var(--color-text); color: var(--color-brand); }
.loop-ctrl button:hover { background: var(--color-action); color: var(--color-on-action); border-color: var(--color-text); }
.loop-ctrl .pn { display: none; }
.steps { position: relative; z-index: 1; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; border-top: var(--hairline) solid var(--color-text); }
.step:first-child { border-top: 0; }
.step .fine { display: block; margin-bottom: 12px; }
.step h3 { font-size: var(--t-lead); font-weight: 900; line-height: 1.2; margin-bottom: 12px; max-width: 22ch; }
.step p { max-width: 46ch; }
.step blockquote { margin-top: 16px; padding-left: 18px; border-left: var(--line) solid var(--color-text); font-weight: 700; }
.rule-ex { margin-top: 22px; background: var(--color-bg); border: var(--line) solid var(--color-text); padding: 18px 20px; max-width: 46ch; }
.rule-ex .fine { margin-bottom: 10px; display: block; }
.rule-ex p + p { margin-top: 8px; }
.rule-ex b { font-weight: 900; }
@media (min-width: 1024px) {
  .loop-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; }
  .loop-left { display: flex; flex-direction: column; grid-column: 1 / 8; grid-row: 1; }
  .loop-stick { display: block; flex: 1; }
  .pile { order: 0; }
  .loop-fig { top: calc(50vh - 330px); margin: 0; padding: 0; background: transparent; }
  .ring-box { width: 460px; height: 460px; margin: 40px auto 0; }
  .st span { display: inline; }
  .newflake { width: 54px; height: 54px; }
  .doc { width: 46%; }
  .loop-fig[data-stage="1"] .newflake, .loop-fig[data-stage="2"] .newflake { --x: 170px; --y: 0px; }
  .loop-fig[data-stage="4"] .newflake { --y: 280px; }
  .pile { height: 260px; margin-top: 40px; }
  .drift { height: 48px; gap: 10px; }
  .drift svg { width: 28px; height: 28px; } .drift svg:nth-child(3n) { width: 40px; height: 40px; } .drift svg:nth-child(4n+1) { width: 20px; height: 20px; }
  .loop-ctrl { margin-top: 28px; }
  .loop-ctrl .pn { display: inline-flex; align-items: center; }
  .steps { grid-column: 9 / 13; grid-row: 1; }
  .step { min-height: 70vh; }
  .step:last-child { min-height: 80vh; }
}

/* ---------- 4. anatomy: what every playbook holds ---------- */
.anat .sec-head { text-align: left; }
.anat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.anat-flake { width: 280px; height: 280px; margin: 0 auto 8px; color: var(--color-text); }
.anat-flake svg { width: 100%; height: 100%; overflow: visible; }
.anat-flake line, .anat-flake polygon { fill: none; stroke: currentColor; stroke-width: var(--line); vector-effect: non-scaling-stroke; stroke-linecap: square; transition: stroke .2s ease, stroke-width .2s ease; }
.anat-flake[data-arm="0"] .arm-0 line, .anat-flake[data-arm="1"] .arm-1 line, .anat-flake[data-arm="2"] .arm-2 line,
.anat-flake[data-arm="3"] .arm-3 line, .anat-flake[data-arm="4"] .arm-4 line, .anat-flake[data-arm="5"] .arm-5 line { stroke: var(--color-action); stroke-width: 7px; }
.parts { display: grid; gap: 0; }
.part { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: var(--hairline) solid var(--color-line); padding: 18px 0 18px 28px; color: inherit; font: inherit; cursor: pointer; position: relative; }
.part::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 12px; border: var(--line) solid var(--color-text); background: var(--color-bg); transition: background-color .2s ease; }
.part[aria-pressed="true"]::before, .part:hover::before, .part:focus-visible::before { background: var(--color-action); }
.part b { display: block; font-size: var(--t-lead); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; margin-bottom: 4px; }
.part span { display: block; max-width: 40ch; }
.part .fine { display: inline; color: var(--color-muted); }
@media (min-width: 1024px) {
  .anat-grid { grid-template-columns: minmax(0, 1fr) 560px minmax(0, 1fr); grid-template-rows: auto 560px auto; column-gap: 40px; row-gap: 20px; }
  .anat-flake { grid-column: 2; grid-row: 2; width: 560px; height: 560px; margin: 0; }
  .parts { display: contents; }
  .part { border-top: 0; padding: 0; }
  .part::before { display: none; }
  .part b::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 12px; border: var(--line) solid var(--color-text); background: var(--color-bg); vertical-align: 6px; transition: background-color .2s ease; }
  .part[aria-pressed="true"] b::after, .part:hover b::after, .part:focus-visible b::after { background: var(--color-action); }
  .p-steps { grid-column: 2; grid-row: 1; text-align: center; } .p-steps span { margin: 0 auto; }
  .p-traps { grid-column: 2; grid-row: 3; text-align: center; } .p-traps span { margin: 0 auto; }
  .p-rules, .p-checks { grid-column: 3; text-align: left; }
  .p-context, .p-pace { grid-column: 1; text-align: right; } .p-context span, .p-pace span { margin-left: auto; }
  .p-rules, .p-context { grid-row: 2; align-self: start; margin-top: 118px; }
  .p-checks, .p-pace { grid-row: 2; align-self: end; margin-bottom: 118px; }
  .p-context b::after, .p-pace b::after { float: left; margin: 9px 12px 0 0; }
}

/* ---------- 5. who it is for ---------- */
.who-grid { display: grid; gap: 40px; }
.who-list li { padding: 24px 0; border-top: var(--line) solid var(--color-text); }
.who-list .fine { display: block; margin-bottom: 8px; }
.who-list p { font-size: var(--t-lead); line-height: 1.3; max-width: 30ch; }
.notfor { padding-top: 22px; border-top: var(--hairline) solid var(--color-text); }
.notfor .fine { display: block; margin-bottom: 8px; }
.who-photo { width: min(100%, 430px); margin-bottom: -132px; position: relative; z-index: 3; }
.who-photo img { width: 100%; }
.who-photo figcaption { margin-top: 10px; }
@media (min-width: 1024px) {
  .who-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; }
  .who-main { grid-column: 1 / 8; }
  .who-side { grid-column: 9 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
  .who-photo { margin-bottom: -230px; }
}

/* ---------- 6. install ---------- */
.install { padding-top: calc(var(--pad) + 120px); }
.inst-grid { display: grid; gap: 64px; }
.ledger li { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 18px; padding: 28px 0; border-top: var(--line) solid var(--color-text); }
.ledger .n { font-size: var(--t-num); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--color-text); }
.ledger h3 { font-size: var(--t-lead); font-weight: 900; line-height: 1.2; margin-bottom: 10px; }
.ledger .btn { margin-top: 18px; }
.ledger p + p { margin-top: 10px; }
.say { font-weight: 800; }
.starters { margin-top: 56px; }
.starters > .fine { display: block; margin-bottom: 14px; }
.starter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: var(--hairline) solid var(--color-line); }
.starter q { font-weight: 700; quotes: "\201C" "\201D"; }
.copy { min-height: 44px; min-width: 88px; background: transparent; border: var(--line) solid var(--color-action); color: var(--color-text); font: 900 var(--t-fine)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 0 12px; transition: background-color .16s ease; }
.copy:hover, .copy:focus-visible, .copy.done { background: var(--color-action); }
.tree-box { background: var(--color-dark); color: var(--color-on-dark); padding: 28px 22px 30px; }
.tree-box > .fine { display: block; margin-bottom: 18px; color: var(--color-surface); }
.tree li { position: relative; padding: 9px 0 9px 22px; border-left: var(--hairline) solid color-mix(in srgb, var(--color-surface) 50%, transparent); }
.tree li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; border-top: var(--hairline) solid color-mix(in srgb, var(--color-surface) 50%, transparent); }
.tree ul { margin-top: 4px; }
.tree code { font-family: var(--font-body); font-weight: 900; letter-spacing: .02em; overflow-wrap: anywhere; }
.tree small { display: block; font-size: var(--t-body); color: var(--color-surface); }
.tree .tag { display: inline-block; margin-top: 6px; font-size: var(--t-fine); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; }
.tag-share { background: var(--color-brand); color: var(--color-text); }
.tag-private { background: var(--color-action); color: var(--color-text); }
@media (min-width: 1024px) {
  .inst-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; }
  .inst-main { grid-column: 1 / 8; }
  .inst-side { grid-column: 8 / 13; }
  .tree-sticky { position: sticky; top: 48px; }
  .ledger li { grid-template-columns: 150px minmax(0, 1fr); column-gap: 30px; padding: 40px 0; }
  .ledger .n { -webkit-text-stroke-width: 3px; }
  .tree-box { padding: 40px 40px 44px; }
}

/* ---------- 7. private by design ---------- */
.priv-grid { display: grid; gap: 48px; }
.books { position: relative; padding-bottom: 72px; }
.book-open { margin-left: calc(var(--margin) * -1); width: calc(100% + var(--margin)); }
.book-open img, .book-closed img { width: 100%; }
.book-closed { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--color-surface); }
.cap { position: absolute; left: 0; top: 0; background: var(--color-dark); color: var(--color-on-dark); padding: 8px 12px; }
.book-open .cap { left: var(--margin); }
.priv-text p + p { margin-top: 16px; }
.priv-text .h2 { margin-bottom: 28px; }
@media (min-width: 1024px) {
  .priv-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; align-items: center; }
  .books { grid-column: 1 / 8; padding-bottom: 160px; }
  .book-open { width: calc(100% + var(--margin) + max(0px, (100vw - 1540px) / 2)); margin-left: calc((var(--margin) + max(0px, (100vw - 1540px) / 2)) * -1); }
  .book-closed { width: 40%; right: -72px; border-width: 10px; }
  .priv-text { grid-column: 9 / 13; }
}

/* ---------- 8. our team + the free gift ---------- */
.gift-grid { display: grid; gap: 48px; }
.gift-text .h2 { margin-bottom: 28px; }
.gift-text p + p { margin-top: 16px; }
.form { margin-top: 36px; display: grid; gap: 16px; max-width: 520px; }
.form label.f { display: grid; gap: 6px; font-weight: 800; }
.form input[type="text"], .form input[type="email"] { width: 100%; min-height: 56px; padding: 0 16px; border: var(--line) solid var(--color-field); border-radius: var(--radius); background: var(--color-bg); color: var(--color-text); font: 400 var(--t-body)/1 var(--font-body); }
.consent { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--color-text); }
.form .btn { justify-self: start; }
.form .msg { font-weight: 800; }
.walkers { margin: 0 calc(var(--margin) * -1); }
.walkers img { width: 100%; }
@media (min-width: 1024px) {
  .gift-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; align-items: start; }
  .gift-text { grid-column: 1 / 7; }
  .walkers { grid-column: 8 / 13; margin: -260px calc((var(--margin) + max(0px, (100vw - 1540px) / 2)) * -1) 0 0; position: relative; z-index: 2; }
}

/* ---------- 9. founder ---------- */
.founder-grid { display: grid; gap: 40px; }
.alex { position: relative; height: 380px; margin: 0 calc(var(--margin) * -1); }
.alex::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64%; background: var(--color-brand); }
.alex img { position: absolute; bottom: 0; left: 50%; translate: -50% 0; height: 100%; width: auto; max-width: none; }
.f-text .script { display: block; font-size: var(--t-script-sec); line-height: .6; margin-bottom: 8px; }
.f-text .h2 { margin-bottom: 28px; }
.f-text p + p { margin-top: 16px; }
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.creds li { border-top: var(--line) solid var(--color-text); padding-top: 14px; }
.creds b { display: block; font-size: var(--t-num); font-weight: 900; line-height: 1; margin-bottom: 8px; }
.creds .fine { display: block; }
.belief { margin-top: 44px; font-size: var(--t-lead); font-weight: 300; line-height: 1.3; max-width: 32ch; }
@media (min-width: 1024px) {
  .founder-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; align-items: end; }
  .alex { grid-column: 1 / 6; height: 760px; margin: 0; }
  .alex::before { height: 62%; left: calc((var(--margin) + max(0px, (100vw - 1540px) / 2)) * -1); }
  .f-text { grid-column: 7 / 13; padding-bottom: 8px; }
}

/* ---------- 10. questions ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq-side .h2 { margin-bottom: 24px; }
.faq-side p { max-width: 42ch; }
.faq-side img { margin-top: 36px; width: 100%; }
.qa details { border-top: var(--line) solid var(--color-text); }
.qa details:last-child { border-bottom: var(--line) solid var(--color-text); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 22px 0; font-size: var(--t-lead); font-weight: 800; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 22px; height: 22px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: var(--line) solid var(--color-text); transition: transform .3s var(--ease-out); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa .a { padding: 0 44px 26px 0; max-width: 60ch; }
.qa .a p + p { margin-top: 10px; }
.qa details::details-content { block-size: 0; overflow: hidden; transition: block-size .32s var(--ease-out), content-visibility .32s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { .qa { interpolate-size: allow-keywords; } }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; align-items: start; }
  .faq-side { grid-column: 1 / 6; position: sticky; top: 48px; }
  .qa { grid-column: 7 / 13; }
}

/* ---------- 11. closing: the avalanche ---------- */
.closing { padding-top: 0; overflow: clip; }
.road { position: relative; height: 420px; background: var(--color-dark); }
.road img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; opacity: .78; }
.road::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--color-dark) 100%); }
.aval { position: absolute; z-index: 2; right: 0; top: 0; width: 100%; height: calc(100% + 120px); color: var(--color-on-dark); pointer-events: none; overflow: visible; }
.aval path { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.close-body { position: relative; z-index: 3; margin-top: -80px; }
.close-body .h2 { max-width: 15ch; line-height: 1.2; }
.close-body .h2 .script { color: var(--color-brand); font-size: var(--t-script-sec); line-height: 0; position: relative; top: .1em; }
.close-body .h2 .l4 { display: block; margin-top: .5em; }
.close-body .lead { margin-top: 28px; max-width: 30ch; color: var(--color-surface); }
.close-body .acts { margin-top: 40px; }
.close-body .btn--ghost { color: var(--color-on-dark); }
.close-note { margin-top: 18px; color: var(--color-surface); max-width: 52ch; }
.also { margin-top: 56px; padding-top: 22px; border-top: var(--hairline) solid color-mix(in srgb, var(--color-surface) 50%, transparent); }
.also a { color: var(--color-on-dark); }
@media (min-width: 1024px) {
  .road { height: 640px; }
  .aval { width: 70%; height: calc(100% + 260px); }
  .close-body { margin-top: -200px; }
  .close-body .h2 { max-width: 17ch; }
}

/* ---------- footer ---------- */
.foot { background: var(--color-dark); color: var(--color-surface); padding: 56px 0 64px; border-top: var(--hairline) solid color-mix(in srgb, var(--color-surface) 35%, transparent); }
.foot .logo { color: var(--color-on-dark); margin-bottom: 24px; }
.foot-grid { display: grid; gap: 24px; }
.foot p + p { margin-top: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-dark); }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 50px; } .foot-a { grid-column: 1 / 7; } .foot-b { grid-column: 8 / 13; } }

/* ---------- motion (R43): added only when JavaScript runs and motion is allowed ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
.motion .flake--draw line, .motion .flake--draw polygon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0s) + .35s); }
.motion .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .loop-fig[data-stage="1"] .doc i.new, .motion .loop-fig[data-stage="2"] .doc i.new { transform: scaleX(0); }
@supports (animation-timeline: view()) {
  .motion .aval .f { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
}
@keyframes settle { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}
.gift-label { margin-bottom: 20px; }
@media (max-width: 1023px) { .aval { height: 100%; } }
