/* The front page at "/" (the confidential cloud), loaded after site.css: the first screen's ground, type, marks, grain
   and song button are site.css's own; this adds the bar's links and theme toggle, the first screen's new lines, the live
   check, the products and the sections below, the ground they sit on (lander-ground.js) and a light theme, chosen with
   the toggle; the front page stays dark unless light is chosen. No text under 15px; no inline styles (style-src 'self'). */

:root {
  --ink-2: #d3cec3; --gold-t: #d9b77e; --gold-hover: #f0d7a8; --on-gold: #14110c;
  --red: #ff3912; --red-t: #ff8d72; --red-soft: rgba(255, 57, 18, 0.1); --live: #8fd694; --live-glow: rgba(143, 214, 148, 0.16);
  --sheet: #121210; --sheet-a: rgba(18, 18, 16, 0.86); --well: #0d0d0b; --hair: #262420; --hair-2: #3e3a31;
  --tint: rgba(228, 196, 138, 0.1); --tint-2: rgba(228, 196, 138, 0.16); --skel: rgba(255, 255, 255, 0.07);
  --link-line: rgba(217, 183, 126, 0.4); --bar-bg: rgba(9, 9, 8, 0.86);
  /* no backdrop blur (it re-blurred the moving dots every frame): the bar and the live check row are a little more opaque instead */
  --bar-solid: rgba(9, 9, 8, 0.93); --band-bg: rgba(18, 18, 16, 0.92);
  --pop-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9), 0 2px 6px -2px rgba(0, 0, 0, 0.6);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 2.8vw, 64px); --wrap: 1640px;
  --lbl: clamp(15px, 0.1vw + 13.6px, 16px);
  --mk-glow: rgba(228, 196, 138, 0.26);
  /* the ground below the first screen: its faint glows and grain (as roadmap.css's sky) */
  --glow1: rgba(210, 174, 114, .05); --glow2: rgba(110, 125, 170, .045); --grain: .04; --grain-blend: soft-light;
}
:root[data-theme="light"] {
  --bg: #f4f1e9; --ink: #1c1a16; --ink-2: #433e36; --muted: #5f584c;
  --gold: #a8823f; --gold-2: #7a581c; --gold-t: #765819; --gold-hover: #64470f; --on-gold: #fffdf8;
  --red: #c22e07; --red-t: #a82804; --red-soft: rgba(194, 46, 7, 0.07); --live: #256530; --live-glow: rgba(37, 101, 48, 0.16);
  --sheet: #fffdf8; --sheet-a: rgba(255, 253, 248, 0.9); --well: #f1ece2; --hair: #e5dfd2; --hair-2: #cbc2af;
  --tint: rgba(122, 88, 28, 0.09); --tint-2: rgba(122, 88, 28, 0.13); --skel: rgba(28, 26, 22, 0.08);
  --link-line: rgba(118, 88, 25, 0.38); --bar-bg: rgba(244, 241, 233, 0.9); --bar-solid: rgba(244, 241, 233, 0.95); --band-bg: rgba(255, 253, 248, 0.94);
  --pop-shadow: 0 24px 50px -24px rgba(60, 45, 20, 0.35), 0 2px 6px -2px rgba(60, 45, 20, 0.18);
  --mk-glow: rgba(168, 130, 63, 0.3);
  --dots: rgba(122, 88, 28, 0.16); --f1: .14; --f2: .08;
  --df-bg: 0.957 0.945 0.914; --df-ga: 0.82 0.76 0.67; --df-gb: -0.2 -0.21 -0.21; --df-c1: 0.6 0.29 0.09; --df-c2: 0.72 0.36 0.14;
  --glow1: rgba(210, 174, 114, 0); --glow2: rgba(110, 125, 170, 0); --grain: .03; --grain-blend: multiply;
  color-scheme: light;
}
:root { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 88px; }
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
a { color: var(--gold-t); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-color: currentColor; }
p { margin: 0; }
h2, h3 { margin: 0; font-weight: 400; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.arr { display: inline-block; transition: transform 0.18s ease; }
a:hover > .arr, a:focus-visible > .arr { transform: translateX(4px); }

/* the light theme's ground under today's rules */
:root[data-theme="light"] .sound { background: rgba(244, 241, 233, 0.82); border-color: rgba(122, 88, 28, 0.45); }
/* the Router and the Zone, once site.js has drawn them into the page, take their light files' colours here (the
   mapping of the repo's own secret-zone-h2-icon-light.svg: gold #7a581c, pale gold #9a6a34, red #d12c07) */
:root[data-theme="light"] .mark svg [stroke="#e4c48a"] { stroke: #7a581c; }
:root[data-theme="light"] .mark svg [fill="#e4c48a"] { fill: #7a581c; }
:root[data-theme="light"] .mark svg [fill="#f9c796"] { fill: #9a6a34; }
:root[data-theme="light"] .mark svg [fill="#ff3912"] { fill: #d12c07; }
:root[data-theme="light"] .mark svg [stroke="#ff3912"] { stroke: #d12c07; }
:root[data-theme="light"].js .draw-zone { stroke: #7a581c; }
:root[data-theme="light"].js .comet, :root[data-theme="light"].js .route-node, :root[data-theme="light"].js .w-node { fill: #d12c07; }
:root[data-theme="light"].js .route, :root[data-theme="light"].js .sweep { stroke: #d12c07; }
:root[data-theme="light"].js .dl-knob circle, :root[data-theme="light"].js .dl-knob line { animation: glyph-draw 63.019s linear both, knob-red-light 63.019s linear both; }
@keyframes knob-red-light { 0%, 68% { stroke: #7a581c; } 72%, 76% { stroke: #d12c07; } 82%, 100% { stroke: #7a581c; } }

/* Below the first screen the Router and the Zone arrive already drawn (only the first screen's marks draw themselves
   in): no rim or stroke drawing, no laps, routes or sweeps; only their red beats run, on the song clock, and they rest
   off screen (lander-marks-below.js sets .mark-rest). */
.below .mark .draw-rim, .below .mark .draw-in { animation: none; stroke-dashoffset: 0; }
.below .mark .draw-zone { animation: none; stroke-dashoffset: 0; fill-opacity: 1; }
.below .mark .m-fill { animation: none; fill-opacity: 1; }
.below .mark .orbit, .below .mark .w-orbit { animation: none; }
.below .mark .dl-knob { animation: none; transform: rotate(35deg); }      /* where the knob rests in the live drawing */
.below .mark .dl-knob circle, .below .mark .dl-knob line { animation: knob-red 63.019s linear both; stroke-dashoffset: 0; }
:root[data-theme="light"].js .below .mark .dl-knob circle, :root[data-theme="light"].js .below .mark .dl-knob line { animation: knob-red-light 63.019s linear both; }
.below .mark .comet, .below .mark .routes, .below .mark .sweep { display: none; }
.below .mark .red-node { animation: heartbeat 63.019s linear both; }
.mark-rest, .mark-rest * { animation-play-state: paused !important; }
.mk-light, .pub-mark .mk-light { display: none; }
:root[data-theme="light"] .mk-dark, :root[data-theme="light"] .pub-mark .mk-dark { display: none; }
:root[data-theme="light"] .mk-light, :root[data-theme="light"] .pub-mark .mk-light { display: block; }
.when-light { display: none; }
:root[data-theme="light"] .when-dark { display: none; }
:root[data-theme="light"] .when-light { display: block; }

/* the drawn marks in their own documents are drawn for the default scheme, so their element takes it too (a mismatch
   paints an opaque box); the light theme swaps each to its light file (lander-marks.js) */
object.m-live, object.m-new { color-scheme: normal; }
.card-mark object, .prod-mark object, .chain-item object, canvas.mark-canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; }
/* the final marks (Secret SI, Sites, CVMs) paint their own ground on a square canvas: clipped at the ring's outer edge
   (47% of the side), so no square shows on the dot field or a card */
canvas.mark-canvas { clip-path: circle(47.05% at 50% 50%); }
canvas.mark-canvas img { width: 100%; height: auto; }

/* ---------- the pills: today's .soon, at the page's 15px floor ---------- */
.soon {
  margin: 0; padding: 12px 20px; font-size: 15px; letter-spacing: 0.14em; line-height: 1.1; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.soon:hover { background: var(--tint); color: var(--gold-2); }
.soon:active { transform: translateY(1px); }
.soon.solid { background: var(--gold-2); color: var(--on-gold); }
.soon.solid:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--on-gold); }
.soon.small { padding: 9px 16px; letter-spacing: 0.1em; }
.soon:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--hair-2); border-radius: 999px;
  background: transparent; color: var(--ink-2); cursor: pointer; transition: border-color 0.18s ease, color 0.18s ease;
}
.icon-btn:hover { border-color: var(--gold-2); color: var(--gold-2); }
.icon-btn:active { transform: translateY(1px); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the theme toggle: one click flips dark and light; it shows the theme it switches to (a sun in dark, a moon
   in light), the two crossing over with a short turn ---------- */
.theme-toggle {
  position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--hair-2); border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
}
.theme-toggle:hover { border-color: var(--gold-2); color: var(--gold-2); background: var(--tint); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.theme-toggle .ico { grid-area: 1 / 1; transition: opacity 0.28s ease, transform 0.38s cubic-bezier(.2, .8, .2, 1); }
.theme-toggle .t-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .t-moon { opacity: 0; transform: rotate(-70deg) scale(0.6); }
.theme-toggle[aria-pressed="true"] .t-sun { opacity: 0; transform: rotate(70deg) scale(0.6); }
.theme-toggle[aria-pressed="true"] .t-moon { opacity: 1; transform: rotate(0deg) scale(1); }
@media (prefers-reduced-motion: reduce) { .theme-toggle .ico { transition: opacity 0.15s linear; transform: none !important; } }


/* ---------- the bar: today's mark and pills (portal.css .pub-bar), with the sections' links ---------- */
.pub-bar {
  position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px;
  padding: calc(20px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-right, 0px)) 12px calc(24px + env(safe-area-inset-left, 0px));
  border-bottom: 1px solid transparent; transition: background-color 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}
.pub-bar.scrolled { padding-top: calc(12px + env(safe-area-inset-top, 0px)); background: var(--bar-solid); border-bottom-color: var(--hair); }
.pub-mark { display: block; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.pub-mark img { display: block; width: 100%; height: 100%; }
.pub-mark:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.pub-links { display: flex; gap: 4px; margin-left: clamp(8px, 2vw, 32px); }
.pub-links a { padding: 10px 14px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font: 500 var(--lbl)/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.18s ease, color 0.18s ease; }
.pub-links a:hover { color: var(--ink); background: var(--tint); }
.pub-acts { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.pub-acts .soon[hidden] { display: none; }
.menu-btn { display: none; }
.menu {
  position: absolute; top: calc(100% + 4px); right: calc(24px + env(safe-area-inset-right, 0px)); width: min(330px, calc(100vw - 32px));
  display: grid; gap: 4px; padding: 10px; border: 1px solid var(--hair-2); border-radius: 12px; background: var(--sheet); box-shadow: var(--pop-shadow);
}
.menu a:not(.soon), .menu-theme {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--ink);
  font: 500 var(--lbl)/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: left; cursor: pointer;
}
.menu a:not(.soon):hover, .menu-theme:hover { background: var(--tint); color: var(--ink); }
.menu .soon { justify-content: center; margin-top: 6px; }
@media (max-width: 1040px) {
  .pub-links { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 560px) {
  .pub-bar { padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(16px + env(safe-area-inset-right, 0px)); padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
  .pub-acts .pub-signup { display: none; }
  .menu { right: 16px; }
}

/* ---------- the first screen: today's main, header, h1 and row, with the new lines ---------- */
main { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
main header { max-width: 60rem; display: grid; justify-items: center; }
.hero-k { margin: 0 0 14px; font: 500 var(--lbl)/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-t); }
.tagline { margin-top: clamp(14px, 1.2vw, 20px); font: 400 clamp(26px, 2.3vw, 40px)/1.12 var(--serif); letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.hero-sub { margin-top: 12px; max-width: 46em; color: var(--ink-2); font-size: clamp(16px, 0.25vw + 13.6px, 19px); line-height: 1.55; }
.hero-sub span { display: block; }
.hero-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: clamp(18px, 1.8vw, 28px); }
.row { margin-top: clamp(30px, 3vw, 48px); }
figcaption { font-size: 15px; }
figcaption small { font-size: 15px; letter-spacing: 0; opacity: 0.7; }
.mark { position: relative; }
.mark-link { color: inherit; text-decoration: none; }
.mark-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 16px; }
.mark-link:focus-visible { outline: 0; }
.mark:has(.mark-link:focus-visible) { outline: 2px solid var(--gold-2); outline-offset: 4px; border-radius: 16px; }
.mark .glyph { transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), filter 0.3s ease; }
.mark:has(.mark-link):hover .glyph { transform: translateY(-5px); filter: drop-shadow(0 10px 24px var(--mk-glow)); }
.mark:has(.mark-link):hover figcaption { color: var(--gold-2); }
.mark:has(.mark-link):active .glyph { transform: translateY(-2px); }
@media (max-width: 760px) {
  .hero-sub span { display: inline; }
  .hero-sub { text-wrap: balance; }
}

/* ---------- the live check, in the first screen ---------- */
.proof-band {
  position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px;
  margin-top: clamp(14px, 1.6vw, 26px); padding: 12px 14px 12px 12px; border: 1px solid var(--hair-2); border-radius: 32px;
  background: var(--band-bg); text-align: left;
}
.proof-band[data-state="ok"] { border-color: color-mix(in srgb, var(--live) 45%, var(--hair-2)); }
.proof-band[data-state="failed"] { border-color: var(--red); }
.rc-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--hair-2); border-radius: 50%; font: 500 18px/1 var(--mono); color: var(--ink-2); margin: 0; }
[data-state="ok"] > .rc-mark { color: var(--live); border-color: var(--live); box-shadow: 0 0 0 6px var(--live-glow); }
[data-state="failed"] > .rc-mark { color: var(--red-t); border-color: var(--red); }
[data-state="partly"] > .rc-mark { color: var(--gold-t); border-color: var(--gold); }
[data-state="checking"] > .rc-mark, .rc-row[data-state="checking"] .rc-glyph { animation: wait 1.4s ease-in-out infinite; }
.pb-title { color: var(--ink); font-size: 15px; }
.pb-title .rc-h { font: 500 max(15px, 0.95em)/1.4 var(--sans); }
.proof-band .rc-rows { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.proof-band .rc-row { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--hair-2); border-radius: 999px; font: 500 15px/1.3 var(--mono); color: var(--ink-2); }
.proof-band .rc-row[data-state="checked"] { color: var(--live); border-color: color-mix(in srgb, var(--live) 40%, transparent); }
.proof-band .rc-row[data-state="failed"] { color: var(--red-t); border-color: var(--red); }
.proof-band .rc-row[data-state="aged"] { color: var(--gold-t); }
.proof-band .rc-row[data-state="held"], .proof-band .rc-row[data-state="not-checked"] { color: var(--muted); }
.rc-glyph { display: inline-block; width: 1.1em; text-align: center; }
.pb-link { padding-right: 10px; font: 500 var(--lbl)/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
html:not(.scripted) .proof-band .rc-rows, html:not(.scripted) .proof-band > .rc-mark { display: none; }
@keyframes wait { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (max-width: 900px) { .proof-band { border-radius: 16px; padding: 14px; } }

/* ---------- below the first screen: the dot field hands over to the ground below ---------- */
/* the hand-off: lander-page.js sets these three opacities directly (a custom property on the root restyled the whole page on
   every scroll frame). The dot grid of site.css's body::before is drawn by its own element, the same rule. */
body::before { display: none; }
.dots-vignette { position: fixed; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dots, rgba(200, 163, 106, 0.18)) 1px, transparent 1px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 0%, transparent 68%); mask-image: radial-gradient(ellipse at 50% 42%, #000 0%, transparent 68%); }
.field, .dots-vignette { transition: opacity .12s linear; }
.below { position: relative; z-index: 1; }
.below > section, .below > footer { position: relative; z-index: 1; }
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0;
  background: radial-gradient(60% 50% at 70% 15%, var(--glow1), transparent 70%), radial-gradient(55% 55% at 20% 40%, var(--glow2), transparent 70%); }
.sky::after { content: ""; position: absolute; inset: 0; opacity: var(--grain); mix-blend-mode: var(--grain-blend); background-image: url("assets/roadmap-grain.svg?v=8d2b059f3e"); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sect { padding-block: clamp(76px, 7.2vw, 150px); }
.sect-tight { padding-block: clamp(28px, 3vw, 60px); }
.kicker { margin: 0; font: 500 var(--lbl)/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-t); }
.h2 { font: 400 clamp(38px, 3.6vw, 72px)/1.02 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.h2 em, .end-h em { font-style: italic; color: var(--gold-2); }
.lede { max-width: 44em; color: var(--ink-2); font-size: clamp(16px, 0.25vw + 13.6px, 19px); }
.sect-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 64rem; margin-bottom: clamp(30px, 3vw, 56px); }
.sect-head.split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 18px clamp(24px, 5vw, 96px); max-width: none; }
.tag { display: inline-block; padding: 2px 11px; border: 1px solid var(--hair-2); border-radius: 999px; font: 500 15px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-t); white-space: nowrap; }
.tag.beta { margin-left: 10px; border-color: var(--gold); color: var(--gold-2); }
.lock-ico { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gold-t); stroke-width: 1.6; stroke-linejoin: round; }
.lock-ico circle { fill: var(--red); stroke: none; }
@media (max-width: 900px) { .sect-head.split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the catalogue ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.3vw, 26px); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(22px, 1.8vw, 34px);
  border: 1px solid var(--hair-2); border-radius: 12px; background: var(--sheet-a);
  transition: border-color 0.2s ease, transform 0.25s cubic-bezier(.2, .8, .2, 1), box-shadow 0.25s ease;
}
.card:hover, .card:focus-within { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--pop-shadow); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-mark { width: clamp(84px, 6vw, 112px); }
.card-title { font: 400 clamp(32px, 2.3vw, 44px)/1.02 var(--serif); letter-spacing: -0.015em; }
.card-line { color: var(--ink); }
.card-seal { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding-top: 14px; border-top: 1px dashed var(--hair-2); color: var(--ink-2); }
.card-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.card-more { font: 500 var(--lbl)/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 1240px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- one section per product ---------- */
.prod { padding-block: clamp(70px, 6.6vw, 140px); border-top: 1px solid var(--hair); }
.prod-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 36px clamp(28px, 5vw, 120px); align-items: center; }
.prod.flip .prod-visual { order: 2; }
.prod-visual { display: grid; justify-items: center; gap: clamp(18px, 2vw, 34px); }
.prod-mark { width: clamp(190px, 15vw, 290px); }
.prod-text { display: grid; gap: 14px; align-content: center; min-width: 0; }
.prod-what { max-width: 36em; color: var(--ink); font-size: clamp(17px, 0.35vw + 13px, 21px); }
.sub-k { margin-top: 12px; font: 500 var(--lbl)/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.how-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.how-list li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
.how-n { color: var(--gold-t); font-size: 15px; padding-top: 2px; }
.sealed-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.sealed-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.prod .btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 10px; }
@media (max-width: 960px) {
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .prod.flip .prod-visual { order: 0; }
}

/* the portal's sheet look, showing each product in use */
.sheet { width: min(100%, 540px); padding: 18px 20px 20px; border: 1px solid var(--hair-2); border-radius: 12px; background: var(--sheet); box-shadow: var(--pop-shadow); text-align: left; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--hair); }
.sheet-name { color: var(--ink); font-size: 16px; }
.st { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.st::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.st.live { color: var(--live); }
.st.live::before { background: currentColor; box-shadow: 0 0 0 4px var(--live-glow); }
.st.building { color: var(--gold-2); }
.st.building::before { background: currentColor; box-shadow: none; animation: wait 1.3s ease-in-out infinite; }
.pairs { display: grid; gap: 8px; margin: 0; }
.pairs div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 12px; }
.pairs dt { font: 500 15px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pairs dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.mini-log { display: grid; gap: 4px; margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--well); list-style: none; font-size: 15px; color: var(--ink-2); }
.mini-log li { position: relative; padding-left: 24px; }
.mini-log li::before { content: "›"; position: absolute; left: 4px; color: var(--muted); }
.mini-log li.ok::before { content: "✓"; color: var(--live); }
.mini-log li.gone { color: var(--muted); }
.mini-log li.gone::before { content: ""; left: 6px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.files { display: grid; margin: 0 0 12px; padding: 0; list-style: none; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.sealed { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1 var(--mono); color: var(--gold-t); }
.sealed .lock-ico { width: 16px; height: 16px; }
.checks { display: grid; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); font-size: 15px; }
.checks b { color: var(--live); font: 500 16px/1 var(--mono); }
.sheet-note { margin-top: 12px; color: var(--muted); font-size: 15px; }
.compose { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--well); color: var(--ink); font-size: 15px; line-height: 1.55; white-space: pre; overflow-x: auto; }

/* ---------- sealed, measured, checked ---------- */
.seal-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.3vw, 26px); margin: 0; padding: 0; list-style: none; }
.seal-steps li { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 1.9vw, 38px); border: 1px solid var(--hair-2); border-radius: 12px; background: var(--sheet-a); }
.seal-steps h3 { font: 400 clamp(32px, 2.3vw, 46px)/1.02 var(--serif); }
.seal-steps p:last-child { color: var(--ink-2); }
.how-art { width: 100%; max-width: 230px; height: auto; margin-bottom: 10px; }
.how-art .as { fill: none; stroke: var(--gold-2); stroke-width: 2.2; stroke-linejoin: round; }
.how-art .as.thin { stroke-dasharray: 3 5; stroke-width: 1.6; }
.how-art .ar { fill: var(--red); }
.how-art .al { fill: none; stroke: var(--live); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.how-art .noise-dots circle { fill: color-mix(in srgb, var(--gold-2) 30%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .seal-steps .ar { transform-box: fill-box; transform-origin: center; animation: beat 3s ease-in-out infinite; }
  .seal-steps .al { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick 3.6s ease-in-out infinite; }
}
@keyframes beat { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.3); } 60% { transform: scale(0.95); } }
@keyframes tick { 0%, 10% { stroke-dashoffset: 60; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
@media (max-width: 1000px) { .seal-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- check it yourself ---------- */
.verify-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 26px clamp(26px, 5vw, 120px); align-items: start; }
.sticky-head { position: sticky; top: 100px; margin-bottom: 0; }
.verify-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.verify-steps li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; counter-increment: st; }
.verify-steps h3 { font: 600 1em/1.35 var(--sans); }
.verify-steps h3::before { content: counter(st, decimal-leading-zero) "\00a0\00a0"; font: 500 15px/1 var(--mono); color: var(--gold-t); }
.log-wrap { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; border: 1px solid var(--hair-2); border-radius: 10px; background: var(--well); overflow: hidden; }
.log-wrap::before { content: ""; grid-row: 1; grid-column: 1; align-self: center; width: 38px; height: 10px; margin-left: 16px;
  background: radial-gradient(circle at 5px 5px, var(--hair-2) 4px, transparent 4.5px) 0 0 / 14px 10px repeat-x; }
.log { grid-row: 2; margin: 0; padding: 4px 18px 16px; color: var(--ink); font: 500 15px/1.65 var(--mono); white-space: pre; overflow-x: auto; }
.copy-btn { grid-row: 1; grid-column: 1; justify-self: end; margin: 8px 8px 4px; min-height: 36px; padding: 0 12px; border: 1px solid var(--hair-2); border-radius: 999px; background: var(--sheet); color: var(--ink-2); font: 500 15px/1 var(--mono); cursor: pointer; }
.copy-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.copy-btn:active { transform: translateY(1px); }
.copy-btn.done { border-color: var(--live); color: var(--live); }
@media (max-width: 1100px) { .verify-grid { grid-template-columns: minmax(0, 1fr); } .sticky-head { position: static; } }

/* ---------- the app, the chain ---------- */
.strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px clamp(22px, 3vw, 60px); padding: clamp(22px, 2.2vw, 44px); border: 1px solid var(--hair-2); border-radius: 14px; background: var(--sheet-a); }
.strip-mark { width: clamp(110px, 8vw, 150px); max-width: none; margin: 0; flex: none; }
.strip-mark .glyph { padding: 4%; }
.strip-text { display: grid; gap: 8px; max-width: 46em; }
.strip-text p:not(.kicker), .chain-head p:not(.kicker) { color: var(--ink-2); }
.strip-h { font: 400 clamp(32px, 2.6vw, 52px)/1.04 var(--serif); letter-spacing: -0.015em; }
.chain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px clamp(24px, 4vw, 80px); align-items: center; padding: clamp(22px, 2.2vw, 44px); border: 1px solid var(--hair-2); border-radius: 14px; background: var(--sheet-a); }
.chain-head { display: grid; gap: 10px; }
.chain-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.chain-item { display: grid; grid-template-columns: clamp(92px, 7vw, 128px) minmax(0, 1fr); gap: 16px; align-items: center; max-width: none; margin: 0; padding: 16px; border: 1px solid var(--hair); border-radius: 12px; text-align: left; }
.chain-item .glyph { padding: 6%; }
.chain-item figcaption { display: grid; gap: 2px; margin: 0; color: var(--ink-2); font-size: 15px; }
.chain-item figcaption b { font: 400 clamp(26px, 1.8vw, 34px)/1.05 var(--serif); color: var(--ink); }
.chain-item figcaption small { margin: 0 0 4px; }
@media (max-width: 1100px) { .chain { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .strip { grid-template-columns: auto minmax(0, 1fr); }
  .strip > .soon { grid-column: 1 / -1; justify-self: start; }
  .strip-mark { width: 88px; align-self: start; }
  .chain-items { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- the roadmap, questions, the close, the footer ---------- */
.road { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: clamp(22px, 2.2vw, 40px); border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.road > div { display: grid; gap: 8px; max-width: 52rem; }
.road-h { font: 400 clamp(28px, 2.2vw, 44px)/1.08 var(--serif); letter-spacing: -0.012em; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 20px clamp(24px, 5vw, 110px); align-items: start; }
.faq { border-top: 1px solid var(--hair-2); }
.faq-i { border-bottom: 1px solid var(--hair-2); }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; font: 400 clamp(23px, 1.6vw, 31px)/1.2 var(--serif); transition: color 0.18s ease; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--hair-2); border-radius: 50%; font: 500 20px/1 var(--mono); color: var(--gold-t); transition: border-color 0.2s ease; }
.faq-i summary:hover { color: var(--gold-2); }
.faq-i summary:hover::after { border-color: var(--gold); }
.faq-i[open] summary::after { content: "–"; }
.faq-a { max-width: 52em; padding: 0 4px 26px; color: var(--ink-2); }
@media (max-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.end { text-align: center; padding-block: clamp(90px, 9vw, 200px); }
.end-mark { width: clamp(120px, 10vw, 170px); max-width: none; margin: 0 auto clamp(18px, 2vw, 30px); }
.end-h { margin: 0; font: 400 clamp(29px, 3.3vw, 68px)/1.04 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
.rm-foot { padding: 40px 64px 56px; text-align: center; color: var(--muted); font: 400 22px/1.2 var(--serif); letter-spacing: -0.005em; border-top: 1px solid var(--hair); }
.rm-foot a { color: var(--gold-t); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--gold-t) 40%, transparent); padding-bottom: 1px; transition: border-color .2s ease, color .2s ease; }
.rm-foot a:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 480px) {
  .soon { white-space: normal; text-align: center; }
  .hero-acts .soon { flex: 1 1 auto; justify-content: center; }
  .rm-foot { padding-inline: 20px 64px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-mark, .rc-glyph, .st.building::before { animation: none !important; }
  .card, .mark .glyph { transition: none; }
}

/* ---------- the ground below the first screen: one canvas (lander-ground.js) ---------- */
#bgfield { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }


/* ---------- work with us: the team helps build or move confidential apps; the address is revealed on a click by the
   studio's module (assets/contact-reveal.js and .css), so it is not in the page's HTML ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px clamp(28px, 5vw, 110px); align-items: center; }
.contact-copy, .cmsg { display: grid; gap: 12px; }
.contact-copy { gap: 14px; }
.contact-h { max-width: 16em; }
.contact-h em { font-style: italic; color: var(--gold-2); }
.cline { max-width: 38em; color: var(--ink-2); font-size: clamp(16px, 0.25vw + 13.6px, 19px); }
.cfor { margin-top: 4px; color: var(--gold-t); font: 500 15px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-sheet { display: grid; gap: 22px; min-width: 0; padding: clamp(22px, 2.2vw, 40px); border: 1px solid var(--hair-2); border-radius: 14px; background: var(--sheet-a); }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.contact-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.contact-list b { color: var(--ink); font-weight: 600; }
.contact-sheet [data-contact-reveal] { min-width: 0; max-width: 100%; overflow: hidden; }
/* the reveal's counter at the page's 15px floor */
.cr-count { font-size: 15px; line-height: 20px; min-height: 20px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
