/* ==========================================================================
   future.knotenhub.com — the loud version.
   Dark only. No third-party requests. Motion can be switched off (header
   toggle, or prefers-reduced-motion), and every word is in the HTML.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #07090a;
  --bg-raised: #0e1311;
  --panel: rgba(16, 22, 19, 0.78);
  --line: rgba(137, 177, 147, 0.2);
  --line-strong: rgba(137, 177, 147, 0.45);

  --text: #f2eee3;
  --text-2: #b9b5aa;
  --text-3: #8f9a92;

  --green: #89b193;
  --green-hi: #b9e3c4;
  --brand: #207343;
  --orange: #ff8a3d;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--bg);
}

.motion-off { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; }
img, canvas { display: block; }
a { color: var(--green-hi); }
a:hover { color: var(--text); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 300;
  padding: 0.5rem 1rem; border-radius: 8px;
  background: var(--text); color: var(--bg);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.6);
  animation: beacon 2.4s var(--ease) infinite;
}

@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.6); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(255, 138, 61, 0); }
}

.section-lead {
  max-width: 34rem;
  font-size: 1.1875rem;
  color: var(--text-2);
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  color: var(--bg);
  background: var(--green-hi);
  cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 250ms var(--ease);
}

.btn:hover { background: var(--text); color: var(--bg); }

.btn-sm { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn-xl { min-height: 4rem; padding: 1rem 2.25rem; font-size: 1.25rem; }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(137, 177, 147, 0.12); color: var(--text); }

/* Header ------------------------------------------------------------------- */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem var(--gutter);
  background: linear-gradient(to bottom, rgba(7, 9, 10, 0.92), rgba(7, 9, 10, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; min-height: 2.75rem; align-items: center; }
.brand img { height: 2.75rem; width: auto; }

.top nav { margin-left: auto; }
.top nav ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.top nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-family: var(--font-mono); font-size: 0.875rem;
  color: var(--text-2); text-decoration: none;
}
.top nav a:hover { color: var(--text); }

.top-actions { display: flex; align-items: center; gap: 0.75rem; }

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  cursor: pointer;
}
.motion-toggle:hover { color: var(--text); border-color: var(--green); }
.motion-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); }
.motion-toggle[aria-pressed="false"] .motion-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }

/* Hero --------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

.net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 22% 50%, rgba(7, 9, 10, 0.88), rgba(7, 9, 10, 0.2) 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

h1 {
  font-size: clamp(2.75rem, 1.2rem + 6.2vw, 6.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 1.75rem;
}

.h1-a { display: block; }

.h1-word {
  display: block;
  min-height: 1em;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: -0.04em;
  color: var(--green-hi);
  white-space: nowrap;
}

.h1-word::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: var(--orange);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret { 50% { opacity: 0; } }

.hero-lead {
  max-width: 36rem;
  margin-bottom: 2.25rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem);
  color: var(--text-2);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Terminal */
.terminal, .code-window {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
}
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3430; }
.term-bar i:first-child { background: var(--orange); }
.term-bar span { margin-left: 0.5rem; }

.term-body, .code-body, .stage pre {
  margin: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  line-height: 1.75;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
}

.t-line { display: inline; }
.t-prompt, .c-prompt { color: var(--orange); }
.t-dim, .c-com { color: var(--text-3); }
.t-ok, .c-ok { color: var(--green-hi); }
.t-accent { color: var(--green-hi); font-weight: 700; }
.c-key { color: var(--green); }
.c-str { color: #f4c48f; }

.t-caret {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  vertical-align: -0.2em;
  background: var(--green-hi);
  animation: caret 1s steps(1) infinite;
}

/* Typing: only hidden while JS is typing them */
.js .term-body.is-typing .t-line { visibility: hidden; }
.js .term-body.is-typing .t-line.is-typed { visibility: visible; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: -1.375rem;
  border-radius: 999px;
}
.scroll-cue span {
  width: 22px; height: 36px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--green-hi);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(12px); opacity: 0; }
}

/* Ticker ------------------------------------------------------------------- */

.stack {
  padding: 2.5rem 0;
  border-block: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.ticker { display: flex; width: max-content; }
.ticker + .ticker { margin-top: 1rem; }

.ticker-row {
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0 1.5rem 0 1.5rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  animation: ticker 55s linear infinite;
}

.ticker-row li::before { content: "◆"; margin-right: 3rem; font-size: 0.5em; vertical-align: 0.3em; color: var(--brand); }
.ticker-rev .ticker-row { animation-direction: reverse; animation-duration: 65s; color: var(--text-2); }
.stack:hover .ticker-row { animation-play-state: paused; }

@keyframes ticker { to { transform: translateX(-100%); } }

/* Roles orbit -------------------------------------------------------------- */

.roles { padding: clamp(5rem, 10vw, 9rem) 0; }

.roles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.roles h2, .pipeline h2, .proof h2, .handshake h2, .connect h2 {
  font-size: clamp(2.5rem, 1.4rem + 4.5vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.role-detail {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  max-width: 30rem;
  border-left: 3px solid var(--orange);
  background: linear-gradient(to right, rgba(255, 138, 61, 0.08), transparent);
}
.role-detail-name { font-family: var(--font-mono); font-weight: 700; color: var(--orange); margin-bottom: 0.25rem; }
.role-detail-text { color: var(--text-2); }

.orbit {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1;
  justify-self: center;
  container-type: inline-size;
}

.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}
.orbit::after { inset: 26%; border-style: solid; border-color: var(--line); }

.orbit-core {
  position: absolute;
  left: 50%; top: 50%;
  width: min(46cqi, 18rem);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 5;
  pointer-events: none;
}

.orbit-core::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle, rgba(32, 115, 67, 0.35), transparent 62%);
}

.mark {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.mark img,
.mark video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mark video { opacity: 0; transition: opacity 250ms var(--ease); }
.mark.is-playing video { opacity: 1; }
.mark.is-playing .mark-still { opacity: 0; }

.orbit-core-label {
  margin-top: -4%;
  font-family: var(--font-mono);
  font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.orbit-ring { margin: 0; padding: 0; list-style: none; }

/* Without JS the chips sit on the ring at fixed angles */
.orbit-ring li {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg - 90deg)) translateX(40cqi) rotate(calc(var(--i) * -45deg + 90deg));
}
.orbit-ring li:nth-child(1) { --i: 0; } .orbit-ring li:nth-child(2) { --i: 1; }
.orbit-ring li:nth-child(3) { --i: 2; } .orbit-ring li:nth-child(4) { --i: 3; }
.orbit-ring li:nth-child(5) { --i: 4; } .orbit-ring li:nth-child(6) { --i: 5; }
.orbit-ring li:nth-child(7) { --i: 6; } .orbit-ring li:nth-child(8) { --i: 7; }

.orbit.is-live { aspect-ratio: 1.2; }
.orbit.is-live::after { display: none; }

.orbit.is-live .orbit-ring li { transform: none; left: 0; top: 0; will-change: transform; }

.chip {
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(14, 19, 17, 0.92);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--bg); }

/* Pipeline ----------------------------------------------------------------- */

.pipeline {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(32, 115, 67, 0.18), transparent),
    var(--bg-raised);
  border-block: 1px solid var(--line);
}

.pipeline-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2.5rem; }

.stages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }

.stage h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.35rem; }
.stage-no { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--orange); vertical-align: 0.5em; margin-right: 0.35rem; }
.stage { min-width: 0; }
.stage p { color: var(--text-2); }
.stage pre {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.code-window { display: none; }

/* Enhanced (JS, wide screens): the section pins while a signal runs down the stages */
@media (min-width: 64rem) {
  .pipeline.is-pinned { height: 420vh; padding: 0; }
  .pipeline.is-pinned .pipeline-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4.5rem;
  }
  .pipeline.is-pinned .pipeline-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
  .pipeline.is-pinned .stages { gap: 0.25rem; position: relative; padding-left: 2rem; }
  .pipeline.is-pinned .stages::before {
    content: "";
    position: absolute;
    left: 0.45rem; top: 1rem; bottom: 1rem;
    width: 2px;
    background: var(--line-strong);
  }
  .pipeline.is-pinned .stage { position: relative; padding: 0.6rem 0; opacity: 0.38; transition: opacity 250ms var(--ease); }
  .pipeline.is-pinned .stage::before {
    content: "";
    position: absolute;
    left: -2rem; top: 1.15rem;
    width: 1rem; height: 1rem;
    border: 2px solid var(--line-strong);
    border-radius: 50%;
    background: var(--bg-raised);
    transition: background-color 250ms var(--ease), border-color 250ms var(--ease), box-shadow 250ms var(--ease);
  }
  .pipeline.is-pinned .stage.is-done { opacity: 0.7; }
  .pipeline.is-pinned .stage.is-done::before { background: var(--brand); border-color: var(--green); }
  .pipeline.is-pinned .stage.is-active { opacity: 1; }
  .pipeline.is-pinned .stage.is-active::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255, 138, 61, 0.2), 0 0 24px rgba(255, 138, 61, 0.7); }
  .pipeline.is-pinned .stage h3 { font-size: 1.5rem; }
  .stage-btn {
    display: inline-flex;
    align-items: baseline;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    cursor: pointer;
  }
  /* The whole row, node included, is the click target */
  .stage-btn::after { content: ""; position: absolute; inset: 0 0 0 -2.5rem; }
  .pipeline.is-pinned .stage:hover { opacity: 1; }
  .stage-btn:hover { color: var(--orange); }
  .pipeline.is-pinned .stage:hover::before { border-color: var(--orange); }
  .pipeline.is-pinned .stage pre { display: none; }
  .pipeline.is-pinned .code-window { display: block; position: relative; }
  .pipeline.is-pinned .code-body { min-height: 15rem; font-size: 0.9375rem; }
}

.wire { position: relative; height: 3px; background: var(--line); }
.packet {
  position: absolute;
  left: 0; top: 0;
  width: 18%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--orange));
  box-shadow: 0 0 16px var(--orange);
  transform-origin: left;
}

/* Proof -------------------------------------------------------------------- */

.proof { padding: clamp(5rem, 10vw, 9rem) 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(400px circle at var(--mx) var(--my), rgba(137, 177, 147, 0.14), transparent 45%),
    var(--bg-raised);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--orange), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 250ms var(--ease);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card-sector { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.card-figure {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--green-hi);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.6rem; }
.card p:last-child { color: var(--text-2); font-size: 0.9875rem; }

/* Handshake ---------------------------------------------------------------- */

.handshake { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }

.shake {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.shake::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 1.3rem;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--green) 0 10px, transparent 10px 18px);
  background-size: 200% 100%;
  animation: dash 6s linear infinite;
  opacity: 0.6;
}
@keyframes dash { to { background-position: -36px 0; } }

.shake li { position: relative; }
.shake-flag {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--orange);
}
.shake h3 { font-size: 1.625rem; font-weight: 800; margin-bottom: 0.5rem; }
.shake p:last-child { color: var(--text-2); }

/* FAQ ---------------------------------------------------------------------- */

.faq { padding: 0 0 clamp(5rem, 10vw, 8rem); }
.faq-wrap { max-width: 52rem; }
.faq h2 { font-family: var(--font-mono); font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.75rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--font-mono); color: var(--orange); width: 1ch; }
.faq details[open] summary::before { content: "−"; }
.faq summary:hover { color: var(--green-hi); }
.faq details p { padding: 0 0 1.25rem 1.75rem; color: var(--text-2); }

/* Connect ------------------------------------------------------------------ */

.connect {
  position: relative;
  padding: clamp(6rem, 14vw, 11rem) 0;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(32, 115, 67, 0.45), transparent 70%), var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.connect .net { z-index: -1; opacity: 0.7; }
.connect h2 { font-size: clamp(3rem, 1.5rem + 7vw, 7.5rem); letter-spacing: -0.05em; }
.connect .section-lead { margin: 0 auto 2.5rem; }
.connect-actions { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

.copy {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 9, 10, 0.6);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.copy code { font-family: var(--font-mono); font-size: 0.9375rem; }
.copy-state {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(137, 177, 147, 0.16);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--green-hi);
}
.copy:hover { border-color: var(--green); }

/* Footer ------------------------------------------------------------------- */

.foot { padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: #040505; color: var(--text-2); font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.foot img { height: 3.5rem; width: auto; margin-bottom: 1rem; }
.foot p { margin-bottom: 0.35rem; }
.foot-heading { font-size: 1rem; letter-spacing: 0; color: var(--text); margin-bottom: 0.75rem; }
.foot a { color: var(--text); }
.foot-bottom { padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; }

/* Reveal ------------------------------------------------------------------- */

.js:not(.motion-off) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
.js [data-reveal] { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }

/* Motion off: everything still, nothing hidden ----------------------------- */

.motion-off *, .motion-off *::before, .motion-off *::after {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
}
.motion-off .h1-word::after, .motion-off .t-caret { animation: none; }
.motion-off .ticker-row { animation: none; }
.motion-off .stack { mask-image: none; -webkit-mask-image: none; }
.motion-off .ticker { width: auto; }
.motion-off .ticker-row { flex-wrap: wrap; white-space: normal; gap: 0.5rem 2rem; justify-content: center; padding: 0 var(--gutter); }
.motion-off .ticker-row li::before { margin-right: 1rem; }
.motion-off .ticker-row[aria-hidden="true"] { display: none; }

/* Responsive --------------------------------------------------------------- */

@media (max-width: 63.99rem) {
  .hero-grid, .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.99rem) {
  .top { gap: 0.75rem; }
  .top nav { display: none; }
  .top-actions { margin-left: auto; }
  .hero { padding-top: 6rem; }
  .cards, .shake, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .shake::before { left: 0.5rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--green) 0 10px, transparent 10px 18px); }
  .shake li { padding-left: 2rem; }
  .chip { font-size: 0.8125rem; padding: 0.5rem 0.8rem; }
}

@media (max-width: 30rem) {
  .btn-sm { padding: 0.5rem 0.9rem; }
  .motion-toggle { padding: 0 0.7rem; }
}
