/*
 * Shared layout for Similar.dev landing concept prototypes.
 * Each concept adds a body class and overrides CSS variables for accent colors.
 */

:root {
  --black: #000000;
  --ink: #f3f1ea;
  --muted: #9a9d97;
  --dim: #5c5f5a;
  --line: rgba(243, 241, 234, 0.12);
  --line-strong: rgba(243, 241, 234, 0.22);
  --panel: #0a0a0a;
  --accent: #56fef4;
  --accent-2: #ff4fa3;
  --accent-3: #fdb842;
  --page: 1180px;
  --serif: "Iowan Old Style", "Baskerville", "Georgia", serif;
  --sans: "Helvetica Neue", "Inter", "Arial", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", "Menlo", "Roboto Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

p {
  margin-top: 0;
  line-height: 1.65;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--black);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 40px), var(--page));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.is-accent {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 22px;
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.brand-mark span:first-child {
  top: 0;
  left: 0;
  background: var(--accent);
}

.brand-mark span:last-child {
  right: 0;
  bottom: 0;
  background: transparent;
}

.brand-dot {
  color: var(--accent);
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.primary-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

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

.menu-button {
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--black);
  background: var(--accent);
}

.button-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.button-quiet {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.button-full {
  width: 100%;
}

.hero {
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-lede {
  max-width: 54ch;
  margin: 22px 0 28px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats div strong {
  display: block;
  font-size: 22px;
}

.hero-stats div span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 28px;
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}

.price-kicker {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.price-card h3 {
  margin: 16px 0 10px;
  font-size: 26px;
}

.price-card ul {
  flex: 1;
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.benchmark-placeholder {
  padding: 32px;
  border-style: dashed;
}

.benchmark-placeholder h3 {
  margin-bottom: 8px;
}

.badge-soon {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-3) 22%, transparent);
  color: var(--accent-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.code-block {
  overflow: auto;
  margin: 0;
  padding: 22px;
  border-radius: 12px;
  background: #050505;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.code-block .kw {
  color: var(--accent-2);
}

.code-block .str {
  color: var(--accent-3);
}

.code-block .cm {
  color: var(--dim);
}

.form-page {
  max-width: 520px;
  padding: 72px 0 96px;
}

.form-page h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
}

.proto-note {
  margin: 16px 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 14px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #050505;
}

.doc-main {
  padding: 64px 0 96px;
}

.doc-main h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
}

.doc-main h2 {
  margin: 36px 0 12px;
  font-size: 22px;
}

.doc-main ul {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.concept-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .menu-button {
    display: block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 58px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #050505;
  }

  .primary-nav.open {
    display: flex;
  }

  .header-cta .button-quiet {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/*
 * Atlas Pro theme - evolution of Model Atlas.
 *
 * Teal / turquoise primary accent, warm amber secondary for emphasis, and
 * magenta reserved for code keywords. Layouts are deliberately dense: every
 * section pairs copy with a visual object so no viewport reads as empty.
 */

:root {
  --accent: #56fef4;
  --accent-deep: #1fbfb8;
  --accent-2: #ffb547;
  --accent-3: #ff4fa3;
  --panel: #0a0c0c;
  --panel-2: #0f1313;
  --page: 1200px;
}

body.theme-atlas-pro {
  background:
    radial-gradient(ellipse 70% 45% at 85% -5%, rgba(86, 254, 244, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 40% at 5% 30%, rgba(255, 181, 71, 0.07), transparent 60%),
    var(--black);
}

.header-cta .button-primary {
  color: #041413;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
}

/* Grid children default to min-width:auto, which lets a wide <pre> stretch
   the column past the viewport on phones. Reset so overflow stays inside. */
.hero-grid > div,
.two-col > *,
.sauce-grid > *,
.benchmark > *,
.final-cta > *,
.doc-layout > * {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.02;
}

.hero h1 em {
  color: var(--accent);
}

.hero-lede {
  font-size: 17px;
  margin: 18px 0 24px;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  padding-top: 18px;
  gap: 14px;
}

.hero-stats div span {
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

.hero-stats div strong {
  font-size: 24px;
  color: var(--ink);
}

.hero-stats div strong small {
  margin-left: 2px;
  color: var(--accent);
  font-size: 13px;
}

/* Code window with typewriter ------------------------------------------- */

.code-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #050707;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(86, 254, 244, 0.08);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
}

.code-head i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.code-head i:first-child {
  background: var(--accent);
}

.code-head i:nth-child(3) {
  background: var(--accent-2);
}

.code-head span {
  margin-left: 8px;
}

.code-head .copy {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}

.code {
  margin: 0;
  padding: 20px 22px;
  min-height: 300px;
  overflow-x: auto;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre;
}

.code .k {
  color: var(--accent-3);
}

.code .f {
  color: var(--accent);
}

.code .s {
  color: var(--accent-2);
}

.code .c {
  color: var(--dim);
}

.code .caret {
  color: var(--accent);
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.event-log {
  padding: 12px 22px 16px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}

.event-log div {
  transition: opacity 300ms ease;
}

.event-log b {
  margin-right: 8px;
  color: var(--accent);
  font-weight: 600;
}

/* Sections ---------------------------------------------------------------- */

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Model catalog ----------------------------------------------------------- */

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-color: color-mix(in srgb, var(--card-accent) 45%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 9%, transparent), transparent 55%),
    var(--panel);
}

.model-card .kicker {
  display: flex;
  justify-content: space-between;
  color: var(--card-accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-card h3 {
  margin: 12px 0 6px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.model-card p {
  flex: 1;
  margin-bottom: 14px;
  font-size: 14px;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.spec-row span {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.spec-row strong {
  font-size: 12px;
}

.model-card.is-flagship::after {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--card-accent);
  color: #041413;
  content: "Recommended";
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Weight comparison ------------------------------------------------------- */

.weight-panel {
  padding: 24px;
}

.weight-panel h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bar {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.bar i {
  display: block;
  height: 12px;
  width: var(--w);
  border-radius: 3px;
  background: var(--line-strong);
}

.bar.is-ours i {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}

.bar.is-ours {
  color: var(--ink);
}

.bar strong {
  text-align: right;
}

/* Benchmark placeholder ---------------------------------------------------- */

.benchmark {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px;
  border-style: dashed;
}

.benchmark h3 {
  margin: 8px 0;
  font-size: 22px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.score {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}

.score span {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.score strong {
  display: block;
  margin-top: 6px;
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 15px;
}

/* Magic sauce -------------------------------------------------------------- */

.sauce {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background:
    radial-gradient(circle at 90% 10%, rgba(86, 254, 244, 0.14), transparent 40%),
    var(--panel);
}

.sauce-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.sauce h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
}

.sauce h2 em {
  color: var(--accent);
}

.sauce .lede {
  color: var(--ink);
  font-size: 17px;
}

.outcomes {
  display: grid;
  gap: 10px;
}

.outcome {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
}

.outcome b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.outcome strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.outcome p {
  margin: 0;
  font-size: 13px;
}

.orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 300px;
  margin-inline: auto;
}

.orbit i {
  position: absolute;
  border: 1px solid rgba(86, 254, 244, 0.28);
  border-radius: 50%;
}

.orbit i:nth-child(1) {
  inset: 0;
  animation: spin 22s linear infinite;
}

.orbit i:nth-child(1)::after {
  position: absolute;
  top: 12%;
  left: 14%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-2);
  content: "";
}

.orbit i:nth-child(2) {
  inset: 18%;
  border-style: dashed;
}

.orbit i:nth-child(3) {
  inset: 38%;
  background: radial-gradient(circle, var(--accent), var(--accent-deep));
  border-color: transparent;
  box-shadow: 0 0 40px rgba(86, 254, 244, 0.45);
}

.orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #041413;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Commitments ------------------------------------------------------------- */

.commitments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.commit {
  padding: 24px;
}

.commit .pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill.is-live {
  background: rgba(86, 254, 244, 0.16);
  color: var(--accent);
}

.pill.is-soon {
  background: rgba(255, 181, 71, 0.18);
  color: var(--accent-2);
}

.commit .big {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}

.commit h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.commit p {
  font-size: 14px;
  margin: 0;
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.lang-chips span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.lang-chips span.on {
  border-color: var(--accent);
  color: var(--accent);
}

/* Pricing -------------------------------------------------------------------- */

.price-card {
  min-height: 0;
  padding: 24px;
}

.price-card .amount {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: 34px;
}

.price-card .amount small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
}

.price-card.featured {
  background:
    linear-gradient(180deg, rgba(86, 254, 244, 0.08), transparent 50%),
    var(--panel);
}

.price-card.featured .button-primary {
  color: #041413;
}

/* Final CTA ------------------------------------------------------------------ */

.final-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  background:
    linear-gradient(120deg, rgba(86, 254, 244, 0.12), rgba(255, 181, 71, 0.06)),
    var(--panel);
}

.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
}

.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: 14px;
}

.steps li::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

/* Docs page ------------------------------------------------------------------ */

.doc-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 48px 0 96px;
}

.doc-toc {
  position: sticky;
  top: 80px;
  align-self: start;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.doc-toc a {
  color: var(--muted);
}

.doc-toc a:hover {
  color: var(--ink);
}

.doc-body h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
}

.doc-body h2 {
  margin: 40px 0 10px;
  font-size: 22px;
}

.doc-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.doc-body th,
.doc-body td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc-body th {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.doc-body td code {
  color: var(--accent);
}

.lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.lang-tabs button {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.lang-tabs button[aria-selected="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-panel[hidden] {
  display: none;
}

.lang-panel .code {
  min-height: 0;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .sauce-grid,
  .benchmark,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .catalog,
  .commitments {
    grid-template-columns: 1fr;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .code {
    min-height: 0;
    font-size: 12px;
  }

  .bar {
    grid-template-columns: 90px 1fr 50px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
