/* iojeet.com design system: tokens + shared components (sidebar shell, hero, cards, steps, index lists, FAQ, footer). Used by / and /seo-aeo/. */
    :root {
      --bg: #FAF9F5;
      --ink: #1A1A18;
      --ink-2: #4A4840;
      --ink-hover: #2E2D28;
      --muted: #6B6A5E;
      --line: rgba(26, 26, 24, 0.1);
      --card: #FFFEFB;
      --panel: #FCFBF8;
      --chip: #F1EFE8;
      --gold: #C9A84C;
      --gold-text: #8A6D1F;
      --gold-soft: rgba(201, 168, 76, 0.14);
      --ok: #3D7A28;
      --ok-soft: rgba(90, 158, 62, 0.12);
      --night: #0A0A08;
      --cream: #F6F3E8;
      --cream-hover: #FFFDF6;
      --cream-60: rgba(246, 243, 232, 0.6);
      --cream-12: rgba(246, 243, 232, 0.12);
      --cream-06: rgba(246, 243, 232, 0.06);
      --nav-bg: rgba(250, 249, 245, 0.82);
      --shadow: 0 1px 2px rgba(26, 26, 24, 0.04), 0 12px 32px -16px rgba(26, 26, 24, 0.1);
      --mono: 'JetBrains Mono', ui-monospace, monospace;
      --ease: cubic-bezier(.16, 1, .3, 1);
      --spring: linear(0, 0.055, 0.190, 0.366, 0.553, 0.727, 0.875, 0.990, 1.070, 1.117, 1.138, 1.138, 1.124, 1.101, 1.075, 1.050, 1.027, 1.009, 0.995, 0.986, 0.982, 0.980, 0.982, 0.984, 0.988, 0.991, 0.995, 0.998, 1);
      --sec: clamp(32px, 3.5vw, 40px);
      --sec-rule: 16px;
      --head-gap: 14px;
      --near: clamp(28px, 3vw, 40px);
      --wrap: 1200px;
      interpolate-size: allow-keywords;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; overflow-x: clip; }
    body { font-family: 'Instrument Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.55; overflow-x: clip; }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; height: auto; }
    :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
    .end :focus-visible { outline-color: var(--cream); }
    .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
    @media (max-width: 640px) { .wrap { padding: 0 16px; } }

    /* Page shell: sticky sidebar left, one reading column right */
    .shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: var(--wrap); margin: 0 auto; padding: 0 32px; gap: 0 56px; }
    .side { position: sticky; top: 0; align-self: start; height: 100vh; padding: 28px 0 24px; display: flex; flex-direction: column; gap: 28px; overflow: auto; }
    .side__logo { font-size: 24px; font-weight: 600; letter-spacing: -0.04em; }
    .side__logo span { color: var(--gold-text); }
    .side__nav, .side__toc { list-style: none; display: grid; gap: 2px; }
    .side__nav a, .side__toc a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--ink-2); }
    .side__nav a:hover, .side__toc a:hover { color: var(--ink); }
    .side__nav a.is-here { color: var(--ink); font-weight: 500; }
    .side__nav a.is-here::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 1px; margin-left: -16px; }
    .side__nav a .ext { font-size: 12px; color: var(--muted); }
    .side__rule { border: 0; border-top: 1px dashed var(--line); }
    .side__toc a { font-size: 14px; color: var(--muted); }
    .side__toc a::before { content: ""; width: 16px; height: 1px; background: var(--line); flex: none; transition: background .25s, width .25s; }
    .side__toc a.is-on { color: var(--ink); font-weight: 500; }
    .side__toc a.is-on::before { background: var(--gold); width: 22px; }
    .side__cta { margin-top: auto; display: grid; gap: 8px; }
    .side__cta .btn { justify-content: center; }
    .side__cta .fine { text-align: center; font-size: 13px; }
    .main { max-width: 720px; min-width: 0; padding-bottom: 32px; }
    .topbar { display: none; }
    @media (max-width: 960px) {
      .shell { grid-template-columns: 1fr; gap: 0; padding: 0 20px; }
      .side { display: none; }
      .topbar { display: flex; position: sticky; top: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 16px; height: 60px; margin: 0 -20px; padding: 0 20px; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
      .topbar__links { display: flex; gap: 16px; font-size: 14px; color: var(--ink-2); overflow: auto; }
      .main { max-width: none; }
    }

    /* Buttons, bits */
    .btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .2s, transform .15s; }
    .btn:hover { background: var(--ink-hover); }
    .btn:active { transform: scale(.98); }
    .btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
    .btn--light { background: var(--cream); color: var(--ink); }
    .btn--light:hover { background: var(--cream-hover); }
    .link { color: var(--ink-2); border-bottom: 1px solid transparent; transition: border-color .2s; }
    .link:hover { border-color: currentColor; }
    .fine { font-size: 14px; color: var(--muted); }
    .muted { color: var(--muted); }
    .gold { color: var(--gold-text); }
    .chip { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--chip); color: var(--ink-2); white-space: nowrap; }
    .chip--gold { background: var(--gold-soft); color: var(--gold-text); }
    .chip--ok { background: var(--ok-soft); color: var(--ok); }
    .label { font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

    /* Hero */
    .hero { padding-top: 40px; padding-bottom: 8px; }
    .hero + .section { padding-top: 36px; }
    .hero + .proof { margin-top: 20px; }
    .hero + .logos { padding-top: 24px; }
    .hero__h { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; overflow-wrap: anywhere; }
    .hero__h > span { display: block; text-wrap: balance; }
    @media (min-width: 900px) { .hero__h > span { white-space: nowrap; } }
    .hero__g { display: inline-block; width: 0.78em; height: 0.78em; vertical-align: -0.06em; margin-right: 0.18em; }
    .hero__kicker { font: 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.02em; margin-bottom: 18px; }
    .hero__kicker i { display: none; }
    .hero__who { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 600px; text-wrap: pretty; }
    .hero__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gold); padding: 2px; background: var(--bg); }
    .hero__who b { font-weight: 500; color: var(--ink); }
    .works { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
    .works img { width: 18px; height: 18px; }
    .works span + span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
    @media (max-width: 640px) { .works { flex-wrap: wrap; gap: 10px 14px; } }
    .hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 24px; }
    .hero__sub { font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 620px; text-wrap: balance; }
    .hero__actions { display: flex; flex-direction: row; align-items: center; gap: 16px; }
    .hero__actions .link { font-size: 14px; }
    .hero > * { animation: hero-in .7s var(--spring) both; }
    .hero > :nth-child(2) { animation-delay: .1s; }
    @keyframes hero-in { from { opacity: 0; transform: translateY(10px); filter: blur(20px); } }
    @media (max-width: 760px) { .hero__sub { text-wrap: pretty; } .hero { padding-top: 28px; } }

    /* Rotating AI engine in the hero */
    .rot { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: 0.08em; }
    .rot__item { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.22em; opacity: 0; transform: translateY(100%); transition: transform .5s cubic-bezier(.7,0,.2,1), opacity .5s; }
    .rot__item img { width: 0.78em; height: 0.78em; }
    .rot__item.is-on { opacity: 1; transform: none; }
    .rot__item.is-out { opacity: 0; transform: translateY(-100%); }

    /* Proof cards (hero visual) */
    .proof { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .figcap { margin-top: 10px; margin-bottom: 20px; font-size: 12px; color: var(--muted); text-wrap: pretty; }
    .figcap b { color: var(--ink-2); font-weight: 500; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
    .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
    .card__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 24px 14px; border-bottom: 1px solid var(--line); }
    .card__top h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-top: 6px; }
    .card__body { padding: 20px 24px 22px; }
    .mark { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
    .mark--cited { background: var(--gold); }
    .mark--missing { background: #E4E0D4; }
    .rank__body { padding: 18px 24px 22px; display: grid; gap: 10px; font-size: 14px; }
    .rank__row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
    .rank__kw { color: var(--ink-2); font-weight: 500; }
    .rank__chart { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
    .rank__chart svg { width: 100%; height: 110px; margin-top: 8px; overflow: visible; }
    .rank__ln { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
    .in .rank__ln { animation: draw 1.6s var(--ease) .3s forwards; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    .rank__dot { fill: var(--gold); }
    .rank__axis { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--muted); margin-top: 6px; }
    @media (max-width: 480px) { .rank__row { grid-template-columns: 1fr auto; } .rank__row > .label { display: none; } }
    .loop__body { padding: 18px 24px 22px; display: grid; gap: 14px; font-size: 14px; }
    .loop__q { font-size: 15px; color: var(--ink-2); background: var(--chip); padding: 10px 14px; border-radius: 14px 14px 14px 4px; justify-self: start; }
    .loop__grid { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 10px 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
    .loop__grid > .label { padding-bottom: 2px; }
    .loop__eng { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
    .loop__named { color: var(--ink-2); }
    .loop__task { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
    .loop__task .t { flex: 1; min-width: 0; color: var(--ink-2); font-size: 13px; }
    .loop__won { display: flex; align-items: center; font-weight: 500; color: var(--ink); }
    @media (max-width: 480px) { .loop__grid { grid-template-columns: 1fr 1fr; } .loop__grid > :nth-child(3n+2) { display: none; } }
    .ask { display: flex; gap: 10px; align-items: flex-start; padding: 18px 24px 0; }
    .ask img { width: 22px; height: 22px; flex: none; margin-top: 1px; }
    .ask p { font-size: 14px; color: var(--ink-2); background: var(--chip); padding: 10px 14px; border-radius: 14px 14px 14px 4px; }
    .shot { padding: 14px 24px 22px; }
    .shot img { border: 1px solid var(--line); border-radius: 10px; }
    .caption { margin-top: 12px; font-size: 12px; color: var(--muted); }

    /* Brand strip */
    .logos { padding-top: var(--near); text-align: center; }
    .logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; margin-top: 22px; }
    .logos__row span { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); opacity: 0.55; transition: opacity .2s; }
    .logos__row span:hover { opacity: 1; }
    .logos__row img, .logos__row i { width: 24px; height: 24px; border-radius: 6px; flex: none; }
    .logos__row img.wide { width: auto; height: 18px; border-radius: 0; }
    .logos__row i { display: grid; place-items: center; font: 600 12px/1 'Instrument Sans', sans-serif; font-style: normal; background: var(--chip); color: var(--ink-2); }
    @media (max-width: 640px) { .logos__row { gap: 12px 22px; } .logos__row span { font-size: 16px; } .logos__row img, .logos__row i { width: 20px; height: 20px; } }

    /* Sections */
    .section { padding-top: var(--sec); }
    .section::before, .statement::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: var(--sec-rule); }
    .sec-head { margin-bottom: var(--head-gap); }
    .sec-head h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
    .sec-head p { margin-top: 10px; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }

    /* Stats */
    .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 16px; box-shadow: var(--shadow); }
    .stat__t { font-size: 14px; font-weight: 500; }
    .stat__k { font: 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 2px; }
    .stat__n { font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.04em; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 14px; }
    .stat__n sub { font-size: 14px; vertical-align: baseline; color: var(--muted); letter-spacing: 0; margin-left: 10px; }
    .stat__bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin-top: 14px; }
    .stat__bars i { flex: 1; border-radius: 2px 2px 0 0; background: var(--gold-soft); }
    .stat__bars i.on { background: var(--gold); }
    @media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }


    /* Timeline (program at a glance) */
    .tl__bar { display: grid; grid-template-columns: minmax(270px, 1fr) 2fr; gap: 6px; }
    .tl__seg { border-radius: 12px; padding: 16px 18px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 4px; font-size: 13px; color: var(--ink-2); }
    .tl__seg > b { font-size: 16px; font-weight: 500; color: var(--ink); }
    .tl__seg > span:last-of-type:not(.label) { align-self: start; }
    .tl__seg b { font-size: 16px; font-weight: 500; color: var(--ink); }
    .tl__seg--one { background: var(--gold-soft); border: 1px solid rgba(201,168,76,.35); }
    .tl__seg--rest { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .tl__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-content: flex-start; }
    .tl__chips .chip { white-space: nowrap; }
    .tl__chips .chip { display: inline-flex; align-items: center; gap: 6px; }
    .tl__chips .chip img { width: 14px; height: 14px; border-radius: 50%; }
    .tl__tiles { display: grid; grid-template-columns: repeat(5, auto) 1fr; gap: 8px; align-items: end; margin-top: 6px; }
    .tl__tiles .tl__tile--opt { background: var(--gold-soft); border-color: rgba(201,168,76,.35); }
    .tl__tiles .tl__tile--opt > b { font-size: 14px; padding-top: 4px; }
    .tl__tiles > div { padding: 8px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
    .tl__tiles > div > b { display: block; font-size: 22px; line-height: 1; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); }
    .tl__tiles > div > span { font-size: 11px; color: var(--muted); }
    .tl__tiles .tl__tile--note { background: none; border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-self: end; }
    @media (max-width: 760px) { .tl__tiles { grid-template-columns: repeat(4, 1fr); } .tl__tiles .tl__tile--opt, .tl__tiles .tl__tile--note { grid-column: 1 / -1; justify-self: start; } }
    .tl__cells { display: grid; grid-auto-flow: column; gap: 6px; margin-top: 10px; }
    .tl__cells i { display: block; height: 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); font: 11px/24px var(--mono); text-align: center; color: var(--muted); font-style: normal; }
    .tl__seg--one .tl__cells i { background: rgba(255,255,255,.6); border-color: rgba(201,168,76,.35); color: var(--gold-text); }
    .tl__rhythm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
    .tl__rhythm .label { margin-right: 4px; }
    @media (max-width: 600px) { .tl__bar { grid-template-columns: 1fr; } }

    /* Plan flow chart */
    .flow { display: grid; gap: 0; }
    .flow__stage, .flow__out { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px 18px; }
    .flow__stage--one { background: var(--gold-soft); border-color: rgba(201,168,76,.4); box-shadow: none; }
    .flow__label { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
    .flow__label span { font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; margin-right: 8px; }
    .flow__row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
    .flow__row li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 13px; display: grid; gap: 3px; align-content: start; }
    .flow__row li b { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
    .flow__row li span { font-size: 12px; line-height: 1.35; color: var(--muted); text-wrap: pretty; }
    .flow__row li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -20px; transform: translateY(-50%); color: var(--ink-2); font-size: 14px; }
    .flow__down { display: grid; place-items: center; height: 34px; }
    .flow__down i { width: 1px; height: 100%; background: var(--ink-2); position: relative; opacity: .5; }
    .flow__down i::after { content: ""; position: absolute; bottom: 0; left: -4px; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
    /* the return path of the loop: a bracket under the row, arrow pointing back to Plan */
    .flow__back { position: relative; margin: 10px 12.5% 0; height: 34px; border: 1px dashed var(--gold); border-top: 0; border-radius: 0 0 12px 12px; display: grid; place-items: end center; }
    .flow__back i { position: absolute; left: -5px; top: -2px; width: 9px; height: 9px; border-left: 1.5px solid var(--gold-text); border-top: 1.5px solid var(--gold-text); transform: rotate(45deg); }
    .flow__back span { transform: translateY(50%); background: var(--card); padding: 2px 10px; font: 11px/1.4 var(--mono); color: var(--gold-text); white-space: nowrap; }
    .flow__stage--loop { padding-bottom: 26px; }
    .flow__out { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
    .flow__out .flow__label { margin: 0; }
    .flow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
    @media (max-width: 760px) {
      .flow__row { grid-template-columns: 1fr; gap: 22px; }
      .flow__row li:not(:last-child)::after { content: "↓"; top: auto; bottom: -20px; right: 50%; transform: translateX(50%); }
      .flow__back { margin: 14px 0 0; height: auto; border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 10px; place-items: center; }
      .flow__back i { display: none; }
      .flow__back span { transform: none; white-space: normal; text-align: center; background: none; }
      .flow__back span::before { content: "↺ "; }
    }

    /* Statement */
    .statement { padding-top: var(--sec); }
    .statement p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 400; color: var(--muted); max-width: 640px; text-wrap: balance; }
    .statement b { font-weight: 500; color: var(--ink); }

    /* Steps: blocks left to right, text under each block */
    .steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; counter-reset: step; }
    .step__vis { position: relative; }
    .step__vis::after { content: none; }
    .step { position: relative; min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; align-content: start; }
    .steps--3 .step { grid-row: span 3; }
    .step:not(:last-child)::after { content: "→"; position: absolute; top: 66px; right: -26px; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
    .step__vis { order: 10; margin-top: 14px; margin-bottom: 0 !important; min-height: 150px; height: auto; gap: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; margin-bottom: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
    .step__k { font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
    .step h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
    .step__d { font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
    .mini-row { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); font-size: 12px; }
    .mini-row b { font-weight: 600; }
    .mini-row .t { flex: 1; min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mini-row .chip { font-size: 11px; padding: 3px 8px; }
    .mini-code { width: 100%; font: 11px/1.6 var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink-2); }
    .mini-code .del { color: #A3412F; }
    .mini-code .add { color: var(--ok); }
    .mini-doc { width: 100%; display: grid; gap: 6px; padding: 10px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
    .mini-doc i { display: block; height: 5px; border-radius: 3px; background: #E4E0D4; }
    .mini-doc .mini-doc__h { height: 7px; background: var(--ink-2); opacity: .5; }
    .mini-q { width: 100%; font-size: 12px; color: var(--ink-2); background: var(--chip); padding: 8px 12px; border-radius: 12px 12px 12px 3px; }
    .mini-row img { width: 14px; height: 14px; flex: none; }
    .mini-eng { display: flex; gap: 10px; }
    .mini-eng img { width: 18px; height: 18px; }
    .mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
    .mini-bars i { width: 14px; border-radius: 3px 3px 0 0; background: var(--gold-soft); }
    .mini-bars i.on { background: var(--gold); }
    .mini-cap { font-size: 11px; color: var(--muted); }
    .step:not(:last-child)::after { display: none; }
    @media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

    /* Index list: hairline rows */
    .index { list-style: none; border-top: 1px solid var(--line); }
    .index__row { display: grid; grid-template-columns: 25% 1fr auto; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .index__name { font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -0.02em; font-weight: 500; }
    .index__blurb { color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
    .index__n { font: 13px var(--mono); color: var(--gold-text); white-space: nowrap; }
    @media (max-width: 860px) { .index__row { grid-template-columns: 1fr auto; gap: 4px 16px; } .index__blurb { grid-column: 1 / -1; grid-row: 2; } }

    /* Criteria: label + checks */
    .crit { display: flex; flex-wrap: wrap; gap: 8px; }

    /* Two-column split (approvals, who) */
    .split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
    .split > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
    .split > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
    .split h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
    .split ul { list-style: none; }
    .split li { color: var(--ink-2); font-size: 15px; padding: 6px 0 6px 22px; position: relative; text-wrap: pretty; }
    .split li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); }
    .split .no li::before { content: "✕"; color: var(--muted); }
    @media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split > div + div { padding-left: 0; border-left: 0; } }

    .sec-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 20px; }
    .sec-cta .fine { line-height: 1.4; }

    /* One-line program band */
    .tiers-line { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
    .statement-sm { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; text-wrap: balance; }

    /* FAQ */
    .faq .sec-head { margin-bottom: 22px; }
    details { border-bottom: 1px solid var(--line); }
    .faq details:first-child summary { padding-top: 0; }
    summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 500; }
    summary::-webkit-details-marker { display: none; }
    summary span { color: var(--muted); transition: transform .25s; }
    details[open] summary span { transform: rotate(45deg); }
    details p { color: var(--ink-2); font-size: 15px; padding: 0 0 18px; max-width: 620px; text-wrap: pretty; }
    details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
    details[open]::details-content { block-size: auto; }

    /* Closing banner + footer */
    .end { margin-top: 32px; background: var(--night); color: var(--cream); border-radius: 16px; padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
    .end h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; }
    .end p { margin-top: 8px; color: var(--cream-60); font-size: 15px; max-width: 420px; text-wrap: pretty; }
    .end p a { color: var(--cream); border-bottom: 1px solid var(--cream-12); }
    .foot { margin-top: 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; font-size: 14px; }
    .foot h4 { font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
    .foot ul { list-style: none; display: grid; gap: 8px; }
    .foot a { color: var(--ink-2); }
    .foot a:hover { color: var(--ink); }
    .foot p { color: var(--muted); max-width: 320px; text-wrap: pretty; }
    .foot__logo { font-size: 20px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 10px; }
    .foot__logo span { color: var(--gold-text); }
    .foot__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    @media (max-width: 640px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

    /* Scroll reveal: blur to sharp */
    .reveal { opacity: 0; transform: translateY(10px); filter: blur(20px); transition: opacity .7s var(--spring), transform .7s var(--spring), filter .7s var(--spring); transition-delay: calc(min(var(--i, 0), 4) * 60ms); }
    .reveal.in { opacity: 1; transform: none; filter: none; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; }
      .reveal { opacity: 1; transform: none; filter: none; }
      .rank__ln { stroke-dashoffset: 0; }
    }

/* Three-up step grid (case study "starting point") */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps--3 { grid-template-columns: 1fr; } }
.mini-code .strike { text-decoration: line-through; color: #A3412F; }
/* Case study index cards: clearly a link (thumbnail, arrow, hover lift), not a banner */
.cs { display: grid; gap: 18px; }
.cs__card { display: grid; grid-template-columns: 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; color: inherit; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cs__card:hover { transform: translateY(-3px); border-color: rgba(201,168,76,.5); box-shadow: 0 1px 2px rgba(26,26,24,.04), 0 22px 44px -20px rgba(26,26,24,.22); }
.cs__thumb { width: 100%; border-bottom: 1px solid var(--line); background: #fff; }
.cs__body { padding: 20px 24px 22px; }
.cs__body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-top: 6px; }
.cs__body p { color: var(--ink-2); font-size: 15px; margin-top: 6px; text-wrap: pretty; }
.cs__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cs__num { font-size: 22px; letter-spacing: -0.03em; font-weight: 500; }
.cs__num small { font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-left: 6px; }
.cs__read { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold-text); }
.cs__read i { font-style: normal; transition: transform .25s var(--ease); }
.cs__card:hover .cs__read i { transform: translateX(4px); }

/* Sidequests list: one row per project, thumbnail left, text right */
.pj { display: grid; gap: 14px; }
.pj__card { display: grid; grid-template-columns: 260px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; color: inherit; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pj__card:hover { transform: translateY(-2px); border-color: rgba(201,168,76,.5); box-shadow: 0 1px 2px rgba(26,26,24,.04), 0 22px 44px -20px rgba(26,26,24,.22); }
.pj__thumb { width: 100%; height: 100%; min-height: 146px; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; border-right: 1px solid var(--line); background: var(--panel); }
.pj__body { padding: 18px 22px; display: grid; gap: 8px; align-content: center; }
.pj__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pj__top h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.pj__body p { color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.pj__card:hover .cs__read i { transform: translateX(4px); }
@media (max-width: 600px) { .pj__card { grid-template-columns: 1fr; } .pj__thumb { border-right: 0; border-bottom: 1px solid var(--line); height: auto; } }
