:root {
  color-scheme: dark;
  --bg: #080a0f;
  --bg-soft: #0c0f15;
  --panel: #11151d;
  --panel-2: #171c26;
  --paper: #f2f1eb;
  --paper-ink: #11141a;
  --text: #f4f4ef;
  --muted: #a4a9b3;
  --muted-strong: #c7cad1;
  --accent: #78f5bf;
  --accent-strong: #35d998;
  --blue: #82acff;
  --orange: #ffba73;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --max: 1240px;
  --radius: 20px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% -8%, rgba(95, 145, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 10% 18%, rgba(120, 245, 191, 0.07), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 0.42rem);
  gap: 0.16rem;
  padding: 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.035);
}

.brand-mark i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 0.1rem;
  background: var(--accent);
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) {
  opacity: 0.42;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

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

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.6rem;
}

.header-github,
.language-toggle {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 650;
}

.header-github {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.8rem;
  text-decoration: none;
}

.header-github span {
  color: var(--accent);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  cursor: pointer;
}

.language-toggle > span:first-child {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 760px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.hero-status > span:first-child {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(120, 245, 191, 0.1);
}

.hero-kicker,
.eyebrow,
.console-topline,
.chart-toolbar,
.profile-index,
.archive-notice > span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 1.15rem;
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.8rem, 6.7vw, 6.4rem);
  font-weight: 610;
  letter-spacing: -0.067em;
  line-height: 0.94;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 2rem;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  font-weight: 730;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #07130e;
}

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

.button-secondary:hover {
  border-color: rgba(120, 245, 191, 0.5);
}

.hero-traits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 3.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-traits li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  padding: 1rem 0.8rem 0 0;
}

.hero-traits li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero-traits span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.hero-traits strong,
.hero-traits small {
  display: block;
}

.hero-traits strong {
  font-size: 0.78rem;
}

.hero-traits small {
  color: var(--muted);
  font-size: 0.67rem;
}

.hero-console {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line-strong);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 74% 30%, rgba(94, 139, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(24, 29, 40, 0.96), rgba(11, 14, 20, 0.98));
  box-shadow: var(--shadow);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 48px 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.console-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.console-topline i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.upscale-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr);
  align-items: center;
  flex: 1;
  gap: 0.9rem;
  padding: 2rem 1.35rem 0.85rem;
}

.raster-panel {
  min-width: 0;
}

.raster-heading,
.raster-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.raster-heading {
  margin-bottom: 0.65rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.raster-heading span {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.raster-heading strong {
  color: var(--muted-strong);
  font-size: 0.7rem;
}

.raster-panel-output .raster-heading strong {
  color: var(--accent);
}

.pixel-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  background-color: rgba(5, 8, 13, 0.88);
  box-shadow: inset 0 0 28px rgba(5, 8, 13, 0.72);
}

.pixel-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(225, 235, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 235, 255, 0.13) 1px, transparent 1px);
  pointer-events: none;
}

.pixel-window-low::after {
  background-size: 25% 25%;
}

.pixel-window-high::after {
  background-size: 12.5% 12.5%;
}

.pixel-edge {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(145deg, rgba(120, 245, 191, 0.82), rgba(73, 168, 146, 0.35)),
    #17251f;
  filter: drop-shadow(0 0 16px rgba(120, 245, 191, 0.18));
}

.pixel-window-low .pixel-edge {
  clip-path: polygon(0 0, 100% 0, 100% 25%, 75% 25%, 75% 50%, 50% 50%, 50% 75%, 25% 75%, 25% 100%, 0 100%);
}

.pixel-window-high .pixel-edge {
  clip-path: polygon(0 0, 100% 0, 100% 12.5%, 87.5% 12.5%, 87.5% 25%, 75% 25%, 75% 37.5%, 62.5% 37.5%, 62.5% 50%, 50% 50%, 50% 62.5%, 37.5% 62.5%, 37.5% 75%, 25% 75%, 25% 87.5%, 12.5% 87.5%, 12.5% 100%, 0 100%);
}

.sample-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid #e9fff6;
  border-radius: 50%;
  background: #07100c;
  box-shadow: 0 0 0 3px rgba(120, 245, 191, 0.16), 0 0 14px rgba(120, 245, 191, 0.7);
  transform: translate(-50%, -50%);
}

.sample-dot:nth-of-type(3),
.sample-dot:nth-of-type(5) {
  border-color: #9ab9ff;
  box-shadow: 0 0 0 3px rgba(130, 172, 255, 0.14), 0 0 14px rgba(130, 172, 255, 0.55);
}

.pixel-window b {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  z-index: 4;
  padding: 0.28rem 0.38rem;
  border: 1px solid rgba(225, 235, 255, 0.18);
  border-radius: 0.35rem;
  background: rgba(5, 8, 13, 0.78);
  color: var(--muted-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  letter-spacing: 0.05em;
}

.pixel-window-high b {
  color: var(--accent);
}

.raster-foot {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.14rem;
  margin-top: 0.65rem;
}

.raster-foot strong,
.raster-foot small {
  display: block;
}

.raster-foot strong {
  color: var(--muted-strong);
  font-size: 0.66rem;
}

.raster-foot small {
  color: var(--muted);
  font-size: 0.56rem;
}

.upscale-arrow {
  display: grid;
  justify-items: center;
  gap: 0.42rem;
}

.upscale-arrow strong {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 650;
}

.upscale-arrow span {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--accent));
}

.upscale-arrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.upscale-arrow small {
  padding: 0.3rem 0.4rem;
  border: 1px solid rgba(120, 245, 191, 0.38);
  border-radius: 0.35rem;
  background: rgba(120, 245, 191, 0.08);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.upscale-note {
  position: relative;
  z-index: 2;
  margin: 0.35rem 1.35rem 1rem;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: center;
}

.upscale-note strong {
  color: var(--text);
  font-weight: 650;
}

.resolve-comparison {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.82);
}

.resolve-path {
  min-width: 0;
  padding: 0.8rem 0.9rem;
}

.resolve-path + .resolve-path {
  border-left: 1px solid var(--line);
}

.resolve-path span,
.resolve-path strong,
.resolve-path small {
  display: block;
}

.resolve-path span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.resolve-path strong {
  margin-top: 0.3rem;
  color: var(--muted-strong);
  font-size: 0.64rem;
}

.resolve-path small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.54rem;
}

.resolve-path-loss {
  opacity: 0.62;
}

.resolve-path-mspr {
  background: linear-gradient(120deg, rgba(120, 245, 191, 0.08), transparent);
}

.resolve-path-mspr span,
.resolve-path-mspr strong {
  color: var(--accent);
}

.metric-band {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 0.72fr);
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.metric-band > * {
  min-width: 0;
  min-height: 126px;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.metric-band > *:last-child {
  border-right: 0;
}

.metric-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-intro span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.metric-intro p {
  max-width: 420px;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.metric-band article {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-band article strong {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1;
}

.metric-band .metric-cost strong {
  font-size: clamp(1.12rem, 1.85vw, 1.55rem);
  letter-spacing: -0.035em;
}

.metric-band article small {
  margin-left: 0.25rem;
  color: var(--accent);
  font-size: 0.48em;
  letter-spacing: 0;
}

.metric-band article span {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.comparison-section {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 7.5rem) 0 1.5rem;
}

.comparison-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: 2rem;
}

.comparison-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.comparison-heading h2 em {
  color: var(--accent);
  font-style: normal;
}

.comparison-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.72;
}

.comparison-callout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 76px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(120, 245, 191, 0.28);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(100deg, rgba(120, 245, 191, 0.12), rgba(130, 172, 255, 0.045));
}

.comparison-callout span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.comparison-callout strong {
  font-size: clamp(0.82rem, 1.5vw, 1.02rem);
  font-weight: 620;
}

.comparison-table-shell {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 0 0 1rem 1rem;
  background: rgba(12, 15, 21, 0.78);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.comparison-table thead th {
  background: rgba(255, 255, 255, 0.028);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  width: 30%;
  font-size: 0.78rem;
  font-weight: 650;
}

.comparison-table tbody td {
  color: var(--muted-strong);
  font-size: 0.76rem;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.comparison-table .comparison-featured {
  background: linear-gradient(90deg, rgba(120, 245, 191, 0.115), rgba(120, 245, 191, 0.025));
}

.comparison-table .comparison-lite-row {
  background: linear-gradient(90deg, rgba(130, 172, 255, 0.1), rgba(130, 172, 255, 0.02));
}

.comparison-table .comparison-featured strong,
.comparison-table .comparison-featured .method-name {
  color: var(--text);
}

.comparison-table .comparison-featured td:last-child strong,
.table-best {
  color: var(--accent);
}

.method-name,
.comparison-table tbody th small {
  display: block;
}

.comparison-table tbody th small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 500;
}

.table-best {
  font-weight: 700;
}

.table-muted {
  color: var(--muted);
}

.mobile-cell-label {
  display: none;
}

.comparison-note {
  max-width: 1000px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.65;
}

.comparison-note strong {
  color: var(--muted-strong);
}

.section {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  font-weight: 590;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 500px;
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  min-height: 400px;
  padding: clamp(1.5rem, 3.7vw, 2.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-card.quality {
  border-color: rgba(242, 241, 235, 0.5);
  background: var(--paper);
  color: var(--paper-ink);
}

.profile-card.lite {
  background:
    radial-gradient(circle at 95% 5%, rgba(120, 245, 191, 0.13), transparent 16rem),
    var(--panel);
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.profile-index {
  color: var(--accent-strong);
}

.profile-card.lite .profile-index {
  color: var(--accent);
}

.profile-badge {
  padding: 0.35rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.65rem;
  opacity: 0.62;
}

.profile-card h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 1;
}

.profile-card > p {
  max-width: 570px;
  min-height: 4.8em;
  margin-bottom: 2rem;
  color: inherit;
  font-size: 0.87rem;
  opacity: 0.68;
}

.profile-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid currentColor;
  opacity: 0.82;
}

.profile-card dl > div {
  padding: 1rem 0.8rem 0 0;
}

.profile-card dt {
  font-size: 0.64rem;
  opacity: 0.65;
}

.profile-card dd {
  margin: 0.2rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
}

.pipeline-section {
  position: relative;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}

.pipeline::before {
  content: "";
  position: absolute;
  top: 54px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--accent), var(--line-strong));
}

.pipeline-node {
  position: relative;
  min-height: 250px;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
}

.pipeline-node:last-child {
  border-right: 0;
}

.pipeline-node > span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
}

.pipeline-node > i {
  position: relative;
  z-index: 2;
  display: block;
  width: 0.68rem;
  height: 0.68rem;
  margin: 1.1rem 0 4.3rem;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: #59606c;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.pipeline-node.active > i {
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(120, 245, 191, 0.55), 0 0 20px rgba(120, 245, 191, 0.35);
}

.pipeline-node strong,
.pipeline-node small {
  display: block;
}

.pipeline-node strong {
  font-size: 0.95rem;
}

.pipeline-node small {
  max-width: 190px;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.contract-grid > div {
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--line);
}

.contract-grid > div:last-child {
  border-right: 0;
}

.contract-grid span,
.contract-grid strong {
  display: block;
}

.contract-grid span {
  color: var(--muted);
  font-size: 0.62rem;
}

.contract-grid strong {
  margin-top: 0.2rem;
  font-size: 0.76rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(290px, 0.72fr);
  gap: 1rem;
  align-items: start;
}

.chart-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.23);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(17, 20, 26, 0.13);
  color: #59606b;
}

.chart-toolbar small {
  font: inherit;
  letter-spacing: 0.09em;
}

.chart-card img {
  width: 100%;
  height: auto;
}

.chart-card figcaption {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(17, 20, 26, 0.1);
  color: #646a73;
  font-size: 0.68rem;
}

.evidence-summary {
  display: grid;
  gap: 0.7rem;
}

.evidence-lead {
  min-height: 172px;
  padding: 1.3rem;
  border-radius: 1rem;
  background: var(--accent);
  color: #07110d;
}

.evidence-lead > span {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.evidence-lead > strong {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1;
}

.evidence-lead > strong small {
  margin-left: 0.2rem;
  font-size: 0.38em;
}

.evidence-lead p {
  max-width: 270px;
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  opacity: 0.72;
}

.evidence-note {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--panel);
}

.evidence-note > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
}

.evidence-note h3 {
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
}

.evidence-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.48;
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin: clamp(4rem, 7vw, 6rem) 0 1.5rem;
}

.gallery-heading h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 590;
  letter-spacing: -0.052em;
  line-height: 1;
}

.gallery-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.render-card {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: zoom-in;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.render-media {
  display: block;
  overflow: hidden;
  background: #fff;
}

.render-media img {
  width: 100%;
  height: auto;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.render-card:hover .render-media img {
  transform: scale(1.012);
}

.render-meta {
  display: grid;
  grid-template-columns: 0.7fr 1.7fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 78px;
  padding: 0.9rem 1.1rem;
}

.render-meta small {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.render-meta strong {
  font-size: 0.84rem;
}

.render-meta i {
  color: var(--muted);
  font-size: 0.67rem;
  font-style: normal;
}

.run-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
}

.run-copy h2 {
  margin-bottom: 1.2rem;
}

.run-intro {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.83rem;
}

.run-copy ol {
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.run-copy li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.run-copy li > span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.61rem;
}

.run-copy li p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.76rem;
}

code {
  color: #b4d1ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #05070b;
  box-shadow: var(--shadow);
}

.terminal-top,
.terminal-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
}

.terminal-top > span {
  display: flex;
  gap: 0.35rem;
}

.terminal-top > span i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #ff6c65;
}

.terminal-top > span i:nth-child(2) {
  background: #ffc05c;
}

.terminal-top > span i:nth-child(3) {
  background: #5dda91;
}

.terminal-top strong {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.terminal-top button {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  background: transparent;
  color: var(--muted-strong);
  font-size: 0.61rem;
  cursor: pointer;
}

.terminal pre {
  overflow-x: auto;
  min-height: 290px;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #e5e8ed;
  font-size: clamp(0.72rem, 1.45vw, 0.9rem);
  line-height: 2.1;
}

.terminal-status {
  min-height: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.terminal-status > span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.terminal-status i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

#copy-status {
  color: var(--accent);
}

.resources-section {
  padding-top: 5rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.resource-card {
  position: relative;
  display: grid;
  grid-column: span 1;
  min-height: 185px;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.resource-card.report {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(130, 172, 255, 0.13), var(--panel));
}

.resource-card:hover {
  border-color: rgba(120, 245, 191, 0.45);
  transform: translateY(-3px);
}

.resource-card span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.resource-card strong {
  align-self: end;
  font-size: 0.92rem;
  line-height: 1.3;
}

.resource-card i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--muted);
  font-style: normal;
}

.archive-notice {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  margin-top: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 186, 115, 0.24);
  border-radius: 1rem;
  background: rgba(255, 186, 115, 0.055);
}

.archive-notice > span {
  color: var(--orange);
}

.archive-notice strong {
  display: block;
  color: #f6d8b7;
  font-size: 0.8rem;
}

.archive-notice p {
  max-width: 760px;
  margin: 0.35rem 0 0;
  color: #baa994;
  font-size: 0.7rem;
}

.archive-notice > a {
  color: #f6d8b7;
  font-size: 0.68rem;
  white-space: nowrap;
}

.footnote {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.65rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
}

footer p {
  margin: 0;
}

footer p:last-child {
  display: flex;
  gap: 1rem;
}

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

.lightbox {
  width: min(96vw, 1480px);
  max-height: 94vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.2rem;
  background: #07090d;
  color: var(--text);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(1, 3, 6, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}

.lightbox-header span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.lightbox h2 {
  margin: 0.08rem 0 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.lightbox img {
  width: 100%;
  max-height: calc(94vh - 62px);
  object-fit: contain;
  background: #fff;
}

.lightbox-close {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-console {
    width: min(100%, 720px);
  }

  .metric-band {
    grid-template-columns: 1fr repeat(3, 0.65fr);
  }

  .comparison-heading {
    gap: 3rem;
  }

  .section-heading {
    gap: 3rem;
  }

  .profile-card dl {
    grid-template-columns: 1fr;
  }

  .profile-card dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 0.7rem;
  }

  .profile-card > p {
    min-height: 0;
  }

  .pipeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline::before {
    display: none;
  }

  .pipeline-node:nth-child(2) {
    border-right: 0;
  }

  .pipeline-node:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .pipeline-node > i {
    margin-bottom: 2.5rem;
  }

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

  .evidence-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .evidence-lead {
    grid-column: 1 / -1;
  }

  .evidence-note {
    grid-template-columns: 1fr;
  }

  .run-section {
    grid-template-columns: 1fr;
  }

  .run-copy {
    max-width: 760px;
  }

  .terminal {
    max-width: 820px;
  }

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

  .resource-card.report {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  body::before {
    background-size: 54px 54px;
  }

  .site-header,
  .hero,
  .metric-band,
  .comparison-section,
  .section,
  footer {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .header-github {
    display: none;
  }

  .language-toggle #language-label {
    display: none;
  }

  .hero {
    gap: 3rem;
    padding-top: 4.5rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-lede {
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-traits {
    grid-template-columns: 1fr;
  }

  .hero-traits li,
  .hero-traits li + li {
    padding: 0.8rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-console {
    min-height: 500px;
  }

  .upscale-stage {
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 1.25rem 0.75rem 0.65rem;
  }

  .raster-heading span {
    font-size: 0.48rem;
  }

  .upscale-arrow strong {
    font-size: 0.9rem;
  }

  .upscale-note {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .resolve-path {
    padding: 0.72rem 0.7rem;
  }

  .resolve-path strong {
    font-size: 0.58rem;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

  .metric-band > * {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-band > *:last-child {
    border-bottom: 0;
  }

  .comparison-section {
    padding-top: 5.5rem;
  }

  .comparison-heading {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .comparison-callout {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .comparison-table-shell {
    border-radius: 0 0 1rem 1rem;
  }

  .comparison-table,
  .comparison-table tbody {
    display: block;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table tbody tr:last-child {
    border-bottom: 0;
  }

  .comparison-table tbody th,
  .comparison-table tbody td {
    width: auto;
    padding: 0.55rem;
    border-bottom: 0;
  }

  .comparison-table tbody th {
    grid-column: 1 / -1;
    padding-bottom: 0.8rem;
    font-size: 0.86rem;
  }

  .comparison-table tbody td {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.14rem;
  }

  .comparison-table tbody td:last-child {
    grid-column: 1 / -1;
  }

  .mobile-cell-label {
    display: block;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .section {
    padding: 5.5rem 0;
  }

  .section-heading,
  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  h2 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .profile-grid,
  .evidence-summary {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 0;
  }

  .profile-header {
    margin-bottom: 3rem;
  }

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

  .pipeline-node,
  .pipeline-node:nth-child(2) {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-node:last-child {
    border-bottom: 0;
  }

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

  .contract-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contract-grid > div:last-child {
    border-bottom: 0;
  }

  .chart-toolbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    min-height: 58px;
  }

  .render-meta {
    grid-template-columns: 1fr auto;
  }

  .render-meta small {
    grid-column: 1 / -1;
  }

  .render-meta i {
    text-align: right;
  }

  .terminal pre {
    min-height: 240px;
    padding: 1.4rem;
    font-size: 0.68rem;
  }

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

  .resource-card,
  .resource-card.report {
    grid-column: span 1;
    min-height: 145px;
  }

  .archive-notice {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  footer p:last-child {
    justify-content: flex-start;
  }

  .lightbox {
    width: 98vw;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 0.76rem;
  }

  .hero-status {
    font-size: 0.6rem;
  }

  .hero-kicker {
    font-size: 0.58rem;
  }

  .hero-console {
    min-height: 470px;
  }

  .console-topline {
    font-size: 0.54rem;
  }

  .upscale-stage {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
    padding-right: 0.6rem;
    padding-left: 0.6rem;
  }

  .upscale-arrow small {
    padding: 0.26rem 0.3rem;
    font-size: 0.46rem;
  }

  .raster-foot small {
    display: none;
  }

  .resolve-path span {
    font-size: 0.43rem;
  }

  .profile-card {
    padding: 1.3rem;
  }

  .profile-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .render-meta {
    grid-template-columns: 1fr;
  }

  .render-meta i {
    text-align: left;
  }
}
