@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- tokens: light (getopen) ---------- */
:root {
  --bg: #fff; --ink: #1d1d1f; --ink-2: #1d1d1f; --g: #8a8a8e; --soft: #6b6b70; --line: #ececee;
  --card: #f6f6f7; --tile: #fff; --tile-2: #f7f7f8; --fill: #ececef;
  --chip: #f1f1f3; --chip-ink: #48484b;
  --okb: #e9f7ef; --ok: #12a150; --badb: #fdeceb; --bad: #e5483b; --blueb: #edf1ff; --blue: #2f5bf5; --amberb: #fff3e0; --amber: #c26d00;
  --btn1: #2f5bf5; --btn1-ink: #fff; --btn2: #eeeef0; --btn2-ink: #1d1d1f;
  --edge: 0 0 0 1px rgba(0,0,0,.055); --lift: 0 0 0 1px rgba(0,0,0,.05), 0 10px 28px -16px rgba(0,0,0,.2);
  --t1: #d9f3ff; --t2: #dbf7ea; --t3: #ffe0f0; --t4: #ece5ff;
  --pink: #e0359f; --cyan: #0b9fc2; --green: #12a150; --orange: #ee8a00; --violet: #7a4cf0; --blue-t: #2f5bf5;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
/* ---------- tokens: dark (polar) ---------- */
[data-v="b"], [data-v="c"] .band {
  --bg: #000; --ink: #ededed; --ink-2: #fff; --g: #7a7a7a; --soft: #9a9a9a; --line: rgba(255,255,255,.08);
  --card: #0a0a0a; --tile: #121212; --tile-2: #070707; --fill: #1e1e1e;
  --chip: #1a1a1a; --chip-ink: #bdbdbd;
  --okb: rgba(255,255,255,.07); --ok: #d9d9d9; --badb: rgba(255,255,255,.07); --bad: #ff6159; --blueb: rgba(255,255,255,.08); --blue: #fff; --amberb: rgba(255,255,255,.07); --amber: #d9d9d9;
  --btn1: #fff; --btn1-ink: #000; --btn2: #1a1a1a; --btn2-ink: #ededed;
  --edge: 0 0 0 1px rgba(255,255,255,.07); --lift: 0 0 0 1px rgba(255,255,255,.08), 0 24px 48px -24px rgba(0,0,0,1);
  --t1: rgba(255,255,255,.05); --t2: rgba(255,255,255,.05); --t3: rgba(255,255,255,.05); --t4: rgba(255,255,255,.05);
  --pink: #fff; --cyan: #fff; --green: #fff; --orange: #fff; --violet: #fff; --blue-t: #fff;
  color-scheme: dark;
}
[data-v="c"] .band, [data-v="b"] body { background: var(--bg); color: var(--ink); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--blueb); color: var(--blue); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
svg { display: block; }
img { display: block; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 80px); margin-inline: auto; }

/* nav */
header.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
[data-v="c"] header.nav { background: rgba(0,0,0,.86); --bg: #000; --ink: #f4f4f5; --soft: #9b9ba1; --btn1: #fff; --btn1-ink: #0b0b0c; color: var(--ink); }
.nav .wrap { display: flex; align-items: center; height: 66px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: .01em; }
.logo img { width: 24px; height: 24px; }
.links { display: flex; gap: 24px; font-size: 15px; color: var(--soft); }
.links a { transition: color .2s; }
.links a:hover { color: var(--ink); }
.nav .end { margin-left: auto; }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: 999px; font: 500 15px/1 var(--sans); white-space: nowrap; transition: filter .2s, transform .2s var(--ease); }
.btn:hover { filter: brightness(.94); }
[data-v="b"] .btn:hover, [data-v="c"] .band .btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn-1 { background: var(--btn1); color: var(--btn1-ink); }
.btn-2 { background: var(--btn2); color: var(--btn2-ink); }
.btn .arr { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--btn1-ink) 18%, transparent); display: grid; place-items: center; margin-right: -8px; }
.btn .arr svg { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.btn:hover .arr svg { transform: translateX(2px); }
.btn.lg { height: 46px; padding: 0 20px; font-size: 16px; }

/* type: polar's quiet two-tone */
.h1 { margin: 0; max-width: 17em; font-size: 54px; line-height: 1.08; font-weight: 450; letter-spacing: -.028em; color: var(--ink-2); text-wrap: balance; }
.h2 { margin: 0; font-size: 34px; line-height: 1.14; font-weight: 450; letter-spacing: -.022em; color: var(--ink-2); text-wrap: balance; }
.g { color: var(--g); }
.h1 .g, .h2 .g { display: block; }
.lede { margin: 36px 0 0; max-width: 32em; font-size: 19px; line-height: 1.5; color: var(--soft); text-wrap: pretty; }
.t3 { margin: 0; font-size: 26px; line-height: 1.22; font-weight: 450; letter-spacing: -.02em; }

/* hero */
.hero { padding: 92px 0 96px; }
.cta { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
.aside .list { margin-top: 32px; font-size: 15.5px; }
.aside .list p { margin: 0 0 8px; color: var(--g); }
.aside .list a { display: block; padding: 3px 0; color: var(--ink); transition: color .2s, transform .3s var(--ease); }
.aside .list a:hover { color: var(--blue); transform: translateX(3px); }
.facts { margin-top: 64px; display: flex; gap: 44px; flex-wrap: wrap; }
.fact { display: flex; align-items: center; gap: 10px; }
.fact .lau { width: 14px; height: 30px; fill: none; stroke: var(--g); stroke-width: 1.4; stroke-linecap: round; opacity: .6; }
.fact .lau.r { transform: scaleX(-1); }
.fact div { text-align: center; }
.fact small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--g); text-transform: uppercase; }
.fact span { font-size: 13.5px; font-weight: 500; }

/* shared UI parts */
.ring2 { padding: 5px; border-radius: 18px; background: var(--tile); box-shadow: var(--edge); }
.ring2 > .in { background: var(--tile-2); border-radius: 13px; }
.panel { background: var(--tile); border-radius: 14px; box-shadow: var(--lift); }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--chip); color: var(--chip-ink); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.chip.ok { background: var(--okb); color: var(--ok); }
.chip.bad { background: var(--badb); color: var(--bad); }
.chip.blue { background: var(--blueb); color: var(--blue); }
.chip.amber { background: var(--amberb); color: var(--amber); }
.chip.ok::before { content: ""; width: 8px; height: 5px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-1px) rotate(-45deg); margin-right: 2px; }
.k { font-size: 12px; color: var(--g); }
.av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.av svg { width: 11px; height: 11px; fill: none; stroke-width: 2; stroke-linecap: round; }
.av.p { background: var(--ink); } .av.p svg { stroke: var(--bg); }
.av.m { background: var(--blue); } .av.m svg { stroke: #fff; }
[data-v="b"] .av.m svg, [data-v="c"] .band .av.m svg { stroke: #0b0b0c; }

/* hero card */
.hero-card { font-size: 13px; }
.hc-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 10px; }
.hc-top .brand { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hc-top .brand img { width: 16px; height: 16px; }
.hc-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 5px 5px; }
.pane { background: var(--tile); border-radius: 10px; padding: 18px; min-width: 0; box-shadow: var(--edge); display: flex; flex-direction: column; }
.stats { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.stats > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.stats b, .pane-h b { display: block; font-size: 26px; font-weight: 450; letter-spacing: -.02em; margin-top: 2px; }
.pane-h { display: flex; justify-content: space-between; align-items: baseline; }
.feed { position: relative; height: 204px; overflow: hidden; margin-top: 8px; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 20px 1fr auto 30px; align-items: center; gap: 8px; height: 34px; }
.feed li .who { font-weight: 500; }
.feed li .what { color: var(--g); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed li .t { color: var(--g); font-size: 11.5px; text-align: right; }
.feed li > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart { position: relative; flex: 1; min-height: 200px; margin-top: 10px; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.legend { display: flex; gap: 20px; color: var(--g); font-size: 12px; margin-top: 10px; }
.legend i { display: inline-block; width: 12px; border-top: 1.6px solid var(--blue); vertical-align: middle; margin-right: 7px; }
.legend i.d { border-top: 1.6px dotted var(--g); }

/* sections, polar-style heads */
.sec { padding: 0 0 120px; }
.sec > .wrap { border-top: 1px solid var(--line); padding-top: 96px; }
.band.sec > .wrap { border-top-color: transparent; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.sec-head .n { color: var(--g); margin-right: 14px; font-variant-numeric: tabular-nums; }
[data-v="c"] .band.sec { padding-top: 0; }

/* cards */
.trio, .bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: 22px; padding: 22px 22px 26px; display: flex; flex-direction: column; }
.card .stage { height: 236px; display: grid; place-items: center; position: relative; }
.card h3 { margin: 18px 4px 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.card p { margin: 6px 4px 0; font-size: 16.5px; line-height: 1.45; color: var(--ink); letter-spacing: -.005em; }
.c-pink h3 { color: var(--pink); } .c-blue h3 { color: var(--blue-t); } .c-green h3 { color: var(--green); } .c-orange h3 { color: var(--orange); } .c-cyan h3 { color: var(--cyan); } .c-violet h3 { color: var(--violet); }
.card .stage, .ring2, .panel { font-size: 13px; }

.swap { width: 100%; max-width: 300px; }
.swap .in { padding: 12px; }
.swap .who { display: flex; justify-content: space-between; align-items: center; }
.swap .who b { font-weight: 500; }
.seg { display: inline-flex; background: var(--chip); border-radius: 999px; padding: 3px; position: relative; font-size: 11.5px; font-weight: 500; }
.seg span { position: relative; z-index: 1; padding: 4px 10px; color: var(--g); transition: color .3s; }
.seg span.on { color: var(--ink); }
.seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 999px; background: var(--tile); box-shadow: 0 1px 2px rgba(0,0,0,.14); }
.g2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px 0; font-size: 12px; border-top: 1px solid var(--line); }
.g2:first-of-type { margin-top: 10px; }

.wt { width: 100%; max-width: 290px; padding: 14px; }
.ring2:has(.wt) { width: 100%; max-width: 300px; }
.wt-h { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.wt-bar { margin-top: 14px; height: 30px; border-radius: 8px; display: flex; overflow: hidden; gap: 2px; }
.wt-bar i { display: block; height: 100%; }
.w1 { background: color-mix(in srgb, var(--blue) 28%, var(--tile)); } .w2 { background: color-mix(in srgb, var(--blue) 55%, var(--tile)); } .w3 { background: var(--blue); }
.wt-bar .w1 { flex-basis: 8.9%; } .wt-bar .w2 { flex-basis: 22.8%; } .wt-bar .w3 { flex-basis: 68.3%; }
.wt-rows { margin-top: 12px; display: grid; gap: 7px; }
.wt-rows div { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; }
.wt-rows i { width: 8px; height: 8px; border-radius: 2px; display: block; }
.wt-rows i.w0 { box-shadow: inset 0 0 0 1px var(--g); }
.wt-rows span { color: var(--soft); }
.wt-rows b { font-weight: 500; }

.lw { width: 100%; max-width: 310px; }
.lw-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; }
.lw-row + .lw-row { border-top: 1px solid var(--line); }
.lw-row b { font-weight: 500; font-size: 12.5px; }
.lw-alert { margin-top: 10px; padding: 10px 12px; display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 12px; opacity: 0; }
.lw-alert .x { width: 18px; height: 18px; border-radius: 50%; background: var(--badb); display: grid; place-items: center; }
.lw-alert .x svg { width: 9px; height: 9px; stroke: var(--bad); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.lw-alert b { font-weight: 500; }
.lw-alert span { color: var(--soft); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stp { border-radius: 22px; background: var(--card); overflow: hidden; display: flex; flex-direction: column; }
.stp .top { position: relative; padding: 18px 18px 6px; min-height: 236px; }
.stp .top::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(currentColor 1px, transparent 1.3px); background-size: 7px 7px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); opacity: .32; }
.stp.s1 .top { color: #38bdf8; background: linear-gradient(180deg, var(--t1), var(--card) 80%); }
.stp.s2 .top { color: #34d399; background: linear-gradient(180deg, var(--t2), var(--card) 80%); }
.stp.s3 .top { color: #f472b6; background: linear-gradient(180deg, var(--t3), var(--card) 80%); }
.stp.s4 .top { color: #a78bfa; background: linear-gradient(180deg, var(--t4), var(--card) 80%); }
.stp .lbl { position: relative; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.stp .lbl span { color: var(--g); margin-right: 6px; }
.stp .mock { position: relative; margin-top: 16px; color: var(--ink); }
.stp .txt { padding: 14px 20px 22px; font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.conn { padding: 6px; display: grid; gap: 4px; }
.conn > div { display: grid; grid-template-columns: 22px 1fr auto; gap: 9px; align-items: center; padding: 7px 8px; border-radius: 9px; }
.conn .lg { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }
.conn small { display: block; color: var(--g); font-size: 11px; }
.btnx { height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 500; display: grid; place-items: center; background: var(--blueb); color: var(--blue); }
.btnx.done { background: var(--okb); color: var(--ok); }
.mirror { padding: 10px; display: grid; gap: 8px; }
.mirror .ln { display: grid; grid-template-columns: 50px repeat(6, 1fr); gap: 4px; align-items: center; font-size: 11px; color: var(--soft); }
.mirror .ln i { height: 18px; border-radius: 5px; background: var(--fill); }
.mirror .ln.n i { background: var(--okb); opacity: .4; transform: scale(.8); }
.parity { padding: 4px 10px; }
.parity > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px 0; font-size: 12px; }
.parity > div + div { border-top: 1px solid var(--line); }
.sw { padding: 12px; }
.sw .row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 6px 0; }
.sw .row.dim { color: var(--g); }
.toggle { width: 34px; height: 20px; border-radius: 999px; background: var(--fill); position: relative; transition: background .35s; }
.toggle i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.toggle.on { background: var(--violet); }

/* bento parts */
.chat { width: 100%; max-width: 320px; display: grid; gap: 8px; }
.bub { max-width: 86%; padding: 7px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; opacity: 0; }
.bub.q { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
[data-v="b"] .bub.q { color: #0b0b0c; }
.bub.a { justify-self: start; background: var(--tile); box-shadow: var(--edge); border-bottom-left-radius: 5px; }
.bub.a small { display: flex; gap: 6px; align-items: center; color: var(--g); font-size: 11px; margin-bottom: 3px; }
.bub.a small i { width: 13px; height: 13px; border-radius: 4px; background: var(--blue); display: block; }
.flow-wrap { display: grid; gap: 14px; justify-items: center; }
.flow { display: flex; align-items: center; }
.flow .st { padding: 7px 10px; border-radius: 9px; background: var(--tile); box-shadow: var(--edge); font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
.flow .st.on { background: var(--ink); color: var(--bg); }
.flow .ed { width: 16px; height: 1px; background: var(--line); }
.flow-cond { font-size: 12px; color: var(--soft); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.chain { width: 100%; max-width: 310px; padding: 6px 12px; }
.chain > div { display: grid; grid-template-columns: 18px 1fr auto; gap: 9px; align-items: center; padding: 8px 0; font-size: 12px; position: relative; }
.chain > div + div::before { content: ""; position: absolute; left: 8.5px; top: -8px; height: 16px; width: 1px; background: var(--line); }
.chain .d { width: 18px; height: 18px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; font-size: 9.5px; color: var(--soft); font-weight: 600; }
.chain .h { font-family: var(--mono); font-size: 10.5px; color: var(--g); }

/* open */
.install { margin-top: 28px; }
.install .ring2 { display: inline-block; max-width: 100%; }
.install .in { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; font: 13px var(--mono); color: var(--soft); }
.install .in code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.install button { border: 0; border-radius: 8px; background: var(--tile); box-shadow: var(--edge); padding: 6px 10px; font: 500 12.5px var(--sans); color: var(--ink); cursor: pointer; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { background: var(--card); border-radius: 22px; padding: 22px 24px 26px; }
.ico { width: 30px; height: 30px; border-radius: 50%; background: var(--tile); display: grid; place-items: center; box-shadow: var(--edge); }
.ico svg { width: 15px; height: 15px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-pink .ico svg { stroke: var(--pink); } .c-blue .ico svg { stroke: var(--blue-t); } .c-green .ico svg { stroke: var(--green); } .c-orange .ico svg { stroke: var(--orange); } .c-cyan .ico svg { stroke: var(--cyan); } .c-violet .ico svg { stroke: var(--violet); }
.mini h3 { margin: 16px 0 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.mini p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--soft); }

/* close + footer */
.close { padding: 150px 0 140px; text-align: center; }
.close .h2 { font-size: 46px; margin-inline: auto; }
.close .cta { justify-content: center; }
footer { padding: 56px 0 64px; color: var(--soft); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a:hover { color: var(--ink); }
footer .logo { color: var(--ink); }
footer .legal { grid-column: 1 / -1; margin: 24px 0 0; font-size: 13px; color: var(--g); }

/* variant A/B nuances */
[data-v="a"] .hero .h1 .g { color: var(--blue); }
[data-v="b"] .card, [data-v="b"] .mini, [data-v="b"] .stp { box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
[data-v="c"] .band .card, [data-v="c"] .band .stp { box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }

/* before motion runs, revealable things wait invisible (only when JS and motion are on) */
.js.mo .rv, .js.mo .stag > * { opacity: 0; }

@media (max-width: 1000px) {
  .links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .trio, .bento, .grid6 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .h1 { font-size: 36px; }
  .h2 { font-size: 27px; }
  .lede { font-size: 17px; margin-top: 18px; }
  .hero { padding: 52px 0 72px; }
  .hero-grid { margin-top: 44px; gap: 36px; }
  .hc-panes { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .sec > .wrap { padding-top: 64px; }
  .sec { padding-bottom: 80px; }
  .trio, .bento, .grid6, .steps { grid-template-columns: 1fr; }
  .stp .top { min-height: 0; padding-bottom: 14px; }
  .facts { gap: 18px 26px; margin-top: 44px; }
  .close .h2 { font-size: 30px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
  .install .in { font-size: 11.5px; }
}

/* connect section */
.load { padding: 6px 12px; }
.load > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 7px 0; font-size: 12px; }
.load > div + div { border-top: 1px solid var(--line); }
.load .num { font-weight: 500; }
.load i { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--fill); overflow: hidden; display: block; }
.load i b { display: block; height: 100%; width: 0; background: #34d399; border-radius: 2px; }
.map { padding: 6px 10px; }
.map > div { display: grid; grid-template-columns: auto 14px 1fr; gap: 6px; align-items: center; padding: 7px 0; font-size: 11.5px; }
.map > div + div { border-top: 1px solid var(--line); }
.map code { font: 10.5px var(--mono); color: var(--soft); background: var(--chip); padding: 2px 5px; border-radius: 4px; }
.map .to { color: var(--g); text-align: center; }
.map span:last-child { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcp { padding: 12px; }
.mcp .mh { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 500; }
.mcp .tools { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 10px; }
.mcp .tools span { font-size: 11px; padding: 3px 7px; border-radius: 6px; background: var(--chip); color: var(--chip-ink); }
.mcp .row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--g); padding-top: 8px; border-top: 1px solid var(--line); }

/* connect hub (executor-style) */
.hub { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 56px 72px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hub-lines .base { fill: none; stroke: color-mix(in srgb, var(--ink) 14%, transparent); stroke-width: 1.2; }
.hub-lines .pulse { fill: none; stroke: url(#hub-grad); stroke-width: 1.6; stroke-linecap: round; }
.hcol { position: relative; z-index: 1; display: grid; gap: 22px; }
.hcol.l { justify-items: start; }
.hcol.r { justify-items: end; }
.hn { display: flex; align-items: center; gap: 14px; }
.hl { display: grid; line-height: 1.2; }
.hcol.l .hl { text-align: right; }
.hl b { font-weight: 450; font-size: 16px; color: var(--ink); }
.hl small { font-size: 12px; color: var(--g); }
.ht { width: 48px; height: 48px; border-radius: 13px; background: var(--tile); box-shadow: var(--lift); display: grid; place-items: center; color: var(--ink); }
.ht svg { width: 22px; height: 22px; }
.hcore { position: relative; z-index: 1; width: 156px; padding: 22px 16px 18px; border-radius: 18px; background: var(--tile); box-shadow: var(--lift); display: grid; justify-items: center; gap: 4px; text-align: center; }
.hcore img { width: 40px; height: 40px; margin-bottom: 6px; }
.hcore b { font-weight: 500; font-size: 17px; }
.hcore small { font-size: 11.5px; color: var(--g); }
.hub-notes { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-notes > div { border-radius: 18px; background: var(--card); padding: 20px 22px; }
.hub-notes b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.hub-notes span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--soft); line-height: 1.5; }
@media (max-width: 1000px) { .hub { padding: 44px 28px; } .hl small { display: none; } }
@media (max-width: 700px) {
  .hub { grid-template-columns: 1fr; gap: 56px; padding: 32px 16px; justify-items: center; }
  .hcol { display: flex; gap: 10px; flex-wrap: nowrap; justify-content: center; }
  .hn { flex-direction: column; gap: 6px; }

  .hl { text-align: center !important; }
  .hl b { font-size: 11px; }
  .ht { width: 42px; height: 42px; border-radius: 11px; }
  .ht svg { width: 19px; height: 19px; }
  .hub-notes { grid-template-columns: 1fr; }
}
@media (min-width: 701px) {
  .hcol.l .hn { display: grid; grid-template-columns: 128px 48px; }
  .hcol.r .hn { display: grid; grid-template-columns: 48px 136px; }
}

/* compare */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-wrap { border-radius: 22px; background: var(--card); padding: 8px 8px 12px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; min-width: 860px; }
.cmp th, .cmp td { padding: 0; text-align: center; vertical-align: middle; }
.cmp thead th { padding: 18px 8px 16px; font-weight: 400; }
.cmp thead th b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.cmp thead th small { display: block; margin-top: 2px; font-size: 12px; color: var(--g); }
.cmp thead th:first-child { width: 30%; }
.cmp .me { background: var(--tile); }
.cmp thead .me { border-radius: 14px 14px 0 0; box-shadow: inset 0 1px 0 var(--line); }
.cmp thead .me b { color: var(--blue); }
.cmp tbody tr:last-child .me { border-radius: 0 0 14px 14px; }
.cmp .grp th { text-align: left; padding: 22px 16px 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cmp .grp.c-blue th { color: var(--blue-t); } .cmp .grp.c-cyan th { color: var(--cyan); } .cmp .grp.c-orange th { color: var(--orange); } .cmp .grp.c-pink th { color: var(--pink); } .cmp .grp.c-green th { color: var(--green); } .cmp .grp.c-violet th { color: var(--violet); }
.cmp .grp th { background: linear-gradient(90deg, transparent, transparent); }
.cmp .row th { text-align: left; padding: 13px 16px; font-weight: 400; color: var(--ink); border-top: 1px solid var(--line); }
.cmp .row td { padding: 13px 8px; border-top: 1px solid var(--line); }
.cmp .row td.me { border-top-color: transparent; }
.cmp .grp + .row th, .cmp .grp + .row td { border-top-color: transparent; }
.dt { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.dt.y { background: var(--ink); }
.dt.h { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px var(--ink); }
.dt.n { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--g) 70%, transparent); }
.cmp .me .dt.y { background: var(--blue); width: 14px; height: 14px; }
.cmp-key { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--soft); padding: 0 8px; }
.cmp-key span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-key .note { margin-left: auto; color: var(--g); }
@media (max-width: 700px) {
  .cmp-wrap { margin-inline: -16px; border-radius: 0; padding-left: 0; }
  .cmp thead th:first-child, .cmp .row th { position: sticky; left: 0; z-index: 1; background: var(--card); }
  .cmp .row th { min-width: 180px; font-size: 14px; }
  .cmp-key .note { margin-left: 0; }
}
@media (max-width: 700px) {
  .cmp { min-width: 0; width: max-content; font-size: 13.5px; }
  .cmp thead th small { display: none; }
  .cmp thead th { padding: 14px 4px 12px; }
  .cmp thead th b { font-size: 12.5px; }
  .cmp th:not(:first-child), .cmp td { min-width: 78px; }
  .cmp thead th:first-child, .cmp .row th, .cmp .grp th { width: 150px; min-width: 150px; max-width: 150px; font-size: 13px; padding-left: 16px; }
  .cmp .grp th { position: sticky; left: 0; z-index: 1; background: var(--card); }
  .cmp .me { position: sticky; right: 0; z-index: 1; box-shadow: -10px 0 16px -12px rgba(0,0,0,.25); }
}
@media (max-width: 700px) {
  .cmp-wrap { padding-right: 0; }
  .cmp .me { box-shadow: none; border-left: 1px solid var(--line); }
}

/* dark: no hue anywhere except brand marks */
[data-v="b"] .bub.q, [data-v="c"] .band .bub.q { background: #fff; color: #000; }
[data-v="b"] .w1, [data-v="c"] .band .w1 { background: #3a3a3a; } [data-v="b"] .w2, [data-v="c"] .band .w2 { background: #7a7a7a; } [data-v="b"] .w3, [data-v="c"] .band .w3 { background: #fff; }
[data-v="b"] .toggle.on { background: #fff; } [data-v="b"] .toggle.on i { background: #000; }
[data-v="b"] .stp .top::before { color: #fff; opacity: .12; }

/* state machine (decisions-tree style) */
.sm { position: relative; border-radius: 22px; background: var(--card); padding: 44px 40px 28px; box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 250px 1fr; gap: 28px 56px; }
.sm-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sm-lines .e { fill: none; stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 1.3; }
.sm-lines .e.on { stroke: var(--blue); }
.sm-lines .pulse { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.sm-rec { position: relative; z-index: 1; align-self: center; }
.sm-tag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--chip-ink); background: var(--chip); padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.sm-card { background: var(--tile); border-radius: 14px; box-shadow: var(--lift); padding: 14px 16px; }
.sm-ttl { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sm-ttl b { font-weight: 500; font-size: 15px; }
.sm-kv { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-top: 1px solid var(--line); }
.sm-kv span { color: var(--soft); }
.sm-kv b { font-weight: 500; }
.sm-tree { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; align-items: center; }
.sm-split { display: grid; gap: 22px; }
.sm-n { background: var(--tile); border-radius: 12px; box-shadow: var(--edge); padding: 10px 12px; font-size: 13px; transition: box-shadow .35s, opacity .35s; opacity: .55; }
.sm-n.past { opacity: 1; }
.sm-n.on { opacity: 1; box-shadow: 0 0 0 1.5px var(--blue), 0 12px 28px -14px color-mix(in srgb, var(--blue) 60%, transparent); }
.sm-h { display: flex; justify-content: space-between; align-items: center; }
.sm-h b { font-weight: 500; font-size: 14px; }
.sm-h .lk { width: 12px; height: 12px; color: var(--g); opacity: 0; transition: opacity .3s; }
.sm-n.on .lk, .sm-n.past .lk { opacity: 1; }
.sm-s { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.sm-step { font: 11.5px var(--mono); color: var(--blue); }
.actor-s { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--soft); white-space: nowrap; }
.actor-s .av { width: 16px; height: 16px; }
.actor-s .av svg { width: 9px; height: 9px; }
.sm-checks { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.sm-chk { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k c" "code c" "res c"; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--tile); box-shadow: var(--edge); font-size: 12.5px; transition: box-shadow .3s; }
.sm-chk .k { grid-area: k; color: var(--g); font-size: 12px; }
.sm-chk code { grid-area: code; font: 12px var(--mono); color: var(--ink); }
.sm-chk .res { grid-area: res; color: var(--soft); font-size: 12px; }
.sm-chk .chip { grid-area: c; }
.sm-chk.on { box-shadow: 0 0 0 1.5px var(--ok); }

/* permissions */
.perm { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.perm > div { border-radius: 22px; background: var(--card); padding: 24px; }
.perm-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.perm-h b { font-weight: 500; font-size: 15px; }
.perm-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.perm-t td { padding: 11px 4px; border-top: 1px solid var(--line); }
.perm-t td:first-child { font-family: var(--mono); font-size: 12.5px; color: var(--soft); }
.perm-t td:last-child { text-align: right; }
.perm-t .chip { transition: background .3s, color .3s; }
.perm-note { margin: 14px 0 0; font-size: 13px; color: var(--g); min-height: 2.6em; }
.perm-f { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.perm-f span { color: var(--soft); }
.perm-f b { font-weight: 500; transition: color .3s; }
.perm-f b.wh { color: var(--g); font-style: italic; font-weight: 400; }
.perm-rc { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--g); }
.perm-rc code { font: 11.5px var(--mono); }

/* as of */
.asof { width: 100%; max-width: 310px; }
.asof .in { padding: 14px; }
.asof .who { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; }
.asof .who b { font-weight: 500; }
.asof-v { margin-top: 16px; font-size: 26px; font-weight: 450; letter-spacing: -.02em; }
.asof-n { margin-top: 4px; font-size: 12px; color: var(--g); }

@media (max-width: 1000px) {
  .sm { grid-template-columns: 1fr; padding: 28px 20px; }
  .sm-tree { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .sm-lines { display: none; }
  .perm { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sm-checks { grid-template-columns: 1fr; }
}


/* ---------- monochrome direction (Studio re-theme): grey everywhere, blue only for the primary action ---------- */
:root {
  --blue: #1d1d1f; --blueb: #f1f1f3; --blue-t: #1d1d1f;
  --ok: #1d1d1f; --okb: #f1f1f3; --amber: #48484b; --amberb: #f1f1f3;
  --t1: #f0f0f1; --t2: #f0f0f1; --t3: #f0f0f1; --t4: #f0f0f1;
  --pink: #1d1d1f; --cyan: #1d1d1f; --green: #1d1d1f; --orange: #1d1d1f; --violet: #1d1d1f;
  --btn1: #2f5bf5; --btn1-ink: #fff;
}
[data-v="b"], [data-v="c"] .band { --btn1: #2f5bf5; --btn1-ink: #fff; }
[data-v="c"] header.nav { --btn1: #2f5bf5; --btn1-ink: #fff; }
.av.m { background: var(--chip); } .av.m svg { stroke: var(--ink) !important; }
.ht { color: var(--soft); } .ht svg path { fill: currentColor; }
.hn:hover .ht { color: var(--ink); }
.toggle.on { background: var(--ink); } .toggle.on i { background: var(--bg); }
.stp .top::before { color: var(--g) !important; opacity: .18; }
.chip.ok::before { border-color: currentColor; }
.bub.q { background: var(--ink); color: var(--bg); }
.w1 { background: color-mix(in srgb, var(--ink) 22%, var(--tile)); } .w2 { background: color-mix(in srgb, var(--ink) 50%, var(--tile)); } .w3 { background: var(--ink); }
.sm-chk.on { box-shadow: 0 0 0 1.5px var(--ink); }

/* ~90% density */
.wrap { width: min(1120px, 100% - 80px); }
.h1 { font-size: 48px; }
.h2 { font-size: 30px; }
.lede { font-size: 17.5px; margin-top: 30px; }
.t3 { font-size: 23px; }
.card h3 { font-size: 17.5px; } .card p { font-size: 15px; }
.mini h3 { font-size: 16.5px; } .mini p { font-size: 14px; }
.hero { padding: 80px 0 84px; }
.sec { padding-bottom: 104px; } .sec > .wrap { padding-top: 84px; }
.sec-head { margin-bottom: 52px; }
.close .h2 { font-size: 40px; }
.btn.lg { height: 42px; font-size: 15px; }

/* built-with strip */
.stack { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; margin: -12px 0 40px; padding: 18px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.stk { display: inline-flex; align-items: center; gap: 8px; color: var(--g); transition: color .2s; }
.stk:hover { color: var(--ink); }
.stk svg { width: 18px; height: 18px; fill: currentColor; }
.stk b { font-weight: 500; font-size: 14px; }
@media (max-width: 700px) {
  .h1 { font-size: 34px; } .h2 { font-size: 25px; } .lede { font-size: 16px; }
  .stack { gap: 12px 20px; padding: 14px 16px; }
}
[data-v="b"], [data-v="c"] .band {
  --blue: #fff; --blueb: rgba(255,255,255,.08); --blue-t: #fff;
  --ok: #e6e6e6; --okb: rgba(255,255,255,.07); --amber: #cfcfcf; --amberb: rgba(255,255,255,.07);
  --t1: rgba(255,255,255,.04); --t2: rgba(255,255,255,.04); --t3: rgba(255,255,255,.04); --t4: rgba(255,255,255,.04);
  --pink: #fff; --cyan: #fff; --green: #fff; --orange: #fff; --violet: #fff;
}
[data-v="a"] .hero .h1 .g { color: var(--g); }


/* ---------- getopen-style hero ---------- */
.hero2 { text-align: center; padding: 72px 0 96px; }
.hero2 .pillnew { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--soft); transition: box-shadow .2s, color .2s; }
.hero2 .pillnew:hover { color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 25%, transparent); }
.hero2 .pillnew b { height: 22px; padding: 0 8px; border-radius: 999px; background: var(--btn1); color: var(--btn1-ink); font-size: 11px; font-weight: 600; letter-spacing: .03em; display: grid; place-items: center; }
.hero2 .pillnew svg { width: 12px; height: 12px; }
.hero2 .h1 { margin: 22px auto 0; max-width: 14em; font-size: 60px; line-height: 1.04; font-weight: 500; letter-spacing: -.03em; color: var(--ink-2); }
.hero2 .h1 em { display: block; font-style: normal; color: var(--btn1); }
.hero2 .lede { margin: 22px auto 0; max-width: 31em; font-size: 20px; line-height: 1.45; text-wrap: balance; }
.hero2 .lede mark { background: color-mix(in srgb, var(--btn1) 12%, transparent); color: var(--btn1); border-radius: 6px; padding: 0 5px; }
.hero2 .cta { justify-content: center; margin-top: 30px; }
.hero2 .facts { justify-content: center; margin-top: 44px; }
.hero-trio { margin-top: 64px; text-align: left; }
.hero-trio .card .stage { height: 236px; }
.hero-trio .feed { position: absolute; inset: 0 4px; height: auto; margin: 0; padding-top: 4px; }
.who-did { width: 100%; max-width: 320px; }
.who-did .in { padding: 14px 14px 10px; }
.wd-h { display: flex; justify-content: space-between; text-align: left; }
.wd-h > div + div { text-align: right; }
.wd-h b { display: block; font-size: 24px; font-weight: 450; letter-spacing: -.02em; }
.who-did .chart { min-height: 120px; margin-top: 6px; }
.rcpt { width: 100%; max-width: 310px; padding: 4px 12px 10px; }
.rcpt ul { list-style: none; margin: 0; padding: 0; }
.rcpt li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rcpt li code { font: 11px var(--mono); color: var(--g); }
.rcpt-f { display: flex; justify-content: space-between; padding-top: 10px; font-size: 12px; color: var(--soft); }
.rcpt-f span:first-child::before { content: ""; display: inline-block; width: 8px; height: 5px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(-45deg); margin-right: 7px; }
@media (max-width: 700px) {
  .hero2 { padding: 44px 0 64px; }
  .hero2 .h1 { font-size: 38px; }
  .hero2 .lede { font-size: 17px; }
}

/* polish */
.ico.logo svg { fill: var(--ink); stroke: none; width: 16px; height: 16px; }
.mini { transition: background .25s; }
.mini:hover { background: color-mix(in srgb, var(--card) 70%, var(--fill)); }
.card .stage { overflow: hidden; }
@media (max-width: 700px) {
  .hero2 .facts { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
  .hero2 .fact .lau { display: none; }
  .hero2 .fact small { font-size: 9px; }
  .hero2 .fact span { font-size: 12.5px; }
  .hero-trio { margin-top: 44px; }
}
.bub.a small .kn { width: 13px; height: 13px; display: block; }

/* guarantees */
.g-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; }
.g-stats { border-radius: 22px; background: var(--card); padding: 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-content: start; }
.g-stats > div b { display: block; font-size: 56px; line-height: 1; font-weight: 450; letter-spacing: -.035em; color: var(--ink-2); }
.g-stats > div span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--soft); line-height: 1.4; }
.g-note { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--g); }
.g-run { border-radius: 22px; background: #0b0b0c; color: #cfcfcf; padding: 18px 20px; font: 12px/1.6 var(--mono); overflow: hidden; }
[data-v="b"] .g-run, [data-v="c"] .band .g-run { background: #070707; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.g-run-h { display: flex; justify-content: space-between; color: #7a7a7a; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
#g-run-s.done { color: #e6e6e6; }
.g-run ul { list-style: none; margin: 0; padding: 0; }
.g-run li { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center; padding: 3px 0; opacity: .3; transition: opacity .3s; }
.g-run li.ok { opacity: 1; }
.g-run li code { font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-run li .by { color: #6f6f6f; font-size: 11px; }
.g-run .tick { width: 10px; height: 6px; border-left: 1.6px solid #6f6f6f; border-bottom: 1.6px solid #6f6f6f; transform: translateY(-2px) rotate(-45deg); transition: border-color .3s; }
.g-run li.ok .tick { border-color: #fff; }
.g-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gc { border-radius: 20px; background: var(--card); padding: 20px 20px 18px; display: flex; flex-direction: column; }
.gc-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.gc-t b { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.gc-m { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.gc-m i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; padding: 2px 6px; border-radius: 5px; background: var(--ink); color: var(--bg); }
.gc p { margin: 8px 0 14px; font-size: 14px; line-height: 1.5; color: var(--soft); flex: 1; }
.gc-f { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 2px; }
.gc-f code { font: 11px var(--mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-f span { font-size: 11.5px; color: var(--g); }
@media (max-width: 1000px) { .g-top { grid-template-columns: 1fr; } .g-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .g-stats { grid-template-columns: 1fr; gap: 16px; } .g-stats > div b { font-size: 44px; } .g-grid { grid-template-columns: 1fr; } }
.bub.a small .kn { width: 13px; height: 13px; display: block; }
.g-stats { grid-template-rows: auto 1fr; } .g-note { align-self: end; }
.g-run li { grid-template-columns: 16px 1fr auto; }
.g-run li .ln { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-run li.bad { opacity: 1; color: #ff7a70; }
.g-run li.bad .tick { width: 9px; height: 9px; border: 0; transform: none; background: linear-gradient(45deg, transparent 43%, #ff7a70 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, #ff7a70 43% 57%, transparent 57%); }
#g-run-s.bad { color: #ff7a70; }
.g-cx { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,107,94,.08); box-shadow: inset 0 0 0 1px rgba(255,107,94,.25); display: none; }
.g-cx.on { display: block; }
.cx-h { color: #ffb1aa; display: flex; align-items: center; gap: 8px; }
.cx-b { margin-top: 4px; color: #a8a8a8; font-size: 11.5px; }
.g-stats > div b { font-size: 52px; }
.gc-f span { font-size: 12px; }

/* norms */
.norms { margin-top: 16px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.norms > div { border-radius: 22px; background: var(--card); padding: 24px; }
.nm { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.dn { justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.dn.may { background: var(--chip); color: var(--chip-ink); }
.dn.must { background: var(--ink); color: var(--bg); }
.dn.not { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.nc { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; opacity: .35; transition: opacity .35s; }
.nc.ok { opacity: 1; }
.nc small { display: block; font-size: 12px; color: var(--g); margin-top: 2px; }
.nc .tk { width: 10px; height: 6px; margin-top: 6px; border-left: 1.7px solid var(--ink); border-bottom: 1.7px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 1000px) { .norms { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .g-run li .by { display: none; } .g-run li { grid-template-columns: 16px 1fr; }
  .g-run-h #g-run-t { font-size: 11px; } .g-run { font-size: 11.5px; }
  .nm { grid-template-columns: 1fr; gap: 6px; }
}

/* drawn icons */
.gi, .ni { display: inline-grid; place-items: center; flex: none; border-radius: 10px; background: var(--tile); box-shadow: var(--edge); color: var(--ink); }
.gi { width: 36px; height: 36px; margin-bottom: 14px; }
.ni { width: 32px; height: 32px; }
.ni.ni-s { width: 28px; height: 28px; border-radius: 8px; }
.gi svg { width: 19px; height: 19px; } .ni svg { width: 17px; height: 17px; } .ni.ni-s svg { width: 15px; height: 15px; }
.gi path, .ni path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js.mo .gi, .js.mo .ni { opacity: 0; transform: scale(.7) rotate(-8deg); transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.5,.64,1), box-shadow .25s; }
.js.mo .gi.drawn, .js.mo .ni.drawn { opacity: 1; transform: none; }
.gc:hover .gi { box-shadow: 0 0 0 1px var(--ink); }
/* norms, no pills */
.nm { grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.nm small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g); margin-bottom: 2px; }
.nm-must .ni { background: var(--ink); color: var(--bg); box-shadow: none; }
.nc { grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.nc .ni { opacity: 1; }
@media (max-width: 700px) { .nm { grid-template-columns: 32px 1fr; } }
/* steadier loops */
.g-cx { display: block !important; opacity: 0; transition: opacity .35s; }
.g-cx.on { opacity: 1; }
.sm-lines .e { transition: stroke .4s; }
.sm-n, .sm-chk { transition: box-shadow .4s, opacity .4s; }

.rcpt-win { height: 151px; overflow: hidden; }
/* roadmap */
.rm { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.rm-c { border-radius: 22px; background: var(--card); padding: 22px 22px 14px; }
.rm-h { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; }
.rm-h b { font-weight: 500; font-size: 16px; }
.rm-n { margin-left: auto; font-size: 12px; color: var(--g); font-variant-numeric: tabular-nums; }
.rm-d { width: 8px; height: 8px; border-radius: 50%; position: relative; }
.rm-now .rm-d { background: var(--ink); }
.rm-now .rm-d::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; animation: ping 2.4s cubic-bezier(.22,1,.36,1) infinite; }
.rm-soon .rm-d { background: var(--g); }
.rm-later .rm-d { box-shadow: inset 0 0 0 1.5px var(--g); }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.rm ul { list-style: none; margin: 0; padding: 0; }
.rm li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.rm-later li { color: var(--soft); }
@media (prefers-reduced-motion: reduce) { .rm-now .rm-d::after { animation: none; } }
@media (max-width: 1000px) { .rm { grid-template-columns: 1fr; } }

/* bigger, clearer card icons */
.gi { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; }
.gi svg { width: 22px; height: 22px; }
.gi path { stroke-width: 1.7; }
.gc:hover .gi { transform: translateY(-2px) !important; box-shadow: 0 0 0 1px var(--ink), 0 8px 18px -10px rgba(0,0,0,.35); }
.perm-f .pd { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; margin-left: 8px; padding: 2px 6px; border-radius: 5px; background: var(--chip); color: var(--chip-ink); vertical-align: 1px; }
.perm-f.pii b.wh { font-style: normal; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; }

/* object anatomy */
.anat { position: relative; display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: center; padding: 40px 36px; border-radius: 22px; background: var(--card); margin-bottom: 12px; }
.anat-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.anat-lines .e { fill: none; stroke: color-mix(in srgb, var(--ink) 14%, transparent); stroke-width: 1.2; transition: stroke .35s; }
.anat-lines .e.on { stroke: var(--ink); }
.an-col { position: relative; z-index: 1; display: grid; gap: 12px; }
.af { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--tile); box-shadow: var(--edge); transition: box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1); }
.af.on { box-shadow: 0 0 0 1.5px var(--ink), 0 10px 24px -14px rgba(0,0,0,.35); }
.an-col.l .af.on { transform: translateX(4px); } .an-col.r .af.on { transform: translateX(-4px); }
.af-t b { display: block; font-weight: 500; font-size: 14px; }
.af-t small { display: block; font-size: 12px; color: var(--g); line-height: 1.35; margin-top: 1px; }
.an-core { position: relative; z-index: 1; background: var(--tile); border-radius: 16px; box-shadow: var(--lift); padding: 14px 16px 10px; font-size: 13px; }
.an-h { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.an-h img { width: 18px; height: 18px; } .an-h b { font-weight: 500; font-size: 15px; } .an-h .chip { margin-left: auto; }
.an-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; border-top: 1px solid var(--line); transition: background .3s; }
.an-r span:first-child { color: var(--soft); } .an-r b { font-weight: 500; }
.an-r.on { background: var(--chip); }
.an-f { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--g); text-align: center; }
.an-note { margin: 0 0 40px; font-size: 13px; color: var(--g); }
@media (max-width: 1000px) {
  .anat { grid-template-columns: 1fr 1fr; padding: 24px 16px; gap: 16px; }
  .an-core { grid-column: 1 / -1; grid-row: 1; }
  .anat-lines { display: none; }
}
@media (max-width: 560px) { .anat { grid-template-columns: 1fr; } }
/* check cards, cleaner rhythm */
.gc { padding: 20px 22px 18px; }
.gc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.gc-top .gi { margin-bottom: 0; }
.gc-ttl { display: block; font-weight: 500; font-size: 16.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc p { margin: 6px 0 16px; font-size: 14px; line-height: 1.5; color: var(--soft); min-height: 3em; }
.gc-f { padding-top: 12px; }
.anat-lines .e { stroke: color-mix(in srgb, var(--ink) 12%, transparent); stroke-width: 1; }
.anat-lines .end { fill: var(--card); stroke: color-mix(in srgb, var(--ink) 25%, transparent); stroke-width: 1; transition: fill .3s, stroke .3s; }
.anat-lines .end.on { fill: var(--ink); stroke: var(--ink); }
.anat-lines .trav { fill: var(--ink); transition: opacity .2s; }
.anat { gap: 56px; }
.fact .lau { width: 15px; height: 34px; fill: currentColor; stroke: none; color: var(--g); opacity: .75; }
.fact .lau path[fill="none"] { stroke: currentColor; }
.fact span .fi { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 6px; color: var(--ink); }

/* ---------- object anatomy, centrepiece (always dark) ---------- */
.ax { --ax-ink: #ededed; --ax-dim: #8a8a8f; --ax-line: rgba(255,255,255,.08);
  position: relative; display: grid; grid-template-columns: 1fr minmax(360px, 420px) 1fr; gap: 64px; align-items: center;
  padding: 64px 48px; border-radius: 28px; margin-bottom: 40px; overflow: hidden; color: var(--ax-ink);
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.035) 1px, transparent 1.4px) 0 0 / 18px 18px, #060607;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.ax::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 50% 50%, transparent 30%, #060607 85%); }
.ax-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.ax-lines .e { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1; }
.ax-lines .e.on { stroke: url(#axg); stroke-width: 1.4; }
.ax-lines .end { fill: #060607; stroke: rgba(255,255,255,.25); stroke-width: 1; }
.ax-lines .end.on { fill: #fff; stroke: #fff; }
.ax-lines .glow { fill: #7fc4ff; filter: url(#axglow); }
.ax-lines .spark { fill: #fff; }
.ax-col { position: relative; z-index: 2; display: grid; gap: 14px; }
.ax-f { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px;
  background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); transition: background .3s, box-shadow .3s, transform .45s cubic-bezier(.22,1,.36,1); }
.ax-f:hover { background: rgba(255,255,255,.06); }
.ax-f:focus-visible { outline: 1.5px solid #fff; outline-offset: 2px; }
.ax-f.on { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 0 30px -8px rgba(91,123,255,.45); }
.ax-col.l .ax-f.on { transform: translateX(6px); } .ax-col.r .ax-f.on { transform: translateX(-6px); }
.ax-i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .3s, color .3s; color: #cfcfd3; }
.ax-f.on .ax-i { background: #fff; color: #000; }
.ax-i svg { width: 17px; height: 17px; } .ax-i path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ax-t b { display: block; font-weight: 500; font-size: 14.5px; color: var(--ax-ink); }
.ax-t small { display: block; font-size: 12px; color: var(--ax-dim); margin-top: 1px; }
.ax-core { position: relative; z-index: 2; }
.ax-glow { position: absolute; inset: -40px; border-radius: 50%; background: conic-gradient(from 0deg, #3ee0ef, #5b7bff, #b05cff, #3ee0ef); filter: blur(60px); opacity: .28; animation: axspin 14s linear infinite; }
@keyframes axspin { to { transform: rotate(360deg); } }
.ax-card { position: relative; border-radius: 20px; padding: 16px 18px 12px; background: rgba(12,12,14,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.12), 0 30px 80px -30px rgba(0,0,0,1); }
.ax-h { display: flex; align-items: center; gap: 9px; }
.ax-h img { width: 20px; height: 20px; } .ax-h b { font-weight: 500; font-size: 17px; } .ax-h .num { color: var(--ax-dim); font-size: 13px; }
.ax-h .chip { margin-left: auto; background: rgba(255,255,255,.07); color: #bdbdc2; }
.ax-sum { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 10px; margin: 14px 0 12px; padding: 12px 0; border-top: 1px solid var(--ax-line); border-bottom: 1px solid var(--ax-line); }
.ax-sum span { display: block; font-size: 11px; color: var(--ax-dim); } .ax-sum b { display: block; font-weight: 500; font-size: 13.5px; margin-top: 2px; white-space: nowrap; }
.ax-tab { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-dim); }
.ax-dots { display: flex; gap: 4px; } .ax-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .3s, width .3s; display: block; }
.ax-dots i.on { background: #fff; width: 12px; border-radius: 3px; }
.ax-detail { position: relative; height: 150px; margin-top: 10px; }
.ax-d { position: absolute; inset: 0; opacity: 0; pointer-events: none; font-size: 13px; }
.ax-d.on { opacity: 1; pointer-events: auto; }
.ax-foot { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ax-line); text-align: center; font-size: 11.5px; color: var(--ax-dim); }
.ax code { font: 12px var(--mono); color: #e6e6ea; }
.ax .chip { background: rgba(255,255,255,.08); color: #cfcfd3; }
.ax .chip.ok { background: rgba(255,255,255,.12); color: #fff; }
.ax-note { margin-top: 10px; font-size: 12px; color: var(--ax-dim); }
.ax-kv { display: grid; grid-template-columns: 76px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ax-line); }
.ax-kv .ty { font: 11px var(--mono); color: var(--ax-dim); } .ax-kv b { font-weight: 500; }
.ax-graph { width: 100%; height: auto; margin-top: 10px; }
.ax-graph .ln path { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.2; }
.ax-graph .nd rect { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.18); }
.ax-graph .nd rect.me { fill: #fff; stroke: #fff; }
.ax-graph text { fill: #d6d6da; font: 11px var(--sans); text-anchor: middle; } .ax-graph text.me { fill: #000; font-weight: 600; } .ax-graph text.card { fill: var(--ax-dim); font-size: 9.5px; }
.ax-states { display: flex; align-items: center; gap: 6px; margin-top: 18px; flex-wrap: nowrap; }
.ax-states span { font-size: 12px; padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--ax-dim); white-space: nowrap; }
.ax-states span.done { color: #d6d6da; } .ax-states span.cur { background: #fff; color: #000; box-shadow: 0 0 24px -4px rgba(91,123,255,.7); font-weight: 500; }
.ax-states i { flex: 1; height: 1px; background: rgba(255,255,255,.18); min-width: 6px; }
.ax-tool { margin-top: 6px; border-radius: 12px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); padding: 6px 12px; }
.ax-tool > div { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.ax-tool > div + div { border-top: 1px solid var(--ax-line); }
.ax-tool .k { font-size: 11px; color: var(--ax-dim); }
.ax-perm { display: grid; grid-template-columns: 1fr auto 70px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ax-line); }
.ax-perm b { font-weight: 500; font-size: 12px; text-align: right; } .ax-perm b.ok { color: #fff; } .ax-perm b.no { color: #ff7a70; }
.ax-law { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ax-law code { font-size: 13px; color: #fff; }
.ax-eq { margin-top: 10px; font: 11.5px var(--mono); color: var(--ax-dim); }
.ax-ev { display: grid; grid-template-columns: 1fr auto 52px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ax-line); }
.ax-ev span { font-size: 11.5px; color: var(--ax-dim); } .ax-ev .h { font: 11px var(--mono); text-align: right; }
.ax-ans { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 8px; }
.ax-ans .k { display: block; font-size: 12px; color: var(--ax-dim); } .ax-ans b { display: block; font-size: 38px; font-weight: 450; letter-spacing: -.03em; line-height: 1.1; }
.ax-spark { width: 140px; height: 48px; } .ax-spark path { fill: none; stroke: url(#axg); stroke: #9fb4ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .ax-glow { animation: none; } }
@media (max-width: 1100px) {
  .ax { grid-template-columns: 1fr; gap: 20px; padding: 28px 16px; }
  .ax-lines { display: none; }
  .ax-core { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .ax-col { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ax-f { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 10px 6px; gap: 6px; }
  .ax-t small { display: none; } .ax-t b { font-size: 12px; }
  .ax-col.l .ax-f.on, .ax-col.r .ax-f.on { transform: none; }
}
@media (max-width: 480px) { .ax-sum { grid-template-columns: 1fr 1fr; } .ax-sum > div:last-child { display: none; } }
/* receipts timeline */
.rcpt-win { height: 176px; }
.rcpt li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; position: relative; border-bottom: 0; padding: 8px 0; }
.rcpt li + li::before, .rcpt li:first-child::after { content: ""; position: absolute; left: 12.5px; width: 1px; background: var(--line); }
.rcpt li + li::before { top: -8px; height: 16px; }
.rx { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--tile-2); box-shadow: var(--edge); color: var(--ink); position: relative; z-index: 1; }
.rcpt li:first-child .rx { background: var(--ink); color: var(--bg); }
.rx svg { width: 13px; height: 13px; } .rx path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rk { font-size: 12.5px; line-height: 1.2; } .rk small { display: block; font-size: 10.5px; color: var(--g); margin-top: 1px; }
.rcpt li code { font: 10.5px var(--mono); color: var(--g); }

.nav .end { display: flex; align-items: center; gap: 8px; }
.theme { width: 38px; height: 38px; border-radius: 999px; border: 0; background: var(--btn2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: filter .2s; }
.theme:hover { filter: brightness(.95); }
.theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-v="a"] .theme .sun, [data-v="b"] .theme .moon { display: none; }
@media (max-width: 700px) {
  html, body { overflow-x: clip; }
  .sec-head > div, .sec-head > p { min-width: 0; }
  .install .ring2 { display: block; } .install .in { min-width: 0; } .install .in code { min-width: 0; flex: 1; }
  .ax-glow { inset: 0; }
}
.ax { margin-bottom: 0; }
@media (min-width: 1001px) { .grid6 { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 1000px) {
  .grid6 { grid-template-columns: 1fr 1fr; }
  .sm-split { display: contents; }
  #n-draft { order: 1; } #n-meas { order: 2; } #n-appr { order: 3; } #n-post { order: 4; } #n-rej { order: 5; grid-column: 1 / -1; }
}
@media (max-width: 700px) { .grid6 { grid-template-columns: 1fr; } .grid6 .mini { min-height: 0; } }

/* ================= phone layout, designed for the phone ================= */
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  /* section rhythm */
  .sec { padding-bottom: 56px; }
  .sec > .wrap { padding-top: 48px; }
  .sec-head { gap: 8px; margin-bottom: 24px; }
  .sec-head > p.h2 { font-size: 13px; letter-spacing: .02em; color: var(--g); }
  .sec-head > p.h2 .n { margin-right: 6px; }
  .h2 { font-size: 26px; line-height: 1.15; }
  .lede, .hero2 .lede { font-size: 16px; margin-top: 12px; }

  /* hero */
  .hero2 { padding: 36px 0 40px; }
  .hero2 .h1 { font-size: 36px; }
  .hero2 .cta { margin-top: 22px; }
  .hero2 .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
  .hero2 .fact { justify-content: center; }
  .hero2 .fact small { font-size: 8.5px; letter-spacing: .12em; }
  .hero2 .fact span { display: block; font-size: 11.5px; line-height: 1.3; margin-top: 3px; }
  .hero2 .fact span .fi { display: block; margin: 0 auto 4px; width: 15px; height: 15px; }

  /* card rows become swipe carousels with a peek */
  .hero-trio, .bento, .g-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hero-trio::-webkit-scrollbar, .bento::-webkit-scrollbar, .g-grid::-webkit-scrollbar { display: none; }
  .hero-trio > *, .bento > *, .g-grid > * { flex: 0 0 82%; scroll-snap-align: center; }
  .hero-trio { margin-top: 32px; }
  .card { padding: 16px 16px 18px; border-radius: 18px; }
  .card .stage, .hero-trio .card .stage { height: 200px; }
  .card h3 { margin-top: 12px; font-size: 16px; } .card p { font-size: 14px; }
  .g-grid .gc { padding: 16px 18px 14px; }
  .swipe-hint { display: block; }

  /* workflow: a vertical timeline */
  .sm { grid-template-columns: 1fr; gap: 14px; padding: 18px 14px; border-radius: 18px; }
  .sm-lines { display: none; }
  .sm-tree { display: flex !important; flex-direction: column; gap: 8px; position: relative; padding-left: 22px; }
  .sm-tree::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
  .sm-split { display: contents !important; }
  .sm-n { position: relative; padding: 9px 12px; }
  .sm-n::before { content: ""; position: absolute; left: -19px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--g); }
  .sm-n.on::before, .sm-n.past::before { background: var(--ink); box-shadow: none; }
  .sm-n .sm-s { margin-top: 3px; }
  #n-draft { order: 1; } #n-meas { order: 2; } #n-appr { order: 3; } #n-post { order: 4; }
  #n-rej { order: 5; grid-column: auto !important; border-style: dashed; }
  #n-rej::after { content: "or, from counted"; position: absolute; right: 12px; top: 9px; font-size: 10.5px; color: var(--g); }
  .sm-checks { gap: 8px; }
  .sm-chk { padding: 10px 12px; }

  /* rules */
  .perm > div, .norms > div { padding: 18px 16px; border-radius: 18px; }
  .perm-t td { padding: 9px 2px; }

  /* checks: stats in one row */
  .g-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 16px; }
  .g-stats > div b { font-size: 30px; }
  .g-stats > div span { font-size: 11.5px; margin-top: 6px; }
  .g-note { margin-top: 12px; padding-top: 12px; font-size: 11.5px; }
  .g-run { padding: 14px; border-radius: 18px; }
  .g-grid { margin-top: 12px; }

  /* object widget */
  .ax { padding: 18px 12px; border-radius: 20px; }
  .ax-col { gap: 6px; }
  .ax-f { padding: 8px 4px; border-radius: 12px; }
  .ax-i { width: 30px; height: 30px; }
  .ax-detail { height: 168px; }

  /* connect hub */
  .hub { padding: 24px 12px; border-radius: 18px; gap: 40px; }

  /* open: compact list */
  .grid6 { display: grid; grid-template-columns: 1fr !important; gap: 0; border-radius: 18px; background: var(--card); padding: 4px 16px; }
  .grid6 .mini { display: grid; grid-template-columns: 30px 1fr; gap: 2px 14px; background: none; border-radius: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .grid6 .mini:first-child { border-top: 0; }
  .grid6 .mini .ico { grid-row: span 2; }
  .grid6 .mini h3 { margin: 0; font-size: 15px; } .grid6 .mini p { margin: 0; font-size: 13.5px; }
  .stack { gap: 10px 16px; padding: 14px; margin: 0 0 16px; }
  .close { padding: 72px 0 64px; }
  .close .h2 { font-size: 30px; }
  footer { padding: 32px 0 40px; }
}
@media (max-width: 700px) {
  .sm-tree > *, .sm-split > * { width: 100%; max-width: none; }
  .sm-n { box-sizing: border-box; }
  #n-rej::after { top: 10px; }
}
@media (max-width: 700px) { #n-rej { border: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent); box-shadow: none; } }
@media (max-width: 700px) { .grid6 .mini, [data-v="b"] .grid6 .mini { box-shadow: none !important; background: none !important; } }

/* ================= no gradients, anywhere ================= */
.ax { background: #060607 !important; }
.ax::after, .ax-glow { display: none !important; }
.ax-lines .e.on { stroke: #fff !important; stroke-width: 1.2; }
.ax-lines .glow { display: none; }
.ax-f.on { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35) !important; }
.ax-states span.cur { box-shadow: none !important; }
.ax-spark path { stroke: #fff !important; }
.ax-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0e0e10; }
#chart .cf { display: none; }
.stp .top { background: var(--card) !important; } .stp .top::before { display: none; }

/* ================= phone: stacked like getopen and polar ================= */
@media (max-width: 700px) {
  .hero-trio, .bento, .g-grid { display: grid !important; grid-template-columns: 1fr; gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .hero-trio > *, .bento > *, .g-grid > * { flex: none; }
  .hero-trio { margin-top: 32px; }
  .g-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .g-grid .gc { padding: 14px 14px 12px; border-radius: 16px; }
  .g-grid .gc-top { margin-bottom: 10px; }
  .g-grid .gi { width: 34px; height: 34px; border-radius: 10px; } .g-grid .gi svg { width: 17px; height: 17px; }
  .g-grid .gc-m i { font-size: 9.5px; padding: 2px 5px; }
  .g-grid .gc-ttl { font-size: 14px; white-space: normal; }
  .g-grid .gc p { font-size: 12.5px; min-height: 0; margin: 4px 0 10px; }
  .g-grid .gc-f { padding-top: 8px; } .g-grid .gc-f span { font-size: 10.5px; }
  .hero2 .h1 { font-size: 32px; line-height: 1.1; }
  .hero2 .lede, .lede { font-size: 15px; line-height: 1.5; }
  .h2 { font-size: 24px; line-height: 1.2; }
  .close .h2 { font-size: 26px; }
  .card { border-radius: 16px; }
  .card h3 { font-size: 15.5px; } .card p { font-size: 13.5px; }
  .sec > .wrap { padding-top: 40px; }
}

/* features: 2 x 2 on desktop */
@media (min-width: 701px) { .bento { grid-template-columns: repeat(2, 1fr) !important; } }
/* derived rules widget */
.drv { width: 100%; max-width: 340px; padding: 10px 12px; font-size: 12.5px; }
.dv-row { display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.dv-top { grid-template-columns: 1fr auto; border-top: 0; padding-top: 2px; }
.dv-n { font-weight: 500; font-size: 13.5px; }
.dv-why { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--g); padding: 2px 0 4px; }
.dv-i { width: 8px; height: 5px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) translateY(-2px); justify-self: center; }
.dv-i.x { width: 9px; height: 1.6px; border: 0; background: var(--g); transform: none; }
.dv-unless span:nth-child(2) { color: var(--soft); font-style: italic; }
.dv-row code { font: 11px var(--mono); color: var(--g); }

/* ================= object anatomy, polar style: one flat card, plain list ================= */
.ax { display: none !important; }
.ox { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ox-list { display: flex; flex-direction: column; border-radius: 22px; background: var(--card); padding: 10px; }
.ox-t { all: unset; box-sizing: border-box; cursor: pointer; display: block; padding: 10px 14px; border-radius: 12px; transition: background .25s, color .25s; color: var(--g); }
.ox-t b { display: block; font-weight: 500; font-size: 15px; color: var(--soft); transition: color .25s; }
.ox-t small { display: block; font-size: 12.5px; margin-top: 1px; }
.ox-t:hover b { color: var(--ink); }
.ox-t.on { background: var(--tile); box-shadow: var(--edge); }
.ox-t.on b { color: var(--ink); }
.ox-t:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.ox-card { border-radius: 22px; background: var(--card); padding: 24px 26px 18px; display: flex; flex-direction: column; font-size: 13.5px; }
.ox-h { display: flex; align-items: center; gap: 10px; }
.ox-h img { width: 20px; height: 20px; }
.ox-h b { font-weight: 500; font-size: 18px; }
.ox-h .num { color: var(--g); font-size: 14px; }
.ox-type { margin-left: auto; font-size: 12px; color: var(--g); }
.ox-sum { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; margin: 18px 0 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ox-sum span { display: block; font-size: 12px; color: var(--g); }
.ox-sum b { display: block; font-weight: 450; font-size: 20px; letter-spacing: -.01em; margin-top: 4px; white-space: nowrap; }
.ox-label { font-size: 12px; color: var(--g); margin-bottom: 4px; }
.ox-detail { position: relative; min-height: 172px; flex: 1; }
.ox-foot { padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--g); }

/* detail content, theme-aware */
.ox .ax-d { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.ox .ax-d.on { opacity: 1; pointer-events: auto; }
.ox code { font: 12.5px var(--mono); color: var(--ink); }
.ox .chip { background: var(--chip); color: var(--chip-ink); }
.ox .ax-note { margin-top: 12px; font-size: 13px; color: var(--soft); }
.ox .ax-kv { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ox .ax-kv .ty { font: 12px var(--mono); color: var(--g); } .ox .ax-kv b { font-weight: 500; }
.ox .ax-graph { width: 100%; max-width: 440px; height: auto; margin-top: 8px; }
.ox .ax-graph .ln path { fill: none; stroke: var(--g); stroke-width: 1.2; }
.ox .ax-graph .nd rect { fill: var(--tile); stroke: var(--line); }
.ox .ax-graph .nd rect.me { fill: var(--ink); stroke: var(--ink); }
.ox .ax-graph text { fill: var(--ink); font: 11px var(--sans); text-anchor: middle; }
.ox .ax-graph text.me { fill: var(--bg); font-weight: 600; } .ox .ax-graph text.card { fill: var(--g); font-size: 9.5px; }
.ox .ax-states { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.ox .ax-states span { font-size: 13px; padding: 7px 12px; border-radius: 9px; background: var(--tile); box-shadow: var(--edge); color: var(--g); white-space: nowrap; }
.ox .ax-states span.done { color: var(--ink); }
.ox .ax-states span.cur { background: var(--ink); color: var(--bg); box-shadow: none; font-weight: 500; }
.ox .ax-states i { flex: 1; height: 1px; background: var(--line); min-width: 8px; }
.ox .ax-tool { border-radius: 14px; background: var(--tile); box-shadow: var(--edge); padding: 4px 14px; }
.ox .ax-tool > div { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; }
.ox .ax-tool > div + div { border-top: 1px solid var(--line); }
.ox .ax-tool .k { font-size: 12px; color: var(--g); }
.ox .ax-perm { display: grid; grid-template-columns: 1fr auto 80px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ox .ax-perm b { font-weight: 500; font-size: 13px; text-align: right; } .ox .ax-perm b.ok { color: var(--ink); } .ox .ax-perm b.no { color: var(--bad); }
.ox .ax-law { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 14px; background: var(--tile); box-shadow: var(--edge); }
.ox .ax-law code { font-size: 14px; }
.ox .ax-eq { margin-top: 12px; font: 12px var(--mono); color: var(--g); }
.ox .ax-ev { display: grid; grid-template-columns: 1fr auto 64px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ox .ax-ev span { font-size: 12px; color: var(--g); } .ox .ax-ev .h { font: 11.5px var(--mono); text-align: right; }
.ox .ax-ans { display: flex; justify-content: space-between; align-items: flex-end; }
.ox .ax-ans .k { display: block; font-size: 12px; color: var(--g); }
.ox .ax-ans b { display: block; font-size: 44px; font-weight: 450; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.ox .ax-spark { width: 160px; height: 52px; } .ox .ax-spark path { fill: none; stroke: var(--ink) !important; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .ox { grid-template-columns: 1fr; gap: 10px; }
  .ox-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 16px; gap: 2px; }
  .ox-list::-webkit-scrollbar { display: none; }
  .ox-t { flex: none; padding: 8px 12px; border-radius: 10px; }
  .ox-t b { font-size: 14px; } .ox-t small { display: none; }
  .ox-card { padding: 18px 16px 14px; border-radius: 16px; }
  .ox-sum { grid-template-columns: 1fr 1fr; } .ox-sum > div:last-child { display: none; }
  .ox-sum b { font-size: 16px; }
  .ox-detail { min-height: 190px; }
  .ox .ax-states { gap: 5px; } .ox .ax-states span { padding: 6px 8px; font-size: 12px; }
  .ox .ax-kv { grid-template-columns: 70px 1fr auto; }
}

/* ================= phone: workflow as a vertical state diagram ================= */
@media (max-width: 700px) {
  .sm-tree { display: grid !important; grid-template-columns: 1fr 112px; column-gap: 14px; row-gap: 30px; padding: 6px 0 0 !important; }
  .sm-tree::before { display: none; }
  .sm-n { padding: 10px 12px; text-align: center; border-radius: 12px; }
  .sm-n::before { display: none; }
  .sm-n .sm-h { justify-content: center; gap: 6px; }
  .sm-n .sm-h b { font-size: 14.5px; }
  /* the action that led into a state sits on the arrow above it */
  .sm-n .sm-s { position: absolute; left: 50%; top: -27px; transform: translateX(-50%); margin: 0; gap: 6px; white-space: nowrap; background: var(--card); padding: 0 6px; z-index: 1; }
  .sm-n .sm-s .actor-s { font-size: 10.5px; }
  .sm-n .sm-step { font-size: 11px; }
  .sm-n:not(#n-draft)::after { content: ""; position: absolute; left: 50%; top: -30px; height: 30px; width: 1px; background: var(--line); }
  .sm-n.on:not(#n-draft)::after, .sm-n.past:not(#n-draft)::after { background: var(--ink); }
  #n-draft .sm-s { position: static; transform: none; justify-content: center; background: none; padding: 0; margin-top: 4px; }
  #n-draft { grid-column: 1; grid-row: 1; }
  #n-meas { grid-column: 1; grid-row: 2; }
  #n-appr { grid-column: 1; grid-row: 3; }
  #n-post { grid-column: 1; grid-row: 4; }
  #n-rej { grid-column: 2 !important; grid-row: 3; border: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
  #n-rej::after { display: none; }
  #n-rej .sm-s { top: -27px; }
  #n-rej .sm-s .actor-s { display: none; }
  /* dashed branch from counted to rejected */
  #n-meas::before { display: block; content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: calc(50% + 30px + 50%); border-top: 1px dashed color-mix(in srgb, var(--ink) 28%, transparent); border-right: 1px dashed color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 0 8px 0 0; background: none; box-shadow: none; left: auto; margin: 0; }
  #n-meas { position: relative; }
  #n-post .lk { opacity: 1; }
}

/* ================= all ticks are the Lucide check (prebuilt), no hand-drawn marks ================= */
:root { --ic-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22%20/%3E%3C/svg%3E"); --ic-x: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%206%206%2018%22%20/%3E%20%3Cpath%20d%3D%22m6%206%2012%2012%22%20/%3E%3C/svg%3E"); --ic-minus: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14%22%20/%3E%3C/svg%3E"); }
.chip.ok::before, .rcpt-f span:first-child::before { content: ""; width: 11px; height: 11px; border: 0 !important; transform: none !important; margin: 0 3px 0 0; background: currentColor; -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat; display: inline-block; vertical-align: -1px; }
.g-run .tick, .nc .tk, .dv-i { width: 12px !important; height: 12px !important; border: 0 !important; transform: none !important; margin: 0 !important; background: currentColor !important; -webkit-mask: var(--ic-check) center / contain no-repeat; mask: var(--ic-check) center / contain no-repeat; }
.g-run li .tick { color: #6f6f6f; } .g-run li.ok .tick { color: #fff; }
.g-run li.bad .tick { color: #ff7a70; -webkit-mask-image: var(--ic-x); mask-image: var(--ic-x); }
.dv-i { color: var(--ink); } .dv-i.x { color: var(--g); height: 12px !important; -webkit-mask-image: var(--ic-minus); mask-image: var(--ic-minus); }
/* lucide icon sizing */
.theme svg { stroke-width: 1.8; }
.av svg { width: 11px; height: 11px; stroke: currentColor !important; } .av.p { color: var(--bg); } .av.m { color: var(--ink); }
.av.p svg, .av.m svg { fill: none; }
.rx svg, .ni svg, .gi svg, .ht svg, .fi { stroke-width: 1.8; }
.lk { width: 13px; height: 13px; }
/* laurel halves: no mirroring needed */
.fact .lau, .fact .lau.r { transform: none !important; width: 13px; height: 30px; fill: none !important; stroke: currentColor; color: var(--g); opacity: .8; }
/* norms: every icon the same, no filled MUST */
.nm-must .ni { background: var(--tile) !important; color: var(--ink) !important; box-shadow: var(--edge) !important; }
