/* Page frame and prose for the www host, then the landing page itself.
   Every rule below the divider is one inline `style="…"` (or `style-hover`)
   from `docs/design-system/mockups/landing.dc.html`, moved to a class so the
   served markup carries no presentation attributes. Sizes, clamps and the
   four breakpoints are the mockup's, unchanged. */
.fw-page{min-height:100vh;display:flex;flex-direction:column;background:var(--fl-canvas);color:var(--fl-ink);font-family:var(--fl-font-sans);-webkit-font-smoothing:antialiased}
.fw-frame{width:100%;max-width:1160px;margin:0 auto;padding-left:40px;padding-right:40px;box-sizing:border-box}
@media (max-width:640px){.fw-frame{padding-left:24px;padding-right:24px}}
.fw-header{padding-top:22px;display:flex;align-items:center;gap:24px}
.fw-logo{display:inline-flex;align-items:center;flex:none}
.fw-nav{margin-left:auto;display:flex;align-items:center;gap:4px}
.fw-nav a{padding:7px 10px;border-radius:var(--fl-radius);font-size:13.5px;font-weight:500;color:var(--fl-muted);text-decoration:none}
.fw-nav a:hover{color:var(--fl-ink);text-decoration:none}
.fw-nav a.fl-btn{margin-left:8px;color:var(--fl-ink)}
.fw-main{flex:1;padding-top:72px;padding-bottom:140px}
.fw-title{max-width:72ch;display:flex;flex-direction:column;gap:18px;margin-bottom:56px}
.fw-title h1{margin:0;font-size:clamp(32px,3.6vw,48px);line-height:1.1;font-weight:450;letter-spacing:-0.025em;color:var(--fl-ink);text-wrap:balance}
.fw-standfirst{margin:0;font-size:17px;line-height:1.6;color:var(--fl-muted);text-wrap:pretty}
.fw-prose{max-width:72ch;font-size:16.5px;line-height:1.65;color:var(--fl-muted)}
.fw-prose h2{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-0.015em;color:var(--fl-ink);margin:52px 0 16px;padding-top:28px;border-top:1px solid var(--fl-border);scroll-margin-top:24px}
.fw-prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.fw-prose h3{font-size:16.5px;line-height:1.4;font-weight:500;color:var(--fl-ink);margin:28px 0 8px}
.fw-prose p{margin:0 0 16px;text-wrap:pretty}
.fw-prose strong{color:var(--fl-ink);font-weight:600}
.fw-prose ul,.fw-prose ol{margin:0 0 16px;padding-left:1.2em}
.fw-prose li{margin:0 0 6px;text-wrap:pretty}
.fw-prose a{color:var(--fl-ink);text-decoration:underline;text-decoration-color:var(--fl-border);text-underline-offset:3px}
.fw-prose a:hover{color:var(--fl-ink);text-decoration-color:var(--fl-ink)}
.fw-prose code{font-family:var(--fl-font-mono);font-size:.85em;background:var(--fl-well);border:1px solid var(--fl-border);border-radius:4px;padding:1px 5px;color:var(--fl-ink)}
.fw-prose blockquote{margin:0 0 16px;padding:4px 0 4px 18px;border-left:1px solid var(--fl-border);color:var(--fl-ink)}
.fw-prose table{width:100%;border-collapse:collapse;font-size:14px;margin:0 0 24px}
.fw-prose th{text-align:left;font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--fl-muted);padding:.5rem .75rem;border-bottom:1px solid var(--fl-border)}
.fw-prose td{padding:.625rem .75rem;border-bottom:1px solid var(--fl-border);vertical-align:top;line-height:1.55}
.fw-updated{margin:64px 0 0;font-size:11.5px;color:var(--fl-muted)}
.fw-footer{padding-top:36px;padding-bottom:56px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px;border-top:1px solid var(--fl-border)}
.fw-footer nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-size:13px}
.fw-footer nav a{color:var(--fl-muted);text-decoration:none}
.fw-footer nav a:hover{color:var(--fl-ink)}
.fw-footer>span{margin-left:auto;font-size:13px;color:var(--fl-muted)}
[data-logo="dark"]{display:none}.dark [data-logo="dark"]{display:block}.dark [data-logo="light"]{display:none}

/* ── the landing page ───────────────────────────────────────────────────── */

/* `hidden` on the waiting-list states has to beat the display values below:
   an author `display:flex` outranks the user agent's `[hidden]{display:none}`,
   so without this the "on the list" line would be visible from first paint. */
[hidden]{display:none!important}

html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@keyframes fl-travel{0%{left:0;opacity:0}3%{opacity:1}20%{left:0}30%{left:33.33%}50%{left:33.33%}60%{left:66.67%}80%{left:66.67%}90%{left:100%;opacity:1}100%{left:100%;opacity:0}}

/* Section rhythm. The 40px side padding and its 24px override under 640px are
   `.fw-frame` above — the mockup's `[data-pad]` rule, already shared with the
   subpages. `data-pad` survives on the hero column alone, where landing.js
   reads its left edge to place the map's mask. */
.ln-section{padding-bottom:160px}
.ln-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:56px;align-items:start}
.ln-split-bench{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr))}
.ln-col{display:flex;flex-direction:column;gap:22px;max-width:52ch}
.ln-head-row{display:flex;align-items:baseline;gap:16px;margin-bottom:40px}
.ln-head-row-tight{margin-bottom:20px}

/* Type roles */
.ln-h1{margin:0;font-size:clamp(38px,5.6vw,72px);line-height:1.04;font-weight:450;letter-spacing:-0.03em;max-width:17ch;text-wrap:balance;color:var(--fl-ink)}
.ln-h2{margin:0;font-size:clamp(28px,2.8vw,40px);line-height:1.15;font-weight:450;letter-spacing:-0.025em;color:var(--fl-ink);text-wrap:balance}
.ln-lede{margin:0;max-width:40ch;font-size:clamp(18px,1.6vw,22px);line-height:1.4;font-weight:400;letter-spacing:-0.01em;color:var(--fl-ink);text-wrap:pretty}
.ln-intro{margin:0;max-width:62ch;font-size:clamp(16px,1.3vw,18px);line-height:1.65;color:var(--fl-muted);text-wrap:pretty}
.ln-lead{margin:0;font-size:clamp(22px,2.1vw,29px);line-height:1.32;font-weight:400;letter-spacing:-0.015em;color:var(--fl-ink);text-wrap:pretty}
.ln-body{margin:0;font-size:16.5px;line-height:1.65;color:var(--fl-muted);text-wrap:pretty}
.ln-small{margin:0;font-size:13.5px;line-height:1.6;color:var(--fl-muted);text-wrap:pretty}
.ln-note{margin:0;font-size:12.5px;line-height:1.55;color:var(--fl-muted);text-wrap:pretty}
.ln-meta{margin-left:auto;font-size:11px;color:var(--fl-muted)}

/* Beta bar */
.ln-beta{background:var(--fl-surface);border-bottom:1px solid var(--fl-border)}
.ln-beta-inner{padding-top:9px;padding-bottom:9px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;min-height:44px}
.ln-beta-msg{display:inline-flex;align-items:center;gap:9px;font-size:13px;color:var(--fl-muted)}
.ln-wl{margin-left:auto;display:flex;align-items:center;gap:6px}
.ln-wl .fl-input{width:210px;padding:5px 8px;font-size:12px}
.ln-wl button{white-space:nowrap}
/* The wrapper exists only so the <noscript> style in index.html can hide the
   input and the button together; `display:contents` keeps its children direct
   flex items of .ln-wl, so the 6px gap is unchanged. */
.ln-wl-fields{display:contents}
.ln-wl-done{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--fl-ink)}
.ln-wl-error{margin-left:auto;font-size:12px;color:var(--fl-terminal-err)}
.ln-wl-noscript{font-size:12px;color:var(--fl-terminal-err)}

/* Hero. Only the copy column and the caption sit above the map; the header
   and the beta bar are earlier siblings and cannot overlap it. */
.ln-hero{position:relative;overflow:hidden}
.ln-map{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.ln-map-caption{position:absolute;top:18px;right:40px;font-size:10.5px;color:var(--fl-muted);z-index:1}
.ln-hero-inner{position:relative;z-index:1;padding-bottom:40px;min-height:calc(100vh - 114px);display:flex;flex-direction:column}
.ln-hero-copy{margin:auto 0;padding:72px 0 56px;display:flex;flex-direction:column;gap:28px}
.ln-hero-actions{display:flex;flex-direction:column;gap:14px;margin-top:6px}
.ln-cta-row{display:flex;flex-wrap:wrap;gap:10px}
.ln-cta{font-size:14px;padding:11px 18px;border-radius:var(--fl-radius-lg);gap:9px}
.ln-cta:hover{text-decoration:none}
.ln-hero-micro{font-size:11.5px;color:var(--fl-muted)}
.ln-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px 28px;padding-top:28px;border-top:1px solid var(--fl-border)}
.ln-stat{display:flex;flex-direction:column;gap:9px}
.ln-value{font-size:13px;color:var(--fl-ink)}
.ln-value-dot{display:flex;align-items:center;gap:9px}

/* Activity terminal */
.ln-drop{width:1px;height:84px;margin-left:2px;background:linear-gradient(var(--fl-border),var(--fl-accent));opacity:.55}
.ln-term{margin-top:18px}
.ln-terminal{box-shadow:0 0 140px -30px color-mix(in oklab,var(--fl-green-400) 22%,transparent)}
.ln-term-count{margin-left:auto;text-transform:none;letter-spacing:0}
.ln-terminal-body{height:318px;font-size:13px;line-height:1.7}
.ln-term-note{margin:18px 0 0;max-width:72ch;font-size:13.5px;line-height:1.6;color:var(--fl-muted);text-wrap:pretty}

/* The instrument bench */
.ln-sticky{position:sticky;top:64px;display:flex;flex-direction:column;gap:24px;padding-right:24px}
.ln-bench{padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.ln-bench-head{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:6px 8px 2px}
.ln-bench-icon{flex:none}
.ln-card{display:flex;flex-direction:column;gap:12px;padding:14px 16px 16px;min-width:0}
.ln-card-wide{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px 22px;padding:14px 16px 16px;align-items:center;min-width:0}
.ln-card-head{display:flex;align-items:baseline;gap:10px}
.ln-card-name{margin-left:auto;font-size:11px;color:var(--fl-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ln-bat{padding:12px 14px 10px;display:flex;flex-direction:column;gap:10px}
.ln-bat-row{display:flex;align-items:baseline;gap:6px}
.ln-bat-value{font-size:30px;font-weight:500;letter-spacing:-0.02em;line-height:1;color:var(--fl-ink)}
.ln-unit{font-size:12px;color:var(--fl-muted)}
[data-bind="sparkline"]{width:100%;height:28px;display:block}
.ln-instr{padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.ln-instr-row{display:flex;align-items:center;gap:8px}
.ln-instr-meta{margin-left:auto;font-size:11px;color:var(--fl-muted);flex:none}
/* The publisher state and its timeout bar take their colour from the dot.
   `pubDot` is the only part of the failsafe state the DOM contract varies by
   itself, so both follow it from here rather than each restating the ok token:
   in the `client quiet N ms` and `zero twist published` phases an amber dot
   beside green text above a green bar would announce a failsafe that looks
   like it did not fire, and no check in this repository can see that. */
.ln-pub-state{font-size:12.5px;color:var(--fl-terminal-ok);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-instr-row:has([data-bind="pubDot"].fl-dot-warn) .ln-pub-state{color:var(--fl-terminal-warn)}
.ln-bar{height:2px;background:var(--fl-border);border-radius:1px;overflow:hidden}
.ln-bar-fill{height:100%;width:0}
.ln-bar-pub{background:var(--fl-terminal-ok);transition:width .25s linear}
.ln-instr:has([data-bind="pubDot"].fl-dot-warn) .ln-bar-pub{background:var(--fl-terminal-warn)}
.ln-bar-act{background:var(--fl-muted);transition:width .25s steps(2)}
.ln-feed{font-size:11px;color:var(--fl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-act-pct{margin-left:auto;font-size:12.5px;color:var(--fl-ink)}
.ln-cam{position:relative;height:106px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--fl-muted)}
.ln-cam-icon{opacity:.55}
.ln-cam-tl{position:absolute;left:10px;top:8px;font-size:10.5px;color:var(--fl-muted)}
.ln-cam-bl{position:absolute;left:10px;bottom:8px;font-size:10.5px;color:var(--fl-muted)}
.ln-cam-br{position:absolute;right:10px;bottom:8px;font-size:10.5px;color:var(--fl-muted)}
.ln-svc-col{display:flex;flex-direction:column;gap:12px;min-width:0}
.ln-svc{padding:12px 14px;display:flex;flex-direction:column;gap:6px;font-size:12px;white-space:nowrap;overflow:hidden}
.ln-svc-row{display:flex;gap:10px}
/* An answered call is ok-green; `pending…` is muted. The class is the hook
   `landing.js` toggles for the second state — it assigns no className
   wholesale on this element, so a class here is safe to add. */
.ln-svc-resp{color:var(--fl-terminal-ok)}
.ln-svc-resp.ln-svc-pending{color:var(--fl-muted)}

/* Disconnect table */
.ln-rows{padding:0;min-width:0;overflow:hidden}
.ln-row{display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:16px;padding:16px 18px;border-bottom:1px solid var(--fl-border)}
.ln-row:last-child{border-bottom:0}
.ln-row-key{font-size:12px;line-height:1.6;color:var(--fl-ink)}

/* The shape of the thing */
.ln-rail{position:relative}
.ln-line{position:absolute;left:5px;right:calc(25% - 26px);top:5px;height:1px;background:var(--fl-border)}
.ln-travel{position:absolute;top:-3px;left:0;width:7px;height:7px;margin-left:-3px;border-radius:9999px;background:var(--fl-accent);box-shadow:var(--fl-terminal-glow-ok);animation:fl-travel 8s cubic-bezier(.4,0,.6,1) infinite}
@media (prefers-reduced-motion:reduce){.ln-travel{animation:none}}
.ln-stations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.ln-station{position:relative;padding-top:30px;display:flex;flex-direction:column;gap:10px}
.ln-station-dot{position:absolute;top:0;left:0;width:11px;height:11px;border-radius:9999px;border:1px solid var(--fl-muted);background:var(--fl-canvas)}
.ln-station-name{font-size:13px;color:var(--fl-ink)}

/* Identity */
.ln-welltable{padding:4px 0;min-width:0;overflow:hidden}
.ln-idtable td{padding-top:14px;padding-bottom:14px}
.ln-idtable td:first-child{width:96px;color:var(--fl-ink);vertical-align:top}
.ln-idtable td:last-child{color:var(--fl-muted);line-height:1.6}

/* Principles */
.ln-principles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:40px 32px;border-top:1px solid var(--fl-border);padding-top:36px}
.ln-principle{display:flex;flex-direction:column;gap:12px;min-width:0}
.ln-principle-no{font-size:11px;color:var(--fl-muted)}
.ln-principle h3{margin:4px 0 0;font-size:17px;font-weight:500;letter-spacing:-0.01em;color:var(--fl-ink)}
.ln-principle p{margin:0;font-size:14px;line-height:1.65;color:var(--fl-muted);text-wrap:pretty}
.ln-chip{margin-top:auto;padding:9px 11px;font-size:11.5px;line-height:1.5;color:var(--fl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Hosting and data */
.ln-note-inline{margin-left:auto;font-size:13px;color:var(--fl-muted)}
.ln-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:0 32px;border-top:1px solid var(--fl-border);border-bottom:1px solid var(--fl-border)}
.ln-fact{display:flex;flex-direction:column;gap:9px;padding:24px 0}

/* Code samples */
.ln-endpoints{display:flex;flex-direction:column;border-top:1px solid var(--fl-border);margin-top:6px}
.ln-endpoint{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--fl-border);font-size:13px}
.ln-samples{display:flex;flex-direction:column;gap:14px;min-width:0}
.ln-sample{border:1px solid var(--fl-border);border-radius:var(--fl-radius-lg);background:var(--fl-well);overflow:hidden}
.ln-sample-head{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--fl-border);background:var(--fl-surface)}
.ln-sample-title{font-size:11px;font-weight:500;color:var(--fl-muted)}
.ln-sample-meta{margin-left:auto;font-size:11px;color:var(--fl-muted)}
.ln-code{padding:12px 14px;font-size:12px;line-height:1.75;overflow:auto hidden;color:var(--fl-ink)}
.ln-code-line{white-space:pre}

/* Closing call to action */
.ln-cta-section{background:var(--fl-well);border-top:1px solid var(--fl-border)}
.ln-cta-inner{padding-top:170px;padding-bottom:180px;display:flex;flex-direction:column;align-items:flex-start;gap:26px}
.ln-cta-h2{margin:0;font-size:clamp(36px,4.6vw,60px);line-height:1.05;font-weight:450;letter-spacing:-0.03em;color:var(--fl-ink);text-wrap:balance}
.ln-cta-p{margin:0;max-width:54ch;font-size:17px;line-height:1.65;color:var(--fl-muted);text-wrap:pretty}
.ln-cta-lg{margin-top:10px;font-size:15px;font-weight:500;padding:13px 22px;border-radius:var(--fl-radius-lg);gap:10px}
.ln-cta-lg:hover{text-decoration:none}
.ln-cta-host{font-size:11.5px;color:var(--fl-muted)}

/* Two ink roles the mockup applies inline all over the page. Last in the
   file so they win over the block-level colour of whatever they sit in. */
.ln-ink{color:var(--fl-ink)}
.ln-dim{color:var(--fl-muted)}

/* The mockup's remaining three breakpoints (640px is `.fw-frame`, above). */
@media (max-width:960px){.ln-sticky{position:static}}
@media (max-width:760px){.ln-stations{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}.ln-line{display:none}}
@media (max-width:560px){.ln-bench{grid-template-columns:minmax(0,1fr)}}
