:root {
  color-scheme: light;
  --panel: #f4f4f6;
  --surface: #fff;
  --track: #e3e3e8;
  --sep: #e2e2e6;
  --control: #d1d1d6;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #a1a1a6;
  --cap: #f2512f;
  --ok: #28a745;
  --warn: #d97a00;
  --danger: #e5312b;
  --tint-ok: #e2f3e6;
  --tint-warn: #faebd5;
  --tint-danger: #fbe2e0;
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- shared ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cap); }
.eyebrow.light { color: #ff8a66; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05;
}
h2 em, h1 em { font-style: normal; color: var(--cap); }
.body { font-size: 19px; line-height: 1.5; color: var(--text-2); }
.fine { font-size: 13px; font-weight: 500; color: var(--text-3); }
.center { text-align: center; }
.card { background: var(--surface); border: 1px solid var(--sep); border-radius: var(--radius); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 24px rgba(29,29,31,.25); }
.btn-outline { background: var(--surface); border: 1px solid var(--control); }
.btn-light { background: #fff; color: var(--text); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
:focus-visible { outline: 2px solid var(--cap); outline-offset: 3px; border-radius: 8px; }

/* ---------- nav ---------- */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 7px; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.wordmark span { color: var(--cap); }
.links { display: flex; align-items: center; gap: 32px; }
.links > a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--text-2); }
.links > a:not(.btn):hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 88px 0 56px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--sep);
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--ok); }
h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 84px); font-weight: 700; letter-spacing: -.035em; line-height: .98;
}
.lede { max-width: 720px; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--text-2); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 8px; }
.ctas.left { justify-content: flex-start; }

.install {
  display: flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--sep);
}
.install-label { font-size: 13px; font-weight: 500; color: var(--text-3); white-space: nowrap; }
.install code {
  font: 500 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text);
  white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.install code::-webkit-scrollbar { display: none; }
.copy {
  flex: none; border: 0; cursor: pointer; padding: 6px 12px; border-radius: 8px;
  background: var(--panel); color: var(--text); font: 600 13px var(--font);
}
.copy:hover { background: var(--track); }

/* ---------- stage ---------- */
.stage-section { padding-bottom: 120px; }
.stage {
  --s: 1;
  position: relative; border-radius: 32px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #292a2e, #131417);
  box-shadow: 0 30px 80px -10px rgba(18,18,26,.25);
}
.menubar {
  display: flex; align-items: center; gap: 16px; height: 36px; padding: 0 24px;
  background: rgba(255,255,255,.06); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.55);
}
.menubar .menus { flex: 1; white-space: nowrap; overflow: hidden; }
.status-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,.16); color: #fff; font-weight: 600;
}
.status-item svg { width: 14px; height: 14px; fill: #fff; }
.stage-body { display: grid; grid-template-columns: 1fr 320px; gap: 56px; padding: 48px 48px 48px 56px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.readout-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.value { font-family: var(--font-display); font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.v-over { color: #ff7359; opacity: 0; }
.chips { justify-items: start; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; }
.chip-ok { background: rgba(40,167,69,.18); color: #5fd17a; }
.chip-ok i { background: var(--ok); }
.chip-over { background: rgba(242,81,47,.2); color: #ff8c73; opacity: 0; }
.chip-over i { background: var(--cap); }

.chart { position: relative; height: calc(330px * var(--s)); margin-top: 40px; }
.baseline { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.12); }
.cap-line {
  position: absolute; left: 0; right: 0; bottom: calc(270px * var(--s)); height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #ff8c40, var(--cap));
  box-shadow: 0 0 16px rgba(242,81,47,.6);
  z-index: 2;
}
.cap-tag {
  position: absolute; left: 0; bottom: calc(270px * var(--s) + 12px); z-index: 2;
  padding: 4px 10px; border-radius: 999px; background: var(--cap); font-size: 12px; font-weight: 700;
}
.warn-line { position: absolute; left: 0; right: 0; bottom: calc(220px * var(--s)); border-top: 1.5px dashed rgba(217,122,0,.7); z-index: 2; }
.warn-tag { position: absolute; left: 0; bottom: calc(220px * var(--s) + 6px); font-size: 12px; font-weight: 600; color: #f0a640; z-index: 2; }
.bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 10px; }
.bar {
  flex: 1; max-width: 28px; height: calc(var(--h) * var(--s));
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(199,201,209,.85));
}
.bar.runaway { --h: 120px; background: rgba(255,255,255,.95); z-index: 3; }

.side-col { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.panel {
  background: var(--panel); color: var(--text); border-radius: 16px; padding: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; font-size: 15px; }
.panel-head span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.meter { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.meter-fill { height: 100%; width: 81.4%; border-radius: 4px; background: var(--ok); }
.panel-label { margin: 14px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.tab-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tab-rows li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface); font-size: 13px; font-weight: 500; }
.tab-rows li span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-rows li b { font-weight: 600; color: var(--text-2); }
.lock { width: 12px; height: 12px; fill: var(--text-2); color: var(--text-2); }
.panel-foot { display: flex; justify-content: space-between; padding-top: 12px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.panel-foot a { color: var(--cap); font-weight: 600; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transform: translateY(16px);
}
.toast svg { width: 20px; height: 20px; flex: none; }
.toast strong { display: block; font-size: 14px; }
.toast span { font-size: 12px; color: rgba(255,255,255,.6); }

/* stage motion — runs once .play is added (in view) */
.play .bar:not(.runaway) { animation: bar-in .7s cubic-bezier(.34,1.56,.64,1) calc(.1s + var(--i) * 60ms) both; }
.play .bar.runaway { animation: bar-in .7s ease-out 1.1s both, runaway 7s 1.9s infinite; }
.play .v-ok, .play .chip-ok { animation: fade-out-in 7s 1.9s infinite; }
.play .v-over, .play .chip-over { animation: fade-in-out 7s 1.9s infinite; }
.play .meter-fill { animation: meter-in 1.4s ease-out .2s both, meter 7s 1.9s infinite; }
.play .cap-line { animation: cap-pulse 7s 1.9s infinite; }
.play .toast { animation: toast 7s 1.9s infinite; }

@keyframes bar-in { from { height: 6px; } }
@keyframes meter-in { from { width: 4%; } }
@keyframes runaway {
  0%, 17% { height: calc(120px * var(--s)); background: rgba(255,255,255,.95); animation-timing-function: ease-in; }
  30% { background: #f29e33; }
  37% { height: calc(292px * var(--s)); background: #f2402e; }
  47% { height: calc(292px * var(--s)); background: #f2402e; animation-timing-function: cubic-bezier(.36,0,.66,-.56); }
  53% { height: calc(8px * var(--s)); background: rgba(255,255,255,.25); }
  88% { height: calc(8px * var(--s)); background: rgba(255,255,255,.25); animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
  100% { height: calc(120px * var(--s)); background: rgba(255,255,255,.95); }
}
@keyframes fade-out-in { 0%, 35% { opacity: 1; } 37%, 54% { opacity: 0; } 57%, 100% { opacity: 1; } }
@keyframes fade-in-out { 0%, 35% { opacity: 0; } 37%, 54% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes meter {
  0%, 17% { width: 81.4%; background: var(--ok); animation-timing-function: ease-in; }
  30% { background: var(--warn); }
  37%, 54% { width: 100%; background: var(--danger); }
  60%, 100% { width: 81.4%; background: var(--ok); }
}
@keyframes cap-pulse {
  0%, 35%, 52%, 100% { box-shadow: 0 0 16px rgba(242,81,47,.6); transform: scaleY(1); }
  39% { box-shadow: 0 0 40px rgba(242,81,47,.95); transform: scaleY(1.8); }
  44% { box-shadow: 0 0 14px rgba(242,81,47,.6); transform: scaleY(1); }
  47% { box-shadow: 0 0 36px rgba(242,81,47,.9); }
}
@keyframes toast {
  0%, 55% { opacity: 0; transform: translateY(16px); }
  60%, 86% { opacity: 1; transform: none; }
  91%, 100% { opacity: 0; transform: translateY(8px); }
}

/* ---------- problem ---------- */
.problem { display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: center; padding: 20px 0 140px; }
.problem-copy { display: grid; gap: 20px; }
.before-after { display: grid; gap: 10px; padding-top: 8px; }
.ba { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--sep); }
.ba p { font-size: 16px; font-weight: 500; line-height: 1.35; }
.tag { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag-danger { background: var(--tint-danger); color: var(--danger); }
.tag-ok { background: var(--tint-ok); color: var(--ok); }

.fq-art { position: relative; padding: 40px 60px 60px; }
.fq-glow {
  position: absolute; inset: 20px 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242,81,47,.28), rgba(242,81,47,0));
  filter: blur(40px);
}
.fq-window {
  position: relative; background: #ececec; border-radius: 14px; border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 28px 60px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.12);
  font-size: 13px; color: var(--text);
}
.fq-title { position: relative; height: 38px; display: grid; place-items: center; font-weight: 700; color: #2b2b2f; }
.lights { position: absolute; left: 14px; top: 13px; display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.fq-msg { display: flex; gap: 16px; padding: 8px 22px 16px; }
.caution { width: 56px; height: 50px; flex: none; }
.m1 { font-size: 14px; font-weight: 500; line-height: 1.3; }
.m2 { margin-top: 6px; font-size: 11px; line-height: 1.35; color: #4a4a4f; }
.fq-list { list-style: none; margin: 0 18px; padding: 0; background: #fff; border: 1px solid rgba(0,0,0,.14); }
.fq-list li { position: relative; display: flex; align-items: center; gap: 8px; padding: 4px 10px; line-height: 16px; }
.fq-list li > i { width: 16px; height: 16px; border-radius: 4px; background: var(--c); flex: none; }
.fq-list li > span { color: var(--text); }
.fq-list li.p > span { color: #e5312b; }
.fq-list em { font-style: normal; color: #8e8e93; }
.fq-list b { margin-left: auto; font-weight: 400; }
.fq-list li.chrome b { font-weight: 600; }
.chrome-ic { width: 16px; height: 16px; flex: none; }
.fq-buttons { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 18px; }
.fq-buttons span { padding: 5px 16px; border-radius: 7px; background: #fff; border: 1px solid rgba(0,0,0,.15); font-weight: 500; }
.fq-buttons .primary { background: #0a84ff; color: #fff; border-color: transparent; }

.marker {
  position: absolute; left: -36px; right: -36px; top: -7px; width: calc(100% + 72px); height: calc(100% + 14px);
  overflow: visible; pointer-events: none;
}
.marker path {
  fill: none; stroke: var(--cap); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.callout {
  position: absolute; right: -104px; top: 50%; translate: 0 -50%;
  padding: 8px 14px; border-radius: 999px; background: var(--cap); color: #fff !important;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(242,81,47,.35);
  opacity: 0; scale: .6;
}
.in-view .marker path { transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1) .3s; stroke-dashoffset: 0; }
.in-view .callout { transition: opacity .3s ease-out 1.2s, scale .6s cubic-bezier(.34,1.8,.64,1) 1.2s; opacity: 1; scale: 1; }

/* ---------- stats / steps / faq ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 120px; }
.stat { padding: 32px; display: grid; gap: 10px; align-content: start; }
.stat .k { font-size: 14px; font-weight: 600; color: var(--text-3); }
.stat .num { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat .num small { font-size: 24px; font-weight: 600; color: var(--text-2); margin-left: 6px; letter-spacing: 0; }
.stat p:last-child { font-size: 16px; line-height: 1.45; color: var(--text-2); }

.section { padding: 40px 0 120px; display: grid; gap: 56px; }
.section-tight { padding-bottom: 120px; }
.heading { display: grid; gap: 14px; justify-items: center; text-align: center; }
.heading .body { max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 32px; display: grid; gap: 14px; align-content: start; }
.step h3 { font-size: 24px; letter-spacing: -.015em; line-height: 1.2; }
.step p, .qa p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.ok { background: var(--tint-ok); color: var(--ok); }
.badge.warn { background: var(--tint-warn); color: var(--warn); }
.badge.danger { background: var(--tint-danger); color: var(--danger); }

.table { width: min(880px, 100%); justify-self: center; overflow: hidden; }
.tr { display: grid; grid-template-columns: 1fr 180px 180px; align-items: center; padding: 20px 32px; border-top: 1px solid var(--sep); font-size: 17px; font-weight: 500; }
.tr.th { border-top: 0; background: var(--panel); padding: 18px 32px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.tr > :not(:first-child) { justify-self: center; }
.brandc { color: var(--cap); }
.yes, .no { width: 22px; height: 22px; border-radius: 50%; display: block; }
.yes { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.no { background: var(--track) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.8 7.8l6.4 6.4M14.2 7.8l-6.4 6.4' stroke='%23a1a1a6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.band {
  display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center;
  padding: 72px; border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, #2b2b30, #131417);
}
.band-copy { display: grid; gap: 18px; }
.band-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.65); }
.band-copy .ctas { padding-top: 10px; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.facts dt { color: rgba(255,255,255,.5); font-weight: 500; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qa { padding: 32px; display: grid; gap: 10px; align-content: start; }
.qa h3 { font-size: 20px; letter-spacing: -.01em; }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 32px 0 48px; border-top: 1px solid var(--sep); font-size: 13px; color: var(--text-3);
}
.footer a:hover { color: var(--text); }
.credits { display: grid; gap: 6px; text-align: right; }
.credits .made { font-size: 14px; color: var(--text-2); }
.credits .made a { color: var(--text); font-weight: 600; }
.credits .made a:hover { color: var(--cap); }
@media (max-width: 760px) { .credits { text-align: left; } }
.brand.small .wordmark { font-size: 15px; }
.tagline { font-size: 14px; color: var(--text-2); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .stage-body { grid-template-columns: 1fr; }
  .side-col { flex-direction: row; align-items: flex-end; }
  .panel { flex: 1; max-width: 340px; }
  .problem { grid-template-columns: 1fr; gap: 24px; }
  .fq-art { max-width: 560px; justify-self: center; width: 100%; }
  .band { grid-template-columns: 1fr; padding: 48px; }
}
@media (max-width: 760px) {
  .links > a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .menubar .menus, .menubar .clock { display: none; }
  .menubar { justify-content: flex-end; }
  .stage { --s: .72; border-radius: 24px; }
  .stage-body { padding: 28px 20px 24px; gap: 28px; }
  .value { font-size: 40px; }
  .bars { gap: 4px; }
  .side-col { flex-direction: column; align-items: stretch; }
  .panel { max-width: none; }
  .stats, .steps, .faq { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 1fr 72px 72px; padding: 16px 18px; font-size: 15px; }
  .tr.th { padding: 14px 18px; font-size: 12px; }
  .band { padding: 32px 24px; }
  .fq-art { padding: 24px 0 40px; }
  .marker { left: -10px; right: -10px; width: calc(100% + 20px); }
  .callout { right: 4px; top: -26px; translate: none; font-size: 12px; padding: 5px 10px; }
  .fq-list { margin: 0 10px; }
  .fq-list li { font-size: 12px; }
  .fq-msg { padding: 8px 14px 14px; }
  .caution { width: 40px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marker path { stroke-dashoffset: 0; }
  .callout { opacity: 1; scale: 1; }
}
