@import url("/fonts/sofia-pro.css?v=20260420u2");

:root {
  --page-bg: #f3f4ef;
  --page-bg-soft: #f8f8f4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-muted: rgba(247, 248, 242, 0.9);
  --line: rgba(16, 24, 32, 0.1);
  --line-strong: rgba(16, 24, 32, 0.16);
  --text: #101820;
  --text-soft: #415060;
  --text-muted: #66727d;
  --accent: #1b4a77;
  --accent-soft: rgba(27, 74, 119, 0.08);
  --accent-line: rgba(27, 74, 119, 0.18);
  --shadow-soft: 0 18px 44px rgba(16, 24, 32, 0.05);
  --sans-font: "Sofia Pro", "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page-bg-soft);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top left, rgba(27, 74, 119, 0.045), transparent 34rem),
    linear-gradient(180deg, #fbfbf8 0%, #f3f4ef 54%, #f7f7f2 100%);
}

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

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

p,
ul,
ol,
li,
h1,
h2,
h3 {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

code,
pre {
  font-family: var(--mono-font);
}

.site-shell {
  min-height: 100vh;
}

.site-frame {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow-frame {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 248, 244, 0.82);
  border-bottom: 1px solid rgba(16, 24, 32, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 82px;
}

.site-logo img {
  width: auto;
  height: 36px;
}

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

.site-nav a,
.mobile-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 13px;
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a:hover,
.mobile-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
}

.site-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #344250;
}

.mobile-nav {
  display: none;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 16px;
  padding-top: 4px;
  border-top: 1px solid rgba(16, 24, 32, 0.06);
}

.mobile-nav.is-open {
  display: grid;
  gap: 4px;
}

.page-hero {
  padding: 120px 0 72px;
}

.hero-home {
  padding-top: 132px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 64px;
  align-items: center;
}

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

.hero-single h1,
.hero-single .lede {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1,
.section-heading h2,
.content-card h3,
.note-card h3,
.notice-card h2,
.console-card h2 {
  color: var(--text);
  font-family: var(--sans-font);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 4.8vw, 5rem);
  line-height: 0.96;
}

.hero-home h1 {
  max-width: 10ch;
}

.lede {
  max-width: 39rem;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.8;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel-block,
.content-card,
.note-card,
.notice-card,
.status-banner,
.table-card,
.console-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), var(--shadow-soft);
}

.hero-panel-block,
.content-card,
.note-card,
.notice-card,
.status-banner,
.console-card {
  padding: 28px;
}

.table-card {
  overflow: hidden;
}

.hero-panel-muted,
.future-card,
.section-muted .content-card.compact-card {
  background: linear-gradient(180deg, rgba(246, 247, 241, 0.92), rgba(246, 247, 241, 0.8));
}

.panel-label,
.card-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plain-list,
.definition-list {
  list-style: none;
}

.plain-list {
  display: grid;
  gap: 12px;
  color: #334251;
  line-height: 1.68;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(27, 74, 119, 0.36);
}

.button-row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-row {
  margin-top: 30px;
}

.button-row.left,
.link-row {
  justify-content: flex-start;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.button-primary {
  color: #ffffff;
  background: #182531;
  border: 1px solid #182531;
}

.button-primary:hover {
  transform: translateY(-1px);
  background: #101820;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line-strong);
}

.button-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

.text-link:hover {
  color: #123a60;
}

.page-section {
  padding: 64px 0 72px;
}

.page-section.section-muted {
  background: linear-gradient(180deg, rgba(249, 249, 245, 0.28), rgba(249, 249, 245, 0.7));
  border-top: 1px solid rgba(16, 24, 32, 0.04);
  border-bottom: 1px solid rgba(16, 24, 32, 0.04);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1;
}

.section-heading p {
  max-width: 43rem;
  color: var(--text-soft);
  line-height: 1.74;
}

.split-grid,
.card-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stacked-notes {
  display: grid;
  gap: 16px;
}

.content-card,
.note-card,
.notice-card,
.status-banner {
  display: grid;
  gap: 12px;
}

.content-card h3,
.note-card h3,
.notice-card h2 {
  font-size: 1.24rem;
  line-height: 1.18;
}

.content-card p,
.note-card p,
.notice-card p,
.status-banner p,
.definition-list p,
.content-card li p {
  color: var(--text-soft);
  line-height: 1.72;
}

.compact-card {
  padding: 22px 24px;
}

.pack-card h3 code,
.content-card code {
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.98em;
}

.pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.definition-list {
  display: grid;
  gap: 18px;
}

.definition-list li {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.definition-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.definition-list h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.definition-list.negative h3 {
  color: #7c2d2d;
}

.status-banner {
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(246, 247, 241, 0.92), rgba(246, 247, 241, 0.84));
}

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

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.benchmark-table th,
.benchmark-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.benchmark-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(250, 250, 246, 0.72);
}

.benchmark-table td {
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  color: var(--text-soft);
  line-height: 1.55;
}

.benchmark-table tr:first-child td {
  border-top: 0;
}

.benchmark-table td code {
  padding: 0.18rem 0.4rem;
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.05);
  color: var(--text);
}

.model-cell strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.model-cell span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.evidence-cell {
  display: grid;
  gap: 8px;
}

.evidence-cell a {
  color: var(--accent);
  font-weight: 600;
}

.evidence-cell a:hover {
  color: #123a60;
}

.table-loading,
.muted-inline {
  color: var(--text-muted);
}

.outcome-good {
  color: #21643b;
  font-weight: 700;
}

.outcome-bad {
  color: #8c2b2b;
  font-weight: 700;
}

.outcome-neutral {
  color: #5c6670;
  font-weight: 700;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #111a22;
  color: rgba(255, 255, 255, 0.82);
}

.console-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.console-bar p {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.console-body {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  background: #18222b;
  color: #d7dee4;
  font-size: 0.93rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.site-footer {
  margin-top: 56px;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(250, 250, 246, 0.46);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-title {
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 700;
}

.footer-copy,
.footer-meta {
  color: var(--text-soft);
  line-height: 1.68;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

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

  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .page-hero {
    padding-top: 96px;
  }

  .split-grid,
  .card-grid-2,
  .card-grid-3,
  .card-grid-4,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-frame,
  .mobile-nav {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 74px;
  }

  .site-logo img {
    height: 32px;
  }

  .page-hero {
    padding-top: 86px;
    padding-bottom: 52px;
  }

  .page-section {
    padding: 46px 0 54px;
  }

  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .hero-panel-block,
  .content-card,
  .note-card,
  .notice-card,
  .status-banner,
  .console-card {
    padding: 22px;
  }

  .button-row,
  .link-row,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .benchmark-table th,
  .benchmark-table td {
    padding: 14px 14px;
  }
}
