/* Boosta landing — dark-first, built on the app's own design tokens.
   Display type: system stack (native-utility identity). Utility voice: mono. */

:root {
  color-scheme: dark;
  --ink: #0e0f12;
  --ink-raise: #131418;
  --panel: #17181d;
  --panel-2: #1d1e24;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ecedf0;
  --text-2: #a6a9b2;
  --text-3: #71747d;
  --indigo: #6d86f5;
  --indigo-deep: #4f6bed;
  --green: #46d07f;
  --green-deep: #2faf5e;
  --amber: #e8a34a;
  --violet: #9d78f7;
  --cyan: #2cb9d4;
  --teal: #2fbfb4;
  --red: #ff5d5d;
  --radius: 12px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo,
    Consolas, monospace;
  --sect: clamp(96px, 12vw, 150px);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

/* author display rules must never beat the hidden attribute */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.mono { font-family: var(--mono); }

a { color: inherit; }

h1, h2, h3 { margin: 0; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.15s;
}
.skip:focus-visible { top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- nav ---------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 15, 18, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { border-radius: 5px; }
.ver {
  font-size: 11px;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 7px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.12s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--indigo-deep);
  border-radius: 8px;
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.12s;
}
.nav-cta:hover { background: var(--indigo); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 16vh, 170px) 24px 72px;
  text-align: center;
}
#aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--ink));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.hero .eyebrow { justify-content: center; }
.tick {
  width: 5px;
  height: 14px;
  border-radius: 2px;
  background: var(--c, var(--indigo));
  flex: none;
}

h1 {
  font-size: clamp(2.7rem, 7.2vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #f4f5f8;
}
.h-caret {
  display: inline-block;
  width: 0.09em;
  height: 0.82em;
  margin-left: 0.08em;
  vertical-align: -0.06em;
  border-radius: 2px;
  background: var(--indigo);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.sub {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--text-2);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: 13px;
  text-decoration: none;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-deep));
  box-shadow: 0 10px 34px rgba(79, 107, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.14s, box-shadow 0.14s, filter 0.14s;
}
.btn-big:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 40px rgba(79, 107, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-big:active { transform: translateY(0); }
.cta-ic { display: inline-flex; color: #fff; }
.cta-ic svg { width: 22px; height: 22px; }
.cta-ic:empty { display: none; }
.cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
#cta-label {
  font-size: 15.5px;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.01em;
}
.cta-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}
.btn-quiet {
  font-size: 14px;
  font-weight: 550;
  color: var(--text-2);
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.btn-quiet:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}
.cta-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------------- hero demo ---------------- */

.demo {
  margin: 56px auto 0;
  max-width: 720px;
  text-align: left;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 14px;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-bottom: none;
  font-size: 11px;
  color: var(--text-3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mb-app { font-weight: 600; letter-spacing: 0.01em; }
.mb-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mb-boosta {
  border-radius: 3.5px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.mb-boosta.hot {
  box-shadow: 0 0 10px rgba(255, 93, 93, 0.8);
  transform: scale(1.12);
}

.win {
  position: relative;
  background: rgba(24, 25, 31, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 0 0 14px 14px;
  border-top: none;
  /* tall enough that the floating result panel stays inside the window */
  min-height: 264px;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.win-dots i:first-child { background: rgba(255, 95, 87, 0.75); }
.win-dots i:nth-child(2) { background: rgba(254, 188, 46, 0.6); }
.win-dots i:nth-child(3) { background: rgba(40, 200, 64, 0.6); }
.win-title {
  font-size: 11px;
  color: var(--text-3);
}
.win-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  transition: opacity 0.25s;
  white-space: nowrap;
}
.win-chip b { font-weight: 650; color: var(--text); }
.chip-pipe { color: var(--pipe-c, var(--text-3)); font-weight: 600; }

.win-body {
  padding: 20px 22px 26px;
}
.ghost-line {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  margin: 0 0 14px;
}
.ghost-line.w55 { width: 55%; }
.ghost-line.w75 { width: 75%; }
.ghost-line.w35 { width: 35%; margin-bottom: 0; margin-top: 14px; }

.live-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 30px;
  margin: 18px 0 4px;
}
.live-line {
  position: relative;
  display: inline-block;
  font-size: 15.5px;
  line-height: 1.45;
  color: #e8e9ee;
  max-width: 100%;
}
.live-line.flash { animation: pasteflash 0.6s ease-out; border-radius: 4px; }
@keyframes pasteflash {
  0% { background: rgba(70, 208, 127, 0.18); box-shadow: 0 0 0 2px rgba(70, 208, 127, 0.18); }
  100% { background: transparent; box-shadow: 0 0 0 2px transparent; }
}
.sel {
  position: absolute;
  left: -3px;
  top: -2px;
  bottom: -2px;
  width: 0;
  border-radius: 4px;
  background: rgba(109, 134, 245, 0.32);
  pointer-events: none;
  transition: width 0.26s cubic-bezier(0.3, 0.7, 0.3, 1), opacity 0.15s;
}
.live-text {
  position: relative;
  transition: opacity 0.15s, filter 0.15s, transform 0.15s;
}
.live-text.out {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(-2px);
}
.live-text.enter { animation: enterIn 0.17s ease-out; }
@keyframes enterIn {
  from { opacity: 0; filter: blur(3px); transform: translateY(2px); }
}
.caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.14em;
  background: #cfd5ff;
  animation: blink 1s steps(2, start) infinite;
}
.caret[hidden] { display: none; }

kbd {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-width: 2.5px;
  border-radius: 6px;
  min-width: 22px;
  height: 23px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, border-bottom-width 0.1s, background 0.1s, color 0.1s;
}
.chord {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: chordIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes chordIn {
  from { opacity: 0; transform: translateY(4px) scale(0.92); }
}
.chord.pressed kbd {
  transform: translateY(1.5px);
  border-bottom-width: 1px;
  background: rgba(109, 134, 245, 0.22);
  color: #fff;
  border-color: rgba(109, 134, 245, 0.45);
}
.hold-tag {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px dashed rgba(232, 163, 74, 0.5);
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 4px;
}

/* the status pill — faithful to the app's overlay */
.pill {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: rgba(28, 29, 33, 0.74);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pop {
  from { transform: scale(0.85); opacity: 0; }
}
.pill[hidden] { display: none; }
.pill-slot { display: inline-flex; align-items: center; gap: 8px; }
.pill-div { color: rgba(255, 255, 255, 0.25); font-weight: 400; }
.pill-name { color: rgba(255, 255, 255, 0.7); }
.p-acc { font-weight: 700; }
.p-label { font-family: var(--mono); font-weight: 600; font-size: 12.5px; }
.p-green { color: var(--green); }
.p-blue { color: #6d9bff; }
.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.7);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }
.wave {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  height: 16px;
}
.wave i {
  width: 2.5px;
  height: 2px;
  border-radius: 1px;
  background: #ff4d4d;
  transition: height 0.05s linear, opacity 0.05s linear;
}
.bdots { display: inline-flex; align-items: center; gap: 4px; height: 10px; }
.bdots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  animation: bounce 0.9s ease-in-out infinite;
}
.bdots i:nth-child(2) { animation-delay: 0.14s; }
.bdots i:nth-child(3) { animation-delay: 0.28s; }
@keyframes bounce {
  0%, 100% { transform: translateY(2px); opacity: 0.55; }
  40% { transform: translateY(-3px); opacity: 1; }
}

/* overlay-output result panel — absolutely positioned so showing it
   never grows the demo window (no layout shift for content below) */
.result-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 3;
  width: min(420px, 100%);
  background: rgba(32, 33, 39, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  animation: panelIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transition: opacity 0.25s, transform 0.25s;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
}
.result-panel.fade { opacity: 0; transform: translateY(4px); }
.rp-head {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 8px 12px 7px;
  border-bottom: 1px solid var(--line);
}
.rp-body {
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 12px;
  color: var(--text);
}
.rp-foot {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 8px 8px;
}
.rp-btn {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 550;
  color: var(--indigo);
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 4px 9px;
  cursor: default;
}
.rp-btn:hover { background: rgba(109, 134, 245, 0.14); }

.hero-hint {
  margin: 26px 0 0;
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-hint .keycaps { display: inline-flex; gap: 3px; }
.hint-sep { color: var(--text-3); opacity: 0.5; }

/* ---------------- sections ---------------- */

.sect { padding: var(--sect) 0 0; }
main > .sect:last-child { padding-bottom: var(--sect); }

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #f4f5f8;
  margin: 0 0 14px;
}
.sect .eyebrow { margin-bottom: 16px; }
.sect-sub {
  max-width: 640px;
  margin: 0 0 40px;
  font-size: 16px;
  color: var(--text-2);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
}
.step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.step-visual {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.sv-select {
  font-size: 14px;
  color: #e8e9ee;
  background: rgba(109, 134, 245, 0.3);
  border-radius: 4px;
  padding: 3px 6px;
}
.keycaps.big kbd {
  min-width: 30px;
  height: 30px;
  font-size: 13.5px;
  border-radius: 7px;
}
.keycaps.big { display: inline-flex; gap: 5px; }
.sv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 29, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
}
.sv-check { color: var(--green); font-style: normal; font-weight: 700; }
.sv-pill .mono { color: var(--green); font-size: 12px; }
.sv-div { color: rgba(255, 255, 255, 0.25); font-weight: 400; }
.sv-name { color: rgba(255, 255, 255, 0.65); }
.step h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}
.step .mono { font-size: 0.92em; color: var(--text); }

/* workflow matrix */
.matrix {
  position: relative;
  padding: 30px clamp(20px, 4vw, 40px) 34px;
  overflow: hidden;
}
.matrix-controls {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.seg-group { display: flex; flex-direction: column; gap: 8px; }
.seg-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.segmented {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  flex-wrap: wrap;
}
.segmented button {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 550;
  color: var(--text-2);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  white-space: nowrap;
}
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] {
  background: var(--panel-2);
  color: var(--seg-c, var(--text));
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px color-mix(in srgb, var(--seg-c, transparent) 35%, transparent);
}

.pipe-display {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: clamp(15px, 2.4vw, 19px);
  font-weight: 650;
  margin-bottom: 20px;
}
.pipe-chip {
  color: var(--c, var(--text));
  background: rgba(255, 255, 255, 0.06);
  background: color-mix(in srgb, var(--c, #fff) 12%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-color: color-mix(in srgb, var(--c, #fff) 32%, transparent);
  border-radius: 9px;
  padding: 7px 14px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.pipe-arrow { color: var(--text-3); font-weight: 400; }
.pipe-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--indigo);
  background: rgba(109, 134, 245, 0.1);
  border: 1px solid rgba(109, 134, 245, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
}
.pipe-desc {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text-2);
  max-width: 560px;
  min-height: 48px;
}
.pipe-eg {
  margin: 0;
  font-size: 12px;
  color: var(--text-3);
}
.matrix-dots {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 7px;
}
.matrix-dots i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.matrix-dots i.on {
  background: var(--dot-c, var(--indigo));
  border-color: transparent;
  box-shadow: 0 0 12px rgba(109, 134, 245, 0.6);
  box-shadow: 0 0 12px color-mix(in srgb, var(--dot-c, var(--indigo)) 60%, transparent);
}

/* features */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 24px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat:hover {
  border-color: var(--line-strong);
  border-color: color-mix(in srgb, var(--c) 45%, var(--line));
  transform: translateY(-2px);
}
.feat-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--c);
  background: rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  margin-bottom: 18px;
}
.feat-ic svg { width: 21px; height: 21px; }
.feat h3 {
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.feat p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}
.feat .mono {
  font-size: 0.9em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 1px 5px;
}

/* prompts marquee */
.sect-full .wrap { margin-bottom: 40px; }
.marquee {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 12px;
  padding-right: 12px;
  white-space: nowrap;
  width: max-content;
}
.js .marquee-track.roll { animation: marquee var(--dur, 42s) linear infinite; }
.marquee[data-dir="-1"] .marquee-track.roll { animation-direction: reverse; }
.marquee:hover .marquee-track.roll { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.pchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  transition: color 0.15s, border-color 0.15s;
}
.pchip:hover { color: var(--text); border-color: var(--line-strong); }
.pdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, var(--green));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 8px color-mix(in srgb, var(--c, var(--green)) 55%, transparent);
}

/* download */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.dl-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dl-card.detected {
  border-color: rgba(109, 134, 245, 0.55);
  border-color: color-mix(in srgb, var(--indigo) 55%, var(--line));
  box-shadow: 0 0 0 1px rgba(109, 134, 245, 0.35), 0 12px 40px rgba(79, 107, 237, 0.12);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--indigo) 35%, transparent),
    0 12px 40px rgba(79, 107, 237, 0.12);
}
.dl-tag {
  position: absolute;
  top: -11px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--indigo-deep);
  border-radius: 999px;
  padding: 4px 10px;
}
.dl-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.dl-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
}
.dl-ic svg { width: 22px; height: 22px; }
.dl-ic-txt { font-size: 15px; font-weight: 700; letter-spacing: -0.05em; }
.dl-head h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
}
.dl-req { font-size: 11px; color: var(--text-3); }
.dl-btns { display: flex; flex-direction: column; gap: 8px; }
.btn-dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.14s, background 0.14s;
}
.btn-dl:hover {
  border-color: rgba(109, 134, 245, 0.55);
  border-color: color-mix(in srgb, var(--indigo) 55%, var(--line));
  background: rgba(109, 134, 245, 0.08);
}
.btn-dl .mono {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
}
.btn-dl.is-soon {
  color: var(--text-3);
  background: transparent;
  border-style: dashed;
  cursor: default;
}
.btn-dl.is-soon:hover {
  border-color: var(--line);
  background: transparent;
}
.dl-note {
  max-width: 720px;
  margin: 36px 0 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

/* footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
}
.foot-brand img { border-radius: 4px; }
.foot-dim { font-size: 11.5px; color: var(--text-3); font-weight: 400; }
.foot-path { color: var(--text-2); }

/* reveal on scroll (JS-gated so no-JS users see everything) */
.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .steps, .feat-grid, .dl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .steps, .feat-grid, .dl-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
  .live-line { font-size: 14px; }
  .matrix-dots { position: static; margin-top: 22px; }
  .pill { right: 12px; bottom: 12px; padding: 8px 13px; font-size: 12px; }
  .cta-row { flex-direction: column; }
  .btn-big, .btn-quiet { width: 100%; justify-content: center; }
  .btn-quiet { text-align: center; }
  .cta-text { align-items: center; }
  .eyebrow { font-size: 10px; letter-spacing: 0.12em; }
}

@media (max-width: 560px) {
  .win-title { display: none; }
  .win-chip { min-width: 0; }
  .win-chip b { overflow: hidden; text-overflow: ellipsis; }
  .chip-pipe { flex: none; }
}

/* ---------------- reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .h-caret, .caret, .rec-dot, .bdots i { animation: none; }
  .js .marquee-track.roll { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; white-space: normal; width: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .pill, .chord, .result-panel { animation: none; }
  .feat, .feat:hover { transform: none; }
  .btn-big, .btn-big:hover { transform: none; }
}
