/* ==========================================================================
   Chordio — Premium dark landing system
   Matches the macOS app: near-black canvas, warm-orange accent,
   per-workspace colour coding, Apple-grade typography & motion.
   ========================================================================== */

:root {
  /* Canvas */
  --bg: #000000;
  --bg-2: #0d0d10;
  --surface: #141417;
  --surface-2: #1a1a1f;
  --elevated: #202027;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Layered greys — the black → dark-grey ladder used across the product page */
  --grey-1: #0b0b0d;
  --grey-2: #131317;
  --grey-3: #1c1c21;
  --grey-4: #26262c;
  --bar-h: 52px;

  /* Ink */
  --ink: #f6f6f8;
  --ink-2: #b6b6be;
  --ink-3: #85858e;

  /* Brand */
  --orange: #ff9f0a;
  --orange-2: #ff6a00;
  --orange-grad: linear-gradient(135deg, #ffb43d 0%, #ff8a00 45%, #ff5e2c 100%);

  /* Workspace hues */
  --c-composition: #ff9f0a;
  --c-scales: #ffd60a;
  --c-modes: #30d158;
  --c-sheet: #5ac8fa;
  --c-theory: #ff5eb3;
  --c-lessons: #0a84ff;

  /* System typography */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 120px -20px rgba(255, 138, 0, 0.35);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient aurora that sits behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 45% at 78% -5%, rgba(255, 138, 0, 0.16), transparent 60%),
    radial-gradient(45% 40% at 8% 8%, rgba(10, 132, 255, 0.12), transparent 60%),
    radial-gradient(55% 55% at 50% 110%, rgba(255, 94, 179, 0.08), transparent 60%);
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: #fff; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}

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

.grad-text {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--orange);
  opacity: 0.7;
}

.section { padding: clamp(72px, 11vw, 148px) 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); }
.section-head p { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin: 0; }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-grad);
  color: #1a0e00;
  box-shadow: 0 12px 34px -10px rgba(255, 138, 0, 0.6);
}
.btn-primary:hover { color: #1a0e00; transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(255, 138, 0, 0.75); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: translateY(-2px); }

.store-badge img { height: 54px; width: auto; }
.store-badge { display: inline-block; transition: transform 0.25s var(--ease), filter 0.25s var(--ease); }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ============================ Header ============================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 20px; color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  box-shadow: 0 3px 10px -3px rgba(0, 0, 0, 0.8);
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 9px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14.5px; }
.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--ink);
  font-size: 26px; cursor: pointer; padding: 4px; line-height: 1;
}

@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 22px;
    background: rgba(12, 12, 14, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 12px 14px; font-size: 16px; }
}

/* ============================ Hero ============================ */
.hero { position: relative; padding: 150px 0 80px; text-align: center; overflow: hidden; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); margin-bottom: 26px;
}
.hero-badge b { color: var(--ink); font-weight: 600; }
.hero-badge .pill {
  background: var(--orange-grad); color: #1a0e00;
  font-weight: 700; font-size: 11px; letter-spacing: 0.03em;
  padding: 3px 9px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 82px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  max-width: 15ch; margin-inline: auto;
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--ink-2);
  max-width: 40ch;
  margin: 0 auto 34px;
  line-height: 1.5;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 26px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-3);
}
.hero-meta .stars { color: var(--orange); letter-spacing: 2px; }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

.hero-shot {
  position: relative;
  margin: clamp(48px, 7vw, 88px) auto 0;
  max-width: 1080px;
}
.device {
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #000;
}
.hero-shot .device { border-radius: clamp(12px, 1.6vw, 20px); }

.hero-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; margin-top: 44px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 13.5px; font-weight: 500;
}
.hero-logos span { display: inline-flex; align-items: center; gap: 7px; }

/* ============================ Marquee (platforms/genres) ============================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.015);
}
.strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px 40px; flex-wrap: wrap;
  color: var(--ink-3); font-size: 15px; font-weight: 500;
  text-align: center;
}
.strip-inner b { color: var(--ink-2); font-weight: 600; }

/* ============================ Workspaces grid ============================ */
.ws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .ws-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ws-grid { grid-template-columns: 1fr; } }

.ws-card {
  position: relative;
  padding: 30px 28px 32px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ws-card::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--hue, var(--orange));
  opacity: 0.85;
}
.ws-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.ws-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--hue) 16%, transparent);
  color: var(--hue, var(--orange));
  border: 1px solid color-mix(in srgb, var(--hue) 30%, transparent);
}
.ws-card h3 { font-size: 21px; margin-bottom: 8px; }
.ws-card p { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }

/* ============================ Feature rows ============================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.feature.reverse .feature-media { order: -1; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-media { order: 0; }
}
.feature + .feature { margin-top: clamp(80px, 11vw, 150px); }
.feature-copy h2 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 20px; }
.feature-copy > p { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.feature-list li {
  position: relative; padding-left: 30px;
  font-size: 16px; color: var(--ink-2);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--hue, var(--orange)) 22%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--hue, var(--orange));
}
.feature-list li b { color: var(--ink); font-weight: 600; }
.feature-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.feature-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--hue, var(--orange)); font-weight: 600; font-size: 15.5px;
}
.feature-link:hover { color: var(--hue, var(--orange)); gap: 10px; }
.feature-link { transition: gap 0.25s var(--ease); }

.feature-media { position: relative; }
.feature-media .device { transform: perspective(1600px); }

.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: color-mix(in srgb, var(--hue, var(--orange)) 16%, transparent);
  color: var(--hue, var(--orange));
  border: 1px solid color-mix(in srgb, var(--hue, var(--orange)) 34%, transparent);
  margin-bottom: 18px;
}

/* Media variants for original promo art */
.feature-media img.raw { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.feature-media .device.plain { border: 0; background: transparent; box-shadow: none; }
.feature-media .device.plain img { filter: drop-shadow(0 40px 70px rgba(0,0,0,0.6)); }

/* Light "product tile" mat for white-background device renders */
.media-mat {
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 44px);
  background: linear-gradient(160deg, #f7f8fa 0%, #e9ebef 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.media-mat img { border-radius: 8px; }
/* For photos that already carry their own white margin. */
.media-mat.tight { padding: clamp(8px, 1.4vw, 16px); }
.media-mat.dark {
  background: linear-gradient(160deg, #1a1a1f 0%, #0e0e11 100%);
  border-color: var(--line);
}

/* Photographic feature image (dark background, no frame needed) */
.feature-media .photo {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ============================ Video showcase ============================ */
.video-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, #060608 100%);
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.video-showcase::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--orange-grad); opacity: 0.9;
}
.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #050506;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.video-frame video { display: block; width: 100%; height: auto; }
.video-cap {
  text-align: center; margin-top: 20px;
  font-size: 14.5px; color: var(--ink-3);
}

/* ============================ Supplemental gallery ============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.9);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
}
.gallery figure:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.gallery img { display: block; width: 100%; height: auto; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.72));
}
.gallery figcaption .hue-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 7px; vertical-align: middle;
  background: var(--hue, var(--orange));
}

/* ============================ Spotlight (Harmony Explorer) ============================ */
.spotlight {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--grey-3) 0%, var(--grey-1) 100%);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(34px, 5vw, 60px);
}
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 18px; }
.spotlight p { font-size: 18px; color: var(--ink-2); margin: 0 0 26px; }
.spotlight-media { position: relative; }
.spotlight-media img {
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

/* ============================ Stats ============================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center;
  padding: 30px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat .num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.stat .lbl { font-size: 14px; color: var(--ink-3); margin-top: 4px; }

/* ============================ Audience cards ============================ */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }
.aud-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.aud-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.aud-card .ico { font-size: 30px; margin-bottom: 14px; }
.aud-card h3 { font-size: 20px; margin-bottom: 8px; }
.aud-card p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ============================ FAQ ============================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 17.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px; color: var(--orange); font-weight: 400;
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-2); font-size: 16px; }
.faq-item .faq-body a { color: var(--orange); }

/* ============================ Final CTA ============================ */
.cta-final {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 84px) 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(255, 138, 0, 0.22), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
}
.cta-final h2 { font-size: clamp(30px, 5vw, 56px); margin-bottom: 18px; }
.cta-final p { font-size: 19px; color: var(--ink-2); max-width: 44ch; margin: 0 auto 32px; }
.cta-final .hero-actions { justify-content: center; }

/* ============================ Footer ============================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 40px;
  margin-top: clamp(60px, 9vw, 120px);
  background: var(--bg-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand { max-width: 300px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 15px; color: var(--ink-3); margin: 0 0 18px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 18px;
  transition: all 0.25s var(--ease);
}
.foot-social a:hover { color: #fff; border-color: var(--line-strong); transform: translateY(-2px); background: var(--surface-2); }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { color: var(--ink-2); font-size: 15px; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-3);
}
.foot-bottom a { color: var(--ink-3); }
.foot-bottom a:hover { color: var(--ink); }

/* ============================ Back to top ============================ */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange-grad); color: #1a0e00;
  font-size: 22px; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 10px 30px -8px rgba(255, 138, 0, 0.6);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============================ Scroll reveal ============================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Inner-page components (shared across iPad, iPhone, packs, tutorials,
   FAQ, contact, pricing, forum). Built on the same tokens as the homepage.
   ========================================================================== */

/* ---- Compact inner-page hero ---- */
.page-hero {
  position: relative;
  padding: 140px 0 20px;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(34px, 6vw, 66px);
  letter-spacing: -0.035em;
  margin: 0 auto 18px;
  max-width: 18ch;
}
.page-hero .lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0 auto 30px;
  line-height: 1.55;
}
.page-hero .hero-actions { justify-content: center; }

/* ---- Rich prose blocks ---- */
.rich { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.rich > *:first-child { margin-top: 0; }
.rich h2 { font-size: clamp(24px, 3vw, 34px); margin: 1.6em 0 0.5em; }
.rich h3 { font-size: 20px; margin: 1.4em 0 0.4em; color: var(--ink); }
.rich p { margin: 0 0 1.1em; }
.rich a { color: var(--orange); }
.rich a:hover { color: #ffb14d; }
.rich strong, .rich b { color: var(--ink); font-weight: 600; }
.rich ul, .rich ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.rich li { margin-bottom: 0.5em; }
.rich ul li::marker { color: var(--orange); }

/* ---- Generic responsive card grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.card-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
@media (max-width: 520px) {
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
}

/* ---- Product / pack card ---- */
.pack-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pack-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.pack-card { cursor: pointer; }
.pack-card .thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}
.pack-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.pack-card:hover .thumb img { transform: scale(1.045); }
.pack-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pack-card .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hue, var(--orange)); margin-bottom: 8px;
}
.pack-card h3 { font-size: 20px; margin: 0 0 8px; }
.pack-card p { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.pack-card .pack-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
/* Card footer: a trigger for the detail dialog, plus a quiet purchase note */
.pack-open {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0; border: 0; background: none;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--hue, var(--orange));
  cursor: pointer;
  transition: gap 0.25s var(--ease);
}
.pack-open:hover { gap: 11px; }
.pack-open:focus-visible {
  outline: 2px solid var(--hue, var(--orange));
  outline-offset: 4px;
  border-radius: 4px;
}
.pack-tag { color: var(--ink-3); font-size: 13px; }

/* ---- Pack detail dialog ---- */
html.modal-open { overflow: hidden; }

.pack-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(88vh, 860px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: clamp(16px, 2.2vw, 26px);
  background: linear-gradient(180deg, var(--grey-3) 0%, var(--grey-1) 100%);
  color: var(--ink-2);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.28s var(--ease), transform 0.34s var(--ease);
}
/* Single column: the pack artwork is landscape, so it leads as a banner
   rather than fighting a full-height side column. */
.pack-modal[open] { display: flex; flex-direction: column; }
.pack-modal.is-open { opacity: 1; transform: none; }
.pack-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.pack-modal.is-open::backdrop { opacity: 1; }

/* Banner. Pack art is 16:9-ish (chord + sheet music) or near-square
   (lesson portraits), so the image is contained, never cropped — the wide
   art fills the frame edge to edge, the square art sits framed on the panel. */
.pm-media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 44vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 70%), #07070a;
  overflow: hidden;
}
.pm-media img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
}
.pm-media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 -1px 0 var(--line);
  pointer-events: none;
}

/* Body = a scrolling notes column with the CTA pinned beneath it. */
.pm-body { min-height: 0; display: flex; flex-direction: column; }
.pm-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(26px, 3.4vw, 42px);
}
.pm-kicker {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hue, var(--orange));
  margin-bottom: 10px;
}
.pm-title { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.pm-lead { font-size: 17px; color: var(--ink); margin: 0 0 22px; line-height: 1.5; }
.pm-content { font-size: 15.5px; line-height: 1.68; color: var(--ink-2); }
.pm-content p { margin: 0 0 1.05em; }
.pm-content p:last-child { margin-bottom: 0; }
.pm-content ul, .pm-content ol { margin: 0.7em 0 1.05em; padding-left: 1.15em; }
.pm-content li { margin-bottom: 0.45em; }
.pm-content li::marker { color: var(--hue, var(--orange)); }
.pm-content strong, .pm-content b { color: var(--ink); font-weight: 600; }

.pm-cta {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px clamp(26px, 3.4vw, 42px);
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.72);
}
.pm-note { font-size: 13px; color: var(--ink-3); }

.pm-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; color: var(--ink);
  background: rgba(16, 16, 20, 0.66);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.pm-close:hover { background: rgba(46, 46, 54, 0.9); transform: rotate(90deg); }

@media (max-width: 760px) {
  .pack-modal { max-height: 90vh; }
  .pm-media { max-height: 34vh; }
}

@media (prefers-reduced-motion: reduce) {
  .pack-modal { transition: none; opacity: 1; transform: none; }
  .pack-modal::backdrop { transition: none; }
  .pm-close:hover { transform: none; }
  .pack-card:hover .thumb img { transform: none; }
}

/* ---- Pricing cards ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card.featured {
  border-color: color-mix(in srgb, var(--orange) 50%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--orange) 30%, transparent), var(--shadow-glow);
  background: linear-gradient(180deg, #1a140b 0%, var(--bg-2) 100%);
}
.price-card .plan-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.price-card h3 { font-size: 22px; margin: 0 0 6px; }
.price-card .amount { font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price-card .amount small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-card .plan-desc { color: var(--ink-3); font-size: 14.5px; margin: 0 0 20px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.price-card ul li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.price-card ul li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--orange); font-weight: 700;
}
.price-card .btn { margin-top: auto; width: 100%; }

/* ---- Forms (dark) ---- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form-field .req { color: var(--orange); }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--sans);
  font-size: 16px; color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-3); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.18);
}
.form-status { margin: 6px 0 18px; }
.form-status .loading, .form-status .error-message, .form-status .sent-message { display: none; border-radius: 12px; padding: 13px 16px; font-weight: 500; text-align: center; }
.form-status .loading { display: none; color: var(--ink-2); }
.form-status .error-message { background: rgba(220, 53, 69, 0.15); border: 1px solid rgba(220,53,69,0.4); color: #ff8a95; }
.form-status .sent-message { background: rgba(48, 209, 88, 0.15); border: 1px solid rgba(48,209,88,0.4); color: #6ee7a0; }

/* Contact two-column layout */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 22px; }
.contact-info .info-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 6px; }
.contact-info .info-block p, .contact-info .info-block a { margin: 0; font-size: 16px; color: var(--ink); }
.contact-info .info-block a { color: var(--orange); }

/* ---- Video grid (YouTube tutorials) ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}
@media (max-width: 520px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.video-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.ratio-16x9 { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.ratio-16x9 iframe, .ratio-16x9 video, .ratio-16x9 img {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.video-card .vc-body { padding: 16px 18px 20px; }
.video-card h3 { font-size: 17px; margin: 0 0 6px; }
.video-card p { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---- YouTube facade: real thumbnail, player loads on click ---- */
.yt-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.yt-lite img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.35s var(--ease);
}
.video-card:hover .yt-lite img { transform: scale(1.045); opacity: 0.85; }

.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 27px; line-height: 1;
  padding-left: 3px; /* optically centre the triangle */
  color: #fff;
  background: rgba(14, 14, 18, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
}
.video-card:hover .yt-play,
.yt-lite:focus-visible .yt-play {
  background: var(--orange-grad);
  border-color: transparent;
  color: #1a0e00;
  transform: translate(-50%, -50%) scale(1.08);
}
.yt-lite:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }

.yt-playing { display: block; }

@media (prefers-reduced-motion: reduce) {
  .video-card:hover .yt-lite img { transform: none; }
  .video-card:hover .yt-play { transform: translate(-50%, -50%); }
}

/* Portrait video (phone demos) centered in a frame */
.phone-video {
  max-width: 380px; margin: 0 auto;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
  box-shadow: var(--shadow);
}
.phone-video video { display: block; width: 100%; height: auto; }

/* ---- Device screenshot helpers reused on platform pages ---- */
.shot-plain img { filter: drop-shadow(0 40px 70px rgba(0,0,0,0.6)); border-radius: 0; }

/* ---- Simple centered narrow container ---- */
.narrow { max-width: 820px; margin-inline: auto; }
.narrow-md { max-width: 960px; margin-inline: auto; }

/* ---- Callout / notice ---- */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ==========================================================================
   PRODUCT PAGE SYSTEM
   Sticky product bar, brand-led hero, video showcase, snap carousel,
   bento tiles and platform cards. Black ↔ dark-grey banding throughout.
   ========================================================================== */

/* ---- Page chrome: one bar, always. The brand carries the product name. ---- */
body.product-page main { padding-top: 66px; }
body.product-page [id] { scroll-margin-top: 86px; }

/* A single, more prominent brand lockup in the one nav bar. */
body.product-page .brand { font-size: 22px; }
body.product-page .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.brand-suffix {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: -3px;
}
@media (max-width: 1180px) { .brand-suffix { display: none; } }

/* ---- Brand-led hero ---- */
.hero-v2 {
  position: relative;
  text-align: center;
  padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero-lockup {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 1.8vw, 22px);
  margin-bottom: clamp(8px, 1.4vw, 16px);
}
.hero-icon {
  width: clamp(46px, 7.4vw, 92px);
  height: clamp(46px, 7.4vw, 92px);
  border-radius: clamp(11px, 1.7vw, 21px);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.9);
}
/* The Chordio+ mark is artwork inset in its own dark tile, so it reads
   smaller than the Chordio mark at the same box size. Give it more room. */
.hero-icon.hero-icon-lg {
  width: clamp(56px, 9vw, 112px);
  height: clamp(56px, 9vw, 112px);
  border-radius: clamp(13px, 2.05vw, 26px);
}
.hero-title { margin: 0 0 22px; }
.hero-brand {
  display: block;
  font-size: clamp(56px, 11.5vw, 138px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 12%, #cfcfd8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.06em;
}
.hero-line {
  display: block;
  font-size: clamp(24px, 4.3vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 17ch;
  margin: clamp(10px, 1.6vw, 18px) auto 0;
}
.hero-v2 .hero-sub { max-width: 46ch; }
.hero-v2 a.hero-badge { transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.hero-v2 a.hero-badge:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.09); }

@media (max-width: 560px) {
  .hero-badge .badge-tail { display: none; }
  .hero-meta .dot { display: none; }
  .hero-meta { gap: 6px 16px; }
}

/* ---- Hero video showcase ---- */
.hero-video {
  position: relative;
  max-width: 1120px;
  margin: clamp(40px, 6vw, 78px) auto 0;
}
.vshell {
  position: relative;
  border-radius: clamp(13px, 1.7vw, 22px);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 130px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.vshell video, .vshell img.vposter { display: block; width: 100%; height: auto; }
.vshell::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%);
}
.vtoggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 17px; line-height: 1;
  color: #fff;
  background: rgba(18, 18, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.25s;
}
.vshell:hover .vtoggle, .vtoggle:focus-visible { opacity: 1; transform: none; }
.vtoggle:hover { background: rgba(40, 40, 48, 0.8); }
@media (hover: none) { .vtoggle { opacity: 1; transform: none; } }
.video-caption {
  margin: 18px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

/* Frameless hero stage — for cut-out device renders that need no shell. */
.hero-stage {
  position: relative;
  max-width: 1020px;
  margin: clamp(40px, 6vw, 78px) auto 0;
}
.hero-stage img {
  margin-inline: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.85));
}

/* ---- Section banding: black ↔ dark grey ---- */
.band { position: relative; }
.band-grey {
  background: linear-gradient(180deg, #000 0%, var(--grey-1) 7%, var(--grey-1) 93%, #000 100%);
}
.band-grey-2 {
  background: linear-gradient(180deg, #000 0%, var(--grey-2) 9%, var(--grey-2) 91%, #000 100%);
}
.band-hairline::before {
  content: "";
  position: absolute; top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ---- Snap carousel ---- */
.snap {
  position: relative;
  --snap-w: clamp(292px, 74vw, 760px);
}
.snap-track {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Side padding centres the first and last card in the scrollport. */
  padding: 6px max(24px, calc((100% - var(--snap-w)) / 2)) 34px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.snap-track::-webkit-scrollbar { display: none; }
.snap-card {
  position: relative;
  flex: 0 0 var(--snap-w);
  scroll-snap-align: center;
  display: flex; flex-direction: column;
  min-height: clamp(420px, 50vw, 580px);
  border-radius: clamp(18px, 2.2vw, 30px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--grey-3) 0%, #08080a 100%);
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.55s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.snap-card.is-active { opacity: 1; border-color: var(--line-strong); }
/* The active card is marked by a crisp hue rule, not a halo. */
.snap-card::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--hue, var(--orange));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.snap-card.is-active::before { opacity: 0.9; }
.snap-media {
  flex: 1;
  display: grid; place-items: center;
  padding: clamp(22px, 3.2vw, 40px) clamp(20px, 3vw, 38px) 0;
  position: relative; z-index: 1;
}
.snap-media img {
  border-radius: clamp(8px, 1vw, 12px);
  border: 1px solid var(--line);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.95);
}
/* Cut-out device renders carry their own silhouette — no frame around them. */
.snap-media.plain img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 52px rgba(0, 0, 0, 0.7));
}
.snap-copy {
  position: relative; z-index: 1;
  padding: clamp(20px, 2.6vw, 28px) clamp(24px, 3.2vw, 40px) clamp(26px, 3.2vw, 38px);
}
.snap-copy .kick {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hue, var(--orange));
  margin-bottom: 9px;
}
.snap-copy h3 { font-size: clamp(21px, 2.5vw, 30px); margin: 0 0 9px; }
.snap-copy p { margin: 0; font-size: clamp(14.5px, 1.5vw, 16.5px); color: var(--ink-2); line-height: 1.55; max-width: 52ch; }

.snap-arrow {
  position: absolute; top: calc(50% - 32px); transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 19px; color: var(--ink);
  background: rgba(24, 24, 28, 0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease), opacity 0.25s;
}
.snap-arrow:hover { background: rgba(44, 44, 52, 0.9); }
.snap-arrow.prev { left: max(10px, 2vw); }
.snap-arrow.next { right: max(10px, 2vw); }
.snap-arrow[disabled] { opacity: 0.28; cursor: default; }
@media (max-width: 900px) { .snap-arrow { display: none; } }

.snap-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  margin-top: 6px;
}
.snap-dots {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.snap-dot {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.snap-dot:hover { background: rgba(255, 255, 255, 0.55); }
.snap-dot.is-active { width: 26px; background: var(--ink); }
.snap-play {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.snap-play:hover { background: rgba(255, 255, 255, 0.13); color: #fff; }

/* ---- Bento tiles ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.7vw, 20px);
}
.bento-tile {
  position: relative;
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: clamp(16px, 1.9vw, 24px);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, var(--grey-3) 0%, var(--grey-1) 62%, #08080a 100%);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.bento-tile:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.bento-tile > * { position: relative; z-index: 1; }
.bento-ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px;
  color: var(--hue, var(--orange));
  background: color-mix(in srgb, var(--hue, var(--orange)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--hue, var(--orange)) 30%, transparent);
}
.bento-tile h3 { font-size: clamp(18px, 1.9vw, 22px); margin: 0 0 8px; }
.bento-tile p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.bento-tile .tile-figure {
  margin: 22px -8px -14px;
  border-radius: 12px;
  overflow: hidden;
}
.bento-tile .tile-figure img { width: 100%; display: block; }
.bento-tile.wide { grid-column: span 3; }
.bento-tile.full { grid-column: span 6; }
.bento-tile.split {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  padding-right: 0;
}
.bento-tile.split .tile-figure { margin: 0; border-radius: 0; }
.bento-tile.split .tile-figure img { border-radius: 14px 0 0 14px; }
@media (max-width: 940px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile, .bento-tile.wide, .bento-tile.split { grid-column: span 1; }
  /* No orphan cell at the end of the two-column grid. */
  .bento-tile.full, .bento > .bento-tile:last-child { grid-column: span 2; }
  .bento-tile.split { grid-template-columns: 1fr; padding-right: clamp(24px, 2.6vw, 34px); }
  .bento-tile.split .tile-figure { margin: 20px -10px -14px; }
  .bento-tile.split .tile-figure img { border-radius: 12px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.full { grid-column: span 1; }
}

/* ---- Platform cards ---- */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.7vw, 20px);
}
@media (max-width: 900px) { .plat-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plat-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: clamp(16px, 1.9vw, 24px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--grey-2) 0%, #08080a 100%);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.plat-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.plat-shot {
  height: 218px;
  display: grid; place-items: center;
  padding: 26px 26px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 78%);
}
.plat-shot img {
  max-height: 100%; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.65));
}
.plat-body { padding: 22px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.plat-body h3 { font-size: 21px; margin: 0 0 7px; }
.plat-body p { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.plat-body .feature-link { margin-top: auto; }

/* ---- Quote / testimonial band ---- */
.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.7vw, 20px);
}
@media (max-width: 900px) { .quote-row { grid-template-columns: 1fr; } }
.quote-card {
  padding: clamp(26px, 3vw, 34px);
  border-radius: clamp(16px, 1.9vw, 22px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--grey-2) 0%, var(--grey-1) 100%);
}
.quote-card .stars { color: var(--orange); letter-spacing: 2px; font-size: 15px; }
.quote-card blockquote { margin: 12px 0 16px; font-size: 17px; color: var(--ink); line-height: 1.55; font-weight: 500; }
.quote-card cite { font-style: normal; font-size: 14px; color: var(--ink-3); }

/* ---- Section head tweaks used by the product page ---- */
.section-head.wide { max-width: 800px; }

@media (prefers-reduced-motion: reduce) {
  .snap-track { scroll-behavior: auto; }
  .snap-card { opacity: 1 !important; }
}
