:root {
  color-scheme: light;
  --paper: #fafaf7;
  --surface: #f5f8ed;
  --ink: #242521;
  --muted: #555b4d;
  --line: #dfe2d5;
  --lime: #e0f580;
  --lime-border: #c2d766;
  --lime-shadow: #b7cc59;
  --violet: #6d44b8;
  --violet-bg: #eee7fa;
  --violet-surface: #f4f0f8;
  --violet-border: #e2d9eb;
  --white: #ffffff;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2.5px solid #819940;
  outline-offset: 3px;
}
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .6; }
[hidden] { display: none !important; }
h1, h2 { text-wrap: balance; }

.sr-only, .honeypot {
  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: absolute;
  top: -64px;
  left: 20px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 50;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Canonical Full-Bleed Sticky Header (matches App 64px top bar) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 64px;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-shell {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wordmark {
  font-size: 23px;
  letter-spacing: -0.95px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.wordmark img {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 120ms ease;
}
.header-link:hover { color: var(--ink); }
.header-link[aria-current="page"] {
  color: var(--ink);
  box-shadow: 0 2px 0 #b6cd54;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 2px 0 #e7e9df;
  white-space: nowrap;
  transition: background-color 120ms ease, transform 110ms ease, box-shadow 110ms ease;
}
.header-signin:hover { background: #f1f4e8; }
.header-signin:active { transform: translateY(1px); box-shadow: 0 1px 0 #e7e9df; }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 10px;
  background: var(--lime);
  border: 1px solid var(--lime-border);
  box-shadow: 0 2px 0 var(--lime-shadow);
  color: #34421d;
  white-space: nowrap;
  transition: transform 110ms ease, background-color 120ms ease, box-shadow 110ms ease;
}
.header-cta:hover { background: #e9fa9b; }
.header-cta:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--lime-shadow); }

main { flex: 1; }

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
  padding: 48px 0 44px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: #edf4dc;
  border: 1px solid #d5e2b6;
  font-size: 12px;
  font-weight: 650;
  color: #3d5220;
  margin-bottom: 18px;
}
.hero-eyebrow svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.2px;
  font-weight: 750;
  margin: 0;
}

.price-highlight {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 13px 6px 10px;
  background: var(--lime);
  border-radius: 12px;
  border: 1px solid var(--lime-border);
  box-shadow: 0 3px 0 var(--lime-shadow);
  color: #2c3a17;
}

.intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 24px;
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Canonical App .primary & .secondary Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--lime);
  border: 1px solid var(--lime-border);
  box-shadow: 0 3px 0 var(--lime-shadow);
  color: #34421d;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}
.btn-primary:hover { background: #e9fa9b; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--lime-shadow); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 #e7e9df;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.btn-secondary:hover { background: #f1f4e8; }
.btn-secondary:active { transform: translateY(2px); box-shadow: 0 1px 0 #e6e9dd; }

.trial-helper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--violet-bg);
  border: 1px solid var(--violet-border);
  color: #4f2c8c;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
  margin: 14px 0 0;
}

.hero-copy, .hero-visual { min-width: 0; }

/* Standalone Dark Terminal Window */
.terminal-window {
  background: #141612;
  border: 1px solid #2b3026;
  color: #eef2e6;
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(20, 22, 18, 0.14), 0 2px 6px rgba(20, 22, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font: 500 13px/1.65 var(--mono);
  overflow: hidden;
}

.term-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #1c1f19;
  border-bottom: 1px solid #2a2f24;
  user-select: none;
}
.term-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.term-dots i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.term-dots i:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.term-dots i:nth-child(2) { background: #febc2e; opacity: 0.85; }
.term-dots i:nth-child(3) { background: #28c840; opacity: 0.85; }

.term-title {
  text-align: center;
  font: 600 11.5px/1 var(--mono);
  color: #8f9883;
}
.term-copy-btn {
  justify-self: end;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #343b2c;
  background: #23281e;
  color: #c5cfb7;
  font: 600 11px/1.2 var(--mono);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.term-copy-btn:hover {
  background: #2d3426;
  border-color: #4b563e;
  color: #f3f7ec;
}
.term-copy-btn.is-copied {
  background: #2b3a17;
  border-color: #6f8f33;
  color: var(--lime);
}

.terminal-stage {
  height: 256px;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.term-screen {
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: opacity 280ms ease;
}
.term-screen.is-fresh {
  animation: hp-term-fade-in 240ms ease;
}
.term-screen.is-fading {
  opacity: 0;
}
@keyframes hp-term-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.term-line {
  font-size: 13px;
  line-height: 1.65;
  color: #e6ecdb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.term-gap-top { margin-top: 9px; }

.term-dollar, .term-chevron { color: var(--lime); font-weight: 700; }
.term-cmd-inline { color: #f8faf4; font-weight: 600; }
.term-bright { color: #ffffff; font-weight: 700; }
.term-ok, .term-spinner { color: #b5ea54; font-weight: 700; }
.term-muted { color: #8c9680; }
.term-changed { color: #d8ef8b; font-weight: 600; margin-top: 4px; }
.term-changed-inline { color: #d8ef8b; font-weight: 700; }

.term-block-cursor {
  display: inline-block;
  width: 7.5px;
  height: 14px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--lime);
  opacity: 0;
}
.term-block-cursor.is-active {
  opacity: 1;
  animation: hp-cursor-blink 680ms steps(2) infinite;
}
@keyframes hp-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.term-menu {
  margin: 2px 0 2px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.term-menu.is-entering {
  animation: hp-menu-pop 160ms ease;
}
@keyframes hp-menu-pop {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
.term-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #8f9883;
  transition: background-color 140ms ease, color 140ms ease;
}
.term-menu-row.is-selected {
  background: #242e18;
  color: #ffffff;
}
.term-menu-row.is-confirmed {
  background: #33471b;
  color: #ffffff;
}
.term-menu-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.term-row-ptr {
  width: 8px;
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}
.term-menu-src {
  font-size: 11px;
  color: #7d8672;
  white-space: nowrap;
}
.term-menu-src.is-hp {
  color: var(--lime);
  font-weight: 650;
}

/* 3-Card Feature Strip (matches App .panel / .overview-stat) */
.features-section {
  padding: 36px 0 40px;
  border-top: 1px solid var(--line);
}
.section-eyebrow {
  font: 700 10.5px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #5b693c;
  display: block;
  margin-bottom: 8px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 31px);
  letter-spacing: -0.9px;
  font-weight: 750;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #f0f5df;
  border: 1px solid #dce6c2;
  color: var(--ink);
}
.feature-icon.is-violet { background: var(--violet-bg); border-color: var(--violet-border); color: #52317d; }
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 16.5px; letter-spacing: -0.35px; margin: 2px 0 0; font-weight: 740; line-height: 1.3; }
.feature-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.feature-card code, .faq-item code {
  font: 550 12px var(--mono);
  padding: 1px 5px;
  border-radius: 5px;
  background: #f0f3e6;
  color: #34421d;
}

/* Zero-Risk Trial Banner */
.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f4f9e2;
  border: 1px solid #cddfa0;
}
.trial-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.trial-banner-copy strong {
  font-size: 15px;
  font-weight: 740;
  letter-spacing: -0.25px;
  color: #263314;
}
.trial-banner-copy span {
  font-size: 13px;
  line-height: 1.5;
  color: #495735;
}
.trial-banner .btn-primary {
  flex-shrink: 0;
}

/* Objection-Handling FAQ */
.faq-section {
  border-top: 1px solid var(--line);
  padding: 40px 0 44px;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 20px;
  transition: border-color 120ms ease;
}
.faq-item[open] {
  border-color: #c5d3a1;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font: 600 18px/1 var(--mono);
  color: var(--muted);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  color: #4d6321;
}
.faq-item p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 72ch;
}

/* Final Zero-Risk CTA */
.final-cta {
  border-top: 1px solid var(--line);
  padding: 44px 0 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-cta h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -1.1px;
  font-weight: 760;
  margin: 0;
  max-width: 22ch;
}
.final-cta p {
  margin: 12px 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}
.final-cta .cta-row {
  justify-content: center;
}

/* Model Catalog Section */
.model-section {
  border-top: 1px solid var(--line);
  padding: 40px 0 44px;
}
.catalog-count {
  font: 600 12px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.catalog-tools {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
}
.search-box:focus-within {
  border-color: #647721;
  box-shadow: 0 0 0 3px rgba(129, 153, 64, 0.22);
  outline: none;
}
.search-box:focus-within kbd { display: none; }
.search-box svg { width: 17px; height: 17px; stroke: var(--muted); stroke-width: 1.75; flex-shrink: 0; }
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  padding: 11px 0;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  appearance: none;
}
.search-box input::-webkit-search-cancel-button {
  filter: grayscale(1);
  opacity: 0.65;
  cursor: pointer;
}
.search-box kbd {
  font: 600 11px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  background: var(--paper);
  transition: transform 140ms ease, background-color 140ms ease;
}
.search-box kbd.is-tapped { transform: scale(0.88); background: var(--lime); color: var(--ink); }

.provider-select { position: relative; width: 200px; flex-shrink: 0; }
.provider-select select {
  appearance: none;
  width: 100%;
  height: 100%;
  min-height: 44px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 34px 10px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.provider-select svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  pointer-events: none;
}

.catalog-caps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.cap-filter {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #dce1d1;
  background: #fafbf7;
  font-size: 12px;
  font-weight: 650;
  color: #555c4c;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.cap-filter:hover { background: #f0f4e5; color: var(--ink); }
.cap-filter.selected { background: var(--lime); border-color: #adc44d; color: #263114; }

.model-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.model-list { list-style: none; padding: 0; margin: 0; }
.model-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid #ecefe4;
  transition: background-color 120ms ease;
}
.model-card:last-child { border-bottom: 0; }
.model-card:hover { background: #f6f8f0; }

.model-identity { display: flex; align-items: center; min-width: 0; gap: 12px; }
.provider-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
}
.provider-icon img { width: 19px; height: 19px; object-fit: contain; display: block; }

.model-info { min-width: 0; }
.model-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.model-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.model-sub code {
  font: 500 11px var(--mono);
  color: #505746;
}

.model-tags {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
.model-tag {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 650;
  padding: 2.5px 7px;
  border-radius: 5px;
  background: #f0f2ea;
  color: #4b5342;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.model-tag.is-reasoning { background: #ebe5f9; color: #4c3277; }
.model-tag.is-fast { background: #e6f4ea; color: #245937; }
.model-tag.is-rate { background: #f6f8f0; border: 1px solid #e1e6d5; color: #3f4c28; }

.try-model {
  justify-self: end;
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  box-shadow: 0 1px 0 #e7e9df;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.model-card:hover .try-model { border-color: #afc270; }
.try-model:hover { background: var(--lime); border-color: var(--lime-border); color: #34421d; }

.model-status { font-size: 13px; color: var(--muted); margin: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.model-status:empty { display: none; }
.catalog-reset {
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}
.catalog-reset:hover { background: #eef2e3; }

.show-more {
  display: block;
  margin: 16px auto 0;
  padding: 9px 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 #e7e9df;
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
  transition: background-color 120ms ease, transform 110ms ease, box-shadow 110ms ease;
}
.show-more:hover { background: #f1f4e8; }
.show-more:active { transform: translateY(1px); box-shadow: 0 1px 0 #e7e9df; }

/* Simplified Unified Pricing Cards */
.pricing-section {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #f6f9ef;
  border: 1px solid #dce5cc;
  border-radius: 20px;
  padding: clamp(26px, 3.2vw, 36px);
  display: flex;
  flex-direction: column;
}
@media (min-width: 961px) {
  .pricing-grid {
    grid-template-rows: auto auto auto 1fr auto;
    row-gap: 0;
  }
  .price-card {
    display: grid;
    grid-row: 1 / span 5;
    grid-template-rows: subgrid;
    align-items: start;
  }
  .price-card .pack-toggle,
  .price-card .v3x-tank {
    align-self: center;
  }
  .price-card .price-points {
    align-self: stretch;
  }
  .price-card .btn-primary,
  .price-card .btn-boost-solid {
    margin-top: 0;
    align-self: end;
  }
}
.price-card.is-member {
  background: var(--violet-surface);
  border-color: var(--violet-border);
}
.price-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.price-card h3 {
  font-size: 20px;
  letter-spacing: -0.45px;
  font-weight: 740;
  margin: 0;
}
.plan-tag {
  font: 650 11.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #5b6a42;
}
.price-card.is-member .plan-tag {
  color: #65488b;
}

.price-hero {
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.price-amount {
  display: block;
  font-size: clamp(44px, 4.4vw, 54px);
  font-weight: 760;
  letter-spacing: -2.2px;
  line-height: 1;
  color: var(--ink);
}
.price-amount span {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.2px;
  color: #5d4a6e;
  margin-left: 3px;
}
.price-credits {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 550;
  color: #4a5738;
}
.price-credits strong {
  color: #263314;
  font-weight: 750;
}
.price-card.is-member .price-credits {
  color: #5a4475;
}
.price-card.is-member .price-credits strong {
  color: #46257d;
}

.pack-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  min-height: 44px;
  border-radius: 12px;
  background: #e9f0da;
  border: 1px solid #d5e1be;
}
.pack-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #485633;
  font: 700 13px/1 var(--mono);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.pack-preview:hover {
  color: var(--ink);
}
.pack-preview.is-featured {
  background: var(--white);
  border-color: #9cb363;
  color: #222e12;
  box-shadow: 0 1px 2px rgba(34, 46, 18, 0.08);
}

.v3x-tank {
  display: grid;
  gap: 5px;
  padding: 5px;
  border-radius: 12px;
  background: var(--violet-bg);
  border: 1px solid #d7c7ee;
  box-shadow: inset 0 1px 2px rgba(70, 37, 125, 0.08);
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.v3x-tank-cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.v3x-tank-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  border-radius: 7px;
  font: 700 12.5px/1 var(--mono);
  letter-spacing: -0.2px;
  overflow: hidden;
}
.v3x-tank-cell.is-paid {
  background: var(--white);
  border: 1px solid #d5c6ec;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(70, 37, 125, 0.12);
}
.v3x-tank-cell.is-bonus {
  background: linear-gradient(180deg, #7c52cf 0%, var(--violet) 100%);
  border: 1px solid #5933a1;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 0 rgba(56, 26, 112, 0.24);
  animation: v3x-tank-pulse 4.4s ease-in-out infinite;
}
.v3x-tank-cell.is-bonus::after {
  content: "";
  position: absolute;
  inset: -4px auto -4px -55%;
  width: 48%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(0) skewX(-20deg);
  pointer-events: none;
  animation: v3x-tank-sheen 4.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.v3x-tank-cell.is-bonus-2,
.v3x-tank-cell.is-bonus-2::after {
  animation-delay: 160ms;
}
.v3x-tank-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-items: center;
}
.v3x-tank-label {
  text-align: center;
  font: 700 10.5px/1 var(--mono);
  letter-spacing: 0.25px;
  white-space: nowrap;
}
.v3x-tank-label.is-paid {
  grid-column: 1;
  color: #6b558c;
}
.v3x-tank-label.is-bonus {
  grid-column: 2 / 4;
  color: #4b2889;
}
@keyframes v3x-tank-sheen {
  0%, 66% { transform: translateX(0) skewX(-20deg); opacity: 0; }
  72% { opacity: 1; }
  90% { transform: translateX(420%) skewX(-20deg); opacity: 0.9; }
  96%, 100% { transform: translateX(420%) skewX(-20deg); opacity: 0; }
}
@keyframes v3x-tank-pulse {
  0%, 66%, 100% { filter: brightness(1); }
  80% { filter: brightness(1.07); }
}

.price-points {
  list-style: none;
  padding: 20px 0 0;
  margin: 22px 0 28px;
  border-top: 1px solid #dde6cb;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: #3f4636;
}
.price-card.is-member .price-points {
  border-top-color: #dfd2f0;
  color: #4f3c61;
}
.price-points li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}
.price-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 750;
  color: #637f2a;
}
.price-card.is-member .price-points li::before { color: var(--violet); }
.price-card .btn-primary, .price-card .btn-boost-solid {
  margin-top: auto;
  width: 100%;
  min-height: 50px;
}

.btn-boost-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--violet);
  border: 1px solid #5a34a0;
  box-shadow: 0 3px 0 #4a2887;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.btn-boost-solid:hover { background: #7b52c6; }
.btn-boost-solid:active { transform: translateY(2px); box-shadow: 0 1px 0 #4a2887; }
.btn-boost-solid svg { width: 17px; height: 17px; fill: currentColor; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
}
footer .wordmark { font-size: 18px; gap: 7px; }
footer .wordmark img { width: 22px; height: 22px; }
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.footer-links a {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover, .footer-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}

/* Privacy & Terms Policy Pages */
.privacy-page {
  max-width: 680px;
  width: 100%;
  margin: 18px auto 0;
  padding: 20px 0 60px;
}
.privacy-page h1 {
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: -1.4px;
  margin: 0 0 8px;
}
.privacy-page h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 32px 0 10px;
}
.privacy-page p {
  font-size: 15px;
  line-height: 1.72;
  color: #3a3d35;
}
.privacy-page label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
}
.privacy-page input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #819c3e;
}
.policy-effective {
  font: 600 12px var(--mono) !important;
  color: var(--muted) !important;
  margin: 0 0 18px;
}
#privacy-status:empty { display: none; }

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .site-header-inner, .site-shell { padding: 0 24px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 34px 0 32px; }
  .intro { max-width: none; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 62px; }
  .site-header { height: 54px; }
  .site-header-inner { padding: 0 14px; gap: 8px; }
  .site-shell { padding: 0 16px; }
  .wordmark { font-size: 19px; gap: 6px; }
  .wordmark img { width: 23px; height: 23px; }
  .site-header nav { gap: 9px; }
  .header-link { font-size: 11.5px; padding: 4px 1px; }
  .header-link.hide-mobile, .header-signin { display: none; }
  .header-cta { min-height: 34px; padding: 6px 10px; font-size: 11.5px; border-radius: 9px; gap: 4px; }
  .hero { padding: 24px 0 28px; gap: 22px; }
  .hero h1 { font-size: 35px; letter-spacing: -1.5px; }
  .intro { font-size: 14.5px; margin: 14px 0 18px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; }
  .terminal-window { font-size: 11.5px; }
  .term-chrome { padding: 8px 11px; }
  .terminal-stage { height: 224px; padding: 14px 14px 15px; }
  .term-line { font-size: 11.5px; }
  .term-menu { margin-left: 8px; }
  .term-menu-row { padding: 3px 7px; font-size: 11px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .catalog-tools { flex-direction: column; }
  .search-box input, .provider-select select { font-size: 16px; }
  .search-box kbd { display: none; }
  .provider-select { width: 100%; }
  .model-card { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 14px; }
  .try-model { grid-column: 2; grid-row: 1; }
  .model-tags { grid-column: 1 / -1; justify-content: flex-start; padding-left: 44px; }
  .trial-banner { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; }
  .trial-banner .btn-primary { width: 100%; }
  .faq-item { padding: 0 15px; }
  .final-cta { padding: 34px 0 40px; }
  .final-cta .cta-row { width: 100%; }
  .price-card { padding: 22px; }
  .v3x-tank-cell { font-size: 12px; }
  .footer-links { gap: 13px; }
  footer { padding: 20px 0 28px; }
}

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