    :root, [data-theme="light"] {
      --bg: #f5f7fb; --bg-grad-1: #eaf0ff; --bg-grad-2: #f6f4ff;
      --surface: #ffffff; --surface-2: #f2f5fb; --glass: rgba(255,255,255,.72);
      --text: #12151c; --muted: #58627a; --faint: #8a93a8;
      --accent: #4f6dff; --accent-2: #7a4dff; --accent-soft: rgba(79,109,255,.10);
      --success: #17a673; --warn: #d98a1f;
      --border: #e2e7f1; --border-strong: #cdd5e6;
      --shadow: 0 8px 30px rgba(24,32,58,.08); --shadow-lg: 0 20px 60px rgba(24,32,58,.14);
      --ring: rgba(79,109,255,.45);
    }
    [data-theme="dark"] {
      --bg: #0a0c12; --bg-grad-1: #101828; --bg-grad-2: #16101f;
      --surface: #12151d; --surface-2: #171b25; --glass: rgba(18,21,29,.72);
      --text: #eef1f8; --muted: #9aa4bc; --faint: #6b7489;
      --accent: #7f97ff; --accent-2: #a78bff; --accent-soft: rgba(127,151,255,.12);
      --success: #34d399; --warn: #f0b45e;
      --border: #232a38; --border-strong: #313a4d;
      --shadow: 0 8px 30px rgba(0,0,0,.45); --shadow-lg: 0 24px 70px rgba(0,0,0,.6);
      --ring: rgba(127,151,255,.5);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(1200px 600px at 12% -8%, var(--bg-grad-1), transparent 60%),
        radial-gradient(1000px 620px at 100% 0%, var(--bg-grad-2), transparent 55%),
        var(--bg);
      background-attachment: fixed; line-height: 1.62;
      -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
      transition: background .3s ease, color .3s ease;
    }
    h1,h2,h3,h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
    p { margin: 0; }
    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }
    :focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
    .wrap { width: min(1080px, 92vw); margin-inline: auto; }

    header.site {
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
      background: var(--glass); border-bottom: 1px solid var(--border);
    }
    .bar { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; }
    .brand { display: flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: -.02em; }
    .brand .mark {
      width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 6px 18px var(--accent-soft); flex: 0 0 auto;
    }
    .brand small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
    .crumbs { margin-left: auto; display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .85rem; }
    .crumbs svg { width: 15px; height: 15px; opacity: .6; }
    .crumbs b { color: var(--text); }
    .toggle {
      display: inline-flex; align-items: center; gap: .5rem;
      background: var(--surface); color: var(--text);
      border: 1px solid var(--border); border-radius: 999px;
      padding: .45rem .7rem; cursor: pointer; font: inherit; font-size: .82rem;
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    }
    .toggle:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--border-strong); }
    .toggle svg { width: 16px; height: 16px; }
    .toggle .lbl-dark { display: none; }
    [data-theme="dark"] .toggle .lbl-light { display: none; }
    [data-theme="dark"] .toggle .lbl-dark { display: inline; }

    .hero { padding: 3.4rem 0 2.2rem; }
    .eyebrow {
      display: inline-flex; align-items: center; gap: .55rem;
      font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
      color: var(--accent); background: var(--accent-soft);
      padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1.1rem;
    }
    .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
    .hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 800; }
    .hero .gradient { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .hero .lede { margin-top: 1rem; max-width: 80ch; color: var(--muted); font-size: 1.06rem; }
    .metastrip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
    .chip {
      display: inline-flex; align-items: center; gap: .45rem;
      background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
      padding: .45rem .8rem; font-size: .82rem; color: var(--muted); box-shadow: var(--shadow);
    }
    .chip svg { width: 15px; height: 15px; color: var(--accent); }
    .chip b { color: var(--text); font-weight: 600; }

    section.block { padding: 1.4rem 0; scroll-margin-top: 80px; }
    .sec-head { display: flex; align-items: center; gap: .8rem; margin: 1.6rem 0 1.2rem; }
    .sec-head .num {
      flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
      display: grid; place-items: center; font-weight: 800; font-size: .95rem;
      color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow);
    }
    .sec-head h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; }
    .sec-head p { color: var(--muted); font-size: .9rem; margin-top: .15rem; }

    .card {
      background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
      padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
    .grid { display: grid; gap: 1rem; }
    .g2 { grid-template-columns: repeat(2, 1fr); }
    .g3 { grid-template-columns: repeat(3, 1fr); }
    .g4 { grid-template-columns: repeat(4, 1fr); }

    .obj { display: flex; gap: .85rem; align-items: flex-start; }
    .obj .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
    .obj .ic svg { width: 20px; height: 20px; }
    .obj h4 { font-size: .98rem; }
    .obj p { color: var(--muted); font-size: .86rem; margin-top: .2rem; }

    .statband { display: grid; grid-template-columns: repeat(4, 1fr); }
    .statc { text-align: center; padding: 1.4rem 1rem; border-right: 1px solid var(--border); }
    .statc:last-child { border-right: none; }
    .statc .big { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .statc .lbl { color: var(--muted); font-size: .82rem; margin-top: .45rem; }
    .statc .who { color: var(--faint); font-size: .72rem; margin-top: .2rem; text-transform: uppercase; letter-spacing: .05em; }

    .part-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .7rem; }
    .part-tag .pill { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: .15rem .55rem; }

    .flow { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-top: 1rem; }
    .flow .step { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
    .flow .step .k { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; border-radius: 8px; padding: .28rem .5rem; min-width: 92px; text-align: center; align-self: start; }
    .k.sit { background: #5a6b8c; } .k.act { background: var(--accent); } .k.res { background: var(--success); } .k.les { background: var(--accent-2); }
    .flow .step .v { color: var(--text); font-size: .94rem; }

    details.case { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: border-color .18s ease; }
    details.case + details.case { margin-top: 1rem; }
    details.case[open] { border-color: var(--border-strong); }
    details.case > summary { list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; display: flex; align-items: center; gap: .9rem; }
    details.case > summary::-webkit-details-marker { display: none; }
    details.case > summary .badge { flex: 0 0 auto; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 8px; padding: .3rem .55rem; }
    details.case > summary h4 { font-size: 1.02rem; flex: 1 1 auto; }
    details.case > summary .chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease; }
    details.case[open] > summary .chev { transform: rotate(180deg); }
    details.case .body { padding: 0 1.35rem 1.35rem; border-top: 1px dashed var(--border); }
    .keytake { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
    .keytake svg { width: 18px; height: 18px; color: var(--accent); margin-top: .15rem; }
    .keytake b { color: var(--text); } .keytake span { color: var(--muted); font-size: .9rem; }

    .mr { position: relative; padding-left: 1.4rem; }
    .mr .n { position: absolute; left: -6px; top: -8px; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent-soft); -webkit-text-stroke: 1px var(--accent); font-family: ui-monospace, monospace; }
    .mr h4 { font-size: 1rem; margin-bottom: .35rem; }
    .mr p { color: var(--muted); font-size: .89rem; }
    .mr code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .05rem .35rem; font-size: .82em; }

    .steps { display: grid; gap: .8rem; margin-top: 1rem; }
    .stepc { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
    .stepc .idx { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
    .stepc h4 { font-size: .96rem; } .stepc p { color: var(--muted); font-size: .86rem; margin-top: .2rem; }

    .kqc .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: .8rem; }
    .kqc .ic svg { width: 24px; height: 24px; }
    .kqc h4 { font-size: 1.02rem; } .kqc .role-lbl { color: var(--accent); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
    .kqc p { color: var(--muted); font-size: .85rem; margin-top: .45rem; }

    .src { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
    .src .th { flex: 0 0 auto; width: 54px; height: 68px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .56rem; text-align: center; padding: 0 .2rem; background: linear-gradient(160deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow); }
    .src h4 { font-size: 1rem; } .src .by { color: var(--faint); font-size: .8rem; margin-top: .1rem; }
    .src p.interp { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
    .tagrow { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
    .tag { font-size: .7rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .55rem; }
    .imgnote { margin-top: .7rem; font-size: .82rem; color: var(--faint); display: flex; gap: .5rem; align-items: flex-start; }
    .imgnote svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: .15rem; color: var(--accent); }

    .maptable { width: 100%; border-collapse: collapse; font-size: .84rem; }
    .maptable th, .maptable td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
    .maptable th { color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
    .maptable tr:last-child td { border-bottom: none; }
    .maptable tbody tr { transition: background .15s ease; }
    .maptable tbody tr:hover { background: var(--surface-2); }
    .status-ok { color: var(--success); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
    .status-ok svg { width: 14px; height: 14px; }
    .tblwrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
    .bias td.case { font-weight: 700; color: var(--text); white-space: nowrap; }
    .bias td { color: var(--muted); }
    .bias .les { color: var(--accent); font-weight: 600; }

    .trail { position: relative; margin-top: 1.2rem; padding-left: 1.4rem; }
    .trail::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2)); border-radius: 2px; opacity: .5; }
    .node { position: relative; padding: 0 0 1.1rem .4rem; }
    .node::before { content: ""; position: absolute; left: -1.4rem; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
    .node.done::before { background: var(--success); box-shadow: 0 0 0 4px rgba(23,166,115,.15); }
    .node.future::before { background: var(--surface); border: 2px solid var(--border-strong); box-shadow: none; }
    .node h4 { font-size: .95rem; }
    .node .stg { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
    .node p { color: var(--muted); font-size: .86rem; margin-top: .2rem; }
    .maturity { display: inline-flex; gap: .35rem; margin-top: 1rem; flex-wrap: wrap; }
    .maturity .m { font-size: .7rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--border); color: var(--faint); }
    .maturity .m.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 700; }
    .maturity .m.past { color: var(--success); border-color: transparent; background: rgba(23,166,115,.12); }

    .callout { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
    .callout .ic { color: var(--accent); } .callout .ic svg { width: 22px; height: 22px; }
    .callout b { color: var(--text); } .callout p { color: var(--muted); font-size: .9rem; }
    .callout code { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: .05rem .35rem; }

    .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
    .reveal.in { opacity: 1; transform: none; }

    footer.site { border-top: 1px solid var(--border); margin-top: 2.5rem; padding: 2rem 0 3rem; color: var(--muted); font-size: .85rem; }
    footer.site .row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; }
    .shelf-life { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border); color: var(--faint); font-size: .8rem; display: flex; gap: .55rem; align-items: flex-start; }
    .shelf-life svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: .15rem; color: var(--accent); }

    @media (max-width: 860px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 760px) {
      .g2, .g3, .g4 { grid-template-columns: 1fr; }
      .statband { grid-template-columns: repeat(2, 1fr); }
      .statc:nth-child(2) { border-right: none; }
      .statc { border-bottom: 1px solid var(--border); }
      .statc:nth-last-child(-n+2) { border-bottom: none; }
      .crumbs .hide-sm { display: none; }
      .flow .step { grid-template-columns: 1fr; gap: .3rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      * { transition: none !important; scroll-behavior: auto !important; }
      .reveal { opacity: 1; transform: none; }
    }
  
