/* ---------- Fonts ---------- */
@font-face {
  font-family: "ChicagoFLF";
  src: url("fonts/ChicagoFLF.woff") format("woff"),
       url("fonts/ChicagoFLF.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: #111;
  color: #fff;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: inline-flex;
  line-height: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: #000;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding: 140px 40px 80px;
}

.hero-copy {
  text-align: left;
  animation: hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1,
.hero .tagline {
  font-family: "Newsreader", Georgia, serif;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #000;
}

.tagline {
  margin-top: 20px;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #8a8a8a;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-cta-note {
  font-size: 0.9rem;
  color: #9a9a9a;
}

.hero-product {
  display: flex;
  justify-content: center;
  animation: hero-in 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-product img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-product {
    animation: none;
  }
}

/* ---------- Features ---------- */
.features-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 32px;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.feature-numbered {
  max-width: none;
}

/* Variant A: grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #ececec;
}

.feature svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature h3,
.feature-num h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000;
  line-height: 1.4;
}

.feature p,
.feature-num p {
  font-size: 0.8rem;
  font-weight: 300;
  color: #9a9a9a;
  margin-top: 2px;
}

/* Variant B: numbered list */
.feature-numbered {
  display: none;
  max-width: 760px;
}

.feature-num {
  padding: 18px 0;
  border-bottom: 1px solid #ececec;
}

.feature-num:first-child {
  border-top: 1px solid #ececec;
}

.feature-num p {
  margin-top: 2px;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 32px;
}

.section-muted {
  background: #fafafa;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 96px;
}

.product-image {
  order: 2;
}

/* ---------- Section headers ---------- */
.section-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 48px;
}

/* ---------- Specs ---------- */
.specs ul {
  list-style: none;
}

.specs li {
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-areas:
    "label value"
    "label sub";
  column-gap: 32px;
  row-gap: 2px;
  padding: 20px 0;
  border-bottom: 1px solid #ececec;
}

.specs li:first-child {
  border-top: 1px solid #ececec;
}

.spec-label {
  grid-area: label;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  padding-top: 3px;
}

.spec-value {
  grid-area: value;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
}

.spec-sub {
  grid-area: sub;
  font-size: 0.85rem;
  font-weight: 400;
  color: #9a9a9a;
}

/* ---------- Benchmarks ---------- */
.benchmarks {
  max-width: 1120px;
  margin: 0 auto;
}

.benchmarks h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
}

.bench-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: #6b6b6b;
  max-width: 60ch;
  margin-bottom: 48px;
}


.model-list {
  list-style: none;
  max-width: 640px;
  margin-bottom: 56px;
}

.model-list li {
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
}

.model-list li:first-child {
  border-top: 1px solid #ececec;
}

/* ---------- Bench stats ---------- */
.bench-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 72px;
}

.bench-stats-row .bench-stats {
  margin-bottom: 0;
}

.inside-image {
  flex-shrink: 0;
  width: min(42%, 420px);
}

.inside-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.bench-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 96px;
  margin-bottom: 64px;
}

.bench-stat {
  display: flex;
  flex-direction: column;
}

.bench-stat-up {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 8px;
}

.bench-stat-num {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #000;
}

.bench-stat-label {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #6b6b6b;
}

/* ---------- Bench models ---------- */
.bench-models-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
  margin-bottom: 72px;
}

.bench-models-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 12px;
}

.bench-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 48px;
  margin-bottom: 72px;
}

.bench-model-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000;
}

.bench-model-config {
  font-size: 0.8rem;
  color: #9a9a9a;
  margin: 4px 0 0;
}

.bench-model .bench-stat {
  margin-bottom: 24px;
}

.bench-model .bench-stat-num {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.bench-model .bench-stat-label {
  margin-top: 6px;
  font-size: 0.8rem;
}

.bench-soon-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bench-soon-list span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
}

/* ---------- Bench full ---------- */
.bench-footnote {
  font-size: 0.72rem;
  color: #9a9a9a;
  margin: -48px 0 48px;
  max-width: 90ch;
}

.bench-full {
  margin-top: 0;
}

/* ---------- Bench CTA ---------- */
.bench-cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  text-align: left;
}

.bench-cta p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #6b6b6b;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.button-outline:hover {
  background: #111;
  color: #fff;
}

/* ---------- Tabs ---------- */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 32px;
}

.tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #9a9a9a;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.tab:hover {
  color: #111;
}

.tab.is-active {
  color: #000;
  border-bottom-color: #000;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fade-in 0.4s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-config {
  font-size: 0.85rem;
  font-weight: 400;
  color: #9a9a9a;
  margin-bottom: 28px;
}

.table-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 36px 0 12px;
}

.table-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #9a9a9a;
  max-width: 80ch;
}

.model-stats {
  list-style: none;
}

.model-stats li {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-areas:
    "label value"
    "label sub";
  column-gap: 32px;
  row-gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid #ececec;
}

.model-stats li:first-child {
  border-top: 1px solid #ececec;
}

.stat-label {
  grid-area: label;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  padding-top: 3px;
}

.stat-value {
  grid-area: value;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.stat-sub {
  grid-area: sub;
  font-size: 0.85rem;
  font-weight: 400;
  color: #9a9a9a;
}

.model-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #9a9a9a;
}

.table-wrap {
  overflow-x: auto;
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.bench-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9a9a;
  padding: 10px 20px 10px 0;
  border-bottom: 1px solid #111;
  white-space: nowrap;
}

.bench-table .model-row td {
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  padding: 20px 0 12px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #000;
}

.model-config {
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: #9a9a9a;
  margin-left: 12px;
}

.bench-table .table-gap td {
  border: none !important;
  height: 32px;
  padding: 0;
}

.bench-table td {
  padding: 12px 20px 12px 0;
  border-bottom: 1px solid #ececec;
  color: #111;
  font-variant-numeric: tabular-nums;
}

/* ---------- Images ---------- */
.product-image img,
.buy-image img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-image,
.buy-image {
  overflow: hidden;
  border-radius: 12px;
}

.product-image img:hover,
.buy-image img:hover {
  transform: scale(1.02);
}

/* ---------- Web search ---------- */
.websearch-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: #6b6b6b;
  margin: -32px 0 0;
  max-width: 40ch;
}

.websearch-media video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ---------- RAG ---------- */
.rag-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.rag-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
}

.rag-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: #6b6b6b;
  margin: 0;
}

.rag-visual {
  margin-top: 56px;
  padding: 36px 32px;
  border: 1px solid #ececec;
  border-radius: 16px;
}

.rag-stream-cap {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 24px;
}

.rag-stream {
  display: flex;
  align-items: stretch;
  gap: 20px;
  height: 220px;
}

.rag-words {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.rag-word {
  position: absolute;
  left: 0;
  padding: 4px 12px;
  background: #f2f2f2;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #111;
  white-space: nowrap;
  animation: rag-fly linear forwards;
}

@keyframes rag-fly {
  0% { transform: translateX(-80px); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(var(--dist, 400px)); opacity: 0; }
}

.rag-embedder {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #111;
}

.rag-vectors {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.rag-vector {
  white-space: nowrap;
  animation: rag-vec-in 0.25s ease-out;
}

@keyframes rag-vec-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.rag-counter {
  margin-top: 32px;
  text-align: center;
}

#rag-counter-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #000;
}

.rag-counter-label {
  margin-left: 10px;
  font-size: 0.9rem;
  color: #6b6b6b;
}

/* ---------- Train ---------- */
.train-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.train-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
}

.train-scroll {
  overflow-x: auto;
  margin-top: 48px;
}

.train-flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  min-width: 880px;
  padding: 0 8px;
}

.train-flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 84px;
  height: 1px;
  background: #d9d9d9;
}

.train-station {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.train-label {
  height: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.train-art {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.train-sub {
  margin-top: 12px;
  min-height: 18px;
  font-size: 0.72rem;
  color: #9a9a9a;
}

.train-ckpt {
  width: 16px;
  height: 16px;
  background: #111;
}

.train-server {
  width: 130px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #111;
}

.train-server img {
  height: 64px;
  width: auto;
}

/* ---------- Setup ---------- */
.setup-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.setup-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
}

.setup-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: #6b6b6b;
}

.setup-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.setup-arrow {
  color: #111;
  font-size: 1.1rem;
}

.setup-serve {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: #111;
  white-space: nowrap;
}

/* ---------- Statement ---------- */
.statement {
  padding: 160px 32px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #efefef;
}

.statement p {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: left;
  color: #000;
}

/* ---------- Buy price / addon / specs ---------- */
.buy-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 28px;
}

.buy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.buy-save-badge {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.buy-ship-badge {
  display: inline-block;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.how-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}

.reserve-steps {
  margin: 4px 0 24px;
  padding-left: 20px;
}

.reserve-steps li {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.buy-pricing {
  margin: 0 0 20px;
}

.buy-stock-label {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 10px;
}

.buy-booked {
  color: #9a9a9a;
}

.buy-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d32f2f;
  margin-right: 8px;
  vertical-align: 1px;
  animation: buy-pulse 2s ease-in-out infinite;
}

@keyframes buy-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.buy-stock-bar {
  height: 4px;
  background: #ececec;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}

.buy-stock-fill {
  width: 20%;
  height: 100%;
  background: #111;
  border-radius: 999px;
}

.buy-button-lg {
  width: 100%;
  justify-content: center;
  padding: 18px 40px;
  font-size: 0.95rem;
}

.buy-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.buy-price-old {
  font-size: 2rem;
  color: #9a9a9a;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.buy-price-num {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #000;
}

.buy-price-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6b6b6b;
}

.buy-addon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  cursor: pointer;
  user-select: none;
}

.buy-addon input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.buy-addon-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid #111;
  border-radius: 4px;
  position: relative;
  transition: background 0.2s ease;
}

.buy-addon-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.buy-addon input:checked ~ .buy-addon-check {
  background: #111;
}

.buy-addon input:checked ~ .buy-addon-check::after {
  transform: rotate(45deg) scale(1);
}

.buy-addon-text {
  font-size: 0.9rem;
  color: #111;
}

.buy-addon-price {
  margin-left: auto;
  font-size: 0.9rem;
  color: #6b6b6b;
  font-variant-numeric: tabular-nums;
}

.buy-specs {
  list-style: none;
  text-align: left;
  margin: 24px 0 32px;
}

.buy-specs li {
  display: grid;
  grid-template-columns: 92px 1fr;
  grid-template-areas:
    "label value"
    "label sub";
  column-gap: 24px;
  row-gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}

.buy-specs li:first-child {
  border-top: 1px solid #ececec;
}

.buy-specs .spec-label {
  grid-area: label;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  padding-top: 3px;
}

.buy-specs .spec-value {
  grid-area: value;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
}

.buy-specs .spec-sub {
  grid-area: sub;
  font-size: 0.8rem;
  color: #9a9a9a;
}

/* ---------- Buy carousel ---------- */
.buy-carousel {
  position: relative;
  overflow: hidden;
}

.buy-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.buy-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  padding-bottom: 24px;
}

.buy-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #111;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #111;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.carousel-arrow:hover {
  background: #111;
  color: #fff;
}

.carousel-arrow-prev {
  left: 12px;
}

.carousel-arrow-next {
  right: 12px;
}

.carousel-dots-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d9d9d9;
  transition: background 0.25s ease;
}

.carousel-dot.is-active {
  background: #111;
}

/* ---------- Buy ---------- */
.buy-details {
  text-align: left;
}

.buy-details h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 24px;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 32px;
}

.buy-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.buy-note {
  font-size: 0.95rem;
  color: #9a9a9a;
  text-align: left;
}

.buy-note-red {
  color: #d32f2f;
  font-weight: 500;
}

.buy-button-secondary {
  background: #fff;
  color: #111;
}

.buy-button-secondary:hover {
  background: #111;
  color: #fff;
}

.buy-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  padding: 16px 36px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.buy-button:hover {
  background: #fff;
  color: #111;
  gap: 18px;
}

.buy-button:active {
  transform: scale(0.98);
}

/* ---------- Remote access modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  max-width: 460px;
  width: 100%;
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #9a9a9a;
  cursor: pointer;
}

.modal h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin-bottom: 8px;
}

.modal-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 24px 0 10px;
}

.modal-date {
  width: 100%;
  padding: 12px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111;
}

.slot-scroll {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #d9d9d9 transparent;
}

.slot-scroll::-webkit-scrollbar {
  width: 6px;
}

.slot-scroll::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 999px;
}

.slot-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.slot-btn {
  padding: 10px 0;
  border: 1px solid #ececec;
  background: #fff;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #111;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.slot-btn:hover {
  border-color: #111;
}

.slot-btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

#access-submit {
  margin-top: 28px;
}

/* ---------- Footer ---------- */
footer {
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-inner p {
  font-size: 0.8rem;
  color: #9a9a9a;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-num {
    grid-template-columns: 48px 1fr;
    padding: 22px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 24px 64px;
    gap: 48px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-product img {
    max-width: 360px;
  }

  .bench-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .inside-image {
    width: 100%;
  }

  .bench-models-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rag-stream {
    height: 160px;
    gap: 12px;
  }

  .rag-visual {
    padding: 24px 16px;
  }

  .rag-vectors {
    font-size: 0.65rem;
  }

  .nav {
    padding: 18px 24px;
  }

  .hero {
    min-height: 88vh;
  }

  .section {
    padding: 72px 24px;
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-image {
    order: -1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
