/* TradUniverse public site. Fresh Green tokens (design system "TradUniverse"). */
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("assets/fonts/quicksand-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --lime-500: #9bd65a; --lime-400: #8ccb4a; --lime-200: #d9f2bf; --lime-100: #eaf7dc; --mint-50: #eef6e6; --tint: #f6faf2;
  --green-700: #2b6e35; --green-900: #1e3326; --ink: #17301f; --muted: #4f6656; --line: #dce9d2; --input: #cfdcc6;
  --profit: #1e7a34; --loss: #b4430b; --loss-bg: #fdebdd; --loss-ink: #8a3208; --mock-ink: #7a4b00; --mock-bg: #fff6dd;
  --on-dark: #d5e6cb; --on-dark-accent: #b9e58a;
  --shadow-card: 0 10px 30px rgba(30, 51, 38, 0.06); --shadow-float: 0 24px 48px rgba(30, 51, 38, 0.22);
  --display: Quicksand, "Nunito Sans", system-ui, sans-serif; --sans: "Nunito Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
main { overflow-x: clip; }
body { margin: 0; background: var(--mint-50); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
:focus-visible { outline: 2px solid #5fa83a; outline-offset: 2px; }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 16px; border-radius: 999px; background: var(--lime-500); color: var(--ink); font-weight: 800; z-index: 10; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* buttons and badges */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--lime-500); color: var(--ink); }
.btn-primary:hover { background: var(--lime-400); color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--input); font-weight: 700; }
.btn-ghost:hover { border-color: var(--green-700); color: var(--ink); }
.badge { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.3px; }
.badge-free { background: var(--lime-100); }
.badge-premium { background: var(--lime-200); }
.badge-later { background: #eef1ec; color: var(--muted); }
.badge-mock { background: var(--mock-bg); color: var(--mock-ink); font-size: 11px; }

/* header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand strong { font-family: var(--display); font-size: 19px; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 12px; }
.site-nav { flex: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; font-weight: 700; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-700); text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; gap: 10px; }

/* hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.hero-copy .badge { background: var(--lime-200); font-size: 13px; padding: 6px 14px; }
.hero h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 54px); line-height: 1.12; font-weight: 700; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 13.5px; color: var(--muted); }

.card-head { display: flex; align-items: center; gap: 8px; font-weight: 800; }

.wall { display: block; }
.wall.res { background: var(--loss-bg); color: var(--loss-ink); }
.wall.sup { background: var(--lime-100); color: #1e5a2a; }

/* hero: tablet + phone scene */
.scene { flex: 1 1 520px; position: relative; margin: 0; height: 520px; perspective: 1600px; }
.scene-glow { position: absolute; inset: 6% 0 4% 6%; border-radius: 48px; background: linear-gradient(145deg, #ffffff 0%, #e6f5d6 55%, #d3eebb 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 30px 60px rgba(30, 51, 38, 0.08); }
.scene-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform 0.4s ease-out; }

.tablet { position: absolute; left: 25%; top: 16%; width: 470px; height: 330px; border-radius: 30px; background: #f7fbf3; padding: 12px; box-shadow: 0 2px 0 #ffffff inset, -26px 40px 50px rgba(30, 51, 38, 0.2), -2px 3px 0 #dce9d2, -6px 8px 0 #cfdcc6; transform: rotateX(52deg) rotateZ(-34deg); transform-origin: 50% 50%; }
.tablet-screen { height: 100%; border-radius: 20px; background: #ffffff; display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px; padding: 14px; box-sizing: border-box; }
.cal { display: flex; flex-direction: column; gap: 8px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-size: 16px; }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal-days span { font-size: 10px; font-weight: 800; color: var(--muted); text-align: center; }
.cal-grid i { height: 26px; border-radius: 7px; background: #f0f4ec; }
.cal-grid i.g { background: #9bd65a; } .cal-grid i.l { background: #d9f2bf; } .cal-grid i.o { background: #f4b28a; }
.cal-grid i.now { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #1e7a34; }
.cal-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); font-weight: 700; }
.cal-foot b { color: var(--profit); font-size: 14px; }
.today { border-left: 1px solid var(--line); padding-left: 12px; display: flex; flex-direction: column; gap: 7px; }
.today-h { font-size: 12px; }
.slot { display: grid; grid-template-columns: 38px 1fr; gap: 6px; align-items: center; font-size: 10px; color: var(--muted); }
.ev { background: #f3f7ef; border-radius: 9px; padding: 6px 8px; font-size: 10.5px; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; }
.ev small { font-weight: 600; color: var(--muted); font-size: 9.5px; }
.ev-buy { background: #eaf7dc; box-shadow: inset 3px 0 0 #5fa83a; }
.ev-win { background: #ffffff; box-shadow: 0 6px 14px rgba(30, 51, 38, 0.14), inset 3px 0 0 #1e7a34; }
.ev-win b { color: var(--profit); }

.pen { position: absolute; right: 4%; top: 12%; width: 16px; height: 230px; border-radius: 10px; background: linear-gradient(90deg, #ffffff, #e9efe4 60%, #cfdcc6); box-shadow: -10px 14px 24px rgba(30, 51, 38, 0.16); transform: rotate(38deg); }
.pen::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -14px; height: 18px; border-radius: 0 0 8px 8px; background: #5fa83a; clip-path: polygon(0 0, 100% 0, 50% 100%); }

.phone3d { position: absolute; left: 4%; top: 8%; width: 176px; height: 384px; border-radius: 34px; background: #ffffff; padding: 9px; box-shadow: 2px 0 0 #dce9d2, 5px 2px 0 #cfdcc6, 30px 40px 60px rgba(30, 51, 38, 0.22); transform: translateZ(40px) rotateY(18deg) rotateZ(-4deg); }
.p3-screen { height: 100%; border-radius: 26px; background: var(--mint-50); padding: 14px 11px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; }
.p3-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 15px; }
.p3-gauge { background: #ffffff; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; align-items: center; }
.p3-gauge svg { width: 120px; height: 70px; }
.p3-gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.p3-gauge .g-fg { stroke: var(--profit); stroke-dasharray: 100; stroke-dashoffset: 26; }
.p3-num { font-size: 26px; color: var(--profit); margin-top: -34px; }
.p3-row { display: flex; justify-content: space-between; background: #ffffff; border-radius: 12px; padding: 7px 10px; font-size: 11px; font-weight: 800; }
.up-t { color: var(--profit); } .dn-t { color: var(--loss); }
.phone3d .wall { border-radius: 12px; padding: 7px 10px; font-size: 11px; font-weight: 800; }

.obj { position: absolute; }
.candles { right: 14%; bottom: 6%; display: flex; align-items: flex-end; gap: 9px; transform: rotate(-8deg); filter: drop-shadow(8px 16px 14px rgba(30, 51, 38, 0.22)); }
.candles i { width: 22px; border-radius: 7px; position: relative; }
.candles i::before { content: ""; position: absolute; left: 50%; width: 3px; margin-left: -1.5px; top: -14px; bottom: -14px; border-radius: 2px; background: inherit; opacity: 0.6; z-index: -1; }
.candles .c1 { height: 44px; background: linear-gradient(90deg, #f6c6a6, #e89a6a); }
.candles .c2 { height: 64px; background: linear-gradient(90deg, #b9e58a, #7fbf5a); }
.candles .c3 { height: 92px; background: linear-gradient(90deg, #a5dc6c, #5fa83a); }
.coin { left: 22%; bottom: 4%; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3ffe3, #9bd65a 60%, #6fae3f); box-shadow: 0 5px 0 #5a9133, 10px 20px 26px rgba(30, 51, 38, 0.25); display: grid; place-items: center; transform: rotate(-12deg); }
.coin span { font-family: var(--display); font-weight: 700; font-size: 32px; color: #2b6e35; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }

/* gentle float (only when motion is allowed) */
.js .phone3d { animation: bob 6s ease-in-out infinite alternate; }
.js .candles { animation: bob2 7s ease-in-out infinite alternate; }
.js .coin { animation: bob3 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateZ(40px) rotateY(18deg) rotateZ(-4deg) translateY(0); } to { transform: translateZ(40px) rotateY(18deg) rotateZ(-4deg) translateY(-12px); } }
@keyframes bob2 { from { transform: rotate(-8deg) translateY(0); } to { transform: rotate(-8deg) translateY(-14px); } }
@keyframes bob3 { from { transform: rotate(-12deg) translateY(0); } to { transform: rotate(6deg) translateY(-10px); } }
.js .scene-tilt, .js .scene-glow { opacity: 0; translate: 0 30px; transition: opacity 0.9s ease 0.4s, translate 1s cubic-bezier(.2,.8,.2,1) 0.4s, transform 0.4s ease-out; }
.js.loaded .scene-tilt, .js.loaded .scene-glow { opacity: 1; translate: 0 0; }

/* sections */
.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 660px; margin-bottom: 36px; }
.section h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.18; }
.section-head p { font-size: 17px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--lime-500); display: grid; place-items: center; font-weight: 800; }
.steps strong { font-size: 18px; }
.steps span { color: var(--muted); font-size: 15px; }

.honest { background: var(--green-900); color: #fff; border-radius: 34px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; }
.honest-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.honest-intro p { color: var(--on-dark); }
.honest ul { flex: 2 1 480px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.honest li strong { color: var(--on-dark-accent); display: block; }
.honest li span { color: var(--on-dark); }

.plans-teaser { background: #fff; border: 1px solid var(--line); border-radius: 34px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.plans-teaser > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.plans-teaser p { color: var(--muted); }
.price-chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price-chip { padding: 16px 22px; border-radius: 22px; background: var(--tint); display: flex; flex-direction: column; }
.price-chip.premium { background: var(--lime-200); }
.price-chip b { font-size: 13px; }
.price-chip .mono { font-size: 24px; }
.price-chip small { font-size: 13px; color: var(--muted); }

.invite { background: var(--lime-200); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }

/* story sections (home) */
.story { padding: 96px 0; position: relative; }
.story-alt { background: #fff; }
.story-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.story-row.reverse { flex-direction: row-reverse; }
.story-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.story-copy h2, .coach h2, .cta-dark h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.story-copy p, .coach p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.story-copy .note { font-size: 13px; }
.story-copy .btn { align-self: flex-start; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--lime-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2317301F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.story-visual { flex: 1 1 420px; position: relative; min-height: 460px; display: flex; justify-content: center; align-items: center; }

/* decorations: dot grids and hand-drawn lines */
.dots { position: absolute; width: 120px; height: 90px; background-image: radial-gradient(#8ccb4a 1.6px, transparent 1.7px); background-size: 14px 14px; opacity: 0.7; }
.dots-a { left: 4%; top: 6%; }
.dots-b { right: 2%; bottom: 4%; }
.doodle { position: absolute; width: 220px; height: 160px; }
.doodle path { fill: none; stroke: var(--green-900); stroke-width: 1.6; stroke-linecap: round; opacity: 0.55; stroke-dasharray: 520; stroke-dashoffset: 0; }
.doodle-a { right: 0; bottom: 0; }
.doodle-b { left: -10px; top: 10px; }
.doodle-c { right: 4%; top: -10px; }

/* phone mockup */
.phone { position: relative; width: 260px; height: 520px; border-radius: 40px; background: var(--green-900); padding: 12px; box-shadow: 0 40px 80px rgba(30, 51, 38, 0.22); }
.phone-screen { height: 100%; border-radius: 30px; background: var(--mint-50); padding: 22px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 18px; }
.gauge-card { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; align-items: center; }
.g-name { align-self: flex-start; font-weight: 800; font-size: 13px; }
.gauge { width: 170px; height: 100px; }
.gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.g-bg { stroke: var(--lime-100); }
.g-fg { stroke: var(--profit); stroke-dasharray: 100; stroke-dashoffset: 26; transition: stroke-dashoffset 1.3s cubic-bezier(.2,.7,.2,1) .2s; }
.g-num { font-size: 34px; color: var(--profit); margin-top: -46px; }
.g-label { font-weight: 800; color: var(--profit); }
.g-why { margin: 10px 0 0; padding-left: 16px; font-size: 12.5px; color: var(--muted); align-self: stretch; }
.phone .wall { border-radius: 14px; padding: 10px 12px; font-size: 13px; font-weight: 800; }
.chip-float { position: absolute; left: 2%; bottom: 14%; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-float); font-size: 13px; font-weight: 700; display: flex; flex-direction: column; }
.loss-t { color: var(--loss); font-family: var(--mono); font-size: 18px; }

/* journal collage */
.collage { min-height: 480px; }
.jcard { position: absolute; background: #fff; border-radius: 20px; box-shadow: 0 20px 44px rgba(30, 51, 38, 0.14); padding: 16px; }
.j-trade { left: 6%; top: 8%; width: 250px; display: flex; flex-direction: column; gap: 10px; }
.j-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.j-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.j-grid b { color: var(--ink); text-align: right; }
.big-pnl { font-size: 26px; }
.j-chart { right: 4%; top: 22%; width: 230px; display: flex; flex-direction: column; gap: 6px; }
.j-chart svg { width: 100%; height: auto; }
.j-chart .up { fill: #5fa83a; } .j-chart .dn { fill: #e89a6a; }
.j-chart .orb { stroke: var(--green-900); stroke-width: 1.2; stroke-dasharray: 4 4; }
.j-cap { font-size: 12px; font-weight: 700; color: var(--muted); }
.j-tags { left: 14%; bottom: 14%; display: flex; flex-wrap: wrap; gap: 8px; max-width: 260px; }
.tag { padding: 6px 12px; border-radius: 999px; background: var(--lime-100); font-size: 13px; font-weight: 800; }
.j-note { right: 10%; bottom: 4%; display: flex; flex-direction: column; gap: 2px; border-left: 0; background: var(--loss-bg); }
.j-note b { color: var(--loss-ink); }

/* brokers strip */
.strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.strip-row p { flex: 1 1 260px; }
.broker { font-weight: 800; color: var(--muted); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.later-b { border-style: dashed; }

/* rules band */
.band { background: var(--lime-100); padding: 96px 0; position: relative; overflow: hidden; }
.rules-screen { background: #fff; }
.rules-head { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px 8px; }
.rules-head b { font-family: var(--display); font-size: 20px; }
.rules-head span { font-size: 13px; color: var(--muted); }
.rule-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rule { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--tint); font-size: 14px; font-weight: 700; transition: background 0.3s ease; }
.rule .box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid #5fa83a; background: #5fa83a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: background-color 0.25s ease, transform 0.25s ease; }
.rules-foot { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--lime-200); font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; }

/* AI coach */
.coach { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: #fff; border: 1px dashed var(--input); border-radius: 34px; padding: 44px; }
.coach > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.coach-msg { flex: 1 1 320px; background: var(--green-900); color: #fff; border-radius: 26px 26px 26px 6px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.coach-msg p { font-size: 20px; color: #fff; font-family: var(--display); }
.coach-msg small { color: var(--on-dark); }
.coach-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--lime-500); }

/* dark call to action */
.cta-dark { position: relative; overflow: hidden; background: #122019; color: #fff; padding: 110px 0; text-align: center; }
.cta-shape { position: absolute; right: 0; bottom: 0; width: 420px; height: 420px; }
.cta-shape path { fill: var(--green-900); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-inner p { color: var(--on-dark); font-size: 17px; max-width: 560px; }
.actions.center { justify-content: center; }
.btn-dark-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); font-weight: 700; }
.btn-dark-ghost:hover { color: #fff; border-color: #fff; }

/* ---------- motion ----------
   Scroll-linked values come from site.js: --p (0 → 1 as a section comes in), --q (hero
   scrolled away). Defaults are the finished state, so without JavaScript or with
   "reduce motion" nothing is hidden and nothing moves. */
[data-scrub] { --p: 1; --q: 0; }
.big-check { position: absolute; width: 150px; height: 125px; right: 6%; top: 4%; z-index: 2; pointer-events: none; }
.big-check path { fill: none; stroke: #5fa83a; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; filter: drop-shadow(0 10px 18px rgba(30, 51, 38, 0.25)); }
.notes { list-style: none; }
.honest .notes li { border-radius: 18px; padding: 18px; color: var(--ink); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18); }
.honest .notes li strong { color: var(--ink); }
.honest .notes li span { color: #2e4a36; }
.note-a { background: #d9f2bf; } .note-b { background: #fff1c9; } .note-c { background: #d6f0ea; } .note-d { background: #fde3d3; }
.cta-shape.s2 { left: -120px; top: -160px; right: auto; bottom: auto; width: 380px; height: 380px; opacity: 0.6; }
.cta-shape.s2 circle { fill: #1a2c22; }

.js .reveal { transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.8s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(32px); filter: blur(6px); }

/* hero: headline words rise on load; the picture drifts up and fades as you scroll past */
.js .words .w { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(3deg); filter: blur(4px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(.2,.8,.2,1), filter 0.7s ease; transition-delay: calc(var(--i) * 70ms + 100ms); }
.js.loaded .words .w { opacity: 1; transform: none; filter: none; }
.js .hero-copy > :not(h1) { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease 0.75s, transform 0.7s ease 0.75s; }
.js.loaded .hero-copy > :not(h1) { opacity: 1; transform: none; }
.js.scrub-ready .hero .scene { transform: translateY(calc(var(--q) * -90px)) scale(calc(1 - var(--q) * 0.08)); opacity: calc(1 - var(--q) * 0.9); }
.js.scrub-ready .hero .hero-copy { transform: translateY(calc(var(--q) * -40px)); }

/* headlines fill with ink as their section arrives */
.js.scrub-ready h2.ink { color: color-mix(in srgb, var(--ink) calc(var(--p) * 100%), #b8c9b0); }
.js.scrub-ready h2.ink-dark { color: color-mix(in srgb, #ffffff calc(var(--p) * 100%), #3b5244); }

/* Markets: phone rises and straightens, gauge fills with the scroll, chip slides in */
.js.scrub-ready #markets .phone { transform: translateY(calc((1 - var(--p)) * 160px)) rotate(calc((1 - var(--p)) * -10deg)) scale(calc(0.9 + var(--p) * 0.1)); opacity: calc(0.15 + var(--p) * 0.85); }
.js.scrub-ready #markets .g-fg { transition: none; stroke-dashoffset: calc(100 - var(--p) * 74); }
.js.scrub-ready #markets .chip-a { transform: translateX(calc((1 - var(--p)) * -140px)) rotate(calc((1 - var(--p)) * -12deg)); opacity: var(--p); }
.js.scrub-ready #markets .doodle path, .js.scrub-ready .band .doodle path, .js.scrub-ready #journal .doodle path { stroke-dashoffset: calc(520 - var(--p) * 520); }
.js.scrub-ready #markets .dots { transform: translateY(calc((1 - var(--p)) * 80px)); opacity: var(--p); }

/* Journal: scattered cards fly in and settle into place */
.js.scrub-ready #journal .jcard { transform: translate(calc((1 - var(--p)) * var(--dx)), calc((1 - var(--p)) * var(--dy))) rotate(calc((1 - var(--p)) * var(--r))) scale(calc(0.85 + var(--p) * 0.15)); opacity: calc(var(--p) * 1.4 - 0.2); }

/* Rules: phone rises, rules tick as you scroll (site.js), then the big check draws */
.js.scrub-ready .band .phone { transform: translateY(calc((1 - var(--p)) * 140px)) rotate(calc((1 - var(--p)) * 8deg)); opacity: calc(0.15 + var(--p) * 0.85); }
.js.scrub-ready .band .big-check path { stroke-dashoffset: calc(100 - clamp(0, (var(--p) - 0.92) * 1250, 100)); }
.js .rule:not(.done) .box { background-color: #fff; transform: scale(0.9); background-size: 0; }
.js .rule.done { background: var(--lime-100); }
.js .rule.done .box { animation: pop 0.35s ease; }
@keyframes pop { 0% { transform: scale(0.6); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Honest by design: notes fly in tilted, then line up */
.js.scrub-ready .honest-sec .notes li { transform: translate(calc((1 - var(--p)) * var(--dx)), calc((1 - var(--p)) * var(--dy))) rotate(calc((1 - var(--p)) * var(--r) + var(--p) * var(--tilt, 0deg))); opacity: calc(var(--p) * 1.3 - 0.1); }
.note-a { --tilt: -1.5deg; } .note-b { --tilt: 1.5deg; } .note-c { --tilt: 1deg; } .note-d { --tilt: -1deg; }
.js.scrub-ready .honest-sec .honest-intro { transform: translateY(calc((1 - var(--p)) * 60px)); opacity: var(--p); }

/* Dark call to action: shapes turn in as it arrives */
.js.scrub-ready .cta-dark .s1 { transform: translate(calc((1 - var(--p)) * 200px), calc((1 - var(--p)) * 120px)) rotate(calc((1 - var(--p)) * 25deg)); }
.js.scrub-ready .cta-dark .s2 { transform: scale(calc(0.5 + var(--p) * 0.5)); }
.js.scrub-ready .cta-dark .cta-inner { transform: translateY(calc((1 - var(--p)) * 60px)); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 13.5px; color: var(--muted); }
.site-footer .about { max-width: 640px; display: flex; flex-direction: column; gap: 6px; }
.site-footer .about strong { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; }

/* plans page */
.page-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0 24px; }
.page-head h1 { font-family: var(--display); font-size: clamp(36px, 4.4vw, 48px); line-height: 1.12; }
.beta-banner { padding: 10px 16px; border-radius: 16px; background: var(--lime-200); font-weight: 700; font-size: 14.5px; }
.billing { display: inline-flex; padding: 4px; border: 1px solid var(--input); border-radius: 999px; background: #fff; }
.billing button { min-height: 40px; border: 0; padding: 0 18px; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--lime-500); color: var(--ink); }
.plans { max-width: 980px; margin: 0 auto; padding: 16px 24px 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan.featured { border: 2px solid #5fa83a; box-shadow: 0 24px 48px rgba(30, 51, 38, 0.12); }
.plan-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan h2 { font-size: 22px; }
.amount { font-size: 40px; }
.amount-text { font-size: 26px; font-weight: 800; font-family: var(--display); }
.per { font-size: 15px; color: var(--muted); }
.plan > p { color: var(--muted); font-size: 15px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; color: var(--profit); font-weight: 800; }
.checks small { color: var(--muted); }
.callout { padding: 12px 14px; border-radius: 16px; background: var(--mock-bg); color: #5c3900; font-size: 13.5px; line-height: 1.5; }
.narrow { max-width: 980px; margin: 0 auto; padding: 0 24px 48px; }
.narrow h2 { font-family: var(--display); font-size: 30px; margin-bottom: 16px; }
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
th { text-align: left; color: var(--muted); font-size: 13px; padding: 14px 20px; }
td { padding: 12px 20px; border-top: 1px solid var(--line); }
td.yes { color: var(--profit); font-weight: 700; }
td.no { color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.faq summary { font-weight: 800; font-size: 16px; cursor: pointer; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* phones and small tablets */
@media (max-width: 900px) {
  .story, .band { padding: 64px 0; }
  .story-row, .story-row.reverse { flex-direction: column; gap: 32px; }
  .story-visual { width: 100%; }
  .coach { padding: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .honest { padding: 32px 24px; }
  .honest ul { grid-template-columns: 1fr; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .collage { min-height: 560px; }
  .j-trade { left: 0; top: 0; }
  .j-chart { right: 0; top: 190px; }
  .j-tags { left: 0; bottom: 90px; }
  .j-note { right: 0; bottom: 0; }
  .doodle { display: none; }
  .chip-float { left: 0; bottom: -18px; }
  .big-check { width: 96px; height: 80px; right: -6px; top: -36px; }
  .story-visual { padding-bottom: 24px; }
  .header-actions .btn-ghost { display: none; }
  .scene { height: 370px; flex-basis: 100%; }
  .scene-glow { inset: 4% 0 0 0; }
  .scene-tilt { inset: 0 auto auto 0; width: 520px; height: 520px; transform: scale(0.68); transform-origin: 0 0; }
  .plans-teaser, .honest { border-radius: 22px; }
}
