/* The Mental Core: landing page styles. Dark, warm, cinematic (matches the ad creatives). */

:root {
  --bg: #0a0c0f;
  --bg-2: #0e1217;
  --bg-3: #141a21;
  --ink: #f2ece3;
  --ink-2: #c6beb2;
  --muted: #8c949d;
  --line: rgba(242, 236, 227, 0.1);
  --line-2: rgba(242, 236, 227, 0.18);
  --amber: #f2b46d;
  --amber-2: #de8f43;
  --amber-glow: rgba(242, 180, 109, 0.45);
  --teal: #62e3d4;
  --teal-glow: rgba(98, 227, 212, 0.3);
  --blue: #5c9dff;
  --paper: #efe6d6;
  --paper-2: #e6dbc8;
  --paper-ink: #24324f;
  --paper-label: #8a7f6c;
  --radius: 22px;
  --radius-sm: 16px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1140px;
  --text: 640px;
  --header-h: 60px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 18px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
sup { font-size: 0.62em; line-height: 0; margin-left: 1px; }
sup a { color: var(--teal); text-decoration: none; padding: 0 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(242, 180, 109, 0.35); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.text { max-width: var(--text); }
.center-text { text-align: center; margin-left: auto; margin-right: auto; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #1b1309; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Disclosure + header ---------- */
.disclosure-bar {
  margin: 0;
  padding: 8px 16px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  background: #07090b;
  border-bottom: 1px solid var(--line);
}
.disclosure-bar a { color: var(--ink-2); text-underline-offset: 2px; margin-left: 4px; white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 15, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 18px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.site-header .wrap { gap: 12px; }
@media (max-width: 400px) { .hide-xs { display: none; } .brand { font-size: 17px; gap: 8px; } }
.brand svg { width: 28px; height: 28px; color: var(--ink); }
.nav-cta {
  font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, background 0.25s;
}
.nav-cta:hover { border-color: rgba(242, 180, 109, 0.6); background: rgba(242, 180, 109, 0.08); }
.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  color: #1b1309;
  background: linear-gradient(180deg, #f8c98d 0%, var(--amber) 45%, var(--amber-2) 100%);
  box-shadow: 0 12px 34px -12px var(--amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px var(--amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: rgba(98, 227, 212, 0.55); background: rgba(98, 227, 212, 0.07); }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary[href="#method"]:hover .arrow { transform: translateY(3px); }
.btn-block { width: 100%; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 4.8s var(--ease) 1.6s infinite;
}
@keyframes shine { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }

.text-link { color: var(--amber); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(242, 180, 109, 0.35); }
.text-link:hover { border-bottom-color: var(--amber); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 9.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 16px 0 18px;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(31px, 7vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 14px 0 22px;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--amber); }
h3 { font-family: var(--serif); font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 4.3vw, 20px); color: var(--ink-2); max-width: 560px; }
.body { color: var(--ink-2); font-size: clamp(17px, 2.1vw, 19px); }
.body strong { color: var(--ink); font-weight: 600; }
.hl { font-family: var(--serif); font-size: 1.08em; color: var(--ink); }
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.center-text .kicker { justify-content: center; }
.kicker .num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--amber); }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
.micro { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 72px;
  overflow: hidden;
}
.hero-grid { position: static; }
.hero-copy { position: relative; z-index: 2; padding-top: 38vh; }
.hero-visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  animation: kenburns 24s var(--ease) both;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, transparent 40%, rgba(10, 12, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 12, 15, 0.1) 0%, rgba(10, 12, 15, 0.2) 28%, rgba(10, 12, 15, 0.86) 56%, var(--bg) 82%);
}
#neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; mix-blend-mode: screen; pointer-events: none; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.chip {
  position: absolute; z-index: 3; display: none;
  align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(14, 18, 23, 0.55); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.chip-a { left: -22px; bottom: 22%; }
.chip-b { right: -18px; top: 14%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 auto; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 14px; z-index: 3; width: 22px; color: var(--blue);
  transform: translateX(-50%); opacity: 0.85;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Split hero headline into words (JS adds .w spans) */
.js .split .w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(8px); animation: wordIn 0.95s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.js .hero-copy .eyebrow, .js .hero-copy .lede, .js .hero-copy .hero-actions, .js .hero-copy .micro { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.js .hero-copy .eyebrow { animation-delay: 0.05s; }
.js .hero-copy .lede { animation-delay: 0.7s; }
.js .hero-copy .hero-actions { animation-delay: 0.85s; }
.js .hero-copy .micro { animation-delay: 1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
  .hero { min-height: auto; align-items: center; padding: 72px 0 112px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
      radial-gradient(40% 55% at 78% 45%, rgba(98, 227, 212, 0.12), transparent 70%),
      radial-gradient(35% 45% at 20% 70%, rgba(242, 180, 109, 0.08), transparent 70%);
  }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
  .hero-copy { padding-top: 0; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-visual {
    position: relative; inset: auto; z-index: 0;
    aspect-ratio: 4 / 5; border-radius: 30px; overflow: visible;
  }
  .hero-visual img { border-radius: 30px; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -40px rgba(98, 227, 212, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
  .hero-visual::after { border-radius: 30px; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 15, 0.55) 100%); }
  #neural { border-radius: 30px; }
  .chip { display: inline-flex; }
  .scroll-cue { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.split-layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split-layout { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
  .split-layout.reverse { grid-template-columns: 1.15fr 0.85fr; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 01 Mindset ---------- */
.portrait { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.portrait.in img { transform: scale(1); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 15, 0.6)); }
@media (min-width: 960px) { .portrait { aspect-ratio: 4 / 5.4; } }

.morph-line {
  display: flex; align-items: baseline; margin: 30px 0 30px;
  font-family: var(--serif); font-size: clamp(54px, 15vw, 104px); line-height: 1; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
}
.morph { position: relative; display: inline-grid; }
.morph > span { grid-area: 1 / 1; transition: transform 0.75s var(--ease), opacity 0.75s var(--ease), filter 0.75s var(--ease); }
.m-old { position: relative; color: var(--ink-2); }
.m-old::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: 0.07em;
  background: var(--amber); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.55s var(--ease);
}
.m-new { color: var(--amber); font-style: italic; opacity: 0; transform: translateY(55%); filter: blur(10px); }
.morph.strike .m-old::after { transform: scaleX(1); }
.morph.on .m-old { opacity: 0; transform: translateY(-55%); filter: blur(10px); }
.morph.on .m-new { opacity: 1; transform: none; filter: none; }

.flips { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 760px) { .flips { grid-template-columns: repeat(3, 1fr); } }
.flip { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; perspective: 1200px; -webkit-tap-highlight-color: transparent; }
.flip-inner { position: relative; display: block; min-height: 178px; transform-style: preserve-3d; transition: transform 0.85s var(--ease); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.face.front { background: var(--bg-3); }
.flip:hover .face.front { border-color: var(--line-2); }
.face.back { transform: rotateY(180deg); background: linear-gradient(160deg, rgba(242, 180, 109, 0.18), rgba(242, 180, 109, 0.04)); border-color: rgba(242, 180, 109, 0.4); }
.face small { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.face.back small { color: var(--amber); }
.face-text { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); }

/* ---------- 02 Muscle ---------- */
.reps {
  padding: 26px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(98, 227, 212, 0.25);
}
.reps-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.reps-count { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--teal); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.reps-count small { font-size: 22px; color: var(--muted); margin-left: 2px; }
.reps-label { font-size: 14px; color: var(--ink-2); }
.dots { display: grid; grid-template-columns: repeat(11, 1fr); gap: 8px; }
.dots i {
  aspect-ratio: 1; border-radius: 50%; background: rgba(242, 236, 227, 0.08);
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.dots i.on { background: var(--teal); box-shadow: 0 0 10px var(--teal-glow); transform: scale(1.04); }
.dots i.miss { background: transparent; box-shadow: inset 0 0 0 1.5px var(--amber); }
.dots i.last.on { background: var(--amber); box-shadow: 0 0 16px var(--amber-glow); }
.reps-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.miss-key { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--amber); }

.principles { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { position: relative; padding: 26px 24px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); }
.principles h3 { margin: 14px 0 8px; }
.principles p { margin: 0; color: var(--ink-2); font-size: 16px; }
.p-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--serif); font-style: italic; color: var(--amber); border: 1px solid rgba(242, 180, 109, 0.4); }

/* ---------- 03 Brain ---------- */
.brain { overflow: hidden; isolation: isolate; }
.brain-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.55; }
.brain-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.brain-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 12, 15, 0.55) 30%, rgba(10, 12, 15, 0.7) 70%, var(--bg) 100%); }
.pillars { display: grid; gap: 14px; margin-top: 48px; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  position: relative; padding: 26px 22px; border-radius: var(--radius-sm);
  background: rgba(14, 18, 23, 0.62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-color 0.35s, transform 0.5s var(--ease), box-shadow 0.35s;
}
.pillar:hover { border-color: rgba(98, 227, 212, 0.45); transform: translateY(-4px); box-shadow: 0 24px 60px -30px var(--teal-glow); }
.pillar svg { width: 30px; height: 30px; color: var(--teal); filter: drop-shadow(0 0 8px var(--teal-glow)); }
.pillar h3 { margin: 16px 0 8px; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.brain-close { max-width: 620px; margin-top: 44px; margin-bottom: 0; }

/* ---------- 04 Method ---------- */
.timeline { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
.tl-col { padding: 26px 24px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.tl-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.tl-head h3 { font-size: 24px; }
.tl-head span { font-size: 13px; color: var(--muted); }
.tl-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.tl-icon.sun { background: radial-gradient(circle, #ffd59b 0 38%, rgba(242, 180, 109, 0.25) 39% 100%); box-shadow: 0 0 24px var(--amber-glow); }
.tl-icon.moon { background: radial-gradient(circle at 62% 38%, transparent 0 34%, #b9f3ec 35% 52%, rgba(98, 227, 212, 0.18) 53% 100%); box-shadow: 0 0 24px var(--teal-glow); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.s-n { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--bg); background: var(--ink-2); margin-top: 2px; }
.steps strong { display: block; font-weight: 600; color: var(--ink); }
.steps p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

.rep-card {
  margin-top: 28px; padding: 28px 24px; border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(242, 180, 109, 0.12), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(98, 227, 212, 0.1), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; gap: 22px;
}
@media (min-width: 860px) { .rep-card { grid-template-columns: 0.9fr 1.1fr; padding: 40px; gap: 40px; align-items: center; } }
.rep-intro h3 { font-size: clamp(24px, 3vw, 30px); margin: 12px 0 10px; }
.rep-privacy { font-size: 13.5px; color: var(--muted); margin: 0; }
.rep-fields { display: grid; gap: 10px; }
.rep-fields label { position: relative; display: block; }
.rep-n { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--hand); font-size: 24px; color: var(--amber); pointer-events: none; }
.rep-fields input {
  width: 100%; height: 54px; padding: 0 16px 0 44px; border-radius: 14px;
  font: 500 22px/1 var(--hand); color: var(--ink);
  background: rgba(10, 12, 15, 0.6); border: 1px solid var(--line-2);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.rep-fields input::placeholder { color: rgba(140, 148, 157, 0.75); font-family: var(--sans); font-size: 15px; }
.rep-fields input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242, 180, 109, 0.15); }
.rep-fields .btn { margin-top: 6px; }
.rep-error { margin: 0; font-size: 14px; color: #ffb4a2; }
.rep-done { display: flex; align-items: center; gap: 22px; grid-column: 1 / -1; }
.rep-done[hidden] { display: none; }
.rep-ring { flex: 0 0 96px; width: 96px; height: 96px; transform: rotate(-90deg); }
.rep-ring .t { fill: none; stroke: rgba(242, 236, 227, 0.1); stroke-width: 6; }
.rep-ring .b { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; animation: ring 1.2s var(--ease) forwards; filter: drop-shadow(0 0 6px var(--amber-glow)); }
.rep-ring .c { fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; transform: rotate(90deg); transform-origin: 60px 60px; animation: check 0.6s 0.9s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes check { to { stroke-dashoffset: 0; } }
.rep-title { font-family: var(--serif); font-size: 30px; margin: 0 0 6px; color: var(--ink); }
.rep-sub { margin: 0 0 12px; color: var(--ink-2); }
.rep-card.done .rep-fields, .rep-card.done .rep-intro { display: none; }
.rep-card.done { grid-template-columns: 1fr; }

/* ---------- 05 Journal ---------- */
.journal { overflow: hidden; }
.notebook-stage { position: relative; padding: 24px 0 36px; perspective: 1600px; }
.notebook {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 520px; margin: 0 auto;
  container-type: inline-size;
  border-radius: 10px 10px 14px 14px;
  transform: rotateX(16deg) rotateZ(-3deg);
  transform-style: preserve-3d;
  transition: transform 1.4s var(--ease);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.notebook-stage.in .notebook { transform: rotateX(8deg) rotateZ(-2deg); }
.page {
  position: relative; min-height: 0; aspect-ratio: 5.1 / 8.2;
  padding: 7cqw 4.6cqw 5cqw;
  color: var(--paper-ink);
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(5.4cqw - 1px), rgba(36, 50, 79, 0.09) calc(5.4cqw - 1px) 5.4cqw),
    linear-gradient(180deg, var(--paper), var(--paper-2));
  background-position: 0 2.2cqw, 0 0;
  overflow: hidden;
}
.page.left { border-radius: 10px 0 0 14px; box-shadow: inset -18px 0 24px -18px rgba(0, 0, 0, 0.35); }
.page.right { border-radius: 0 10px 14px 0; box-shadow: inset 18px 0 24px -18px rgba(0, 0, 0, 0.35); }
.page p { margin: 0; }
.pg-head { display: flex; align-items: center; gap: 1.6cqw; font-family: var(--serif); font-size: 3.4cqw; letter-spacing: 0.02em; color: #4a4336; margin-bottom: 2.2cqw !important; }
.pg-ico { width: 2.8cqw; height: 2.8cqw; border-radius: 50%; }
.pg-ico.sun { background: #e7a14f; }
.pg-ico.moon { background: radial-gradient(circle at 65% 35%, var(--paper) 0 40%, #5a6b8f 41%); }
.pg-label { font-family: var(--sans); font-size: 2.05cqw; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-label); margin-top: 2.4cqw !important; line-height: 5.4cqw; }
.pg-line { font-family: var(--hand); font-size: 3.9cqw; line-height: 5.4cqw; min-height: 5.4cqw; white-space: nowrap; }
.type { display: inline-block; }
.type.typing::after { content: ""; display: inline-block; width: 1px; height: 0.9em; margin-left: 1px; vertical-align: -0.1em; background: var(--paper-ink); animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.notebook-glow { position: absolute; left: 10%; right: 10%; bottom: 0; height: 60%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 180, 109, 0.28), transparent); filter: blur(30px); }

.product {
  margin-top: 30px; padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(242, 180, 109, 0.08), rgba(242, 180, 109, 0.02) 40%, transparent), var(--bg-3);
  border: 1px solid rgba(242, 180, 109, 0.3);
  box-shadow: 0 40px 90px -50px var(--amber-glow);
}
.badge { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1b1309; background: var(--amber); }
.product h3 { font-size: clamp(26px, 3.4vw, 32px); margin: 14px 0 2px; }
.by { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.product-desc { color: var(--ink-2); }
.checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(98, 227, 212, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2362E3D4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks strong { color: var(--ink); font-weight: 600; }

/* ---------- 06 Fit ---------- */
.fit { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit-col { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }
.fit-col h3 { margin-bottom: 16px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-col li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.fit-col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fit-col.yes { border-color: rgba(98, 227, 212, 0.3); }
.fit-col.yes li::before { content: "✓"; color: var(--teal); }
.fit-col.no li::before { content: "✕"; color: var(--muted); }

/* ---------- 07 FAQ ---------- */
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.6px; background: var(--amber);
  transition: transform 0.4s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 30px 22px 0; color: var(--ink-2); animation: fadeUp 0.5s var(--ease); }

/* ---------- Final ---------- */
.final { position: relative; padding: clamp(90px, 14vw, 160px) 0 clamp(80px, 12vw, 130px); overflow: hidden; isolation: isolate; }
.final-glow { position: absolute; left: 50%; top: 50%; z-index: -1; width: min(900px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(242, 180, 109, 0.16), rgba(98, 227, 212, 0.06) 55%, transparent); filter: blur(10px); }
.final h2 { font-size: clamp(34px, 8vw, 64px); }
.final .body { max-width: 560px; margin-left: auto; margin-right: auto; }
.down-arrow { width: 44px; margin: 12px auto 22px; filter: drop-shadow(0 10px 18px rgba(92, 157, 255, 0.45)); }
.down-arrow svg { animation: bob2 1.8s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(10px); } }

/* ---------- References + footer ---------- */
.refs { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.refs h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.refs ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13px; line-height: 1.55; color: var(--muted); }

.site-footer { padding: 40px 0 120px; border-top: 1px solid var(--line); background: #07090b; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-bottom: 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--amber); }
.foot-legal p { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; max-width: 860px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 20px;
  background: rgba(16, 20, 26, 0.86); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(140%); transition: transform 0.55s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-txt { display: grid; min-width: 0; line-height: 1.25; }
.sticky-txt strong { font-family: var(--serif); font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-txt span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { flex: 0 0 auto; }
@media (min-width: 960px) { .sticky-cta { left: auto; right: 24px; bottom: 24px; width: 420px; } }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .text { max-width: 720px; }
.legal h1 { font-size: clamp(34px, 6vw, 48px); }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal .updated { font-size: 14px; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.back-link:hover { color: var(--amber); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .split .w { opacity: 1; transform: none; filter: none; }
  .btn-shine::after { display: none; }
}
