:root {
  --bg: #080a0f;
  --bg-soft: #0b0e15;
  --panel: #101622;
  --panel-raised: #141c2b;
  --ink: #f3ece2;
  --ink-soft: #d7d0c7;
  --muted: #9aa6ba;
  --faint: #7b879a;
  --red: #ff4438;
  --red-deep: #b92a24;
  --gold: #e9c07c;
  --line: rgba(243, 236, 226, 0.1);
  --line-strong: rgba(243, 236, 226, 0.18);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --cs-gutter: clamp(18px, 4vw, 48px);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at 80% -12%, rgba(255, 68, 56, 0.16), transparent 62%),
    radial-gradient(900px 520px at 4% 108%, rgba(58, 92, 143, 0.2), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
  content: "";
  pointer-events: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

a {
  color: inherit;
}

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

::selection {
  background: rgba(255, 68, 56, 0.4);
  color: var(--ink);
}

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

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

.cs-shell {
  width: min(1180px, calc(100% - var(--cs-gutter) * 2));
  margin-inline: auto;
}

/* Reading progress */

.cs-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

@supports (animation-timeline: scroll()) {
  .cs-progress {
    animation: cs-progress linear both;
    animation-timeline: scroll();
  }
}

@keyframes cs-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Skip link */

.cs-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

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

/* Top bar */

.cs-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
  padding: 0 var(--cs-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.cs-brand img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 14px rgba(255, 68, 56, 0.3));
}

.cs-brand__name {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.cs-brand__name em {
  color: var(--red);
  font-style: normal;
}

.cs-brand__divider {
  width: 1px;
  height: 16px;
  margin: 0 2px;
  background: var(--line-strong);
}

.cs-brand__section {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}

.cs-nav__link:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

/* Hero */

.cs-main {
  scroll-margin-top: 88px;
}

.cs-main:focus {
  outline: none;
}

.cs-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(42px, 6vw, 68px);
}

.cs-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cs-kicker__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
}

.cs-hero__title {
  max-width: 1040px;
  margin-top: 24px;
  font-size: clamp(3.4rem, 8.6vw, 7rem);
  font-weight: 660;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.cs-accent {
  color: var(--red);
}

.cs-hero__lede {
  max-width: 780px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
  line-height: 1.62;
}

.cs-hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

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

.cs-button--primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--bg);
}

.cs-button--primary:hover {
  border-color: #ff6a60;
  background: #ff6a60;
}

.cs-button--ghost {
  color: var(--muted);
}

.cs-button--ghost:hover {
  border-color: rgba(255, 68, 56, 0.55);
  color: var(--ink);
}

.cs-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 810px;
  margin: 0;
}

.cs-facts dt {
  margin-bottom: 5px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.4;
}

/* Figures */

.cs-figure {
  margin: 0;
}

.cs-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
}

.cs-figure figcaption {
  margin-top: 10px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  line-height: 1.55;
}

.cs-figure code {
  color: var(--gold);
  font-size: 0.95em;
}

.cs-figure--hero {
  position: relative;
  margin-top: clamp(44px, 6vw, 72px);
}

.cs-figure--hero img {
  border-radius: 18px;
  box-shadow:
    0 40px 120px -60px rgba(255, 68, 56, 0.55),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

.cs-figure--library {
  margin-top: 32px;
}

.cs-figure--machine {
  margin: 30px 0;
}

.cs-figure--ppu img,
.cs-figure--hud img {
  border-radius: 12px;
}

.cs-figure--tests {
  position: sticky;
  top: 88px;
}

.cs-figure--tests img {
  border-color: rgba(243, 236, 226, 0.3);
  background: #f7f1e5;
}

.cs-figure--mobile img {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  border-radius: 18px;
}

.cs-figure--mobile figcaption {
  max-width: 360px;
  margin-inline: auto;
}

/* Sections */

.cs-sections {
  padding-bottom: 24px;
}

.cs-contents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.cs-contents a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 140ms ease;
}

.cs-contents a:hover {
  color: var(--red);
}

.cs-contents span {
  color: var(--red);
  font-size: 8px;
}

.cs-contents + .cs-section {
  border-top: 0;
}

.cs-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.cs-section__aside {
  padding-top: 6px;
}

.cs-section__number {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.cs-section__aside .cs-kicker {
  display: block;
}

.cs-section__body {
  max-width: 880px;
  min-width: 0;
}

.cs-section h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -0.035em;
  scroll-margin-top: 88px;
}

.cs-section h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cs-section__body > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.cs-section__body > p:last-child {
  margin-bottom: 0;
}

.cs-section__body > h3 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.cs-lede {
  color: var(--ink-soft) !important;
  font-size: clamp(1.1rem, 1.8vw, 1.24rem) !important;
  line-height: 1.62 !important;
}

.cs-section__body strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.cs-section__body > p code,
.cs-section__body li code,
.cs-small code,
.cs-figure figcaption code {
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--gold);
  font-size: 0.88em;
}

.cs-section__body > p a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Lists */

.cs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.cs-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cs-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--red);
  content: "";
}

.cs-list--tight {
  gap: 18px;
  margin-top: 0;
}

.cs-list--tight li {
  font-size: 14.5px;
  line-height: 1.65;
}

/* Comparison table */

.cs-compare {
  margin-top: 34px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(16, 22, 34, 0.72);
}

.cs-compare h3 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.cs-compare__intro {
  max-width: 620px;
  margin: 0;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.55;
}

.cs-compare table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

.cs-compare thead th {
  padding: 0 12px 8px 0;
  border-top: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.cs-compare tbody th,
.cs-compare tbody td {
  padding: 14px 12px 14px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.cs-compare tbody th {
  width: 150px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-compare tbody td:nth-child(2) {
  width: 36%;
  color: var(--faint);
}

.cs-compare tbody td:nth-child(3) {
  width: 40%;
  color: var(--muted);
}

.cs-compare tbody td code {
  color: var(--gold);
}

/* Frontends */

.cs-frontends {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.cs-frontend {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(16, 22, 34, 0.55);
}

.cs-frontend--native {
  border-top-color: var(--gold);
}

.cs-frontend--debug {
  border-top-color: #7d9cc9;
}

.cs-frontend--browser {
  border-top-color: var(--red);
}

.cs-frontend__tag {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cs-frontend h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
}

.cs-frontend p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.cs-frontend .cs-frontend__meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* Statement */

.cs-statement {
  margin: 34px 0;
  padding: clamp(22px, 3vw, 32px);
  border-left: 3px solid var(--red);
  border-radius: 0 14px 14px 0;
  background:
    linear-gradient(90deg, rgba(255, 68, 56, 0.16), rgba(255, 68, 56, 0.025)),
    var(--bg-soft);
}

.cs-statement p {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* Walkthrough */

.cs-walkthrough {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 40px);
  margin-top: 32px;
}

.cs-film {
  position: sticky;
  top: 88px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--panel);
  text-decoration: none;
  scroll-margin-top: 88px;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.cs-film:hover {
  border-color: rgba(255, 68, 56, 0.65);
  transform: translateY(-2px);
}

.cs-film__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05070b;
}

.cs-film__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.cs-film:hover .cs-film__media img {
  opacity: 0.88;
}

.cs-film__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: auto;
  border-radius: 50%;
  background: var(--red);
  color: var(--bg);
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 0 0 12px rgba(255, 68, 56, 0.16);
}

.cs-film__body {
  display: block;
  padding: 18px 20px 20px;
}

.cs-film__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cs-film__title {
  display: block;
  margin: 14px 0 6px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cs-film__copy {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cs-film__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-shotlist h3 {
  scroll-margin-top: 92px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.cs-shots {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.cs-shots > li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
}

.cs-shots__time {
  padding-top: 3px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.cs-shots h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cs-shots dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.cs-shots dl > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 10px;
}

.cs-shots dt {
  padding-top: 3px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-shots dd {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Steps */

.cs-steps {
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.cs-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cs-steps__number {
  padding-top: 4px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
}

.cs-steps h3 {
  margin: 0 0 6px;
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.018em;
}

.cs-steps p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Machine map */

.cs-machine {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(255, 68, 56, 0.09), transparent 70%),
    rgba(11, 14, 21, 0.75);
}

.cs-machine__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-machine__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.cs-machine__bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cs-node {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--line-strong);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #0c111b;
}

.cs-node--cpu {
  border-top-color: var(--red);
}

.cs-node--cart {
  border-top-color: var(--gold);
}

.cs-node--cpu::after,
.cs-node--cart::after {
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 1px;
  height: 15px;
  background: var(--line-strong);
  content: "";
}

.cs-node--cpu::after {
  background: rgba(255, 68, 56, 0.55);
}

.cs-node--cart::after {
  background: rgba(233, 192, 124, 0.55);
}

.cs-machine__bottom .cs-node::before {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 1px;
  height: 15px;
  background: var(--line-strong);
  content: "";
}

.cs-node__tag {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cs-node__name {
  display: block;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cs-node__detail {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.4;
}

.cs-machine__bus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 68, 56, 0.5);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 68, 56, 0.17), rgba(255, 68, 56, 0.035));
  box-shadow: 0 0 44px rgba(255, 68, 56, 0.08);
}

.cs-machine__bus-name {
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cs-machine__bus-copy {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.cs-machine__addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

/* Code */

.cs-code,
.cs-commands {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #060910;
}

.cs-code__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #0c111b;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-code__bar > span:last-child {
  margin-left: auto;
}

.cs-code__dots {
  display: flex;
  gap: 4px;
}

.cs-code__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.cs-code__dots i:nth-child(2) {
  background: var(--gold);
}

.cs-code__dots i:nth-child(3) {
  background: var(--line-strong);
}

.cs-code pre,
.cs-commands pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.cs-code code,
.cs-commands code {
  font-family: inherit;
}

.tok-kw {
  color: #ff877b;
}

.tok-fn {
  color: var(--gold);
}

.tok-ty {
  color: #8fb8e8;
}

.tok-com {
  color: var(--faint);
}

/* Stats */

.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.cs-stats > div {
  padding: 18px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(16, 22, 34, 0.55);
}

.cs-stats dt {
  margin-bottom: 9px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-stats dd {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.cs-stats strong {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cs-stats span {
  color: var(--faint);
  font-size: 12px;
  line-height: 1.3;
}

/* Benchmark meter */

.cs-meter {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(16, 22, 34, 0.55);
}

.cs-meter__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cs-meter__head span:first-child {
  color: var(--red);
}

.cs-meter__track {
  position: relative;
  height: 12px;
  margin: 34px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #080c13;
}

.cs-meter__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  box-shadow: 0 0 24px rgba(255, 68, 56, 0.35);
}

.cs-meter__mark {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: var(--at);
  width: 1px;
  background: var(--ink);
}

.cs-meter__mark span {
  position: absolute;
  bottom: 22px;
  left: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.cs-meter__right {
  position: absolute;
  right: 0;
  bottom: 22px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cs-meter__note {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.cs-meter__note code {
  color: var(--gold);
}

/* Verification */

.cs-verify {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(24px, 4vw, 36px);
  margin: 28px 0 34px;
}

.cs-verify h3 {
  margin-top: 0;
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
}

.cs-table thead th {
  padding: 0 10px 8px 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.cs-verify .cs-table {
  table-layout: fixed;
}

.cs-verify .cs-table th:first-child,
.cs-verify .cs-table td:first-child {
  width: 44%;
}

.cs-verify .cs-table th:nth-child(2),
.cs-verify .cs-table td:nth-child(2) {
  width: 38%;
}

.cs-verify .cs-table th:last-child,
.cs-verify .cs-table td:last-child {
  width: 18%;
}

.cs-table tbody th,
.cs-table tbody td {
  padding: 9px 10px 9px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.cs-table tbody th {
  color: var(--ink-soft);
  font-weight: 500;
}

.cs-table tbody td code {
  color: var(--gold);
  font-size: 11.5px;
}

.cs-table--wide {
  margin-top: 12px;
  table-layout: fixed;
}

.cs-table--wide tbody th {
  width: 32%;
}

.cs-table--wide th:nth-child(2),
.cs-table--wide td:nth-child(2) {
  width: 15%;
}

.cs-table--wide th:nth-child(3),
.cs-table--wide td:nth-child(3) {
  width: 15%;
}

.cs-table--wide th:last-child,
.cs-table--wide td:last-child {
  width: 38%;
}

.cs-pass,
.cs-manual {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cs-pass {
  color: var(--gold);
}

.cs-manual {
  color: var(--faint);
}

.cs-small {
  margin-top: 12px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.cs-commands {
  margin-top: 30px;
}

.cs-commands__label {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #0c111b;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-commands pre {
  font-size: 12px;
}

/* Columns */

.cs-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(24px, 4vw, 40px);
  margin: 28px 0;
}

.cs-cols .cs-figure {
  position: sticky;
  top: 88px;
}

.cs-cols .cs-figure--mobile {
  position: static;
}

/* Next */

.cs-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.cs-next li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cs-next li > span {
  padding-top: 4px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
}

.cs-next h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.cs-next p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

/* End CTA */

.cs-end {
  margin: 20px 0 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(255, 68, 56, 0.18), transparent 60%),
    var(--panel);
  scroll-margin-top: 88px;
}

.cs-end .cs-kicker {
  margin-bottom: 18px;
  color: var(--muted);
}

.cs-end h2 {
  max-width: 640px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cs-end p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cs-end .cs-actions {
  margin-top: 24px;
}

/* Footer */

.cs-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: #060910;
}

.cs-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0 28px;
}

.cs-footer__mark {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.cs-footer__mark em {
  color: var(--red);
  font-style: normal;
}

.cs-footer__note {
  max-width: 600px;
  color: var(--faint);
  font-size: 12.5px;
  line-height: 1.65;
}

.cs-footer__note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-footer__note a:hover {
  color: var(--red);
}

.cs-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.cs-footer__links a {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 140ms ease;
}

.cs-footer__links a:hover {
  color: var(--red);
}

.cs-footer__fine {
  padding: 0 0 34px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

/* Responsive */

@media (max-width: 980px) {
  .cs-section {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .cs-hero__bottom {
    flex-direction: column;
    gap: 24px;
  }

  .cs-facts {
    max-width: none;
  }

  .cs-walkthrough {
    grid-template-columns: 1fr;
  }

  .cs-film {
    position: static;
    max-width: 420px;
  }

  .cs-verify,
  .cs-cols {
    grid-template-columns: 1fr;
  }

  .cs-figure--tests,
  .cs-cols .cs-figure {
    position: static;
  }
}

@media (max-width: 820px) {
  .cs-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cs-section__aside {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 0;
  }

  .cs-section__number {
    margin-bottom: 0;
  }

  .cs-section__body {
    max-width: none;
  }

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

  .cs-frontends {
    grid-template-columns: 1fr;
  }

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

  .cs-next {
    grid-template-columns: 1fr;
  }

  .cs-footer__inner {
    flex-direction: column;
    gap: 24px;
  }

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

  .cs-machine__bottom .cs-node:nth-child(3)::before,
  .cs-machine__bottom .cs-node:nth-child(4)::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .cs-contents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-contents a {
    padding-block: 14px;
  }

  .cs-actions {
    width: 100%;
  }

  .cs-button {
    flex: 1;
    min-width: 0;
  }

  .cs-compare table,
  .cs-compare thead,
  .cs-compare tbody,
  .cs-compare tr,
  .cs-compare th,
  .cs-compare td {
    display: block;
  }

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

  .cs-compare tbody tr {
    padding: 14px 0;
    border-top: 1px solid var(--line-strong);
  }

  .cs-compare tbody th {
    width: auto;
    padding: 0 0 8px;
    border-top: 0;
  }

  .cs-compare tbody td {
    width: auto !important;
    padding: 4px 0;
    border-top: 0;
  }

  .cs-compare tbody td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .cs-shots > li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cs-shots__time {
    padding-top: 0;
  }

  .cs-shots dl > div {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }

  .cs-code,
  .cs-commands {
    margin-inline: calc(var(--cs-gutter) * -1);
    border-radius: 0;
  }

  .cs-meter__right {
    bottom: 20px;
  }
}

@media (max-width: 560px) {
  .cs-section,
  .cs-section h2,
  .cs-film,
  .cs-end {
    scroll-margin-top: 74px;
  }

  .cs-brand__divider,
  .cs-brand__section {
    display: none;
  }

  .cs-topbar {
    gap: 12px;
    height: 58px;
  }

  .cs-nav__link {
    padding: 6px 7px;
    font-size: 8.5px;
  }

  .cs-nav__link:last-child {
    display: none;
  }

  .cs-hero {
    padding-top: 40px;
  }

  .cs-hero__lede {
    margin-top: 22px;
  }

  .cs-actions {
    flex-direction: column;
  }

  .cs-button {
    width: 100%;
    flex: none;
  }

  .cs-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cs-facts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-top: 1px solid var(--line);
  }

  .cs-facts dt {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .cs-facts dd {
    text-align: right;
  }

  .cs-stats {
    grid-template-columns: 1fr;
  }

  .cs-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
  }

  .cs-stats dt {
    margin-bottom: 0;
  }

  .cs-stats dd {
    align-items: flex-end;
    text-align: right;
  }

  .cs-stats strong {
    font-size: 1.55rem;
  }

  .cs-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .cs-shots dl > div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .cs-machine__top {
    grid-template-columns: 1fr;
  }

  .cs-node--cpu::after {
    display: none;
  }

  .cs-machine__bottom {
    grid-template-columns: 1fr;
    padding-left: 16px;
    margin-left: 8px;
    border-left: 1px solid rgba(255, 68, 56, 0.3);
  }

  .cs-machine__bottom .cs-node::before {
    display: none;
  }

  .cs-machine__addresses {
    margin-left: 0;
  }

  .cs-table thead,
  .cs-table tbody,
  .cs-table tr,
  .cs-table th,
  .cs-table td {
    display: block;
  }

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

  .cs-table tbody tr {
    padding: 10px 0;
    border-top: 1px solid var(--line-strong);
  }

  .cs-table tbody th,
  .cs-table tbody td {
    padding: 3px 0;
    border-top: 0;
  }

  .cs-table tbody td::before {
    display: block;
    margin-bottom: 1px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .cs-table tbody th {
    width: auto;
  }

  .cs-verify {
    gap: 20px;
  }

  .cs-footer__inner {
    padding: 36px 0 24px;
  }

  .cs-end {
    padding: 24px 20px;
  }
}

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

  .cs-skip,
  .cs-button,
  .cs-nav__link,
  .cs-contents a,
  .cs-film,
  .cs-film__media img,
  .cs-footer__links a {
    transition: none;
  }

  .cs-button:hover,
  .cs-film:hover {
    transform: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .cs-progress,
  .cs-topbar,
  .cs-skip,
  .cs-film__play,
  .cs-hero .cs-actions,
  .cs-end .cs-actions,
  .cs-footer__links {
    display: none;
  }

  .cs-shell {
    width: 100%;
  }

  .cs-hero {
    padding-top: 0;
  }

  .cs-hero__title,
  .cs-accent,
  .cs-section h2,
  .cs-section__number,
  .cs-kicker,
  .cs-shots__time,
  .cs-steps__number,
  .cs-next li > span {
    color: #111;
  }

  .cs-hero__lede,
  .cs-section__body > p,
  .cs-list li,
  .cs-shots dd,
  .cs-next p,
  .cs-frontend p,
  .cs-footer__note,
  .cs-footer__fine {
    color: #333;
  }

  .cs-facts dt,
  .cs-facts dd,
  .cs-figure figcaption,
  .cs-kicker,
  .cs-small,
  .cs-compare__intro,
  .cs-meter__head,
  .cs-meter__note,
  .cs-shots dt,
  .cs-table thead th,
  .cs-manual,
  .cs-footer__fine {
    color: #555;
  }

  .cs-facts dd,
  .cs-table tbody th,
  .cs-table tbody td,
  .cs-pass,
  .cs-contents a {
    color: #333;
  }

  .cs-footer__note a {
    color: #333;
  }

  .cs-contents span {
    color: #111;
  }

  .cs-section__body code,
  .cs-table tbody td code,
  .cs-figure code {
    color: #333;
  }

  .cs-figure img {
    border-color: #ccc;
  }

  .cs-figure,
  .cs-compare,
  .cs-stats,
  .cs-frontend,
  .cs-statement,
  .cs-code,
  .cs-commands,
  .cs-meter {
    break-inside: avoid;
  }

  .cs-film,
  .cs-figure--tests,
  .cs-cols .cs-figure {
    position: static;
  }
}
