/* Counterclear design system
   White canvas, near-black ink, one marker yellow for emphasis, red only for
   conflicts. Archivo for UI and display, JetBrains Mono for filenames/codes. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --ink: #0e1116; --ink-2: #3b4350; --mute: #6b7380; --faint: #9aa1ab;
  --line: #e3e6ea; --line-2: #d3d8de; --soft: #f5f6f8; --soft-2: #eef1f5; --bg: #fff;
  --hl: #ffd60a; --hl-soft: #fff8d6; --red: #d92d30; --red-bg: #fdeaea; --red-line: #f3b4b5;
  --green: #1f9d55; --green-bg: #e3f5ea;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 6px; --r-lg: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--mute); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.link-u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link-u:hover { text-decoration-color: var(--ink); }
mark { background: linear-gradient(transparent 60%, var(--hl) 60%); color: inherit; padding: 0 2px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18.5px; letter-spacing: -.025em; }
/* mark = an intake window: ink frame, yellow counter ledge */
.logo-mark { width: 22px; height: 22px; border: 3px solid var(--ink); border-bottom-width: 0; border-radius: 3px 3px 0 0; position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; left: -5px; right: -5px; bottom: 0; height: 5px; background: var(--hl); box-shadow: 0 2px 0 var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 15px/1 var(--sans); letter-spacing: -.005em; cursor: pointer; transition: background .12s, border-color .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { background: var(--soft); border-color: var(--faint); }
.btn:focus-visible, .input:focus-visible { outline: 3px solid rgba(255, 214, 10, .7); outline-offset: 1px; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #262c36; border-color: #262c36; }
.btn-hl { background: var(--hl); border-color: var(--hl); color: var(--ink); }
.btn-hl:hover { background: #ffe14d; border-color: #ffe14d; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .bar { height: 66px; display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav a:not(.btn):hover, .nav a.active { color: var(--ink); }
.nav a.active { font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; font-size: 14px; color: var(--mute); }
.site-footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.site-footer a { display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 14px; font-size: 13px; }

/* ---------- type ---------- */
.h-xl { text-wrap: balance; font-size: 58px; line-height: 1.02; letter-spacing: -.038em; font-weight: 700; }
.h-lg { text-wrap: balance; font-size: 42px; line-height: 1.06; letter-spacing: -.032em; font-weight: 700; }
.h-md { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--ink-2); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kicker .pill { font: 500 11.5px/1 var(--mono); background: var(--hl); color: var(--ink); padding: 4px 6px; border-radius: 4px; }

/* ---------- hero ---------- */
.hero { padding: 68px 0 72px; }
.hero .container { display: grid; grid-template-columns: 440px 1fr; gap: 56px; align-items: start; }
.hero .h-xl { margin: 18px 0 20px; }
.hero .ctas { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.hero .note { font-size: 13.5px; color: var(--mute); margin-top: 14px; }
.stats { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stats b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats span { display: block; font-size: 13px; color: var(--mute); line-height: 1.35; margin-top: 4px; }
.stats-src { font-size: 12px; color: var(--faint); margin-top: 12px; }
.cap { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--mute); margin-top: 12px; }

/* ---------- report window (hero + app results) ---------- */
.win { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: 0 28px 56px -32px rgba(14, 17, 22, .38), 0 2px 6px rgba(14, 17, 22, .05); }
.win-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 13px; color: var(--ink-2); min-width: 0; }
.win-bar .crumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar .crumb b { color: var(--ink); font-weight: 600; }
.status { margin-left: auto; flex: none; font: 500 11.5px/1 var(--mono); letter-spacing: .02em; padding: 5px 8px; border-radius: 4px; background: var(--red-bg); color: #a61b1e; }
.status.ok { background: var(--green-bg); color: #13703b; }
.win-body { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.win-body.with-sheet { grid-template-columns: 190px 1fr 290px; height: 540px; }
.col-h { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 0 14px 8px; display: flex; justify-content: space-between; }
.files { border-right: 1px solid var(--line); padding: 14px 0; font-size: 13px; overflow: hidden; }
.file { display: flex; align-items: center; gap: 8px; padding: 7px 14px; color: var(--ink-2); min-width: 0; }
.file > span:last-child { overflow-wrap: anywhere; line-height: 1.35; }
.file .fn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file .dot { align-self: flex-start; margin-top: 5px; }
.file.on { background: var(--soft-2); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--ink); }
.file .fn { font-family: var(--mono); font-size: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.dot.r { background: var(--red); } .dot.g { background: var(--line-2); }
.files .missing-list { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.files .missing-list .file { color: var(--mute); }
.drawing { background: #eceef1; display: flex; flex-direction: column; padding: 14px; gap: 10px; min-width: 0; }
.drawing .sheet-wrap { flex: 1; display: grid; place-items: center; }
.drawing .tools { display: flex; justify-content: space-between; align-items: center; font: 11.5px var(--mono); color: var(--mute); }
.drawing .tools b { color: var(--ink); font-weight: 500; }
.drawing .zoom { display: flex; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; }
.drawing .zoom span { padding: 3px 8px; }
.drawing .zoom span + span { border-left: 1px solid var(--line-2); }
.drawing svg { width: 100%; max-height: 440px; height: auto; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.issues { padding: 14px 0 0; overflow: auto; }
.with-sheet .issues { border-left: 1px solid var(--line); }
.issue { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.issue:hover, .issue.on { background: var(--hl-soft); }
.issue .t { display: flex; align-items: center; gap: 8px; }
.tag { font: 500 10.5px/1 var(--mono); letter-spacing: .03em; padding: 4px 6px 3px; border-radius: 3px; background: var(--soft-2); color: var(--ink-2); flex: none; }
.tag.c { background: var(--red-bg); color: #a61b1e; }
.tag.n { background: var(--hl-soft); color: #7a5d00; box-shadow: inset 0 0 0 1px #f2dc7a; }
.tag.a { background: #eaf1fb; color: #1f4e8c; }
.advice-h { border-top: 1px solid var(--line); margin-top: 8px; }
.advice-note { font-size: 12.5px; color: var(--mute); line-height: 1.45; padding: 8px 16px 10px; border-bottom: 1px solid var(--line); }
.code { font: 500 11px var(--mono); color: var(--ink-2); margin-left: auto; background: var(--soft); border: 1px solid var(--line); padding: 2px 5px; border-radius: 3px; }
.issue p { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; margin: 7px 0 2px; line-height: 1.3; }
.issue small { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.vals { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.vals span { font: 11.5px/1.2 var(--mono); border: 1px solid var(--line-2); background: #fff; padding: 4px 6px; border-radius: 3px; }
.vals span:first-child { border-color: var(--red-line); background: #fff6f6; }
.vals i { font: 13px var(--mono); font-style: normal; color: var(--red); }
.issues .more { padding: 12px 16px; font-size: 13px; color: var(--mute); }

/* ---------- coverage strip ---------- */
.coverage { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.coverage .container { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.coverage .lbl { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.coverage ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--ink-2); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.sec-head p { font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 520px; }

.catches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catch { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.catch .demo { background: var(--soft); border-bottom: 1px solid var(--line); padding: 20px; min-height: 172px; display: flex; align-items: center; }
.catch .demo .issue { background: #fff; border: 1px solid var(--line); border-radius: var(--r); width: 100%; box-shadow: 0 6px 16px -10px rgba(14, 17, 22, .2); }
.catch .copy { padding: 22px 22px 26px; }
.catch h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.catch p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.flow > div { padding: 26px 26px 28px; position: relative; }
.flow > div + div { border-left: 1px solid var(--line); }
.flow .when { font: 500 12px var(--mono); color: var(--mute); margin-bottom: 14px; display: block; }
.flow h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.flow p { font-size: 15px; color: var(--ink-2); }

.math { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.math > div { padding: 30px; }
.math > div + div { border-left: 1px solid var(--line); }
.math .big { font-size: 56px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.math .big.r { color: var(--red); }
.math .lbl { font-size: 14px; color: var(--mute); margin-top: 10px; }
.math p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 18px; }
.src { font-size: 12.5px; color: var(--faint); margin-top: 14px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 16.5px; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--mute); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

.cta-band { background: var(--ink); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-size: 38px; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; max-width: 640px; }
.cta-band p { color: #aab2bd; margin-top: 10px; font-size: 16px; }
.cta-band .acts { display: flex; gap: 10px; flex: none; }
.cta-band .btn:not(.btn-hl) { background: transparent; color: #fff; border-color: #3b4350; }
.cta-band .btn:not(.btn-hl):hover { border-color: #6b7380; }

/* ---------- pricing ---------- */
.page-head { padding: 72px 0 0; }
.page-head .h-xl { max-width: 760px; margin: 14px 0 16px; }
.page-head .lede { max-width: 620px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; align-items: stretch; }
.tier { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; position: relative; background: #fff; }
.tier.feature { border: 2px solid var(--ink); padding: 27px; box-shadow: 0 24px 48px -32px rgba(14, 17, 22, .4); }
.tier .flag { position: absolute; top: -12px; left: 26px; font: 500 11.5px/1 var(--mono); background: var(--hl); padding: 6px 8px; border-radius: 4px; }
.tier .name { font-size: 17px; font-weight: 700; }
.tier .price { font-size: 48px; font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 18px; }
.tier .per { font-size: 14px; color: var(--mute); margin-top: 6px; }
.tier .desc { font-size: 15px; color: var(--ink-2); margin: 18px 0 20px; min-height: 46px; }
.tier ul { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); flex: 1; }
.tier li { font-size: 14.5px; padding: 5px 0 5px 24px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 9px; height: 5px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th { text-align: left; font-size: 14px; font-weight: 700; padding: 14px 16px; border-bottom: 2px solid var(--ink); }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 17%; }
.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare td:first-child { color: var(--ink); }
.compare .y::before { content: ""; display: inline-block; width: 10px; height: 5px; border: 2px solid var(--green); border-top: 0; border-right: 0; transform: rotate(-45deg) translateY(-3px); }
.compare .n { color: var(--faint); font-size: 14px; }
.compare .t { font-size: 14px; }

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field > label, .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--mute); }
.input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; font: 15px var(--sans); color: var(--ink); transition: border-color .12s, box-shadow .12s; }
.input::placeholder { color: var(--faint); }
.input:hover { border-color: var(--faint); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 214, 10, .55); }
textarea.input { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(-45deg, transparent 50%, var(--mute) 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.hint { font-size: 13px; color: var(--mute); margin-top: 6px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.alert { background: var(--red-bg); border: 1px solid var(--red-line); color: #8c1719; border-radius: var(--r); padding: 11px 14px; font-size: 14.5px; margin-bottom: 18px; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chips.three { grid-template-columns: repeat(3, 1fr); }
.chip { position: relative; display: block; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 14px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .12s, background .12s; }
.chip span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--faint); border-radius: 3px; flex: none; }
.chip input[type=radio] + span::before { border-radius: 50%; }
.chip span:hover { border-color: var(--faint); }
.chip input:checked + span { border-color: var(--ink); background: var(--soft); font-weight: 600; }
.chip input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2.5px #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(255, 214, 10, .7); }
.card { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; padding: 32px; box-shadow: 0 20px 40px -32px rgba(14, 17, 22, .35); }

/* ---------- request access ---------- */
.ra { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; padding: 72px 0 96px; }
.ra .h-xl { margin: 14px 0 16px; }
.ra-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ra-list li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ra-list .when { font: 500 12px/1.9 var(--mono); color: var(--mute); }
.ra-list b { display: block; font-size: 15.5px; }
.ra-list span { font-size: 14.5px; color: var(--ink-2); }
.done-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--green-bg); display: grid; place-items: center; margin-bottom: 20px; }
.done-ico::after { content: ""; width: 14px; height: 7px; border: 2.5px solid var(--green); border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }

/* ---------- auth ---------- */
.auth { min-height: 100vh; background: var(--soft); display: flex; flex-direction: column; align-items: center; padding: 64px 20px 40px; }
.auth .logo { margin-bottom: 36px; }
.auth .card { width: 100%; max-width: 420px; }
.auth h1 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.auth .sub { color: var(--mute); font-size: 15px; margin: 6px 0 26px; }
.auth .alt { font-size: 14px; color: var(--mute); margin-top: 22px; text-align: center; }
.auth .foot { margin-top: auto; padding-top: 40px; font-size: 13px; color: var(--faint); display: flex; gap: 18px; }

/* ---------- app ---------- */
.app-header { border-bottom: 1px solid var(--line); background: #fff; }
.app-header .bar { height: 60px; display: flex; align-items: center; gap: 22px; }
.app-header .tabs { display: flex; gap: 4px; margin-left: 18px; }
.app-header .tabs a { font-size: 14px; color: var(--mute); padding: 7px 11px; border-radius: var(--r); }
.app-header .tabs a.on { background: var(--soft-2); color: var(--ink); font-weight: 600; }
.app-header .right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--mute); }
.app-header .right a:hover { color: var(--ink); }
.badge { font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 4px; background: var(--hl-soft); color: #7a5d00; box-shadow: inset 0 0 0 1px #f2dc7a; }
.app-wrap { background: var(--soft); min-height: calc(100vh - 61px); }
.app-main { display: grid; grid-template-columns: 420px 1fr; gap: 28px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.app-main > div:first-child { position: sticky; top: 20px; }
.app-main h1 { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.app-main .intro { font-size: 14.5px; color: var(--mute); margin: 4px 0 22px; }
.panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.panel-sec { padding: 20px 22px; }
.panel-sec + .panel-sec { border-top: 1px solid var(--line); }
.panel-sec h2 { font-size: 14px; font-weight: 700; margin-bottom: 14px; display: flex; justify-content: space-between; }
.panel-sec h2 .opt { font-weight: 400; color: var(--mute); }
.panel-sec .field:last-child { margin-bottom: 0; }
.panel-foot { padding: 16px 22px; border-top: 1px solid var(--line); background: var(--soft); border-radius: 0 0 var(--r-lg) var(--r-lg); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); }
.drop { display: block; border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 22px 16px; text-align: center; cursor: pointer; transition: border-color .12s, background .12s; background: var(--soft); }
.drop:hover, .drop.drag { border-color: var(--ink); background: var(--hl-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .t { font-weight: 600; font-size: 14.5px; }
.drop .s { font-size: 13px; color: var(--mute); margin-top: 3px; }
.filelist { list-style: none; margin: 10px 0 0; padding: 0; }
.filelist li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 12.5px var(--mono); }
.filelist li span:last-child { color: var(--mute); }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.counts > div { padding: 14px 16px; }
.counts > div + div { border-left: 1px solid var(--line); }
.counts b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.counts span { font-size: 12.5px; color: var(--mute); }
.counts .hot b { color: var(--red); }
.result-actions { display: flex; gap: 10px; margin-top: 16px; }
.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 40px; background: #fff; }
.empty h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.empty > p { color: var(--ink-2); font-size: 15px; max-width: 520px; }
.empty .preview { margin-top: 26px; display: grid; gap: 10px; max-width: 560px; opacity: .9; }
.empty .preview .issue { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; }
  .win-body.with-sheet { grid-template-columns: 180px 1fr; height: auto; }
  .win-body.with-sheet .drawing { display: none; }
  .app-main { grid-template-columns: 1fr; }
  .app-main > div:first-child { position: static; }
}
@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .nav a:not(.btn) { display: none; }
  .h-xl { font-size: 40px; } .h-lg { font-size: 32px; }
  .hero { padding: 40px 0 48px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; } .stats b { font-size: 22px; }
  .win-body, .win-body.with-sheet { grid-template-columns: 1fr; }
  .files { border-right: 0; border-bottom: 1px solid var(--line); }
  .with-sheet .issues { border-left: 0; }
  .coverage .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section { padding: 64px 0; }
  .sec-head, .catches, .flow, .math, .faq, .tiers, .ra { grid-template-columns: 1fr; }
  .sec-head { gap: 16px; }
  .flow > div + div, .math > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 30px; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .site-footer .legal { flex-direction: column; }
  .compare { font-size: 13.5px; } .compare th, .compare td { padding: 12px 8px; }
  .row-2, .row-3, .chips.three { grid-template-columns: 1fr 1fr; }
  .ra { gap: 40px; padding: 44px 0 64px; }
  .app-header .tabs { display: none; }
}

/* grid/flex children must be allowed to shrink below their content width */
.hero .container > *, .ra > *, .app-main > *, .sec-head > *, .catches > *, .flow > *, .math > *, .faq > *, .tiers > *, .win-body > * { min-width: 0; }
@media (max-width: 860px) {
  .chip span { white-space: normal; height: auto; min-height: 40px; padding: 8px 12px; line-height: 1.25; }
  .kicker { flex-wrap: wrap; }
  .win-bar { height: auto; min-height: 44px; padding: 10px 14px; }
  .win-bar .crumb { white-space: normal; }
}


/* ---------- platform: app shell ---------- */
.app-header .tabs a:hover { color: var(--ink); }
.app-header .tab-sep { width: 1px; background: var(--line-2); margin: 6px 8px; }
.app-header .right a.on { color: var(--ink); font-weight: 600; }
.app-header .org-name { color: var(--ink-2); font-weight: 600; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
form.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--mute); cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.app-page { padding-top: 30px; padding-bottom: 72px; }
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ph h1 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ph p { color: var(--mute); font-size: 14.5px; margin: 4px 0 0; }
.ph .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs { font-size: 13.5px; color: var(--mute); margin-bottom: 10px; display: flex; gap: 8px; }
.crumbs a { color: var(--ink-2); } .crumbs a:hover { text-decoration: underline; }
.sh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sh h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.sh a { font-size: 13.5px; color: var(--mute); } .sh a:hover { color: var(--ink); }
.muted { color: var(--mute); } .sm { font-size: 12.5px; } .nowrap { white-space: nowrap; }
.notice { background: #fff; border: 1px solid var(--line-2); border-left: 3px solid var(--green); border-radius: var(--r); padding: 11px 14px; font-size: 14.5px; margin-bottom: 18px; }
.notice.err { border-left-color: var(--red); background: var(--red-bg); color: #8c1719; }
.link-notice { border-left-color: var(--hl); display: grid; gap: 10px; }
.link-notice b { display: block; } .link-notice span { color: var(--mute); font-size: 13.5px; }
.copyrow { display: flex; gap: 8px; } .copyrow .input { height: 36px; font-size: 12.5px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.kpis.four { grid-template-columns: repeat(4, 1fr); }
.kpis > * { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 16px 18px; display: block; }
.kpis a:hover { border-color: var(--faint); }
.kpis b { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.kpis span { font-size: 13px; color: var(--mute); }
.kpis .hl { background: var(--hl-soft); border-color: #f2dc7a; }
.toolbar { display: flex; gap: 10px; margin-bottom: 12px; align-items: center; }
.toolbar .input { height: 40px; max-width: 320px; } .toolbar select.input { max-width: 240px; background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; }
.toolbar .btn { height: 40px; } .toolbar .clear { font-size: 14px; color: var(--mute); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); white-space: nowrap; }
.tbl th:first-child { border-top-left-radius: var(--r-lg); } .tbl th:last-child { border-top-right-radius: var(--r-lg); }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.tbl td.num { font-variant-numeric: tabular-nums; }
.tbl td.act { text-align: right; white-space: nowrap; } .tbl td.act .btn + .btn, .tbl td.act form + form { margin-left: 6px; }
.tbl td.none { text-align: center; color: var(--mute); padding: 32px; }
.tbl .rowlink { cursor: pointer; } .tbl .rowlink:hover td { background: var(--soft); }
.tbl a:hover b { text-decoration: underline; }
.pill { display: inline-block; font: 600 12px/1 var(--sans); padding: 5px 8px; border-radius: 99px; white-space: nowrap; vertical-align: middle; }
.pill.ok { background: var(--green-bg); color: #13703b; }
.pill.bad { background: var(--red-bg); color: #a61b1e; }
.pill.wait { background: var(--hl-soft); color: #7a5d00; box-shadow: inset 0 0 0 1px #f2dc7a; }
.pill.off { background: var(--soft-2); color: var(--mute); }
.bd { display: flex; flex-wrap: wrap; gap: 0 10px; margin-top: 5px; font-size: 12.5px; color: var(--mute); }
.bd .c { color: #a61b1e; }
.btn.danger { color: #a61b1e; } .btn.danger:hover { border-color: var(--red-line); background: var(--red-bg); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--mute); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.grid-side { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.new-grid { display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 32px; align-items: start; }
.side-note { display: grid; gap: 10px; padding-top: 2px; }
.side-note h3 { font-size: 14px; font-weight: 700; }
.side-note .issue { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.side-note .muted { font-size: 13.5px; margin-top: 6px; }
.check-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.check-grid aside { display: grid; gap: 16px; position: sticky; top: 20px; }
.check-grid .win-body { grid-template-columns: 220px 1fr; height: auto; }
.meta .filelist li span:first-child { overflow-wrap: anywhere; }
.hint.warn { color: #7a5d00; background: var(--hl-soft); padding: 8px 10px; border-radius: var(--r); margin-top: 10px; }
.dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.dl dt { color: var(--mute); } .dl dd { margin: 0; overflow-wrap: anywhere; }
.list .li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.list .li:last-child { border-bottom: 0; } .list .li:hover { background: var(--soft); }
.list .li b { display: block; font-size: 14.5px; } .list .li small { color: var(--mute); font-size: 13px; }
.list .li .r { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.none-box { padding: 28px; text-align: center; color: var(--mute); font-size: 14px; }
.seg { display: inline-flex; background: var(--soft-2); border-radius: var(--r); padding: 3px; margin-bottom: 16px; }
.seg a { font-size: 13.5px; padding: 6px 12px; border-radius: 4px; color: var(--mute); }
.seg a.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(14, 17, 22, .08); }
.req { display: grid; grid-template-columns: 1fr 280px; margin-bottom: 14px; }
.req-main { padding: 20px 22px; min-width: 0; }
.req-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.req-h h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; } .req-h .muted { margin-left: auto; font-size: 13px; }
.req-act { padding: 20px 22px; border-left: 1px solid var(--line); background: var(--soft); border-radius: 0 var(--r-lg) var(--r-lg) 0; display: grid; gap: 8px; align-content: start; }
.req-act .input { height: 40px; } .req-act .label { margin-bottom: 0; }
.err-page { padding: 96px 20px 120px; max-width: 640px; }
@media (max-width: 1100px) {
  .grid-side, .check-grid, .new-grid { grid-template-columns: 1fr; }
  .check-grid aside { position: static; }
  .kpis.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-2, .req { grid-template-columns: 1fr; }
  .req-act { border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .ph { flex-direction: column; align-items: flex-start; }
  .kpis { grid-template-columns: repeat(3, 1fr); } .kpis b { font-size: 22px; }
  .app-header .tabs { display: flex; position: absolute; left: 0; right: 0; top: 60px; margin: 0; padding: 6px 14px; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .app-header { position: relative; margin-bottom: 47px; }
  .app-header .org-name, .app-header .right .badge { display: none; }
  .toolbar { flex-wrap: wrap; } .toolbar .input { max-width: none; flex: 1 1 180px; }
  .check-grid .win-body { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .t-home th:nth-child(2), .t-home td:nth-child(2), .t-home th:nth-child(4), .t-home td:nth-child(4), .t-home th:nth-child(5), .t-home td:nth-child(5), .t-home th:nth-child(7), .t-home td:nth-child(7),
  .t-allchecks th:nth-child(3), .t-allchecks td:nth-child(3), .t-allchecks th:nth-child(5), .t-allchecks td:nth-child(5),
  .t-orgs th:nth-child(2), .t-orgs td:nth-child(2), .t-orgs th:nth-child(4), .t-orgs td:nth-child(4), .t-orgs th:nth-child(5), .t-orgs td:nth-child(5),
  .t-people th:nth-child(2), .t-people td:nth-child(2), .t-people th:nth-child(4), .t-people td:nth-child(4),
  .t-orgchecks th:nth-child(2), .t-orgchecks td:nth-child(2), .t-orgchecks th:nth-child(4), .t-orgchecks td:nth-child(4),
  .t-team th:nth-child(2), .t-team td:nth-child(2) { display: none; }
  .tbl th, .tbl td { padding-left: 12px; padding-right: 12px; }
  .tbl td.none { display: table-cell !important; }
  .t-people td.act { white-space: normal; } .t-people td.act form { display: inline-block; margin: 0 0 6px 0 !important; }
}
@media (max-width: 860px) {
  .t-allchecks th:nth-child(6), .t-allchecks td:nth-child(6), .t-act th:nth-child(2), .t-act td:nth-child(2) { display: none; }
  .tbl td { overflow-wrap: anywhere; }
  .t-act td.nowrap { white-space: normal; }
}

/* ---- production pass: a11y, onboarding, progress, billing, usage, legal ---- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .input:focus-visible, summary:focus-visible { outline: 3px solid var(--hl); outline-offset: 2px; }
.drop:focus-within { outline: 3px solid var(--hl); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 4px 0 18px; line-height: 1.45; }
.check-row input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--ink); }
.code-input { font-size: 22px; letter-spacing: .25em; text-align: center; height: 52px; }
.qr { width: 220px; max-width: 100%; margin: 6px 0 12px; } .qr svg { width: 100%; height: auto; display: block; }
.key { font-size: 14px; word-break: break-all; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.codes li { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; font-size: 15px; text-align: center; }
.onboard { margin-bottom: 22px; border-color: #f2dc7a; background: linear-gradient(180deg, var(--hl-soft), #fff 70%); }
.onboard h2 { font-size: 20px; }
.ob-steps { margin: 12px 0 14px; padding-left: 20px; color: var(--ink-2); } .ob-steps li { margin: 6px 0; }
.onboard .panel-foot { justify-content: flex-end; gap: 10px; }
.progress .bar { height: 6px; background: var(--soft-2); border-radius: 99px; overflow: hidden; margin: 6px 0 18px; }
.progress .bar span { display: block; height: 100%; width: 2%; background: var(--ink); border-radius: 99px; transition: width .6s ease; }
.steps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; padding: 9px 0; color: var(--faint); }
.steps li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line-2); box-sizing: border-box; }
.steps li b { font-weight: 600; } .steps li span { grid-column: 2; font-size: 13px; }
.steps li.now { color: var(--ink); } .steps li.now::before { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.done { color: var(--ink-2); } .steps li.done::before { background: var(--green); border-color: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.compare { margin-bottom: 18px; } .compare h2 .sm { font-size: 13px; font-weight: 500; margin-left: 8px; }
.cmp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)); gap: 10px; margin: 6px 0 10px; }
.cmp { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; } .cmp b { display: block; font-size: 22px; line-height: 1.1; }
.cmp span { font-size: 12.5px; color: var(--mute); } .cmp.ok b { color: var(--green); } .cmp.bad b { color: var(--red); }
.cmp-list { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan h3 { margin: 0 0 6px; font-size: 18px; } .plan.cur { border-color: var(--ink); }
.plan .price b { font-size: 28px; letter-spacing: -.03em; } .plan .price span { color: var(--mute); font-size: 14px; }
.plan .feat { padding-left: 18px; margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.plan .buy { display: flex; gap: 8px; margin-left: auto; } .plan .buy .input { height: 34px; width: auto; }
.danger-zone { border-color: var(--red-line); }
.t-usage td.spark { color: var(--ink); font-variant-numeric: tabular-nums; text-align: center; } .t-usage td.z { color: var(--faint); }
.t-usage th.num { text-align: center; }
.kpis small.bad { color: var(--red); font-size: 13px; font-weight: 600; }
.svc dd { display: flex; gap: 8px; align-items: center; color: var(--mute); font-size: 13.5px; }
.legal-doc { max-width: 720px; padding: 56px 24px 80px; } .legal-doc h1 { font-size: 34px; letter-spacing: -.03em; margin: 0 0 4px; }
.legal-doc h2 { font-size: 18px; margin: 30px 0 8px; } .legal-doc p, .legal-doc li { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.legal-doc a { text-decoration: underline; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .codes { grid-template-columns: 1fr; } .cmp-row { grid-template-columns: repeat(3, 1fr); } }
.t-team td:last-child { white-space: nowrap; }
.t-team td:last-child form + form, .t-team td:last-child .btn + form { margin-left: 10px; }

.found{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.found li{display:flex;flex-direction:column;gap:1px;font-size:13px;line-height:1.35}
.found li .mono{color:var(--ink-2,#3b4350);word-break:break-all}
.found li::before{content:none}


/* ---------- review data (/miami-review-data + landing teaser) ---------- */
.rd-head { padding-bottom: 8px; }
.rd-head-grid { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center; }
.rd-head .h-xl { max-width: 680px; }
.rd-head .lede { max-width: 600px; }
.rd-cm { transform: rotate(.6deg); }
.rd-cm-row { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rd-cm-row:last-child { border-bottom: 0; }
.rd-cm-row .t { display: flex; align-items: center; gap: 8px; }
.rd-cm-row p { font: 500 13px/1.5 var(--mono); margin-top: 8px; color: var(--ink); }
.rd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rd-kpis > div { padding: 26px 26px 28px; }
.rd-kpis > div + div { border-left: 1px solid var(--line); }
.rd-kpis b { display: block; font-size: 46px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.rd-kpis b.r { color: var(--red); }
.rd-kpis span { display: block; font-size: 14px; color: var(--mute); margin-top: 10px; line-height: 1.4; max-width: 200px; }
.rd-sec { padding: 80px 0; }
.rd-mix { display: flex; height: 64px; border-radius: var(--r-lg); overflow: hidden; gap: 3px; }
.rd-mix .seg { display: flex; align-items: flex-end; padding: 10px 12px; min-width: 0; font: 600 15px/1 var(--sans); }
.rd-mix .seg span { white-space: nowrap; }
.seg.show, .rd-legend i.show { background: var(--ink); color: #fff; }
.seg.doc, .rd-legend i.doc { background: var(--hl); color: var(--ink); }
.seg.paper, .rd-legend i.paper { background: #c9ced6; color: var(--ink); }
.seg.code, .rd-legend i.code { background: var(--red); color: #fff; }
.seg.match, .rd-legend i.match { background: #f3b4b5; color: var(--ink); }
.rd-mix .seg.code span, .rd-mix .seg.match span { font-size: 12px; }
.rd-legend { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rd-legend li { font-size: 14px; color: var(--ink-2); line-height: 1.35; display: grid; grid-template-columns: 12px 1fr; gap: 4px 10px; }
.rd-legend i { width: 12px; height: 12px; border-radius: 3px; margin-top: 3px; }
.rd-legend b { grid-column: 2; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.rd-types { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rd-types-h, .rd-type { display: grid; grid-template-columns: 220px 1fr 110px 110px; gap: 24px; align-items: center; padding: 0 24px; }
.rd-types-h { height: 44px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.rd-types-h span:nth-child(n+3), .rd-type .num { text-align: right; }
.rd-type { height: 78px; }
.rd-type + .rd-type { border-top: 1px solid var(--line); }
.rd-type .nm { font-weight: 700; font-size: 16px; }
.rd-type .nm small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); }
.rd-type .bar { display: flex; align-items: center; gap: 12px; }
.rd-type .bar i { display: block; height: 14px; background: var(--ink); border-radius: 0 3px 3px 0; min-width: 4px; }
.rd-type .bar b { font: 700 18px/1 var(--sans); letter-spacing: -.02em; }
.rd-type .num { font: 500 15px var(--mono); }
.rd-type em.mu { display: none; font: 400 12px var(--sans); color: var(--mute); }
.rd-docs { border-top: 2px solid var(--ink); }
.rd-doc { display: grid; grid-template-columns: minmax(260px, 1.25fr) 1fr 92px 104px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rd-doc .lbl b { display: block; font-size: 16px; letter-spacing: -.01em; }
.rd-doc .lbl small { display: block; font-size: 13.5px; color: var(--mute); margin-top: 3px; line-height: 1.4; }
.rd-doc .bar, .rd-mini .bar { height: 12px; background: var(--soft-2); border-radius: 3px; overflow: hidden; }
.rd-doc .bar i, .rd-mini .bar i { display: block; height: 100%; background: var(--hl); box-shadow: inset 0 0 0 1px #e6bf00; border-radius: 3px; }
.rd-mini .bar.dark i { background: var(--ink); box-shadow: none; }
.rd-mini .bar i { min-width: 6px; }
.rd-doc .pct { text-align: right; font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.rd-doc .pct small { display: block; font-size: 12px; font-weight: 400; color: var(--mute); letter-spacing: 0; margin-top: 4px; }
.chip { justify-self: stretch; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: .03em; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.chip.yes { background: var(--green-bg); color: #13703b; box-shadow: inset 0 0 0 1px #a9dcbd; }
.chip.part { background: var(--hl-soft); color: #7a5d00; box-shadow: inset 0 0 0 1px #f2dc7a; }
.chip.no { background: var(--soft-2); color: var(--mute); box-shadow: inset 0 0 0 1px var(--line-2); }
.rd-doc.no .bar i { background: var(--line-2); box-shadow: none; }
.chip.ghost { background: transparent; color: var(--mute); border: 1px solid var(--line-2); }
.rd-asks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rd-ask { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 18px; display: flex; flex-direction: column; }
.rd-ask .n { font-size: 40px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.rd-ask .t { font-weight: 600; font-size: 15.5px; margin-top: 12px; letter-spacing: -.01em; }
.rd-ask .of { font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.rd-ask:nth-child(-n+4) { background: var(--hl-soft); border-color: #f2dc7a; }
.rd-quotes-sec { background: var(--soft); }
.rd-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rd-quote { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--hl); border-radius: var(--r); padding: 22px 24px; }
.rd-quote blockquote { margin: 0; font: 500 15px/1.55 var(--mono); color: var(--ink); }
.rd-quote figcaption { margin-top: 12px; font-size: 13px; color: var(--mute); }
.rd-cover .big { font-size: 52px; }
.rd-method { max-width: 860px; }
.rd-method ul { margin: 16px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.rd-method li + li { margin-top: 6px; }
.rd-teaser { background: var(--soft); }
.rd-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rd-teaser-cta { display: flex; align-items: center; gap: 18px; margin-top: 28px; color: var(--mute); font-size: 14.5px; }
.rd-teaser-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: 0 18px 40px -30px rgba(14, 17, 22, .35); }
.rd-teaser-card .h { font-weight: 700; font-size: 17px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.rd-teaser-card .h small { font-weight: 400; font-size: 12.5px; color: var(--mute); }
.rd-mini { display: grid; grid-template-columns: 160px 1fr 44px 96px; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.rd-mini .t { color: var(--ink-2); }
.rd-mini b { text-align: right; font-size: 16px; letter-spacing: -.02em; }
@media (max-width: 1100px) {
  .rd-head-grid { grid-template-columns: 1fr; }
  .rd-cm { transform: none; max-width: 560px; }
  .rd-kpis { grid-template-columns: repeat(2, 1fr); }
  .rd-kpis > div:nth-child(3) { border-left: 0; }
  .rd-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rd-asks { grid-template-columns: repeat(3, 1fr); }
  .rd-teaser-grid { grid-template-columns: 1fr; }
  .rd-legend { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .rd-sec { padding: 56px 0; }
  .rd-kpis b { font-size: 34px; }
  .rd-mix .seg span { display: none; }
  .rd-legend { grid-template-columns: 1fr 1fr; }
  .rd-types-h { display: none; }
  .rd-type { grid-template-columns: 1fr 1fr; height: auto; padding: 16px; gap: 8px 12px; }
  .rd-type .nm, .rd-type .bar { grid-column: 1 / -1; }
  .rd-type .num { text-align: left; font-size: 14px; }
  .rd-type em.mu { display: inline; }
  .rd-doc { grid-template-columns: 1fr 60px auto; gap: 10px 14px; }
  .rd-doc .lbl { grid-column: 1 / -1; }
  .rd-doc .pct small { display: none; }
  .rd-asks { grid-template-columns: 1fr 1fr; }
  .rd-quotes { grid-template-columns: 1fr; }
  .rd-mini { grid-template-columns: 1fr 40px; }
  .rd-teaser-cta { flex-direction: column; align-items: flex-start; }
  .rd-mini .bar, .rd-mini .chip { display: none; }
}
