/* SteelPath marketing site
   Colors are taken from the app's theme (IronPath utils/theme.js, "Gold" default palette)
   and muscle-map scales from utils/muscleInsights.js. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* App theme */
  --bg: #0D0D1A;
  --surface: #1A1A2E;
  --surface-alt: #16213E;
  --card: #1E1E35;
  --border: #2D2D44;
  --text: #F1F5F9;
  --text-2: #94A3B8;
  --text-muted: #7C8BA1; /* lightened from app's #475569 to meet WCAG AA on --bg */
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-dark: #6D28D9;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;
  --green: #10B981;
  --yellow: #F59E0B;
  --red: #EF4444;
  --blue: #3B82F6;

  --grad: linear-gradient(100deg, var(--purple-light) 0%, var(--cyan-light) 100%);
  --grad-solid: linear-gradient(100deg, var(--purple) 0%, var(--cyan) 100%);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-light); text-underline-offset: 3px; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 900; font-stretch: 112%; }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 850; font-stretch: 108%; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 750; font-stretch: 100%; line-height: 1.2; }
ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--cyan-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-stretch: 120%;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-light);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--grad-solid); border-radius: 2px;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 40em; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 26, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(45, 45, 68, .7);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 900; font-stretch: 115%; font-size: 1.3rem;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand .path { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { color: var(--text); background: rgba(139, 92, 246, .12); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(139, 92, 246, .2); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border); color: var(--text);
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 68px;
    background: rgba(13, 13, 26, .98); border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}
/* No-JS fallback: keep the menu reachable */
.no-js .nav-menu { display: block; position: static; padding: 0; border: 0; background: none; }
.no-js .nav-toggle { display: none; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--purple-dark); color: #fff;
  background-image: linear-gradient(100deg, var(--purple-dark), #4c1d95 60%, #0e7490);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 36px -10px rgba(6, 182, 212, .7); }
.btn-ghost { color: var(--text); border-color: var(--border); background: rgba(30, 30, 53, .6); }
.btn-ghost:hover { color: #fff; border-color: var(--purple); }
.btn-sm { padding: 9px 14px; font-size: .92rem; border-radius: 12px; }

/* App Store download button */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; min-height: 58px;
  background: #000; color: #fff; text-decoration: none;
  border: 1.5px solid #a6a6a6; border-radius: 13px;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); border-color: var(--purple-light); box-shadow: 0 12px 30px -12px rgba(139, 92, 246, .9); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .store-small { font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
.store-btn .store-big { font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; font-family: var(--font-body); }
.play-soon {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2); font-size: .95rem; font-weight: 600;
  padding: 8px 2px;
}
.play-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ───────── Hero ───────── */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .38), transparent 70%);
  z-index: -1;
}
.hero::after {
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(6, 182, 212, .22), transparent 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-app { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-app img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.hero-app .name { font-family: var(--font-display); font-weight: 900; font-stretch: 118%; font-size: 1.5rem; line-height: 1; }
.hero-app .name span { color: var(--cyan); }
.hero-app .sub { color: var(--text-2); font-size: .92rem; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8em; }
.hero-note { margin-top: 18px; color: var(--text-2); font-size: .92rem; }
.hero-note strong { color: var(--text); }

.hero-visual { position: relative; min-height: 520px; }
.path-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.path-line path { fill: none; stroke: url(#pathGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 12; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }

.device {
  position: relative; background: #121224; border: 1px solid #34345a;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 6px #17172c, 0 0 0 7px #2c2c4a;
  overflow: hidden;
}
.device img { width: 100%; height: auto; }
.device-phone { border-radius: 34px; padding: 0; }
.device-phone img { border-radius: 33px; }
.device-tablet { border-radius: 26px; }
.device-tablet img { border-radius: 25px; }

.hero-visual .device-tablet { position: absolute; width: 74%; right: 0; top: 0; transform: rotate(3deg); }
.hero-visual .device-phone { position: absolute; width: 40%; left: 4%; bottom: 0; transform: rotate(-4deg); z-index: 2; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / .92; max-width: 560px; margin-inline: auto; width: 100%; }
}

/* ───────── Sections ───────── */
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }
.divider-path { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* Feature highlight grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1040px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.f-card {
  position: relative; background: linear-gradient(180deg, var(--card), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px 24px; overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.f-card:hover { border-color: rgba(139, 92, 246, .6); transform: translateY(-3px); }
.f-card h3 { margin: 16px 0 8px; }
.f-card p { color: var(--text-2); margin: 0; font-size: .98rem; }
.f-card .tag { position: absolute; top: 18px; right: 18px; }
.f-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .35); color: var(--purple-light);
}
.f-icon.cyan { background: rgba(6, 182, 212, .12); border-color: rgba(6, 182, 212, .35); color: var(--cyan-light); }
.f-icon svg { width: 24px; height: 24px; }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; line-height: 1.2;
}
.tag-free { background: rgba(16, 185, 129, .14); color: #34D399; border: 1px solid rgba(16, 185, 129, .4); }
.tag-pro { background: rgba(139, 92, 246, .18); color: #C4B5FD; border: 1px solid rgba(139, 92, 246, .5); }

/* ───────── Muscle Map spotlight ───────── */
.mm {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(50% 60% at 95% 80%, rgba(6, 182, 212, .2), transparent 70%),
    linear-gradient(180deg, #11112a 0%, #0D0D1A 100%);
  border-block: 1px solid rgba(139, 92, 246, .35);
}
.mm::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(45,45,68,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(45,45,68,.5) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.mm-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .5);
  font-weight: 700; font-size: .85rem; color: #DDD6FE;
}
.mm-badge .dot { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(var(--blue), var(--green), var(--red), var(--blue)); }
.mm-title { font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-stretch: 118%; font-weight: 900; }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.mm-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.mm-phones .device:nth-child(2) { margin-top: 56px; }
.mm-modes { display: grid; gap: 16px; margin-top: 8px; }
.mode {
  background: rgba(26, 26, 46, .78); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.mode h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mode p { color: var(--text-2); margin-bottom: 12px; font-size: .98rem; }
.mode p:last-child { margin-bottom: 0; }
.scale { height: 10px; border-radius: 99px; margin: 6px 0 6px; }
.scale-balance { background: linear-gradient(90deg, #3B82F6, #10B981 45%, #10B981 55%, #EF4444); }
.scale-recovery { background: linear-gradient(90deg, #EF4444, #10B981); }
.scale-labels { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-2); font-weight: 600; }
.mm-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.mm-point { padding: 18px 18px 16px; border-left: 3px solid; border-image: var(--grad-solid) 1; background: rgba(13,13,26,.55); }
.mm-point h4 { font-size: 1.02rem; font-stretch: 100%; margin-bottom: 6px; }
.mm-point p { color: var(--text-2); font-size: .93rem; margin: 0; }
.share-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.share-table th, .share-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--border); }
.share-table th { color: var(--text-2); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.share-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) {
  .mm-grid { grid-template-columns: 1fr; }
  .mm-phones { max-width: 520px; margin-inline: auto; }
}

/* ───────── Gallery ───────── */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 30px; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gallery:focus-visible { outline-offset: -3px; }
.gallery figure { margin: 0; flex: none; scroll-snap-align: start; }
.gallery figure.phone { width: clamp(200px, 22vw, 250px); }
.gallery figure.tablet { width: clamp(280px, 34vw, 400px); }
.gallery figcaption { margin-top: 14px; font-size: .9rem; color: var(--text-2); }
.gallery figcaption strong { display: block; color: var(--text); font-size: 1rem; }
.gallery .device { box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), 0 0 0 5px #17172c, 0 0 0 6px #2c2c4a; }
.gallery-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: -8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--text); border: 1px solid var(--border); cursor: pointer;
}
.icon-btn:hover { border-color: var(--purple); }
.icon-btn svg { width: 20px; height: 20px; }

/* ───────── Pricing ───────── */
.pricing { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; max-width: 980px; margin-inline: auto; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px); display: flex; flex-direction: column;
}
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .price { font-family: var(--font-display); font-weight: 900; font-stretch: 110%; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--text-2); font-family: var(--font-body); }
.plan .price-note { color: var(--text-2); font-size: .95rem; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green); }
.plan .plan-foot { margin-top: auto; }
.plan-pro {
  position: relative; border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, var(--purple), var(--cyan)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 70px -40px rgba(139, 92, 246, .9);
}
.plan-pro li svg { color: var(--purple-light); }
.trial-chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: rgba(245, 158, 11, .12); color: #FCD34D; border: 1px solid rgba(245, 158, 11, .45);
  border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .85rem;
}
.fine { font-size: .85rem; color: var(--text-2); margin-top: 14px; }
.pricing-fine { max-width: 980px; margin: 22px auto 0; text-align: center; color: var(--text-2); font-size: .92rem; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

/* ───────── CTA ───────── */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(139, 92, 246, .45), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(6, 182, 212, .35), transparent 60%),
    var(--surface);
  border: 1px solid rgba(139, 92, 246, .4);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center;
}
.cta-band img { width: clamp(88px, 12vw, 140px); height: auto; border-radius: 26%; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--text-2); margin-bottom: 1.4em; }
@media (max-width: 640px) { .cta-band { grid-template-columns: 1fr; } }

/* ───────── Features page ───────── */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 48px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70vw; height: 70vw; max-width: 800px; max-height: 800px; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .3), transparent 70%);
}
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.toc a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--border); color: var(--text-2); font-weight: 600; font-size: .9rem; background: rgba(26,26,46,.6);
}
.toc a:hover { color: var(--text); border-color: var(--purple); }
.toc a.hot { color: #fff; border-color: var(--purple); background: rgba(139, 92, 246, .22); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 90px); border-top: 1px solid rgba(45,45,68,.6); scroll-margin-top: 80px; }
.feature-row.flip .feature-media { order: -1; }
.feature-media { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.feature-media .device-phone { width: min(46%, 260px); }
.feature-media .device-tablet { width: min(100%, 470px); }
.feature-media.single .device-phone { width: min(60%, 290px); }
.feature-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text-2); }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 5px;
  background: var(--grad-solid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.mini { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.mini h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini p { color: var(--text-2); font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
}

/* ───────── FAQ ───────── */
.faq { max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(139, 92, 246, .55); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--cyan-light); border-bottom: 2.5px solid var(--cyan-light);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq h2 { font-size: 1.4rem; margin: 40px 0 16px; color: var(--purple-light); }

/* ───────── Prose / support ───────── */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.prose ol, .prose ul { color: var(--text-2); padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li strong, .prose p strong { color: var(--text); }
.prose p { color: var(--text-2); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 34px); margin-block: 24px;
}
.card.highlight {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(140deg, var(--purple), var(--cyan)) border-box;
  border: 2px solid transparent;
}
.email-big { font-family: var(--font-display); font-weight: 800; font-stretch: 105%; font-size: clamp(1.25rem, 3.6vw, 1.9rem); word-break: break-word; }
.callout { border-left: 4px solid var(--yellow); background: rgba(245, 158, 11, .08); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--text-2); }
.callout.danger { border-color: var(--red); background: rgba(239, 68, 68, .08); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 14px; min-height: 32px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--purple-dark);
}

/* ───────── 404 ───────── */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 20vw, 11rem); font-weight: 900; font-stretch: 125%; line-height: 1; }

/* ───────── Footer ───────── */
.site-footer { border-top: 1px solid var(--border); padding-block: 48px 36px; margin-top: clamp(48px, 7vw, 96px); background: #0a0a16; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-family: var(--font-body); font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { color: var(--text); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--cyan-light); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(45,45,68,.6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: .88rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ───────── Equal spotlights (Muscle Map · AI Coach · Demo Videos) ───────── */
.spot-band { padding-block: clamp(64px, 9vw, 120px); }
.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.spot {
  display: flex; flex-direction: column;
  background: rgba(26, 26, 46, .82); border: 1px solid rgba(139, 92, 246, .38); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
}
.spot .mm-badge { align-self: flex-start; margin-bottom: 14px; }
.spot h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 850; font-stretch: 108%; margin-bottom: 10px; }
.spot > p { color: var(--text-2); font-size: .98rem; }
.spot .check-list { gap: 9px; font-size: .95rem; margin-bottom: 18px; }
.spot .spot-foot { margin-top: auto; }
/* Whole, uncropped screenshot at its own aspect ratio; the frame hugs the image */
.spot-shot { display: flex; justify-content: center; align-items: flex-start; }
.spot-shot picture { display: contents; }
.spot-shot img {
  width: auto; height: auto; max-width: 100%; max-height: 560px; object-fit: contain;
  border-radius: 18px; border: 1px solid #34345a; background: #121224; box-shadow: 0 24px 50px -28px rgba(0,0,0,.9);
}
.spot .btn { margin-top: 16px; }
@media (max-width: 980px) { .spot-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Features page: identical full-width spotlight rows */
.spot-row { scroll-margin-top: 70px; padding-block: clamp(56px, 8vw, 100px); }
.spot-row + .spot-row { border-top: 1px solid rgba(139, 92, 246, .25); }
.spot-row .spot-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.spot-row h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-stretch: 112%; font-weight: 900; }
.spot-row .spot-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.spot-row .spot-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spot-row .mode { padding: 16px 18px; margin-bottom: 12px; }
.spot-row .mode h3 { font-size: 1.08rem; margin-bottom: 6px; }
.spot-row .mode p { font-size: .94rem; margin-bottom: 8px; }
.spot-more { margin-top: 14px; background: rgba(13,13,26,.55); border: 1px solid var(--border); border-radius: var(--radius); }
.spot-more summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
.spot-more summary:focus-visible { outline-offset: -3px; }
.spot-more .table-scroll { padding: 0 18px 16px; }
@media (max-width: 900px) { .spot-row .spot-body { grid-template-columns: 1fr; } .spot-row .spot-media { max-width: 560px; } }

/* Hero second line: longer phrase, set smaller so the CTA stays above the fold */
.hero h1 .h1-sub { display: inline-block; font-size: .6em; line-height: 1.08; margin-top: .2em; }
