@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/orbitron-500-latin.woff2') format('woff2');
}

/* Tokens mirror the app's dark theme (apps/src/constants/colors.ts + theme.ts). */
:root {
  --bg: #09090b;
  --bg-raised: #0f0f12;
  --surface: #151518;
  --line: #232327;
  --line-strong: #34343a;
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #fafafa;
  --text-2: #b4b4bd;
  --text-3: #7c7c86;
  --red: #9d1917;
  --red-bright: #c42a27;
  --red-dark: #7a1210;
  --red-glow: rgba(196, 42, 39, 0.22);
  --red-tint: rgba(196, 42, 39, 0.14);
  --green: #22c55e;
  --amber: #f59e0b;
  --blue: #5b8def;
  --purple: #9b72f2;
  --grad-accent: linear-gradient(135deg, #c42a27 0%, #9d1917 50%, #7a1210 100%);
  --grad-hero: linear-gradient(135deg, #c42a27 0%, #9d1917 50%, #4a0b0a 100%);
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Orbitron', var(--font);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain over everything — keeps the large dark areas from looking flat. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Belt: the black-belt rank bar from the app header, reused as a motif ── */

.belt {
  display: inline-flex;
  justify-content: flex-end;
  width: 76px;
  height: 14px;
  border-radius: 3px;
  background: #1b1b1f;
  box-shadow: inset 0 0 0 1px #2c2c31;
  overflow: hidden;
  flex-shrink: 0;
}

.belt__rank {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  width: 30px;
  padding: 0 5px;
  background: var(--red);
}

.belt__rank i {
  width: 3px;
  background: #fff;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 11, 0.86);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright) 70%, #ff6a60);
  transform-origin: 0 50%;
  transform: scaleX(var(--sp, 0));
  box-shadow: 0 0 12px rgba(196, 42, 39, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 30px;
}

.brand span {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 15px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-decoration: none;
}

.lang:hover {
  color: var(--text);
}

/* ── Buttons ── */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(196, 42, 39, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 60%);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px rgba(196, 42, 39, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(1px);
}

.btn .i {
  font-size: 18px;
}

.btn--lg {
  height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost::before {
  display: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px #4a4a52;
}

.btn--block {
  width: 100%;
}

/* ── Type ── */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.kicker--pill {
  display: inline-flex;
  gap: 12px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.015);
}

.kicker--pill .belt {
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 5.4vw + 12px, 86px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(34px, 3.2vw + 14px, 58px);
  line-height: 1.02;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.accent {
  color: var(--red-bright);
}

.lead {
  font-size: clamp(18px, 0.6vw + 15px, 21px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
  text-wrap: pretty;
}

p {
  text-wrap: pretty;
}

/* ── Store badges ── */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: block;
  border-radius: 10px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.store:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px rgba(196, 42, 39, 0.8);
}

.store img {
  height: 54px;
  width: auto;
}

[data-os='android'] .store--play {
  order: -1;
}

.store-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.store-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-note span::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red-bright);
  border-radius: 1px;
}

/* ── Phone frame ── */

/* Bezel is 3.4% of the phone width on every side; the aspect ratio makes the
   remaining screen area exactly 1080:2424 so screenshots are never cropped. */
.phone {
  position: relative;
  aspect-ratio: 1000 / 2160;
  border-radius: 11% / 5.1%;
  background: linear-gradient(160deg, #2e2e33 0%, #17171a 45%, #0e0e10 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 30px 60px -40px rgba(0, 0, 0, 0.8);
}

/* Glass glare across the screen. */
.phone::before {
  content: '';
  position: absolute;
  left: 3.4%;
  top: 1.574%;
  width: 93.2%;
  height: 96.852%;
  z-index: 1;
  border-radius: 8% / 3.6%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 42%);
  pointer-events: none;
}

.phone::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 3.55%;
  left: 50%;
  width: 3.6%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #000;
  box-shadow: inset 0 0 0 1px #222;
}

.phone img {
  position: absolute;
  left: 3.4%;
  top: 1.574%;
  width: 93.2%;
  height: 96.852%;
  object-fit: cover;
  border-radius: 8% / 3.6%;
  background: var(--bg);
}

/* ── Glass chips: floating UI fragments styled like the app's cards ── */

.fchip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(26, 26, 30, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.fchip__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.fchip__label .i {
  color: var(--red-bright);
  font-size: 13px;
}

.fchip__text {
  font-weight: 600;
  color: var(--text);
}

.mic {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(196, 42, 39, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.mic::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(196, 42, 39, 0.7);
  animation: ping 2s ease-out infinite;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--red-bright);
  transform: scaleY(0.3);
  animation: wave 1.1s ease-in-out infinite;
}

.wave i:nth-child(2n) {
  animation-duration: 0.9s;
  background: #e0504a;
}

.wave i:nth-child(3n) {
  animation-duration: 1.35s;
}

.wave i:nth-child(4n + 1) {
  animation-delay: -0.4s;
}

.wave i:nth-child(5n + 2) {
  animation-delay: -0.7s;
}

.wave i:nth-child(3n + 1) {
  animation-delay: -0.2s;
}

.timer {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-2);
  min-width: 2.6em;
}

.ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--red-bright);
}

.ring .ring__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

.ring circle {
  fill: none;
  stroke-width: 4;
}

.ring .ring__track {
  stroke: rgba(255, 255, 255, 0.08);
}

.ring .ring__fill {
  stroke: var(--red-bright);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 20;
}

.ring .i {
  font-size: 18px;
}

.score-num {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  color: var(--text);
}

.score-num small {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-3);
  margin-left: 2px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
  white-space: nowrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #08130c;
  font-size: 13px;
  flex-shrink: 0;
}

.pill-check .i {
  stroke-width: 3;
}

/* ── Hero ── */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 110px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

.aura {
  position: absolute;
  border-radius: 50%;
}

.aura--1 {
  width: 820px;
  height: 820px;
  right: -220px;
  top: -140px;
  background: radial-gradient(closest-side, rgba(196, 42, 39, 0.34), rgba(157, 25, 23, 0.12) 55%, transparent);
  animation: drift-a 18s ease-in-out infinite alternate;
}

.aura--2 {
  width: 560px;
  height: 560px;
  right: 26%;
  bottom: -260px;
  background: radial-gradient(closest-side, rgba(122, 18, 16, 0.42), transparent);
  animation: drift-b 22s ease-in-out infinite alternate;
}

.aura--3 {
  width: 520px;
  height: 520px;
  left: -200px;
  top: -220px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.05), transparent);
}

/* Tatami: a perspective grid floor that slowly rolls toward the viewer. */
.mat {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -2%;
  height: 58%;
  overflow: hidden;
  transform: perspective(620px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 92%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 92%);
}

.mat::before {
  content: '';
  position: absolute;
  inset: -96px 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 96px 96px;
  animation: mat-roll 7s linear infinite;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero h1 .w {
  display: inline-block;
  animation: word-rise 0.9s var(--ease-out) both;
  animation-delay: calc(0.15s + var(--i) * 0.065s);
}

.accent--mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.accent--mark svg {
  position: absolute;
  left: -3%;
  bottom: -0.2em;
  width: 106%;
  height: 0.32em;
  overflow: visible;
  pointer-events: none;
}

.accent--mark path {
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.85;
  animation: draw 0.9s var(--ease-out) 1.05s forwards;
}

.hero .lead {
  margin: 0 0 36px;
}

.hero__copy > :not(h1) {
  animation: rise 0.9s var(--ease-out) both;
}

.hero__copy > .kicker {
  animation-delay: 0.05s;
}

.hero__copy > .lead {
  animation-delay: 0.55s;
}

.hero__copy > .stores {
  animation-delay: 0.7s;
}

.hero__copy > .store-note {
  animation-delay: 0.85s;
}

.hero .belt__rank i {
  animation: stripe 0.5s var(--ease-spring) both;
}

.hero .belt__rank i:nth-child(1) {
  animation-delay: 0.7s;
}

.hero .belt__rank i:nth-child(2) {
  animation-delay: 0.85s;
}

.hero .belt__rank i:nth-child(3) {
  animation-delay: 1s;
}

/* Stage: phones and chips; JS feeds --px/--py (-1…1) from the pointer for parallax. */
.hero__stage {
  position: relative;
  height: clamp(600px, 54vw, 740px);
}

.hero__stage > * {
  position: absolute;
  translate: calc(var(--px, 0) * var(--depth, 0) * 1px) calc(var(--py, 0) * var(--depth, 0) * 1px);
  transition: translate 0.7s var(--ease-out);
}

.hero__halo {
  inset: 6% -6% 0 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(196, 42, 39, 0.4), rgba(196, 42, 39, 0.08) 60%, transparent);
  --depth: 6;
  animation: breathe 7s ease-in-out infinite;
}

.stage-phone {
  width: 46%;
  animation: phone-in 1.2s var(--ease-out) both;
}

.stage-phone--front {
  left: 8%;
  top: 8%;
  z-index: 2;
  --depth: 20;
  animation-delay: 0.15s;
}

.stage-phone--back {
  right: 4%;
  top: 0;
  --depth: 9;
  animation-delay: 0.35s;
}

.stage-phone--front .phone {
  rotate: -3deg;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 60px 120px -40px rgba(196, 42, 39, 0.5),
    0 50px 90px -30px rgba(0, 0, 0, 0.95);
  animation: bob 7s ease-in-out 1.4s infinite;
}

.stage-phone--back .phone {
  rotate: 7deg;
  filter: brightness(0.7) saturate(0.92);
}

.hero__stage .fchip {
  z-index: 3;
  animation:
    chip-in 0.9s var(--ease-spring) both,
    float 6s ease-in-out infinite;
  animation-delay: var(--d), calc(var(--d) + 0.9s);
}

.fchip--voice {
  left: -3%;
  top: 5%;
  --depth: 38;
  --d: 0.95s;
}

.fchip--score {
  right: -2%;
  top: 43%;
  --depth: 48;
  --d: 1.2s;
}

.fchip--score .ring__fill {
  animation: ring-fill 1.3s var(--ease-out) both;
  animation-delay: calc(var(--d) + 0.3s);
}

.fchip--tags {
  left: 1%;
  bottom: 6%;
  --depth: 30;
  --d: 1.45s;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
}

.fchip--tags .tag {
  animation: tag-pop 0.5s var(--ease-spring) both;
}

.fchip--tags .tag:nth-child(1) {
  animation-delay: 1.9s;
}

.fchip--tags .tag:nth-child(2) {
  animation-delay: 2.05s;
}

.fchip--tags .tag:nth-child(3) {
  animation-delay: 2.2s;
}

/* ── Tapes: two belts of jiu-jitsu terms crossing the page ── */

.tapes {
  position: relative;
  height: clamp(150px, 15vw, 210px);
  overflow: hidden;
  margin: clamp(-40px, -3vw, -16px) 0 0;
}

.tape {
  position: absolute;
  left: -6%;
  width: 112%;
  top: 50%;
  padding: 15px 0;
  overflow: hidden;
}

.tape--red {
  z-index: 2;
  background: var(--grad-accent);
  rotate: -3deg;
  translate: 0 -50%;
  box-shadow: 0 24px 60px -24px rgba(196, 42, 39, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tape--dark {
  background: #141417;
  border-block: 1px solid #26262b;
  rotate: 2.4deg;
  translate: 0 -50%;
}

.tape__track {
  display: flex;
  width: max-content;
  animation: tape 70s linear infinite;
}

.tape--dark .tape__track {
  animation-direction: reverse;
  animation-duration: 85s;
}

.tapes:hover .tape__track {
  animation-play-state: paused;
}

.tape ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tape li {
  display: flex;
  align-items: center;
  font-size: clamp(18px, 1.4vw + 10px, 28px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

/* Separator: the three white stripes of the rank bar. */
.tape li::after {
  content: '';
  width: 17px;
  height: 0.78em;
  margin: 0 28px;
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px);
  opacity: 0.9;
}

.tape--dark li {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.38);
}

.tape--dark li::after {
  background: repeating-linear-gradient(90deg, var(--red-bright) 0 3px, transparent 3px 7px);
}

/* ── Sections ── */

.section {
  position: relative;
  padding: clamp(80px, 10vw, 150px) 0;
}

.section--raised {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head .lead {
  margin: 22px 0 0;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

.card {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ibadge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red-bright);
  font-size: 19px;
  flex-shrink: 0;
}

.ibadge--solid {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(196, 42, 39, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ibadge--green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.ibadge--amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
}

/* Problem */

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.problem h2 {
  font-size: clamp(36px, 3.6vw + 14px, 64px);
}

/* JS splits the heading into words and feeds --p (0…1) as it scrolls through the viewport. */
.js .problem h2.is-split .w {
  opacity: clamp(0.14, calc(var(--p, 0) * (var(--n) + 6) - var(--i)), 1);
  transition: opacity 0.15s linear;
}

.problem p {
  margin: 0;
  font-size: clamp(18px, 0.5vw + 16px, 21px);
  color: var(--text-2);
}

.problem p + p {
  margin-top: 1em;
}

.problem strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Demo: a voice note turning into a reflection ── */

.demo {
  overflow: hidden;
}

.demo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 55%;
  width: min(1100px, 120vw);
  height: 700px;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(196, 42, 39, 0.13), transparent);
  pointer-events: none;
}

.demo__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 96px minmax(0, 1.05fr);
  align-items: center;
}

.note {
  padding: 26px 28px 30px;
}

.note__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}

.note__head .mic {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

.note__head .mic::after {
  animation: none;
  opacity: 0;
}

.note__title strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.note__title span {
  font-size: 13px;
  color: var(--text-3);
}

.note .wave {
  margin-left: auto;
  height: 30px;
}

.note .wave i {
  animation-play-state: paused;
}

.note__text {
  margin: 0;
  font-size: clamp(17px, 0.5vw + 14px, 20px);
  line-height: 1.65;
  color: var(--text);
}

.note__text mark {
  color: inherit;
  border-radius: 3px;
  background: linear-gradient(transparent 56%, rgba(196, 42, 39, 0.5) 56%, rgba(196, 42, 39, 0.5) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.demo__beam {
  position: relative;
  height: 2px;
  margin: 0 -1px;
  background: linear-gradient(90deg, rgba(196, 42, 39, 0.15), rgba(196, 42, 39, 0.7), rgba(196, 42, 39, 0.15));
}

.demo__beam::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 34px;
  height: 8px;
  border-radius: 8px;
  background: radial-gradient(closest-side, #ff8a80, rgba(196, 42, 39, 0));
  opacity: 0;
}

.demo__spark {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--grad-hero);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 0 0 6px rgba(196, 42, 39, 0.12), 0 14px 34px -8px rgba(196, 42, 39, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.reflection {
  padding: 26px;
  overflow: hidden;
}

.reflection__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.reflection__head h3 {
  font-size: 21px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 700;
}

.meta .i {
  font-size: 15px;
  color: var(--text-2);
}

.meta .is-hard {
  color: var(--red-bright);
  border-color: rgba(196, 42, 39, 0.5);
  background: rgba(196, 42, 39, 0.1);
}

.meta .is-hard .i {
  color: currentColor;
}

.reflection__summary {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

.score {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
}

.score .ring {
  width: 64px;
  height: 64px;
}

.score .ring circle {
  stroke-width: 5;
}

.score .ring .i {
  font-size: 22px;
}

.score__body {
  flex: 1;
  min-width: 0;
}

.score .score-num {
  font-size: 32px;
  margin: 4px 0 8px;
}

.pips {
  display: flex;
  gap: 4px;
}

.pips i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
}

.pips i.on {
  background: var(--red-bright);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rlist {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
}

.rlist--wide {
  grid-column: 1 / -1;
}

.rlist h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.rlist h4 .ibadge {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 14px;
}

.rlist ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rlist--wide ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rlist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  line-height: 1.35;
}

.rlist li .i {
  margin-top: 1px;
  font-size: 16px;
}

.rlist--good li .i {
  color: var(--green);
}

.rlist--warn li .i {
  color: var(--amber);
}

.rlist--study li .i {
  color: var(--red-bright);
}

.reflection .tags {
  margin-top: 14px;
}

.reflection__skeleton {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 86px;
  display: none;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.reflection__skeleton span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.reflection__skeleton span .i {
  color: var(--red-bright);
  animation: twinkle 1.2s ease-in-out infinite;
}

.reflection__skeleton i {
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.04) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.3s linear infinite;
}

.reflection__skeleton i:nth-of-type(2) {
  width: 82%;
}

.reflection__skeleton i:nth-of-type(3) {
  height: 84px;
  border-radius: 18px;
  margin: 6px 0;
}

.reflection__skeleton i:nth-of-type(4) {
  width: 64%;
}

.reflection__skeleton i:nth-of-type(5) {
  width: 90%;
}

.demo__foot {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  min-height: 42px;
}

.demo__replay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.demo.is-done .demo__replay {
  opacity: 1;
  pointer-events: auto;
}

/* Demo playback. Without JS everything stays in its final state. */
.js [data-demo] .reflection__skeleton {
  display: flex;
}

.js [data-demo] .note__text.is-split .w {
  opacity: 0.16;
}

.js [data-demo] .note__text.is-split mark {
  background-size: 0% 100%;
}

.js [data-demo] .rf {
  opacity: 0;
  translate: 0 14px;
}

.js [data-demo] .ring__fill {
  stroke-dashoffset: 100;
}

.js [data-demo] .pips i.on {
  background: rgba(255, 255, 255, 0.09);
}

.js [data-demo].is-playing .note .wave i {
  animation-play-state: running;
}

.js [data-demo].is-playing .note__head .mic::after {
  animation: ping 1.6s ease-out 2;
}

.js [data-demo].is-playing .note__text .w {
  animation: word-lit 0.3s ease forwards;
  animation-delay: calc(0.25s + var(--i) * 0.04s);
}

.js [data-demo].is-playing .note__text mark {
  animation: mark-sweep 0.55s var(--ease-out) forwards;
  animation-delay: var(--md, 1s);
}

.js [data-demo].is-playing .demo__beam::before {
  animation: beam 0.9s ease-in 2.15s 2;
}

.js [data-demo].is-playing .demo__spark {
  animation: spark 0.9s ease-in-out 2.1s 2;
}

.js [data-demo].is-playing .reflection__skeleton {
  animation: fade-out 0.35s ease 3.9s forwards;
}

.js [data-demo].is-playing .rf {
  animation: rf-in 0.6s var(--ease-out) forwards;
  animation-delay: var(--t);
}

.js [data-demo].is-playing .ring__fill {
  animation: ring-fill 1.2s var(--ease-out) 4.6s forwards;
}

.js [data-demo].is-playing .pips i.on {
  animation: pip-on 0.25s ease forwards;
  animation-delay: calc(4.6s + var(--n) * 0.1s);
}

.js [data-demo].is-static .reflection__skeleton {
  display: none;
}

.js [data-demo].is-static .note__text .w,
.js [data-demo].is-static .rf {
  opacity: 1;
  translate: none;
}

.js [data-demo].is-static .note__text mark {
  background-size: 100% 100%;
}

.js [data-demo].is-static .ring__fill {
  stroke-dashoffset: 20;
}

.js [data-demo].is-static .pips i.on {
  background: var(--red-bright);
}

/* ── Story: How it works, with a sticky phone on desktop ── */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
}

.story__steps {
  position: relative;
  padding-left: 68px;
}

.story__rail {
  position: absolute;
  left: 19px;
  top: 12vh;
  bottom: 12vh;
  width: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

.story__rail span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 0 14px rgba(196, 42, 39, 0.8);
  transform-origin: top;
  transform: scaleY(var(--rail, 0));
}

.story__step {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

/* The last step is a full viewport tall so the sticky phone stays put while it is centred. */
.story__step:last-child {
  min-height: 100vh;
}

.js .story__step {
  opacity: 0.26;
  transition: opacity 0.5s ease;
}

.js .story__step.is-active {
  opacity: 1;
}

.step__num {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Node on the rail. */
.step__num::before {
  content: '';
  position: absolute;
  left: -59px;
  top: 50%;
  width: 18px;
  height: 18px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--line-strong);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.story__step.is-active .step__num::before,
.story__step.is-past .step__num::before {
  background: var(--red);
  border-color: var(--red-bright);
  box-shadow: 0 0 0 6px rgba(196, 42, 39, 0.16);
}

.step__digit {
  font-size: 15px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.02em;
  color: var(--red-bright);
}

.story__step h3 {
  font-size: clamp(30px, 2vw + 16px, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.story__step p {
  margin: 0;
  color: var(--text-2);
  font-size: 18px;
  max-width: 30em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  color: var(--text-2);
}

.chips .i {
  color: var(--red-bright);
  font-size: 15px;
}

.step__media {
  display: none;
}

.story__stage {
  position: relative;
}

.story__sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__sticky::before {
  content: '';
  position: absolute;
  inset: 12% 0;
  background: radial-gradient(closest-side, var(--red-glow), transparent);
  pointer-events: none;
}

.story__device {
  position: relative;
  width: min(320px, calc((100vh - 150px) / 2.16));
}

.story__device .phone img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.story[data-active='1'] .story__device img[data-screen='1'],
.story[data-active='2'] .story__device img[data-screen='2'],
.story[data-active='3'] .story__device img[data-screen='3'] {
  opacity: 1;
}

.ov {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.6s var(--ease-spring);
  pointer-events: none;
}

.story[data-active='1'] .ov--1,
.story[data-active='2'] .ov--2,
.story[data-active='3'] .ov--3 {
  opacity: 1;
  transform: none;
  transition-delay: var(--od, 0.2s);
}

/* Pulse rings centred on the app's mic button (62.7% down the phone). */
.ov-rings {
  left: 50%;
  top: 62.7%;
  width: 47%;
  aspect-ratio: 1;
  translate: -50% -50%;
}

.ov-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(232, 72, 66, 0.75);
  animation: ring-out 2.6s ease-out infinite;
}

.ov-rings i:nth-child(2) {
  animation-delay: 0.87s;
}

.ov-rings i:nth-child(3) {
  animation-delay: 1.73s;
}

.ov-say {
  right: -30%;
  top: 30%;
  white-space: normal;
  width: 230px;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.ov-say q {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  quotes: '“' '”';
}

.ov-say .wave {
  height: 16px;
}

.ov-modes {
  left: -27%;
  top: 76%;
  gap: 8px;
  padding: 8px;
}

.ov-modes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
}

.ov-modes .i {
  color: var(--red-bright);
}

.ov-score {
  right: -26%;
  top: 22%;
}

.story[data-active='2'] .ov-score .ring__fill {
  animation: ring-fill 1.2s var(--ease-out) 0.3s both;
}

.ov-well {
  left: -30%;
  top: 60%;
}

.ov-done {
  left: -30%;
  top: 44%;
  background: rgba(157, 25, 23, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
}

.ov-done .fchip__text {
  color: #fff;
}

.ov-done .i {
  font-size: 20px;
  color: #fff;
}

.ov-streak {
  right: -18%;
  top: 25%;
  gap: 7px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: #fff;
  border-color: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
}

.ov-streak .i {
  font-size: 15px;
}

/* ── Facts band ── */

.facts {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(196, 42, 39, 0.05), transparent), var(--bg);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: clamp(32px, 4vw, 52px) clamp(18px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: clamp(54px, 4.6vw + 14px, 92px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 35%, #e0504a 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fact__num small {
  font-size: 0.34em;
  font-stretch: 100%;
  letter-spacing: 0;
}

.fact p {
  margin: 14px 0 0;
  max-width: 15em;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-2);
}

/* ── Journey ── */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.journey__media {
  position: relative;
  padding: 10px 0;
}

.journey__media::before {
  content: '';
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(closest-side, var(--red-glow), transparent);
  pointer-events: none;
}

.journey__media .phone {
  width: min(300px, 62%);
  rotate: -2deg;
}

.timeline {
  position: absolute;
  right: 0;
  top: 16%;
  width: min(310px, 60%);
  padding: 18px 18px 6px;
  border-radius: 22px;
  background: rgba(24, 24, 28, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.timeline__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline__head strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.timeline__head span {
  font-size: 12.5px;
  color: var(--text-3);
}

.timeline__head .ibadge {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.timeline ol {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline ol::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 26px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red-bright), rgba(196, 42, 39, 0.15));
  transform-origin: top;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
}

.tl-node {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tl-bg, rgba(196, 42, 39, 0.16));
  color: var(--tl, var(--red-bright));
  font-size: 15px;
  box-shadow: 0 0 0 4px #18181c;
}

.tl--blue {
  --tl: var(--blue);
  --tl-bg: rgba(37, 99, 235, 0.2);
}

.tl--amber {
  --tl: var(--amber);
  --tl-bg: rgba(245, 158, 11, 0.16);
}

.tl--purple {
  --tl: var(--purple);
  --tl-bg: rgba(124, 58, 237, 0.22);
}

.tl-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.tl-date {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
}

.js .timeline ol::before {
  transform: scaleY(0);
  transition: transform 1.6s var(--ease-out) 0.3s;
}

.js .timeline li {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
  transition-delay: calc(0.45s + var(--n) * 0.22s);
}

.js .is-visible .timeline ol::before {
  transform: none;
}

.js .is-visible .timeline li {
  opacity: 1;
  transform: none;
}

.journey h2 {
  margin-bottom: 22px;
}

.journey .lead {
  margin: 0 0 32px;
}

.skills {
  padding: 22px 24px 18px;
  margin-bottom: 34px;
}

.skills__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.skills__head h3 {
  font-size: 17px;
}

.skills__head span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.skill {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.6fr) 32px;
  gap: 16px;
  align-items: center;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text-2);
}

.skill__bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.skill__bar i {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 12px rgba(196, 42, 39, 0.6);
  transform-origin: left;
}

.skill b {
  text-align: right;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.js .skills .skill__bar i {
  transform: scaleX(0);
  transition: transform 1.3s var(--ease-out);
  transition-delay: calc(0.25s + var(--n) * 0.1s);
}

.js .skills.is-visible .skill__bar i {
  transform: none;
}

.points {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.points .belt {
  margin-top: 6px;
  width: 44px;
}

.points .belt__rank {
  width: 20px;
  padding: 0 4px;
}

.points h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.points p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

/* ── Bento: what's in the app ── */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bento__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005)), var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out);
}

/* Spotlight that follows the pointer (JS sets --mx/--my). */
.bento__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 42, 39, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento__card:hover {
  border-color: rgba(196, 42, 39, 0.35);
}

.bento__card:hover::before {
  opacity: 1;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.viz {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 150px;
  margin-bottom: 22px;
}

.bento__card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 20px;
}

.bento__card h3 .i {
  color: var(--red-bright);
  font-size: 19px;
}

.bento__card > p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 34em;
}

/* Terms being recognised in a sentence. */
.viz-terms {
  align-content: center;
  justify-items: start;
  gap: 18px;
  width: 100%;
}

.viz-terms__line {
  margin: 0;
  font-size: clamp(19px, 1vw + 12px, 25px);
  font-weight: 700;
  font-stretch: 104%;
  line-height: 2.3;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.term {
  position: relative;
  padding: 3px 5px;
  margin: 0 -2px;
  border-radius: 8px;
  color: var(--text);
  animation: term 7s ease-in-out infinite;
  animation-delay: var(--d);
}

.term::after {
  content: attr(data-kind);
  position: absolute;
  left: 6px;
  bottom: calc(100% - 2px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--red-bright);
  white-space: nowrap;
  opacity: 0;
  animation: term-label 7s ease-in-out infinite;
  animation-delay: var(--d);
}

.viz-terms .tags .tag {
  animation: tag-loop 7s ease-in-out var(--d) infinite backwards;
}

/* Belt colours cycling white → black. */
.viz-belt {
  gap: 20px;
  width: 100%;
}

.belt-xl {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 300px;
  height: 34px;
  border-radius: 5px;
  background: #f5f5f5;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  animation: belt-cycle 12s infinite;
  overflow: hidden;
}

/* Stitching lines along the belt. */
.belt-xl::before {
  content: '';
  position: absolute;
  inset: 8px 0;
  border-block: 1px dashed rgba(0, 0, 0, 0.22);
}

.belt-xl__rank {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 30%;
  background: #141414;
  animation: rank-cycle 12s infinite;
}

.belt-xl__rank i {
  width: 6px;
  background: #fff;
}

.belt-dots {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.belt-dots li {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 0.4;
  animation: dot-on 12s infinite;
  animation-delay: var(--d);
}

/* Video frame with the AI locking onto "you". */
.viz-video {
  width: 100%;
}

.video {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 62%, rgba(196, 42, 39, 0.1) 62%),
    linear-gradient(160deg, #26262b, #141417);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.video svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video .fig {
  fill: #3a3a41;
}

.video .fig--you {
  fill: #6b6b75;
  animation: sway 4s ease-in-out infinite;
}

.video .fig--them {
  animation: sway 4s ease-in-out -2s infinite;
}

.video .lock {
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: sway 4s ease-in-out infinite;
}

.video .lock-tag {
  animation: sway 4s ease-in-out infinite;
}

.video .lock-tag rect {
  fill: var(--red-bright);
}

.video .lock-tag text {
  fill: #fff;
  font: 700 10px var(--font);
  letter-spacing: 0.08em;
}

.video__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(196, 42, 39, 0.22));
  border-bottom: 1px solid rgba(232, 72, 66, 0.7);
  animation: scan 3.2s ease-in-out infinite;
}

.video__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.video__bar span:nth-child(2) {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.video__bar span:nth-child(2)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-bright);
  transform-origin: left;
  animation: progress 8s linear infinite;
}

/* Onboarding question cards being swiped. */
.viz-cards {
  width: 100%;
}

.qstack {
  position: relative;
  width: min(250px, 100%);
  height: 130px;
}

.qcard {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #232328, #19191d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  animation: qswipe 10s var(--ease-out) infinite;
  animation-delay: var(--d);
}

.qcard small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-bright);
}

.qcard strong {
  font-size: 16px;
  line-height: 1.25;
}

.qcard .tags {
  flex-wrap: nowrap;
  overflow: hidden;
}

.qcard .tag {
  height: 24px;
  padding: 0 9px;
  font-size: 11.5px;
}

.qcard .tag:first-child {
  color: #fff;
  border-color: rgba(196, 42, 39, 0.6);
  background: rgba(196, 42, 39, 0.22);
}

/* Gi / No-gi segmented toggle. */
.viz-toggle {
  gap: 16px;
}

.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 220px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.seg__thumb {
  position: absolute;
  left: 5px;
  top: 5px;
  bottom: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--grad-accent);
  box-shadow: 0 8px 20px -8px rgba(196, 42, 39, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: seg 6s var(--ease-out) infinite;
}

.seg span {
  position: relative;
  display: grid;
  place-items: center;
  height: 42px;
  font-size: 15px;
  font-weight: 700;
  animation: seg-text-a 6s var(--ease-out) infinite;
}

.seg span:last-of-type {
  animation-name: seg-text-b;
}

.viz-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.viz-hint .i {
  color: var(--red-bright);
}

/* Section labels flipping between languages. */
.viz-lang {
  gap: 10px;
  width: 100%;
  justify-items: center;
}

.flip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(300px, 100%);
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.flip .ibadge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 15px;
}

.flip__words {
  display: block;
  height: 20px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--text-2);
}

.flip__words span {
  display: block;
  animation: flip 6s var(--ease-out) infinite;
}

.flip:nth-child(2) .flip__words span {
  animation-delay: 0.15s;
}

.flip:nth-child(3) .flip__words span {
  animation-delay: 0.3s;
}

/* Private data: shield with pulse rings. */
.viz-lock {
  width: 100%;
}

.shield {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: var(--grad-hero);
  color: #fff;
  font-size: 36px;
  box-shadow: 0 20px 50px -14px rgba(196, 42, 39, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.shield::before,
.shield::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  border: 1.5px solid rgba(232, 72, 66, 0.6);
  animation: ring-out 3s ease-out infinite;
}

.shield::after {
  animation-delay: 1.5s;
}

.viz-lock .tags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
}

.viz-lock {
  min-height: 190px;
  padding-bottom: 36px;
}

/* Decorative loops pause while off screen (JS adds .is-paused, so without JS they simply run). */
.is-paused,
.is-paused *,
.is-paused *::before,
.is-paused *::after {
  animation-play-state: paused !important;
}

/* ── Pricing ── */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.plan--pro {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(157, 25, 23, 0.16), rgba(157, 25, 23, 0.03) 60%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--angle), rgba(196, 42, 39, 0.25), #e8504a 12%, rgba(196, 42, 39, 0.25) 26%, rgba(196, 42, 39, 0.25) 62%, #ff8a80 74%, rgba(196, 42, 39, 0.25) 86%) border-box;
  box-shadow: 0 40px 100px -50px rgba(196, 42, 39, 0.65);
  animation: spin-angle 7s linear infinite;
}

.plan__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.plan h3 {
  font-size: 36px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.plan__prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 18px;
}

.plan__prices > div {
  position: relative;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
}

.plan__prices strong {
  display: block;
  font-size: 22px;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
}

.plan__prices span {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--text-3);
}

.plan__prices em {
  position: absolute;
  top: -10px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--grad-accent);
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan > p {
  margin: 0 0 24px;
  color: var(--text-2);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--text-2);
}

.plan li::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 7px;
  margin-top: 8px;
  border-left: 2px solid var(--red-bright);
  border-bottom: 2px solid var(--red-bright);
  transform: rotate(-45deg);
}

.plan .btn {
  margin-top: auto;
}

.pricing-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── FAQ ── */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq .section-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
}

.faq-list details[open]::details-content {
  block-size: auto;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-list summary:hover {
  color: #fff;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* Plus that rotates into a close mark. */
.faq-list summary::after {
  content: '';
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 12px 2px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 2px 12px no-repeat,
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.35s var(--ease-out), background-color 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--red);
  box-shadow: none;
}

.faq-list details p {
  margin: -6px 0 26px;
  max-width: 38em;
  color: var(--text-2);
}

.faq-list a {
  color: var(--text);
  text-decoration-color: var(--red-bright);
  text-underline-offset: 3px;
}

/* ── Final CTA ── */

.final {
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 12vw, 170px) 0 clamp(80px, 10vw, 130px);
  text-align: center;
  overflow: hidden;
}

.final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 100%, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.final .mat {
  z-index: -1;
  height: 50%;
}

.final .wrap {
  position: relative;
}

.final__icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 40px;
}

.final__icon-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 34px;
  background: conic-gradient(from var(--angle), transparent, rgba(196, 42, 39, 0.9), transparent 40%, transparent 60%, rgba(255, 138, 128, 0.7), transparent);
  filter: blur(10px);
  animation: spin-angle 5s linear infinite;
}

.final img.final__icon {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.final h2 {
  font-size: clamp(38px, 4.4vw + 12px, 80px);
  max-width: 12em;
  margin: 0 auto 22px;
}

.final .lead {
  margin: 0 auto 40px;
}

.final .stores,
.final .store-note {
  justify-content: center;
}

.embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.embers i {
  position: absolute;
  bottom: -10px;
  left: var(--x);
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: #ff6a60;
  box-shadow: 0 0 10px 2px rgba(196, 42, 39, 0.8);
  opacity: 0;
  animation: ember var(--t, 9s) linear infinite;
  animation-delay: var(--d);
}

/* Belt band that "ties off" the page; stripes are awarded one by one. */

.belt-band {
  display: flex;
  justify-content: flex-end;
  height: 34px;
  background: #151518;
  border-block: 1px solid #26262b;
}

.belt-band__rank {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: clamp(150px, 20vw, 260px);
  margin-right: clamp(40px, 12vw, 180px);
  background: var(--red);
  box-shadow: 0 0 40px rgba(196, 42, 39, 0.35);
}

.belt-band__rank i {
  width: 10px;
  background: #f4f4f5;
  transform-origin: bottom;
}

.js .belt-band.reveal {
  opacity: 1;
  transform: none;
}

.js .belt-band.reveal .belt-band__rank i {
  transform: scaleY(0);
  transition: transform 0.5s var(--ease-spring);
}

.js .belt-band.reveal.is-visible .belt-band__rank i {
  transform: none;
}

.belt-band__rank i:nth-child(1) {
  transition-delay: 0.2s;
}

.belt-band__rank i:nth-child(2) {
  transition-delay: 0.45s;
}

.belt-band__rank i:nth-child(3) {
  transition-delay: 0.7s;
}

.belt-band__rank i:nth-child(4) {
  transition-delay: 0.95s;
}

/* ── Footer ── */

.site-footer {
  padding: 44px 0 56px;
  color: var(--text-3);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer .brand img {
  height: 24px;
}

.site-footer .brand span {
  font-size: 11px;
  color: var(--text);
}

/* ── Mobile download dock ── */

.dock {
  display: none;
}

/* ── Reveal on scroll (only when JS is running) ── */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Headings split into words by JS rise in one after another. */
.js .reveal [data-split].is-split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out), filter 0.6s ease;
  transition-delay: calc(0.12s + var(--i) * 0.055s);
}

.js .reveal.is-visible [data-split].is-split .w {
  opacity: 1;
  transform: none;
  filter: none;
}

/* If landing.js never runs, show everything after a moment instead of leaving it hidden. */
.js:not(.js-ready) .reveal {
  animation: failsafe 0s 2.5s forwards;
}

/* ── Keyframes ── */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes word-rise {
  from {
    opacity: 0;
    transform: translateY(0.45em) rotate(2deg);
    filter: blur(8px);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes stripe {
  from {
    transform: scaleY(0);
  }
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(70px) scale(0.96);
  }
}

@keyframes bob {
  50% {
    transform: translateY(-14px);
  }
}

@keyframes float {
  50% {
    transform: translateY(-9px);
  }
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.85);
  }
}

@keyframes tag-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}

@keyframes drift-a {
  to {
    transform: translate(-90px, 70px) scale(1.08);
  }
}

@keyframes drift-b {
  to {
    transform: translate(120px, -40px) scale(0.92);
  }
}

@keyframes mat-roll {
  to {
    transform: translateY(96px);
  }
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes ring-fill {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 20;
  }
}

@keyframes ring-out {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.75);
    opacity: 0;
  }
}

@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

@keyframes word-lit {
  to {
    opacity: 1;
  }
}

@keyframes mark-sweep {
  to {
    background-size: 100% 100%;
  }
}

@keyframes beam {
  from {
    left: 0;
    opacity: 1;
  }
  to {
    left: calc(100% - 34px);
    opacity: 1;
  }
}

@keyframes spark {
  50% {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 0 0 14px rgba(196, 42, 39, 0.1), 0 14px 44px -6px rgba(196, 42, 39, 1);
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes rf-in {
  to {
    opacity: 1;
    translate: none;
  }
}

@keyframes pip-on {
  to {
    background: var(--red-bright);
  }
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes twinkle {
  50% {
    transform: scale(0.75) rotate(20deg);
    opacity: 0.6;
  }
}

@keyframes term {
  0%,
  8%,
  86%,
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px transparent;
  }
  14%,
  80% {
    background: rgba(196, 42, 39, 0.18);
    box-shadow: inset 0 0 0 1.5px rgba(196, 42, 39, 0.65);
  }
}

@keyframes term-label {
  0%,
  10%,
  84%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
  16%,
  78% {
    opacity: 1;
    transform: none;
  }
}

@keyframes tag-loop {
  0%,
  12%,
  88%,
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
  20%,
  80% {
    opacity: 1;
    transform: none;
  }
}

@keyframes belt-cycle {
  0%,
  17% {
    background-color: #f5f5f5;
  }
  20%,
  37% {
    background-color: #2563eb;
  }
  40%,
  57% {
    background-color: #7c3aed;
  }
  60%,
  77% {
    background-color: #92400e;
  }
  80%,
  97% {
    background-color: #1c1c1f;
  }
  100% {
    background-color: #f5f5f5;
  }
}

@keyframes rank-cycle {
  0%,
  77% {
    background-color: #141414;
  }
  80%,
  97% {
    background-color: #9d1917;
  }
  100% {
    background-color: #141414;
  }
}

@keyframes dot-on {
  0%,
  17% {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.08);
  }
  20%,
  100% {
    opacity: 0.4;
    transform: none;
  }
}

@keyframes sway {
  50% {
    transform: translateX(6px);
  }
}

@keyframes scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(340%);
  }
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
}

@keyframes qswipe {
  0%,
  18% {
    transform: none;
    opacity: 1;
    z-index: 4;
  }
  25% {
    transform: translateX(-115%) rotate(-14deg);
    opacity: 0;
    z-index: 5;
  }
  26% {
    transform: translateY(30px) scale(0.82);
    opacity: 0;
    z-index: 1;
  }
  32%,
  43% {
    transform: translateY(30px) scale(0.82);
    opacity: 0.25;
    z-index: 1;
  }
  50%,
  68% {
    transform: translateY(20px) scale(0.88);
    opacity: 0.5;
    z-index: 2;
  }
  75%,
  93% {
    transform: translateY(10px) scale(0.94);
    opacity: 0.8;
    z-index: 3;
  }
  100% {
    transform: none;
    opacity: 1;
    z-index: 4;
  }
}

@keyframes seg {
  0%,
  40% {
    transform: none;
  }
  50%,
  90% {
    transform: translateX(100%);
  }
  100% {
    transform: none;
  }
}

@keyframes seg-text-a {
  0%,
  40%,
  100% {
    color: #fff;
  }
  50%,
  90% {
    color: var(--text-3);
  }
}

@keyframes seg-text-b {
  0%,
  40%,
  100% {
    color: var(--text-3);
  }
  50%,
  90% {
    color: #fff;
  }
}

@keyframes flip {
  0%,
  42% {
    transform: none;
  }
  50%,
  92% {
    transform: translateY(-20px);
  }
  100% {
    transform: none;
  }
}

@keyframes spin-angle {
  to {
    --angle: 360deg;
  }
}

@keyframes ember {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-62vh) translateX(var(--sx, 20px)) scale(0.4);
    opacity: 0;
  }
}

@keyframes failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .tape__track {
    animation: none !important;
  }

  .embers,
  .video__scan {
    display: none;
  }
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .ov-say {
    right: -16%;
    width: 200px;
  }

  .ov-modes,
  .ov-well,
  .ov-done {
    left: -18%;
  }

  .ov-score {
    right: -14%;
  }

  .ov-streak {
    right: -10%;
  }
}

@media (max-width: 1020px) {
  .nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero__stage .fchip {
    scale: 0.88;
  }

  .demo__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    margin: 0 auto;
  }

  .demo__beam {
    width: 2px;
    height: 84px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(196, 42, 39, 0.15), rgba(196, 42, 39, 0.7), rgba(196, 42, 39, 0.15));
  }

  .demo__beam::before {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-2,
  .span-3 {
    grid-column: span 1;
  }

  .span-4 {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .hero .wrap,
  .problem,
  .journey,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__stage {
    height: auto;
    aspect-ratio: 1 / 1.08;
    max-width: 540px;
    width: 100%;
    margin: 10px auto 0;
  }

  .stage-phone {
    width: 48%;
  }

  .stage-phone--front {
    left: 6%;
  }

  .hero__stage .fchip {
    scale: 0.8;
  }

  .fchip--voice {
    left: -6%;
    top: 2%;
  }

  .fchip--score {
    right: -6%;
  }

  .fchip--tags {
    left: -4%;
    bottom: 2%;
  }

  .tapes {
    margin-top: 0;
  }

  .story {
    display: block;
  }

  .story__steps {
    padding-left: 0;
  }

  .story__rail,
  .step__num::before,
  .story__stage {
    display: none;
  }

  .story__step {
    min-height: 0;
    padding: 0;
  }

  .story__step + .story__step {
    margin-top: 88px;
  }

  .js .story__step {
    opacity: 1;
  }

  .step__media {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 44px;
    isolation: isolate;
  }

  .step__media::before {
    content: '';
    position: absolute;
    inset: 8% 0;
    z-index: -1;
    background: radial-gradient(closest-side, var(--red-glow), transparent);
  }

  .step__media .phone {
    width: min(290px, 72%);
  }

  .facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .journey__media {
    order: 1;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .faq .section-head {
    position: static;
  }

  .pricing {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Download dock appears once the hero badges have scrolled away. */
  .dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 12px;
    border-radius: 22px;
    background: rgba(24, 24, 28, 0.86);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9);
    transform: translateY(calc(100% + 40px));
    transition: transform 0.5s var(--ease-out);
  }

  .dock.is-visible {
    transform: none;
  }

  .dock img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .dock__text {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
  }

  .dock__text strong {
    display: block;
    font-size: 15px;
  }

  .dock__text span {
    display: block;
    font-size: 12.5px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dock .btn {
    height: 42px;
    padding: 0 18px;
  }
}

@media (max-width: 620px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .span-4 {
    grid-column: span 1;
  }

  .bento__card {
    min-height: 0;
  }

  .rgrid,
  .rlist--wide ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan__prices {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan__prices > div {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .plan__prices strong {
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .site-header .wrap {
    height: 60px;
    gap: 16px;
  }

  .brand img {
    height: 26px;
  }

  .brand span {
    font-size: 11px;
    letter-spacing: 0.36em;
    margin-right: -0.36em;
  }

  .site-header .btn {
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }

  .store img {
    height: 48px;
  }

  .kicker--pill {
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }

  .kicker--pill .belt {
    width: 52px;
  }

  .hero__stage .fchip {
    scale: 0.7;
  }

  .fchip--voice {
    left: -12%;
  }

  .fchip--score {
    right: -12%;
  }

  .fchip--tags {
    left: -12%;
  }

  .note,
  .reflection {
    padding: 20px;
  }

  .reflection__skeleton {
    left: 20px;
    right: 20px;
    top: 78px;
  }

  .plan {
    padding: 28px 22px;
  }

  .timeline {
    width: 64%;
    padding: 14px 12px 4px;
  }

  .timeline__head .ibadge {
    display: none;
  }

  .tl-title {
    font-size: 13px;
  }

  .skill {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px;
    gap: 12px;
    font-size: 14px;
  }

  .faq-list summary {
    font-size: 17px;
  }

  .site-footer {
    padding-bottom: 110px;
  }
}

@media (max-width: 380px) {
  .lang {
    display: none;
  }
}
