:root {
  --ink: #14253d;
  --ink-2: #2d3b50;
  --paper: #ffffff;
  --canvas: #f4f6fa;
  --canvas-warm: #f8f5f6;
  --line: #dfe3ea;
  --line-strong: #cbd1dc;
  --muted: #5e6879;
  --muted-light: #8f98a8;
  --brand: #c42642;
  --brand-dark: #991d32;
  --brand-soft: #fce8ec;
  --accent: #c42642;
  --accent-soft: #fce8ec;
  --success: #19724b;
  --success-soft: #e7f4ed;
  --warning: #8a5a00;
  --warning-soft: #fff3cf;
  --danger: #b4233b;
  --shadow-sm: 0 1px 2px rgba(20, 37, 61, .05), 0 5px 18px rgba(20, 37, 61, .05);
  --shadow-md: 0 14px 40px rgba(20, 37, 61, .10);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(196, 38, 66, .38); outline-offset: 3px; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.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;
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand img { display: block; flex: none; }
.brand-logo { width: 203px; height: auto; }
.brand-logo-footer { width: 180px; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.main-nav > a, .nav-button { color: var(--ink-2); text-decoration: none; padding: 9px 11px; border-radius: 8px; font-size: .94rem; font-weight: 650; }
.main-nav > a:hover, .nav-button:hover { background: var(--canvas); }
.nav-form { margin: 0; }
.nav-button { border: 0; background: transparent; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--brand); border-radius: 10px; padding: 10px 18px; background: var(--brand); color: white; text-decoration: none; font-weight: 720; line-height: 1.1; cursor: pointer; box-shadow: 0 5px 16px rgba(196, 38, 66, .16); transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.button-small { min-height: 38px; padding: 8px 13px; font-size: .9rem; }
.button-full { width: 100%; }
.button-secondary { background: white; color: var(--brand); border-color: var(--line-strong); box-shadow: none; }
.button-secondary:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: #e3b7bf; }
.button-light { background: white; color: var(--ink); border-color: white; box-shadow: none; }
.button-light:hover { background: var(--canvas-warm); color: var(--brand-dark); border-color: var(--canvas-warm); }
.text-link { font-weight: 720; text-decoration: none; }
.text-button { border: 0; background: none; color: var(--brand); cursor: pointer; padding: 6px; font-weight: 700; }

.flash-stack { padding-top: 16px; }
.flash { padding: 12px 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow-sm); }
.flash-success { border-color: #b7dac8; background: var(--success-soft); color: #0f5838; }
.flash-error { border-color: #e6b6bf; background: var(--brand-soft); color: #751023; }
.flash-info { border-color: #c8d4e5; background: #edf3fb; color: #24456e; }

.eyebrow { display: inline-block; color: var(--brand); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-light { color: #ffd3c0; }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 8%, rgba(196, 38, 66, .14), transparent 32%), linear-gradient(142deg, #f8f6f7 0%, #ffffff 58%, #f5edf0 100%); border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; right: -100px; bottom: -160px; width: 420px; height: 420px; border: 66px solid rgba(20, 37, 61, .035); border-radius: 50%; pointer-events: none; }
.hero-grid { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: center; gap: 72px; padding-block: 70px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 760px; margin: 14px 0 18px; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .99; letter-spacing: -.055em; }
.hero-lead { max-width: 670px; margin: 0 0 28px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.22rem); }
.hero-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 760px; padding: 8px; background: white; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-md); }
.hero-search input { min-width: 0; border: 0; padding: 11px 12px; font-size: 1rem; color: var(--ink); background: transparent; }
.hero-search input:focus { outline: none; }
.hero-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; color: var(--muted); font-size: .88rem; }
.hero-links a { color: var(--ink-2); font-weight: 650; }
.data-trust { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--muted); font-size: .88rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px var(--success-soft); }

.radar-card { position: relative; z-index: 2; overflow: hidden; padding: 24px; background: var(--ink); color: white; border: 1px solid #31415a; border-radius: var(--radius-lg); box-shadow: 0 28px 60px rgba(20, 37, 61, .22); transform: rotate(1deg); }
.radar-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.radar-head strong { display: block; max-width: 260px; margin-top: 4px; font-size: 1.13rem; line-height: 1.3; }
.radar-kicker { color: #abb4c5; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.live-badge { flex: none; padding: 5px 8px; color: #c9f1dc; background: rgba(31, 151, 95, .16); border: 1px solid rgba(122, 221, 171, .25); border-radius: 999px; font-size: .72rem; font-weight: 750; }
.radar-search { margin: 22px 0 16px; padding: 12px 14px; color: #ced5e0; background: #222d42; border: 1px solid #39445a; border-radius: 10px; font-size: .88rem; }
.radar-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.radar-metrics div { padding: 12px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; }
.radar-metrics strong, .radar-metrics span { display: block; }
.radar-metrics strong { font-size: 1.15rem; }
.radar-metrics span { color: #9fa9ba; font-size: .72rem; }
.radar-list { margin-top: 14px; }
.radar-list a { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 13px 0; color: white; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.radar-list a:last-child { border-bottom: 0; }
.radar-icon { display: grid; place-items: center; width: 30px; height: 30px; background: rgba(196, 38, 66, .20); color: #ffd8df; border-radius: 8px; font-size: .8rem; font-weight: 800; }
.radar-list strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .85rem; line-height: 1.35; }
.radar-list small { display: block; overflow: hidden; margin-top: 4px; color: #9fa9ba; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.radar-empty { padding: 32px 0; color: #abb4c5; text-align: center; }

.section { padding-block: 90px; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading h2 { margin: 10px 0 12px; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 310px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-card h3 { margin: 46px 0 10px; font-size: 1.38rem; letter-spacing: -.025em; }
.feature-card p { color: var(--muted); }
.feature-card > a { position: absolute; left: 28px; bottom: 26px; font-weight: 750; text-decoration: none; }
.feature-number { color: #a2aaba; font-size: .8rem; font-weight: 800; }
.availability { position: absolute; top: 24px; right: 24px; padding: 5px 8px; background: var(--warning-soft); color: var(--warning); border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.availability.available { background: var(--success-soft); color: var(--success); }
.feature-card-dark { background: var(--ink); color: white; border-color: var(--ink); }
.feature-card-dark p { color: #bec6d2; }

.early-access { display: grid; grid-template-columns: 1fr minmax(360px, .75fr); gap: 70px; padding: 52px; color: white; background: linear-gradient(130deg, #77192a, var(--brand) 62%, #d43c58); border-radius: var(--radius-lg); box-shadow: 0 20px 44px rgba(119, 25, 42, .20); }
.early-copy h2 { margin: 10px 0 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.early-copy p { max-width: 610px; color: #f9dfe4; }
.early-copy .privacy-hint { color: #efbbc5; font-size: .84rem; }
.interest-form { display: grid; gap: 13px; align-content: center; }
.interest-form label { display: block; margin-bottom: 5px; color: #ffeef1; font-size: .82rem; font-weight: 720; }
.interest-form label span { opacity: .75; }
.interest-form input[type="email"], .interest-form input[type="text"] { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 9px; background: rgba(255, 255, 255, .95); color: var(--ink); }
.interest-form .check-row { color: #ffeef1; }
.interest-form .check-row a { color: white; }

.opportunity-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.opportunity-card { display: flex; min-width: 0; flex-direction: column; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.opportunity-date { color: var(--muted); font-size: .74rem; font-weight: 720; }
.opportunity-card h3 { margin: 14px 0 10px; font-size: 1rem; line-height: 1.35; }
.opportunity-card h3 a { display: -webkit-box; overflow: hidden; color: var(--ink); text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.opportunity-card p { overflow: hidden; margin: 0 0 18px; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.opportunity-card div { margin-top: auto; }
.opportunity-card div span { display: inline-block; max-width: 100%; overflow: hidden; padding: 4px 7px; background: var(--brand-soft); color: var(--brand); border-radius: 6px; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }

.page-head { padding-block: 58px; background: white; border-bottom: 1px solid var(--line); }
.page-head-compact { padding-block: 44px; }
.page-head h1 { margin: 8px 0 8px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.045em; }
.page-head p { margin: 0; color: var(--muted); }

.search-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; padding-block: 28px 80px; }
.filter-panel { position: sticky; top: 94px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filter-heading h2 { margin: 0; font-size: 1.05rem; }
.filter-heading a { font-size: .82rem; font-weight: 700; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 5px; color: var(--ink-2); font-size: .78rem; font-weight: 750; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .inline-form input { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); }
.field input:focus, .field select:focus, .inline-form input:focus { border-color: var(--accent); outline: 3px solid rgba(196, 38, 66, .13); }
.field small { display: block; margin-top: 5px; color: var(--muted); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.results { min-width: 0; }
.results-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 22px; margin-bottom: 14px; }
.results-toolbar h2 { margin: 0; font-size: 1.32rem; }
.results-toolbar p { margin: 4px 0 0; color: var(--muted); font-size: .83rem; }
.export-actions { display: flex; flex: none; gap: 7px; }
.export-actions form { margin: 0; }
.export-note { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 11px 14px; background: var(--accent-soft); border: 1px solid #efc2ca; border-radius: 10px; color: #6e1a2a; font-size: .84rem; }
.export-note span { color: #7c3441; }
.export-note a { margin-left: auto; color: var(--brand-dark); font-weight: 750; white-space: nowrap; }
.results-table-wrap { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.results-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.results-table th, .results-table td { padding: 14px 13px; border-bottom: 1px solid #e9ecf1; vertical-align: top; text-align: left; font-size: .83rem; overflow-wrap: anywhere; }
.results-table th { background: #f8f9fb; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .045em; }
.results-table th:first-child { width: 35%; }
.results-table th:nth-child(2) { width: 20%; }
.results-table th:nth-child(3) { width: 16%; }
.results-table th:nth-child(4) { width: 16%; }
.results-table th:nth-child(5) { width: 13%; }
.results-table tr:last-child td { border-bottom: 0; }
.results-table tbody tr:hover { background: #fcfcfd; }
.result-main > a { display: block; color: var(--ink); font-size: .9rem; font-weight: 760; line-height: 1.35; text-decoration: none; }
.result-main > a:hover { color: var(--brand); }
.result-main p { display: -webkit-box; overflow: hidden; margin: 6px 0 7px; color: var(--muted); line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.result-main small { color: var(--muted-light); font-size: .68rem; }
.tag { display: inline-block; padding: 4px 7px; background: var(--brand-soft); color: var(--brand-dark); border-radius: 6px; font-size: .7rem; font-weight: 700; }
.tag-neutral { background: #edf0f4; color: #435067; }
.amount { font-weight: 720; white-space: nowrap; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 18px; font-size: .84rem; }
.pagination a { font-weight: 750; text-decoration: none; }
.pagination a:last-child, .pagination span:last-child { text-align: right; }
.pagination span { color: var(--muted-light); }
.empty-state { padding: 70px 24px; background: white; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.empty-state h3 { margin: 0 0 7px; }
.empty-state p { margin: 0 auto 20px; color: var(--muted); }
.compact-interest { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-top: 24px; padding: 20px 24px; background: var(--ink); color: white; border-radius: var(--radius); }
.compact-interest h3 { margin: 4px 0; font-size: 1.12rem; }
.compact-interest p { margin: 0; color: #bac3d0; font-size: .84rem; }
.compact-interest .eyebrow { color: #ffc4a8; }
.compact-interest form { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 7px 9px; align-items: start; }
.compact-interest input[type="email"] { grid-column: 1; grid-row: 1; min-width: 240px; min-height: 38px; padding: 8px 10px; border: 1px solid #4b566b; border-radius: 8px; }
.compact-interest form > .button { grid-column: 2; grid-row: 1; }
.compact-interest .check-row-compact { grid-column: 1 / -1; grid-row: 2; margin: 0 !important; color: #c5cddb; }
.compact-interest .check-row-compact a { color: white; }
.dismiss { position: absolute; top: 8px; right: 9px; width: 28px; height: 28px; border: 0; background: transparent; color: #aeb8c8; cursor: pointer; font-size: 1.2rem; }
.is-hidden { display: none !important; }

.detail-head { padding-block: 34px; background: white; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { font-weight: 700; }
.detail-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 24px; }
.detail-tags { display: flex; gap: 7px; margin-bottom: 12px; }
.detail-head h1 { max-width: 900px; margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; }
.detail-entity { margin: 12px 0 0; color: var(--muted); font-size: 1rem; font-weight: 650; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; padding-block: 26px 80px; }
.detail-main, .detail-side { display: grid; gap: 18px; }
.content-card, .summary-card, .future-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.content-card { padding: 24px; }
.content-card h2, .future-card h2 { margin: 0 0 12px; font-size: 1.12rem; }
.description-full { margin: 0; color: var(--ink-2); line-height: 1.72; white-space: pre-line; }
.card-heading-row { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.card-heading-row h2 { margin: 0; }
.card-heading-row > span { color: var(--muted); font-size: .76rem; }
.card-heading-row p { margin: 4px 0 0; color: var(--muted); font-size: .84rem; }
.data-list { margin: 0; }
.data-list > div { display: grid; grid-template-columns: 185px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid #ebedf1; }
.data-list > div:last-child { border-bottom: 0; }
.data-list dt { color: var(--muted); font-size: .78rem; font-weight: 700; }
.data-list dd { margin: 0; overflow-wrap: anywhere; font-size: .86rem; }
.simple-table-wrap { overflow-x: auto; }
.simple-table { width: 100%; border-collapse: collapse; }
.simple-table th, .simple-table td { padding: 11px 10px; border-bottom: 1px solid #e9ecf1; text-align: left; vertical-align: top; font-size: .82rem; }
.simple-table th { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.summary-card { padding: 24px; background: var(--ink); color: white; border-color: var(--ink); }
.summary-card span, .summary-card small, .summary-card strong { display: block; }
.summary-card span { color: #adb6c6; font-size: .78rem; }
.summary-card strong { margin: 6px 0; font-size: 1.7rem; letter-spacing: -.03em; overflow-wrap: anywhere; }
.summary-card small { color: #cbd2dd; }
.document-list { margin: 0; padding: 0; list-style: none; }
.document-list li { padding: 11px 0; border-bottom: 1px solid #e9ecf1; }
.document-list li:last-child { border-bottom: 0; }
.document-list a, .document-list li > span { display: block; overflow-wrap: anywhere; font-size: .84rem; font-weight: 700; }
.document-list small { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.future-card { position: relative; padding: 58px 24px 24px; background: var(--canvas-warm); border-color: #e8dcd2; }
.future-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.future-card-light { background: white; border-color: var(--line); }
.future-card a { display: inline-block; margin-top: 12px; font-weight: 700; }

.auth-section { display: grid; min-height: calc(100vh - 72px); place-items: center; padding: 55px 20px 80px; background: radial-gradient(circle at 20% 0%, var(--brand-soft), transparent 36%), var(--canvas); }
.auth-card { width: min(100%, 480px); padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-card-wide { width: min(100%, 820px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.auth-card h1 { margin: 8px 0 10px; font-size: 2rem; line-height: 1.1; letter-spacing: -.04em; }
.auth-card > p, .auth-intro > p { color: var(--muted); }
.stack-form { display: grid; gap: 2px; }
.check-row { display: flex !important; align-items: flex-start; gap: 8px; margin-bottom: 14px !important; color: var(--muted); font-size: .78rem !important; font-weight: 500 !important; }
.check-row input { flex: none; width: 16px !important; height: 16px !important; min-height: 0 !important; margin-top: 3px; }
.auth-switch { margin: 20px 0 0; font-size: .85rem; text-align: center; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 28px; color: var(--ink-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; padding-block: 28px 80px; }
.account-main, .account-side { display: grid; gap: 18px; }
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.usage-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.usage-card > span { color: var(--muted); font-size: .82rem; font-weight: 700; }
.usage-card strong { display: block; margin: 8px 0 12px; font-size: 2rem; letter-spacing: -.04em; }
.usage-card strong small { color: var(--muted); font-size: .9rem; }
.usage-card progress { width: 100%; height: 9px; overflow: hidden; margin-bottom: 13px; border: 0; border-radius: 20px; background: #e9ecf1; }
.usage-card progress::-webkit-progress-bar { background: #e9ecf1; }
.usage-card progress::-webkit-progress-value { background: var(--brand); border-radius: 20px; }
.usage-card progress::-moz-progress-bar { background: var(--brand); border-radius: 20px; }
.usage-card a { font-size: .82rem; font-weight: 700; }
.api-key-section { padding: 26px; }
.secret-reveal { margin: 16px 0; padding: 16px; background: var(--warning-soft); border: 1px solid #ecd797; border-radius: 10px; }
.secret-reveal p { margin: 3px 0 10px; color: #70500d; font-size: .8rem; }
.secret-reveal > div { display: flex; gap: 8px; align-items: center; }
.secret-reveal code { flex: 1; overflow: auto; padding: 9px; background: white; border-radius: 7px; white-space: nowrap; }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.inline-form .field { margin: 0; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e9ecf1; }
.key-row:last-child { border-bottom: 0; }
.key-row strong, .key-row code, .key-row small { display: block; }
.key-row code { margin: 3px 0; color: var(--muted); }
.key-row small { color: var(--muted-light); }
.profile-card dl { margin: 0; }
.profile-card dl > div { margin-bottom: 13px; }
.profile-card dt { color: var(--muted); font-size: .74rem; }
.profile-card dd { margin: 1px 0 0; overflow-wrap: anywhere; font-size: .84rem; font-weight: 650; }

.api-hero { padding-block: 78px; background: var(--ink); color: white; }
.api-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
.api-hero h1 { max-width: 700px; margin: 10px 0 14px; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.api-hero p { max-width: 640px; margin-bottom: 24px; color: #c0c8d5; font-size: 1.08rem; }
.code-card { overflow: hidden; background: #0c1321; border: 1px solid #354056; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.code-card > span { display: block; padding: 10px 16px; color: #9da8ba; background: #151f31; border-bottom: 1px solid #354056; font-size: .72rem; }
.code-card pre { overflow: auto; margin: 0; padding: 22px; color: #e7ebf1; font-size: .82rem; line-height: 1.7; }
.api-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 70px; padding-block: 60px 100px; }
.api-nav { position: sticky; top: 100px; display: grid; gap: 8px; align-self: start; }
.api-nav strong { margin-bottom: 6px; }
.api-nav a { padding: 6px 0; color: var(--muted); font-size: .84rem; text-decoration: none; }
.api-nav a:hover { color: var(--brand); }
.api-content > section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.api-content h2 { margin: 0 0 12px; font-size: 1.5rem; }
.api-content p { color: var(--muted); }
.api-content code { padding: 2px 5px; background: #e9edf3; border-radius: 4px; color: #273248; font-size: .85em; }
.endpoint { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.endpoint span { padding: 4px 7px; background: var(--success-soft); color: var(--success); border-radius: 5px; font-size: .7rem; font-weight: 850; }
.endpoint code { overflow-wrap: anywhere; font-size: .92rem; font-weight: 650; }
.api-roadmap { position: relative; padding: 56px 26px 26px !important; background: white; border: 1px solid var(--line) !important; border-radius: var(--radius); }
.api-roadmap .availability { left: 26px; right: auto; }

.legal { max-width: 820px; padding-block: 70px 100px; }
.legal h1 { margin: 8px 0 30px; font-size: 3rem; line-height: 1.05; letter-spacing: -.045em; }
.legal h2 { margin-top: 34px; font-size: 1.25rem; }
.legal p { color: var(--ink-2); line-height: 1.75; }
.legal-alert { padding: 16px 18px; background: var(--warning-soft); border: 1px solid #ecd797; border-radius: 10px; color: #67480a; }
.error-page { min-height: 60vh; display: grid; align-content: center; justify-items: start; padding-block: 70px; }
.error-page > span { color: var(--brand); font-size: 1rem; font-weight: 850; }
.error-page h1 { margin: 5px 0; font-size: 3rem; letter-spacing: -.05em; }
.error-page p { margin: 0 0 22px; color: var(--muted); }

.site-footer { padding: 58px 0 28px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.brand-footer { color: white; }
.footer-grid p { max-width: 430px; color: #aeb7c6; font-size: .85rem; }
.footer-grid h2 { margin: 0 0 12px; color: #e7ebf1; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) a { padding: 3px 0; color: #aeb7c6; font-size: .84rem; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-note { margin-top: 40px; padding-top: 20px; color: #858fa0; border-top: 1px solid #30394a; font-size: .73rem; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 420px; gap: 38px; }
  .opportunity-grid { grid-template-columns: repeat(3, 1fr); }
  .search-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .results-table th:first-child { width: 38%; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 12px; }
  .site-header { position: relative; }
  .main-nav { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .main-nav > a, .nav-button { white-space: nowrap; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 58px; }
  .radar-card { max-width: 620px; transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .early-access { grid-template-columns: 1fr; gap: 32px; padding: 38px; }
  .search-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .results-table-wrap { overflow-x: auto; }
  .results-table { min-width: 900px; }
  .detail-layout, .account-layout { grid-template-columns: 1fr; }
  .detail-side, .account-side { grid-template-columns: 1fr 1fr; }
  .api-hero-grid { grid-template-columns: 1fr; }
  .api-layout { grid-template-columns: 1fr; gap: 30px; }
  .api-nav { position: static; display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-logo { width: 180px; }
  .main-nav { gap: 2px; }
  .main-nav > a, .nav-button { padding: 8px; font-size: .82rem; }
  .main-nav .button { display: none; }
  .hero h1 { font-size: 2.7rem; }
  .hero-search { grid-template-columns: 1fr; }
  .hero-search .button { width: 100%; }
  .radar-metrics { grid-template-columns: 1fr; }
  .radar-metrics div { display: flex; justify-content: space-between; align-items: center; }
  .section { padding-block: 64px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .early-access { width: 100%; border-radius: 0; padding-inline: 22px; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .results-toolbar { align-items: stretch; flex-direction: column; }
  .export-actions { width: 100%; }
  .export-actions form, .export-actions .button { flex: 1; }
  .export-actions .button { width: 100%; }
  .export-note { align-items: flex-start; flex-direction: column; }
  .export-note a { margin-left: 0; }
  .field-pair { grid-template-columns: 1fr; }
  .compact-interest { grid-template-columns: 1fr; padding-top: 35px; }
  .compact-interest form { grid-template-columns: 1fr; }
  .compact-interest input[type="email"], .compact-interest form > .button, .compact-interest .check-row-compact { grid-column: 1; grid-row: auto; min-width: 0; width: 100%; }
  .detail-title-row { align-items: flex-start; flex-direction: column; }
  .detail-side, .account-side { grid-template-columns: 1fr; }
  .data-list > div { grid-template-columns: 1fr; gap: 4px; }
  .auth-card { padding: 26px 20px; }
  .auth-card-wide { grid-template-columns: 1fr; gap: 24px; }
  .usage-grid { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: 1fr; }
  .secret-reveal > div { align-items: stretch; flex-direction: column; }
  .api-hero { padding-block: 56px; }
  .api-hero h1 { font-size: 2.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .legal h1, .error-page h1 { font-size: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
