:root {
  --bg: #08090a;
  --bg-1: #0f1011;
  --bg-2: #141516;
  --bg-3: #1c1d1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f7f8f8;
  --text-2: #d0d6e0;
  --muted: #8a8f98;
  --faint: #62666d;
  --green: #4cb782;
  --yellow: #f2c94c;
  --red: #eb5757;
  --sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1440px;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 6.5L3 12l5.5 5.5M15.5 6.5L21 12l-5.5 5.5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.3'/%3E%3C/svg%3E");
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--sans);
  letter-spacing: -0.011em;
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 510; letter-spacing: -0.022em; }
code, kbd, pre, textarea#code, .gutter { font-family: var(--mono); }
code { font-size: 0.86em; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 0.08em 0.32em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }
.hairline { position: relative; }
.hairline::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; border-image: linear-gradient(var(--line) 0 0) fill 0 / / 0 100vw; }
.label { font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(8, 9, 10, 0.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 510; font-size: 15px; }
.logo-mark { width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.logo-mark.small { width: 16px; height: 16px; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 13.5px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav-sep { width: 1px; height: 16px; background: var(--line-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg) !important; font: 510 13.5px var(--sans); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: opacity 0.15s; }
.pill:hover { opacity: 0.88; }
.pill:disabled { opacity: 0.55; cursor: progress; }
.pill kbd { font-size: 11px; color: #6b6f76; }
.ghost { height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text-2); font: 400 12.5px var(--sans); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-2); color: var(--text); }

/* hero */
.hero { padding-top: 128px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -0.038em; max-width: 1180px; }
.hero-sub { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 32px; }
.hero-sub p { color: var(--muted); font-size: 19px; line-height: 1.5; max-width: 600px; }
.new { color: var(--muted); font-size: 14px; white-space: nowrap; }
.new b { color: var(--text); font-weight: 510; margin-right: 8px; }
.new:hover { color: var(--text); }

/* app window */
.stage { --glow: rgba(255, 255, 255, 0.16); position: relative; isolation: isolate; max-width: calc(var(--wrap) + 64px); margin: 120px auto 0; padding: 0 80px 140px; transition: --glow 0.8s ease; }
.stage[data-kind="block"] { --glow: rgba(235, 87, 87, 0.42); }
.stage[data-kind="flag"] { --glow: rgba(242, 201, 76, 0.34); }
.stage[data-kind="allow"] { --glow: rgba(76, 183, 130, 0.36); }
.stage::before { content: ""; position: absolute; inset: 60px 0 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 55%, var(--glow), transparent 75%); filter: blur(30px); }
.try-head { text-align: center; margin-bottom: 36px; }
.try-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; }
.stage::after { content: ""; position: absolute; inset: -80px 0 0; z-index: -2; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.3px) 0 0 / 22px 22px; -webkit-mask: radial-gradient(62% 52% at 50% 46%, #000 25%, transparent 75%); mask: radial-gradient(62% 52% at 50% 46%, #000 25%, transparent 75%); }
.try { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: var(--text-2); font-size: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(76, 183, 130, 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(76, 183, 130, 0); } }
.app { position: relative; display: grid; grid-template-columns: 216px minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr); height: 660px; background: linear-gradient(180deg, #17181b, #111214 45%); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; overflow: hidden; font-size: 13px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 50px 140px -30px rgba(0, 0, 0, 0.95), 0 0 140px -30px var(--glow); }
.app::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); }
.stage.tilt .app { transform: perspective(2200px) rotateX(18deg) scale(0.9); transform-origin: 50% 0; opacity: 0.6; }
.stage.tilt.in .app { transform: none; opacity: 1; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease; }
.pill.nudge { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 248, 248, 0.4); } 50% { box-shadow: 0 0 0 7px rgba(247, 248, 248, 0); } }
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, 0.14); }
@media (prefers-reduced-motion: reduce) { .live-dot, .pill.nudge { animation: none; } }
.app-side { border-right: 1px solid var(--line); padding: 12px 10px; overflow: auto; background: rgba(0, 0, 0, 0.22); }
.side-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; font-weight: 510; font-size: 13.5px; }
.caret { width: 6px; height: 6px; border: solid var(--faint); border-width: 0 1.4px 1.4px 0; transform: rotate(45deg) translate(-2px, -1px); margin-left: 2px; }
.side-nav { list-style: none; margin: 0 0 6px; padding: 0; }
.side-nav a, .side-nav button { width: 100%; display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border: 0; border-radius: 6px; background: none; color: var(--text-2); font: 450 13px var(--sans); letter-spacing: -0.01em; text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-nav a:hover, .side-nav button:hover { background: rgba(255, 255, 255, 0.04); }
.side-nav .active, .side-nav button[aria-current="true"] { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.side-nav svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.side-label { padding: 14px 8px 6px; color: var(--faint); font-size: 12px; }

.status-icon, .ex-status { position: relative; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed var(--faint); }
.allow > .status-icon, .ex-status.allow { border: 0; background: var(--green); }
.allow > .status-icon::after, .ex-status.allow::after { content: ""; position: absolute; left: 4px; top: 3.5px; width: 5px; height: 2.6px; border: solid var(--bg-1); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.flag > .status-icon, .ex-status.flag { border: 1.5px solid var(--yellow); background: conic-gradient(var(--yellow) 0 50%, transparent 0) content-box; padding: 2px; }
.block > .status-icon, .ex-status.block { border: 0; background: var(--red); }
.block > .status-icon::after, .ex-status.block::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--bg-1); font: 700 11px/1 var(--sans); }
.busy > .status-icon { border: 1.5px solid var(--line-2); border-top-color: var(--text-2); animation: spin 0.8s linear infinite; }
.error > .status-icon { border: 1.5px solid var(--faint); }
@keyframes spin { to { transform: rotate(360deg); } }

.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; margin: 0; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); }
.crumb { display: flex; gap: 10px; font-weight: 510; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb-id { color: var(--muted); font-weight: 450; }
.bar-tools { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.count { font-variant-numeric: tabular-nums; margin: 0 4px 0 10px; }
.icon-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.icon-btn svg { width: 15px; height: 15px; }

.doc { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 32px 18px; min-height: 0; }
.doc-title { resize: none; border: 0; background: none; color: var(--text); font: 510 20px/1.35 var(--sans); letter-spacing: -0.018em; padding: 0; outline: none; }
.doc-title::placeholder { color: var(--faint); }
.doc-meta, .doc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc-meta { justify-content: flex-start; }
.meta-text { color: var(--faint); font-size: 12.5px; }
.chip-select select { appearance: none; height: 26px; padding: 0 26px 0 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font: 450 12.5px var(--sans); cursor: pointer;
  background: rgba(255, 255, 255, 0.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' stroke='%238a8f98' stroke-width='1.3' fill='none'/%3E%3C/svg%3E") no-repeat right 9px center; }
.chip-select select:focus-visible, .doc-title:focus-visible, .icon-btn:focus-visible, .ghost:focus-visible, .pill:focus-visible { outline: 2px solid rgba(247, 248, 248, 0.5); outline-offset: 2px; }
.editor { flex: 1; min-height: 0; display: flex; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; }
.editor:focus-within { border-color: var(--line-2); }
.gutter { margin: 0; padding: 12px 10px 12px 12px; min-width: 40px; text-align: right; color: #3e4146; font-size: 12.5px; line-height: 20px; overflow: hidden; user-select: none; }
textarea#code { flex: 1; resize: none; border: 0; outline: none; background: none; color: var(--text-2); padding: 12px 14px 12px 4px; font-size: 12.5px; line-height: 20px; tab-size: 2; white-space: pre; overflow: auto; }

.app-props { border-left: 1px solid var(--line); padding: 16px 18px; overflow: auto; }
.prop-label { color: var(--faint); font-size: 12px; margin: 4px 0 10px; }
.prop-label:not(:first-child) { margin-top: 22px; }
.verdict { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); transition: background 0.3s, border-color 0.3s; }
.verdict .status-icon { margin-top: 3px; }
.verdict strong { font-weight: 510; font-size: 15px; }
.verdict.block { background: rgba(235, 87, 87, 0.08); border-color: rgba(235, 87, 87, 0.32); }
.verdict.flag { background: rgba(242, 201, 76, 0.07); border-color: rgba(242, 201, 76, 0.3); }
.verdict.allow { background: rgba(76, 183, 130, 0.07); border-color: rgba(76, 183, 130, 0.3); }
.verdict.block strong { color: var(--red); }
.verdict.flag strong { color: var(--yellow); }
.verdict.allow strong { color: var(--green); }
.verdict p { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.props { margin: 0; display: grid; gap: 8px; }
.props div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.props dt { color: var(--muted); }
.props dd { margin: 0; color: var(--text-2); }
.props small { color: var(--faint); margin-left: 6px; }
.props small.block { display: block; margin: 2px 0 0; }
.flaws { list-style: none; margin: 0; padding: 0; }
.flaws li { display: grid; grid-template-columns: 6px minmax(0, 1fr) 28px 22px 34px; gap: 8px; align-items: center; height: 29px; color: var(--text-2); }
.flaws .dot { width: 6px; height: 6px; border-radius: 50%; background: #34363a; }
.flaws .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flaws .muted { color: var(--faint); }
.meter { height: 4px; border-radius: 2px; background: #222326; overflow: hidden; }
.meter i { display: block; width: 0; height: 100%; background: #55585e; transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.hit-flag .name, .hit-block .name { color: var(--text); }
.flaws .pct { color: var(--muted); font: 11.5px var(--mono); text-align: right; }
.flaws .tag { color: var(--faint); font-size: 11.5px; text-align: right; }
.hit-flag .dot, .hit-flag .meter i { background: var(--yellow); }
.hit-block .dot, .hit-block .meter i { background: var(--red); }
.hit-flag .tag { color: var(--yellow); }
.hit-block .tag { color: var(--red); }

/* toggles and range */
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; color: var(--muted); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { width: 26px; height: 16px; border-radius: 99px; background: #2a2b2f; position: relative; transition: background 0.15s; }
.toggle span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text); transition: transform 0.15s; }
.toggle input:checked + span { background: var(--green); }
.toggle input:checked + span::after { transform: translateX(10px); }
.toggle input:focus-visible + span { outline: 2px solid rgba(247, 248, 248, 0.5); outline-offset: 2px; }
.toggle.big { color: var(--text); font-size: 14px; }
.toggle.big b { font-weight: 510; }
.range { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.range output { color: var(--text); font: 12.5px var(--mono); min-width: 32px; }
input[type="range"] { appearance: none; width: 160px; height: 3px; border-radius: 2px; background: #2a2b2f; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 0; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 0; }

/* sections */
.band { padding-top: 32px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 18px; }
.agents { display: flex; gap: 72px; flex-wrap: wrap; font-size: 26px; font-weight: 560; letter-spacing: -0.03em; color: var(--text-2); }
.statement { padding-top: 120px; padding-bottom: 120px; }
.statement > p { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; font-weight: 510; letter-spacing: -0.022em; color: var(--muted); max-width: 1080px; }
.statement .hi { color: var(--text); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px 0 0; border-top: 1px solid var(--line); }
.metrics div { padding: 20px 24px 0 0; }
.metrics div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.metrics dt { color: var(--faint); font-size: 13px; }
.metrics dd { margin: 6px 0 0; font-size: 32px; font-weight: 510; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figs article { padding: 20px 32px 80px; display: flex; flex-direction: column; }
.figs article:first-child { padding-left: 0; }
.figs article + article { border-left: 1px solid var(--line); }
.figs svg { width: 100%; max-width: 300px; height: 190px; margin: 28px auto 36px; color: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.figs svg .strong { color: rgba(255, 255, 255, 0.62); stroke: currentColor; }
.figs svg .fill { fill: rgba(255, 255, 255, 0.55); stroke: none; }
.figs h3, .steps h3 { font-size: 15px; letter-spacing: -0.012em; }
.figs p, .steps p { color: var(--muted); margin-top: 8px; max-width: 340px; }
.section { padding-top: 120px; padding-bottom: 80px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-bottom: 56px; }
.split h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.04; }
.lead { font-size: 20px; line-height: 1.5; color: var(--text-2); letter-spacing: -0.014em; }
.aside { color: var(--muted); font-size: 14px; margin-top: 16px; }

.panel { background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; }
.toolbar { display: flex; align-items: center; gap: 28px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.presets { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 14px 16px; }
.rule-list li + li { border-top: 1px solid var(--line); }
.rule-list h3 { font-size: 14px; font-weight: 510; letter-spacing: -0.01em; }
.rule-list h3::first-letter { text-transform: uppercase; }
.rule-list p { color: var(--muted); font-size: 13px; margin-top: 2px; max-width: 720px; }
.rule-list.disabled { opacity: 0.45; }
.rule-list details { margin-top: 4px; font-size: 12.5px; }
.rule-list summary { color: var(--faint); cursor: pointer; width: fit-content; }
.rule-list summary:hover { color: var(--text-2); }
.rule-list details p { color: var(--faint); font-size: 12.5px; }
.hint { color: var(--faint); font-size: 13px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.seg button { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: 450 12.5px var(--sans); cursor: pointer; }
.seg button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3a3c41; }
.seg button[data-level="flag"]::before { background: var(--yellow); opacity: 0.45; }
.seg button[data-level="block"]::before { background: var(--red); opacity: 0.45; }
.seg button:hover { color: var(--text-2); }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.seg button[aria-pressed="true"]::before { opacity: 1; }
.seg button[aria-pressed="true"][data-level="off"]::before { background: var(--muted); }

.setup { padding: 0; }
.tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tabs button { height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: 450 13px var(--sans); cursor: pointer; }
.tabs button:hover { color: var(--text-2); }
.tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.command { display: flex; align-items: center; gap: 12px; margin: 20px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.command .prompt { color: var(--faint); font-family: var(--mono); font-size: 13px; }
.command code { flex: 1; background: none; border: 0; padding: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.6; overflow-wrap: anywhere; }
.setup-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.setup-cols > div { padding: 20px; }
.setup-cols > div + div { border-left: 1px solid var(--line); }
.setup-cols .label { margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--text-2); font-size: 14px; }
.checks li { position: relative; padding-left: 24px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 4.5px; border: solid var(--muted); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.cli { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.9; overflow-x: auto; }
.cli code { background: none; border: 0; padding: 0; font-size: inherit; }
.cli i { color: var(--faint); font-style: normal; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 24px 24px 8px; }
.steps li:first-child { padding-left: 0; }
.steps li + li { border-left: 1px solid var(--line); }
.steps h3 { margin-top: 28px; }
.steps a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

.footer { margin-top: 80px; border-top: 1px solid var(--line); font-size: 13px; }
.footer a { color: var(--muted); transition: color 0.15s; }
.footer a:hover, .footer .logo { color: var(--text); }
.footer-grid { display: flex; justify-content: space-between; gap: 48px; padding-top: 48px; padding-bottom: 64px; }
.footer-brand p { margin-top: 14px; color: var(--faint); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 64px; }
.footer-cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-cols h2 { margin-bottom: 4px; font-size: 13px; letter-spacing: -0.01em; color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 32px; color: var(--faint); }
.notice { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--line); background: rgba(242, 201, 76, 0.05); color: var(--muted); font-size: 13.5px; }
.notice b { color: var(--yellow); font-weight: 510; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 8px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; z-index: 20; }

@media (max-width: 1080px) {
  .app { grid-template-columns: minmax(0, 1fr) 300px; }
  .app-side { display: none; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav nav a:not(.pill), .nav-sep { display: none; }
  .hero { padding-top: 88px; }
  .hero-sub { flex-direction: column; align-items: flex-start; }
  .stage { padding: 0 12px 40px; margin-top: 48px; }
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: auto; }
  .app-main { height: 560px; }
  .app-props { border-left: 0; border-top: 1px solid var(--line); }
  .doc { padding: 18px 16px 14px; }
  .pill kbd { display: none; }
  .split, .setup-cols, .figs, .steps { grid-template-columns: minmax(0, 1fr); }
  .figs article, .figs article:first-child, .steps li, .steps li:first-child { padding: 24px 0; border-left: 0 !important; }
  .figs article + article, .steps li + li { border-top: 1px solid var(--line); }
  .setup-cols > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics div:nth-child(3) { border-left: 0; padding-left: 0; }
  .rule-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .agents { gap: 32px; font-size: 21px; }
  .statement, .section { padding-top: 80px; }
  .footer-grid { flex-direction: column; padding-top: 40px; padding-bottom: 40px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
