/* ==========================================================
   Legacy Earn — fresh site
   Apple-grade dark UI · gold accent · motion-first
   ========================================================== */
:root {
  --bg: #000;
  --bg-2: #0a0b0d;
  --ink: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(28, 28, 30, .55);
  --gold: #f5b731;
  --gold-2: #ffd979;
  --gold-deep: #c98a12;
  --gold-grad: linear-gradient(120deg, #fff1c4 0%, #f5b731 38%, #c98a12 70%, #ffd979 100%);
  --green: #30d158;
  --red: #ff453a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 28px;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #000; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.gold {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 6s var(--ease-io) infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.muted { color: var(--muted); }
.muted-2 { color: #6e6e73; }
.fine { font-size: 12px; color: #6e6e73; margin: 14px 0 0; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.center { text-align: center; }
.h2 {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 700;
}
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 620px; margin: 22px 0 0; }
.section-head { max-width: var(--max); margin: 0 auto 64px; padding: 0 var(--pad); }
.section-head.row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: -.01em;
  transition: transform .5s var(--ease), background .3s, box-shadow .4s var(--ease), color .3s;
  will-change: transform; cursor: pointer; border: 0;
}
.btn--sm { --h: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 64px; padding: 0 36px; font-size: 18px; }
.btn--gold {
  background: var(--gold); color: #111;
  box-shadow: 0 0 0 0 rgba(245, 183, 49, .0), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 40px -8px rgba(245, 183, 49, .6), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--ghost { color: var(--ink); border: 1px solid rgba(255, 255, 255, .18); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: #d2d2d7;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245,183,49,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(245,183,49,0); } 100% { box-shadow: 0 0 0 0 rgba(245,183,49,0); } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.loader__word { font-size: clamp(48px, 10vw, 120px); font-weight: 800; letter-spacing: -.06em; display: flex; }
.loader__l { display: inline-block; transition: transform .9s var(--ease), opacity .6s, width .9s var(--ease); overflow: hidden; width: .52em; }
.loader__word span:last-child { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.1s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }
.loader.drop .loader__l { transform: translateY(80%) rotate(-12deg); opacity: 0; width: 0; }
.loader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 28px));
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(22, 22, 23, .6);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), opacity .4s, background .4s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; margin-right: auto; }
.nav__brand img { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #d2d2d7; transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; position: relative; cursor: pointer; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .5s var(--ease); }
.nav__burger i:first-child { top: 16px; } .nav__burger i:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 32px;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.sheet a:not(.btn) { font-size: 40px; font-weight: 700; letter-spacing: -.04em; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.sheet .btn { margin-top: 24px; align-self: flex-start; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet.open a { transform: none; opacity: 1; }
.sheet.open a:nth-child(2) { transition-delay: .04s; } .sheet.open a:nth-child(3) { transition-delay: .08s; } .sheet.open a:nth-child(4) { transition-delay: .12s; } .sheet.open a:nth-child(5) { transition-delay: .16s; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 120px var(--pad) 80px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__glow { position: absolute; inset: auto -20% -40% -20%; height: 80%; background: radial-gradient(50% 50% at 60% 50%, rgba(245,183,49,.18), transparent 70%); pointer-events: none; }
.hero__inner {
  position: relative; max-width: var(--max); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  will-change: transform, opacity;
}
.hero__title {
  margin: 0; font-size: clamp(50px, 6.6vw, 104px); line-height: .98; letter-spacing: -.055em; font-weight: 700;
}
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(12px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 70ms + .15s); }
.hero__title.in .w { opacity: 1; transform: none; filter: none; }
.hero__title .serif { font-size: 1.08em; }
.hero__sub { font-size: clamp(18px, 1.55vw, 22px); color: var(--muted); max-width: 520px; margin: 30px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1; }
.hero__ring { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(245,183,49,.35), rgba(245,183,49,.04) 55%, transparent 70%); }
.hero__ring::before, .hero__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(245,183,49,.25); animation: orbit 14s linear infinite; }
.hero__ring::after { inset: -9%; border-color: rgba(255,255,255,.07); border-style: dashed; animation-duration: 40s; animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero__dev {
  position: absolute; left: 50%; bottom: 0; width: 150%; height: auto; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
  opacity: 0; transition: opacity 1.4s var(--ease) .5s, transform 1.6s var(--ease) .5s;
  transform: translate(-50%, 30px) scale(.97);
}
body.ready .hero__dev { opacity: 1; transform: translateX(-50%); }

.float {
  position: absolute; border-radius: 20px; padding: 14px 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transition: opacity 1s var(--ease), translate 1.2s var(--ease);
  translate: 0 20px;
}
body.ready .float { opacity: 1; translate: 0 0; }
.float small { display: block; font-size: 12px; color: var(--muted); }
.float strong { display: block; font-size: 26px; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.float .up, .up { color: var(--green); font-size: 12px; font-weight: 600; }
.float--a { left: -18%; bottom: 24%; transition-delay: 1.1s; }
.float--b { right: -12%; top: 34%; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); transition-delay: 1.25s; }
.float--c { right: -6%; bottom: 6%; display: flex; gap: 12px; align-items: center; transition-delay: 1.4s; }
.float--c strong { font-size: 14px; } .float--c small { margin-top: 2px; }
.shield { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(48,209,88,.15); color: var(--green); font-weight: 800; }
.spark { width: 120px; height: 40px; }
.spark path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
body.ready .spark path { animation: draw 2s var(--ease) 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 20px; }
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Hero: official partner chips ---------- */
.hero__partners { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__partners-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; display: inline-flex; align-items: center; gap: 8px; }
.hero__partners-label::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.hp { display: grid; place-items: center; height: 46px; padding: 0 18px; border-radius: 14px; background: #f5f5f7; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.hp img { height: 22px; width: auto; }
.hp:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(245,183,49,.7), 0 0 0 2px var(--gold); }

/* ---------- Official partners ---------- */
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.official { padding: 150px 0 130px; position: relative; }
.official__grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.op {
  --accent: 245, 183, 49;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3.4vw, 44px); border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--accent), .16), transparent 55%), #0e0e10;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), opacity 1s var(--ease) var(--d,0s), filter 1s var(--ease) var(--d,0s);
}
.op--delta { --accent: 0, 200, 140; }
.op--fyers { --accent: 50, 140, 255; }
.op__border {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang), rgba(255,255,255,.08) 0deg, rgba(245,183,49,.9) 60deg, rgba(var(--accent), .8) 120deg, rgba(255,255,255,.08) 180deg, rgba(255,255,255,.08) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.op:hover { transform: translateY(-8px); box-shadow: 0 50px 100px -40px rgba(var(--accent), .45), 0 30px 60px -30px rgba(245,183,49,.35); }
.op__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.op__logo { display: grid; place-items: center; height: 58px; padding: 0 22px; border-radius: 16px; background: #f5f5f7; }
.op__logo img { height: 28px; width: auto; }
.op__badge { padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #111; background: var(--gold-grad); white-space: nowrap; }
.op h3 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -.045em; }
.op p { margin: 0; color: #a1a1a6; font-size: 17px; max-width: 480px; }
.op p b { color: var(--ink); }
.op__pts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.op__pts li { padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 13px; color: #d2d2d7; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.op__pts li::before { content: "✓"; color: rgb(var(--accent)); font-weight: 800; margin-right: 6px; }
.op__cta { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--gold); }
.op__cta i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal; color: #111; background: var(--gold); transition: transform .6s var(--ease); }
.op:hover .op__cta i { transform: translateX(6px) rotate(-45deg); }
.official__note { max-width: 760px; margin: 28px auto 0; padding: 0 var(--pad); text-align: center; font-size: 12px; color: #6e6e73; }

/* ---------- YouTube channels ---------- */
.yt { padding: 130px 0 150px; position: relative; }
.yt::before { content: ""; position: absolute; left: 50%; top: 40%; width: 1000px; height: 600px; margin-left: -500px; background: radial-gradient(closest-side, rgba(255,0,51,.10), transparent); pointer-events: none; }
.yt__grid { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ytc {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 30px; border-radius: 30px; background: #0e0e10; border: 1px solid var(--line); overflow: hidden;
  transition: transform .8s var(--ease), border-color .5s, box-shadow .8s var(--ease), opacity 1s var(--ease) var(--d,0s), filter 1s var(--ease) var(--d,0s);
}
.ytc:hover { transform: translateY(-8px); border-color: rgba(255,0,51,.45); box-shadow: 0 40px 80px -40px rgba(255,0,51,.5); }
.ytc__flag { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--gold); background: rgba(245,183,49,.1); border: 1px solid rgba(245,183,49,.3); }
.ytc__av { position: relative; width: 92px; height: 92px; border-radius: 50%; margin-bottom: 16px; padding: 3px; background: conic-gradient(from 0deg, #ff0033, var(--gold), #ff0033); }
.ytc__av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #0e0e10; }
.ytc__play { position: absolute; inset: 3px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 26px; color: #fff; background: rgba(0,0,0,.55); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .6s var(--ease); }
.ytc:hover .ytc__play { opacity: 1; transform: none; }
.ytc:hover .ytc__av { animation: orbit 3s linear infinite; }
.ytc:hover .ytc__av img, .ytc:hover .ytc__play { animation: orbit 3s linear infinite reverse; }
.ytc h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.ytc__handle { font-size: 14px; color: var(--muted); }
.ytc p { margin: 12px 0 0; color: #a1a1a6; font-size: 15px; }
.ytc__tags { display: flex; gap: 6px; margin: 16px 0 22px; }
.ytc__tags span { padding: 5px 10px; border-radius: 8px; font-size: 12px; color: #d2d2d7; background: rgba(255,255,255,.06); }
.ytc__sub { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: #fff; background: #ff0033; transition: background .3s, transform .5s var(--ease); }
.ytc__sub b { font-size: 11px; }
.ytc:hover .ytc__sub { transform: scale(1.04); background: #ff1f4b; }
/* ---------- Partners ---------- */
.partners { padding: 90px 0 110px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 18px; width: max-content; animation: slide 46s linear infinite; padding: 10px 18px 10px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 84px; width: 210px; object-fit: contain; padding: 20px 30px; border-radius: 22px;
  background: #f5f5f7; filter: grayscale(1) contrast(1.1); opacity: .72;
  transition: filter .5s var(--ease), opacity .5s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.marquee__track img:hover { filter: none; opacity: 1; transform: translateY(-4px) scale(1.04); box-shadow: 0 20px 40px -18px rgba(245,183,49,.55); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { max-width: 1100px; margin: 0 auto; padding: 200px var(--pad); }
.manifesto__text { margin: 0; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; }
.manifesto__text .w { color: #2a2a2d; transition: color .5s var(--ease); }
.manifesto__text .w.on { color: var(--ink); }
.manifesto__text .w.hl.on { color: var(--gold); }

/* ---------- Journey ---------- */
.journey { position: relative; height: 420vh; }
.journey__sticky {
  position: sticky; top: 0; height: 100svh; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
}
.journey__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.journey__steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; opacity: .22; transition: opacity .7s var(--ease), transform .7s var(--ease); transform-origin: 0 50%; }
.journey__steps li.is-active { opacity: 1; }
.journey__steps span { font-size: 13px; color: var(--gold); font-weight: 600; padding-top: .9em; font-variant-numeric: tabular-nums; }
.journey__steps h3 { margin: 0; font-size: clamp(44px, 5.4vw, 80px); line-height: 1.05; letter-spacing: -.05em; font-weight: 700; }
.journey__steps p { grid-column: 2; margin: 0; max-height: 0; overflow: hidden; color: var(--muted); font-size: 18px; max-width: 420px; transition: max-height .8s var(--ease), margin .8s var(--ease); }
.journey__steps li.is-active p { max-height: 120px; margin: 6px 0 14px; }
.journey__bar { margin-top: 34px; width: 220px; height: 3px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.journey__bar i { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.journey__device { display: grid; justify-items: center; perspective: 1400px; }
.phone {
  position: relative; width: min(340px, 78vw, 38svh); aspect-ratio: 9 / 19; border-radius: 54px;
  background: linear-gradient(160deg, #1c1c1e, #0b0b0c);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 10px #111, 0 0 0 11px rgba(255,255,255,.08), 0 80px 120px -40px rgba(245,183,49,.25), 0 50px 80px -30px rgba(0,0,0,.9);
  transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 6deg));
  transition: transform 1.2s var(--ease);
  overflow: hidden;
}
.phone__notch { position: absolute; top: 14px; left: 50%; width: 110px; height: 32px; margin-left: -55px; background: #000; border-radius: 20px; z-index: 3; }
.screen {
  position: absolute; inset: 0; padding: 74px 24px 24px; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(24px) scale(.98); filter: blur(8px);
  transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease);
}
.screen.is-active { opacity: 1; transform: none; filter: none; }
.screen .big { font-size: 42px; font-weight: 700; letter-spacing: -.045em; }
.chip { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(48,209,88,.14); font-size: 12px; }
.tx { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); font-size: 14px; }
.tx span { color: #d2d2d7; } .tx b { font-weight: 600; }
.ring { width: 190px; height: 190px; align-self: center; margin-top: 18px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring__bg { stroke: rgba(255,255,255,.08); }
.ring__fg { stroke: var(--gold); stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.screen.is-active .ring__fg { stroke-dashoffset: 119.4; }
.ring__label { text-align: center; margin-top: -132px; margin-bottom: 70px; }
.ring__label b { display: block; font-size: 38px; letter-spacing: -.04em; }
.ring__label small { color: var(--muted); font-size: 12px; }
.donut { width: 210px; height: 210px; align-self: center; margin: 18px 0 6px; transform: rotate(-90deg); }
.donut__s { fill: none; stroke: var(--c); stroke-width: 5.5; stroke-dasharray: 0 100; stroke-dashoffset: 0; transition: stroke-dasharray 1.4s var(--ease) .2s; }
.screen.is-active .donut__s { stroke-dasharray: calc(var(--len) - 1.2) calc(101.2 - var(--len)); }
.donut__s:nth-child(1) { stroke-dashoffset: 0; } .donut__s:nth-child(2) { stroke-dashoffset: -60; } .donut__s:nth-child(3) { stroke-dashoffset: -85; }
.legend { display: grid; gap: 10px; font-size: 14px; }
.legend span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.05); border-radius: 14px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.grow { width: 100%; height: 190px; margin: 10px 0; }
.grow__line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.grow__area { opacity: 0; transition: opacity 1.2s var(--ease) .8s; }
.screen.is-active .grow__line { stroke-dashoffset: 0; }
.screen.is-active .grow__area { opacity: 1; }

/* ---------- Calculator ---------- */
.calc { padding: 180px 0 160px; }
.calc__card {
  max-width: var(--max); margin: 0 auto; width: calc(100% - 2 * var(--pad));
  border-radius: 36px; padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(28,28,30,.8), rgba(14,14,15,.8));
}
.field { display: grid; gap: 14px; margin-bottom: 34px; }
.field > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: #d2d2d7; }
.field output { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, var(--gold) 0 var(--fill, 50%), rgba(255,255,255,.12) var(--fill, 50%) 100%);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5), 0 0 0 6px rgba(245,183,49,.18); transition: transform .3s var(--ease); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(245,183,49,.18); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--gold); }
.calc__split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.calc__split div { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.calc__split small { display: block; color: var(--muted); font-size: 13px; margin: 8px 0 2px; }
.calc__split b { font-size: 22px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sw { display: block; width: 22px; height: 6px; border-radius: 4px; }
.sw--inv { background: rgba(255,255,255,.35); } .sw--gain { background: var(--gold); }
.calc__out { display: flex; flex-direction: column; min-width: 0; }
.calc__total { font-size: clamp(48px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.055em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__words { color: var(--muted); margin-top: 10px; font-size: 15px; min-height: 1.5em; }
.calc__chart { width: 100%; height: 240px; margin-top: auto; padding-top: 24px; overflow: visible; }
.calc__chart .ax { stroke: rgba(255,255,255,.07); }
.calc__chart .inv { fill: rgba(255,255,255,.14); }
.calc__chart .tot { fill: url(#cg); }
.calc__chart .ln { fill: none; stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.calc__chart .yr { fill: #6e6e73; font-size: 11px; font-family: var(--sans); }

/* ---------- Bento ---------- */
.features { padding: 120px 0 160px; }
.bento { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 34px; min-height: 280px;
  background: #101011; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .7s var(--ease), border-color .5s, opacity 1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}
.card:hover { border-color: rgba(245,183,49,.35); }
.card--xl { grid-row: span 2; grid-column: span 2; min-height: 576px; }
.card--wide { grid-column: span 2; }
.card h3 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; line-height: 1.1; }
.card--xl h3 { font-size: clamp(36px, 4.2vw, 60px); }
.card p { margin: 0; color: var(--muted); font-size: 17px; max-width: 460px; position: relative; }
.card__icon { position: absolute; top: 30px; left: 34px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(245,183,49,.12); color: var(--gold); font-size: 20px; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(245,183,49,.13), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.spot:hover::before { opacity: 1; }
.eq { position: absolute; right: 40px; top: 40px; display: flex; gap: 8px; align-items: flex-end; height: 160px; }
.eq i { width: 14px; border-radius: 8px; background: var(--gold-grad); animation: eq 1.6s var(--ease-io) infinite alternate; }
.eq i:nth-child(1) { height: 30%; animation-delay: -.2s } .eq i:nth-child(2) { height: 55%; animation-delay: -.6s } .eq i:nth-child(3) { height: 42%; animation-delay: -1s }
.eq i:nth-child(4) { height: 75%; animation-delay: -.4s } .eq i:nth-child(5) { height: 60%; animation-delay: -1.2s } .eq i:nth-child(6) { height: 88%; animation-delay: -.8s } .eq i:nth-child(7) { height: 100%; animation-delay: -1.4s }
@keyframes eq { to { transform: scaleY(.45); } }
.eq i { transform-origin: bottom; }
.live { position: absolute; top: 34px; right: 30px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--red); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.badges { position: absolute; top: 34px; right: 30px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.b { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.b--bad { background: rgba(255,69,58,.12); color: var(--red); text-decoration: line-through; }
.b--good { background: rgba(48,209,88,.14); color: var(--green); }

/* ---------- Digital Library (most sold) ---------- */
.lib { position: relative; padding: 160px var(--pad) 170px; overflow: hidden; }
.lib__glow { position: absolute; left: 30%; top: 50%; width: 900px; height: 700px; margin: -350px 0 0 -450px; background: radial-gradient(closest-side, rgba(245,183,49,.16), transparent); pointer-events: none; }
.lib__card { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.lib__media {
  position: relative; display: block; border-radius: 30px; aspect-ratio: 16 / 9;
  border: 1px solid rgba(245,183,49,.35);
  box-shadow: 0 60px 120px -40px rgba(245,183,49,.45), 0 30px 60px -30px rgba(0,0,0,.9);
  transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), opacity 1s var(--ease), filter 1s var(--ease);
}
.lib__media.reveal.in { transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.lib__media:hover { box-shadow: 0 70px 140px -40px rgba(245,183,49,.6), 0 30px 60px -30px rgba(0,0,0,.9); }
.lib__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; transition: transform 1.4s var(--ease); }
.lib__media:hover img { transform: scale(1.02); }
.lib__shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 48%, transparent 62%); background-size: 250% 100%; background-position: var(--gx, 120%) 0; mix-blend-mode: overlay; border-radius: 29px; transition: background-position .6s var(--ease); pointer-events: none; }
.lib__ribbon {
  position: absolute; z-index: 2; top: -17px; left: 26px; padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #111; background: var(--gold-grad);
  box-shadow: 0 10px 30px -8px rgba(245,183,49,.7);
  animation: bob 3.2s var(--ease-io) infinite alternate;
}
@keyframes bob { to { transform: translateY(-4px); } }
.hot { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; margin-right: 8px; border-radius: 6px; background: var(--gold); color: #111; letter-spacing: 0; }
.lib__lead { color: #a1a1a6; font-size: clamp(18px, 1.5vw, 21px); margin: 22px 0 30px; max-width: 520px; }
.lib__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.lib__list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lib__list b { color: var(--gold); font-size: 13px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.lib__list strong { display: block; font-size: 17px; letter-spacing: -.01em; }
.lib__list span { color: var(--muted); font-size: 15px; }
.lib__buy { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.lib__price small { display: block; color: var(--muted); font-size: 13px; }
.lib__price b { font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ---------- Dev ---------- */
.dev { max-width: var(--max); margin: 0 auto; padding: 140px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.dev__visual { position: relative; aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden; background: radial-gradient(120% 80% at 50% 100%, #2a1d05, #0b0b0c 70%); border: 1px solid var(--line); }
.dev__orb { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(245,183,49,.55), transparent 65%); filter: blur(30px); animation: breathe 6s var(--ease-io) infinite alternate; }
@keyframes breathe { to { transform: scale(1.15); opacity: .7; } }
.dev__visual img { position: absolute; bottom: 0; left: 50%; width: 175%; max-width: none; transform: translateX(-50%) translateY(var(--py, 0px)); }
.dev__copy > p { color: #a1a1a6; font-size: 19px; margin: 26px 0 0; }
.quote { margin-top: 34px; padding: 26px 28px; border-radius: 24px; background: #101011; border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.quote h4 { margin: 0 0 8px; font-size: 18px; }
.quote p { margin: 0; color: var(--muted); }

/* ---------- Testimonials ---------- */
.voices { padding: 120px 0 160px; overflow: hidden; }
.tmarquee { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tmarquee__track { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.tmarquee__track--rev { animation-direction: reverse; animation-duration: 70s; }
.tmarquee:hover .tmarquee__track { animation-play-state: paused; }
.t { margin: 0; width: 400px; padding: 28px; border-radius: 24px; background: #101011; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.t blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: #d2d2d7; }
.t figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.t figcaption i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #111; background: var(--gold-grad); }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0 160px; }
.faq .section-head, .faq__list { max-width: 900px; }
.faq__list { margin: 0 auto; padding: 0 var(--pad); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold); }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: transform .6s var(--ease), background .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.qa summary i::after { transform: rotate(90deg); transition: transform .6s var(--ease); }
.qa[open] summary i { transform: rotate(180deg); background: var(--gold); color: #111; border-color: var(--gold); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 0 28px; color: var(--muted); font-size: 18px; max-width: 720px; }

/* ---------- CTA ---------- */
.cta { position: relative; text-align: center; padding: 180px var(--pad) 200px; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.cta__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(245,183,49,.2), transparent 60%); filter: blur(20px); pointer-events: none; }
.cta__title { position: relative; margin: 0; font-size: clamp(56px, 10vw, 160px); line-height: .95; letter-spacing: -.06em; font-weight: 800; }
.cta .lead { margin: 26px auto 0; }
.social { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 48px 0 48px; }
.soc { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); text-align: left; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.soc:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(245,183,49,.4); }
.soc b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(245,183,49,.14); color: var(--gold); }
.soc span { font-weight: 600; font-size: 15px; line-height: 1.2; }
.soc small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 60px var(--pad) 30px; overflow: hidden; }
.foot__word { font-size: clamp(40px, 11vw, 190px); font-weight: 800; letter-spacing: -.07em; line-height: .85; text-align: center; white-space: nowrap; background: linear-gradient(180deg, #2a2a2d, #0b0b0c); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 60px; }
.foot__row { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__brand { display: flex; gap: 14px; max-width: 520px; }
.foot__brand p { margin: 0; color: var(--muted); font-size: 14px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 26px; align-content: flex-start; font-size: 14px; color: #d2d2d7; }
.foot__links a:hover { color: var(--gold); }
.foot__legal { max-width: var(--max); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #6e6e73; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { max-width: 520px; width: 100%; margin: 20px auto 0; }
  .journey { height: 380vh; }
  .journey__sticky { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: 70px; }
  .journey__steps li:not(.is-active) { display: none; }
  .journey__steps h3 { font-size: 48px; }
  .journey__bar { margin-top: 10px; }
  .phone { width: min(250px, 62vw, 30svh); border-radius: 40px; }
  .screen { padding: 60px 16px 16px; }
  .ring { width: 150px; height: 150px; } .ring__label { margin-top: -110px; margin-bottom: 56px; }
  .donut { width: 150px; height: 150px; }
  .calc__card { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .dev { grid-template-columns: 1fr; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .lib__card { grid-template-columns: 1fr; }
  .official__grid, .yt__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .card { min-height: 260px; padding: 28px; }
  .card--wide { padding-top: 110px; }
  .badges { position: static; order: -1; justify-content: flex-start; max-width: none; margin: 0 0 18px; }
  .card--wide .card__icon { top: 28px; }
  .eq { height: 110px; right: 28px; top: 30px; }
  .float--a { left: 0; } .float--b { right: 0; } .float strong { font-size: 20px; }
  .t { width: 300px; }
  .manifesto { padding: 140px var(--pad); }
  .marquee__track { gap: 12px; padding-left: 0; padding-right: 12px; } .marquee__track img { height: 64px; width: 160px; padding: 14px 22px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
