@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/seo/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/seo/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/seo/fonts/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/seo/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: light;
  --canvas: #f5f4ef;
  --surface: #fbfaf7;
  --surface-bright: #fff;
  --ink: #121419;
  --ink-soft: #272b32;
  --muted: #69717f;
  --muted-light: #8e96a2;
  --line: rgb(18 20 25 / 11%);
  --line-strong: rgb(18 20 25 / 20%);
  --blue: #175cff;
  --blue-bright: #2d6dff;
  --blue-soft: #e9f0ff;
  --green: #3ac979;
  --green-soft: #e8f8ef;
  --orange: #df7048;
  --hero: #11171c;
  --hero-raised: #182027;
  --hero-line: rgb(255 255 255 / 11%);
  --page: min(1380px, calc(100vw - 48px));
  --sans: 'Manrope Variable', Manrope, system-ui, sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 3%, rgb(23 92 255 / 8%), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }
h1, h2, h3, p, dl { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 104px; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid rgb(23 92 255 / 30%); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden {
  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;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus-visible { top: 12px; }

.site-header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 100;
  pointer-events: none;
}
.header-inner {
  width: min(1380px, calc(100% - 32px));
  min-height: 62px;
  margin-inline: auto;
  padding: 9px 10px 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgb(18 20 25 / 9%);
  border-radius: 18px;
  background: rgb(251 250 247 / 96%);
  box-shadow: 0 14px 44px rgb(18 20 25 / 8%);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 770;
  letter-spacing: -.045em;
}
.wordmark-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: transparent url('/keydealer-mark.png') center / contain no-repeat;
  color: transparent;
  font-size: 0;
  font-weight: 800;
}
.wordmark-context {
  margin-left: 2px;
  padding-left: 11px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 680;
  letter-spacing: -.02em;
}
.main-nav, .header-actions { display: flex; align-items: center; gap: 4px; }
.main-nav a, .header-login {
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
  transition: color 160ms ease, background-color 160ms ease;
}
.main-nav a:hover, .header-login:hover, .main-nav a[aria-current='page'] {
  color: var(--ink);
  background: rgb(18 20 25 / 5%);
}

.button {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: -.015em;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgb(23 92 255 / 25%); }
.button-primary:hover { background: var(--blue-bright); box-shadow: 0 15px 36px rgb(23 92 255 / 30%); }
.button-ghost { border-color: var(--line); background: rgb(255 255 255 / 60%); color: var(--ink); }
.button-ghost:hover { border-color: var(--line-strong); background: #fff; }
.button-small { min-height: 42px; padding-inline: 17px; border-radius: 12px; font-size: 13px; }

main { padding-top: 98px; }
.breadcrumbs {
  width: var(--page);
  margin: 19px auto 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-light);
  font: 600 10px/1 var(--mono);
  letter-spacing: .02em;
}
.breadcrumbs a:hover { color: var(--blue); }

.models-hero {
  width: var(--page);
  min-height: 625px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(420px, .87fr);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 28px;
  background:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgb(36 85 202 / 35%), transparent 34rem),
    var(--hero);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: #f7f8fa;
  box-shadow: 0 28px 78px rgb(18 20 25 / 16%);
}
.hero-copy {
  padding: 66px 72px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--hero-line);
}
.eyebrow, .section-label {
  margin-bottom: 20px;
  color: var(--blue);
  font: 720 10px/1.4 var(--mono);
  letter-spacing: .11em;
}
.eyebrow { color: #8eacff; }
.eyebrow span {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgb(58 201 121 / 10%);
}
.hero-copy h1 {
  max-width: 790px;
  margin-bottom: 28px;
  font-size: clamp(54px, 6.1vw, 88px);
  font-weight: 680;
  line-height: .91;
  letter-spacing: -.064em;
}
.hero-lead {
  max-width: 690px;
  margin-bottom: 35px;
  color: #a9afb8;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.58;
  letter-spacing: -.02em;
}
.hero-lead code { color: #d9e2ff; font-size: .82em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.models-hero .button-ghost { border-color: var(--hero-line); background: rgb(255 255 255 / 4%); color: #fff; }
.models-hero .button-ghost:hover { background: rgb(255 255 255 / 8%); }

.decision-console { display: flex; flex-direction: column; min-width: 0; background: rgb(4 7 10 / 24%); }
.console-top {
  min-height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--hero-line);
  color: #737a84;
  font: 650 9px/1 var(--mono);
  letter-spacing: .06em;
}
.console-top span { color: #96a7d2; }
.console-top i, .code-status i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgb(58 201 121 / 70%);
}
.console-metric { min-width: 0; }
.console-metric span, .console-metric small { display: block; color: #7d848e; }
.console-metric span { margin-bottom: 12px; font: 650 9px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.console-metric strong { display: block; font-size: clamp(24px, 2.4vw, 38px); font-weight: 650; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.console-metric small { margin-top: 10px; font-size: 11px; }
.console-metric-main { flex: 1 1 auto; padding: 58px 36px 42px; display: flex; flex-direction: column; justify-content: center; }
.console-metric-main strong { font-size: clamp(88px, 9.2vw, 136px); font-weight: 600; letter-spacing: -.09em; }
.console-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hero-line); border-bottom: 1px solid var(--hero-line); }
.console-grid .console-metric { min-height: 138px; padding: 24px 20px; }
.console-grid .console-metric + .console-metric { border-left: 1px solid var(--hero-line); }
.console-note { margin: 0; padding: 20px 28px; color: #707780; font-size: 10px; line-height: 1.6; }
.console-note code { color: #9ba6b8; }

.choice-strip {
  width: var(--page);
  margin: 104px auto 0;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 46px;
  align-items: start;
}
.choice-strip h2 { margin: 0; font-size: 30px; font-weight: 660; line-height: 1.05; letter-spacing: -.045em; }
.choice-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.choice-list button {
  min-height: 155px;
  padding: 23px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}
.choice-list button + button { border-left: 1px solid var(--line); }
.choice-list button:hover { background: var(--surface-bright); }
.choice-list span { color: var(--muted); font-size: 12px; }
.choice-list strong { margin-top: auto; font-size: 17px; letter-spacing: -.03em; }
.choice-list small { margin-top: 4px; color: var(--blue); font: 650 10px/1.3 var(--mono); }

.catalog-section { width: var(--page); margin: 148px auto 0; }
.catalog-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .6fr);
  gap: 80px;
  align-items: end;
}
.catalog-heading h2, .switch-copy h2, .limits-section h2, .faq-heading h2, .final-cta h2, .compare-head h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 680;
  line-height: .96;
  letter-spacing: -.057em;
}
.catalog-heading > p, .switch-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.family-guide-link { display: block; width: max-content; max-width: 100%; margin-top: 12px; color: var(--blue); font-size: 12px; font-weight: 700; }
.family-guide-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.catalog-controls {
  margin-bottom: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgb(251 250 247 / 90%);
  box-shadow: 0 12px 40px rgb(18 20 25 / 5%);
}
.search-field {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-bright);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-field:focus-within { border-color: rgb(23 92 255 / 55%); box-shadow: 0 0 0 4px rgb(23 92 255 / 8%); }
.search-field svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.search-field input::placeholder { color: var(--muted-light); }
.filter-group { min-width: 0; margin-top: 16px; display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 10px; }
.filter-group > span { padding-left: 3px; color: var(--muted-light); font: 650 9px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.filter-scroll { min-width: 0; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-chip, .task-chip, .state-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.filter-chip span, .state-chip span { margin-left: 5px; color: var(--muted-light); font: 600 9px/1 var(--mono); }
.filter-chip:hover, .task-chip:hover, .state-chip:hover { color: var(--ink); background: var(--surface-bright); }
.filter-chip.is-active, .task-chip.is-active, .state-chip.is-active { border-color: #c8d7ff; background: var(--blue-soft); color: var(--blue); }
.filter-chip.is-active span, .state-chip.is-active span { color: var(--blue); }
.catalog-status { margin-top: 17px; padding: 17px 3px 1px; display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.catalog-status strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.catalog-status > span { color: var(--muted); font-size: 11px; }
.catalog-status > span i { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--green); }
.catalog-status a { color: var(--blue); font-size: 11px; }
.catalog-status button { margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 11px; }

.model-list-head, .model-row { display: grid; grid-template-columns: 1.05fr 1.3fr 1.05fr .86fr 92px; gap: 28px; align-items: center; }
.model-list-head { padding: 0 18px 12px; color: var(--muted-light); font: 650 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.model-list { border-top: 1px solid var(--line-strong); }
.model-row {
  min-height: 126px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}
.model-row:hover { background: rgb(255 255 255 / 56%); }
.model-row.is-selected { background: var(--blue-soft); }
.model-row.is-checking { background: rgb(255 255 255 / 22%); }
.model-row.is-checking:hover { background: rgb(255 255 255 / 48%); }
.model-identity { min-width: 0; display: flex; align-items: center; gap: 15px; }
.family-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-bright);
  color: var(--ink);
  font: 740 10px/1 var(--mono);
  letter-spacing: -.04em;
}
.family-mark[data-family-mark='Claude'] { background: #fff1eb; color: #b94f2b; border-color: #f4d3c6; }
.family-mark[data-family-mark='GPT'] { background: #e9f8f1; color: #08754c; border-color: #c4ead8; }
.family-mark[data-family-mark='Gemini'] { background: #eaf2ff; color: #1555c0; border-color: #cbdcff; }
.family-mark[data-family-mark='GLM'] { background: #f0ecff; color: #5b47ad; border-color: #d9d0fb; }
.family-mark[data-family-mark='Grok'] { background: #eceeef; color: #202429; }
.family-mark[data-family-mark='GPT Image'] { background: #fff4df; color: #96620b; border-color: #f2ddb2; }
.family-name { margin: 0 0 4px; color: var(--blue); font: 680 8px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.model-identity h3 { margin: 0; font-size: 18px; font-weight: 680; line-height: 1.15; letter-spacing: -.035em; }
.model-identity h3 a:hover { color: var(--blue); }
.model-page-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--blue); font-size: 10px; font-weight: 700; }
.model-page-link:hover span { transform: translateX(3px); }
.model-page-link span { transition: transform 160ms ease; }
.availability-badge { width: max-content; margin-top: 8px; padding: 4px 7px; display: inline-flex; align-items: center; gap: 6px; border-radius: 7px; font: 650 8px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.availability-badge i { width: 6px; height: 6px; border-radius: 50%; }
.availability-badge.is-available { background: var(--green-soft); color: #157849; }
.availability-badge.is-available i { background: var(--green); }
.availability-badge.is-checking { background: #f0f1f2; color: #737b86; }
.availability-badge.is-checking i { background: #9ba1aa; }
.model-purpose { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.model-id { min-width: 0; }
.model-id > span { display: block; margin-bottom: 6px; color: var(--muted-light); font: 650 8px/1 var(--mono); letter-spacing: .07em; }
.model-id code { display: block; overflow: hidden; color: var(--ink-soft); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.model-id button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 10px;
}
.model-price strong, .model-price small { display: block; }
.model-price strong { font-size: 15px; font-weight: 680; line-height: 1.35; font-variant-numeric: tabular-nums; }
.model-price strong span { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.model-price small { margin-top: 7px; color: var(--muted-light); font-size: 9px; line-height: 1.35; }
.compare-control { min-height: 36px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: var(--muted); font-size: 10px; cursor: pointer; }
.compare-control input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.empty-state { padding: 80px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.empty-state h3 { margin-bottom: 10px; font-size: 28px; letter-spacing: -.04em; }
.empty-state p { margin-bottom: 24px; color: var(--muted); }

.compare-panel { width: var(--page); margin: 72px auto 0; padding: 32px; border-radius: 24px; background: var(--hero); color: #f5f6f7; box-shadow: 0 22px 62px rgb(18 20 25 / 15%); }
.compare-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.compare-head h2 { font-size: clamp(35px, 4vw, 54px); }
.compare-head button, [data-clear-compare] { border: 0; background: transparent; color: #89909a; font-size: 11px; }
.compare-table-wrap { margin-top: 30px; overflow-x: auto; border-top: 1px solid var(--hero-line); }
.compare-panel table { width: 100%; min-width: 680px; border-collapse: collapse; table-layout: fixed; }
.compare-panel th, .compare-panel td { padding: 16px; border-bottom: 1px solid var(--hero-line); text-align: left; vertical-align: top; }
.compare-panel th { width: 150px; padding-left: 0; color: #767e89; font: 650 8px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.compare-panel td { font-size: 12px; line-height: 1.55; }
.compare-panel td strong { font-size: 15px; }
.compare-panel td code { color: #9db5ff; font-size: 10px; }
.compare-hint { max-width: 72ch; margin: 20px 0 0; color: #7e858e; font-size: 11px; }

.switch-section {
  width: var(--page);
  min-height: 520px;
  margin: 150px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--hero);
  color: #fff;
}
.switch-copy { padding: 66px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--hero-line); }
.switch-copy > p { max-width: 600px; margin-top: 24px; color: #9299a3; }
.switch-copy .button { align-self: flex-start; margin-top: 32px; }
.code-diff { margin: 38px; align-self: center; overflow: hidden; border: 1px solid var(--hero-line); border-radius: 18px; background: #0d1116; box-shadow: 0 30px 70px rgb(0 0 0 / 28%); }
.code-top, .code-status { min-height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hero-line); color: #77808b; font: 600 9px/1 var(--mono); }
.code-top button { padding: 0; border: 0; background: transparent; color: #8da8f6; font-size: 9px; }
.code-diff pre { margin: 0; padding: 42px 28px; overflow-x: auto; color: #e5e7eb; font-size: 13px; line-height: 1.9; }
.code-muted { color: #8c939e; }
.code-key { color: #75a1ff; }
.code-value { color: #93dfb4; }
.code-status { border-top: 1px solid var(--hero-line); border-bottom: 0; }
.code-status span { color: #79dca3; }

.limits-section {
  width: var(--page);
  margin: 150px auto 0;
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr);
  gap: 100px;
}
.limits-section dl { margin: 0; border-top: 1px solid var(--line-strong); }
.limits-section dl > div { padding: 24px 0; display: grid; grid-template-columns: 160px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
.limits-section dt { font-size: 13px; font-weight: 680; }
.limits-section dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.faq-section { width: var(--page); margin: 150px auto 0; display: grid; grid-template-columns: minmax(280px, .66fr) minmax(0, 1.34fr); gap: 100px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 48px 24px 0; list-style: none; font-size: 14px; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; top: 20px; right: 4px; color: var(--blue); font: 400 22px/1 var(--mono); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 72ch; margin: 0; padding: 0 48px 24px 0; color: var(--muted); font-size: 13px; line-height: 1.68; }

.final-cta {
  width: var(--page);
  margin: 150px auto 84px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 26px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 25px 70px rgb(23 92 255 / 24%);
}
.final-cta .section-label { color: #c9d6ff; }
.final-cta h2 { font-size: clamp(38px, 4.5vw, 60px); }
.final-cta p:not(.section-label) { max-width: 690px; margin: 18px 0 0; color: #d6dfff; font-size: 14px; }
.final-cta > div:last-child { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; }
.final-cta .button-primary { background: #fff; color: var(--blue); box-shadow: none; }
.final-cta > div:last-child > a:last-child { font-size: 12px; font-weight: 650; }

footer {
  width: var(--page);
  margin: 0 auto;
  padding: 50px 0 35px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  border-top: 1px solid var(--line);
}
footer > div > p { max-width: 420px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer nav a { color: var(--muted); font-size: 12px; }
footer nav a:hover { color: var(--blue); }
footer nav a[aria-current='page'] { color: var(--ink); font-weight: 700; }
.footer-meta { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-light); font: 500 9px/1.5 var(--mono); }

@media (max-width: 1180px) {
  :root { --page: min(980px, calc(100vw - 36px)); }
  .models-hero { grid-template-columns: 1fr 430px; }
  .hero-copy { padding: 52px 44px; }
  .hero-copy h1 { font-size: clamp(51px, 6vw, 68px); }
  .choice-strip { grid-template-columns: 220px 1fr; gap: 32px; }
  .choice-list { grid-template-columns: 1fr 1fr; }
  .choice-list button:nth-child(3) { border-left: 0; }
  .model-list-head, .model-row { grid-template-columns: 1fr 1.1fr .9fr .8fr 82px; gap: 18px; }
  .limits-section, .faq-section { gap: 58px; }
}

@media (max-width: 900px) {
  .main-nav a:nth-child(1), .main-nav a:nth-child(5) { display: none; }
  .models-hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 570px; border-right: 0; border-bottom: 1px solid var(--hero-line); }
  .decision-console { min-height: 480px; }
  .console-metric-main { padding-block: 48px; }
  .choice-strip { grid-template-columns: 1fr; }
  .catalog-heading { grid-template-columns: 1fr; gap: 24px; }
  .model-list-head { display: none; }
  .model-row { grid-template-columns: 1fr 1fr; gap: 18px 28px; padding: 25px 18px; }
  .model-identity { grid-column: 1; grid-row: 1; }
  .model-purpose { grid-column: 1 / -1; grid-row: 2; }
  .model-id { grid-column: 1; grid-row: 3; }
  .model-price { grid-column: 2; grid-row: 1; text-align: right; }
  .compare-control { grid-column: 2; grid-row: 3; }
  .switch-section { grid-template-columns: 1fr; }
  .switch-copy { border-right: 0; border-bottom: 1px solid var(--hero-line); }
  .limits-section, .faq-section { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  :root { --page: calc(100% - 20px); }
  html { scroll-padding-top: 88px; }
  [id] { scroll-margin-top: 88px; }
  .site-header { top: 8px; }
  .header-inner { width: calc(100% - 16px); min-height: 58px; padding: 8px 8px 8px 13px; border-radius: 16px; }
  .wordmark { font-size: 15px; }
  .wordmark-mark { width: 30px; height: 30px; }
  .wordmark-context, .main-nav, .header-login { display: none; }
  .button-small { min-height: 40px; padding-inline: 13px; font-size: 12px; }
  main { padding-top: 78px; }
  .breadcrumbs { margin-top: 12px; font-size: 9px; }
  .models-hero { min-height: 0; border-radius: 22px; }
  .hero-copy { min-height: 590px; padding: 40px 20px 34px; }
  .eyebrow { margin-bottom: 44px; font-size: 9px; }
  .hero-copy h1 { margin-bottom: 24px; font-size: clamp(45px, 13vw, 58px); line-height: .91; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .decision-console { min-height: 430px; }
  .console-top { padding-inline: 18px; }
  .console-metric-main { padding: 38px 22px 30px; }
  .console-grid { grid-template-columns: 1fr 1fr; }
  .console-grid .console-metric { min-height: 120px; padding: 20px 16px; }
  .console-grid .console-metric:last-child { grid-column: 1 / -1; border-top: 1px solid var(--hero-line); border-left: 0; }
  .console-note { padding-inline: 18px; }
  .choice-strip { margin-top: 76px; }
  .choice-list { grid-template-columns: 1fr 1fr; }
  .choice-list button { min-height: 140px; padding: 19px 14px; }
  .choice-list button:nth-child(odd) { border-left: 0; }
  .catalog-section { margin-top: 104px; }
  .catalog-heading h2, .switch-copy h2, .limits-section h2, .faq-heading h2 { font-size: 42px; }
  .catalog-controls { margin-inline: -1px; padding: 10px; border-radius: 17px; }
  .search-field { min-height: 58px; padding-inline: 14px; }
  .filter-group { grid-template-columns: 1fr; gap: 8px; }
  .filter-group > span { padding: 3px 4px 0; }
  .filter-scroll { margin-inline: -2px; padding: 2px; }
  .catalog-status { gap: 12px; }
  .catalog-status > span { display: none; }
  .model-row { margin-inline: -2px; grid-template-columns: 1fr; gap: 16px; padding: 24px 4px; }
  .model-identity, .model-purpose, .model-id, .model-price, .compare-control { grid-column: 1; grid-row: auto; }
  .model-price { padding-top: 16px; border-top: 1px solid var(--line); text-align: left; }
  .compare-control { justify-content: flex-start; }
  .compare-panel { width: calc(100% - 20px); margin-top: 52px; padding: 24px 18px; border-radius: 20px; }
  .compare-head { align-items: flex-start; flex-direction: column; }
  .switch-section, .limits-section, .faq-section { margin-top: 105px; }
  .switch-section { border-radius: 22px; }
  .switch-copy { padding: 42px 20px; }
  .code-diff { margin: 18px 10px; }
  .code-diff pre { padding: 32px 16px; font-size: 11px; }
  .limits-section dl > div { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .faq-list summary { padding-right: 36px; }
  .faq-list p { padding-right: 12px; }
  .final-cta { margin: 105px auto 50px; padding: 32px 20px; border-radius: 22px; }
  .final-cta h2 { font-size: 42px; }
  .final-cta > div:last-child { width: 100%; align-items: stretch; flex-direction: column; }
  footer { grid-template-columns: 1fr; }
  footer nav { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
