/* ============================================================
   CRACKED - marketing site
   Dark / cyberpunk / system-message aesthetic
   ============================================================ */

:root {
  --bg: #05060a;
  --bg-1: #0a0c14;
  --bg-2: #0e1220;
  --ink: #e7ecff;
  --ink-dim: #9aa3c2;
  --ink-mute: #5b6489;
  --line: rgba(140, 160, 220, 0.12);
  --line-strong: rgba(140, 160, 220, 0.28);

  --cyan: #6df1ff;
  --blue: #5b8dff;
  --violet: #b07dff;
  --magenta: #ff5bd2;

  --grad-1: linear-gradient(135deg, #6df1ff 0%, #5b8dff 45%, #b07dff 100%);
  --grad-2: linear-gradient(135deg, #ff5bd2 0%, #b07dff 50%, #5b8dff 100%);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 144px;

  --font-display: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }

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

::selection { background: var(--violet); color: #0a0c14; }

/* ====== ambient background ============================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(140, 160, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 160, 220, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  pointer-events: none;
}

.bg-scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 2px,
      rgba(255, 255, 255, 0.012) 2px,
      rgba(255, 255, 255, 0.012) 3px
    );
  mix-blend-mode: screen;
}

/* ====== nav ============================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(5,6,10,0.7), rgba(5,6,10,0.1));
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
}
.nav__brand-mark {
  color: var(--cyan);
  text-shadow: 0 0 18px var(--cyan);
}
.nav__brand-sub {
  margin-left: 6px;
  color: var(--ink-mute);
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.nav__links a { transition: color .2s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink) !important;
  background: linear-gradient(180deg, rgba(140,160,220,0.06), rgba(140,160,220,0));
}
.nav__cta:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px -6px var(--cyan);
}

@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav__links { gap: 14px; font-size: 11px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ====== hero ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  z-index: 2;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1) contrast(1.05);
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(5,6,10,0) 0%, rgba(5,6,10,0.7) 70%, rgba(5,6,10,1) 100%),
    linear-gradient(180deg, rgba(5,6,10,0.4) 0%, rgba(5,6,10,0.2) 40%, rgba(5,6,10,0.9) 100%);
}

.hero__content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  background: rgba(10, 12, 20, 0.5);
  backdrop-filter: blur(8px);
}
.hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% { transform: scale(1.35); opacity: .6; }
}

.hero__title {
  margin: 28px 0 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
.hero__title-line {
  display: block;
  font-size: clamp(72px, 14vw, 200px);
  color: var(--ink);
}
.hero__title-line--sub {
  font-size: clamp(13px, 2vw, 22px);
  background: none;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-bottom: 0;
  filter: none;
  font-weight: 700;
}
/* Hero CRACKED wordmark, centered. */
.hero__title-line--mark {
  display: block;
  text-align: center;
  margin-top: -1.4rem;              /* pull the wordmark up toward the words */
}
.hero__wordmark {
  width: min(96vw, 1200px);
  height: auto;
  filter: drop-shadow(0 6px 34px rgba(70, 170, 255, 0.4));
}

.hero__sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--ink-dim);
}

.hero__cta {
  margin: 36px auto 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero__stats {
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 880px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero__stats li {
  background: rgba(10, 12, 20, 0.6);
  backdrop-filter: blur(8px);
  padding: 22px 12px;
  text-align: center;
}
.hero__stats strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__stats span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ====== store badges ==================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #0d0f18;
  border: 1px solid var(--line-strong);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  isolation: isolate;
}
.badge:hover {
  transform: translateY(-2px);
  border-color: var(--ink-dim);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
}
.badge svg { width: 26px; height: 26px; fill: currentColor; }
.badge span { display: inline-flex; flex-direction: column; line-height: 1.1; text-align: left; }
.badge small { font-size: 10px; letter-spacing: 0.12em; color: var(--ink-dim); text-transform: uppercase; }
.badge strong { font-size: 18px; font-weight: 700; letter-spacing: 0.01em; margin-top: 2px; }

/* ====== sections shared ================================================= */

main { position: relative; z-index: 2; }

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--space-5);
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 12px 0 12px;
}
.section-head__sub {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}

.eyebrow, .pitch__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.grad-text {
  color: var(--ink);
}

/* ====== pitch =========================================================== */

.pitch {
  padding: var(--space-7) 32px var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.pitch__copy { text-align: left; }
.pitch__heading {
  margin: 14px 0 24px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.pitch__body {
  max-width: 540px;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--ink-dim);
}

/* workout demo - source already includes the phone in-frame */
.pitch__phone {
  position: relative;
  justify-self: end;
  width: min(360px, 80vw);
  animation: pitch-float 7s ease-in-out infinite alternate;
}
@keyframes pitch-float {
  to { transform: translateY(-10px); }
}
.pitch__phone-video {
  display: block;
  width: 100%;
  height: auto;
  /* Hard rectangular crop with rounded corners that hug the phone
     silhouette - measured from workout-poster.jpg:
       phone bounds ≈ 14% from L/R, 9% from top, 6% from bottom
       corner radius ≈ 8% horizontal × 5% vertical
     Leaves the phone body + screen completely intact, deletes the
     black surround. */
  clip-path: inset(9% 13.5% 6% 13.5% round 8% / 5%);
}

@media (max-width: 860px) {
  .pitch {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .pitch__copy { text-align: center; }
  .pitch__body { margin: 0 auto; }
  .pitch__phone { justify-self: center; }
}

/* ====== features ======================================================== */

.features {
  position: relative;
  padding: var(--space-6) 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----- sticky-scroll showcase --------------------------------------------
   List of all features on the left (sticky), big preview pane on the
   right. Hover an item to swap the pane (click works too for keyboard
   + touch). All 12 features visible at a glance. */
.showcase {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}
.showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 96px;
}
.showcase__item {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink-dim);
  border-left: 2px solid transparent;
  border-radius: 0 10px 10px 0;
  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease;
}
.showcase__item:hover {
  color: var(--ink);
  background: rgba(140,160,220,0.04);
}
.showcase__item.is-active {
  color: var(--ink);
  background: linear-gradient(90deg, rgba(109,241,255,0.10), rgba(109,241,255,0));
  border-left-color: var(--cyan);
}
.showcase__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(140,160,220,0.55);
  transition: color .25s ease;
}
.showcase__item.is-active .showcase__num {
  color: var(--cyan);
}
.showcase__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.showcase__pane {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #06070d;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
  aspect-ratio: 16 / 10;
}
.showcase__slides {
  position: absolute;
  inset: 0;
}
.showcase__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .55s ease, transform 1s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.showcase__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.showcase__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder slides (no photo yet) use per-slide gradient vars. */
.showcase__slide.is-placeholder {
  background:
    radial-gradient(120% 90% at 20% 20%, var(--placeholder-c1, #1a1f30) 0%, transparent 60%),
    radial-gradient(120% 90% at 80% 80%, var(--placeholder-c2, #2a1830) 0%, transparent 60%),
    #0a0c14;
}
.showcase__slide.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,160,220,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,220,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  pointer-events: none;
}
/* Bottom vignette so the caption reads on any photo. */
.showcase__slide:not(.is-placeholder)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,0) 40%, rgba(5,6,10,0.78) 100%);
  pointer-events: none;
}
.showcase__caption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  max-width: 620px;
}
.showcase__tag {
  margin: 0 0 10px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, var(--line-strong));
  border-radius: 8px;
  background: rgba(10,12,20,0.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.showcase__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.6);
}
.showcase__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(235,238,248,0.88);
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  max-width: 56ch;
}

@media (max-width: 920px) {
  .showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase__list {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
    padding-bottom: 4px;
  }
  .showcase__list::-webkit-scrollbar { display: none; }
  .showcase__item {
    flex: 0 0 auto;
    grid-template-columns: auto auto;
    gap: 8px;
    padding: 8px 14px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
  }
  .showcase__item.is-active {
    background: linear-gradient(180deg, rgba(109,241,255,0.10), rgba(109,241,255,0));
    border-bottom-color: var(--cyan);
  }
  .showcase__num { font-size: 11px; }
  .showcase__name { font-size: 14px; }
}
@media (max-width: 560px) {
  .showcase__pane { aspect-ratio: 4 / 5; }
  .showcase__caption { left: 18px; right: 18px; bottom: 18px; }
}

/* ----- bento grid (kept as inert styles in case we revert) ---------------
   12 feature tiles at a glance, 4-col grid; "wide" tiles span 2 cols
   to create rhythm. Each row sums to 4 (2+1+1 or 1+2+1 or 1+1+2).
   Each tile is a mini PS3-card: photo or gradient placeholder fills
   the tile, a glass chip floats bottom-left. */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.bento__tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #06070d;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
  isolation: isolate;
}
.bento__tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.bento__tile--wide { grid-column: span 2; }

.bento__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.16,1,.3,1), filter .35s ease;
  filter: saturate(1.02);
}
.bento__tile:hover .bento__img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

/* Placeholder tiles use per-tile gradient vars + a faint grid mesh. */
.bento__tile.is-placeholder {
  background:
    radial-gradient(120% 90% at 20% 20%, var(--placeholder-c1, #1a1f30) 0%, transparent 60%),
    radial-gradient(120% 90% at 80% 80%, var(--placeholder-c2, #2a1830) 0%, transparent 60%),
    #0a0c14;
}
.bento__tile.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,160,220,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,220,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom vignette under photos so the chip reads on any image. */
.bento__tile:not(.is-placeholder)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,0) 40%, rgba(5,6,10,0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.bento__chip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}
.bento__tag {
  margin: 0 0 8px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, var(--line-strong));
  border-radius: 7px;
  background: rgba(10,12,20,0.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.bento__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0,0,0,0.65);
}
.bento__tile--wide .bento__title {
  font-size: 26px;
  line-height: 1.1;
}
.bento__sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(235,238,248,0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  max-width: 52ch;
}

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .bento__tile--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento__tile--wide { grid-column: span 1; }
  .bento__title { font-size: 18px; }
  .bento__tile--wide .bento__title { font-size: 22px; }
}

/* ----- PS3-style auto-rotating showcase (kept inert - no markup uses it
   right now, but the styles harmlessly hibernate if you swap back). */
.feature-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  overflow: hidden;
  background: #06070d;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.05);
  isolation: isolate;
}
.feature-stage__slides {
  position: absolute;
  inset: 0;
}
.feature-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  /* Tiny zoom on the resting slide so the active one feels "lifted". */
  transform: scale(1.04);
  transition:
    opacity .85s ease,
    transform 6s linear;
  will-change: opacity, transform;
  pointer-events: none;
}
.feature-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.feature-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Subtle Ken-Burns: the active slide drifts in a hair while shown. */
  animation: stage-kenburns 6s ease-out forwards;
}
.feature-slide:not(.is-active) .feature-slide__img {
  animation: none;
}
@keyframes stage-kenburns {
  from { transform: scale(1);    }
  to   { transform: scale(1.05); }
}

/* Placeholder slides (no image yet) - gradient using per-slide vars. */
.feature-slide.is-placeholder {
  background:
    radial-gradient(120% 90% at 20% 20%, var(--placeholder-c1, #1a1f30) 0%, transparent 60%),
    radial-gradient(120% 90% at 80% 80%, var(--placeholder-c2, #2a1830) 0%, transparent 60%),
    #0a0c14;
}
.feature-slide.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,160,220,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,220,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  pointer-events: none;
}

/* Bottom vignette so the title chip reads cleanly on any photo. */
.feature-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,10,0) 35%, rgba(5,6,10,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Title chip - bottom-left, glassy, readable. */
.feature-slide__chip {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 70px;
  max-width: 620px;
  z-index: 2;
}
.feature-slide__tag {
  margin: 0 0 10px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, var(--line-strong));
  border-radius: 8px;
  background: rgba(10,12,20,0.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.feature-slide__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0,0,0,0.6);
}
.feature-slide__sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(235,238,248,0.88);
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
  max-width: 56ch;
}

/* Each chip slides up + fades in slightly later than the image. */
.feature-slide .feature-slide__chip {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease .1s, transform .8s cubic-bezier(.16,1,.3,1) .1s;
}
.feature-slide.is-active .feature-slide__chip {
  opacity: 1;
  transform: translateY(0);
}

/* Pip strip - bottom-center. Active pip stretches into a bar with
   an internal progress fill timed to autoplay. */
.feature-stage__nav {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,12,20,0.45);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature-stage__pip {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: width .45s cubic-bezier(.16,1,.3,1), background .3s ease;
  overflow: hidden;
}
.feature-stage__pip:hover { background: rgba(255,255,255,0.5); }
.feature-stage__pip.is-active {
  width: 34px;
  background: rgba(255,255,255,0.2);
}
.feature-stage__pip.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform-origin: left center;
  transform: scaleX(0);
}
.feature-stage.is-ticking .feature-stage__pip.is-active::after {
  animation: pip-fill var(--autoplay-ms, 4000ms) linear forwards;
}
@keyframes pip-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Reduced motion: skip the Ken-Burns drift + progress fill. */
@media (prefers-reduced-motion: reduce) {
  .feature-slide__img { animation: none !important; }
  .feature-stage__pip.is-active::after { animation: none !important; transform: scaleX(0); }
}

@media (max-width: 720px) {
  .feature-stage { aspect-ratio: 4 / 5; border-radius: 20px; }
  .feature-slide__chip { left: 18px; right: 18px; bottom: 64px; }
  .feature-slide__title { font-size: 22px; }
  .feature-slide__sub   { font-size: 14px; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
}
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}

.feature {
  position: relative;
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,0.09);
  /* Glass card so the tile reads as a floating panel - works both on the
     dark page and over the photo backdrop when hover engages. */
  background:
    linear-gradient(180deg, rgba(18,22,34,0.62), rgba(10,12,20,0.52));
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
          backdrop-filter: blur(6px) saturate(1.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition:
    transform .35s ease,
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;
  /* Stack context so per-tile fx layers stay above the icon/copy correctly. */
  isolation: isolate;
}
.feature:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(24,28,42,0.72), rgba(14,16,26,0.58));
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* ----- hover background (photo sits BEHIND heading + tiles) -------------
   Apple-style: tiles float on top, the photo is the section's backdrop.
   The image fades in on hover of a preview-tagged tile. */
.features-bg {
  position: absolute;
  /* Inset matches the section padding so the photo lives inside the
     section's content area, not behind the page edges. */
  top: var(--space-6);
  bottom: var(--space-6);
  left: 32px;
  right: 32px;
  z-index: 0;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}
.features-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sharp photo. Soft feather only at the edges via a generous radial
     mask - long single fade from opaque core to fully transparent box
     edges, so there's no hard rectangle/oval boundary. */
  filter: saturate(1) contrast(1.02) brightness(1);
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at center, #000 35%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 95% at center, #000 35%, transparent 100%);
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity .65s ease,
    transform 1.6s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
/* (Edge fading handled by the radial mask on .features-bg__img - no
   extra vignette needed.) */

/* Heading + grid sit ABOVE the backdrop. */
.features .section-head,
.features .feature-grid {
  position: relative;
  z-index: 1;
}
/* Heading gets a soft shadow so it stays readable on the photo. */
.features .section-head h2 {
  text-shadow: 0 4px 28px rgba(0,0,0,0.45);
}

/* Subtle hint on the preview-tagged tile so users know it triggers
   something. Fades out the moment they actually hover. */
.fx-preview-hint {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--cyan) 80%, white);
  opacity: 0.55;
  transition: opacity .3s ease;
}
.feature[data-preview]:hover .fx-preview-hint { opacity: 0; }

/* Engage on hover/focus of a preview-tagged tile. */
.features:has(.feature[data-preview="pose-detection"]:hover) .features-bg__img[data-preview="pose-detection"],
.features:has(.feature[data-preview="pose-detection"]:focus-within) .features-bg__img[data-preview="pose-detection"],
.features:has(.feature[data-preview="hp-sleep"]:hover) .features-bg__img[data-preview="hp-sleep"],
.features:has(.feature[data-preview="hp-sleep"]:focus-within) .features-bg__img[data-preview="hp-sleep"],
.features:has(.feature[data-preview="monarch-class"]:hover) .features-bg__img[data-preview="monarch-class"],
.features:has(.feature[data-preview="monarch-class"]:focus-within) .features-bg__img[data-preview="monarch-class"],
.features:has(.feature[data-preview="ar-lore"]:hover) .features-bg__img[data-preview="ar-lore"],
.features:has(.feature[data-preview="ar-lore"]:focus-within) .features-bg__img[data-preview="ar-lore"],
.features:has(.feature[data-preview="beast-hunt"]:hover) .features-bg__img[data-preview="beast-hunt"],
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .features-bg__img[data-preview="beast-hunt"],
.features:has(.feature[data-preview="trophies"]:hover) .features-bg__img[data-preview="trophies"],
.features:has(.feature[data-preview="trophies"]:focus-within) .features-bg__img[data-preview="trophies"],
.features:has(.feature[data-preview="run-tracking"]:hover) .features-bg__img[data-preview="run-tracking"],
.features:has(.feature[data-preview="run-tracking"]:focus-within) .features-bg__img[data-preview="run-tracking"],
.features:has(.feature[data-preview="academy"]:hover) .features-bg__img[data-preview="academy"],
.features:has(.feature[data-preview="academy"]:focus-within) .features-bg__img[data-preview="academy"],
.features:has(.feature[data-preview="squad-summons"]:hover) .features-bg__img[data-preview="squad-summons"],
.features:has(.feature[data-preview="squad-summons"]:focus-within) .features-bg__img[data-preview="squad-summons"],
.features:has(.feature[data-preview="meditation"]:hover) .features-bg__img[data-preview="meditation"],
.features:has(.feature[data-preview="meditation"]:focus-within) .features-bg__img[data-preview="meditation"],
.features:has(.feature[data-preview="meals"]:hover) .features-bg__img[data-preview="meals"],
.features:has(.feature[data-preview="meals"]:focus-within) .features-bg__img[data-preview="meals"],
.features:has(.feature[data-preview="shop"]:hover) .features-bg__img[data-preview="shop"],
.features:has(.feature[data-preview="shop"]:focus-within) .features-bg__img[data-preview="shop"] {
  opacity: 1;
  transform: scale(1);
}

/* ----- SHOW MORE toggle --------------------------------------------------
   Minimal hairline-flanked button between the original 6 tiles and the
   hidden 6. JS toggles [hidden] on the second grid + flips the chevron. */
.features-toggle {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 420px;
  margin: 38px auto 18px;
  position: relative;
  z-index: 2;
}
.features-toggle__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.features-toggle__btn {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: color .25s ease;
}
.features-toggle__btn:hover { color: var(--cyan); }
.features-toggle__chevron {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  transition: transform .35s ease;
}
.features-toggle__btn[aria-expanded="true"] .features-toggle__chevron {
  transform: rotate(180deg);
}

.feature-grid--more {
  margin-top: 16px;
  position: relative;
  z-index: 2;
  animation: features-more-in .55s cubic-bezier(.16,1,.3,1);
}
@keyframes features-more-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Touch / no-hover devices: no backdrop swap (no way to dismiss it). */
@media (hover: none) {
  .features-bg { display: none; }
  .fx-preview-hint { display: none; }
}

/* ----- per-tile unique hover effects ------------------------------------- */

/* SCAN - pose detection: a cyan scanline sweeps top→bottom while hovered. */
.feature[data-fx="scan"]::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(109,241,255,0.9), transparent);
  box-shadow: 0 0 18px rgba(109,241,255,0.65);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity .35s ease;
}
.feature[data-fx="scan"]:hover::before {
  opacity: 1;
  animation: fx-scan 2.2s cubic-bezier(.6,.0,.4,1) infinite;
}
@keyframes fx-scan {
  0%   { transform: translateY(0);     opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(260px); opacity: 0; }
}

/* HP - sleep tile: a green→red bar draws across the bottom on hover. */
.fx-hp {
  position: absolute;
  left: 26px; right: 26px;
  bottom: 18px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2ecc71 0%, #f1c40f 60%, #e74c3c 100%);
  box-shadow: 0 0 14px rgba(46,204,113,0.4);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .9s cubic-bezier(.16,1,.3,1);
}
.feature[data-fx="hp"]:hover .fx-hp {
  opacity: 1;
  transform: scaleX(1);
}

/* PRISM - class awakening: 6-color gradient cycles softly across tile. */
.feature[data-fx="prism"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    #9B59B6 0%, #F39C12 20%, #FFD700 40%,
    #CC0000 60%, #D4AC0D 80%, #4169E1 100%);
  background-size: 300% 100%;
  background-position: 0% 0;
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.feature[data-fx="prism"]:hover::before {
  opacity: 0.55;
  animation: fx-prism 7s linear infinite;
}
@keyframes fx-prism {
  0%   { background-position: 0%   0; }
  100% { background-position: 200% 0; }
}

/* FLOAT - AR lore: glyphs drift upward through the tile (parallax-ish). */
.fx-float {
  position: absolute;
  left: 0; right: 0;
  bottom: -28px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 14px;
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(109,241,255,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform 2.2s cubic-bezier(.16,1,.3,1);
}
.feature[data-fx="float"]:hover .fx-float {
  opacity: 0.75;
  transform: translateY(-280px);
}

/* ISLAND - Live Activity: a Dynamic Island-style pill grows from the icon. */
.fx-island {
  position: absolute;
  /* icon: left 26px, width 44px → right edge at 70px; tile pad-top 28px,
     icon 44px → center 50px; pill height 24px → top = 50-12 = 38px. */
  left: 74px;
  top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10,12,20,0.95), rgba(20,24,38,0.95));
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, var(--line-strong));
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  white-space: nowrap;
  pointer-events: none;
  /* Hidden state: collapsed behind icon, transparent. */
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-width .65s cubic-bezier(.16,1,.3,1),
    opacity .35s ease .05s;
}
.fx-island__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff5544;
  box-shadow: 0 0 8px rgba(255,85,68,0.8);
  animation: fx-island-pulse 1.4s ease-in-out infinite;
  flex: none;
}
.fx-island__text { display: inline-block; }
.feature[data-fx="island"]:hover .fx-island {
  max-width: 280px;
  opacity: 1;
}
@keyframes fx-island-pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.3); opacity: 0.7; }
}
.feature h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 700;
  transition: color .4s ease;
}
.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-dim);
  transition: color .4s ease;
}
.feature__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(140, 160, 220, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-size: 22px;
  text-shadow: 0 0 16px rgba(109, 241, 255, 0.5);
  transition: color .4s ease, background .4s ease, border-color .4s ease, text-shadow .4s ease;
}
.feature__icon::before {
  content: attr(data-glyph);
}

/* ----- light-glass mode (BEAST HUNT only) --------------------------------
   The dragon photo is bright/sunny, so only this preview swaps the tiles
   to translucent-white glass + black text - same idea as iOS widgets
   over a bright lock screen wallpaper. Other previews keep dark tiles
   + white text. */
.features:has(.feature[data-preview="beast-hunt"]:hover) .feature,
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.16));
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  -webkit-backdrop-filter: blur(4px) saturate(1.05);
          backdrop-filter: blur(4px) saturate(1.05);
}
.features:has(.feature[data-preview="beast-hunt"]:hover) .feature h3,
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .feature h3 {
  color: #0a0c14;
}
.features:has(.feature[data-preview="beast-hunt"]:hover) .feature p,
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .feature p {
  color: rgba(10,12,20,0.78);
}
.features:has(.feature[data-preview="beast-hunt"]:hover) .feature__icon,
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .feature__icon {
  background: rgba(10,12,20,0.08);
  border-color: rgba(10,12,20,0.2);
  color: #0a0c14;
  text-shadow: none;
}
/* Heading + eyebrow sit on the photo directly. Black text + a soft
   white glow halo so they pop against any colorful spot in the photo. */
.features .section-head h2,
.features .eyebrow {
  transition: color .4s ease, text-shadow .4s ease;
}
.features:has(.feature[data-preview="beast-hunt"]:hover) .section-head h2,
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .section-head h2 {
  color: #0a0c14;
  text-shadow:
    0 0 26px rgba(255,255,255,0.55),
    0 2px 10px rgba(255,255,255,0.4);
}
.features:has(.feature[data-preview="beast-hunt"]:hover) .eyebrow,
.features:has(.feature[data-preview="beast-hunt"]:focus-within) .eyebrow {
  color: #0a0c14;
  text-shadow: 0 0 14px rgba(255,255,255,0.55);
}

/* ====== classes ========================================================= */

.classes {
  padding: var(--space-6) 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----- hover-swap showcase ("the photos / hover summons the character") --- */
.awaken {
  position: relative;
  margin: 0 auto 56px;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  /* Alpha vignette: opaque around the phones, long fade outward. The
     ellipse is wider than the box (110%) so the fade band extends past
     the visible edges into a clean transparent corner. */
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at center, #000 35%, transparent 130%);
          mask-image: radial-gradient(ellipse 55% 50% at center, #000 35%, transparent 130%);
}
/* Blurred backdrop - softens the photo's dark surround so it diffuses
   into the page instead of looking like a hard rectangle on bright
   displays. The mask above still clips it to the same soft vignette. */
.awaken::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background: url('../assets/showcase/awaken-ui.png') center/cover no-repeat;
  filter: blur(38px) saturate(1.15) brightness(0.85);
  opacity: 0.85;
  pointer-events: none;
}
.awaken__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.awaken__img--rest { opacity: 1; }
.awaken__img--hover { opacity: 0; transform: scale(1.02); }
.awaken:hover .awaken__img--rest,
.awaken:focus-within .awaken__img--rest { opacity: 0; }
.awaken:hover .awaken__img--hover,
.awaken:focus-within .awaken__img--hover { opacity: 1; transform: scale(1); }

@media (hover: none) {
  /* Touch devices can't hover - gently crossfade on a loop so mobile users
     still see the reveal. */
  .awaken__img--rest  { animation: awaken-rest  6s ease-in-out infinite; }
  .awaken__img--hover { animation: awaken-hover 6s ease-in-out infinite; }
  @keyframes awaken-rest  { 0%,40%,100% { opacity: 1 } 55%,85% { opacity: 0 } }
  @keyframes awaken-hover { 0%,40%,100% { opacity: 0; transform: scale(1.02) } 55%,85% { opacity: 1; transform: scale(1) } }
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.class-card {
  position: relative;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--c) 18%, transparent) 0%, transparent 60%), rgba(10,12,20,0.6);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.class-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 70%, var(--line-strong));
}
.class-card__sigil {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%), #0a0c14;
  border: 1px solid color-mix(in srgb, var(--c) 55%, var(--line-strong));
  color: var(--c);
  font-size: 32px;
  margin-bottom: 18px;
  box-shadow: 0 0 38px -6px var(--c), inset 0 0 22px -8px var(--c);
  overflow: hidden;
}
.class-card__sigil img {
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent));
}
.class-card h3 {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.class-card__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c);
}
.class-card__sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ====== multiplayer ===================================================== */

.multi {
  padding: var(--space-6) 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.multi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.multi-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(10, 12, 20, 0.5);
  overflow: hidden;
}
.multi-card__tag {
  display: inline-block;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10,12,20,0.6);
}
.multi-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.multi-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ====== final cta ======================================================= */

.final {
  padding: var(--space-7) 32px var(--space-6);
  text-align: center;
}
.final__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 40px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: rgba(10, 12, 20, 0.7);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.final__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 14px 0 28px;
  text-transform: uppercase;
}
.final__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ====== footer ========================================================== */

.foot {
  padding: var(--space-4) 32px var(--space-3);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.foot__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.foot__brand {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}
.foot__brand-mark { color: var(--cyan); margin-right: 4px; }
.foot__links {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.foot__links a:hover { color: var(--ink); }
.foot__fine {
  max-width: 1200px;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
}

/* ====== reveal-on-scroll ================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
