/* ================================================================
   WEALTHSTRATEGY — PREMIUM EDITORIAL REDESIGN (2026-09-10)
   Layered on top of styles.css. All selectors here override the base
   file; keep this file loaded AFTER styles.css.
   ================================================================ */

/* ---------- Environment: calm background ---------- */
/* Warm side glows — one hugging the LEFT edge (upper), one hugging the RIGHT
   edge (lower). Kept gentle so they read as ambient light, not shapes. */
.ambient-glow {
  opacity: 0.55;
}
.ambient-glow .blob { filter: blur(90px); }
.ambient-glow .blob-wrap.w1 { opacity: 0.42; }
.ambient-glow .blob-wrap.w2 { opacity: 0.4; }
.grid-bg { opacity: 0.55; }

.section { padding: 96px 0; }
.section-head { margin-bottom: 56px; }
.section-title { letter-spacing: -0.03em; }
.section-sub {
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow { letter-spacing: 0.24em; }

/* ================================================================
   HERO — centered headline over a subtle Blueprint/workspace system
   ================================================================ */
.hero {
  position: relative;
  text-align: center;
  min-height: calc(100vh - 69px);
  display: flex;
  align-items: center;
  padding: 52px 0 140px;
  overflow: hidden;
}
.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.75;
}
.hero-cta { margin-bottom: 42px; }
.hero-trust { font-size: 13px; margin-top: 4px; }

/* ---------- HERO — three ways in (Free / Blueprint / Clips) ---------- */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.hp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.hp:hover {
  border-color: rgba(232, 135, 61, 0.45);
  background: rgba(232, 135, 61, 0.06);
  transform: translateY(-1px);
}
.hp .hp-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(232, 135, 61, 0.12);
  border: 1px solid rgba(232, 135, 61, 0.3);
}
.hp.hp-hot {
  border-color: rgba(232, 135, 61, 0.4);
  background: linear-gradient(180deg, rgba(232, 135, 61, 0.1), rgba(232, 135, 61, 0.02));
}
.hp em {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-mute);
}

/* ---------- HERO — split: copy left, workspace visual right ---------- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  text-align: left;
  max-width: 1140px;
}
.hero-split .hero-copy { max-width: 600px; }
.hero-split .hero-title { font-size: clamp(36px, 4.3vw, 68px); margin-bottom: 22px; }
.hero-split .hero-sub { margin: 0 0 30px; max-width: 540px; font-size: 16.5px; }
.hero-split .hero-cta { justify-content: flex-start; margin-bottom: 32px; }
.hero-split .hero-trust { justify-content: flex-start; }
.hero-split .hero-eyebrow { text-align: left; }
.hero-split .hero-visual { max-width: none; margin: 0; }

/* ---------- Whole-page Blueprint/workspace background ---------- */
.page-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: calc(0.85 - 0.38 * var(--scroll, 0));
  transform: translateY(calc(var(--scroll, 0) * 46px))
             scale(calc(1.06 - 0.06 * var(--scroll, 0)));
  filter: blur(calc(var(--scroll, 0) * 8px));
  will-change: transform, opacity, filter;
  -webkit-mask-image: radial-gradient(ellipse 150% 100% at 50% 16%, #000 34%, transparent 84%);
  mask-image: radial-gradient(ellipse 150% 100% at 50% 16%, #000 34%, transparent 84%);
}
.page-scene svg {
  width: min(1180px, 96vw);
  height: auto;
  display: block;
}
.page-scene-inner {
  animation: pageSceneDrift 110s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes pageSceneDrift {
  from { transform: translate3d(-14px, 4px, 0) rotate(-0.35deg); }
  to   { transform: translate3d(14px, -10px, 0) rotate(0.35deg); }
}

/* Corner rectangle removed: the old hero backing light painted a
   transparent dark rectangle with a warm glow in the top-left corner.
   The hero now sits directly on the dark page background. */
.hero::before { display: none; }

/* Bottom melt removed: the hero sits directly on the shared fixed ambient
   background, so a dark gradient here would slice across the left/right edge
   glows and create a visible black seam at the section boundary. */
.hero::after { content: none; }

/* ----- Hero CTA polish ----- */
.hero-cta .btn-primary {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 24px rgba(232, 135, 61, 0.18);
}
.hero-cta .btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 16px 38px rgba(232, 135, 61, 0.32);
}

/* ---------- PROBLEM — tightened ---------- */
.pain-section { padding-bottom: 88px; }
.pain-grid { gap: 22px; }

/* ---------- BLUEPRINT — system, not folders ---------- */
.blueprint-section { padding-bottom: 64px; }
.product-flagship { margin-top: -8px; }
.product-grid { gap: 64px; }

/* ---------- BLUEPRINT — Notion workspace preview ---------- */
.ws-preview {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(232, 135, 61, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(232, 135, 61, 0.08);
  background: var(--bg-2);
  text-align: left;
}
.ws-sidebar {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.ws-sidebar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.ws-sidebar-sec {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 14px 0 6px;
}
.ws-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ws-sidebar li {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-dim);
  padding: 5px 8px;
  border-radius: 8px;
}
.ws-sidebar li.on {
  color: var(--accent);
  background: rgba(232, 135, 61, 0.08);
  font-weight: 600;
}
.ws-page { min-width: 0; padding: 22px 24px; }
.ws-page-head {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ws-page-goal {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
}
.ws-tasks {
  list-style: none;
  margin: 0 0 18px;
  padding: 4px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ws-tasks li {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0;
  color: var(--text);
  overflow-wrap: break-word;
}
.ws-tasks li em { font-style: italic; color: var(--text-dim); }
.ws-tasks li span {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  margin: 0 10px 0 0;
  vertical-align: -2px;
}
.ws-done {
  font-size: 12px;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}
.ws-done::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

/* ---------- WHAT'S INSIDE — resource breakdown ---------- */
.inside-section { padding-top: 48px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-group {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 22px;
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(232, 135, 61, 0.085) 0%, rgba(26, 22, 19, 0.93) 38%, rgba(11, 13, 12, 0.94) 100%) padding-box,
    linear-gradient(155deg, rgba(232, 135, 61, 0.34), rgba(245, 166, 35, 0.09) 46%, rgba(255, 107, 53, 0.04)) border-box;
  box-shadow: 0 18px 42px -30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.cat-group::before {
  content: '';
  position: absolute;
  left: -30%;
  top: -55%;
  width: 90%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(255, 140, 66, 0.15), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.cat-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 62px -32px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(232, 135, 61, 0.28);
}
.cat-group:hover::before { opacity: 1; }
.cat-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.13;
  transition: opacity 0.4s ease, color 0.4s ease;
}
.cat-group:hover .cat-num { opacity: 0.28; color: var(--accent-bright); }
.cat-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(232, 135, 61, 0.16);
}
.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(150deg, rgba(232, 135, 61, 0.16), rgba(232, 135, 61, 0.03));
  border: 1px solid rgba(232, 135, 61, 0.22);
  box-shadow: 0 8px 20px -12px rgba(232, 135, 61, 0.7);
  flex-shrink: 0;
}
.cat-icon svg { width: 21px; height: 21px; }
.cat-head h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--text) 88%, var(--accent));
}
.cat-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cat-group li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--text) 72%, var(--accent));
  transition: color 0.3s ease, transform 0.3s ease;
}
.cat-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(232, 135, 61, 0.1);
  border: 1px solid rgba(232, 135, 61, 0.34);
}
.cat-group li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 4.5px;
  height: 2.5px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.cat-group li:hover { color: var(--text); transform: translateX(3px); }
body.light .cat-group {
  background:
    linear-gradient(165deg, rgba(250, 240, 227, 0.95) 0%, rgba(243, 231, 214, 0.88) 45%, rgba(238, 225, 206, 0.9) 100%) padding-box,
    linear-gradient(155deg, rgba(232, 135, 61, 0.42), rgba(245, 166, 35, 0.18) 46%, rgba(255, 107, 53, 0.1)) border-box;
  box-shadow: 0 1px 2px rgba(120, 60, 20, 0.08), 0 18px 40px -30px rgba(120, 60, 20, 0.4);
}
body.light .cat-group:hover { box-shadow: 0 26px 54px -28px rgba(120, 60, 20, 0.45), 0 0 0 1px rgba(232, 135, 61, 0.36); }
body.light .cat-head { border-bottom-color: rgba(232, 135, 61, 0.26); }
body.light .cat-group li { color: color-mix(in srgb, var(--text) 78%, var(--accent)); }
body.light .cat-num { opacity: 0.2; }


/* ---------- OFFER — The Blueprint, $47 dominant ---------- */
.offer-section { padding-top: 72px; }
.offer-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto;
}
.op-main {
  padding: 38px 40px 34px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(232, 135, 61, 0.04), transparent 40%),
    var(--bg-card);
  position: relative;
  overflow: hidden;
}
.op-main::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.op-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232, 135, 61, 0.4);
  border-radius: 999px;
  padding: 6px 13px;
  background: rgba(232, 135, 61, 0.07);
  margin-bottom: 18px;
}
.op-head h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.op-head p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 520px;
}
.op-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}
.op-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.op-list .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.op-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 6px 0 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.op-price-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
}
.op-price-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.op-price-meta strong {
  font-size: 15px;
  color: var(--text);
}
.op-price-meta span {
  font-size: 13px;
  color: var(--text-dim);
}
.op-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-mute);
}
.op-secure svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

.op-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.op-card-head { display: flex; flex-direction: column; gap: 12px; }
.op-card-tag {
  align-self: flex-start;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 13px;
}
.op-card h4 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.op-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.op-trust {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.op-trust li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text);
}
.op-trust .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- COMPARE — map your situation ---------- */
.compare-when {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.compare-card h3 { margin-bottom: 10px; }
.compare-card > p { font-size: 14px; line-height: 1.65; color: var(--text-dim); }

/* ---------- CLIPS — positioning pill ---------- */
.clips-note {
  display: block;
  width: fit-content;
  margin: -30px auto 42px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(232, 135, 61, 0.32);
  background: rgba(232, 135, 61, 0.06);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}
@media (max-width: 720px) {
  .clips-note { margin: 0 auto 38px; text-align: center; line-height: 1.5; }
}

/* ---------- HERO pills — mobile ---------- */
@media (max-width: 960px) {
  .hero-pills {
    justify-content: center;
    text-align: center;
    padding: 0 12px;
  }
}
@media (max-width: 520px) {
  .hero-pills { gap: 8px; }
  .hp { font-size: 12px; padding: 6px 12px 6px 6px; }
  .hp em { display: none; }
}

/* ---------- FINAL CTA ---------- */
.final-cta { padding-top: 40px; padding-bottom: 110px; }
.cta-trust { justify-content: center; margin-top: 26px; }

/* ================================================================
   HERO — premium Blueprint workspace visual (suggests the system)
   Scroll-fade + parallax reuse the --scroll variable already set on
   the root by js/script.js. Entrance handled by .hero-anim on the
   inner wrapper so the two transforms never fight.
   ================================================================ */
.hero-visual {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 62px auto 0;
  opacity: calc(1 - 0.55 * var(--scroll, 0));
  transform: translateY(calc(var(--scroll, 0) * -26px)) scale(calc(1 - 0.05 * var(--scroll, 0)));
  filter: blur(calc(var(--scroll, 0) * 2px));
  will-change: transform, opacity, filter;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -22% -8% -34%;
  z-index: 0;
  background:
    radial-gradient(48% 44% at 50% 38%, rgba(232, 135, 61, 0.16), transparent 70%),
    radial-gradient(30% 26% at 26% 80%, rgba(232, 135, 61, 0.10), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-visual-inner { position: relative; z-index: 1; }

.hv-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)), var(--bg-2);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-align: left;
}
.hv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.hv-bar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-bar-title em {
  font-style: normal;
  color: var(--text-mute);
  font-weight: 500;
  font-size: 12px;
}
.hv-bar-steps {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.hv-body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
}
.hv-side {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.hv-sec {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 13px 0 6px;
}
.hv-sec:first-child { margin-top: 0; }
.hv-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv-side li {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-dim);
  padding: 5px 8px;
  border-radius: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hv-side li.on {
  color: var(--accent);
  background: rgba(232, 135, 61, 0.08);
  font-weight: 600;
}
.hv-main { min-width: 0; padding: 18px 20px; }
.hv-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.hv-goal {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.hv-main ul {
  list-style: none;
  margin: 0 0 13px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hv-main li {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 7px 0;
  color: var(--text);
  overflow-wrap: break-word;
}
.hv-main li i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  margin: 0 9px 0 0;
  vertical-align: -2px;
}
.hv-done {
  font-size: 11.5px;
  color: var(--text);
  padding-top: 11px;
  border-top: 1px dashed var(--line-strong);
}
.hv-done::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}
.hv-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 14px;
}
.hv-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}

/* Floating chips around the frame */
.hv-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 135, 61, 0.3);
  background: rgba(18, 20, 19, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hv-chip svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
body.light .hv-chip {
  background: rgba(255, 253, 247, 0.96);
  border-color: rgba(232, 135, 61, 0.32);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}
.hv-chip-1 { top: -18px; left: -34px; }
.hv-chip-2 { top: 36%; right: -48px; }
.hv-chip-3 { bottom: -16px; left: 6%; }

/* ================================================================
   PREVIEW IMAGES — text inside mockups not selectable
   ================================================================ */
.ws-preview,
.clips2-preview,
.product-cover,
.gallery-slides,
.hero-visual {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ================================================================
   FLOW — LEARN · DO · TRACK · TOOLS (system explainer)
   Four connected steps along one line — a flow, not a row of cards.
   ================================================================ */
.flow-section { padding-top: 48px; }
.flow {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}
.flow::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--line-strong), var(--accent) 50%, var(--line-strong));
  opacity: 0.6;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 24px;
}
.flow-step {
  position: relative;
  text-align: center;
}
.flow-head { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-1, #101210);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}
.flow-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.flow-body {
  padding-top: 24px;
  margin-top: 22px;
  border-top: 1px dashed var(--line-strong);
}
.flow-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.flow-proof {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(232, 135, 61, 0.28);
  background: rgba(232, 135, 61, 0.07);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1120px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero { padding: 44px 0 100px; }
  .hero-title { font-size: clamp(38px, 6.4vw, 58px); }
  .page-scene svg { width: min(880px, 96vw); }
  .tools-grid { grid-template-columns: 1fr; }
  .offer-panel { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .flow::before { display: none; }
  .hero-visual { max-width: 520px; }
  .hv-chip-1 { left: -18px; }
  .hv-chip-2 { right: -22px; }
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .hero-split .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero-split .hero-title { font-size: clamp(38px, 6.4vw, 58px); }
  .hero-split .hero-sub { margin: 0 auto 34px; max-width: 560px; }
  .hero-split .hero-cta, .hero-split .hero-trust { justify-content: center; }
  .hero-split .hero-eyebrow { text-align: center; }
  .hero-split .hero-visual { margin: 0 auto; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .pain-section { padding-bottom: 48px; }
  .offer-section { padding-top: 40px; }
  .final-cta { padding-top: 24px; padding-bottom: 72px; }
  .cats-grid { grid-template-columns: 1fr; }
  .op-list { grid-template-columns: 1fr; }
  .op-main { padding: 30px 24px; }
  .cta-trust { flex-wrap: wrap; }
  .hero { padding: 36px 0 72px; }
  .hero-visual { display: none !important; }
  .page-scene { opacity: calc(0.65 - 0.55 * var(--scroll, 0)); }
  .flow-grid { grid-template-columns: 1fr; }
  .hv-chip-2 { display: none; }
}

@media (max-width: 560px) {
  /* The workspace preview reads as a screenshot: give it the same compact
     footprint as the clips folder preview (a 3:2 image, ~200-230px tall on
     phones) instead of a full-height stacked page. */
  .ws-preview {
    grid-template-columns: 1fr;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
  }
  .ws-sidebar { display: none; }
  .ws-page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 15px 18px;
    position: relative;
  }
  .ws-page::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(transparent, var(--bg-2));
    pointer-events: none;
  }
  .ws-page-head { font-size: 15px; margin-bottom: 2px; }
  .ws-page-goal { font-size: 12px; margin: 6px 0 10px; }
  .ws-tasks { gap: 4px; }
  .ws-tasks li { font-size: 12px; padding: 3px 0; }
  .ws-done { margin-top: 8px; font-size: 11.5px; }
}

@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .op-price-big { font-size: 50px; }
  .op-price { align-items: center; }
  .op-secure { flex-wrap: wrap; text-align: center; }
  .hero { padding: 20px 0 52px; }
  .ws-sidebar { border-right: none; border-bottom: 1px solid var(--line); }
  .ws-page { padding: 18px 18px; }
  .hero-visual { max-width: 420px; margin-top: 44px; }
  .hero-split .hero-visual { margin: 0 auto; }
  .hv-body { grid-template-columns: 1fr; }
  .hv-side { border-right: none; border-bottom: 1px solid var(--line); }
  .hv-main { padding: 16px 18px; }
  .hv-chip { display: none; }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  .page-scene,
  .hero::after,
  .hero-visual {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .page-scene-inner { animation: none !important; }
  .cat-group,
  .cat-group::before,
  .cat-group li,
  .cat-num,
  .flow-step,
  .flow-num {
    transition: none !important;
  }
  .cat-group:hover,
  .cat-group:hover::before,
  .cat-group li:hover {
    transform: none !important;
    opacity: 1;
  }
  .cat-group:hover .cat-num { color: var(--text); }
}
