@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: #11120f;
  --paper: #f4f3ed;
  --acid: #e9ff59;
  --purple: #6847f5;
  --muted: #77786f;
  --line: #d6d5ce;
  --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(--purple); 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: var(--acid); border-radius: 9px; }
.nav nav { display: flex; gap: 28px; color: #4f504b; 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: #4f504b; font-size: 18px; line-height: 1.6; }
.install-row { width: min(100%, 500px); 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); cursor: pointer; font: 500 11px "DM Mono", monospace; text-transform: uppercase; }
.copy:hover { background: #dfff00; }
.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: var(--acid); box-shadow: 16px 16px 0 var(--purple); transform: rotate(1.5deg); }
.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: #424436; 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: var(--acid); }
@keyframes marquee { to { transform: translateX(-45%); } }

.lab { padding-block: 120px; }
.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: #5d5e57; font-size: 16px; line-height: 1.7; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 9px 14px; cursor: pointer; font-size: 12px; font-weight: 700; }
.filters button:hover, .filters button.active { border-color: var(--ink); background: var(--ink); color: white; }
.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: var(--acid); font: 500 11px "DM Mono", monospace; }
.demo-frame-wrap { height: 330px; background: #151610; }
.demo-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-card > footer { color: #676861; 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: #a7a89f; }
.section-heading.inverse a { color: var(--acid); }
.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-motion { width: 100%; background: #c9c9c2; }
.bar-lil { width: 87.58%; background: var(--acid); }
.table-wrap { overflow-x: auto; border-top: 1px solid #40413c; }
table { width: 100%; border-collapse: collapse; font: 500 12px "DM Mono", monospace; }
th, td { padding: 16px 12px; text-align: right; border-bottom: 1px solid #34352f; white-space: nowrap; }
th:first-child { text-align: left; }
thead th { color: #85867e; font-size: 10px; text-transform: uppercase; }
tbody th { font: 700 13px "Manrope", sans-serif; }
tbody td:last-child strong { color: var(--acid); }
.method-note { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 38px; padding: 24px; border: 1px solid #4b4c46; }
.method-note p { max-width: 820px; margin: 0; color: #b9bab2; line-height: 1.7; font-size: 13px; }
.method-note strong { color: white; }
.method-note a { color: var(--acid); font: 500 11px "DM Mono", monospace; white-space: nowrap; }

.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: #696a64; 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; }
}

@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 { padding-block: 82px; }
  .section-heading { margin-bottom: 38px; }
  .demo-frame-wrap { height: 300px; }
  .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; }
}
