:root {
    /* --- palette lifted verbatim from enrichedflows.com --- */
    --bg:          oklch(13% .012 235);
    --card:        oklch(17% .014 235);
    --raised:      oklch(21% .014 235);
    --surface:     oklch(23% .018 220);
    --fg:          oklch(97% .005 180);
    --fg-muted:    oklch(73% .017 215);
    --fg-dim:      oklch(58% .015 220);
    --teal:        oklch(75% .16 181);
    --green:       oklch(74% .17 125);
    --red:         #ff4d4d;
    --border:      oklch(30% .02 225);
    --border-soft: oklch(24% .016 225);
    --on-accent:   oklch(14% .014 235);

    --w: 1140px;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Public Sans", ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }

  /* ============ type system ============ */

  .display {
    font-family: Newsreader, Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.08;
    text-wrap: balance;
    margin: 0;
  }

  .mono {
    font-family: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
    font-variant-numeric: tabular-nums;
  }

  .kicker {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin: 0 0 18px;
  }

  h2.display { font-size: clamp(28px, 3.6vw, 40px); }
  h3 { font-family: "Public Sans", sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 8px; }

  p { margin: 0 0 16px; }
  p:last-child { margin-bottom: 0; }

  a { color: var(--teal); }

  /* ============ dev flags: DELETE BEFORE LAUNCH ============ */

  .devflag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px dashed var(--red);
    border-radius: 3px;
    padding: 4px 9px;
    margin-bottom: 16px;
    background: color-mix(in oklab, var(--red) 8%, transparent);
  }

  /* ============ header ============ */

  header.site {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
  }

  .navrow {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 66px;
  }

  .logo {
    font-family: Newsreader, Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--fg);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .logo .glyph {
    display: block;
    width: 9px; height: 22px;
    background: linear-gradient(to top, var(--teal), var(--green));
  }

  nav.main { display: flex; gap: 26px; margin-left: 12px; }

  nav.main a {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
  }
  nav.main a:hover { color: var(--fg); }

  .navright { margin-left: auto; display: flex; align-items: center; gap: 20px; }
  .navright .signin { color: var(--fg-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
  .navright .signin:hover { color: var(--fg); }

  /* ---------------- mobile navigation ---------------- */
  .navtoggle{
    display:none; margin-left:auto; width:40px; height:40px;
    align-items:center; justify-content:center;
    background:transparent; border:1px solid var(--border);
    border-radius:8px; color:var(--fg); cursor:pointer; padding:0; flex:none;
  }
  .navtoggle:hover{ background:var(--raised); }
  .navtoggle .bars{ position:relative; display:block; width:17px; height:11px; }
  .navtoggle .bars span{
    position:absolute; left:0; width:100%; height:1.5px;
    background:currentColor; border-radius:2px;
    transition:transform .18s ease, opacity .18s ease, top .18s ease;
  }
  .navtoggle .bars span:nth-child(1){ top:0; }
  .navtoggle .bars span:nth-child(2){ top:5px; }
  .navtoggle .bars span:nth-child(3){ top:10px; }
  .navtoggle[aria-expanded="true"] .bars span:nth-child(1){ top:5px; transform:rotate(45deg); }
  .navtoggle[aria-expanded="true"] .bars span:nth-child(2){ opacity:0; }
  .navtoggle[aria-expanded="true"] .bars span:nth-child(3){ top:5px; transform:rotate(-45deg); }

  .mobilenav{
    display:none;
    border-top:1px solid var(--border-soft);
    background:color-mix(in oklab, var(--bg) 97%, transparent);
    backdrop-filter:blur(10px);
  }
  .mobilenav[data-open="true"]{ display:block; }
  .mobilenav .wrap{ padding-top:8px; padding-bottom:18px; }
  .mobilenav a{
    display:block; padding:13px 0; color:var(--fg); text-decoration:none;
    font-size:16px; font-weight:500; border-bottom:1px solid var(--border-soft);
  }
  .mobilenav a:last-of-type{ border-bottom:0; }
  .mobilenav .mob-signin{ color:var(--fg-muted); }
  .mobilenav .mob-cta{
    margin-top:14px; border-bottom:0; text-align:center;
    background:var(--teal); color:oklch(15% .02 200);
    border-radius:8px; padding:13px 18px; font-weight:600;
  }

  /* ============ buttons ============ */

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: "Public Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: transform .12s ease, background .15s ease, border-color .15s ease;
    cursor: pointer;
  }

  .btn-primary { background: var(--teal); color: var(--on-accent); }
  .btn-primary:hover { background: color-mix(in oklab, var(--teal) 88%, white); }
  .btn-primary:active { transform: translateY(1px); }

  .btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
  .btn-ghost:hover { border-color: var(--fg-dim); background: var(--card); }

  .btn-sm { padding: 9px 16px; font-size: 14px; }

  .btn:disabled { opacity: .45; cursor: not-allowed; }
  .btn:disabled:hover { transform: none; }
  .btn-primary:disabled:hover { background: var(--teal); }

  .btn:focus-visible, a:focus-visible, button:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
  }

  /* ============ hero ============ */

  section.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--border-soft); }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: start;
  }

  h1.display { font-size: clamp(38px, 5.4vw, 60px); margin-bottom: 22px; }

  .hero-sub {
    font-size: 18.5px;
    line-height: 1.55;
    color: var(--fg-muted);
    max-width: 46ch;
    margin-bottom: 30px;
  }

  .hero-sub strong { color: var(--fg); font-weight: 600; }

  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

  .cta-note {
    font-size: 13.5px;
    color: var(--fg-dim);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 26px;
  }
  .cta-note span { display: inline-flex; align-items: center; gap: 6px; }
  .cta-note .tick { color: var(--teal); font-weight: 700; }

  .hero-legal {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--fg-dim);
    border-left: 2px solid var(--border);
    padding-left: 14px;
    max-width: 52ch;
  }

  /* ============ signal card ============ */

  .signal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
  }

  .sc-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--raised);
  }

  .sc-head .ticker {
    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .02em;
  }

  .tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
  }
  .tag-bull { background: color-mix(in oklab, var(--green) 16%, transparent); color: var(--green); }
  .tag-bear { background: color-mix(in oklab, var(--red) 16%, transparent); color: var(--red); }
  .tag-closed { background: var(--surface); color: var(--fg-muted); }

  .sc-date {
    margin-left: auto;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--fg-dim);
    /* The timestamp carries its timezone, so keep it on one line. */
    white-space: nowrap;
  }

  .sc-body { padding: 18px; }

  .sc-rows { display: grid; gap: 0; margin-bottom: 18px; }

  .sc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
  }
  .sc-row:last-child { border-bottom: none; }
  .sc-row .k { color: var(--fg-dim); }
  .sc-row .v {
    font-family: "IBM Plex Mono", monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--fg);
  }

  .sc-thesis {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fg-muted);
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
  }
  .sc-thesis strong { color: var(--fg); font-weight: 600; }

  .sc-foot {
    padding: 12px 18px;
    border-top: 1px solid var(--border-soft);
    background: var(--raised);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--fg-dim);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* ============ generic section ============ */

  section { padding: 76px 0; border-bottom: 1px solid var(--border-soft); }

  .sec-head { max-width: 60ch; margin-bottom: 42px; }
  .sec-head p { color: var(--fg-muted); font-size: 17px; margin-top: 14px; }

  /* ============ archive tape ============ */

  /* Timezone note sits directly above the tape so the Published column is
     never read in the visitor's own timezone by mistake. */
  .tape-tz {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    font-size: 12.5px;
    color: var(--fg-dim);
  }

  .tz-badge {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fg-muted);
    background: var(--raised);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
  }

  .tape-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; background: var(--card); }

  table.tape { width: 100%; border-collapse: collapse; min-width: 720px; }

  table.tape th {
    text-align: left;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-dim);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--raised);
    white-space: nowrap;
  }

  table.tape td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
    vertical-align: middle;
  }
  table.tape tr:last-child td { border-bottom: none; }
  table.tape tr:hover td { background: color-mix(in oklab, var(--surface) 45%, transparent); }

  td.num, td.sym {
    font-family: "IBM Plex Mono", monospace;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  td.sym { font-weight: 600; }
  .pos { color: var(--green); }
  .neg { color: var(--red); }
  .flat { color: var(--fg-muted); }

  .tape-note {
    font-size: 13px;
    color: var(--fg-dim);
    margin-top: 16px;
    max-width: 74ch;
  }

  /* ============ archive cards (mobile) ============ */

  .sigcards { display: none; }

  .sigcard {
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: 11px;
    padding: 15px 15px 14px;
    margin-bottom: 11px;
  }

  .sc-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 3px;
  }

  .sc-sym {
    font-family: "IBM Plex Mono", monospace;
    font-size: 16.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--fg);
  }

  .sc-exp {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--fg-dim);
    white-space: nowrap;
  }
  .sc-exp b { color: var(--fg-muted); font-weight: 500; }

  .sc-time {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--fg-dim);
    margin-bottom: 13px;
  }

  .sc-figs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
  }

  .sc-fig { background: var(--raised); padding: 9px 10px 10px; min-width: 0; }

  .sc-fig .lbl {
    font-family: "IBM Plex Mono", monospace;
    font-size: 9.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fg-dim);
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
  }

  .sc-fig .val {
    font-family: "IBM Plex Mono", monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--fg);
    display: block;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }

  .sc-fig .pct {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    font-weight: 500;
    display: block;
    margin-top: 3px;
    font-variant-numeric: tabular-nums;
  }

  /* Native details keeps each thesis accessible without mobile-only JS. */
  .sigcards .sc-thesis { margin: 11px 0 0; border: 0; padding: 0; }

  .sigcards .sc-thesis > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 500;
    min-height: 40px;
    padding: 9px 0 5px;
    -webkit-tap-highlight-color: transparent;
  }

  .sigcards .sc-thesis > summary::-webkit-details-marker { display: none; }

  .sigcards .sc-thesis > summary .chev {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .18s ease;
    flex: none;
  }

  .sigcards .sc-thesis[open] > summary .chev { transform: rotate(-135deg) translate(-2px, -2px); }
  .sigcards .sc-thesis > summary .lbl-open { display: none; }
  .sigcards .sc-thesis[open] > summary .lbl-shut { display: none; }
  .sigcards .sc-thesis[open] > summary .lbl-open { display: inline; }

  .sigcards .sc-thesis p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--fg-muted);
    margin: 8px 0 2px;
  }

  .sigcards .empty { color: var(--fg-muted); font-size: 14px; padding: 4px 2px; margin: 0; }

  /* ============ what you get ============ */

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    overflow: hidden;
  }

  .cell { background: var(--bg); padding: 26px 24px; }
  .cell .n {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--teal);
    display: block;
    margin-bottom: 14px;
  }
  .cell p { font-size: 14.5px; color: var(--fg-muted); }

  /* ============ method steps ============ */

  ol.method { list-style: none; padding: 0; margin: 0; counter-reset: m; display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 6px; overflow: hidden; }

  ol.method li {
    counter-increment: m;
    background: var(--bg);
    padding: 24px 26px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: start;
  }

  ol.method li::before {
    content: counter(m, decimal-leading-zero);
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    padding-top: 3px;
  }

  ol.method p { font-size: 14.5px; color: var(--fg-muted); max-width: 68ch; }

  /* ============ founder ============ */

  .founder {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 34px;
    align-items: start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px;
  }

  .portrait {
    aspect-ratio: 1;
    border-radius: 5px;
    background:
      repeating-linear-gradient(135deg, var(--surface) 0 8px, var(--raised) 8px 16px);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--fg-dim);
    text-align: center;
    padding: 12px;
  }

  .founder blockquote {
    margin: 0 0 18px;
    font-family: Newsreader, Georgia, serif;
    font-size: 21px;
    line-height: 1.45;
    color: var(--fg);
  }

  .founder .byline {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--fg-dim);
    letter-spacing: .06em;
  }

  .founder p { font-size: 15px; color: var(--fg-muted); }

  /* ============ pricing ============ */

  .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

  .plan {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px;
    display: flex;
    flex-direction: column;
  }

  .plan.featured { border-color: var(--teal); }

  .plan-name {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .plan.featured .plan-name .badge {
    background: var(--teal);
    color: var(--on-accent);
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 9.5px;
    letter-spacing: .08em;
  }

  .plan .amount {
    font-family: Newsreader, Georgia, serif;
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
  }
  .plan .per { font-size: 14px; color: var(--fg-dim); margin-bottom: 22px; }
  .plan .save { color: var(--green); font-weight: 600; }

  .plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
  .plan li { font-size: 14.5px; color: var(--fg-muted); display: flex; gap: 10px; align-items: flex-start; }
  .plan li strong { color: var(--teal); font-weight: 600; }
  .plan li::before { content: "→"; color: var(--teal); flex-shrink: 0; }

  .plan .soon {
    font-family: "IBM Plex Mono", monospace;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fg-dim);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 2px 6px;
    margin-left: 6px;
    white-space: nowrap;
  }

  .plan .btn { width: 100%; margin-top: auto; }

  .price-terms {
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--fg-dim);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
  .price-terms span { display: inline-flex; gap: 7px; align-items: center; }

  /* ============ testimonials ============ */

  .quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

  .quote {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
  }
  .quote p { font-size: 15px; line-height: 1.6; color: var(--fg); margin-bottom: 18px; }
  .quote .who {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--fg-dim);
    letter-spacing: .04em;
    border-top: 1px solid var(--border-soft);
    padding-top: 14px;
  }
  .quote .who b { color: var(--fg-muted); font-weight: 600; }

  /* ============ faq ============ */

  .faq { border-top: 1px solid var(--border-soft); }
  .faq details { border-bottom: 1px solid var(--border-soft); }
  .faq summary {
    cursor: pointer;
    padding: 20px 0;
    font-size: 16.5px;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+";
    font-family: "IBM Plex Mono", monospace;
    color: var(--teal);
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
  }
  .faq details[open] summary::after { content: "−"; }
  .faq .answer { padding: 0 0 22px; max-width: 74ch; color: var(--fg-muted); font-size: 15px; }

  /* ============ final cta ============ */

  section.final { text-align: left; border-bottom: none; }
  .final-inner {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
  }

  /* ============ footer ============ */

  footer.site { border-top: 1px solid var(--border-soft); padding: 54px 0 40px; }

  .foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }

  .foot-grid h4 {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin: 0 0 16px;
    font-weight: 600;
  }

  .foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-grid a { color: var(--fg-muted); text-decoration: none; font-size: 14px; }
  .foot-grid a:hover { color: var(--fg); }

  .foot-about p { font-size: 14px; color: var(--fg-muted); max-width: 40ch; }

  .disclaimer {
    border-top: 1px solid var(--border-soft);
    padding-top: 26px;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--fg-dim);
    max-width: 92ch;
  }

  .copyline {
    margin-top: 22px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--fg-dim);
  }

  /* ============ responsive ============ */

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 42px; }
    .founder { grid-template-columns: 1fr; }
    .portrait { max-width: 168px; }
    .final-inner { grid-template-columns: 1fr; padding: 32px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    nav.main { display: none; }
    .navrow { gap: 14px; }
    .navright { display: none; }
    .navtoggle { display: inline-flex; }
    section { padding: 56px 0; }
    section.hero { padding: 52px 0 48px; }
  }

  @media (max-width: 700px) {
    .sigcards { display: block; }
    .tape-scroll { display: none; }
  }

  @media (min-width: 901px) {
    .mobilenav { display: none !important; }
  }

  body.nav-open { overflow: hidden; }

  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
  }

/* ---- inner page / legal layout ---- */
.doc { padding: 72px 0 40px; }
.doc .wrap { max-width: 760px; }
.doc .lede { font-size: 18px; color: var(--fg-muted); max-width: 62ch; margin: 0 0 10px; }
.doc .eff { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--fg-dim); margin-top: 18px; }
.doc h1 { font-family: Newsreader, Georgia, serif; font-size: clamp(32px,4.6vw,44px); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; margin: 0 0 18px; text-wrap: balance; }
.sec { border-top: 1px solid var(--border-soft); padding: 28px 0; display: grid; grid-template-columns: 52px 1fr; gap: 22px; align-items: start; }
.sec .n { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; color: var(--teal); padding-top: 5px; }
.sec h2 { font-family: "Public Sans", sans-serif; font-size: 19px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.sec p, .sec li { font-size: 15.5px; color: var(--fg-muted); }
.sec ul { padding-left: 20px; margin: 0 0 14px; }
.sec li { margin-bottom: 7px; }
.sec strong { color: var(--fg); font-weight: 600; }
@media (max-width: 700px) { .sec { grid-template-columns: 1fr; gap: 8px; } }

/* ---- admin ---- */
.admin-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 8px; padding: 28px; margin-bottom: 24px; max-width: 560px; }
.admin-card h2 { font-family: "Public Sans", sans-serif; font-size: 18px; font-weight: 600; margin: 0 0 16px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--fg-muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  color: var(--fg); padding: 10px 12px; font-size: 15px; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { resize: vertical; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0; font-size: 14px; line-height: 1.5; cursor: pointer; }
.field-check input[type="checkbox"] { width: auto; flex-shrink: 0; margin: 2px 0 0; padding: 0; accent-color: var(--teal); cursor: pointer; }
.field-check a { color: var(--teal); }
.admin-actions { display: flex; gap: 12px; align-items: center; }
.admin-message { font-size: 14px; margin: -4px 0 14px; }
.signal-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  border-top: 1px solid var(--border-soft); padding: 16px 0;
}
.signal-row:first-child { border-top: none; padding-top: 0; }
.signal-row-meta { color: var(--fg-dim); font-size: 13px; }
.signal-row-thesis { margin: 6px 0 0; color: var(--fg-muted); font-size: 14px; }
.tabs { display: flex; gap: 4px; margin: -6px 0 22px; border-bottom: 1px solid var(--border-soft); }
.tab {
  background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer;
  color: var(--fg-dim); font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 12px; margin-bottom: -1px;
}
.tab:hover { color: var(--fg-muted); }
.tab.is-active { color: var(--fg); border-bottom-color: var(--teal); }
.muted-link { color: var(--fg-dim); font-size: 13.5px; text-decoration: none; }
.muted-link:hover { color: var(--fg-muted); text-decoration: underline; }
.signal-row-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.signal-row-actions .metric-input { width: 84px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; color: var(--fg); padding: 8px; font-size: 14px; }
@media (max-width: 700px) {
  .admin-grid { grid-template-columns: 1fr; }
  .signal-row { flex-direction: column; }
  .signal-row-actions { flex-wrap: wrap; }
}
