:root {
    color-scheme: light;
    --navy: #0d1d3a;
    --navy-dark: #0a162e;
    --navy-light: #142e57;
    --blue: #21559d;
    --blue-strong: #173e78;
    --gold: #f3c774;
    --gold-light: #ffe0a0;
    --gold-ink: #805511;
    --action: #ffc154;
    --action-hover: #ffd37b;
    --paper: #ffffff;
    --wash: #f5f7fb;
    --ink: #11233f;
    --muted: #4e5f78;
    --line: #dbe4ef;
    --chart-text: #bdcce3;
    --chart-grid: #2d4466;
    --type: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); font: 16px/1.58 var(--type); }
main { min-height: 55vh; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.036em; }
h1 { font-size: clamp(2.45rem, 4.3vw, 4.3rem); font-weight: 760; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.52rem); font-weight: 740; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin-block: 0 17px; color: var(--muted); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid #3483d5; outline-offset: 3px;
}
[id] { scroll-margin-top: 16px; }
.skip { position: absolute; left: -1000px; top: 9px; z-index: 3; background: white; padding: 10px 17px; }
.skip:focus { left: 10px; }
.shell { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }
.section { padding-block: 60px; }
.section + .section { padding-top: 24px; }
.section-top {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 23px;
}
.section-top h2, .section-top h3 { margin-bottom: 7px; }
.section-top p:last-child { margin-bottom: 0; }
.section-top a { flex: 0 0 auto; }
.eyebrow { margin-bottom: 10px; font-size: .83rem; letter-spacing: .07em; color: var(--blue); font-weight: 740; text-transform: uppercase; }
.intro { font-size: 1.13rem; line-height: 1.6; }
.actions { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; }
.text-link { color: var(--blue-strong); font-weight: 700; }
.muted, .form-note { font-size: .9rem; color: var(--muted); }
.button {
    display: inline-flex; justify-content: center; align-items: center; text-align: center;
    min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px;
    font-size: .93rem; font-weight: 710; line-height: 1.25; transition: background .16s, border-color .16s;
}
.button:hover { text-decoration: none; }
.button-primary { background: var(--action); border-color: var(--action); color: var(--navy-dark); }
.button-primary:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button-line { background: white; border-color: #c4d1e3; color: var(--blue-strong); }
.button-line:hover { background: #edf3fb; border-color: #94b0d5; }
.button-small { min-height: 38px; padding: 8px 12px; font-size: .87rem; }

.header { background: var(--navy-dark); border-bottom: 1px solid #284165; color: #f3f7ff; }
.header-row { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 1.12rem; letter-spacing: -.04em; font-weight: 760; }
.brand:hover { text-decoration: none; }
.brand-part { color: var(--gold); font-weight: 650; }
.brand-icon {
    width: 31px; height: 31px; display: inline-flex; align-items: flex-end; justify-content: center;
    gap: 2px; padding: 7px; border: 1px solid #516788; border-radius: 7px; background: #172a4a;
}
.brand-icon i { width: 4px; height: 6px; border-radius: 1px; background: var(--gold); }
.brand-icon i:nth-child(2) { height: 11px; }
.brand-icon i:nth-child(3) { height: 16px; }
.main-nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: .93rem; color: #d3def0; font-weight: 560; }
.main-nav a[aria-current] { color: var(--gold-light); text-decoration: underline; text-underline-offset: 7px; }
.account-link { flex: 0 0 auto; }

.hero, .market-hero {
    overflow: hidden; color: #fff;
    background: radial-gradient(ellipse at 88% 0%, #244b82 0%, #142a51 40%, var(--navy-dark) 86%);
}
.hero { padding: 62px 0 68px; }
.hero-grid, .market-hero-grid, .split-heading, .story-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 4vw, 57px);
}
.hero .eyebrow, .market-hero .eyebrow, .conversion-band .eyebrow { color: var(--gold); }
.hero h1 {
    font-size: clamp(2.85rem, 5.1vw, 4.65rem); line-height: 1.035; letter-spacing: -.064em; margin-bottom: 21px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero .intro, .market-hero .intro { color: #dce6f6; max-width: 540px; margin-bottom: 25px; }
.hero-note { color: #bcccdf; margin-top: 15px; margin-bottom: 0; font-size: .89rem; }
.hero .button-line, .market-hero .button-line, .conversion-band .button-line {
    background: #203858; border-color: #546d93; color: #fff;
}
.hero .button-line:hover, .market-hero .button-line:hover, .conversion-band .button-line:hover { background: #2a4772; }
.hero-visual, .market-hero-art {
    min-width: 0; position: relative; isolation: isolate; border-radius: 18px; overflow: hidden;
    border: 1px solid #6b7c98; box-shadow: 0 20px 45px #05132b6e;
}
.hero-visual { min-height: 416px; aspect-ratio: 1.38; }
.hero-visual img, .market-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual img { object-position: 62% 44%; }
.hero-visual::after, .market-hero-art::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(0deg, #071528a6, transparent 54%);
}
.valuation-sample {
    position: relative; z-index: 1; max-width: 340px; background: #fcfdff; color: var(--ink); border: 1px solid #e1eaf4;
    border-radius: 12px; padding: 15px 17px 13px; box-shadow: 0 10px 26px #09132973;
}
.hero-visual .valuation-sample, .market-hero-art .valuation-sample { position: absolute; bottom: 17px; left: 16px; width: calc(100% - 32px); }
.sample-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; }
.sample-header .eyebrow { margin: 0; font-size: .76rem; color: var(--blue); }
.valuation-sample h2 { font-size: 1.18rem; line-height: 1.17; letter-spacing: -.025em; }
.sample-value { color: var(--navy); font-size: 2rem; line-height: 1.16; letter-spacing: -.045em; font-weight: 770; margin: 4px 0 0; }
.sample-label, .sample-footer { color: var(--muted); font-size: .81rem; }
.sample-label { margin: 2px 0 8px; }
.sample-range {
    display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 9px;
    background: #fbf0d9; border-radius: 6px; color: #513b19; font-variant-numeric: tabular-nums;
    font-size: .83rem; font-weight: 675;
}
.sample-range span:nth-child(2) { text-align: center; color: #765b2b; font-size: .76rem; }
.sample-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin: 9px 0 0; }
.market-hero { padding: 24px 0 43px; }
.breadcrumbs { display: flex; gap: 9px; flex-wrap: wrap; color: #c9d9ef; font-size: .88rem; margin-bottom: 18px; }
.breadcrumbs a { color: #f5d48a; font-weight: 665; }
.market-hero h1 { margin-bottom: 16px; font-size: clamp(2.55rem, 4.3vw, 4.12rem); line-height: 1.04; }
.market-hero-art { min-height: 312px; aspect-ratio: 1.66; }
.market-hero-art img { object-position: 58% 57%; }
.market-image-caption {
    position: absolute; inset: auto auto 18px 18px; z-index: 1; display: flex; flex-direction: column; gap: 4px;
    background: #0b1d39e8; color: #d9e6f9; padding: 12px 16px; border: 1px solid #7a8ca5; border-radius: 10px;
}
.market-image-caption strong { font-size: 1.85rem; font-weight: 740; line-height: 1; color: var(--gold-light); }
.market-image-caption small { font-size: .84rem; font-weight: 600; }

.snapshot-strip { background: #fff; border-bottom: 1px solid var(--line); }
dl.stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 15px; padding: 23px 0; margin-block: 0; }
.stats div { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: center; gap: 4px; border-bottom: 0; border-right: 1px solid var(--line); padding: 4px 12px 4px 8px; }
.stats div:last-child { border-right: 0; }
.stats dd { font-size: clamp(1.27rem, 2.5vw, 1.87rem); line-height: 1.12; letter-spacing: -.045em; text-align: left; color: var(--navy); }
.stats dt { font-size: .87rem; text-align: left; }

.trend-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.board {
    min-width: 0; background: linear-gradient(140deg, #142a4d, #0d1d39); color: #fff;
    border: 1px solid #30496d; border-radius: 14px; padding: 21px 22px 15px; box-shadow: 0 8px 21px #132f5818;
}
.board-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.board-head h2, .board-head h3 { font-size: 1.34rem; }
.board-label { color: var(--chart-text); font-size: .87rem; margin-bottom: 4px; }
.board-quote { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 11px; margin-top: 16px; color: var(--chart-text); font-size: .87rem; }
.board-quote strong { color: #fff3d8; font-size: clamp(1.85rem, 3.3vw, 2.85rem); font-weight: 750; line-height: 1.06; letter-spacing: -.049em; }
.chart-sample { border: 1px solid #587197; border-radius: 5px; padding: 3px 7px; font-size: .82rem; }
.market-switch, .chart-range, .api-controls {
    display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 3px; background: #1c3457; padding: 4px; border-radius: 8px;
}
.market-switch button, .chart-range button, .api-controls button {
    border: 0; border-radius: 5px; min-height: 32px; padding: 4px 9px; color: #d0def2; background: transparent;
    font-size: .84rem; font-weight: 700;
}
.market-switch button[aria-pressed="true"], .chart-range button[aria-pressed="true"] { color: var(--navy-dark); background: var(--gold-light); }
.chart-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chart-legend { display: flex; gap: 13px; flex-wrap: wrap; align-items: center; color: var(--chart-text); font-size: .84rem; }
.chart-legend span::before, .compare-legend span::before { content: ""; display: inline-block; width: 13px; height: 3px; margin-right: 5px; border-radius: 2px; background: var(--gold); vertical-align: middle; }
.chart-legend .key-range::before { height: 9px; background: #6c9fe470; }
.chart-legend .key-count::before { height: 8px; width: 7px; background: #718ebc; }
.plot { height: 238px; position: relative; margin: 12px -2px 7px; }
.plot canvas { width: 100%; height: 100%; display: block; }
.board-large .plot { height: 279px; }
.board-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 13px; border-top: 1px solid #3a5273; padding-top: 11px; color: var(--chart-text); font-size: .83rem; }
.board-foot a { color: var(--gold-light); font-weight: 650; }
.board .currency { color: #eef4ff; border-color: #6c81a3; background: #233d61; }
.chart-tooltip { position: absolute; pointer-events: none; z-index: 2; top: 7px; max-width: 245px; border-radius: 7px; padding: 6px 8px; background: #fcfdff; color: #102341; box-shadow: 0 4px 12px #03122a73; white-space: pre-line; font-size: .82rem; font-weight: 650; }
.compare-legend { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--chart-text); font-size: .91rem; }
.compare-legend span:nth-child(2)::before { background: #80b6ff; }
.compare-legend span:nth-child(3)::before { background: #d1a6f2; }
.compare-legend span:nth-child(4)::before { background: #8ce0db; }

.panel, .market-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 3px 11px #22385a06; }
.panel h2, .panel h3 { margin-bottom: 10px; }
.panel h2 { font-size: 1.5rem; }
.panel p:last-child { margin-bottom: 0; }
.market-brief { border-top: 3px solid #b68d46; }
.benefits, .plain-list { list-style: none; margin: 14px 0 17px; padding: 0; }
.benefits li, .plain-list li { position: relative; padding: 0 0 0 18px; margin: 0 0 14px; }
.benefits li::before, .plain-list li::before { content: ""; position: absolute; left: 0; top: .56em; width: 7px; height: 7px; border-radius: 2px; background: #af8031; }
.benefits strong, .benefits span { display: block; }
.benefits span { color: var(--muted); font-size: .93rem; }
.plain-list li { margin-bottom: 8px; color: #304360; }
.market-directory, .market-integration { background: #edf2fa; border-block: 1px solid var(--line); }
.market-grid, .price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.market-card { display: block; transition: box-shadow .16s, border-color .16s; }
.market-card:hover { text-decoration: none; border-color: #91aacd; box-shadow: 0 7px 19px #10274c1d; }
.market-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 13px; }
.iso { display: inline-flex; justify-content: center; align-items: center; min-width: 38px; height: 30px; padding-inline: 4px; border-radius: 5px; background: #e3ecfa; color: #234c86; font-size: .85rem; font-weight: 760; }
.currency { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid #d7e2ef; border-radius: 5px; background: #f2f6fc; color: #385472; font-size: .8rem; font-weight: 720; }
.market-card h3 { margin-bottom: 9px; }
.market-quote { font-size: clamp(1.26rem, 2.35vw, 1.8rem); line-height: 1.18; font-variant-numeric: tabular-nums; letter-spacing: -.046em; font-weight: 755; color: var(--navy); }
.market-note, .card-bottom { display: block; color: var(--muted); font-size: .84rem; }
.capacity-row { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 12px; }
.capacity-row span { font-size: .78rem; line-height: 1.32; padding: 3px 6px; background: #e9f0fa; color: #224976; border-radius: 5px; font-weight: 650; }
.card-bottom { margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.market-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 19px; }
.market-tools input { max-width: 360px; }
.split-heading h1, .story-copy h2, .page-head h1 { margin-bottom: 15px; }
.split-heading p, .story-copy p, .page-head p { max-width: 660px; }
.split-heading > div > p:not(.eyebrow), .page-head > p:not(.eyebrow) { font-size: 1.1rem; }
.split-heading + .section { padding-top: 12px; }
.directory-art, .story-art { display: block; width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; border-radius: 14px; background: var(--navy); }
.story-art { aspect-ratio: 1.56; }
.home-demo { margin-top: 25px; }

.conversion-band {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 15px 40px;
    background: linear-gradient(110deg, var(--navy-dark), #1d3b69); border: 1px solid #385579;
    border-radius: 13px; padding: 28px 31px; color: #fff;
}
.conversion-band h2 { font-size: clamp(1.56rem, 2.6vw, 2.16rem); margin-bottom: 9px; }
.conversion-band p { color: #d2e0f5; max-width: 760px; margin-bottom: 0; }
.conversion-band .eyebrow { margin-bottom: 7px; }
.credit-section { padding-bottom: 57px; }

.page-head { padding-top: 47px; padding-bottom: 27px; }
.page-head > p:last-child { margin-bottom: 0; }
.page-body { padding-top: 10px; }
dl { margin: 13px 0 17px; }
dl > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 13px; padding: 9px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 690; }
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.table-scroll + .table-scroll, .board + .table-scroll { margin-top: 18px; }
.table-title { margin-top: 27px; }
table { text-align: left; border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #e9f0fa; color: #254065; font-size: .88rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 660; }
.data-details { margin-top: 17px; }
.data-details summary { color: var(--blue-strong); font-weight: 700; cursor: pointer; }
.data-details .table-scroll { margin-top: 8px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 9px; border: 1px solid #bfcee3; border-radius: 7px; background: #fff; font-size: .91rem; }
.chip:hover { background: #e9f1fc; text-decoration: none; }
.compare-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 19px; }
.compare-form div { min-width: 177px; }
.compare-form label { margin-bottom: 4px; }

.valuation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px; align-items: start; }
.quote-form { display: grid; gap: 9px; }
.quote-form h2, .quote-form .form-note { margin-bottom: 0; }
.quote-form .button { justify-self: start; margin-top: 7px; }
label { display: block; color: #2d4364; font-size: .92rem; font-weight: 670; }
input, select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #bdcce0; border-radius: 7px; background: #fff; color: var(--ink); }
input::placeholder { color: #68788d; }
select {
    appearance: none; padding-right: 32px;
    background: linear-gradient(45deg, transparent 50%, #4b648a 50%) calc(100% - 17px) 52%/6px 6px no-repeat,
                linear-gradient(135deg, #4b648a 50%,transparent 50%) calc(100% - 11px) 52%/6px 6px no-repeat, #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row label { margin-bottom: 3px; }
.filters summary { color: var(--blue-strong); font-weight: 650; cursor: pointer; font-size: .91rem; }
.filters .field-row { margin-top: 7px; }
.quote-result { min-height: 240px; background: #f8faff; border-top: 3px solid #b68d46; }
.quote-price { color: var(--navy); font-size: clamp(2rem, 5.1vw, 3.6rem); font-weight: 770; letter-spacing: -.053em; line-height: 1.08; margin-bottom: 9px; }
.quote-price span { font-size: .92rem; color: var(--muted); letter-spacing: 0; }
.error-message { color: #8b2d2d; }
.sample-prompt, .selected-plan { background: #edf3fc; border-radius: 6px; padding: 8px 10px; }

.docs-layout { display: grid; grid-template-columns: 162px minmax(0, 1fr); gap: 25px; align-items: start; }
.docs-nav { display: grid; position: sticky; top: 16px; padding-left: 12px; border-left: 2px solid #99b0d2; color: var(--blue-strong); font-weight: 650; gap: 5px; }
.docs-nav a { padding: 4px 0; }
.docs-article { min-width: 0; }
.docs-article section { margin-bottom: 28px; }
.docs-article section.api-panel { margin-bottom: 0; }
.docs-article h2, .prose h2 { font-size: 1.55rem; margin-bottom: 8px; }
.docs-article .table-scroll { margin-bottom: 13px; }
code, pre { font-family: var(--mono); font-size: .9em; }
.api-explorer { min-width: 0; padding: 14px; border: 1px solid #c7d6e9; border-radius: 13px; background: #f8faff; }
.api-controls { background: #e3edf9; margin-bottom: 12px; width: fit-content; }
.api-controls button { color: #234a80; }
.api-controls button[aria-pressed="true"] { color: #fff; background: #244a82; }
.api-panel-heading { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
.api-panel-heading code { overflow-wrap: anywhere; color: #183b6a; font-weight: 680; }
.method { border-radius: 4px; padding: 3px 7px; background: #dbe9fa; color: #1c4d86; font-family: var(--mono); font-size: .82rem; font-weight: 730; }
.code-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.code-box { min-width: 0; overflow: hidden; background: var(--navy-dark); color: #d9e9ff; border: 1px solid #304c73; border-radius: 8px; }
.code-heading { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 7px 10px; border-bottom: 1px solid #344d6e; background: #1b3154; color: #e7effb; font-size: .84rem; font-weight: 640; }
.code-heading button { color: #fff1d4; border: 1px solid #647c9c; border-radius: 5px; background: #243f64; padding: 2px 6px; font-size: .79rem; }
.code-box pre { margin: 0; padding: 11px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; scroll-padding: 7px; max-height: 253px; }
.code-box pre code { font-size: .88rem; }
.code-pair pre { min-height: 94px; }
.code-box + p, .code-box + .actions { margin-top: 13px; }
.api-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-top: 12px; }
.api-status { color: #345477; font-size: .88rem; }
.integration-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.integration-details p { margin-bottom: 9px; }
.integration-details .text-link { display: inline-block; margin-right: 10px; }
.inline-definitions > div { justify-content: flex-start; }
.inline-definitions dt { font-family: var(--mono); }
.inline-definitions dd { text-align: left; font-weight: 530; }

.price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usage-rates { margin: 2rem 0; }
.pricing-rate { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 4px solid #cc9a48; }
.pricing-rate h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3.3vw, 2.45rem); }
.pricing-rate p { margin-bottom: 4px; }
.pricing-rate h2 small { display: block; margin-top: 6px; font-size: .93rem; letter-spacing: 0; color: var(--muted); }
.purchase-mode { margin-bottom: 10px; }
.price-card { display: flex; flex-direction: column; }
.price-selected { border: 2px solid #bd8b3d; padding: 21px; }
.price-card strong { font-size: 1.97rem; line-height: 1; font-weight: 765; letter-spacing: -.05em; margin: 7px 0 12px; }
.price-card button { margin-top: auto; }
.access-form { margin-top: 15px; }
.access-form input { margin-block: 4px 8px; }
.account-balance { font-size: 2.4rem !important; }
.usage-list { padding-left: 20px; }
.prose { max-width: 900px; }
.prose h2 { margin-top: 25px; }
.prose h2:first-child { margin-top: 0; }
.footer { border-top: 1px solid #334c6f; background: var(--navy-dark); color: #f4f8ff; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer p { color: #b7c8dd; font-size: .85rem; margin: 7px 0 0; }
.footer nav { gap: 13px 17px; }

@media (max-width: 990px) {
    .shell { width: calc(100% - 48px); }
    .hero-grid, .market-hero-grid, .split-heading, .story-grid { gap: 24px; }
    .header-row { gap: 14px; }
    .main-nav { gap: 14px; }
    .hero-visual { min-height: 377px; }
    .market-card, .panel { padding: 16px; }
    .price-selected { padding: 15px; }
}
@media (max-width: 800px) {
    .header-row { flex-wrap: wrap; gap: 3px 12px; padding: 10px 0; }
    .main-nav { order: 3; flex-basis: 100%; margin-top: 6px; }
    .account-link { margin-left: auto; }
    .hero { padding: 43px 0 35px; }
    .hero-grid, .market-hero-grid, .split-heading, .story-grid, .trend-layout { grid-template-columns: 1fr; }
    .hero-visual { min-height: 390px; aspect-ratio: 1.75; }
    .market-hero-art { aspect-ratio: 2.05; min-height: 275px; }
    .market-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { gap: 5px; }
    .section { padding-block: 42px; }
    .section-top { align-items: flex-start; flex-direction: column; gap: 8px; }
    .conversion-band { grid-template-columns: 1fr; }
    .conversion-band > a { justify-self: start; }
}
@media (max-width: 560px) {
    .shell { width: calc(100% - 28px); }
    .main-nav { gap: 5px 12px; font-size: .85rem; }
    .brand { font-size: 1rem; }
    .account-link { font-size: .78rem; padding: 5px 8px; min-height: 34px; }
    .hero { padding-top: 33px; }
    .hero h1 { font-size: clamp(2.35rem, 10vw, 3.15rem); margin-bottom: 12px; }
    .hero .intro, .market-hero .intro { font-size: 1.03rem; margin-bottom: 15px; }
    .hero-visual { min-height: 335px; aspect-ratio: 1.1; }
    .hero-visual img { object-position: 76% 40%; }
    .market-hero { padding-block: 14px 25px; }
    .market-hero-art { min-height: 265px; aspect-ratio: 1.3; }
    .hero-visual .valuation-sample, .market-hero-art .valuation-sample { left: 10px; bottom: 10px; width: calc(100% - 20px); }
    dl.stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 11px; gap: 1px 6px; }
    dl.stats div { padding: 8px 4px; border: 0; }
    .stats dt { font-size: .78rem; }
    .section { padding-block: 32px; }
    .page-body { padding-top: 7px; }
    .board { padding: 15px 11px 9px; }
    .board-head h3 { font-size: 1.16rem; }
    .board-label { font-size: .8rem; }
    .market-switch button, .chart-range button { font-size: .78rem; min-height: 27px; padding-inline: 5px; }
    .plot { height: 194px; }
    .board-large .plot { height: 217px; }
    .market-grid, .price-grid { gap: 8px; }
    .market-card { padding: 12px; }
    .market-card h3 { font-size: 1.03rem; }
    .market-note, .card-bottom, .capacity-row span { font-size: .77rem; }
    .market-top { margin-bottom: 9px; }
    .api-explorer { padding: 8px; }
    .code-pair, .integration-details, .valuation-grid, .docs-layout { grid-template-columns: 1fr; }
    .docs-nav { display: flex; flex-wrap: wrap; position: static; gap: 4px 11px; }
    .docs-layout { gap: 15px; }
    .conversion-band { padding: 17px; }
    .pricing-rate, .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .compare-form div { min-width: 136px; flex: 1 1 auto; }
    th, td { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.account-access [data-authenticated] { margin-top: 14px; }
.credential-backup, .quote-next {
    background: #fff6e5; border: 1px solid #f1d9a7; border-radius: 9px;
    margin-top: 15px; padding: 14px;
}
.credential-backup h3 { margin-bottom: 8px; }
.credential-backup input { margin-bottom: 10px; }
.account-reward { color: var(--blue-strong); font-weight: 720; }
.quote-next p { margin-bottom: 8px; }
.quote-json .code-box { margin-bottom: 12px; }
.price-card .package-quota { color: var(--navy); }
.price-card .package-bonus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 9px 11px;
    border-radius: 6px;
    border: 1px solid #edc777;
    background: #fff3d1;
    color: #684000;
}
.package-bonus span { font-size: .85rem; font-weight: 740; }
[data-valuation-access] { margin-top: 11px; }

.email-access {
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.email-access h3 { margin-bottom: 10px; }
.email-access form { margin-bottom: 10px; }
.email-access p:last-child { margin-bottom: 0; }
[data-clear-key] { margin-bottom: 10px; }
.quote-form textarea { width: 100%; padding: 9px; margin-bottom: 11px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.product-card h2 { margin: 0; font-size: 1.3rem; }
.product-card p { flex: 1; margin: .65rem 0 1rem; }
.product-card strong { font-size: 1.45rem; margin-bottom: .7rem; }
.product-card small { color: #52617b; font-size: .8rem; font-weight: 500; }
.product-workbench { margin-top: 2rem; padding: 1.5rem; }
.product-workbench fieldset { margin: 1rem 0; border: 1px solid #d7deeb; padding: 1rem; border-radius: .75rem; }
.product-workbench legend { padding: 0 .4rem; font-weight: 600; }
.product-workbench label { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; }
.product-workbench label > :is(input, select, textarea) { border: 1px solid #b7c4dc; border-radius: .45rem; padding: .55rem .7rem; color: #142640; background: white; font: inherit; min-width: 0; }
.product-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.product-json { max-height: 24rem; overflow: auto; padding: 1rem; background: #ecf1f8; border-radius: .5rem; }
@media (max-width: 760px) { .product-grid, .product-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 430px) { .product-grid, .product-fields { grid-template-columns: 1fr; } }
