  :root {
    --ground:    #EEEBE3;
    --panel:     #F5F2EB;
    --panel-2:   #E4E1D9;
    --ink:       #1A1817;
    --ink-2:     #302D28;
    --muted:     #7A736A;
    --dim:       #A19A8F;
    --rule:      #D3CFC5;
    --rule-2:    #C0BBAF;
    --accent:    #B84A2A;
    --accent-2:  #8F3618;
    --accent-tint:#EFDDD3;
    --navy:      #233559;
    --good:      #4A6B4E;
    --good-tint: #DBE3D8;

    --font-display: "New York", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", ui-serif, Georgia, serif;
    --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-mono:    ui-monospace, "SF Mono", "IBM Plex Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  }

  * { box-sizing: border-box; }
  html { background: var(--ground); scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern", "liga", "calt";
  }
  a { color: inherit; text-decoration: none; }

  /* ── Layout ──────────────────────────────────────────────── */
  .frame { max-width: 1280px; margin: 0 auto; padding: 0 44px; }

  /* ── Nav ─────────────────────────────────────────────────── */
  .nav {
    position: sticky; top: 0; z-index: 100;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    backdrop-filter: blur(10px);
  }
  .nav-row {
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: baseline; gap: 32px;
  }
  .mark {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 500;
    letter-spacing: -0.005em;
  }
  .mark small {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--rule-2);
    font-weight: 400;
  }
  nav.links {
    display: flex; gap: 20px; justify-content: center;
    font-size: 13px; color: var(--muted);
  }
  nav.links a { transition: color 0.15s; }
  nav.links a:hover { color: var(--ink); }
  .nav-cta {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.11em;
    text-transform: uppercase; color: var(--ink);
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 3px; font-weight: 500;
  }
  .nav-cta:hover { color: var(--accent); }

  /* ── Hero ────────────────────────────────────────────────── */
  .hero { padding: 110px 0 78px; border-bottom: 1px solid var(--rule); position: relative; }
  .hero-grid {
    display: grid; grid-template-columns: minmax(0,8fr) minmax(0,4fr);
    gap: 60px; align-items: end;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 88px; line-height: 0.96;
    letter-spacing: -0.025em;
    margin: 0; text-wrap: balance;
  }
  .hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
  .hero-rt { padding-bottom: 10px; }
  .hero-rt p {
    color: var(--ink-2);
    font-size: 15px; line-height: 1.55;
    max-width: 34ch; margin: 0 0 18px;
  }
  .hero-cta {
    display: inline-flex; align-items: baseline; gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--ink);
    border-bottom: 1.5px solid var(--accent);
    padding: 6px 0; font-weight: 500;
  }
  .hero-cta::after { content: "\2192"; color: var(--accent); font-size: 14px; }

  .marginmark {
    position: absolute; top: 84px; left: 44px;
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted);
  }

  .stds {
    margin-top: 46px;
    display: flex; align-items: baseline;
    gap: 0; flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.05em;
    color: var(--muted);
  }
  .stds > span:first-child {
    color: var(--muted); text-transform: uppercase;
    letter-spacing: 0.14em; margin-right: 18px;
  }
  .stds .std { color: var(--ink); }
  .stds .std::before {
    content: "·"; color: var(--dim);
    margin: 0 10px;
  }
  .stds .std:first-of-type::before { content: ""; margin: 0; }
  .hero-guarantee {
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 13.5px; color: var(--ink-2);
    max-width: 62ch;
  }
  .hero-guarantee b { color: var(--accent); font-weight: 500; }

  /* ── Lifecycle strip (v2 positioning) ────────────────────── */
  /* Two-column comparison between "editor" and "platform" scope.
     Deliberately imbalanced — the editor column is tiny and grey so
     the argument reads at a glance without needing a label. */
  .lifecycle-strip {
    padding: 88px 0;
    border-bottom: 1px solid var(--rule);
    background: color-mix(in srgb, var(--ground) 96%, var(--accent) 4%);
    scroll-margin-top: 90px;
  }
  .lifecycle-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: 64px;
    align-items: start;
  }
  .lc-label {
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
  }
  .lc-label--accent { color: var(--accent); }
  .lc-list { list-style: none; margin: 0; padding: 0; }
  .lc-list li {
    display: grid; grid-template-columns: 40px 1fr;
    gap: 14px; align-items: baseline;
    padding: 10px 0;
    font-size: 14.5px; line-height: 1.5;
    color: var(--ink);
    border-bottom: 1px dashed var(--rule-2, #1a2333);
  }
  .lc-list li:last-child { border-bottom: none; }
  .lc-list li b {
    font-weight: 600; color: var(--ink);
  }
  .lc-list--dim li {
    color: var(--muted);
    font-size: 13px;
  }
  .lc-num {
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: 0.08em;
    color: var(--dim); text-align: right;
    padding-top: 2px;
  }
  .lc-col--iron .lc-num { color: var(--accent); }
  .lc-note {
    margin-top: 18px;
    font-size: 12.5px; color: var(--muted);
    font-style: italic;
    max-width: 56ch;
  }
  .lc-note--accent {
    color: var(--ink-2);
    font-style: normal;
    border-left: 2px solid var(--accent);
    padding-left: 14px;
    font-size: 13.5px;
  }
  @media (max-width: 900px) {
    .lifecycle-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ── Chapter frame ───────────────────────────────────────── */
  section.chapter {
    padding: 100px 0;
    border-bottom: 1px solid var(--rule);
    position: relative;
    /* Sticky nav is ~72px tall (padding 18*2 + 20px line). Without this
       an anchor click drops the section-top under the nav — the user
       lands on the heading area behind the nav bar and thinks the CTA
       "didn't work" because the form is off-screen below. */
    scroll-margin-top: 90px;
  }
  section.chapter.tight { padding: 74px 0; }
  /* Hero has the same problem for the "#01" anchor. */
  .hero { scroll-margin-top: 90px; }
  .chapter-head {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 40px; align-items: baseline;
    margin-bottom: 56px;
  }
  .chapter-head.no-margin { margin-bottom: 40px; }
  .sect-num {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
    padding-top: 12px;
  }
  .chapter-head h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 44px; line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0; max-width: 22ch;
    text-wrap: balance;
  }
  .chapter-head h2 em {
    font-style: italic; font-weight: 400;
    color: var(--accent);
  }
  .chapter-lede {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 40px; align-items: baseline;
    margin: -30px 0 46px;
  }
  .chapter-lede p {
    max-width: 62ch;
    font-size: 15.5px;
    color: var(--ink-2);
    margin: 0;
  }

  /* ── Glance / pillars table ──────────────────────────────── */
  .glance-tbl {
    display: grid;
    grid-template-columns: 130px repeat(4, 1fr);
    gap: 0;
  }
  .glance-tbl > .colhdr {
    padding-top: 22px;
    border-top: 1px solid var(--ink);
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--ink);
    letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500;
  }
  .glance-tbl > .colhdr.corner { color: var(--muted); }
  .glance-tbl > .cell {
    padding: 22px 24px 40px 0;
    border-top: 1px solid var(--rule);
  }
  .glance-tbl > .cell.desc h4 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 22px;
    line-height: 1.15; letter-spacing: -0.005em;
    margin: 0 0 10px; text-wrap: balance;
  }
  .glance-tbl > .cell.desc p {
    font-size: 13.5px; color: var(--ink-2);
    margin: 0; line-height: 1.55;
  }
  .glance-tbl > .cell.label {
    padding-top: 22px;
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.12em; text-transform: uppercase;
  }
  .glance-tbl > .cell.label::before {
    content: attr(data-num);
    color: var(--accent); margin-right: 8px;
  }

  /* ── Workflow 6-step (two rows of 3) ─────────────────────── */
  .workflow {
    display: grid; grid-template-columns: 130px repeat(3, 1fr);
    gap: 0;
  }
  .workflow > .rowlbl {
    padding-top: 22px;
    font-family: var(--font-mono); font-size: 10.5px;
    color: var(--muted); letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 500;
    border-top: 1px solid var(--rule);
  }
  .workflow > .step {
    padding: 22px 24px 32px 0;
    border-top: 1px solid var(--rule);
  }
  /* Ink rule on the top row so the section reads as one strong horizontal
     line with hairline divisions between the two rows. */
  .workflow > .top { border-top: 1px solid var(--ink); }
  .workflow > .step .num {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--accent);
    letter-spacing: 0.14em; margin-bottom: 8px;
  }
  .workflow > .step h4 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 21px;
    line-height: 1.15; margin: 0 0 8px;
  }
  .workflow > .step p {
    font-size: 13px; color: var(--ink-2);
    margin: 0; line-height: 1.55; max-width: 34ch;
  }

  /* ── Figure ──────────────────────────────────────────────── */
  figure.fig {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 40px; align-items: start;
    margin: 0 0 84px;
  }
  figure.fig:last-child { margin-bottom: 0; }
  figure.fig .fig-margin {
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted); padding-top: 6px;
  }
  figure.fig .fig-margin b { color: var(--accent); font-weight: 500; }

  figure.fig .fig-body h3 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 32px;
    line-height: 1.05; letter-spacing: -0.015em;
    margin: 0 0 16px; text-wrap: balance;
  }
  figure.fig .fig-body h3 em {
    font-style: italic; color: var(--accent); font-weight: 400;
  }
  figure.fig .fig-body p.lede {
    color: var(--ink-2);
    font-size: 15px; line-height: 1.6;
    margin: 0 0 20px; max-width: 62ch;
  }
  figure.fig .imgwrap {
    margin: 0; padding: 0;
    border: 1px solid var(--rule-2);
    background: var(--panel-2);
    line-height: 0;
  }
  figure.fig .imgwrap img {
    display: block; width: 100%; height: auto;
    cursor: zoom-in;
    transition: opacity 0.15s;
  }
  figure.fig .imgwrap img:hover { opacity: 0.94; }
  /* All screenshots now carry intrinsic width/height attributes so the
     browser reserves layout space before the lazy-load resolves (killing
     the "click Pricing 3 times to catch it" scroll drift). Force display
     scaling regardless of container so those attributes don't overflow. */
  .imgwrap img { max-width: 100%; height: auto; }
  figure.fig .cap {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.05em; line-height: 1.5;
  }
  figure.fig .cap b { color: var(--ink); font-weight: 500; }

  /* Figure reversed: text left, image right (for variation) */
  figure.fig.reverse .fig-body { display: grid; grid-template-columns: 1fr; }
  /* Two-image figure */
  figure.fig .imgstack { display: grid; gap: 22px; }

  /* Spec list under figure */
  ul.spec {
    list-style: none; padding: 0;
    margin: 22px 0 0;
    display: grid; gap: 0;
  }
  ul.spec li {
    display: grid; grid-template-columns: 42px 1fr;
    gap: 20px; padding: 12px 0;
    border-top: 1px solid var(--rule);
    font-size: 14px; color: var(--ink-2);
    line-height: 1.5;
  }
  ul.spec li:last-child { border-bottom: 1px solid var(--rule); }
  ul.spec li .n {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.08em; padding-top: 4px;
  }

  /* ── Statement (big-type moment) ─────────────────────────── */
  .statement { padding: 110px 0; border-bottom: 1px solid var(--rule); }
  .statement .stmt-num {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 34px;
  }
  .statement h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 68px; line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0 0 40px; max-width: 22ch;
    text-wrap: balance;
  }
  .statement h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
  .statement .lede {
    max-width: 58ch;
    font-size: 17px; line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
  }
  .statement-grid {
    display: grid;
    grid-template-columns: 130px repeat(3, 1fr);
    gap: 40px; margin-top: 44px;
  }
  .statement-grid .cell {
    border-top: 1px solid var(--ink);
    padding-top: 22px;
  }
  .statement-grid .cell:first-child {
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .statement-grid .fmt {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--accent);
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 6px;
  }
  .statement-grid h4 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 24px;
    letter-spacing: -0.01em; margin: 0 0 10px;
  }
  .statement-grid p {
    font-size: 13.5px; line-height: 1.55;
    color: var(--ink-2); margin: 0;
  }

  /* ── Mid-page CTA ────────────────────────────────────────── */
  .midcta {
    padding: 44px 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--rule);
  }
  .midcta .row {
    display: grid; grid-template-columns: 130px 1fr auto;
    gap: 40px; align-items: baseline;
  }
  .midcta .marker {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.14em; text-transform: uppercase;
  }
  .midcta p {
    font-family: var(--font-display);
    font-weight: 500; font-size: 22px;
    line-height: 1.25; letter-spacing: -0.005em;
    margin: 0; max-width: 58ch;
  }
  .midcta a {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--ink);
    letter-spacing: 0.12em; text-transform: uppercase;
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 4px; font-weight: 500;
    white-space: nowrap;
  }
  .midcta a::after { content: "\2192"; color: var(--accent); margin-left: 8px; }

  /* ── Capabilities table (3-col, multi-row) ───────────────── */
  .cap-tbl {
    display: grid; grid-template-columns: 130px repeat(3, 1fr);
    gap: 0;
  }
  .cap-tbl > .colhdr {
    padding: 22px 0;
    border-top: 1px solid var(--ink);
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--ink);
    letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500;
  }
  .cap-tbl > .colhdr.corner { color: var(--muted); }
  .cap-tbl > .rowhdr {
    padding: 22px 24px 22px 0;
    border-top: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.14em; text-transform: uppercase;
  }
  .cap-tbl > .rowhdr .num { color: var(--accent); margin-right: 8px; }
  .cap-tbl > .cap-cell {
    padding: 22px 24px 26px 0;
    border-top: 1px solid var(--rule);
  }
  .cap-tbl > .cap-cell h4 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 18px;
    line-height: 1.2; margin: 0 0 6px;
  }
  .cap-tbl > .cap-cell p {
    font-size: 13px; line-height: 1.55;
    color: var(--ink-2); margin: 0;
  }
  .cap-tbl code, code.tok {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
  }

  /* ── Traceability custom illustration ────────────────────── */
  .trace-diagram {
    background: var(--panel);
    border: 1px solid var(--rule-2);
    padding: 26px 26px 22px;
  }
  .trace-diagram h5 {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.14em; text-transform: uppercase;
    margin: 0 0 18px; font-weight: 500;
  }
  .trace-row {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 14px; align-items: stretch; margin-bottom: 10px;
  }
  .trace-cell {
    background: var(--ground);
    border: 1px solid var(--rule);
    padding: 10px 12px;
  }
  .trace-cell.geia { border-left: 3px solid var(--accent); }
  .trace-cell.s1000d { border-left: 3px solid var(--navy); }
  .trace-cell .std {
    font-family: var(--font-mono);
    font-size: 9.5px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 2px;
  }
  .trace-cell.geia .std { color: var(--accent); }
  .trace-cell.s1000d .std { color: var(--navy); }
  .trace-cell .code { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
  .trace-cell .desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
  .trace-arrow {
    font-family: var(--font-mono);
    color: var(--accent); align-self: center;
  }
  .trace-legend {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 10px; color: var(--muted);
    letter-spacing: 0.06em;
    display: flex; gap: 22px; flex-wrap: wrap;
  }
  .trace-legend .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: middle; }
  .trace-legend .dot.navy { background: var(--navy); }

  /* ── Security 3-col ──────────────────────────────────────── */
  .sec-3col {
    display: grid; grid-template-columns: 130px repeat(3, 1fr);
    gap: 0;
  }
  .sec-3col > .colhdr {
    padding: 22px 0;
    border-top: 1px solid var(--ink);
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--ink);
    letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 500;
  }
  .sec-3col > .colhdr.corner { color: var(--muted); }
  .sec-3col > .colitem {
    padding: 22px 24px 22px 0;
    border-top: 1px solid var(--rule);
  }
  .sec-3col > .colitem ul {
    list-style: none; padding: 0; margin: 0;
  }
  .sec-3col > .colitem li {
    padding: 5px 0; font-size: 13.5px;
    color: var(--ink-2);
  }

  /* ── Pricing ─────────────────────────────────────────────── */
  .price-row {
    display: grid;
    grid-template-columns: 130px repeat(3, 1fr) 180px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--rule);
    align-items: baseline; margin-top: 40px;
  }
  .price-row .cell {
    padding: 26px 26px 26px 0;
    border-right: 1px solid var(--rule);
  }
  .price-row .cell:last-child { border-right: 0; }
  .price-row .cell.h {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.14em; text-transform: uppercase;
    padding-top: 26px;
  }
  .price-row .seats {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 8px;
  }
  .price-row .amount {
    font-family: var(--font-display);
    font-weight: 500; font-size: 40px;
    letter-spacing: -0.02em; color: var(--ink);
    line-height: 1;
  }
  .price-row .per {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--muted);
    margin-top: 4px; letter-spacing: 0.02em;
  }
  .price-row .cta {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--ink);
    letter-spacing: 0.11em; text-transform: uppercase;
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 4px; display: inline-block;
    font-weight: 500;
  }
  .pricing-note {
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 11px; color: var(--muted);
    letter-spacing: 0.02em;
  }

  /* ── Enhancements list ───────────────────────────────────── */
  .enh {
    display: grid; grid-template-columns: 130px 1fr;
    gap: 40px; margin-top: 44px;
  }
  .enh .marker {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.14em; text-transform: uppercase;
    padding-top: 6px;
  }
  .enh .items { display: grid; gap: 0; }
  .enh .items .item {
    padding: 22px 0 24px;
    border-top: 1px solid var(--rule);
    display: grid; grid-template-columns: 90px 1fr;
    gap: 24px;
  }
  .enh .items .item:last-child { border-bottom: 1px solid var(--rule); }
  .enh .items .item .code {
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--accent);
    letter-spacing: 0.12em; padding-top: 4px;
  }
  .enh .items .item h4 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 20px;
    letter-spacing: -0.005em; margin: 0 0 8px;
  }
  .enh .items .item p {
    font-size: 14px; color: var(--ink-2);
    margin: 0; line-height: 1.55;
    max-width: 72ch;
  }
  .enh-lede {
    font-size: 15px; color: var(--ink-2);
    max-width: 62ch;
  }

  /* ── Contact ─────────────────────────────────────────────── */
  .contact-grid {
    display: grid; grid-template-columns: 130px 1.15fr 0.85fr;
    gap: 40px; align-items: start;
  }
  .contact-side { padding-top: 6px; }
  .contact-side h4 {
    font-family: var(--font-display);
    font-weight: 500; font-size: 22px;
    line-height: 1.2; margin: 0 0 14px;
  }
  .contact-side p {
    font-size: 14px; color: var(--ink-2);
    margin: 0 0 22px; line-height: 1.6;
  }
  .contact-side .lab {
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 4px;
  }
  .contact-side .val {
    font-size: 14px; color: var(--ink); margin-bottom: 20px;
  }
  .contact-side .free {
    margin-top: 32px; padding: 18px 20px;
    background: var(--accent-tint);
    border-left: 3px solid var(--accent);
  }
  .contact-side .free .lab { color: var(--accent-2); }
  .contact-side .free p { margin: 0; font-size: 13.5px; color: var(--ink); }

  form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  form .field { margin-bottom: 18px; }
  form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px; color: var(--muted);
    letter-spacing: 0.11em; text-transform: uppercase;
    margin-bottom: 6px;
  }
  form input, form select, form textarea {
    width: 100%;
    background: var(--panel);
    border: 1px solid var(--rule-2);
    color: var(--ink);
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    outline: none;
    border-radius: 0;
    transition: border-color 0.15s;
    -webkit-appearance: none;
  }
  form input:focus, form select:focus, form textarea:focus { border-color: var(--accent); }
  form textarea { resize: vertical; min-height: 110px; }
  form button {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 500;
    background: var(--ink); color: var(--ground);
    border: 0; padding: 14px 20px; cursor: pointer;
    border-radius: 0;
  }
  form button:hover { background: var(--accent); }
  form button::after { content: " \2192"; }
  #form-status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); margin-top: 10px; display: none; }

  /* ── Editor tabs / figure carousels ─────────────────────────
     Legacy class names (.editor-*) preserved for the §4.1 editor
     figure; alias .fig-carousel for any new tabbed-figure so more
     than one carousel can coexist on the page. */
  .editor-tabs, .fig-tabs {
    display: flex; gap: 20px;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .editor-tab, .fig-tab {
    color: var(--muted); cursor: pointer;
    background: none; border: 0; padding: 4px 0;
    font: inherit; text-transform: inherit; letter-spacing: inherit;
    border-bottom: 1.5px solid transparent;
  }
  .editor-tab.active, .fig-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
  .editor-carousel, .fig-carousel { position: relative; }
  .editor-slide, .fig-slide { display: none; }
  .editor-slide.active, .fig-slide.active { display: block; }

  /* ── Lightbox ────────────────────────────────────────────── */
  .lightbox {
    position: fixed; inset: 0;
    background: rgba(20,18,16,0.94);
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 40px; cursor: zoom-out;
  }
  .lightbox.active { display: flex; }
  .lightbox img {
    max-width: 100%; max-height: 100%;
    border: 1px solid rgba(184,74,42,0.4);
  }
  .lightbox-close {
    position: absolute; top: 18px; right: 24px;
    background: none; border: 0;
    color: var(--accent);
    font-size: 22px; cursor: pointer;
    font-family: var(--font-mono);
  }

  /* ── Footer ──────────────────────────────────────────────── */
  footer.site {
    padding: 70px 0 44px;
    border-top: 1px solid var(--ink);
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    align-items: start;
  }
  .foot-brand {
    padding-right: 20px;
  }
  .foot-brand .mark {
    font-size: 22px;
    display: block;
    margin-bottom: 8px;
  }
  .foot-brand p {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
    max-width: 32ch;
  }
  .foot-col .lab {
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .foot-col ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 6px;
  }
  .foot-col ul a {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 0.15s, border-color 0.15s;
  }
  .foot-col ul a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }
  footer .stamp {
    margin: 56px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.02em;
  }
  footer .stamp a { color: var(--muted); }
  footer .stamp a:hover { color: var(--accent); }
  @media (max-width: 940px) {
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-brand { grid-column: 1 / -1; }
    footer .stamp { flex-direction: column; align-items: flex-start; }
  }

  /* ── Screenshot embeds (product/app captures) ───────────── */
  figure.screenshot {
    margin: 24px 0 32px;
    max-width: 720px;
  }
  figure.screenshot > a {
    display: block;
    position: relative;
    cursor: zoom-in;
  }
  figure.screenshot > a > img {
    width: 100%;
    max-width: 720px;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    object-position: top;
    display: block;
    border: 1px solid var(--rule, #24334f);
    border-radius: 6px;
    background: #000;
    transition: border-color 0.15s ease;
  }
  figure.screenshot > a:hover > img {
    border-color: var(--accent, #f7c452);
  }
  figure.screenshot > a::after {
    content: "↗ enlarge";
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink, #dfe6f0);
    background: rgba(10, 17, 34, 0.85);
    border: 1px solid var(--rule, #24334f);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
  }
  figure.screenshot > a:hover::after {
    opacity: 1;
  }
  figure.screenshot figcaption {
    font-size: 12px;
    color: var(--dim, #a5b0c0);
    margin-top: 8px;
    font-style: italic;
    line-height: 1.5;
  }

  /* ── Contact form ─────────────────────────────────────────── */
  .contact-form {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    margin-top: 28px;
    max-width: 900px;
  }
  .contact-form form { display: grid; gap: 14px; }
  .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-form label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim, #a5b0c0);
    margin-bottom: 4px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--panel, #0f1a2e);
    border: 1px solid var(--rule, #24334f);
    border-radius: 4px;
    color: var(--ink, #dfe6f0);
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
  }
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent, #f7c452);
  }
  .contact-form textarea { min-height: 110px; resize: vertical; font-family: inherit; }
  .contact-form button[type="submit"] {
    padding: 10px 22px;
    background: var(--accent, #f7c452);
    color: #0a1122;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    cursor: pointer;
    justify-self: start;
    transition: filter 0.15s ease;
  }
  .contact-form button[type="submit"]:hover { filter: brightness(1.08); }
  .contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
  .contact-form .status { font-size: 13px; margin: 4px 0 0; min-height: 1.4em; }
  .contact-form .side { color: var(--dim, #a5b0c0); font-size: 14px; line-height: 1.6; }
  .contact-form .side h3 { color: var(--ink, #dfe6f0); font-size: 16px; margin: 0 0 12px; }
  .contact-form .side .lab {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim, #a5b0c0);
    margin: 16px 0 4px;
  }
  .contact-form .side .val { font-family: ui-monospace, monospace; color: var(--ink, #dfe6f0); font-size: 13px; }
  @media (max-width: 780px) {
    .contact-form { grid-template-columns: 1fr; gap: 24px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
  }

  /* ── In-page lightbox (CSS :target, zero JS) ─────────────── */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(5, 8, 20, 0.94);
    align-items: center;
    justify-content: center;
    padding: 40px;
  }
  .lightbox:target { display: flex; }
  .lightbox .lb-backdrop {
    display: block;
    cursor: zoom-out;
    max-width: 95vw;
    max-height: 95vh;
  }
  .lightbox .lb-backdrop img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border: 1px solid var(--rule, #24334f);
    border-radius: 6px;
    background: #000;
  }
  .lightbox::before {
    content: "✕  click image to close";
    position: fixed;
    top: 16px;
    right: 20px;
    color: var(--dim, #a5b0c0);
    font-size: 12px;
    letter-spacing: 0.04em;
    pointer-events: none;
  }

  /* ── Responsive ──────────────────────────────────────────── */
  @media (max-width: 940px) {
    .frame { padding: 0 22px; }
    .marginmark { display: none; }
    .hero { padding-top: 70px; padding-bottom: 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 48px; }
    section.chapter { padding: 70px 0; }
    .chapter-head, .chapter-lede, figure.fig, .enh, .contact-grid, .statement-grid, .col-grid, .midcta .row {
      grid-template-columns: 1fr; gap: 20px;
    }
    .chapter-head h2 { font-size: 30px; }
    .statement h2 { font-size: 42px; }
    .glance-tbl, .workflow, .cap-tbl, .sec-3col, .price-row {
      grid-template-columns: 1fr;
    }
    .glance-tbl > .colhdr, .workflow > .colhdr, .cap-tbl > .colhdr, .sec-3col > .colhdr {
      display: none;
    }
    .glance-tbl > .colhdr.corner, .cap-tbl > .colhdr.corner, .sec-3col > .colhdr.corner {
      display: block; padding-top: 10px;
    }
    .price-row .cell { border-right: 0; border-bottom: 1px solid var(--rule); }
    form .form-row { grid-template-columns: 1fr; }
    nav.links { display: none; }
  }
