/* zpropz.com. Tokens are the platform's own (prop-platform web/app/src/styles.css): the same ink, volt and
   grounds, Barlow and Chakra Petch, and the logo's diagonal cut. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --ground: #e9eef6;
  --panel: #ffffff;
  --raised: #f4f7fb;
  --line: #d2dae7;
  --ink: #0a1630;
  --muted: #56667f;
  --volt: #1f5bff;
  --volt-ink: #1747d6;
  --volt-soft: #e3ebff;
  --on-volt: #ffffff;
  --buy: #08865c;
  --sell: #c92735;
  --sell-soft: #fbe5e7;
  --warn: #8a5100;
  --warn-soft: #fbefd9;
  --foot: #0a1630;
  --foot-ink: #dfe6f3;
  --foot-muted: #9eacc5;

  --font-ui: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Chakra Petch", "Barlow", system-ui, sans-serif;
  --cut: 9px;
  --cut-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 9vw, 128px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #050b16;
    --panel: #0b1527;
    --raised: #101e35;
    --line: #1f3050;
    --ink: #e5ebf7;
    --muted: #93a1bb;
    --volt: #3d78ff;
    --volt-ink: #8fb0ff;
    --volt-soft: #13285a;
    --buy: #22c38c;
    --sell: #ff5d68;
    --sell-soft: #3a1520;
    --warn: #f2aa3c;
    --warn-soft: #34260d;
    --foot: #02060d;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #050b16;
  --panel: #0b1527;
  --raised: #101e35;
  --line: #1f3050;
  --ink: #e5ebf7;
  --muted: #93a1bb;
  --volt: #3d78ff;
  --volt-ink: #8fb0ff;
  --volt-soft: #13285a;
  --buy: #22c38c;
  --sell: #ff5d68;
  --sell-soft: #3a1520;
  --warn: #f2aa3c;
  --warn-soft: #34260d;
  --foot: #02060d;
}

/* Theme-specific images: the light one shows unless the page is dark. */
.t-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-light { display: none; }
  :root:not([data-theme="light"]) .t-dark { display: block; }
}
:root[data-theme="dark"] .t-light { display: none; }
:root[data-theme="dark"] .t-dark { display: block; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--volt-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-brand); font-weight: 600; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--panel); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The logo's diagonal cut. */
.cut { clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.cut:focus-visible { outline-offset: -4px; outline-color: var(--on-volt); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  background: #1f5bff; color: #ffffff;
  font-family: var(--font-ui); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer;
}
/* Same blue in both themes: white text on it keeps 4.5:1 or better. */
.btn:hover { background: #1747d6; color: #ffffff; }

/* ------------------------------------------------------------------ header */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: flex; flex: none; }
.logo img { width: 160px; height: auto; }
.primary { display: flex; gap: 24px; }
.primary a, .header-actions a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.primary a:hover, .header-actions a:not(.btn):hover { border-bottom-color: var(--line); }
.primary a[aria-current="page"] { border-bottom-color: var(--volt); }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-actions .btn { min-height: 40px; padding: 8px 18px; }
.theme-toggle {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; border-radius: 2px;
}
.theme-toggle:hover { background: var(--raised); }
/* A half-filled disc: light on one side, dark on the other. */
.theme-icon { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.narrow-only { display: none; }

@media (max-width: 980px) {
  .wide-only { display: none; }
  .narrow-only { display: block; }
  .header-row { gap: 12px; }
  .theme-toggle { margin-left: auto; }
  .menu > summary {
    list-style: none; cursor: pointer; min-height: 40px; padding: 8px 14px;
    border: 1px solid var(--line); border-radius: 2px; font-weight: 600;
  }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu[open] > summary { background: var(--raised); }
  .menu-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--panel); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
  }
  .menu-panel nav { display: flex; flex-direction: column; }
  .menu-panel nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.125rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-panel nav a[aria-current="page"] { color: var(--volt-ink); }
  .menu-panel .btn { margin-top: 20px; width: 100%; }
}

/* Parts sub-navigation (platform pages). */
.parts-nav { background: var(--raised); border-bottom: 1px solid var(--line); }
.parts-nav ul { list-style: none; display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; }
.parts-nav ul::-webkit-scrollbar { display: none; }
.parts-nav a { display: block; white-space: nowrap; padding: 12px 0; color: var(--muted); text-decoration: none; font-size: 0.9375rem; font-weight: 500; border-bottom: 2px solid transparent; }
.parts-nav a:hover { color: var(--ink); }
.parts-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--volt); }

.draft-banner { background: var(--warn-soft); color: var(--ink); border-bottom: 1px solid var(--warn); padding: 12px 0; font-size: 0.9375rem; }
.draft-banner strong { color: var(--warn); letter-spacing: 0.02em; margin-right: 6px; }

/* ------------------------------------------------------------------ type scale */
.h-display { font-size: clamp(2.5rem, 1.35rem + 4.6vw, 4.75rem); line-height: 1.0; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2.25rem, 1.45rem + 3.2vw, 3.75rem); line-height: 1.04; letter-spacing: -0.018em; }
.h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); line-height: 1.08; }
.h3 { font-size: 1.3125rem; line-height: 1.2; }
.lede { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); line-height: 1.5; color: var(--ink); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

/* ------------------------------------------------------------------ sections */
.section { padding: var(--space) 0 0; }
.section:last-child { padding-bottom: var(--space); }
.section-tight { padding-top: 0; }
.table-note { margin-top: 12px; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Page intro for inner pages. */
.intro { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); }
.intro .h1 { max-width: 18ch; margin-bottom: 24px; }

/* ------------------------------------------------------------------ home hero */
.hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 0; isolation: isolate; overflow: clip; padding-bottom: 40px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-actions .link { font-weight: 600; }
.hero-status { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .hero-copy { grid-template-columns: 1fr; } }

/* The one bold move: the blue stroke of the Z mark, drawn huge behind the terminal. */
.hero-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.hero-stage::before {
  content: ""; position: absolute; z-index: -1;
  width: clamp(160px, 20vw, 280px); height: 82%;
  right: clamp(-60px, 3vw, 64px); bottom: -40px;
  background: var(--volt);
  transform: skewX(-40deg);
  transform-origin: bottom;
}
.hero-stage .shot { margin: 0; }
.hero-stage .hero-phone { display: none; }
@media (max-width: 599px) {
  .hero-stage .shot:not(.hero-phone) { display: none; }
  .hero-stage .hero-phone { display: block; margin: 0 auto; }
  .hero-stage::before { width: 72px; right: -8px; bottom: 72px; height: 70%; }
}

/* ------------------------------------------------------------------ screenshots */
.shot { margin: 0; }
.shot .frame {
  background: var(--line);
  padding: 1px;
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
  box-shadow: 0 24px 60px -30px rgba(10, 22, 48, 0.45);
}
.shot img {
  display: block; width: 100%; height: auto; background: var(--panel);
  clip-path: polygon(calc(var(--cut-lg) - 1px) 0, 100% 0, 100% calc(100% - var(--cut-lg) + 1px), calc(100% - var(--cut-lg) + 1px) 100%, 0 100%, 0 calc(var(--cut-lg) - 1px));
}
.shot img.t-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot img.t-light { display: none; }
  :root:not([data-theme="light"]) .shot img.t-dark { display: block; }
}
:root[data-theme="dark"] .shot img.t-light { display: none; }
:root[data-theme="dark"] .shot img.t-dark { display: block; }
.shot figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); max-width: 72ch; }
.shot-phone { max-width: 340px; }
.shot-phone .frame { --cut-lg: 16px; }

.shot-narrow { max-width: 330px; }
.shot-row { display: grid; grid-template-columns: minmax(0, 1fr) 330px 300px; gap: 48px; align-items: start; }
.shot-row-text h2 { margin-bottom: 20px; }
@media (max-width: 1100px) { .shot-row { grid-template-columns: 330px 300px; } .shot-row-text { grid-column: 1 / -1; } }
@media (max-width: 720px) { .shot-row { grid-template-columns: 1fr; } .shot-row .shot { margin: 0 auto; width: 100%; } }

/* ------------------------------------------------------------------ parts index (home, overview) */
.parts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.parts li { border-bottom: 1px solid var(--line); }
.parts a { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 26px 0 28px; text-decoration: none; color: var(--ink); }
.parts .part-name { font-family: var(--font-brand); font-weight: 600; font-size: 1.375rem; line-height: 1.2; display: inline-flex; align-items: center; gap: 12px; }
.parts .part-name::before { content: ""; flex: none; width: 10px; height: 18px; background: var(--volt); transform: skewX(-40deg); }
.parts .part-blurb { color: var(--muted); max-width: 52ch; }
.parts a:hover .part-name { color: var(--volt-ink); }
@media (max-width: 760px) { .parts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ facts (term + what it means) */
.facts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 56px; margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--font-brand); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; }
.facts dd p { margin: 0 0 0.6em; }
.facts dd p:last-child { margin-bottom: 0; }
.facts dd ul { padding-left: 1.1em; }
.facts dd li { margin: 0.2em 0; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 6px; }
  .facts dd { padding-top: 0; }
}

/* Two-column feature block: text + screenshot. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 20px; }
@media (max-width: 960px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* ------------------------------------------------------------------ sequences (things that really happen in order) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(step); font-family: var(--font-brand); font-weight: 600; font-size: 1.25rem; color: var(--volt-ink); line-height: 1.4; }
.steps strong { font-weight: 600; }

/* The price path: a flow of five stages. */
.flow { list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.flow > li { counter-increment: flow; position: relative; padding: 0 18px 0 0; }
.flow .stage {
  display: block; background: var(--panel); border: 1px solid var(--line); padding: 18px 18px 20px; height: 100%;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.flow .stage-name { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-brand); font-weight: 600; font-size: 1.125rem; line-height: 1.25; margin-bottom: 8px; }
.flow .stage-name::before { content: counter(flow); color: var(--volt-ink); }
.flow .stage p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.flow > li:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; right: 3px; width: 12px; height: 2px; background: var(--volt);
}
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow > li { padding: 0; }
  .flow > li:not(:last-child)::after { top: auto; bottom: -11px; right: auto; left: 28px; width: 2px; height: 10px; }
}

.plain-list { padding-left: 1.1em; margin: 0 0 1em; max-width: 64ch; }
.plain-list li { margin: 0.35em 0; }
.spaced { margin-top: 48px; }
.link { color: var(--volt-ink); }


/* ------------------------------------------------------------------ benefits (home) */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.benefits li { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.benefits h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.benefits h3::before { content: ""; flex: none; width: 10px; height: 18px; background: var(--volt); transform: skewX(-40deg); }
.benefits p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .benefits { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ journey: an account's life, in order */
.journey { list-style: none; counter-reset: jn; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--line); }
.journey > li { counter-increment: jn; position: relative; padding: 0 20px 0 0; }
.journey > li::before {
  content: counter(jn); position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px;
  background: var(--volt); color: #ffffff; font-family: var(--font-brand); font-weight: 600; font-size: 1rem;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
:root[data-theme="dark"] .journey > li::before { background: #1f5bff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .journey > li::before { background: #1f5bff; } }
.journey-name { display: block; font-family: var(--font-brand); font-weight: 600; font-size: 1.1875rem; margin-bottom: 6px; }
.journey p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 20px; }
  .journey::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .journey > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .journey > li::before { grid-row: 1 / span 2; margin: 0; }
}

/* ------------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-family: var(--font-brand); font-weight: 600; font-size: 1.1875rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--volt); border-bottom: 2px solid var(--volt); transform: rotate(45deg) translate(-3px, -3px); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: 0 0 22px; color: var(--ink); }

/* ------------------------------------------------------------------ the journal (typeset from a real test run) */
.journal-figure { margin: 0; }
.journal {
  background: var(--panel); border: 1px solid var(--line); margin: 0;
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
}
.journal ol { list-style: none; }
.journal li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.journal .seq { color: var(--muted); font-variant-numeric: tabular-nums; }
.journal .q { color: var(--volt-ink); white-space: nowrap; }
.journal .warn { color: var(--warn); }
.journal .fail { color: var(--sell); font-weight: 500; }
.journal .replay { display: block; margin: 0; padding: 18px 24px; background: var(--raised); border-left: 3px solid var(--buy); }
.journal .replay strong { font-weight: 600; }
.journal-note { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

/* ------------------------------------------------------------------ tables (fill rules, addresses) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 0.9375rem; background: var(--raised); }
tr:last-child td { border-bottom: 0; }
td code, p code { font-family: var(--font-ui); font-weight: 600; }

/* ------------------------------------------------------------------ roadmap */
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.roadmap li { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.roadmap h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 8px; }
.roadmap p { margin: 0; color: var(--muted); }
.tag {
  display: inline-block; font-family: var(--font-ui); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.01em;
  padding: 2px 10px; border: 1px solid var(--warn); color: var(--warn); border-radius: 999px; line-height: 1.5;
}
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ call to action band */
.cta-band { margin-top: var(--space); background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta-band p { margin: 14px 0 0; color: var(--muted); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-self: end; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -20%; width: 90px; height: 140%; background: var(--volt); transform: skewX(-40deg); opacity: 0.9; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .cta-actions { justify-self: start; } .cta-band::after { display: none; } }

/* ------------------------------------------------------------------ contact */
.contact-card { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); max-width: 720px;
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg)); }
.contact-mail { font-family: var(--font-brand); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; word-break: break-word; }
.contact-mail.is-placeholder { color: var(--muted); }
.placeholder-note { display: block; margin-top: 8px; font-size: 0.9375rem; color: var(--warn); }

/* ------------------------------------------------------------------ legal shells */
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.legal .todo { color: var(--muted); font-style: italic; }

/* ------------------------------------------------------------------ next part */
.next { padding-top: 0; padding-bottom: var(--space); }
.next-label { margin: 0 0 10px; color: var(--muted); font-size: 0.9375rem; }
.next-link { display: grid; gap: 6px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); padding-top: 20px; max-width: 720px; }
.next-title { font-family: var(--font-brand); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.1; display: inline-flex; gap: 14px; align-items: center; }
.next-title::after { content: ""; width: 16px; height: 28px; background: var(--volt); transform: skewX(-40deg); }
.next-blurb { color: var(--muted); }
.next-link:hover .next-title { color: var(--volt-ink); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--foot); color: var(--foot-ink); padding: 56px 0 28px; }
.site-footer a { color: var(--foot-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { color: var(--foot-muted); margin-top: 14px; font-size: 0.9375rem; max-width: 34ch; }
.footer-head { font-weight: 600; margin: 0 0 10px; color: var(--foot-ink); }
.site-footer ul { list-style: none; display: grid; gap: 6px; font-size: 0.9375rem; }
.site-footer ul a { color: var(--foot-muted); }
.site-footer ul a:hover { color: var(--foot-ink); }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(158, 172, 197, 0.25); color: var(--foot-muted); font-size: 0.875rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ 404 */
.notfound { padding: clamp(64px, 10vw, 140px) 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .parts-nav, .site-footer, .cta-band, .next, .theme-toggle { display: none; }
}

/* ------------------------------------------------------------------ capabilities by job (platform overview) */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.catalog > section { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.catalog h3 { margin-bottom: 14px; }
.catalog ul { list-style: none; display: grid; gap: 8px; }
.catalog li { position: relative; padding-left: 18px; color: var(--ink); font-size: 1rem; }
.catalog li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--volt); clip-path: polygon(2px 0, 100% 0, 100% calc(100% - 2px), calc(100% - 2px) 100%, 0 100%, 0 2px); }
@media (max-width: 960px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ roadmap: recently built */
.built-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.built-list li { border-bottom: 1px solid var(--line); }
.built-list a { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.built-list a::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--buy); transform: translateY(-1px); }
.built-list a:hover { color: var(--volt-ink); }
@media (max-width: 760px) { .built-list { grid-template-columns: 1fr; } }

/* copy trading: the figures disclaimer sits next to the board's figures */
.board-note { color: var(--muted); font-style: italic; }

/* Parts sub-navigation: wrap onto two lines on wide screens; scroll sideways on phones. */
@media (min-width: 900px) {
  .parts-nav ul { flex-wrap: wrap; overflow-x: visible; }
  .parts-nav a { padding: 10px 0; }
}
