/* vengyr.eu: the locked app look (Polar Night frame, Home view Fjord accent, K3f kit) on one public page.
   Type steps 11/12/13/14/16/20/28/46/60, icons 16/20/24/32/40, controls 26/32/40 (vengyr-ui rules). */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/fonts/inter-tight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Sora"; src: url(/fonts/sora-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0F1A2C;
  --bg-deep: #0A1220;
  --ink: #F0F8F8;
  --ice: #E6F0F0;
  --body: rgba(240, 248, 248, 0.78);
  --muted: rgba(230, 240, 240, 0.62);
  --faint: rgba(230, 240, 240, 0.5);
  --line: rgba(230, 240, 240, 0.12);
  --accent: #7CCBC3;
  --gold: #DDAA48;
  --amber: #FFC94A;
  --gutter: clamp(16px, 11.7vw, 168px);
  --max: 1104px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  font: 400 16px/1.55 "Inter Tight", system-ui, sans-serif; color: var(--ink);
  background: radial-gradient(900px 600px at 85% -5%, #163E4A 0, transparent 70%), radial-gradient(800px 700px at 0% 40%, var(--bg-deep) 0, transparent 70%), linear-gradient(175deg, #16233A, var(--bg) 30%, var(--bg-deep) 70%, #0B1424);
  background-color: var(--bg);
  font-feature-settings: "tnum" 1;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #9BE2D9; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; color: #fff; margin: 0; }
.vg { display: block; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; padding: 8px 12px; background: var(--bg); border-radius: 8px; }
.skip:focus { left: 16px; }

/* top bar */
.top { position: relative; z-index: 3; display: flex; align-items: center; gap: 24px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 32px var(--gutter) 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; filter: drop-shadow(0 0 10px rgba(124, 203, 195, 0.18)); }
.wm { font: 600 20px "Sora", sans-serif; letter-spacing: -0.03em; color: var(--ink); }
.tag { padding-left: 16px; border-left: 1px solid var(--line); font: italic 400 13px "Inter Tight", sans-serif; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }

/* hero: the sky, the wind line and the falcon behind the words */
/* the hero text keeps the same left edge as the bar and every section, at any width */
.hero { position: relative; margin-top: -72px; padding: 168px var(--gutter) 120px; padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  min-height: min(100svh, 920px); display: flex; align-items: center; overflow-x: clip; }   /* the falcon leaves the screen, never widens the page */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.sky .poly { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.12; }
.sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 26, 44, 0.85) 0, rgba(15, 26, 44, 0.35) 55%, transparent); }
.wind { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wind path { fill: none; stroke-linecap: round; }
.wind .glow { stroke: var(--accent); stroke-opacity: 0.08; stroke-width: 12; }
.wind .gold { stroke: var(--gold); stroke-width: 2; filter: drop-shadow(0 0 6px var(--gold)); }
.wind .dots { stroke: var(--ice); stroke-opacity: 0.28; stroke-width: 1.2; stroke-dasharray: 2 6; transform: translateY(14px); }
.wind.drawing .gold, .wind.drawing .glow { animation: wind-draw 2.4s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
@keyframes wind-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

.bird { position: absolute; left: 0; top: 0; z-index: 1; width: 96px; height: 96px; opacity: 0; will-change: transform; pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(124, 203, 195, 0.33)) drop-shadow(0 0 30px rgba(124, 203, 195, 0.16)); }
.bird .float { position: relative; display: block; width: 100%; height: 100%; }
.bird.resting .float { animation: float 6.8s ease-in-out infinite; }
.bird .sp { position: absolute; display: block; background-repeat: no-repeat; }
.bird .sp.logo { left: -40.19%; top: -25.67%; width: 180%; height: 180%; background-image: url(/motion/kling_sprite.webp); background-size: 800% 600%; background-position: 0 0; }
.bird .sp.bank { left: -31.48%; top: -42.37%; width: 180%; height: 180%; background-image: url(/motion/kling_bank_sprite.webp); background-size: 1000% 2600%; opacity: 0; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(-1.5deg); } 30% { transform: translate(2px, -5px) rotate(1deg); } 60% { transform: translate(-1px, -7px) rotate(2deg); } 80% { transform: translate(-2px, -3px) rotate(0); } }

.hero-in { position: relative; z-index: 2; width: min(680px, 100%); animation: rise 0.9s 0.15s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kicker { display: block; margin: 0 0 16px; font: 700 12px "Inter Tight", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.03em; }
h1 em, .motto-line em { font-style: normal; color: var(--accent); }
.lead { margin: 24px 0 0; max-width: 540px; font-size: 20px; line-height: 1.45; color: rgba(240, 248, 248, 0.84); }

.invite { margin-top: 40px; }
.cta { position: relative; display: inline-flex; align-items: center; gap: 16px; height: 40px; padding: 0 4px 0 20px; overflow: hidden;
  border-radius: 12px 3px 12px 12px; text-decoration: none; font: 600 16px "Inter Tight", sans-serif; letter-spacing: 0.005em; color: #06201D;
  background: linear-gradient(180deg, #9BE2D9 0%, #6FC2B8 55%, #4FA59B 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 1px 0 rgba(0, 0, 0, 0.25), 0 12px 26px -14px rgba(79, 165, 155, 0.7);
  transition: transform 0.08s, box-shadow 0.08s; }
.cta:hover { color: #06201D; }
.cta:active { transform: translateY(1px); }
.cta .vg { width: 32px; height: 32px; padding: 8px; box-sizing: border-box; background: var(--bg); border-radius: 8px 2px 8px 8px; }
.cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 160% 0;
  animation: glint 7s ease-in-out 1.8s infinite; }
@keyframes glint { 0% { background-position: 160% 0; } 16%, 100% { background-position: -60% 0; } }
.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); max-width: 380px; }   /* ends before the wind line crosses below the button */

/* sections below the fold */
main > .band { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 120px; }
.band ul { list-style: none; margin: 0; padding: 0; }
.prom { border-top: 1px solid var(--line); }
/* the promises as numbered chapters: outline numeral, glyph and title, then the line, on hairlines */
.p { display: grid; grid-template-columns: 120px minmax(0, 5fr) minmax(0, 4fr); gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.p:last-child { border-bottom: 0; }
.p .no { font: 600 46px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(124, 203, 195, 0.7); }
.p-h { display: flex; align-items: center; gap: 20px; }
.p h3 { font-size: 46px; line-height: 1.04; letter-spacing: -0.025em; }
.p p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.f p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--body); }

/* the private-beta status: a slow champagne pulse, the only thing that blinks */
.status { display: inline-flex; align-items: center; gap: 10px; height: 26px; margin: 0 0 28px; padding: 0 12px 0 10px; border-radius: 8px 2px 8px 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); background: rgba(221, 170, 72, 0.08); box-shadow: inset 0 0 0 1px rgba(221, 170, 72, 0.32); }
.status i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* the brand line closes the page: the wind runs edge to edge, first light behind the words, then the invite */
.motto { position: relative; text-align: center; padding: 0 var(--gutter) 160px; overflow: hidden; }
.motto::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 1400px; height: 640px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 203, 195, 0.16), rgba(221, 170, 72, 0.05) 55%, transparent); }
.motto-wind { display: block; width: 100vw; margin-left: calc(50% - 50vw); height: 120px; }
.motto-wind .d { stroke: var(--ice); stroke-opacity: 0.28; stroke-width: 1.2; stroke-dasharray: 2 6; filter: none; }
.motto-wind path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-opacity: 0.7; filter: drop-shadow(0 0 6px rgba(221, 170, 72, 0.6)); }
.motto-line { position: relative; margin: 24px 0 0; font: 600 60px/1.04 "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; color: #fff; }
.finale { position: relative; margin-top: 48px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); padding-top: 48px; }
.split h2 { font-size: 46px; line-height: 1.08; letter-spacing: -0.025em; }
.bot-text p { margin: 0 0 20px; font-size: 16px; color: var(--body); }
.bot-text p:first-child { font-size: 20px; line-height: 1.45; color: rgba(240, 248, 248, 0.84); }
.bot-text .sub { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.bot-text .sub .vg { margin-top: 2px; }

/* the facts on one cut-corner plate, like the app's boxes, with the lit bracket on the cut */
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 0; border-radius: 20px 4px 20px 20px;
  background: linear-gradient(180deg, rgba(124, 203, 195, 0.08), rgba(124, 203, 195, 0.015));
  box-shadow: inset 0 0 0 1px rgba(124, 203, 195, 0.18), 0 40px 80px -50px rgba(0, 0, 0, 0.9); }
.facts::after { content: ""; position: absolute; right: 8px; top: 8px; width: 12px; height: 12px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); opacity: 0.7; }
.f { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-left: 1px solid var(--line); }
.f:first-child { border-left: 0; }
.f h3 { font-size: 16px; margin-bottom: 6px; }
.band > .kicker { margin-bottom: 24px; }

/* one world top to bottom: the dim polygon sky and a film grain under everything */
.home::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background: url(/brand/sky.svg) center / cover no-repeat; }
.home::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.035; background: url(/brand/grain.svg); mix-blend-mode: overlay; }
.home { position: relative; z-index: 0; }

/* sections arrive as you reach them (only when the script runs; without it everything simply shows) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.9s cubic-bezier(0.3, 0.6, 0.2, 1), transform 0.9s cubic-bezier(0.3, 0.6, 0.2, 1); }
.js .rv.in { opacity: 1; transform: none; }

/* footer */
.foot { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 48px; display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; }
.foot-row { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 28px; grid-column: 1 / -1; }
.brand.sm .wm { font-size: 16px; }
.links { display: flex; gap: 24px; flex-wrap: wrap; grid-column: 1 / -1; }
.links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--ink); }
.fine { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.5; color: var(--faint); max-width: 860px; }

/* legal pages: a sky header with the wind line, the short version as tiles, numbered sections beside a contents rail */
.doc main { padding: 0; }
/* the polygon sky reaches the bottom of every legal page, dim, so it never ends in flat navy */
.doc::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06;
  background: url(/brand/sky.svg) center / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
body.doc { position: relative; z-index: 0; }
.doc-hero { position: relative; margin-top: -72px; padding: 184px var(--gutter) 96px; overflow: hidden; }
.doc-hero .sky { -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); }
.doc-hero .sky .poly { opacity: 0.14; }
.doc-wind { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.doc-wind path { fill: none; stroke-linecap: round; }
.doc-wind .glow { stroke: var(--accent); stroke-opacity: 0.08; stroke-width: 12; }
.doc-wind .gold { stroke: var(--gold); stroke-width: 1.6; stroke-opacity: 0.85; filter: drop-shadow(0 0 6px rgba(221, 170, 72, 0.7)); }
.doc-wind .dots { stroke: var(--ice); stroke-opacity: 0.24; stroke-width: 1.2; stroke-dasharray: 2 6; }
.doc-hero-in { position: relative; z-index: 2; max-width: calc(var(--max)); margin: 0 auto; animation: rise 0.9s 0.1s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
.doc-hero h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.03em; max-width: 760px; }
.doc-hero .lede { margin: 24px 0 0; max-width: 620px; font-size: 20px; line-height: 1.45; color: rgba(240, 248, 248, 0.84); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px 2px 8px 8px; font-size: 12px; font-weight: 600;
  color: var(--muted); background: rgba(230, 240, 240, 0.06); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.chip.draft { color: var(--ink); background: rgba(124, 203, 195, 0.12); box-shadow: inset 0 0 0 1px rgba(124, 203, 195, 0.4); }
.chip.draft::before { content: ""; width: 6px; height: 6px; margin-right: 8px; transform: rotate(45deg); background: var(--accent); }
.meta { align-items: center; }
.meta-line { font-size: 13px; color: var(--muted); padding-left: 8px; }

.short, .doc-grid { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.short .kicker { margin-bottom: 20px; }
.short ul { position: relative; list-style: none; margin: 0; padding: 8px 0; display: grid; grid-template-columns: repeat(5, 1fr);
  border-radius: 20px 4px 20px 20px; background: linear-gradient(180deg, rgba(124, 203, 195, 0.09), rgba(124, 203, 195, 0.02));
  box-shadow: inset 0 0 0 1px rgba(124, 203, 195, 0.2), 0 30px 60px -40px rgba(0, 0, 0, 0.8); }
/* the cut corner's bracket: a short lit edge where the corner is cut */
.short ul::after { content: ""; position: absolute; right: 8px; top: 8px; width: 12px; height: 12px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); opacity: 0.7; }
.short li { padding: 20px; border-left: 1px solid var(--line); }
.short li:first-child { border-left: 0; }
.short li p { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink); }

/* phone and tablet contents bar (the rail takes over on desktop) */
.jump { display: none; }

.doc-grid { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 80px; padding-top: 88px; padding-bottom: 120px; }
.toc { position: sticky; top: 32px; align-self: start; }
.toc ol { position: relative; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
/* reading progress: the gold wind trace runs down the rail */
.toc ol::before { content: ""; position: absolute; left: -1px; top: 0; width: 1.5px; height: calc(var(--p, 0) * 100%); background: var(--gold); box-shadow: 0 0 6px rgba(221, 170, 72, 0.7); }
.toc a { position: relative; display: flex; gap: 12px; padding: 6px 0 6px 16px; font-size: 13px; line-height: 1.4; color: var(--muted); text-decoration: none; }
.toc a span { font-weight: 700; font-size: 11px; letter-spacing: 0.08em; padding-top: 2px; color: var(--faint); }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); }
.toc a.on::before { content: ""; position: absolute; left: -4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.toc a.on span { color: var(--accent); }
.doc-body { max-width: 760px; }
.sec { position: relative; padding: 0 0 56px; scroll-margin-top: 32px; }
.sec + .sec { padding-top: 48px; border-top: 1px solid var(--line); }
.sec-h { display: flex; align-items: baseline; gap: 20px; margin: 0 0 24px; }
.sec .num { margin: 0; flex: none; width: 64px; font: 600 46px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -0.03em; color: transparent;
  -webkit-text-stroke: 1px rgba(124, 203, 195, 0.7); }
.sec h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.sec p, .sec li { color: var(--body); }
.sec p { margin: 0 0 16px; }
.sec strong { color: var(--ink); font-weight: 600; }
.sec ul:not(.ticks) { padding-left: 20px; }
.sec ul:not(.ticks) li { margin: 6px 0; }
.sec .aside { font-size: 14px; color: var(--muted); margin-top: 20px; }

.rows { margin: 4px 0 8px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.row-h { margin: 0 !important; font: 600 16px/1.35 "Bricolage Grotesque", sans-serif; color: #fff !important; }
.row-tag { display: flex; flex-wrap: wrap; gap: 6px; }
.row-tag:empty { display: none; }
.row-tag .chip { color: var(--ink); }
.row-k { align-self: center; margin-right: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.sec .row-lead { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.row dl { margin: 0; display: grid; gap: 8px; }
.row dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.row dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.row dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--body); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 16px; align-items: flex-start; }
.ticks li p { margin: 0; }
.ticks .vg { margin-top: 1px; }

.panel { position: relative; margin: 24px 0; padding: 32px; border-radius: 20px 4px 20px 20px;
  background: radial-gradient(600px 240px at 100% 0, rgba(124, 203, 195, 0.14), transparent 70%), linear-gradient(180deg, rgba(22, 62, 74, 0.55), rgba(15, 26, 44, 0.6));
  box-shadow: inset 0 0 0 1px rgba(124, 203, 195, 0.28), 0 30px 60px -40px rgba(0, 0, 0, 0.8); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.panel-grid > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 12px; align-items: center; align-content: start; }
.panel h3 { font-size: 16px; margin: 0; }
.panel-grid p { grid-column: 1 / -1; }
.panel-grid p { margin: 0; font-size: 14px; line-height: 1.55; }
.panel-note { margin: 28px 0 0 !important; padding-top: 20px; border-top: 1px solid rgba(124, 203, 195, 0.22); font-size: 14px; color: var(--ink) !important; }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 24px; }
.act { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 14px 3px 14px 14px; background: rgba(230, 240, 240, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.act p { margin: 0; font-size: 14px; line-height: 1.5; }
.act strong { display: block; margin-bottom: 4px; font-size: 16px; }


/* tablet and phone */
@media (max-width: 1100px) {
  .tag { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .f:nth-child(3) { border-left: 0; }
  .f:nth-child(n+3) { border-top: 1px solid var(--line); }
  .p { grid-template-columns: 96px minmax(0, 1fr); }
  .p > p { grid-column: 2; }
  .p h3 { font-size: 28px; }
  .p .no { font-size: 46px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .doc-grid { grid-template-columns: 1fr; gap: 0; }
  .doc-hero { padding-top: 168px; padding-bottom: 72px; }
  /* the wind line runs under the words, never through them */
  .doc-wind { top: auto; bottom: 0; height: 64px; }
  .toc { display: none; }
  .short ul { grid-template-columns: 1fr; padding: 4px 0; }
  .short li { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .short li:first-child { border-top: 0; }
  .short li p { margin: 0; }
  .jump { display: block; position: sticky; top: 0; z-index: 5; margin: 56px 0 0; padding: 0 var(--gutter);
    background: #0C1524; box-shadow: 0 1px 0 var(--line), 0 16px 32px -24px rgba(0, 0, 0, 0.9); }
  .jump details { max-width: var(--max); margin: 0 auto; }
  .jump summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; list-style: none; cursor: pointer; }
  .jump summary::-webkit-details-marker { display: none; }
  .j-num { flex: none; font: 600 20px "Bricolage Grotesque", sans-serif; color: transparent; -webkit-text-stroke: 1px var(--accent); }
  .j-t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; font-weight: 600; color: var(--ink); }
  .j-all { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 10px 3px 10px 10px;
    font-size: 13px; font-weight: 600; color: var(--accent); background: rgba(124, 203, 195, 0.1); box-shadow: inset 0 0 0 1px rgba(124, 203, 195, 0.3); }
  .jump .chev { transition: transform 0.2s; }
  .jump details[open] .chev { transform: rotate(180deg); }
  .jump ol { list-style: none; margin: 0; padding: 4px 0 16px; max-height: min(70vh, 560px); overflow-y: auto; border-top: 1px solid var(--line); }
  .jump a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; font-size: 14px; line-height: 1.4; color: var(--body); text-decoration: none; }
  .jump a span { flex: none; width: 24px; font-size: 12px; font-weight: 700; color: var(--faint); }
  .jump a.on { color: var(--ink); }
  .jump a.on span { color: var(--accent); }
  /* reading progress: the gold wind trace along the bar's bottom edge */
  .j-bar { position: absolute; left: 0; bottom: -1px; height: 1.5px; width: calc(var(--p, 0) * 100%); background: var(--gold); box-shadow: 0 0 6px rgba(221, 170, 72, 0.7); }
  .sec { scroll-margin-top: 72px; }
  .hero { min-height: 0; padding-top: 288px; align-items: flex-start; }
  .sky::after { background: linear-gradient(180deg, transparent 0, rgba(15, 26, 44, 0.6) 40%, rgba(15, 26, 44, 0.9)); }
}
@media (max-width: 700px) {
  .top { padding-top: 20px; gap: 16px; }
  .top .brand img { width: 40px; height: 40px; }
  .nav { gap: 16px; }
  .nav a:not([href="/privacy"]) { display: none; }
  .hero { padding-top: 264px; padding-bottom: 88px; }
  h1 { font-size: 46px; }
  h1 br { display: none; }
  h1 em { display: block; }
  .kicker { font-size: 11px; letter-spacing: 0.1em; }
  .lead { font-size: 16px; margin-top: 16px; }
  .invite { margin-top: 28px; }
  .cta { width: 100%; justify-content: space-between; }
  .facts { grid-template-columns: 1fr; }
  .f, .f:nth-child(3) { border-left: 0; padding: 20px; }
  .f + .f { border-top: 1px solid var(--line); }
  .p { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .p > p { grid-column: 1; }
  .p .no { font-size: 28px; }
  .p-h { gap: 14px; }
  .motto { padding-bottom: 112px; }
  .motto-wind { height: 96px; }
  .finale .cta { width: 100%; justify-content: space-between; }
  main > .band { padding-bottom: 88px; }
  .motto-line { font-size: 28px; line-height: 1.15; }
  .p .vg { width: 32px; height: 32px; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; }
  .fine { font-size: 13px; }
  .split h2 { font-size: 28px; }
  .bot-text p:first-child { font-size: 16px; }
  .p p, .f p, .bot-text .sub, .sec p, .sec li { font-size: 14px; }
  .doc, .home { --gutter: 20px; }   /* one phone margin on every page (phone research: 16-24px) */
  .doc-hero { padding-top: 152px; }
  .doc-hero h1 { font-size: 46px; line-height: 1.04; }
  .meta { margin-top: 24px; }
  .meta-line { flex-basis: 100%; padding: 4px 0 0; }
  .doc-hero .lede { font-size: 16px; margin-top: 16px; }
    .short li { padding: 16px; }
  .jump { margin-top: 40px; }
  .doc-grid { padding-top: 40px; padding-bottom: 88px; }
  .sec + .sec { padding-top: 32px; }
  .sec { padding-bottom: 32px; }
  .sec-h { gap: 14px; margin-bottom: 20px; }
  .sec .num { width: auto; font-size: 28px; }
  .sec h2 { font-size: 20px; line-height: 1.25; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row-top { gap: 10px; }
  .sec .row-lead { font-size: 14px; margin-bottom: 10px; }
  .row dl > div { grid-template-columns: 56px minmax(0, 1fr); }
  .panel { padding: 24px 20px; }
  .panel-grid, .actions { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 340px) { h1 { font-size: 28px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* not found: the way home sits close to the footer */
.doc[data-screen="404"] .doc-hero { padding-top: 136px; padding-bottom: 56px; }
.doc[data-screen="404"] .doc-wind { height: 48px; }
.doc[data-screen="404"] .foot-row { padding-top: 20px; }
