/* ClearAddress, rda.run design language */

:root {
  --bg: #F7FAFB;
  --surface: #FFFFFF;
  --surface-2: #EEF3F6;
  --line: #DCE5EB;
  --line-soft: #EEF3F6;
  --line-strong: #BCC9D3;
  --ink: #0B0F13;
  --text: #171E25;
  --text-2: #55636F;
  --text-3: #6E7F8C;
  --text-4: #94A5B2;
  --accent: #4C6CB5;
  --accent-hover: #395188;
  --accent-ring: #5E87CA;
  --accent-tint: #E2E7F6;
  --accent-on-tint: #1B2740;
  --link: #4C6CB5;
  --ok: #1FA968;
  --ok-tint: #DFF6EA;
  --ok-text: #0F6B42;
  --bad: #C2413A;
  --bad-tint: #FBE9E7;
  --bad-text: #9A2A22;
  --info-text: #395188;
  --code-bg: #0B0F13;
  --code-line: #1F2831;
  --code-text: #EEF3F6;
  --code-dim: #BCC9D3;
  --code-key: #93BEE5;
  --code-true: #63E7A5;
  --code-false: #F2A097;
  --band-bg: #0B0F13;
  --header-bg: rgba(247, 250, 251, .86);
  --shadow: 0 1px 0 rgba(11, 15, 19, .06);

  --sans: 'B612', ui-sans-serif, system-ui, sans-serif;
  --mono: 'B612 Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 4px;
  --r-lg: 6px;
  --gutter: 120px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0F13;
    --surface: #11161C;
    --surface-2: #171E25;
    --line: #1F2831;
    --line-soft: #1F2831;
    --line-strong: #2B3742;
    --ink: #EEF3F6;
    --text: #BCC9D3;
    --text-2: #94A5B2;
    --text-3: #6E7F8C;
    --text-4: #55636F;
    --accent: #4C6CB5;
    --accent-hover: #5E87CA;
    --accent-ring: #78A0D4;
    --accent-tint: #1B2740;
    --accent-on-tint: #BCD3EE;
    --link: #93BEE5;
    --ok: #3FDF8F;
    --ok-tint: #12301F;
    --ok-text: #63E7A5;
    --bad: #E4675E;
    --bad-tint: #35171A;
    --bad-text: #F2A097;
    --info-text: #93BEE5;
    --code-bg: #05070A;
    --band-bg: #11161C;
    --header-bg: rgba(11, 15, 19, .86);
    --shadow: 0 1px 0 rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

main { flex: 1 0 auto; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent-ring), 0 0 0 4px rgba(94, 135, 202, .28);
  border-radius: var(--r);
}

h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
code, pre, kbd { font-family: var(--mono); }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  padding: 8px 12px; background: var(--accent); color: #FFFFFF; border-radius: var(--r);
}
.skip:focus { top: 8px; color: #FFFFFF; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ok); flex-shrink: 0; display: inline-block; }
.dot.bad { background: var(--bad); }
.dot.idle { background: var(--line-strong); }
.dot.mute { background: var(--text-4); }

@keyframes rda-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.caret { color: var(--accent); animation: rda-caret 1.1s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 10;
  height: 56px;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.brand .mark-c { fill: var(--ink); }
.brand .mark-v { fill: var(--ok); }
.brand-name { font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-path { font-family: var(--mono); font-size: 13px; color: var(--text-4); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 12px; font-size: 14px; color: var(--text); text-decoration: none; border-radius: var(--r);
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-tint); color: var(--link); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: var(--r);
  background: var(--accent); color: #FFFFFF;
  font-family: var(--mono); font-size: 15px; font-weight: 700; text-decoration: none;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 12px; }

.chip-link {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface);
  font-family: var(--mono); font-size: 12px; color: var(--text); text-decoration: none; white-space: nowrap;
}
.chip-link b { color: var(--link); }
.chip-link:hover { border-color: var(--accent); color: var(--ink); }

.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; border-radius: var(--r);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--surface-2); }
.menu-panel {
  position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px));
  display: flex; flex-direction: column; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 32px rgba(11, 15, 19, .12);
}
.menu-panel a { padding: 12px; color: var(--text); text-decoration: none; border-radius: var(--r); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--accent-tint); color: var(--link); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.site-footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 32px; padding-bottom: 32px; }
.site-footer .brand-name { font-size: 13px; }
.site-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { color: var(--text-2); }
.site-footer nav a:hover { color: var(--ink); }

/* Sections */

.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2 { font-family: var(--mono); font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-2); }
.muted { color: var(--text-2); }
.split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* Hero */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 64px; align-items: start; padding: 96px 0 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-top: 12px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; }
.hero h1 { font-family: var(--mono); font-size: 60px; font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.hero .lead { max-width: 560px; }

.verify { display: flex; flex-direction: column; gap: 10px; max-width: 600px; margin-top: 8px; }
.verify-row { display: flex; gap: 8px; }
.verify input {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface);
  font-family: var(--mono); font-size: 16px; color: var(--ink);
}
.verify input::placeholder { color: var(--text-4); }
.verify input:focus { border-color: var(--accent); }
.note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }

/* Result panel */

.result { overflow: hidden; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; padding: 0 20px; border-bottom: 1px solid var(--line-soft); }
.result-addr { font-family: var(--mono); font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.verdict { display: flex; align-items: center; gap: 16px; margin: 20px 20px 8px; padding: 16px 18px; border-radius: var(--r); background: var(--surface-2); color: var(--text-2); }
.verdict svg { flex-shrink: 0; }
.verdict-title { display: block; font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.verdict-text { display: block; font-size: 14px; line-height: 1.45; }
.verdict[data-state="clear"] { background: var(--ok-tint); color: var(--ok-text); }
.verdict[data-state="not-clear"], .verdict[data-state="error"] { background: var(--bad-tint); color: var(--bad-text); }
.verdict[data-state="checking"] { background: var(--accent-tint); color: var(--info-text); }
.verdict .icon { display: none; }
.verdict[data-state="idle"] .icon-idle,
.verdict[data-state="clear"] .icon-clear,
.verdict[data-state="not-clear"] .icon-bad,
.verdict[data-state="error"] .icon-bad,
.verdict[data-state="checking"] .icon-checking { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-checking { animation: spin 1s linear infinite; }

.checks { list-style: none; margin: 0; padding: 8px 20px 4px; }
.checks li { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line-soft); }
.checks .label { flex: 1 1 auto; font-size: 15px; color: var(--text); }
.checks .key { font-family: var(--mono); font-size: 12px; color: var(--text-4); }
.checks .val { width: 72px; text-align: right; font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--text-4); }
.checks li[data-state="pass"] .val { color: var(--ok-text); }
.checks li[data-state="fail"] .val { color: var(--bad-text); }
.checks li[data-state="pass"] .dot { background: var(--ok); }
.checks li[data-state="fail"] .dot { background: var(--bad); }
.checks li[data-state="idle"] .dot { background: var(--line-strong); }

.api-snippet { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; }
.api-snippet-head { display: flex; align-items: center; justify-content: space-between; }

.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  font-family: var(--mono); font-size: 12px; color: var(--text-2); cursor: pointer;
}
.copy:hover { border-color: var(--line-strong); color: var(--ink); }
.copy.icon-only { width: 36px; height: 36px; padding: 0; justify-content: center; }

.term {
  margin: 0; padding: 14px 16px; background: var(--code-bg); border-radius: var(--r);
  font-size: 13px; line-height: 1.55; color: var(--code-text); white-space: pre-wrap; word-break: break-all;
}
.term .p { color: var(--code-key); user-select: none; }

/* Checks grid */

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.section-head p { max-width: 460px; color: var(--text-2); }
.section-head strong { color: var(--ink); }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.tile code { font-size: 12px; color: var(--link); }
.tile h3 { font-size: 18px; }
.tile p { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.claim { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.claim-head { display: flex; align-items: center; gap: 10px; }
.claim-head h3 { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ok-text); }
.claim.no .claim-head h3 { color: var(--text-2); }
.claim ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text); }

/* Pricing band */

.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 48px; background: var(--band-bg); border-radius: var(--r-lg); border: 1px solid var(--line); }
.band .eyebrow { color: #93BEE5; }
.band h2 { color: #EEF3F6; }
.band p { max-width: 620px; color: #BCC9D3; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--mono); font-size: 88px; letter-spacing: -.05em; line-height: 1; color: #FFFFFF; }
.price span { font-family: var(--mono); font-size: 14px; color: #94A5B2; }

.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-family: var(--mono); font-size: 12px; color: var(--text-2); }

/* Documents (API, FAQ, legal) */

.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 64px 0 88px; }
.doc.wide-aside { grid-template-columns: 280px minmax(0, 1fr); }
.doc.faq-layout { grid-template-columns: 420px minmax(0, 1fr); }
.doc-main { display: flex; flex-direction: column; gap: 48px; max-width: 920px; min-width: 0; }
.doc-head { display: flex; flex-direction: column; gap: 16px; }
.doc-head h1 { font-family: var(--mono); font-size: 48px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.doc-meta strong { color: var(--ink); }

.toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.toc .eyebrow { margin-bottom: 8px; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: var(--r); font-size: 14px; line-height: 1.4; color: var(--text-2); text-decoration: none; }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.toc a span { font-family: var(--mono); color: var(--text-4); width: 20px; flex-shrink: 0; }

.seg { display: flex; padding: 4px; margin-bottom: 20px; background: var(--surface-2); border-radius: var(--r-lg); }
.seg a { flex: 1; text-align: center; padding: 8px 0; border-radius: var(--r); font-size: 14px; color: var(--text-2); text-decoration: none; }
.seg a[aria-current="page"] { background: var(--surface); box-shadow: var(--shadow); font-weight: 700; color: var(--ink); }

.doc-section { display: flex; flex-direction: column; gap: 16px; }
.h3 { font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

.endpoint { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.endpoint code { flex: 1 1 auto; min-width: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.endpoint code i { font-style: normal; color: var(--link); }
.method { padding: 4px 10px; border-radius: var(--r); background: var(--ok-tint); font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ok-text); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
th { padding: 12px 18px; background: var(--surface-2); text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
td { padding: 12px 18px; border-top: 1px solid var(--line-soft); vertical-align: top; }
td code { color: var(--ink); white-space: nowrap; }
td .type { font-family: var(--mono); color: var(--text-2); }
.yes { color: var(--ok-text); font-weight: 700; }

.status { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.status-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.status-code { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--ok-text); }
.status-code.err { color: var(--bad-text); }
.status .type { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.status code { font-size: 13px; overflow-wrap: anywhere; }

.codeblock { background: var(--code-bg); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--code-line); }
.codeblock-head { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--code-line); }
.codeblock-head .eyebrow { color: #94A5B2; }
.codeblock-head .copy { background: transparent; border-color: var(--code-line); color: #94A5B2; }
.codeblock-head .copy:hover { color: #EEF3F6; border-color: #3A4855; }
.codeblock pre { margin: 0; padding: 16px; font-size: 14px; line-height: 1.6; color: var(--code-dim); overflow-x: auto; }
.codeblock pre + .codeblock-head { border-top: 1px solid var(--code-line); }
.codeblock .p, .codeblock .k { color: var(--code-key); }
.codeblock .c { color: var(--code-text); }
.codeblock .t { color: var(--code-true); }
.codeblock .f { color: var(--code-false); }

.callout { display: flex; gap: 14px; padding: 18px 20px; background: var(--accent-tint); border-radius: var(--r-lg); color: var(--accent-on-tint); font-size: 15px; line-height: 1.55; }
.callout svg { flex-shrink: 0; margin-top: 2px; color: var(--info-text); }

.prose { display: flex; flex-direction: column; gap: 40px; max-width: 760px; }
.prose section { display: flex; flex-direction: column; gap: 12px; }
.prose h2 { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.prose h2 span { color: var(--link); }
.prose p, .prose li { font-size: 16px; line-height: 1.65; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); }
.prose .caps { font-size: 14px; letter-spacing: .01em; }
.prose pre { margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 14px; line-height: 1.6; color: var(--ink); }

/* FAQ */

.faq { overflow: hidden; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 0; }
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 16px; padding: 28px 32px; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--mono); font-size: 13px; color: var(--link); }
.faq summary h2 { flex: 1; font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.faq summary .plus { flex-shrink: 0; color: var(--text-2); transition: transform .15s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq summary:hover h2 { color: var(--link); }
.faq-body { display: flex; flex-direction: column; gap: 14px; padding: 0 32px 32px 68px; font-size: 16px; line-height: 1.6; }
.faq-body ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.faq-body ol li { display: flex; gap: 12px; }
.faq-body ol li::before { content: '+'; font-family: var(--mono); font-weight: 700; color: var(--ok); }
.faq-body strong { color: var(--ink); }
.mini { padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r); font-size: 14px; line-height: 1.5; }
.mini strong { display: block; }
.mini span { color: var(--text-2); }

.aside-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; margin-top: 24px; }

/* Bulk verification */

.bulk-head { padding: 80px 0 40px; max-width: 760px; }
.bulk-form { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.bulk-form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bulk-form textarea {
  width: 100%; min-height: 240px; padding: 14px 16px; resize: vertical;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg);
  font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--ink);
}
.bulk-form textarea::placeholder { color: var(--text-4); }
.bulk-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-ring), 0 0 0 4px rgba(94, 135, 202, .28); }
.bulk-form textarea:disabled { opacity: .7; }
.bulk-form-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.bulk-meta { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.bulk-count { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.bulk-count b { color: var(--ink); }
.bulk-actions { display: flex; gap: 8px; flex-shrink: 0; }

.link-btn { padding: 6px 0; border: 0; background: none; font-family: var(--mono); font-size: 12px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent-hover); }
.link-btn:disabled { opacity: .5; cursor: default; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }

.bulk-status { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--accent-tint); color: var(--info-text); }
.bulk-status[hidden] { display: none; }
.bulk-status[data-state="error"] { background: var(--bad-tint); color: var(--bad-text); }
.bulk-status[data-state="done"] { background: var(--ok-tint); color: var(--ok-text); }
.bulk-status-line { display: flex; align-items: center; gap: 12px; }
.bulk-status-line p { flex: 1; font-size: 14px; line-height: 1.5; }
.bulk-status-line strong { font-family: var(--mono); }
.bulk-status .icon { display: none; flex-shrink: 0; }
.bulk-status[data-state="checking"] .icon-checking,
.bulk-status[data-state="error"] .icon-bad,
.bulk-status[data-state="done"] .icon-clear { display: block; }
.progress { height: 4px; border-radius: 999px; background: rgba(127, 140, 150, .2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: currentColor; transition: width .25s ease; }
.bulk-status[data-state="done"] .progress, .bulk-status[data-state="error"] .progress { display: none; }

.bulk-results { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; }
.bulk-results[hidden] { display: none; }
.bulk-results:focus { outline: none; }

.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 160px)) minmax(0, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat b { font-family: var(--mono); font-size: 40px; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.stat.ok { background: var(--ok-tint); border-color: transparent; }
.stat.ok b, .stat.ok .eyebrow { color: var(--ok-text); }
.stat.bad { background: var(--bad-tint); border-color: transparent; }
.stat.bad b, .stat.bad .eyebrow { color: var(--bad-text); }
.stat-reasons { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat-reasons ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stat-reasons li { display: flex; flex-direction: column; gap: 2px; }
.stat-reasons .label { font-size: 13px; color: var(--text-2); }
.stat-reasons b { font-family: var(--mono); font-size: 22px; color: var(--bad-text); }
.stat-reasons .note { font-size: 12px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.toolbar .seg { margin: 0; }
.seg button { padding: 8px 14px; border: 0; border-radius: var(--r); background: none; font-family: var(--sans); font-size: 14px; color: var(--text-2); cursor: pointer; }
.seg button span { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-left: 4px; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow); font-weight: 700; color: var(--ink); }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.copy:disabled { opacity: .5; cursor: default; }

.bulk-table th { padding: 0; white-space: nowrap; }
.bulk-table th button {
  display: flex; align-items: center; gap: 6px; width: 100%; padding: 12px 18px; border: 0; background: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; text-align: left;
}
.bulk-table th button::after { content: ''; width: 0; height: 0; border: 4px solid transparent; opacity: 0; }
.bulk-table th[aria-sort="ascending"] button::after { opacity: 1; border-bottom-color: currentColor; margin-top: -4px; }
.bulk-table th[aria-sort="descending"] button::after { opacity: 1; border-top-color: currentColor; margin-top: 4px; }
.bulk-table th button:hover { color: var(--ink); }
.bulk-table td { padding: 10px 18px; white-space: nowrap; }
.bulk-table tbody tr:hover { background: var(--bg); }
.bulk-table .num { font-family: var(--mono); font-size: 12px; color: var(--text-4); }
.bulk-table .addr { font-family: var(--mono); font-size: 13px; color: var(--ink); max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
.bulk-table .flag { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.bulk-table .flag.pass { color: var(--ok-text); }
.bulk-table .flag.fail { color: var(--bad-text); }
.badge { display: inline-block; padding: 3px 8px; border-radius: var(--r); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.badge.ok { background: var(--ok-tint); color: var(--ok-text); }
.badge.bad { background: var(--bad-tint); color: var(--bad-text); }
.empty { padding: 24px 18px; text-align: center; color: var(--text-2); font-size: 14px; }

.bulk-api { display: flex; flex-direction: column; gap: 8px; padding: 48px 0 88px; max-width: 920px; }

.single-bulk { font-size: 13px; color: var(--text-3); }

/* 404 */

.lost { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 120px 0; }
.lost h1 { font-family: var(--mono); font-size: 88px; letter-spacing: -.05em; line-height: 1; }

/* Responsive */

@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .doc.faq-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .nav, .site-header .chip-link, .site-header .btn { display: none; }
  .menu { display: block; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 56px 0 48px; }
  .split, .doc, .doc.wide-aside, .doc.faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .band { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-reasons { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .brand-path { display: none; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 32px; }
  .hero-copy { gap: 20px; padding-top: 0; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .verify-row { flex-direction: column; }
  .h2 { font-size: 28px; }
  .grid-5, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .result-head, .api-snippet { padding-left: 16px; padding-right: 16px; }
  .verdict { margin: 16px 16px 4px; padding: 14px; gap: 12px; }
  .verdict-title { font-size: 19px; }
  .checks { padding: 4px 16px 8px; }
  .checks .key { display: none; }
  .band { padding: 28px 20px; }
  .price b { font-size: 56px; }
  .doc { padding: 40px 0 56px; }
  .doc-head h1 { font-size: 34px; }
  .faq summary { padding: 20px 16px; gap: 12px; }
  .faq summary h2 { font-size: 18px; }
  .faq-body { padding: 0 16px 24px; }
  .site-footer nav { margin-left: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer nav a { padding: 8px 0; }
  .lost h1 { font-size: 56px; }
  .bulk-head { padding: 40px 0 24px; }
  .bulk-form { padding: 16px; }
  .bulk-form-foot { flex-direction: column; gap: 16px; }
  .bulk-actions { width: 100%; }
  .bulk-actions .btn { flex: 1; }
  .summary { gap: 8px; }
  .stat { padding: 14px; }
  .stat b { font-size: 28px; }
  .stat-reasons ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toolbar .seg { width: 100%; }
  .seg button { flex: 1; padding: 8px 6px; }
  .bulk-api { padding: 40px 0 56px; }
}
