/*
    Single theme by intent: the product only exists on a dark trading terminal.
    Every colour is painted explicitly so the page holds on any host ground.
  */
  :root {
    --void: #000000;
    --panel: #0c0c0e;
    --edge: #232327;
    --edge-soft: #17171b;
    --bone: #ffffff;
    --ash: #a8a8b3;
    --dim: #6d6d79;
    --gain: #ff7a1a;
    --gain-deep: #e85d04;
    --gain-soft: rgba(255, 122, 26, 0.12);
    --loss: #e5484d;
    --loss-soft: rgba(229, 72, 77, 0.1);

    --font: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --measure: 66ch;
    --gutter: clamp(20px, 5vw, 64px);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--void);
    color: var(--bone);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    font-feature-settings: 'tnum' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  ::selection { background: var(--gain); color: #1d0900; }

  a { color: var(--gain); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }
  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--gain); outline-offset: 3px; border-radius: 4px;
  }

  .shell { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
  .rule { height: 1px; background: var(--edge); border: 0; margin: 0; }

  /* --- type ----------------------------------------------------------- */

  .display {
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.94;
    letter-spacing: -0.035em;
    margin: 0;
    text-wrap: balance;
  }
  h1.display { font-size: clamp(44px, 8.5vw, 104px); }
  .article-page h1.display { font-size: clamp(40px, 7vw, 88px); overflow-wrap: anywhere; }
  h2.display { font-size: clamp(30px, 4.6vw, 56px); }
  h3.display { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.02em; }

  .label {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--dim); margin: 0;
  }
  .label.gain { color: var(--gain); }

  .lede { color: var(--ash); max-width: var(--measure); margin: 0; }
  .lede.big { font-size: clamp(17px, 2vw, 19px); }
  .lede + .lede { margin-top: 18px; }

  .head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }

  .page > section { padding: clamp(56px, 8vw, 104px) 0; }
  .page > section:first-child { padding-top: clamp(40px, 6vw, 72px); }

  /* --- header --------------------------------------------------------- */

  .masthead {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    padding: 34px 0 0;
  }
  .masthead a { display: flex; align-items: center; gap: 11px; color: var(--bone); }
  .masthead a:hover { text-decoration: none; }
  .masthead .name {
    font-size: 15px; font-weight: 700;
    letter-spacing: 0.36em; text-transform: uppercase;
  }

  @font-face {
    font-family: 'Space Grotesk';
    src: url('/SpaceGrotesk.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
  }
  .ghost-mark { overflow: visible; transform-origin: 50% 55%; filter: none; transition: filter 180ms ease, transform 180ms ease; }
  .masthead a:hover .ghost-mark { filter: drop-shadow(0 0 9px rgba(255, 122, 26, 0.7)); }
  .masthead a:hover .ghost-mark { transform: translateY(-1px); }

  /* --- buttons -------------------------------------------------------- */

  .btn {
    display: inline-flex; align-items: center; gap: 12px;
    height: 50px; padding: 0 8px 0 26px;
    border-radius: 999px; border: 1px solid transparent;
    font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none;
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  }
  .btn:hover { text-decoration: none; transform: translateY(-1px); }
  .btn-primary { background: var(--gain-deep); color: #1d0900; box-shadow: 0 0 0 rgba(255, 122, 26, 0); }
  .btn-primary:hover { background: var(--gain); }
  .btn-primary .pip {
    width: 34px; height: 34px; border-radius: 999px;
    background: #1d0900; color: var(--gain);
    display: grid; place-items: center; font-size: 14px;
    transition: transform 180ms ease;
  }
  .btn-primary:hover .pip { transform: translateY(2px); }
  .btn-ghost { border-color: var(--edge); color: var(--bone); padding-right: 26px; }
  .btn-ghost:hover { border-color: var(--ash); background: var(--panel); }

  .trust { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; }

  /* --- hero ----------------------------------------------------------- */

  .hero { text-align: center; }
  .hero .stack { display: flex; width: 100%; min-width: 0; flex-direction: column; align-items: center; gap: 22px; }
  .hero h1 .gain { color: var(--gain); display: block; }
  .hero .tagline {
    font-size: clamp(13px, 1.7vw, 16px); font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase; margin: 0;
  }
  .hero .lede { width: 100%; text-align: center; margin-inline: auto; }
  .cta-row { display: flex; width: 100%; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
  .cta-row.left { justify-content: flex-start; gap: 24px; }

  .product-shot { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
  @media (min-width: 900px) { .product-shot { grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); } }
  .product-shot > div { display: flex; min-width: 0; flex-direction: column; gap: 22px; }
  .product-shot .display { overflow-wrap: anywhere; }
  .shot-frame {
    position: relative; isolation: isolate; margin: 0; padding: 14px;
    border: 1px solid #2c2c31; border-radius: 20px; background: #08080a;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .68), 0 9px 22px rgba(255, 122, 26, .075), inset 0 1px 0 rgba(255, 255, 255, .045);
  }
  .shot-frame::before, .feature-image::before {
    content: ''; position: absolute; inset: 7px; pointer-events: none; z-index: 0;
    border: 1px solid rgba(255, 122, 26, .1); border-radius: 12px;
  }
  .shot-frame img { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: auto; border-radius: 12px; image-rendering: auto; }
  .shot-frame-portrait { display: grid; justify-items: center; }
  .shot-frame-portrait img { width: 358px; max-width: 100%; }
  .shot-frame-portrait figcaption { width: 100%; }
  .shot-frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px 2px; color: var(--dim); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
  .image-link { position: relative; z-index: 1; display: grid; place-items: center; max-width: 100%; cursor: zoom-in; }
  .image-link:hover { text-decoration: none; }
  .image-link img { transition: filter 160ms ease; }
  .image-link:hover img { filter: contrast(1.025); }

  .feature-manual { display: grid; gap: clamp(38px, 6vw, 72px); }
  .feature-manual-head { display: grid; gap: 18px; max-width: 760px; }
  .feature-plates { display: grid; gap: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 48px); }
  @media (min-width: 820px) {
    .feature-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .feature-plate-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); align-items: center; }
  }
  .feature-plate { min-width: 0; margin: 0; display: grid; gap: 20px; }
  .feature-image {
    position: relative; isolation: isolate; min-height: 300px; padding: clamp(18px, 3vw, 28px);
    display: grid; place-items: center; overflow: hidden;
    border: 1px solid #2c2c31; border-radius: 16px; background: #08080a;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .64), 0 8px 19px rgba(255, 122, 26, .065), inset 0 1px 0 rgba(255, 255, 255, .04);
  }
  .feature-plate:nth-child(even) .feature-image::after { right: clamp(22px, 8%, 54px); left: auto; }
  .feature-image img { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: auto; image-rendering: auto; user-select: none; -webkit-user-drag: none; }
  .feature-plate-tall .feature-image img { width: auto; max-width: 100%; }
  .feature-image-collapsed { min-height: 250px; padding: clamp(28px, 6vw, 64px); }
  .feature-image-collapsed img { width: min(100%, 420px); image-rendering: auto; }
  .feature-plate figcaption { position: relative; padding: 22px 0 0 18px; border-top: 1px solid var(--edge); }
  .feature-plate figcaption::before {
    content: ''; position: absolute; top: -1px; left: 0; width: 52px; height: 1px; background: var(--gain);
  }
  .feature-plate h3 { margin: 8px 0 7px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.08; letter-spacing: -0.025em; }
  .feature-plate figcaption > p:last-child { margin: 0; color: var(--ash); font-size: 15px; }

  /* The demo is the one cinematic moment on the page: no player card, label,
     or technical caption competing with the recording itself. */
  .demo-stage { max-width: 1280px; display: grid; gap: clamp(30px, 5vw, 58px); }
  .demo-title { text-align: center; font-size: clamp(34px, 5.2vw, 66px); }
  .demo-frame {
    position: relative; isolation: isolate; margin: 0; padding: clamp(7px, 1vw, 11px);
    border: 1px solid #303036; border-radius: clamp(11px, 1.6vw, 19px); background: #070708;
    box-shadow: 0 30px 52px rgba(0, 0, 0, .8), 0 10px 22px rgba(255, 122, 26, .14), inset 0 1px 0 rgba(255, 255, 255, .045);
  }
  .demo-frame::before {
    content: ''; position: absolute; z-index: -1; inset: 16px -11px -11px 16px;
    border-right: 1px solid rgba(255, 122, 26, .42);
    border-bottom: 1px solid rgba(255, 122, 26, .42);
    border-radius: inherit; pointer-events: none;
  }
  .demo-frame::after {
    content: ''; position: absolute; z-index: 2; top: -1px; left: 50%;
    width: clamp(56px, 10vw, 120px); height: 2px; transform: translateX(-50%);
    background: var(--gain); box-shadow: 0 0 11px rgba(255, 122, 26, .3); pointer-events: none;
  }
  .shot-frame::after, .feature-image::after {
    content: ''; position: absolute; z-index: 2; top: -1px; left: clamp(22px, 8%, 54px);
    width: clamp(36px, 9%, 72px); height: 2px; background: var(--gain);
    box-shadow: 0 0 10px rgba(255, 122, 26, .24); pointer-events: none;
  }
  .demo-video {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    border-radius: clamp(8px, 1.3vw, 15px); background: #000; object-fit: contain;
    pointer-events: none; user-select: none;
  }
  .demo-sound {
    position: absolute; right: clamp(10px, 1.8vw, 22px); bottom: clamp(10px, 1.8vw, 22px);
    min-height: 36px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px; background: rgba(0, 0, 0, .78); color: var(--bone);
    font: 600 12px/1 var(--font); backdrop-filter: blur(8px); cursor: pointer;
  }
  .demo-sound:hover { border-color: var(--gain); color: var(--gain); }

  .market-manifesto {
    display: grid; gap: clamp(30px, 6vw, 84px); align-items: start;
    border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
  }
  .manifesto-lead { position: relative; padding-left: clamp(20px, 3vw, 34px); }
  .manifesto-lead::before {
    content: ''; position: absolute; inset: 4px auto 4px 0; width: 3px;
    background: var(--gain); box-shadow: 0 0 12px rgba(255, 122, 26, .28);
  }
  .manifesto-lead .display { max-width: 10ch; }
  .manifesto-copy { display: grid; gap: 24px; }
  .manifesto-rhythm {
    margin: 0; color: var(--bone); font-size: clamp(20px, 2.6vw, 29px);
    line-height: 1.3; letter-spacing: -.025em; max-width: 27ch;
  }
  .exit-warning {
    margin: 0; padding-top: 24px; border-top: 1px solid var(--edge);
    color: var(--ash); font-size: clamp(17px, 2vw, 21px); line-height: 1.4; max-width: 38ch;
  }
  .exit-warning strong { color: var(--gain); }
  @media (min-width: 820px) {
    .market-manifesto { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
  }

  /* The supported terminals read as instruments, not a line of brand names. */
  .terminal-rail {
    display: grid;
    grid-template-columns: repeat(8, 54px);
    gap: clamp(8px, 1.4vw, 14px);
    justify-content: center;
    margin-top: 10px;
  }
  .terminal {
    position: relative;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border: 1px solid var(--edge);
    border-radius: 15px;
    background: #08080a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
  .terminal::after {
    content: attr(data-name);
    position: absolute; left: 50%; top: calc(100% + 9px);
    transform: translate(-50%, -3px);
    padding: 3px 7px;
    border: 1px solid var(--edge);
    border-radius: 5px;
    background: var(--panel);
    color: var(--ash);
    font-size: 10px; line-height: 1.2; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 2;
  }
  .terminal:hover, .terminal:focus-within {
    transform: translateY(-5px);
    border-color: var(--gain);
    box-shadow: 0 9px 28px rgba(255, 122, 26, 0.12);
  }
  .terminal:hover::after { opacity: 1; transform: translate(-50%, 0); }
  .terminal img { width: 38px; height: 38px; object-fit: contain; display: block; }
  .terminal[data-name="Padre"] img { width: 34px; height: 34px; }
  .terminal[data-name="four.meme"] img { width: 43px; height: 43px; }

  @media (max-width: 620px) {
    .cta-row { max-width: 100%; }
    .btn { max-width: 100%; }
    .terminal-rail { grid-template-columns: repeat(4, 50px); row-gap: 10px; }
    .terminal { width: 50px; height: 50px; border-radius: 13px; }
    .terminal img { width: 35px; height: 35px; }
  }

  /* --- ledger --------------------------------------------------------- */

  .band { background: var(--panel); border-block: 1px solid var(--edge); }
  .band .shell { padding-block: clamp(56px, 8vw, 104px); }

  .split { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
  @media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

  .ledger { border: 1px solid var(--edge); border-radius: 14px; background: var(--void); overflow: hidden; }
  .ledger-head {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 16px 20px; border-bottom: 1px solid var(--edge);
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim);
  }
  .row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 11px 20px; font-size: 14px;
    border-bottom: 1px solid var(--edge-soft);
    font-variant-numeric: tabular-nums;
  }
  .row .k { color: var(--ash); }
  .row .v { color: var(--bone); }
  .row .v.neg { color: var(--loss); }
  .row.section-row {
    background: rgba(255,255,255,0.02); color: var(--dim);
    font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  }
  .row.total {
    border-bottom: 0; padding: 18px 20px; background: var(--loss-soft);
    font-size: 17px; font-weight: 700;
  }
  .row.total .k { color: var(--bone); }
  .row.total .v { color: var(--loss); }

  .reveal { opacity: 1; transform: none; }
  .revealed .reveal { opacity: 1; transform: none; transition: opacity 420ms ease, transform 420ms ease; }
  .revealed .reveal:nth-child(2) { transition-delay: 60ms; }
  .revealed .reveal:nth-child(3) { transition-delay: 110ms; }
  .revealed .reveal:nth-child(4) { transition-delay: 160ms; }
  .revealed .reveal:nth-child(5) { transition-delay: 210ms; }
  .revealed .reveal:nth-child(6) { transition-delay: 260ms; }
  .revealed .reveal:nth-child(7) { transition-delay: 310ms; }
  .revealed .reveal:nth-child(8) { transition-delay: 360ms; }
  .revealed .reveal:nth-child(9) { transition-delay: 410ms; }

  /* --- cards ---------------------------------------------------------- */

  .cards { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
  @media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
  .card {
    background: var(--panel); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
    transition: background 180ms ease, transform 180ms ease;
  }
  .card:hover { background: #101013; transform: translateY(-2px); }
  .card h2, .card h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
  .card p { margin: 0; color: var(--ash); font-size: 15px; }
  .card .num { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--gain); }

  .stats { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
  @media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 940px) { .stats { grid-template-columns: repeat(4, 1fr); } }
  .stat { background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
  .stat .figure {
    font-size: 38px; font-weight: 700; line-height: 1;
    letter-spacing: -0.03em; color: var(--gain);
    font-variant-numeric: tabular-nums;
  }
  .stat .figure.loss { color: var(--loss); }
  .stat p { margin: 0; color: var(--ash); font-size: 14px; }

  /* --- lists ---------------------------------------------------------- */

  .entries { display: flex; flex-direction: column; border-top: 1px solid var(--edge); }
  .entry { padding: 26px 0; border-bottom: 1px solid var(--edge); display: grid; gap: 4px 20px; grid-template-columns: 1fr; }
  @media (min-width: 760px) { .entry { grid-template-columns: 92px 1fr; } }
  .entry .idx { font-size: 12px; font-weight: 600; color: var(--dim); letter-spacing: 0.14em; }
  .entry h2, .entry h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
  .entry p { margin: 8px 0 0; color: var(--ash); font-size: 15px; max-width: var(--measure); }
  @media (min-width: 760px) { .entry h2, .entry h3, .entry p { grid-column: 2; } }
  .entry .takeaway { color: var(--gain); font-size: 14px; margin-top: 10px; }

  .prose { max-width: var(--measure); }
  .prose h3 { font-size: 18px; font-weight: 600; margin: 34px 0 10px; letter-spacing: -0.01em; }
  .prose p, .prose li { color: var(--ash); }
  .prose p { margin: 0 0 14px; }
  .prose ul { margin: 0 0 14px; padding-left: 20px; }
  .prose li { margin-bottom: 7px; }
  .prose strong { color: var(--bone); font-weight: 600; }
  .updated { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

  details { border-bottom: 1px solid var(--edge); }
  summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 17px; font-weight: 500; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; position: absolute; right: 4px; top: 17px; font-size: 22px; color: var(--gain); }
  details[open] summary::after { content: '−'; }
  details p { margin: 0 0 22px; color: var(--ash); max-width: var(--measure); }

  .article-grid { display: grid; gap: clamp(34px, 6vw, 76px); margin-top: 48px; align-items: start; }
  @media (min-width: 860px) { .article-grid { grid-template-columns: 190px minmax(0, 1fr); } }
  .article-nav { display: flex; flex-direction: column; gap: 10px; }
  @media (min-width: 860px) { .article-nav { position: sticky; top: 28px; } }
  .article-nav a { color: var(--ash); font-size: 14px; }
  .article-nav a:hover { color: var(--gain); }
  .article-body { min-width: 0; max-width: 760px; }
  .article-body h2 { margin: 48px 0 12px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.025em; scroll-margin-top: 30px; }
  .article-body h2:first-child { margin-top: 0; }
  .article-body p, .article-body li { color: var(--ash); }
  .article-body p { margin: 0 0 18px; }
  .article-body ul { padding-left: 20px; }
  .article-body li { margin-bottom: 8px; }
  .article-body details p { margin-bottom: 22px; }
  .callout { border: 1px solid var(--edge); border-radius: 16px; background: var(--panel); padding: clamp(28px, 5vw, 52px) !important; }
  .callout h2 { margin: 10px 0; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.05; }
  .callout p:not(.label) { max-width: var(--measure); color: var(--ash); }

  /* --- footer --------------------------------------------------------- */

  footer { border-top: 0; margin-top: clamp(40px, 7vw, 96px); padding-top: 0; }
  footer::before {
    content: '';
    display: block;
    height: 1px;
    background: var(--edge);
    margin-bottom: clamp(64px, 7vw, 88px);
  }
  .foot-grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
  @media (min-width: 860px) { .foot-grid { grid-template-columns: 1fr auto auto; align-items: start; } }

  .foot-mark { display: flex; align-items: baseline; gap: 2px; }
  .foot-mark .name { font-size: 15px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
  .foot-mark .dot { color: var(--gain); font-size: 15px; }

  .foot-nav { display: flex; flex-direction: column; gap: 10px; }
  .foot-nav a {
    position: relative; width: max-content;
    font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--ash);
  }
  .foot-nav a:hover { color: var(--gain); text-decoration: none; }
  /* Brackets mark the page you are on, the way a terminal marks a selection. */
  .foot-nav a[aria-current="page"] { color: var(--gain); }
  .foot-nav a[aria-current="page"]::before { content: '['; position: absolute; left: -16px; color: var(--gain); }
  .foot-nav a[aria-current="page"]::after { content: ']'; position: absolute; right: -16px; color: var(--gain); }

  .foot-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
  .foot-cta h2 { font-size: 25px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; margin: 0; line-height: 1; }

  .wordmark {
    display: flex; justify-content: center;
    width: 100%; overflow: visible;
    font-size: clamp(58px, 14.4vw, 192px);
    font-weight: 700; line-height: 0.82; letter-spacing: -0.045em;
    text-transform: uppercase; text-align: center; color: var(--bone);
    margin: clamp(48px, 8vw, 92px) 0 0;
    user-select: none;
  }
  .wordmark span {
    display: inline-block;
    transform: skewX(-7deg);
    transform-origin: center;
    animation: wordmark-arrive 760ms cubic-bezier(.16,.84,.26,1) both;
  }

  .colophon {
    display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: baseline;
    border-top: 1px solid var(--edge); margin-top: 44px; padding: 22px 0 48px;
    font-size: 13px; color: var(--dim);
  }
  .colophon nav { display: flex; gap: 18px; }
  .colophon a { color: var(--ash); text-decoration: underline; text-underline-offset: 3px; }

  .note { border-left: 2px solid var(--edge); padding-left: 16px; color: var(--ash); font-size: 15px; max-width: var(--measure); }
  .note strong { color: var(--bone); font-weight: 600; }
  .note code { overflow-wrap: anywhere; word-break: break-word; }

  @keyframes wordmark-arrive {
    from { opacity: 0; transform: translateY(24px) skewX(-7deg); letter-spacing: -0.08em; }
    to { opacity: 1; transform: translateY(0) skewX(-7deg); letter-spacing: -0.045em; }
  }

  [hidden] { display: none !important; }

  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
    .hero .stack > * { opacity: 1; transform: none; }
  }

  /* --- chains ---------------------------------------------------------
     The three networks, named with their own marks. Trust signal first,
     decoration second: a reader scanning for "does it do my chain" should
     find the answer without reading a sentence.
  */
  .chain-rail {
    display: flex; width: 100%; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-top: 22px; padding: 0; list-style: none;
  }
  .chain {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 15px 10px 11px;
    border: 1px solid var(--edge); border-radius: 13px;
    background: var(--panel);
  }
  a.chain { color: inherit; text-decoration: none; }
  a.chain:hover { border-color: var(--gain); text-decoration: none; }
  .chain img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; display: block; }
  .chain > span { display: flex; flex-direction: column; font-size: 12px; color: var(--dim); line-height: 1.35; }
  .chain strong { color: var(--bone); font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
  @media (max-width: 520px) {
    .chain-rail { display: grid; grid-template-columns: minmax(0, 1fr); }
    .chain { min-width: 0; }
    .chain > span { min-width: 0; overflow-wrap: anywhere; }
  }

  /* --- tables ---------------------------------------------------------- */

  .table { width: 100%; border-collapse: collapse; font-size: 15px; }
  .table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--edge); }
  .table th { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
  .table td { color: var(--ash); }
  .table tbody tr:hover { background: var(--edge-soft); }
  .table code { color: var(--bone); }

  .compare { overflow-x: auto; border: 1px solid var(--edge); border-radius: 14px; }
  .compare-table { min-width: 620px; }
  .compare-table td:first-child { color: var(--bone); }
  .compare-table .yes { color: var(--gain); font-weight: 600; }
  .compare-table .no { color: var(--dim); }
  .compare-table tbody tr:last-child td { border-bottom: 0; }

  /* --- numbered steps --------------------------------------------------- */

  .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
  .steps li { display: flex; gap: 18px; padding: 26px 24px; background: var(--void); }
  .steps-num { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; color: var(--gain); padding-top: 5px; }
  .steps h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
  .steps p { margin: 0; color: var(--ash); font-size: 15px; }
  .steps code { background: var(--edge-soft); padding: 2px 6px; border-radius: 5px; font-size: 13px; color: var(--bone); }

  /* --- FAQ accordions --------------------------------------------------- */

  .faq-list { max-width: 100%; }
  .faq-list details { border-bottom: 1px solid var(--edge); }
  .faq-list summary {
    cursor: pointer; list-style: none; padding: 18px 0;
    font-size: 16px; font-weight: 600; color: var(--bone);
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: "+"; color: var(--gain); font-size: 20px; line-height: 1; flex: none; }
  .faq-list details[open] summary::after { content: "\2013"; }
  .faq-list details p { margin: 0 0 18px; }

  /* --- calculator ------------------------------------------------------- */

  .calc { border: 1px solid var(--edge); border-radius: 14px; padding: clamp(18px, 3vw, 26px); background: var(--panel); }
  .calc-lookup-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
  .calc-field { display: flex; flex-direction: column; gap: 7px; }
  .calc-field.grow { flex: 1 1 320px; }
  .calc-field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
  .calc-field > span em { font-style: normal; letter-spacing: 0.05em; text-transform: none; opacity: 0.7; }
  .calc-field input, .calc-field select {
    background: var(--void); color: var(--bone);
    border: 1px solid var(--edge); border-radius: 9px;
    padding: 11px 13px; font: inherit; font-size: 15px; width: 100%;
    font-feature-settings: "tnum" 1;
  }
  .calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--gain); }
  .calc-grid { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .calc-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 980px) { .calc-grid { grid-template-columns: repeat(4, 1fr); } }

  .calc-status { font-size: 13px; color: var(--dim); margin: 14px 0 0; }
  .calc-status.ok { color: var(--gain); }
  .calc-status.warn { color: var(--loss); }
  .calc-token { font-size: 13px; color: var(--ash); margin: 6px 0 0; font-weight: 600; }

  .calc-multiples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
  .calc-multiples .label { margin-right: 6px; }
  .calc-multiples button {
    background: var(--void); color: var(--ash); border: 1px solid var(--edge);
    border-radius: 8px; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer;
  }
  .calc-multiples button:hover { border-color: var(--gain); color: var(--gain); }

  .calc-out {
    display: grid; gap: 26px; margin-top: 22px;
    border: 1px solid var(--edge); border-radius: 14px; padding: clamp(20px, 3vw, 30px);
    background: var(--panel);
  }
  @media (min-width: 860px) { .calc-out { grid-template-columns: minmax(240px, 1fr) 2fr; align-items: center; } }
  .calc-headline { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 2px; line-height: 1; }
  .calc-headline.pos, .calc-sub.pos { color: var(--gain); }
  .calc-headline.neg, .calc-sub.neg { color: var(--loss); }
  .calc-sub { font-size: 17px; font-weight: 600; margin: 0; }
  .calc-out-main .label { margin-bottom: 0; }
  .calc-out-grid { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; margin: 0; }
  @media (min-width: 520px) { .calc-out-grid { grid-template-columns: 1fr 1fr; } }
  .calc-out-grid > div { background: var(--void); padding: 14px 16px; }
  .calc-out-grid dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
  .calc-out-grid dd { margin: 5px 0 0; font-size: 17px; font-weight: 600; color: var(--bone); }

  /* --- footer additions -------------------------------------------------- */

  @media (min-width: 860px) {
    .foot-grid { grid-template-columns: 1.4fr auto auto auto; }
  }
  .foot-brand .lede { margin-top: 14px; font-size: 14px; max-width: 38ch; }
  .foot-chains { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; margin: 18px 0 0; padding: 0; }
  .foot-chains li, .foot-chains a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ash); }
  .foot-chains a:hover { color: var(--gain); text-decoration: none; }
  .foot-chains img { width: 17px; height: 17px; border-radius: 50%; object-fit: contain; }
  .foot-privacy { margin: 16px 0 0; font-size: 12.5px; color: var(--dim); max-width: 40ch; }

  .foot-nav h2, .foot-legal-nav h2 {
    font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--bone); margin: 0 0 4px;
  }
  .foot-legal-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
  .foot-legal-nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ash); width: max-content; }
  .foot-legal-nav a:hover { color: var(--gain); text-decoration: none; }

  .foot-risk {
    border-top: 1px solid var(--edge); margin: clamp(40px, 6vw, 64px) 0 0; padding-top: 22px;
    font-size: 12.5px; line-height: 1.7; color: var(--dim); max-width: 92ch;
  }
  .foot-risk strong { color: var(--ash); font-weight: 600; }

  .mt-26 { margin-top: 26px !important; }
  .mt-30 { margin-top: 30px !important; }
  .mt-32 { margin-top: 32px !important; }
  .mt-40 { margin-top: 40px !important; }
  .mt-44 { margin-top: 44px !important; }
  .mt-72 { margin-top: 72px !important; }

  /* Motion owns the entrances once it has loaded. Until then, and for anyone
     who prefers reduced motion, everything is simply visible. */
  @media (prefers-reduced-motion: reduce) {
    .chain, .card { transition: none !important; }
  }
