/* Landing v4 (art-directed, light only). Paper + ink + one signal (signal-bright on dark, accent on paper).
   Colours come from the --land-* / primitive tokens in base.css. Motion: CSS + IntersectionObserver only
   (no GSAP/Lenis: the product CSP allows script-src 'self'); everything rests under reduced motion. */
.landing { margin: 0; background: var(--land-paper); color: var(--land-ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; color-scheme: light; overflow-x: clip; }
html[lang="en"] .landing { font-family: var(--font-body); }
.landing a { color: inherit; text-decoration: none; }
.landing a:hover { color: var(--signal-bright); }
.landing ::selection { background: var(--signal-bright); color: var(--land-ink); }
.landing :focus-visible { outline: 2px solid var(--signal-bright); outline-offset: 3px; }
.l-root { overflow-x: clip; }
.l-wrap { max-inline-size: 1440px; margin: 0 auto; padding-inline: clamp(16px, 3vw, 40px); box-sizing: border-box; }
.l-code { font: 500 12px/1.6 var(--font-mono); }
.l-signal { color: var(--signal-bright); }
.l-dim { color: var(--land-ink-4); }
.l-bright { color: var(--land-on-dark); }
.l-green { color: var(--land-ok); }
.l-warm { color: var(--land-warm); }
.l-arrow { font-size: 1.2em; line-height: 1; display: inline-block; }
html[dir="ltr"] .l-arrow { transform: scaleX(-1); }
.sig { color: var(--signal-bright); }

/* demo banner */
.demo-banner { background: var(--land-ink); color: var(--land-on-dark); font-size: 13px; line-height: 1.6; padding: 8px 20px; display: flex; gap: 12px; justify-content: center; align-items: center; text-align: center; }
.demo-banner.is-hidden { display: none; }

/* header */
.l-header { position: sticky; inset-block-start: 0; z-index: 50; background: rgba(236, 234, 228, .86); backdrop-filter: blur(12px); border-block-end: 1px solid var(--land-line); }
.l-header-row { block-size: 64px; display: flex; align-items: center; gap: 32px; }
.l-brand { display: flex; }
.l-brand img { inline-size: 96px; block-size: auto; display: block; }
.l-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.l-nav a { padding: 8px 12px; font-size: 14px; font-weight: 500; }
.l-header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.l-link { font-size: 14px; font-weight: 600; border-block-end: 1px solid currentColor; padding-block-end: 2px; }
.l-link-lg { font-size: 16px; padding-block-end: 3px; }
.landing .l-cta-sm { display: inline-flex; align-items: center; gap: 10px; block-size: 40px; padding: 0 clamp(12px, 2vw, 18px); white-space: nowrap; background: var(--land-ink); color: var(--land-paper); font-size: 14px; font-weight: 700; transition: background-color var(--d-4) var(--ease), color var(--d-4) var(--ease); }
.landing .l-cta-sm:hover { background: var(--signal-bright); color: var(--land-ink); }
@media (max-width: 860px) { .l-nav { display: none; } .l-header-row { gap: 16px; } .l-header-actions { gap: 12px; } }
.l-cta-short { display: none; }
/* a phone keeps Sign in beside a shorter Sign up (returning owners must reach their account from the first screen) */
@media (max-width: 520px) { .l-header-actions { gap: 12px; } .l-header-actions .l-link { display: inline-flex; align-items: center; min-block-size: 44px; border-block-end: 0; text-decoration: underline; text-underline-offset: .25em; }
  .landing .l-cta-sm .l-cta-long { display: none; } .landing .l-cta-sm .l-cta-short { display: inline; } .landing .l-cta-sm .l-arrow { display: none; } }

/* section scaffolding */
.l-section { padding-block: clamp(80px, 10vw, 150px); display: grid; gap: 56px; }
.l-section-xl { padding-block: clamp(80px, 12vw, 180px); gap: clamp(56px, 7vw, 104px); }
.l-paper { background: var(--land-paper); }
.l-bordered { border-block-end: 1px solid var(--land-line); }
.l-top-line { border-block-start: 1px solid var(--land-line); }
.l-dark { background: var(--land-ink); color: var(--land-on-dark); }
.l-grid-bg { background-image: linear-gradient(to right, rgba(236, 234, 228, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(236, 234, 228, .05) 1px, transparent 1px); background-size: 56px 56px; }
.l-head { display: grid; gap: 18px; }
.l-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.l-mark { margin: 0; display: flex; align-items: center; gap: 12px; font: 500 14px/1 var(--font-body); color: var(--land-ink-3); }
html[lang="en"] .l-mark { font-family: var(--font-body); }
.l-mark .l-rule { inline-size: 28px; block-size: 1px; background: var(--land-ink); }
.l-mark .l-num { font: 500 12px/1 var(--font-mono); }
.l-mark-signal { color: var(--signal-bright); }
.l-mark-signal .l-rule { background: var(--signal-bright); }
.l-h2 { margin: 0; font-family: inherit; font-size: clamp(32px, 4vw, 60px); line-height: 1.25; font-weight: 900; text-wrap: balance; overflow-wrap: break-word; min-inline-size: 0; }
.l-h2-xl { font-size: clamp(36px, 5vw, 76px); line-height: 1.2; }
.l-narrow { max-inline-size: 18ch; }
.l-body-dark { margin: 0; font-size: 17px; line-height: 2; color: var(--land-on-dark-2); text-wrap: pretty; }
.l-measure { max-inline-size: 40em; }
.l-fine { margin: 0; font-size: 13px; color: var(--land-ink-4); }
.l-corner { position: absolute; inline-size: 12px; block-size: 12px; z-index: 2; pointer-events: none; }
.l-corner.tr { top: -1px; right: -1px; border-top: 2px solid var(--signal-bright); border-right: 2px solid var(--signal-bright); }
.l-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--signal-bright); border-left: 2px solid var(--signal-bright); }
.l-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--land-ok); }
.l-dot { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--land-ok); }

/* hero */
.l-hero { position: relative; border-block-end: 1px solid var(--land-line); }
.l-hero-grid { padding-block: clamp(40px, 6vw, 88px) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 4vw, 64px); align-items: center; min-block-size: calc(100vh - 160px); }
.l-hero-copy { display: grid; gap: 28px; align-content: center; }
.l-display { margin: 0; font-family: inherit; font-size: clamp(40px, 5.4vw, 88px); line-height: 1.18; font-weight: 900; text-wrap: balance; }
.l-lead { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 2; color: var(--land-ink-2); max-inline-size: 34em; text-wrap: pretty; }
.l-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.landing .l-cta { display: inline-flex; align-items: center; gap: 14px; block-size: 60px; padding: 0 30px; background: var(--signal-bright); color: var(--land-ink); font-size: 18px; font-weight: 800; transition: background-color var(--d-4) var(--ease), color var(--d-4) var(--ease); }
.landing .l-cta:hover { background: var(--land-ink); color: var(--land-paper); }
.landing .l-cta-ink { background: var(--land-ink); color: var(--land-paper); }
.landing .l-cta-ink:hover { background: var(--land-paper); color: var(--land-ink); }
.l-path { margin: 0; font: 400 12px/1.8 var(--font-mono); color: var(--land-ink-4); }
.l-hero-art { position: relative; min-block-size: clamp(380px, 46vw, 640px); display: grid; place-items: center; }
.l-echo { position: relative; font-size: clamp(200px, 29vw, 480px); line-height: .9; font-weight: 900; user-select: none; transform: translateY(-6%); }
.l-echo-wrap { position: absolute; inset: 0; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .8s var(--ease-out); }
.l-echo-layer { display: block; }
.l-echo-layer.e4 { color: var(--land-echo-4); transform: translate(-0.16em, -0.16em); }
.l-echo-layer.e3 { color: var(--land-echo-3); transform: translate(-0.12em, -0.12em); }
.l-echo-layer.e2 { color: var(--land-echo-2); transform: translate(-0.08em, -0.08em); }
.l-echo-layer.e1 { color: var(--land-echo-1); transform: translate(-0.04em, -0.04em); }
.l-echo-front { position: relative; display: block; color: var(--land-ink); }
.l-evidence { position: absolute; inset-inline-end: 0; inset-block-end: 2%; margin: 0; inline-size: min(430px, 94%); background: var(--land-ink); color: var(--land-on-dark); padding: 22px 22px 18px; display: grid; gap: 16px; box-shadow: 0 30px 60px -20px rgba(12, 13, 15, .45); }
.l-ev-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 11px/1 var(--font-mono); color: var(--land-on-dark-3); }
.l-ev-top .l-ok { font: 500 13px/1 var(--font-body); }
.l-ev-quote { margin: 0; font: 500 clamp(22px, 1.9vw, 28px)/1.7 var(--font-quote); }
.l-sweep { background-image: linear-gradient(var(--signal-bright), var(--signal-bright)); background-repeat: no-repeat; background-size: 100% 100%; background-position: right center; color: var(--land-ink); padding: 0 4px; }
html[dir="ltr"] .l-sweep { background-position: left center; }
.l-ev-meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font: 400 11px/1.5 var(--font-mono); color: var(--land-on-dark-3); border-block-start: 1px solid var(--land-line-dark); padding-block-start: 14px; }
.l-ev-meta dd { margin: 0; color: var(--land-on-dark); }
.l-stamp { position: absolute; top: -22px; left: 24px; padding: 6px 10px; border: 2px solid var(--signal-bright); color: var(--signal-bright); background: var(--land-ink); font: 700 12px/1 var(--font-mono); letter-spacing: .12em; transform: rotate(-8deg); }
.l-caption { font-size: 12px; color: var(--land-on-dark-3); }
/* post-sketch: evidence highlight sweep + IMMUTABLE stamp (the only intro motion left after the sketch) */
.l-root.is-intro .l-sweep { animation: l-sweep .9s var(--ease) .05s both; }
.l-root.is-intro .l-stamp { animation: l-stamp .7s cubic-bezier(.34, 1.56, .64, 1) .4s both; }
@keyframes l-sweep { from { background-size: 0% 100%; color: var(--land-on-dark); } }
@keyframes l-stamp { from { opacity: 0; transform: scale(1.8) rotate(-28deg); } }
.l-marquee { border-block-start: 1px solid var(--land-line); overflow: hidden; padding: 14px 0; font: 500 12px/1 var(--font-mono); color: var(--land-ink-3); }
.l-marquee-track { display: flex; inline-size: max-content; gap: 48px; white-space: nowrap; animation: l-marquee 40s linear infinite; }
.l-marquee:hover .l-marquee-track { animation-play-state: paused; }
@keyframes l-marquee { to { transform: translateX(-50%); } }

/* governing rule */
.l-statement { margin: 0; font-size: clamp(32px, 4.6vw, 76px); line-height: 1.4; font-weight: 800; max-inline-size: 22ch; text-wrap: balance; }
.l-quote-word { font-family: var(--font-quote); font-weight: 700; color: var(--signal-bright); font-size: 1.12em; }
.l-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--land-line-dark); border: 1px solid var(--land-line-dark); }
.l-cell { background: var(--land-ink); padding: 28px; display: grid; gap: 12px; align-content: start; }
.l-cell .l-code { color: var(--land-on-dark-3); }
.l-cell strong { font-size: 22px; font-weight: 800; }
.l-cell > span:last-child { font-size: 15px; line-height: 1.9; color: var(--land-on-dark-2); }

/* provenance chain: steps drive a sticky console (scroll or click) */
.l-rail { inline-size: min(320px, 100%); block-size: 2px; background: var(--land-line); position: relative; }
.l-rail-fill { position: absolute; inset: 0; background: var(--signal-bright); transform-origin: right center; transform: scaleX(var(--p, .25)); transition: transform var(--d-5) var(--ease-out); }
html[dir="ltr"] .l-rail-fill { transform-origin: left center; }
.l-chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.l-steps li { border-block-start: 1px solid rgba(12, 13, 15, .14); }
.l-steps li:last-child { border-block-end: 1px solid rgba(12, 13, 15, .14); }
.l-step { appearance: none; inline-size: 100%; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border: 0; background: transparent; color: inherit; text-align: start; font: inherit; cursor: pointer; opacity: .35; transition: opacity var(--d-5) var(--ease); }
.l-step[aria-pressed="true"], .l-step:hover { opacity: 1; }
.l-step-num { font: 700 14px/1.8 var(--font-mono); color: var(--signal-bright); }
.l-step-body { display: grid; gap: 8px; }
.l-step-body strong { font-size: clamp(24px, 2.4vw, 36px); font-weight: 900; line-height: 1.3; }
.l-step-body span { font-size: 16px; line-height: 1.95; color: var(--land-ink-2); max-inline-size: 36em; }
.l-console { position: relative; background: var(--land-ink); color: var(--land-on-dark); box-shadow: 0 40px 80px -30px rgba(12, 13, 15, .5); }
.l-console-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-block-end: 1px solid rgba(236, 234, 228, .1); font: 500 11px/1 var(--font-mono); color: var(--land-on-dark-3); }
.l-panels { display: grid; gap: 1px; background: rgba(236, 234, 228, .08); }
.l-panel { background: var(--land-ink); padding: 28px; display: grid; gap: 16px; align-content: start; position: relative; }
.l-term { font: 400 13px/2 var(--font-mono); color: var(--land-on-dark-2); overflow-wrap: anywhere; }
.l-panel-say { margin: 0; font-size: 22px; line-height: 1.7; font-weight: 700; }
.l-search { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(236, 234, 228, .2); padding: 12px 16px; font-size: 17px; }
.l-caret { inline-size: 2px; block-size: 20px; background: var(--signal-bright); animation: l-blink 1.1s steps(1) infinite; }
@keyframes l-blink { 50% { opacity: 0; } }
.l-hit { border-inline-start: 2px solid var(--signal-bright); padding-inline-start: 16px; display: grid; gap: 8px; }
.l-hit-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.l-hit-head strong { font-size: 16px; }
.l-hit-quote { font: 500 21px/1.7 var(--font-quote); }
.l-hit-quote mark, .l-panel mark { background: var(--signal-bright); color: var(--land-ink); padding: 0 3px; border-radius: 0; }
.l-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.l-cand { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(242, 179, 61, .14); color: var(--land-cand); font-size: 13px; font-weight: 700; }
.l-diamond { inline-size: 7px; block-size: 7px; background: var(--land-cand); transform: rotate(45deg); }
.l-diff { font: 400 13px/1.9 var(--font-mono); border: 1px solid rgba(236, 234, 228, .1); overflow-x: auto; }
.l-diff > div { padding: 2px 12px; white-space: pre; }
.l-diff .del { background: rgba(255, 74, 28, .14); color: var(--land-warm); }
.l-diff .add { background: rgba(61, 220, 151, .12); color: #7FE8B8; }
.l-panel-note { font-size: 14px; line-height: 1.8; color: var(--land-on-dark-2); }
.l-panel-label { font-size: 14px; color: var(--land-on-dark-2); }
.l-typed { display: flex; align-items: center; gap: 4px; border: 1px solid var(--signal-bright); padding: 14px 16px; font: 500 15px/1 var(--font-mono); overflow-wrap: anywhere; }
.l-applied { justify-self: end; margin-block-start: 4px; padding: 8px 12px; border: 2px solid var(--land-ok); color: var(--land-ok); font: 700 14px/1 var(--font-mono); letter-spacing: .14em; transform: rotate(-8deg); }
/* desktop: one panel at a time in a sticky console, chosen by the step in view (or clicked) */
@media (min-width: 1000px) {
  .l-console { position: sticky; inset-block-start: 112px; }
  .l-panels { display: block; position: relative; block-size: 430px; background: var(--land-ink); }
  .l-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity var(--d-5) var(--ease-out), transform var(--d-5) var(--ease-out), visibility 0s linear var(--d-5); }
  .l-panel.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity var(--d-6) var(--ease-out) var(--d-2), transform var(--d-6) var(--ease-out) var(--d-2); }
  .l-panel.is-on .l-applied { animation: l-stamp .7s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
  .l-steps li { min-block-size: 22vh; display: flex; align-items: center; }
}

/* source graph */
.l-graph { position: relative; overflow: hidden; border-block-start: 1px solid rgba(236, 234, 228, .08); }
.l-graph-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: clamp(72px, 9vw, 128px); }
.l-graph-copy { display: grid; gap: 24px; align-content: center; max-inline-size: 540px; min-inline-size: 0; }
.l-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.l-filters button { block-size: 44px; padding: 0 16px; border: 1px solid rgba(236, 234, 228, .24); background: transparent; color: var(--land-on-dark); font: 600 14px/1 var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color var(--d-3) var(--ease), color var(--d-3) var(--ease), border-color var(--d-3) var(--ease); }
.l-filters button:hover { border-color: var(--land-on-dark); }
.l-filters button[aria-pressed="true"] { background: var(--land-on-dark); color: var(--land-ink); border-color: var(--land-on-dark); }
.fdot { inline-size: 8px; block-size: 8px; border-radius: 50%; }
/* v6: filters and legend follow the oxb-graph v2 taxonomy (the node and edge types the projection actually records) */
.f-all { background: var(--land-on-dark); } .f-conv { background: #FF6B3D; } .f-files { background: #3DDC97; } .f-dec { background: #F2B33D; } .f-tags { background: #8CA8FA; }
.l-filters button[aria-pressed="true"] .f-all { background: var(--land-ink); }
.l-legend { list-style: none; margin: 0; padding: 18px 0 0; border-block-start: 1px solid var(--land-line-dark); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; font-size: 14px; color: var(--land-on-dark-2); }
.l-legend li { display: flex; align-items: center; gap: 10px; }
.lg { flex: none; border-radius: 50%; }
.lg-user { inline-size: 10px; block-size: 10px; background: #FF6B3D; box-shadow: 0 0 10px rgba(255, 107, 61, .5); }
.lg-asst { inline-size: 9px; block-size: 9px; background: #DBD6CC; }
.lg-file { inline-size: 10px; block-size: 10px; background: #3DDC97; }
.lg-dec { inline-size: 12px; block-size: 12px; background: #F2B33D; box-shadow: 0 0 10px rgba(242, 179, 61, .55); }
.lg-old { inline-size: 11px; block-size: 11px; box-shadow: inset 0 0 0 1.5px #F2B33D; }
.lg-tag { inline-size: 6px; block-size: 6px; background: #8CA8FA; margin-inline: 2px; }
.l-stats { margin: 0; justify-self: start; font: 400 12px/1.6 var(--font-mono); color: var(--land-on-dark-3); }
.l-graph-fig { position: relative; margin: 0; min-block-size: clamp(420px, 46vw, 640px); min-inline-size: 0; border: 1px solid rgba(236, 234, 228, .14); background: radial-gradient(55% 50% at 50% 52%, rgba(255, 74, 28, .08), rgba(255, 74, 28, 0) 70%), var(--land-black); overflow: hidden; }
.l-graph-fig:focus-visible { outline: 2px solid var(--signal-bright); outline-offset: -2px; }
.l-graph-host { position: absolute; inset: 0; }
.l-graph-bar { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; pointer-events: none; font-size: 13px; color: var(--land-on-dark-3); line-height: 1.6; }
.l-pause { pointer-events: auto; flex: none; inline-size: 44px; block-size: 44px; border: 1px solid rgba(236, 234, 228, .2); background: rgba(12, 13, 15, .6); color: var(--land-on-dark); cursor: pointer; display: grid; place-items: center; transition: border-color var(--d-3) var(--ease); }
.l-pause:hover { border-color: var(--land-on-dark); }
.l-pause svg { inline-size: 16px; block-size: 16px; fill: currentColor; }
.l-pause .i-play { display: none; }
.l-pause[aria-pressed="true"] .i-play { display: block; }
.l-pause[aria-pressed="true"] .i-pause { display: none; }
.l-tip { position: absolute; left: 0; top: 0; z-index: 4; inline-size: 248px; opacity: 0; transition: opacity var(--d-3) var(--ease); pointer-events: none; background: var(--land-paper); color: var(--land-ink); padding: 14px 16px; display: grid; gap: 8px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6); }
.l-tip-kind { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--land-ink-3); }
.l-tip-dot { inline-size: 9px; block-size: 9px; border-radius: 50%; flex: none; }
.l-tip strong { font-size: 16px; font-weight: 800; line-height: 1.5; }
.l-tip .l-code { justify-self: start; font-size: 11px; color: var(--land-ink-3); }
.l-nogl { position: absolute; inset-block-end: 0; inset-inline: 0; z-index: 3; margin: 0; padding: 12px 16px; font-size: 13px; color: var(--land-on-dark-2); background: rgba(12, 13, 15, .8); }

/* rules */
.l-rules { background: var(--land-paper-2); }
.l-rule-list { display: grid; }
.l-rule-row { display: grid; grid-template-columns: minmax(64px, 120px) minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 3vw, 40px) clamp(8px, 1.5vw, 20px); border-block-start: 1px solid var(--land-ink); align-items: baseline; transition: background-color var(--d-4) var(--ease); }
.l-rule-row:last-child { border-block-end: 1px solid var(--land-ink); }
.l-rule-row:hover { background: var(--land-paper); }
.l-rule-n { font: 700 clamp(28px, 3.4vw, 52px)/1 var(--font-mono); color: var(--signal-bright); }
.l-rule-row strong { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; line-height: 1.35; }
.l-rule-row > span:last-child { font-size: 16px; line-height: 2; color: var(--land-ink-2); }
@media (max-width: 720px) { .l-rule-row { grid-template-columns: minmax(48px, 64px) minmax(0, 1fr); } .l-rule-row > span:last-child { grid-column: 2; } }
/* the vermilion signal on paper uses the accent-strength red for text contrast */
.l-rules .l-rule-n { color: var(--accent); }
.l-paper .l-step-num { color: var(--accent-fg); }

/* connections */
.l-conn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 4vw, 64px); align-items: start; }
.l-conn-list { display: grid; }
.l-conn { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 24px; padding: 24px 0; border-block-start: 1px solid rgba(236, 234, 228, .16); }
.l-conn:last-child { border-block-end: 1px solid rgba(236, 234, 228, .16); }
.l-conn strong { font-size: 24px; font-weight: 800; }
.l-conn span { font-size: 15px; line-height: 1.95; color: var(--land-on-dark-2); }
@media (max-width: 520px) { .l-conn { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.l-tty { margin: 0; position: relative; border: 1px solid rgba(236, 234, 228, .16); background: var(--land-tty); overflow: hidden; }
.l-tty figcaption { display: flex; justify-content: space-between; padding: 12px 18px; border-block-end: 1px solid rgba(236, 234, 228, .1); font-size: 13px; color: var(--land-on-dark-3); }
.l-tty pre { margin: 0; padding: 22px 18px; font: 400 13px/2.1 var(--font-mono); color: var(--land-on-dark-2); white-space: pre-wrap; background: transparent; border: 0; border-radius: 0; max-block-size: none; }
.l-tty .l-dim { color: var(--land-ink-4); }
.l-scan { position: absolute; left: 0; right: 0; top: 44px; block-size: 2px; background: linear-gradient(90deg, transparent, rgba(255, 74, 28, .55), transparent); animation: l-scan 3.6s linear .6s infinite; }
@keyframes l-scan { from { top: 44px; } to { top: 100%; } }

/* plans (real plans from /api/public/config) */
.l-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border: 1px solid var(--land-ink); }
.l-plan { padding: clamp(28px, 3vw, 44px); display: grid; gap: 28px; align-content: start; min-block-size: 220px; }
.l-plan + .l-plan { border-inline-start: 1px solid var(--land-ink); }
.l-plan-skeleton { background: linear-gradient(90deg, rgba(12, 13, 15, .04), rgba(12, 13, 15, .08), rgba(12, 13, 15, .04)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.l-plan-code { display: flex; justify-content: space-between; font: 500 12px/1 var(--font-mono); color: var(--land-ink-3); }
.l-plan-name { display: grid; gap: 6px; }
.l-plan-name strong { font-size: 26px; font-weight: 800; }
.l-plan-price { font-size: clamp(28px, 3vw, 44px); font-weight: 900; line-height: 1.1; }
.l-plan-price small { font-size: 16px; font-weight: 500; color: var(--land-ink-4); }
.l-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; color: var(--land-ink-2); }
.landing .l-plan-cta { display: flex; justify-content: space-between; align-items: center; block-size: 52px; padding: 0 20px; border: 1px solid var(--land-ink); font-weight: 700; transition: background-color var(--d-4) var(--ease), color var(--d-4) var(--ease); }
.landing .l-plan-cta:hover { background: var(--land-ink); color: var(--land-paper); }
.l-plan.is-featured { background: var(--land-ink); color: var(--land-on-dark); }
.l-plan.is-featured .l-plan-code { color: var(--land-on-dark-3); }
.l-plan.is-featured .l-plan-code .sig { font: 700 13px/1 var(--font-body); }
.l-plan.is-featured ul { color: var(--land-on-dark-2); }
.l-plan.is-featured .l-plan-price small { color: var(--land-on-dark-3); }
.landing .l-plan.is-featured .l-plan-cta { background: var(--signal-bright); color: var(--land-ink); border-color: var(--signal-bright); font-weight: 800; }
.landing .l-plan.is-featured .l-plan-cta:hover { background: var(--land-paper); border-color: var(--land-paper); }
@media (max-width: 680px) { .l-plan + .l-plan { border-inline-start: 0; border-block-start: 1px solid var(--land-ink); } }

/* FAQ */
.l-faq-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 96px); align-items: start; }
.l-sticky { position: sticky; inset-block-start: 104px; }
.l-faq { display: grid; border-block-start: 1px solid var(--land-ink); }
.l-faq details { border: 0; border-block-end: 1px solid var(--land-ink); border-radius: 0; padding: 0; background: transparent; }
.l-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.6; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq details[open] > summary { margin: 0; }
.l-plus { font: 400 24px/1 var(--font-mono); color: var(--accent-fg); transition: transform var(--d-3) var(--ease); }
.l-faq details[open] .l-plus { transform: rotate(45deg); }
.l-faq p { margin: 0 0 24px; font-size: 16px; line-height: 2; color: var(--land-ink-2); }

/* final CTA */
.l-final { background: var(--signal-bright); color: var(--land-ink); overflow: hidden; position: relative; }
.l-final-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; padding-block: clamp(80px, 10vw, 140px); }
.l-final-copy { display: grid; gap: 24px; }
.l-final-copy p { margin: 0; font-size: 18px; line-height: 2; max-inline-size: 30em; }
.l-final .l-link:hover { color: var(--land-paper); }
.l-echo-final { font-size: clamp(160px, 20vw, 340px); justify-self: center; transform: none; }
.l-echo-layer.f3 { color: var(--land-final-3); transform: translate(-0.12em, -0.12em); }
.l-echo-layer.f2 { color: var(--land-final-2); transform: translate(-0.08em, -0.08em); }
.l-echo-layer.f1 { color: var(--land-final-1); transform: translate(-0.04em, -0.04em); }

/* footer */
.l-footer { background: var(--land-ink); color: var(--land-on-dark-3); }
.l-footer-row { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.l-footer img { inline-size: 92px; block-size: auto; filter: invert(1); }
.l-footer p { margin: 0; font-size: 13px; line-height: 1.8; }

/* reveal on scroll (IntersectionObserver adds .is-in); without JS or under reduced motion everything is visible */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .l-marquee-track, .l-scan, .l-caret { animation: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .l-echo-wrap { transition: none; }
}
@media print { .js-reveal [data-reveal] { opacity: 1; transform: none; } .l-header, .l-marquee, .l-graph-fig { display: none; } }
