:root {
  --bg: #060908;
  --ink: #eef5f2;
  --muted: rgba(238, 245, 242, 0.62);
  --faint: rgba(238, 245, 242, 0.38);
  --line: rgba(238, 245, 242, 0.1);
  --mint: #1fa87a;
  --mint-bright: #2dd4a0;
  --mint-deep: #147a58;
  --mint-ink: #041510;
  --mint-soft: rgba(31, 168, 122, 0.16);
  --red: #ff5c6a;
  --amber: #e8b84a;
  --panel: #0a0f0d;
  --panel-2: #0e1411;
  --phone: #0b0d0c;
  --font: Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 168, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 168, 122, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(6, 9, 8, 0.92), transparent);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-sq {
  width: 10px;
  height: 10px;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(31, 168, 122, 0.55);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 0 0 rgba(45, 212, 160, 0.5);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 160, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(45, 212, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 160, 0); }
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.nav-link:hover {
  color: var(--ink);
  border-color: rgba(45, 212, 160, 0.4);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 4.5rem);
  min-height: calc(100dvh - 4.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 9, 8, 0.94) 0%, rgba(6, 9, 8, 0.7) 40%, rgba(6, 9, 8, 0.25) 70%, transparent 100%),
    linear-gradient(0deg, rgba(6, 9, 8, 0.95) 0%, rgba(6, 9, 8, 0.35) 42%, transparent 68%),
    radial-gradient(ellipse 60% 50% at 78% 40%, rgba(31, 168, 122, 0.14), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  min-height: inherit;
  padding: clamp(2rem, 7vh, 4rem) clamp(1.25rem, 4vw, 2.75rem) clamp(2rem, 6vh, 3.5rem);
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
  }
}

.hero-copy {
  animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.target {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-bright);
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.mint {
  color: var(--mint-bright);
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
}

.demo-chip {
  margin: 1.15rem 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.45rem 0.75rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 160, 0.28);
  background: rgba(31, 168, 122, 0.1);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.demo-chip-tag {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-chip-sym {
  font-weight: 700;
  color: var(--mint-bright);
}

.demo-chip-meta {
  color: var(--muted);
}

.actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.btn-mint {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(45, 212, 160, 0.25), 0 14px 40px rgba(31, 168, 122, 0.28);
  animation: cta-glow 2.8s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(45, 212, 160, 0.25), 0 14px 40px rgba(31, 168, 122, 0.28); }
  50% { box-shadow: 0 0 0 1px rgba(45, 212, 160, 0.45), 0 18px 52px rgba(31, 168, 122, 0.4); }
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(45, 212, 160, 0.4);
}

.btn-white {
  background: #fff;
  color: #000;
}

/* iPhone frames — stage / float / tilt layers */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
  animation: phone-pop 1s cubic-bezier(0.34, 1.45, 0.64, 1) 0.15s both;
}

.phone-stage {
  transform-style: preserve-3d;
}

.phone-float {
  transform-style: preserve-3d;
  animation: phone-bob 5.5s ease-in-out 1.2s infinite;
}

#hero-phone {
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(8deg) rotateZ(-4deg);
  will-change: transform;
}

@keyframes phone-pop {
  0% {
    opacity: 0;
    transform: translateY(48px) scale(0.86);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes phone-bob {
  0%, 100% {
    transform: translateY(0) translateZ(0);
  }
  50% {
    transform: translateY(-14px) translateZ(12px);
  }
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.34, 1.4, 0.64, 1);
  will-change: opacity, transform;
}

.reveal.reveal-phone {
  transform: translateY(64px) scale(0.82);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.34, 1.55, 0.64, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px) scale(0.96);
}

.reveal.reveal-right {
  transform: translateX(40px) scale(0.96);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.reveal-phone.is-in {
  transform: translateY(0) scale(1);
}

.reveal.reveal-left.is-in,
.reveal.reveal-right.is-in {
  transform: translateX(0) scale(1);
}

@media (min-width: 900px) {
  .phone-card-mid.reveal.is-in {
    transform: translateY(-18px) scale(1);
  }
}

.phone {
  position: relative;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65));
}

.phone-bezel {
  position: relative;
  background: linear-gradient(160deg, #2a2e2c 0%, #121514 40%, #0a0c0b 100%);
  border-radius: 42px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 4px #050706;
}

.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-screen {
  position: relative;
  background: #0d0d0d;
  border-radius: 32px;
  overflow: hidden;
  height: 520px;
  width: 260px;
  padding: 48px 14px 18px;
}

.phone-hero .phone-screen {
  height: 560px;
  width: 280px;
}

.phone-sm .phone-screen {
  height: 460px;
  width: 230px;
}

.phone-md .phone-screen {
  height: 520px;
  width: 255px;
}

/* Real app screenshot inside the phone */
.screen-shot {
  padding: 0 !important;
  background: #0d0d0d;
  display: block;
}

.screen-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 32px;
}

/* Mobile only — shrink phone mocks so screenshots don’t fill the viewport.
   Desktop (≥900px) keeps the sizes above unchanged. */
@media (max-width: 899px) {
  .phone-bezel {
    border-radius: 28px;
    padding: 8px;
  }

  .phone-island {
    top: 14px;
    width: 64px;
    height: 18px;
    border-radius: 14px;
  }

  .phone-screen {
    border-radius: 22px;
    height: 340px;
    width: 170px;
  }

  .phone-hero .phone-screen {
    height: 360px;
    width: 180px;
  }

  .phone-sm .phone-screen {
    height: 300px;
    width: 150px;
  }

  .phone-md .phone-screen {
    height: 340px;
    width: 168px;
  }

  .screen-shot img {
    border-radius: 22px;
  }

  .phone-row {
    gap: 1.75rem;
  }

  .phone {
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
  }
}

/* Legacy trial styles (unused in hero, kept harmless) */
.screen-trial,
.screen-home {
  background: #12141a;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #f5f5f7;
}

.screen-trial.compact-trial {
  justify-content: flex-start;
}

.trial-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0.15rem;
}

.trial-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trial-brand.mini {
  margin-top: 0.25rem;
}

.trial-brand strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trial-brand small {
  display: block;
  font-size: 0.58rem;
  color: rgba(245, 245, 247, 0.45);
  margin-top: 0.1rem;
}

.trial-candles {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 4px, #2dd4a0 4px, #2dd4a0 7px, transparent 7px) 0 4px / 22px 10px no-repeat,
    linear-gradient(90deg, transparent 12px, #e5e7eb 12px, #e5e7eb 15px, transparent 15px) 0 8px / 22px 12px no-repeat,
    #1a1d24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trial-x {
  color: rgba(245, 245, 247, 0.4);
  font-size: 0.85rem;
}

.trial-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0.55rem 0 0.15rem;
}

.trial-steps span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #041510;
  flex-shrink: 0;
}

.trial-steps span.done {
  background: var(--mint-bright);
  border-color: var(--mint-bright);
  font-weight: 700;
}

.trial-steps span.now {
  border-color: var(--mint-bright);
  box-shadow: inset 0 0 0 4px #12141a, inset 0 0 0 7px var(--mint-bright);
}

.trial-steps i {
  flex: 1;
  height: 2px;
  background: rgba(45, 212, 160, 0.55);
  margin: 0 2px;
}

.mini-steps span {
  width: 12px;
  height: 12px;
}

.trial-step-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.35);
  margin-bottom: 0.35rem;
}

.trial-title {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.trial-title.sm {
  font-size: 1.15rem;
}

.trial-sub {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(245, 245, 247, 0.55);
}

.trial-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161b22;
  padding: 0.7rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trial-card.pro {
  border-color: rgba(45, 212, 160, 0.35);
  box-shadow: 0 -1px 0 0 rgba(45, 212, 160, 0.55) inset, 0 0 24px rgba(31, 168, 122, 0.12);
}

.trial-card.tight {
  padding: 0.65rem 0.7rem;
}

.trial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trial-card .crown {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 212, 160, 0.12);
  color: var(--mint-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.trial-card .badge {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint-bright);
  background: rgba(45, 212, 160, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.4rem;
}

.trial-card strong {
  font-size: 0.82rem;
  font-weight: 700;
}

.trial-card em {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.trial-card em small {
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(245, 245, 247, 0.45);
}

.trial-card ul {
  margin: 0.2rem 0 0.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.trial-card li {
  font-size: 0.62rem;
  color: rgba(245, 245, 247, 0.62);
  padding-left: 0.9rem;
  position: relative;
}

.trial-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mint-bright);
  font-weight: 700;
}

.trial-btn {
  margin-top: 0.35rem;
  text-align: center;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.trial-btn.mint {
  background: rgba(31, 168, 122, 0.2);
  color: var(--mint-bright);
  border: 1px solid rgba(45, 212, 160, 0.35);
}

.trial-btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 245, 247, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.goal-chip {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161b22;
  padding: 0.65rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.7);
}

.goal-chip.on {
  border-color: rgba(45, 212, 160, 0.45);
  color: var(--mint-bright);
  background: rgba(31, 168, 122, 0.12);
}

.ui-eyebrow {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-bright);
}

.screen-home h3 {
  margin: 0.75rem 0 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ui-tag {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.ui-cta {
  margin-top: 1.4rem;
  background: var(--mint);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.85rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(31, 168, 122, 0.35);
}

.ui-resume {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 160, 0.3);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  color: var(--ink);
}

.ui-resume .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 10px rgba(45, 212, 160, 0.6);
}

.screen-replay {
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
}

.ui-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.ui-pill {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--faint);
}

.ui-pill.mint {
  color: var(--mint-bright);
  background: var(--mint-soft);
}

.ui-chart {
  margin-top: 1rem;
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  min-height: 160px;
  padding-bottom: 0.5rem;
}

.ui-chart.tall { min-height: 220px; }
.ui-chart.dim { opacity: 0.35; min-height: 120px; }

.ui-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.14);
}

.ui-chart i.up { background: #22c55e; }
.ui-chart i.dn { background: #f87171; }

.ui-levels {
  display: flex;
  gap: 0.4rem;
  margin: 0.4rem 0;
}

.lvl {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.lvl.entry {
  color: #4adeb8;
  background: rgba(74, 222, 184, 0.12);
}

.lvl.stop {
  color: #ff5c7a;
  background: rgba(255, 92, 122, 0.12);
}

.ui-line {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1px;
  border-top: 1px dashed rgba(74, 222, 184, 0.7);
  top: 42%;
  pointer-events: none;
}

.exit-line {
  top: 58%;
  border-top-color: rgba(239, 83, 80, 0.75);
}

.ui-scrub {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.75rem 0 0.5rem;
}

.ui-scrub-fill {
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint-deep), var(--mint-bright));
  box-shadow: 0 0 12px rgba(45, 212, 160, 0.45);
  animation: scrub 4.5s ease-in-out infinite;
}

.ui-scrub-fill.wide { width: 68%; }

@keyframes scrub {
  0%, 100% { width: 28%; }
  50% { width: 72%; }
}

.ui-scrub-thumb {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--mint-bright);
  box-shadow: 0 0 10px rgba(45, 212, 160, 0.5);
  animation: thumb 4.5s ease-in-out infinite;
}

@keyframes thumb {
  0%, 100% { left: 28%; }
  50% { left: 72%; }
}

.ui-transport {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  color: var(--faint);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.ui-transport .play {
  color: var(--mint-bright);
  font-size: 1.1rem;
}

.screen-coach {
  background: #0d0d0d;
}

.coach-card {
  margin-top: auto;
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(14, 20, 17, 0.96);
  border: 1px solid rgba(31, 168, 122, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(31, 168, 122, 0.12);
  animation: coach-up 3.2s ease-in-out infinite;
}

@keyframes coach-up {
  0%, 100% { transform: translateY(4px); opacity: 0.92; }
  40%, 70% { transform: translateY(0); opacity: 1; }
}

.coach-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-bright);
}

.coach-body {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink);
}

.coach-btn {
  margin-top: 0.75rem;
  text-align: center;
  background: var(--mint);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.55rem;
  border-radius: 999px;
}

/* Phones gallery */
.phones {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.25rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), #08110d 50%, var(--bg));
}

.phones-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-bright);
}

.phones-head h2,
.band-copy h2,
.engine-head h2,
.close h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.phones-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.phones-lede {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.phone-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  justify-items: center;
  align-items: end;
}

@media (min-width: 900px) {
  .phone-row {
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 1.5rem;
  }
}

.phone-card {
  margin: 0;
  text-align: center;
}

.phone-card figcaption {
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Detect band */
.band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.25rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

@media (min-width: 960px) {
  .band {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.tape-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 280px;
  overflow: hidden;
}

.tape-panel canvas {
  display: block;
  width: 100%;
  height: 280px;
}

.detect-callout {
  position: absolute;
  top: 18%;
  right: 8%;
  max-width: 13rem;
  padding: 0.75rem 0.85rem;
  background: rgba(10, 18, 14, 0.94);
  border: 1px solid rgba(31, 168, 122, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(31, 168, 122, 0.12);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.detect-callout.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.detect-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-bright);
  margin-bottom: 0.25rem;
}

.detect-callout strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.detect-drop {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.band-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.fatal {
  color: var(--red);
}

.band-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.55;
}

.checks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ok {
  color: var(--mint-bright);
  font-weight: 700;
}

/* Engine */
.engine {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.25rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.engine-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.engine-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .metrics {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .card-full {
    grid-column: 1 / -1;
  }
}

.card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem;
}

.card-label {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.metric-big {
  margin: 0;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.metric-big.red { color: var(--red); }

.metric-delta {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--faint);
}

.metric-delta.up { color: var(--mint-bright); }

.prem-bar {
  position: relative;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: visible;
  margin: 1rem 0 0.85rem;
}

.prem-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), rgba(45, 212, 160, 0.45));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.prem-tick {
  position: absolute;
  top: -4px;
  left: 0%;
  width: 3px;
  height: 18px;
  background: var(--red);
  opacity: 0;
  transition: left 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.engine.is-on .prem-fill { width: 38%; }
.engine.is-on .prem-tick { left: 78%; opacity: 1; }

.card-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.85rem;
  line-height: 1.4;
}

.trades {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.trades li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.engine.is-on .trades li {
  opacity: 1;
  transform: translateY(0);
}

.engine.is-on .trades li:nth-child(2) {
  transition-delay: 0.12s;
}

.tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
}

.tag-bad {
  color: var(--red);
  background: rgba(255, 92, 106, 0.12);
  border: 1px solid rgba(255, 92, 106, 0.35);
}

.tag-good {
  color: var(--mint-bright);
  background: var(--mint-soft);
  border: 1px solid rgba(45, 212, 160, 0.35);
}

/* Close */
.close {
  padding: clamp(4rem, 12vh, 7rem) clamp(1.25rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.close h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.75rem) 1.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.foot a:hover { color: var(--mint-bright); }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
}

@media (max-width: 720px) {
  .status { display: none; }
}

@media (max-width: 420px) {
  .nav {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.65rem;
  }

  .logo {
    font-size: 0.78rem;
    min-width: 0;
  }

  .nav-right {
    gap: 0.65rem;
    flex-shrink: 0;
  }

  .nav-link {
    padding: 0.35rem 0.7rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .demo-chip {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot,
  .btn-mint,
  .hero-copy,
  .hero-phone-wrap,
  .phone-float,
  .ui-scrub-fill,
  .ui-scrub-thumb,
  .coach-card {
    animation: none !important;
  }
  .detect-callout,
  .trades li,
  .prem-fill,
  .prem-tick,
  .btn,
  .reveal {
    transition: none !important;
  }
  .detect-callout,
  .trades li,
  .hero-copy,
  .hero-phone-wrap,
  .reveal {
    opacity: 1;
    transform: none;
  }
  .prem-fill { width: 38%; }
  .prem-tick { left: 78%; opacity: 1; }
}
