/* Vinculum — shared by index.html and disclosure.html so the two pages
   cannot drift apart. Same palette and voice as the desktop client. */
:root {
  --void: #0f1216;
  --steel-900: #1b1f26;
  --steel-800: #232833;
  --steel-700: #2b313d;
  --steel-600: #3a4150;
  --steel-300: #9aa3b2;
  --fog: #e8ebf0;
  --signal: #55d62f;
  --signal-dim: #2f7a1d;
  --ember: #e8a13c;
  --alert: #e0685f;
  /* The client's display face, with stacks that degrade sensibly off-Mac. */
  --display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --data: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --rule: 1px solid var(--steel-700);
  --pad: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--fog);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--signal); text-decoration-color: var(--signal-dim); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--pad); }

/* ---- the ledger voice: mono, caps, tracked. Used for every label. ---- */
.mono {
  font-family: var(--data);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-300);
}

/* Section headers carry a hairline that runs to the edge of the column,
   and — where there is one — a real number on the right. The rule is the
   structure; the number is the reason the section exists. */
.marker {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 28px;
}
.marker::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--steel-700), transparent);
}
.marker .datum { font-family: var(--data); font-size: 11px; letter-spacing: 0.1em; color: var(--signal); }
.marker:has(.datum)::after { background: linear-gradient(90deg, var(--steel-700), var(--steel-700)); flex: 1; }

section { padding: clamp(52px, 7vw, 88px) 0; border-top: var(--rule); }
section:first-of-type { border-top: none; }

h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 18px;
}
h3 { font-family: var(--display); font-size: 24px; font-weight: 600; margin: 0 0 8px; letter-spacing: 0.01em; }
p { margin: 0 0 16px; color: #c9d0da; max-width: 62ch; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--fog); }

/* ============================ masthead ============================ */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 18, 22, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 58px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fog); }
.wordmark img { height: 26px; width: auto; }
.wordmark b {
  font-family: var(--display); font-size: 20px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
header.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
header.top nav a { color: var(--steel-300); text-decoration: none; }
header.top nav a:hover { color: var(--fog); }
@media (max-width: 720px) { header.top nav a.hide-sm { display: none; } }

/* ============================== hero ============================== */
/* Block only: a `padding` shorthand here would also reset .wrap's
   horizontal padding, and the copy would run into the screen edge. */
.hero { padding-top: clamp(36px, 7vw, 86px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero-grid {
  display: grid; gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 14px 0 22px;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--signal); }
.hero p { max-width: 46ch; }

/* The stage: dim lattice of capacity that could exist, bright nodes for
   the machines that do, emblem at the centre where the hub sits. */
.stage { position: relative; aspect-ratio: 1 / 1; }
.stage::before {
  content: ""; position: absolute; inset: -8%;
  background: radial-gradient(circle at 50% 46%, rgba(85, 214, 47, 0.07), transparent 62%);
  pointer-events: none;
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Frame and core are separate layers so the core can turn, the same way
   it does in the app. The motion is the product's, not the page's. */
.stage .sigil {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 38%; filter: drop-shadow(0 0 30px rgba(85, 214, 47, 0.3));
}
.stage .sigil-core {
  filter: none;
  animation: turn 42s linear infinite;
  transform-origin: 50% 45%;
}
@keyframes turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stage .sigil-core { animation: none; } }
/* Outside the stage, not over it: a node landing on the rule looked like
   a rendering fault rather than a machine. */
.readout {
  display: flex; gap: 34px; align-items: baseline;
  border-top: 1px solid var(--steel-700); padding-top: 14px; margin-top: 10px;
}
.readout .n { font-family: var(--data); font-size: 26px; color: var(--signal); line-height: 1; }
.readout .n.cold { color: var(--steel-600); }
.readout .n.warm { color: var(--ember); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--data); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 2px; text-decoration: none;
  border: 1px solid var(--steel-600); color: var(--fog);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { border-color: var(--steel-300); background: rgba(255,255,255,0.03); }
.btn.primary { background: var(--signal); border-color: var(--signal); color: #0d1a06; font-weight: 600; }
.btn.primary:hover { background: #63e93a; border-color: #63e93a; }

/* =========================== the two doors =========================== */
/* Split evenly and framed as a fork, because they really are two
   different bargains — not two features of one. */
.doors { display: grid; gap: 1px; background: var(--steel-700); border: var(--rule); }
@media (min-width: 861px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { background: var(--steel-900); padding: clamp(24px, 3.2vw, 40px); display: flex; flex-direction: column; }
.door .tag { color: var(--signal); }
.door.ask .tag { color: var(--ember); }
.door h3 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 14px; }
.door p { color: var(--steel-300); }
.door dl { margin: 22px 0 0; display: grid; gap: 20px; }
.door dt {
  font-family: var(--data); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel-600); margin-bottom: 2px;
}
.door dd { margin: 0; color: #c9d0da; font-size: 15px; }
.door .foot { margin-top: auto; padding-top: 24px; }

/* ============================== the loop ============================== */
.loop { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--steel-700); }
.step .n {
  position: absolute; top: -8px; left: 0;
  font-family: var(--data); font-size: 11px; color: var(--signal); background: var(--void); padding-right: 10px;
}
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--steel-300); margin: 0; }
/* The fourth step returns to the first — the sequence is a cycle, and the
   mark says so rather than implying the process ends. */
.step.returns .n { color: var(--ember); }

/* ============================== honesty ============================== */
.plain { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plain > div { border-left: 2px solid var(--steel-700); padding-left: 18px; }
.plain > div.sharp { border-left-color: var(--ember); }
.plain h3 { font-size: 18px; }
.plain p { font-size: 15px; color: var(--steel-300); margin: 0; }

/* ============================== credits ============================== */
.terms { border: var(--rule); background: var(--steel-900); padding: clamp(22px, 3vw, 34px); }
.terms ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.terms li { display: flex; gap: 14px; align-items: baseline; color: #c9d0da; font-size: 15px; }
.terms li::before {
  content: "—"; color: var(--steel-600); font-family: var(--data); flex: none;
}

/* ============================== waitlist ============================== */
.signup { border: var(--rule); border-color: var(--signal-dim); background: linear-gradient(180deg, rgba(85,214,47,0.05), transparent 70%); padding: clamp(26px, 4vw, 44px); }
form.wait { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
form.wait input {
  flex: 1 1 240px; min-width: 0;
  background: var(--void); border: 1px solid var(--steel-600); border-radius: 2px;
  color: var(--fog); font: 15px var(--body); padding: 13px 14px;
}
form.wait input::placeholder { color: var(--steel-600); }
form.wait input:focus-visible { border-color: var(--signal); outline: none; }
form.wait button {
  font-family: var(--data); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 2px; cursor: pointer;
  background: var(--signal); border: 1px solid var(--signal); color: #0d1a06; font-weight: 600;
}
form.wait button:disabled { opacity: 0.5; cursor: default; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--steel-600); }
.form-msg { margin-top: 14px; font-family: var(--data); font-size: 12px; letter-spacing: 0.06em; min-height: 1.2em; }
.form-msg.ok { color: var(--signal); }
.form-msg.bad { color: var(--alert); }

/* =============================== footer =============================== */
footer { border-top: var(--rule); padding: 42px 0 60px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: baseline; }
footer .latin { font-style: italic; color: var(--steel-600); max-width: 40ch; margin: 0; font-size: 14px; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { color: var(--steel-300); text-decoration: none; }
footer a:hover { color: var(--fog); }

@media (max-width: 520px) {
  /* Two buttons of different widths read as two importances. Stack them
     at equal width so the choice is between the labels, not the sizes. */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* The headline leads on a phone. Putting the emblem first filled the
     whole first screen with a picture and pushed the claim below the fold. */
  .hero-grid > div:last-child { max-width: 380px; margin: 0 auto; width: 100%; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ================== disclosure.html ==================
   A document, not a pitch: one column, generous measure, and none of the
   landing page's devices. It is linked from the footer rather than sitting in
   the flow, so anyone who arrives here came looking. */
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.doc-title {
  font-family: var(--display);
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 12px 0 20px;
}
.doc .lede { max-width: 60ch; margin-bottom: 46px; }
.doc h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 46px 0 20px;
  padding-top: 20px;
  border-top: var(--rule);
}
.doc .terms { margin-top: 4px; }
.rules { margin: 0; display: grid; gap: 22px; max-width: 74ch; }
.rules dt {
  font-family: var(--display); font-size: 19px; font-weight: 600;
  color: var(--fog); margin-bottom: 5px; letter-spacing: 0.01em;
}
.rules dd { margin: 0; color: var(--steel-300); font-size: 15px; max-width: 68ch; }
.doc-foot { margin-top: 46px; padding-top: 20px; border-top: var(--rule); color: var(--steel-600); font-size: 14px; }
