@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #1e1e1e;
  --paper: #f3f6f8;
  --acid: #007acc;
  --purple: #0e639c;
  --muted: #5a6b75;
  --line: #d5dee4;
  --shell: min(1180px, calc(100vw - 40px));
  color-scheme: light;
  font-family: "Manrope", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, code { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.progress {
  position: fixed; inset: 0 0 auto; height: 4px; z-index: 100;
  background: var(--acid); transform: scaleX(0); transform-origin: left;
}

.nav {
  height: 82px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.04em; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: #9cdcfe; border-radius: 9px; }
.nav nav { display: flex; gap: 28px; color: var(--muted); font-size: 13px; font-weight: 700; }
.nav nav a:hover { color: var(--purple); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; padding-block: 76px; }
.eyebrow { margin: 0 0 22px; font: 500 11px/1.3 "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #32ca73; box-shadow: 0 0 0 5px #32ca7320; }
h1, h2 { margin: 0; letter-spacing: -.075em; line-height: .91; }
h1 { font-size: clamp(70px, 9.2vw, 126px); font-weight: 800; }
h1 em { color: var(--purple); font-style: normal; }
.lede { max-width: 610px; margin: 32px 0 28px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.lede code, .lede strong { color: var(--ink); }
.lede code { font: 500 14px "DM Mono", monospace; }
.install-row { width: min(100%, 620px); display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 0 var(--ink); overflow: hidden; }
.install-row code { padding: 17px 19px; font: 500 14px "DM Mono", monospace; }
.copy { align-self: stretch; border: 0; border-left: 1px solid var(--line); padding: 0 18px; background: var(--acid); color: #fff; cursor: pointer; font: 500 11px "DM Mono", monospace; text-transform: uppercase; }
.copy:hover { background: #1a8ad4; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 19px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.button.primary { background: var(--ink); color: white; }
.button.secondary { border: 1px solid var(--ink); }

.scoreboard { position: relative; border: 2px solid var(--ink); background: #9cdcfe; box-shadow: 16px 16px 0 var(--purple); transform: rotate(1.2deg); }
.score-main { padding: 34px; border-bottom: 2px solid var(--ink); }
.score-label { font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .14em; }
.score-main strong { display: block; margin-top: 12px; font-size: clamp(72px, 10vw, 132px); line-height: .88; letter-spacing: -.09em; }
.score-main strong span { font-size: .36em; letter-spacing: -.04em; }
.score-main p { margin: 18px 0 0; font-weight: 800; font-size: 19px; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; }
.score-grid div { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-bottom: 1px solid var(--ink); }
.score-grid div:nth-child(odd) { border-right: 1px solid var(--ink); }
.score-grid strong { font-size: 29px; letter-spacing: -.05em; }
.score-grid span { color: #08344f; font: 500 10px "DM Mono", monospace; text-transform: uppercase; }
.score-note { margin: 0; padding: 14px 20px; font: 500 10px/1.5 "DM Mono", monospace; }

.ticker { overflow: hidden; border-block: 2px solid var(--ink); background: var(--ink); color: white; }
.ticker div { width: max-content; padding: 15px 0; font: 500 12px "DM Mono", monospace; text-transform: uppercase; animation: marquee 30s linear infinite; }
.ticker span { margin-inline: 22px; color: #9cdcfe; }
@keyframes marquee { to { transform: translateX(-45%); } }

.lab, .apps { padding-block: 120px; }
.performance { padding-block: 88px 40px; }
.perf-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.perf-card {
  border: 1px solid var(--ink);
  background: #fff;
  padding: 14px 12px;
  min-height: 102px;
}
.perf-card.win { background: #9cdcfe; }
.perf-card.geo { background: var(--ink); color: #fff; }
.perf-card strong { display: block; margin: 8px 0 6px; font-size: 26px; letter-spacing: -.05em; }
.perf-card span { display: block; color: var(--muted); font: 500 10px/1.35 "DM Mono", monospace; text-transform: uppercase; }
.perf-card.geo span { color: #b7d7e8; }
.section-heading { display: grid; grid-template-columns: 1fr 430px; gap: 60px; align-items: end; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(58px, 7.5vw, 96px); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-heading code { font: 500 13px "DM Mono", monospace; color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.demo-card { border: 1px solid var(--ink); background: #fff; animation: card-in .45s both; animation-delay: calc(var(--order) * 35ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }
.demo-card > header, .demo-card > footer { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; }
.demo-card > header { border-bottom: 1px solid var(--ink); }
.demo-card > header > div { display: flex; align-items: center; gap: 12px; }
.case-number { color: var(--muted); font: 500 10px "DM Mono", monospace; }
.demo-card h3 { margin: 0; font-size: 15px; letter-spacing: -.025em; }
.saving { padding: 6px 9px; border-radius: 999px; background: #9cdcfe; font: 500 11px "DM Mono", monospace; }
.demo-frame-wrap { height: 520px; background: #1e1e1e; }
.demo-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-card > footer { color: var(--muted); font: 500 10px "DM Mono", monospace; }
.demo-card > footer > div { display: flex; gap: 14px; }
.demo-card > footer button { border: 0; padding: 0; background: transparent; cursor: pointer; color: inherit; font: inherit; }
.demo-card > footer a:hover, .demo-card > footer button:hover { color: var(--purple); }

.evidence { padding-block: 120px; background: var(--ink); color: white; }
.section-heading.inverse > p { color: #b7d7e8; }
.section-heading.inverse a, .section-heading.inverse code { color: #9cdcfe; }
.total-bar { display: grid; gap: 9px; margin-block: 48px; }
.total-bar > div { display: flex; justify-content: space-between; align-items: center; height: 58px; padding-inline: 18px; color: var(--ink); font: 500 12px "DM Mono", monospace; }
.bar-official { width: 100%; background: #8fb4c6; }
.bar-lil { background: #9cdcfe; }
.table-wrap { overflow-x: auto; border-top: 1px solid #1d3a4c; }
.table-wrap.light { border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font: 500 12px "DM Mono", monospace; }
th, td { padding: 16px 12px; text-align: right; border-bottom: 1px solid #1d3a4c; white-space: nowrap; }
.table-wrap.light th, .table-wrap.light td { border-bottom: 1px solid var(--line); }
th:first-child { text-align: left; }
thead th { color: #8fb4c6; font-size: 10px; text-transform: uppercase; }
.table-wrap.light thead th { color: var(--muted); }
tbody th { font: 700 13px "Manrope", sans-serif; }
tbody td:last-child strong { color: #9cdcfe; }
.table-wrap.light tbody td:last-child strong { color: var(--purple); }
.table-wrap.light tbody tr.primary-lane { background: #e8f4fb; }
.method-note { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 38px; padding: 24px; border: 1px solid #1d3a4c; }
.method-note p { max-width: 820px; margin: 0; color: #b7d7e8; line-height: 1.7; font-size: 13px; }
.method-note strong { color: white; }
.method-note a { color: #9cdcfe; font: 500 11px "DM Mono", monospace; white-space: nowrap; }
.perf-note { margin-top: 22px; color: var(--muted); font: 500 12px/1.6 "DM Mono", monospace; }

.conversion { padding-block: 88px 40px; }
.convert-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.convert-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 520px);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 0 4px 0 16px;
  box-shadow: 0 5px 0 var(--ink);
}
.convert-search span {
  color: var(--muted);
  font: 500 10px "DM Mono", monospace;
  text-transform: uppercase;
}
.convert-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 8px;
  outline: 0;
  font: 500 14px "DM Mono", monospace;
}
.chip {
  border: 1px solid var(--ink);
  background: #9cdcfe;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  font: 700 12px "DM Mono", monospace;
}
#convert-count { font: 500 12px "DM Mono", monospace; color: var(--muted); }
.convert-wrap tbody th, .convert-wrap .lil-cell { white-space: normal; text-align: left; }
.folder-jump { font: 700 13px "Manrope", sans-serif; border-bottom: 2px solid var(--acid); }
.folder-jump:hover { color: var(--purple); }
.lil-link {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #9cdcfe;
  font: 500 10px "DM Mono", monospace;
  vertical-align: middle;
}
.lil-link.loud { margin: 0; background: var(--acid); color: #fff; }
.lil-link.dim { margin: 8px 0 0; background: #d9e8f1; color: var(--ink); }
.lil-link:hover { opacity: .82; }
.js-link { color: var(--purple); font: 500 12px "DM Mono", monospace; }
.js-link:hover { border-bottom: 1px solid var(--purple); }
.pair-lils { display: block; margin-top: 6px; }
.lil-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

.closing { padding-block: 130px; text-align: center; }
.closing h2 { font-size: clamp(60px, 8.5vw, 112px); }
.install-row.large { margin: 48px auto 0; text-align: left; }
footer.shell { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font: 500 10px "DM Mono", monospace; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 60px; }
  .scoreboard { width: min(620px, calc(100% - 16px)); }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .demo-grid { grid-template-columns: 1fr; }
  .perf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .nav { height: 68px; }
  .nav nav a:not(:last-child) { display: none; }
  .hero { min-height: 0; padding-block: 62px 80px; }
  h1 { font-size: clamp(62px, 22vw, 92px); }
  .score-main { padding: 27px; }
  .score-grid strong { font-size: 23px; }
  .lab, .evidence, .performance, .apps { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .demo-frame-wrap { height: 360px; }
  .method-note { grid-template-columns: 1fr; }
  footer.shell { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker div, .demo-card { animation: none; }
}
