/* CIRCUIT: the page is a circuit board floating in azure space. */

:root {
  --ink: #0a2350;
  --ink-2: #26426b;
  --silk: #07505f;
  --gold: #D9A542;
  --gold-hot: #FFE7A8;
  --teal: #04B59B;
  --cyan: #017BAC;
  --blue: #2068F1;
  --navy: #0a2a5e;

  --glass: rgba(255, 255, 255, 0.66);
  --glass-2: rgba(255, 255, 255, 0.8);
  --edge: rgba(255, 255, 255, 0.78);
  --edge-dim: rgba(255, 255, 255, 0.4);
  --shadow: 0 40px 90px -36px rgba(8, 34, 96, 0.55), 0 2px 6px rgba(8, 34, 96, 0.08);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --page: min(1200px, 100% - 32px);
  --spine: 46px;          /* x of the circuit spine, measured from a board's left edge */
  --board-pl: 96px;       /* content starts here inside a board */
  --r: 30px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 18px/1.55 var(--text);
  color: var(--ink);
  background-color: #4f9fe9;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--gold-hot);
  border-radius: 10px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- glass */

.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  backdrop-filter: blur(26px) saturate(1.5);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: #f3f8ff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-in.glass { background: #f3f8ff; }
}

/* a board is a glass panel with mounting holes and a silkscreen dot grid */
.board {
  position: relative;
  border-radius: var(--r);
  isolation: isolate;
}
.board::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(circle at 1px 1px, rgba(10, 60, 120, 0.13) 1.1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.35));
  pointer-events: none;
  z-index: -1;
}
.mhole {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid rgba(217, 165, 66, 0.55);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 2px rgba(8, 34, 96, 0.25);
}
.mhole.tl { top: 14px; left: 14px; }
.mhole.tr { top: 14px; right: 14px; }
.mhole.bl { bottom: 14px; left: 14px; }
.mhole.br { bottom: 14px; right: 14px; }

.silk {
  font: 600 12.5px/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silk);
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --h: 54px;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: var(--h);
  padding: 0 24px 0 20px;
  border-radius: 999px;
  font: 650 17px/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0d3f86 0%, #0a2350 100%);
  box-shadow: 0 14px 30px -12px rgba(8, 30, 90, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary::after { /* current sweeping along the bottom edge */
  content: ""; position: absolute; left: -40%; bottom: 0; height: 2px; width: 40%;
  background: linear-gradient(90deg, transparent, #7ff3ff, #fff, transparent);
  opacity: 0;
}
.btn-pad {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, transparent 0 32%, var(--gold) 34% 100%);
  transition: box-shadow .25s ease, background .25s ease;
}
.btn-primary:hover .btn-pad, .btn-primary:focus-visible .btn-pad {
  background: radial-gradient(circle, transparent 0 32%, var(--gold-hot) 34% 100%);
  box-shadow: 0 0 0 4px rgba(255, 199, 90, 0.25), 0 0 18px 4px rgba(255, 199, 90, 0.65);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 35, 80, 0.14);
  padding: 0 24px;
}
.btn-ghost:hover { background: #fff; }
.btn-sm { --h: 42px; font-size: 15px; padding: 0 16px 0 14px; gap: 9px; }
.btn-sm .btn-pad { width: 13px; height: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover::after, .btn-primary:focus-visible::after { opacity: 1; animation: sweep .9s cubic-bezier(.4, 0, .3, 1) both; }
}
@keyframes sweep { from { left: -40%; } to { left: 110%; } }

.link {
  font-weight: 650;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(4, 181, 155, 0.7);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.link::after { content: " →"; }
.link:hover { text-decoration-color: var(--navy); }

/* ---------------------------------------------------------------- nav */

.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-in {
  pointer-events: auto;
  width: var(--page);
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 750 21px/1 var(--display); letter-spacing: -0.01em; border-radius: 12px; }
.brand-mark { width: 34px; height: 34px; display: inline-block; }
.brand-mark svg, .brand-mark img { width: 34px; height: 34px; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font: 550 15.5px/1 var(--text); text-decoration: none; color: var(--ink);
  padding: 10px 12px; border-radius: 999px;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.7); }
@media (max-width: 860px) { .nav-links { display: none; } .nav-in .btn-sm { margin-left: auto; } }
@media (max-width: 380px) {
  .brand-word { display: none; }
  .nav-in { gap: 8px; }
}

/* ---------------------------------------------------------------- hero */

.hero { padding: 120px 0 40px; }
.hero-grid {
  width: var(--page); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
  gap: 32px;
  align-items: center;
  min-height: min(760px, calc(100svh - 170px));
}
.hero-copy { padding: 56px 56px 48px; border-radius: 34px; }
.hero-copy .silk { margin-bottom: 20px; }
h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 750;
  font-variation-settings: "opsz" 96;
}
.e2e { position: relative; white-space: nowrap; }
.h1-a, .h1-b { display: block; }
.h1-b {
  margin-top: 0.1em;
  background: linear-gradient(95deg, #0a6f8a 0%, #0d68b8 55%, #1d5fd6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
@media (forced-colors: active) { .h1-b { color: CanvasText; background: none; } }
.e2e-trace {
  position: absolute; left: 0; right: 0; bottom: -0.05em; height: 14px;
}
.e2e-trace::before {
  content: ""; position: absolute; left: 7px; right: 7px; top: 5px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan) 55%, var(--blue));
  transform-origin: left center;
}
.e2e-trace i {
  position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 31%, var(--gold) 34% 100%);
}
.e2e-trace i:first-child { left: 0; }
.e2e-trace i:last-child { right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .e2e-trace::before { transform: scaleX(0); animation: e2e 1s .45s cubic-bezier(.45, 0, .25, 1) forwards; }
  .e2e-trace i:last-child { opacity: 0; animation: pop .45s 1.4s cubic-bezier(.2, .75, .25, 1) forwards; }
}
@keyframes e2e { to { transform: scaleX(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }

.lede { font-size: clamp(18px, 1.45vw, 20.5px); color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero .lede { margin-top: 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { font-size: 15px; color: var(--ink-2); margin-top: 18px; }

.hero-chip-wrap { display: grid; justify-items: center; align-content: center; gap: 22px; }
.chip-box {
  position: relative;
  width: min(clamp(230px, 30vw, 420px), 100%);
  aspect-ratio: 651 / 654;
}
.chip-box > svg, .chip-box > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip-box > svg { overflow: visible; }
.chip-box > .chip-static { filter: drop-shadow(0 30px 40px rgba(6, 30, 90, 0.35)); }
.chip-box > svg.plynx-logo { filter: drop-shadow(0 30px 40px rgba(6, 30, 90, 0.35)); }
.js .chip-box > .chip-static { opacity: 0; }
.chip-silk { order: -1; font: 600 12px/1 var(--mono); letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 8px rgba(6, 30, 90, 0.5); }
.pin-anchor { position: absolute; width: 2px; height: 2px; left: 49.92%; margin-left: -1px; }
.pin-out { top: 99.08%; }
.pin-in { top: 0.92%; }

/* ---------------------------------------------------------------- shared section frame */

section { position: relative; }
.flow, .setup, .learn, .open, .community { padding: 90px 0; }
.board { width: var(--page); margin: 0 auto; }
.board-head { position: relative; padding-bottom: 12px; }
h2 { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.03; letter-spacing: -0.028em; font-weight: 720; margin-top: 14px; font-variation-settings: "opsz" 72; }
h3 { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.2; letter-spacing: -0.012em; font-weight: 650; }

/* spine markers (layout anchors; the trace layer paints them) */
.tp, .tv { position: absolute; display: block; z-index: 2; }
.tp {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 32%, var(--gold) 34% 100%);
  box-shadow: 0 0 0 1px rgba(10, 35, 80, 0.08);
}
.tv {
  width: 20px; height: 20px; border-radius: 3px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) exclude, linear-gradient(#000 0 0) center / 7px 7px no-repeat;
  mask: linear-gradient(#000 0 0) exclude, linear-gradient(#000 0 0) center / 7px 7px no-repeat;
}
.trace-on .tp, .trace-on .tv { visibility: hidden; }

/* ---------------------------------------------------------------- flow board */

.flow-board { padding: 70px 64px 76px var(--board-pl); }
.flow-board .board-head .tv { left: calc(var(--spine) - var(--board-pl) - 10px); top: 2px; }
.flow-board .board-head h2 { max-width: 15em; }
.flow-board .board-head .lede { max-width: 38em; }

.zone { margin-top: 72px; }
.zone-label { position: relative; padding-bottom: 14px; border-bottom: 1px dashed rgba(11, 98, 115, 0.35); margin-bottom: 34px; }
.zone-label .tv { left: calc(var(--spine) - var(--board-pl) - 10px); top: -4px; }
.zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}
.zone-build .zone-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.stage { position: relative; max-width: 30em; }
.stage .tp { left: calc(var(--spine) - var(--board-pl) - 12px); top: -3px; }
.ref { font: 600 12.5px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--silk); margin-bottom: 8px; }
.stage h3 { max-width: 21em; }
.ref { transition: color .4s ease; }
.stage.live .ref, .guide.live .g-title::after { color: #744a00; }
.where, .sub { font-size: 16px; color: var(--ink-2); margin-top: 8px; }
.where::before { content: ""; display: inline-block; width: 9px; height: 9px; border: 2.5px solid var(--cyan); border-radius: 2px; vertical-align: 0; margin-right: 9px; }
.where a { font-weight: 650; color: var(--navy); text-decoration-color: rgba(4, 181, 155, 0.7); text-decoration-thickness: 2px; text-underline-offset: 3px; }


.shot { margin: 0; display: grid; gap: 14px; justify-items: center; }
.shot img { border-radius: 30px; box-shadow: 0 30px 60px -24px rgba(8, 34, 96, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.75); background: #f2f2f7; }
.shot.phone img { width: 100%; max-width: 280px; }
.shot.desk img { border-radius: 16px; width: 100%; }
.shot figcaption { text-align: center; }
.zone-plan .shot { margin-top: -20px; }
.zone-build .shot { margin-top: 6px; }

/* ---------------------------------------------------------------- setup */

.setup-board {
  padding: 64px 64px 64px var(--board-pl);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 300px;
  gap: 0;
  align-items: start;
}
.setup-copy h2 { max-width: 12em; }
.setup-copy > p { margin-top: 18px; color: var(--ink-2); max-width: 32em; }
.setup-copy > p.small { font-size: 15.5px; }
.setup-gap { position: relative; align-self: stretch; }
.setup-gap .tp { left: 50%; margin-left: -12px; top: 150px; }
.setup-shot img { max-width: 260px; }

.code {
  margin: 28px 0 0;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(10, 32, 76, 0.94), rgba(6, 20, 52, 0.96));
  color: #e8f2ff;
  box-shadow: 0 30px 60px -28px rgba(4, 18, 50, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-width: 560px;
}
.code figcaption {
  display: flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--mono); letter-spacing: 0.04em; color: #a9c6ea;
  padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code .dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle, transparent 0 32%, var(--gold) 34% 100%); }
.code pre { margin: 0; padding: 18px 18px 20px 0; overflow-x: auto; font: 500 clamp(13px, 1.25vw, 16px)/1.75 var(--mono); }
.code code { font: inherit; }
.code .ln { display: inline-block; width: 44px; text-align: right; padding-right: 18px; color: #6f8bb4; user-select: none; }
.code .k { color: #ff9fb6; }
.code .s { color: #ffd98a; }
.code .t { color: #7ff3e0; }
.code .f { color: #9fd0ff; }
p code, .small code { font: 500 0.92em var(--mono); background: rgba(10, 35, 80, 0.07); padding: 2px 6px; border-radius: 6px; }

/* dark substrate board: the one place the page goes dark, around real code */
.board.dark {
  --silk: #7fe6d6;
  color: #eaf3ff;
  background: rgba(7, 24, 62, 0.8);
  border-color: rgba(140, 200, 255, 0.28);
  box-shadow: 0 40px 90px -30px rgba(4, 16, 48, 0.75), inset 0 1px 0 rgba(160, 220, 255, 0.25);
}
.board.dark::before { background-image: radial-gradient(circle at 1px 1px, rgba(160, 220, 255, 0.14) 1.1px, transparent 1.4px); }
.board.dark h2 { color: #fff; }
.board.dark .setup-copy > p { color: #c3d6f2; }
.board.dark .link { color: #fff; text-decoration-color: rgba(127, 243, 224, 0.8); }
.board.dark p code { background: rgba(160, 220, 255, 0.12); color: #fff; }
.board.dark .code { background: linear-gradient(160deg, rgba(3, 12, 34, 0.92), rgba(2, 8, 24, 0.95)); box-shadow: 0 0 0 1px rgba(140, 200, 255, 0.16), 0 30px 60px -28px rgba(0, 0, 0, 0.8); }
.board.dark .mhole { background: rgba(4, 16, 40, 0.6); }
.board.dark .shot img { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(255, 255, 255, 0.14); }
@media (prefers-reduced-transparency: reduce) { .board.dark { background: #0a1f4d; } }

/* ---------------------------------------------------------------- learn */

.learn-board { padding: 70px 64px 70px var(--board-pl); }
.learn-board .board-head .tv { left: calc(var(--spine) - var(--board-pl) - 10px); top: 2px; }
.learn-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; margin-top: 48px; }
.col-title { margin: 0 0 18px; font-size: 12.5px; }
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guide { position: relative; }
.guide .tp { left: calc(var(--spine) - var(--board-pl) - 12px); top: 30px; }
.guide a {
  display: grid; gap: 6px;
  padding: 20px 22px;
  border-radius: 20px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  margin-left: -22px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.guide a:hover { background: rgba(255, 255, 255, 0.7); border-color: rgba(255, 255, 255, 0.95); box-shadow: 0 16px 34px -20px rgba(8, 34, 96, 0.5); }
.g-title { font: 680 clamp(20px, 1.7vw, 24px)/1.2 var(--display); letter-spacing: -0.012em; color: var(--ink); }
.g-title::after { content: " →"; color: var(--cyan); }
.g-note { font-size: 16px; color: var(--ink-2); }
.deep { list-style: none; margin: 0 0 36px; padding: 0; }
.deep li { display: grid; gap: 3px; padding: 14px 0; border-top: 1px dashed rgba(11, 98, 115, 0.3); }
.deep li:last-child { border-bottom: 1px dashed rgba(11, 98, 115, 0.3); }
.deep li > a, .deep strong { font: 680 18.5px/1.3 var(--display); color: var(--navy); }
.deep li > a { text-decoration-color: rgba(4, 181, 155, 0.7); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.deep span { font-size: 16px; color: var(--ink-2); }
.deep span a { color: var(--navy); text-underline-offset: 3px; }
.deep.tools { margin-bottom: 0; }

/* ---------------------------------------------------------------- open */

.open-board {
  padding: 70px 40px 70px var(--board-pl);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  overflow: clip;
}
.open-copy { position: relative; }
.open-copy .tv { left: calc(var(--spine) - var(--board-pl) - 10px); top: 2px; }
.open-copy > p { margin-top: 18px; color: var(--ink-2); max-width: 30em; }
.open-copy > p.small { font-size: 15.5px; }
.links { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.explode-wrap { display: grid; place-items: center; min-height: 460px; }
.explode {
  position: relative;
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 651 / 654;
  perspective: 1500px;
}
.explode > img, .explode > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.explode .stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.explode .stack > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.explode .ground {
  position: absolute; left: 8%; right: 8%; top: 70%; height: 36%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 30, 90, 0.35), transparent);
  filter: blur(6px);
}

/* ---------------------------------------------------------------- community */

.community { padding-top: 10px; }
.comm-board {
  width: min(640px, 100% - 32px);
  margin: 0 max(16px, (100% - 1200px) / 2) 0 auto;
  padding: 52px 52px 52px var(--board-pl);
}
.comm-board .tp { left: calc(var(--spine) - 12px); top: 52px; }
.comm-board > p { margin-top: 16px; color: var(--ink-2); }

/* ---------------------------------------------------------------- final */

.final { padding: 40px 0 70px; display: grid; justify-items: center; overflow-x: clip; }
.final-chip-wrap { padding: 90px 0 56px; display: grid; place-items: center; }
.final-chip { width: clamp(150px, 20vw, 270px); }
.final-chip > svg { filter: drop-shadow(0 26px 36px rgba(6, 30, 90, 0.35)); }
.js .final-chip.ghost > svg { filter: grayscale(0.85) opacity(0.4); }
.final-copy { width: min(760px, 100% - 32px); padding: 52px 48px; border-radius: 34px; text-align: center; }
.final-copy h2 { margin-top: 0; font-size: clamp(38px, 5vw, 68px); }
.final-copy > p { margin: 16px auto 0; color: var(--ink-2); max-width: 30em; }
.final-copy .ctas { justify-content: center; }

/* ---------------------------------------------------------------- footer */

.foot { padding: 0 0 28px; }
.foot-in {
  width: var(--page); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  padding: 20px 28px; border-radius: 24px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font: 750 18px/1 var(--display); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { font-size: 15.5px; color: var(--ink); text-decoration: none; padding: 6px 0; }
.foot-links a:hover { text-decoration: underline; }
.foot-note { margin-left: auto; font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- trace layer */

.trace-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: hidden; contain: layout style; }
.trace-layer svg { position: absolute; left: 0; top: 0; overflow: visible; }
.nav { z-index: 40; }
.tp-pad .ring { fill: var(--gold); transition: fill .35s ease; }
.tp-pad .glow { opacity: 0; transition: opacity .5s ease; }
.tp-pad.on .glow { opacity: 1; }
.tp-pad.dim .ring { fill: #b9a57e; }
.tp-body.pop { animation: padpop .5s cubic-bezier(.2, .75, .25, 1); transform-box: fill-box; transform-origin: center; }
@keyframes padpop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------------------------------------------------------------- reveal */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  :root { --board-pl: 84px; --spine: 40px; }
  .flow-board, .learn-board { padding-right: 40px; }
  .zone-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; }
  .zone-build .zone-grid { grid-template-columns: minmax(0, 1fr); }
  .zone-build .shot { max-width: 720px; }
  .setup-board { padding-right: 40px; grid-template-columns: minmax(0, 1fr) 56px 240px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 100px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; }
  .hero-copy { padding: 44px 36px 38px; }
  .chip-box { width: clamp(200px, 46vw, 320px); }
  .learn-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .open-board { grid-template-columns: minmax(0, 1fr); }
  .explode-wrap { min-height: 380px; }
  .setup-board { grid-template-columns: minmax(0, 1fr); padding-right: 36px; }
  .setup-gap { display: none; }
  .setup-shot { margin-top: 36px; }
}

@media (max-width: 700px) {
  :root { --board-pl: 56px; --spine: 24px; --r: 24px; }
  body { font-size: 17px; }
  .flow, .setup, .learn, .open, .community { padding: 56px 0; }
  .hero-copy { padding: 36px 22px 30px; border-radius: 26px; }
  .flow-board, .learn-board, .open-board, .setup-board { padding: 48px 20px 48px var(--board-pl); }
  .comm-board { padding: 40px 20px 40px var(--board-pl); margin: 0 auto; }
  .comm-board .tp { top: 40px; }
  .zone { margin-top: 52px; }
  .zone-grid, .zone-build .zone-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .shot.phone img { max-width: 230px; }
  .zone-plan .shot { margin-top: 0; }
  .ctas .btn { width: 100%; justify-content: center; }
  .final-copy { padding: 40px 22px; }
  .mhole { width: 11px; height: 11px; border-width: 2px; }
  .mhole.tl, .mhole.tr { top: 10px; } .mhole.bl, .mhole.br { bottom: 10px; }
  .mhole.tl, .mhole.bl { left: 10px; } .mhole.tr, .mhole.br { right: 10px; }
  .guide a { padding: 16px 16px; }
  .foot-note { margin-left: 0; }
}

@media (max-width: 380px) {
  .btn { font-size: 16px; padding: 0 18px 0 16px; }
  .btn-sm { font-size: 13.5px; padding: 0 12px; gap: 7px; }
  .hero-copy { padding: 30px 18px 26px; }
}

@media print {
  .trace-layer, .nav { display: none; }
  .glass { background: #fff; box-shadow: none; }
}
