/*
 * landing.css — public site (landing + CMS pages). Section styles live here too,
 * so a client redesign can replace landing/sections/* one file at a time.
 *
 * Motion rules (DESIGN.md): animate transform / opacity only, pause what is off-screen
 * (landing.js adds .is-paused). Reduced motion keeps animations (owner); only pointer effects are skipped.
 * Colours come from theme tokens + admin brand colours (var(--brand-*)), never hex.
 * Pre-animation states live under .lp-js only, so the page is complete without JS.
 */

.landing {
  --lp-ease: cubic-bezier(.22, 1, .36, 1);
  --lp-ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --lp-a1: var(--brand-primary-text);
  --lp-a2: var(--brand-secondary-text);
  --lp-aurora-1: .20;
  --lp-aurora-2: .14;
  --lp-grid: rgba(15, 26, 30, .05);
  --lp-card-bg: var(--surface-1);
  --lp-card-border: var(--border);
  --lp-card-shadow: 0 1px 2px rgba(15, 26, 30, .04), 0 10px 30px -12px rgba(15, 26, 30, .12);
  --lp-card-shadow-hover: 0 2px 4px rgba(15, 26, 30, .04), 0 24px 48px -18px rgba(var(--brand-primary-rgb), .35);
  --lp-glass: color-mix(in srgb, var(--surface-1) 78%, transparent);
  background: var(--surface-1);
}
[data-bs-theme="dark"] .landing {
  --lp-aurora-1: .34;
  --lp-aurora-2: .20;
  --lp-grid: rgba(255, 255, 255, .045);
  --lp-card-bg: color-mix(in srgb, var(--surface-1) 88%, transparent);
  --lp-card-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px -20px rgba(0, 0, 0, .6);
  --lp-card-shadow-hover: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 28px 60px -22px rgba(var(--brand-primary-rgb), .45);
  --lp-glass: color-mix(in srgb, var(--surface-1) 70%, transparent);
}

.landing-container { max-width: 1240px; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 992px) { .landing-container { padding-left: 2rem; padding-right: 2rem; } }

/* ---------- Nav (sticky glass, scroll progress) ---------- */
.landing-nav { position: sticky; top: 0; z-index: 1030; height: 68px; display: flex; align-items: center; background: color-mix(in srgb, var(--surface-1) 72%, transparent); -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px); border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.landing-nav.is-scrolled { background: color-mix(in srgb, var(--surface-1) 88%, transparent); border-bottom-color: var(--border); box-shadow: 0 8px 30px -18px rgba(15, 26, 30, .35); }
.landing-nav .brand-logo { transition: transform .35s var(--lp-ease); transform-origin: left center; }
.landing-nav.is-scrolled .brand-logo { transform: scale(.94); }
.lp-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; overflow: hidden; }
.lp-progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--brand-primary); }
.landing-links { gap: .15rem; }
.landing-links a { position: relative; color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: .9rem; padding: .45rem .75rem; border-radius: var(--radius-sm); transition: color .2s ease; }
.landing-links a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--brand-primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--lp-ease); }
.landing-links a:hover, .landing-links a.is-active { color: var(--text-strong); }
.landing-links a:hover::after, .landing-links a.is-active::after { transform: scaleX(1); }

/* ---------- Sections ---------- */
.landing-section { position: relative; padding: 4.5rem 0; }
@media (min-width: 992px) { .landing-section { padding: 6.5rem 0; } }
.landing-section.alt { background: var(--surface-0); }
.section-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-primary-text); margin-bottom: .9rem; }
.lp-eyebrow-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); flex: 0 0 8px; }
.lp-eyebrow-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand-primary); animation: lp-ping 2.4s var(--lp-ease) infinite; }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 1rem; text-wrap: balance; }
.section-lead { color: var(--text-muted); font-size: 1.05rem; max-width: 40rem; text-wrap: pretty; }
.lp-head { max-width: 46rem; margin-bottom: 2.5rem; }
@media (min-width: 992px) { .lp-head { margin-bottom: 3.5rem; } }
.lp-grad-text { background: var(--lp-a1); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Scroll reveal ---------- */
.lp-js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s var(--lp-ease), transform .9s var(--lp-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.lp-js [data-reveal].is-in { opacity: 1; transform: none; }
.lp-js [data-reveal].is-done { transition: transform .5s var(--lp-ease), translate .4s var(--lp-ease), border-color .25s ease, box-shadow .35s ease, background-color .25s ease; transition-delay: 0s; }

/* ---------- Interactive cards: spotlight, lift, tilt ---------- */
.lp-spot { position: relative; isolation: isolate; --mx: 50%; --my: 0%; }
.lp-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: var(--mx); opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) {
  .lp-spot:hover::after { opacity: 1; }
}
[data-tilt] { transform-style: preserve-3d; will-change: auto; }
[data-tilt].is-tilting { transition: transform .12s linear, translate .4s var(--lp-ease), box-shadow .35s ease, border-color .25s ease !important; }

/* ---------- Buttons: sheen, arrow, ripple, magnetic ---------- */
.landing .btn { position: relative; overflow: hidden; isolation: isolate; }
.landing .btn[data-magnetic] { transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .3s ease, translate .35s var(--lp-ease); }
.lp-btn-main.btn-primary { box-shadow: 0 10px 28px -12px rgba(var(--brand-primary-rgb), .85); }
.lp-btn-main.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(var(--brand-primary-rgb), .95); }
.lp-btn-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transform: translateX(-120%); transition: transform .8s var(--lp-ease); pointer-events: none; }
.lp-btn-main:hover::before { transform: translateX(120%); }
.lp-btn-main .bi-arrow-right { transition: transform .35s var(--lp-ease); }
.lp-btn-main:hover .bi-arrow-right { transform: translateX(4px); }
.lp-ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .28; transform: scale(0); animation: lp-ripple .65s var(--lp-ease) forwards; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 2.75rem 0 0; }
@media (min-width: 992px) { .hero { padding: 4.5rem 0 0; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-aurora span { position: absolute; border-radius: 50%; will-change: transform; animation: lp-drift 24s ease-in-out infinite alternate; }
.hero-aurora .a1 { width: 70vmax; height: 70vmax; top: -38vmax; right: -24vmax; background: rgba(var(--brand-primary-rgb), var(--lp-aurora-1)); }
.hero-aurora .a2 { width: 60vmax; height: 60vmax; bottom: -34vmax; left: -26vmax; background: rgba(var(--brand-secondary-rgb), var(--lp-aurora-2)); animation-duration: 30s; animation-direction: alternate-reverse; }
.hero-aurora .a3 { width: 38vmax; height: 38vmax; top: 18%; left: 38%; background: var(--brand-primary-rgb); animation-duration: 19s; }
.hero-grid { position: absolute; inset: 0; background-image: var(--lp-grid); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 75%); }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero.is-paused *, .cta-band.is-paused * { animation-play-state: paused !important; }

.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem .35rem .4rem; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--lp-glass); font-size: .8125rem; font-weight: 500; color: var(--text-body); margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.hero-badge::after { content: ""; position: absolute; inset: 0; background: transparent; transform: translateX(-100%); animation: lp-sweep 4.5s ease-in-out 1.5s infinite; }
.hero-badge .dot-live { width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--brand-primary-rgb), .14); display: inline-flex; align-items: center; justify-content: center; color: var(--brand-primary-text); font-size: .75rem; }
.hero-title { font-size: clamp(2.3rem, 6.6vw, 4.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.03; margin-bottom: 1.25rem; text-wrap: balance; }
.hw { display: inline-block; animation: lp-word .95s var(--lp-ease) both; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
.hw-accent { background: var(--lp-a1); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; animation: lp-word .95s var(--lp-ease) both, lp-text-shine 7s linear 1.6s infinite; animation-delay: calc(120ms + var(--i, 0) * 70ms), 1.6s; }
.hero .hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-muted); max-width: 34rem; margin-bottom: 1.5rem; text-wrap: pretty; }
.lp-in { animation: lp-rise .9s var(--lp-ease) both; animation-delay: calc(180ms + var(--d, 0) * 90ms); }
.hero-chips { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-chips li { display: inline-flex; align-items: baseline; gap: .35rem; padding: .4rem .8rem; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--lp-glass); font-size: .8125rem; color: var(--text-muted); transition: translate .3s var(--lp-ease), border-color .2s ease; }
.hero-chips li b { font-family: var(--font-heading); font-weight: 800; font-size: .95rem; color: var(--brand-primary-text); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .hero-chips li:hover { translate: 0 -2px; border-color: rgba(var(--brand-primary-rgb), .45); } }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 1.75rem; color: var(--text-muted); font-size: .8125rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust i { color: var(--brand-primary-text); }

/* Hero visual: phone + orbit + floating income cards + coin (pointer parallax in landing.js) */
.hero-visual { position: relative; max-width: 440px; margin: 0 auto; padding: 1.5rem .5rem 2rem; perspective: 1200px; }
.hero-visual-inner { position: relative; z-index: 1; transform-style: preserve-3d; }
.hero-img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
.hero-orbit { position: absolute; left: 50%; top: 50%; width: 125%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; overflow: visible; }
.hero-orbit circle { fill: none; stroke: rgba(var(--brand-primary-rgb), .28); stroke-width: 1.2; stroke-dasharray: .6 1.8; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: lp-spin 60s linear infinite; }
.hero-orbit .o2 { stroke: rgba(var(--brand-secondary-rgb), .35); stroke-dasharray: 12 6; animation-duration: 40s; animation-direction: reverse; }
.hero-orbit .o3 { stroke-dasharray: .3 3; animation-duration: 90s; opacity: .7; }
.hero-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem; padding: .55rem .85rem .55rem .55rem; border-radius: 14px; background: var(--lp-glass); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); border: 1px solid var(--border); box-shadow: 0 14px 36px -16px rgba(15, 26, 30, .4); font-size: .75rem; line-height: 1.2; color: var(--text-muted); white-space: nowrap; animation: lp-bob 6s ease-in-out infinite; }
.hero-float small { display: block; font-size: .68rem; }
.hero-float strong { display: block; color: var(--text-strong); font-family: var(--font-heading); font-size: .9rem; font-variant-numeric: tabular-nums; }
.hf-icon { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-primary); color: var(--brand-primary-contrast); font-size: .95rem; }
.hf-icon.alt { background: var(--brand-secondary); color: var(--brand-secondary-contrast); }
.hero-float.f1 { top: 9%; left: 0; }
.hero-float.f2 { bottom: 14%; right: 0; animation-delay: -2s; animation-duration: 7s; }
.hero-float.f4 { top: 46%; left: -2%; animation-delay: -4s; animation-duration: 8s; display: none; }
@media (min-width: 576px) { .hero-float.f4 { display: flex; } }
@media (max-width: 575.98px) { .has-phones .hero-float.f1 { top: 0; } .has-phones .hero-float.f2 { bottom: 4%; } }
@media (min-width: 1200px) { .hero-float.f1 { left: -8%; } .hero-float.f2 { right: -10%; } .hero-float.f4 { left: -14%; } }
.hero-coin { position: absolute; top: 0; right: 6%; z-index: 3; width: 58px; height: 58px; perspective: 400px; }
.hero-coin svg { width: 100%; height: 100%; filter: drop-shadow(0 10px 16px rgba(var(--brand-secondary-rgb), .45)); animation: lp-coin 7s ease-in-out infinite; }
.hero-coin .c-a { stop-color: color-mix(in srgb, var(--brand-secondary) 70%, #ffffff); }
.hero-coin .c-b { stop-color: var(--brand-secondary); }
.hero-coin .c-t { fill: #ffffff; font-family: var(--font-heading); font-weight: 800; font-size: 26px; }
@media (min-width: 992px) { .hero-coin { width: 72px; height: 72px; right: 2%; } }

/* Hero phones: three real member screenshots in device frames; they take turns in front (landing.js). */
.hero-visual.has-phones { max-width: 560px; padding-top: .5rem; padding-bottom: .5rem; }
.hero-phones { position: relative; height: clamp(430px, 122vw, 500px); }
.hp { position: absolute; left: 50%; top: 50%; z-index: var(--z); width: clamp(196px, 54vw, 236px); margin: 0;
  transform: translate(-50%, -50%) translateX(var(--x)) rotate(var(--r)) scale(var(--s)); filter: brightness(var(--b)) saturate(var(--b));
  transition: transform 1.1s var(--lp-ease), filter 1.1s ease, z-index 0s linear .5s; cursor: pointer; }
.hp[data-pos="0"] { --x: 0%; --r: 0deg; --s: 1; --z: 3; --b: 1; cursor: default; }
.hp[data-pos="1"] { --x: 34%; --r: 6deg; --s: .8; --z: 2; --b: .8; }
.hp[data-pos="2"] { --x: -34%; --r: -6deg; --s: .8; --z: 1; --b: .8; }
@media (min-width: 576px) { .hp[data-pos="1"] { --x: 46%; } .hp[data-pos="2"] { --x: -46%; } }
@media (min-width: 992px) { .hero-phones { height: 590px; } .hp { width: 262px; } }
.hp-in { animation: hp-enter 1.1s var(--lp-ease) .45s both; }
.hp[data-pos="1"] .hp-in { --from: -40%; }
.hp[data-pos="2"] .hp-in { --from: 40%; animation-delay: .6s; }
.hp[data-pos="0"] .hp-in { --from: 0%; animation-delay: .2s; }
.hp-frame { position: relative; aspect-ratio: 390 / 880; padding: 7px; border-radius: 40px;
  background: #474c55;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), inset 0 0 0 4px #08090b, 0 44px 80px -36px rgba(var(--brand-primary-rgb), .6), 0 26px 50px -26px rgba(8, 12, 16, .6);
  animation: lp-float 8s ease-in-out infinite; }
.hp:nth-child(1) .hp-frame { animation-delay: -2.6s; animation-duration: 9s; }
.hp:nth-child(2) .hp-frame { animation-delay: -5.2s; animation-duration: 10s; }
.hp-frame::before, .hp-frame::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #2c3036; }
.hp-frame::before { left: -2px; top: 20%; height: 9%; box-shadow: 0 calc(100% + 34px) 0 #2c3036; }
.hp-frame::after { right: -2px; top: 27%; height: 13%; }
.hp-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 33px; background: #0b0f14; isolation: isolate; }
.hp-screen img { display: block; flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; }
/* Status bar: coloured from the screenshot's own top row, text inverts on light screens */
.hp-status { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 2px 20px 0 24px;
  background: var(--shot) center top / 100% 6000% no-repeat; font: 600 11px/1 var(--font-heading); letter-spacing: .01em; }
.hp-status > span:not(.hp-island) { color: #ffffff; mix-blend-mode: difference; display: inline-flex; gap: 4px; }
.hp-status i { font-size: 10px; }
.hp-island { position: absolute; top: 6px; left: 50%; width: 30%; height: 19px; border-radius: 19px; background: #000000; transform: translateX(-50%); }
.hp-screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: transparent; transform: translateX(-100%); animation: lp-sweep 6s ease-in-out 1.8s infinite; }
.hp[data-pos="0"] .hp-screen::after { opacity: 1; }
.hero.is-paused .hp-frame, .hero.is-paused .hp-screen::after { animation-play-state: paused; }
@keyframes hp-enter { from { opacity: 0; transform: translateX(var(--from)) scale(.92); } to { opacity: 1; transform: none; } }

/* Trust marquee */
.hero-marquee { position: relative; margin-top: 3rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--lp-glass); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
@media (min-width: 992px) { .hero-marquee { margin-top: 4rem; } }
.hm-track { display: flex; width: max-content; animation: lp-marquee 45s linear infinite; }
.hero-marquee:hover .hm-track { animation-play-state: paused; }
.hm-list { list-style: none; margin: 0; padding: .95rem 0; display: flex; flex-shrink: 0; }
.hm-list li { display: inline-flex; align-items: center; gap: .55rem; padding: 0 1.6rem; font-size: .85rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.hm-list li i { color: var(--brand-primary-text); font-size: 1rem; }
.hm-list li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--border-strong); margin-left: 3.2rem; }

/* ---------- Plan bento ---------- */
.income-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .income-grid { grid-template-columns: repeat(2, 1fr); } .income-hero { grid-column: 1 / -1; } }
@media (min-width: 992px) { .income-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .income-hero { grid-column: span 2; grid-row: span 2; } }
.income-card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
@media (hover: hover) { .income-card:hover, .feature-card:hover, .rank-card:hover, .sec-card:hover { translate: 0 -4px; box-shadow: var(--lp-card-shadow-hover); border-color: rgba(var(--brand-primary-rgb), .35); } }
.ic-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.ic-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-text); font-size: 1.2rem; transition: transform .45s var(--lp-ease-spring); }
.income-card:hover .ic-icon, .feature-card:hover .feature-icon, .sec-card:hover .sec-icon { transform: rotate(-8deg) scale(1.08); }
.ic-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .22rem .6rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text-muted); }
.ic-value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1; margin-bottom: .6rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.ic-value .lp-count { background: var(--lp-a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic-value small { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--text-muted); }
.income-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.income-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.income-hero { color: #ffffff; border-color: transparent; background: var(--brand-primary); }
[data-bs-theme="dark"] .income-hero { border-color: rgba(var(--brand-primary-rgb), .3); }
.income-hero .ic-icon { background: rgba(255, 255, 255, .12); color: #ffffff; }
.income-hero .ic-tag { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.income-hero h3 { color: #ffffff; font-size: 1.3rem; }
.income-hero p { color: rgba(255, 255, 255, .72); font-size: 1rem; max-width: 26rem; }
.income-hero p strong { color: #ffffff; }
.income-hero .ic-value { font-size: clamp(3.2rem, 8vw, 5.5rem); }
.income-hero .ic-value .lp-count { background: #ffffff; -webkit-background-clip: text; background-clip: text; }
.income-hero .lp-spot::after, .income-hero.lp-spot::after { background: var(--mx); }
.ic-body { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; }
@media (min-width: 576px) { .ic-body { flex-direction: row; align-items: flex-end; } }
.ic-ring { position: relative; flex: 0 0 auto; width: 150px; height: 150px; align-self: center; }
@media (min-width: 992px) { .ic-ring { width: 180px; height: 180px; } }
.ic-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ic-ring circle { fill: none; stroke-width: 9; }
.ic-ring .r-bg { stroke: rgba(255, 255, 255, .1); }
.ic-ring .r-fg { stroke: color-mix(in srgb, var(--brand-primary) 60%, #ffffff); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.lp-js .ic-ring .r-fg { stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--lp-ease) .4s; }
.lp-js .is-in .ic-ring .r-fg { stroke-dashoffset: 0; }
.ic-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ic-ring-text strong { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.ic-ring-text small { font-size: .72rem; color: rgba(255, 255, 255, .65); }
.plan-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; margin-top: 2rem; padding: 1rem 1.25rem; border-radius: var(--radius-lg); border: 1px dashed var(--border-strong); color: var(--text-muted); font-size: .875rem; text-align: center; }
.plan-strip span { display: inline-flex; align-items: center; gap: .45rem; }
.plan-strip i { color: var(--brand-primary-text); }
.plan-strip strong { color: var(--text-strong); }

/* ---------- Levels ---------- */
.lvl-summary { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.75rem 0; }
.lvl-summary > div { padding: 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--lp-card-bg); }
.lvl-summary strong { display: block; font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.lvl-summary strong .lp-count { background: var(--lp-a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lvl-summary span { font-size: .8rem; color: var(--text-muted); }
.lvl-tree { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; overflow: visible; }
.lvl-tree .t-line { fill: none; stroke: rgba(var(--brand-primary-rgb), .55); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lvl-tree .t-line-2 { stroke: rgba(var(--brand-secondary-rgb), .5); stroke-width: 1.5; }
.lvl-tree .t-node circle { fill: var(--surface-1); stroke: var(--brand-primary); stroke-width: 2; }
.lvl-tree .t-l2 circle { stroke: var(--brand-secondary); stroke-width: 1.5; }
.lvl-tree .t-root circle { fill: var(--brand-primary); }
.lvl-tree text { font-family: var(--font-heading); font-size: 9px; font-weight: 800; fill: var(--text-strong); }
.lvl-tree .t-root text { fill: var(--brand-primary-contrast); font-size: 10px; }
.lvl-tree .t-node { transform-box: fill-box; transform-origin: center; }
.lp-js .lvl-tree .t-line { stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--lp-ease); transition-delay: calc(.25s + var(--i) * 110ms); }
.lp-js .lvl-tree .t-node { opacity: 0; transform: scale(.3); transition: opacity .4s ease, transform .6s var(--lp-ease-spring); transition-delay: calc(var(--i) * 110ms); }
.lp-js .lvl-tree.is-in .t-line { stroke-dashoffset: 0; }
.lp-js .lvl-tree.is-in .t-node { opacity: 1; transform: none; }
.lvl-tree .t-root circle { animation: lp-node-pulse 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lvl-wrap { position: relative; }
.lvl-rail, .step-rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
.lvl-rail span, .step-rail span { display: block; height: 100%; transform-origin: top; transform: scaleY(var(--p, 1)); background: var(--brand-primary); }
.lp-js .lvl-rail span, .lp-js .step-rail span { transform: scaleY(var(--p, 0)); }
.lvl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; position: relative; }
.lvl { display: flex; gap: 1rem; align-items: flex-start; }
.lvl-node { position: relative; z-index: 1; flex: 0 0 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; color: var(--brand-primary-text); background: var(--surface-1); border: 2px solid rgba(var(--brand-primary-rgb), .45); box-shadow: 0 0 0 5px var(--surface-0); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.landing-section:not(.alt) .lvl-node { box-shadow: 0 0 0 5px var(--surface-1); }
.lvl:first-child .lvl-node, .lvl:hover .lvl-node { background: var(--brand-primary); border-color: var(--brand-primary); color: var(--brand-primary-contrast); }
.lvl-body { flex: 1; min-width: 0; padding: .9rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); transition: border-color .25s ease, translate .35s var(--lp-ease); }
@media (hover: hover) { .lvl:hover .lvl-body { border-color: rgba(var(--brand-primary-rgb), .4); translate: 4px 0; } }
.lvl-top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.lvl-top strong { font-family: var(--font-heading); color: var(--text-strong); }
.lvl-pct { font-family: var(--font-heading); font-weight: 800; color: var(--brand-primary-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lvl-pct small { font-family: var(--font-body); font-weight: 500; color: var(--text-muted); font-size: .72rem; }
.lvl-bar { height: 6px; border-radius: 6px; background: var(--surface-2); margin: .6rem 0 .55rem; overflow: hidden; }
[data-bs-theme="dark"] .lvl-bar { background: var(--surface-3); }
.lvl-bar span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--brand-primary); transform-origin: left; }
.lp-js .lvl-bar span { transform: scaleX(0); transition: transform 1.2s var(--lp-ease) .25s; }
.lp-js .lvl.is-in .lvl-bar span { transform: none; }
.lvl-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .78rem; color: var(--text-muted); }
.lvl-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.lvl-team { color: var(--brand-secondary-text); font-weight: 600; }

/* ---------- Ranks ---------- */
.cap-chart { padding: 1.25rem 1.25rem 1rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.cap-chart figcaption { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-bottom: .75rem; }
.cap-chart figcaption i { color: var(--brand-primary-text); }
.cap-bars { display: flex; align-items: stretch; gap: 6px; height: 190px; }
.cap-bar { position: relative; flex: 1; min-width: 0; }
.cap-fill { position: absolute; left: 0; right: 0; bottom: 22px; height: calc((100% - 46px) * var(--h) / 100); border-radius: 6px 6px 3px 3px; background: var(--brand-primary); transform-origin: bottom; transition: filter .2s ease; }
.cap-bar:last-child .cap-fill { background: var(--brand-secondary); }
.cap-bar:hover .cap-fill { filter: brightness(1.12); }
.lp-js .cap-fill { transform: scaleY(0); transition: transform 1s var(--lp-ease), filter .2s ease; transition-delay: calc(.2s + var(--i) * 70ms), 0s; }
.lp-js .is-in .cap-fill { transform: none; }
.cap-val { position: absolute; left: 50%; bottom: calc(26px + (100% - 46px) * var(--h) / 100); transform: translateX(-50%); font-size: .6rem; font-weight: 700; color: var(--text-strong); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-js .cap-val { opacity: 0; transition: opacity .4s ease; transition-delay: calc(.8s + var(--i) * 70ms); }
.lp-js .is-in .cap-val { opacity: 1; }
.cap-x { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .7rem; font-weight: 700; color: var(--text-faint); }
@media (max-width: 479.98px) { .cap-val { display: none; } .cap-bar:first-child .cap-val, .cap-bar:last-child .cap-val { display: block; } }
.rank-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .rank-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .rank-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.rank-card { --tc: color-mix(in srgb, var(--brand-secondary) calc(var(--t, 0) * 100%), var(--brand-primary)); position: relative; overflow: hidden; padding: 1.35rem 1.35rem 1.2rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.rank-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tc); }
.rank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.rank-medal { position: relative; overflow: hidden; width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #ffffff; font-size: 1.25rem; background: color-mix(in srgb, var(--tc) 70%, #ffffff); box-shadow: 0 10px 22px -10px var(--tc); }
.rank-medal::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .55); transform: translateX(-120%); transition: transform .9s var(--lp-ease); }
.rank-card:hover .rank-medal::after { transform: translateX(120%); }
.rank-step { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); }
.rank-card h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.rank-target { color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }
.rank-target strong { color: var(--text-strong); }
.rank-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; }
.rank-stats > div { padding: .6rem .75rem; border-radius: var(--radius-sm); background: var(--surface-2); }
[data-bs-theme="dark"] .rank-stats > div { background: var(--surface-2); }
.rank-stats dt { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.rank-stats dd { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.rank-stats dd small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--text-muted); }

/* ---------- Security ---------- */
.sec-shield { position: relative; width: 84px; height: 84px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; }
.sec-shield i { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--brand-primary-contrast); background: var(--brand-primary); box-shadow: 0 14px 30px -12px rgba(var(--brand-primary-rgb), .8); }
.sec-shield .ring { position: absolute; inset: 0; border-radius: 26px; border: 1.5px solid rgba(var(--brand-primary-rgb), .45); animation: lp-ring 3.6s var(--lp-ease) infinite; }
.sec-shield .r2 { animation-delay: 1.2s; } .sec-shield .r3 { animation-delay: 2.4s; }
.sec-card { height: 100%; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.sec-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.25rem; color: var(--brand-primary-text); background: rgba(var(--brand-primary-rgb), .1); border: 1px solid rgba(var(--brand-primary-rgb), .18); transition: transform .45s var(--lp-ease-spring); }
.sec-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.sec-card p { color: var(--text-muted); margin: 0; font-size: .9rem; }

/* ---------- Feature / step cards ---------- */
.feature-card { height: 100%; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.feature-card .feature-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-text); font-size: 1.25rem; margin-bottom: 1rem; transition: transform .45s var(--lp-ease-spring); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: .9375rem; }
.step-num { font-family: var(--font-heading); font-weight: 800; font-size: .8125rem; color: var(--brand-primary-text); letter-spacing: .08em; }

/* Stats */
.stat-big { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--text-strong); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius-lg) + 6px); padding: clamp(2rem, 5vw, 3.75rem); color: #ffffff; background: var(--hero-from); }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, .75); }
.cta-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-glow { position: absolute; border-radius: 50%; will-change: transform; animation: lp-drift 16s ease-in-out infinite alternate; }
.cta-glow.g1 { width: 520px; height: 520px; top: -260px; right: -120px; background: var(--brand-primary); }
.cta-glow.g2 { width: 420px; height: 420px; bottom: -240px; left: -80px; background: transparent; animation-duration: 20s; animation-direction: alternate-reverse; }
.cta-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); animation: lp-rise-dot 9s linear infinite; }
.cta-dot.d1 { left: 12%; bottom: -10px; } .cta-dot.d2 { left: 38%; bottom: -10px; animation-delay: -3s; width: 5px; height: 5px; } .cta-dot.d3 { left: 64%; bottom: -10px; animation-delay: -6s; } .cta-dot.d4 { left: 86%; bottom: -10px; animation-delay: -1.5s; width: 6px; height: 6px; }
.cta-band .btn-outline-light { --bs-btn-color: #ffffff; --bs-btn-border-color: rgba(255, 255, 255, .45); }

/* ---------- FAQ ---------- */
.faq .accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--border); --bs-accordion-btn-focus-box-shadow: var(--ring); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--text-strong); --bs-accordion-btn-color: var(--text-strong); --bs-accordion-color: var(--text-body); }
.faq .accordion-button { font-weight: 600; padding: 1.15rem 0; transition: color .2s ease; }
.faq .accordion-button:hover { color: var(--brand-primary-text); }
.faq .accordion-button::after { transition: transform .35s var(--lp-ease); }
.faq .accordion-body { padding: 0 0 1.25rem; color: var(--text-muted); }
.faq .accordion-item { border-left: 0; border-right: 0; border-radius: 0 !important; }

/* CMS pages */
.page-content { max-width: 760px; margin: 0 auto; padding: 3rem 0 5rem; }
.page-content h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.page-content .prose { color: var(--text-body); line-height: 1.75; }
.page-content .prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.page-content .prose h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.page-content .prose img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* Footer */
.landing-footer { position: relative; border-top: 1px solid var(--border); background: var(--surface-0); padding: 3.5rem 0 1.5rem; }
.landing-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--brand-primary); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .9rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--text-strong); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.25rem; color: var(--text-faint); font-size: .8125rem; }

/* Section building blocks (x-landing.*) */
@media (min-width: 992px) { .section-aside { position: sticky; top: calc(68px + 2rem); } }
.about-card { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-0); box-shadow: var(--shadow-card); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-body); font-weight: 500; }
.check-list i { color: var(--brand-primary-text); font-size: 1.15rem; line-height: 1.4; }
.step-wrap { position: relative; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; position: relative; }
.step-item { display: flex; gap: 1rem; align-items: flex-start; }
.step-item > .min-w-0 { flex: 1; padding: 1.1rem 1.25rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); transition: border-color .25s ease, translate .35s var(--lp-ease); }
@media (hover: hover) { .step-item:hover > .min-w-0 { border-color: rgba(var(--brand-primary-rgb), .4); translate: 4px 0; } }
.step-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step-item p { color: var(--text-muted); margin: 0; font-size: .9375rem; }
.step-badge { position: relative; z-index: 1; flex: 0 0 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-primary); color: var(--brand-primary-contrast); font-family: var(--font-heading); font-weight: 800; font-size: .875rem; box-shadow: 0 0 0 5px var(--surface-1), 0 10px 22px -10px rgba(var(--brand-primary-rgb), .8); }
.alt .step-badge { box-shadow: 0 0 0 5px var(--surface-0), 0 10px 22px -10px rgba(var(--brand-primary-rgb), .8); }
.lp-js .step-item .step-badge { transform: scale(.6); transition: transform .6s var(--lp-ease-spring) .15s; }
.lp-js .step-item.is-in .step-badge { transform: none; }
.contact-card { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-1); text-decoration: none; color: inherit; transition: border-color .15s ease, translate .3s var(--lp-ease); }
.contact-card:hover { border-color: var(--brand-primary); color: inherit; translate: 0 -2px; }
.contact-card .feature-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-text); font-size: 1.25rem; margin-bottom: 0; flex: 0 0 44px; }
.stats-section { padding: 3.5rem 0; }
html { scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Maintenance page */
.maintenance-page { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; }
.maintenance-card { width: 100%; max-width: 460px; text-align: center; padding: clamp(1.75rem, 5vw, 2.75rem); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-0); box-shadow: var(--shadow-card); }
.maintenance-card .brand-logo { justify-content: center; }
.maintenance-card .feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-text); font-size: 1.4rem; }

/* Small phones: logo, CTA and menu button on one line */
.landing-nav .brand-logo { min-width: 0; flex-shrink: 1; }
.landing-nav .brand-logo .sidebar-brand-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-nav .brand-logo img, .landing-menu .brand-logo img { max-height: 36px; max-width: 160px; object-fit: contain; }
@media (max-width: 575.98px) {
  .landing-nav .landing-container { gap: .5rem !important; }
  .landing-nav .btn:not(.btn-icon) { padding: .45rem .8rem; font-size: .875rem; }
  .landing-nav .btn-icon { width: 38px; height: 38px; }
  .landing-nav .brand-logo { font-size: 1rem; gap: .45rem; }
  .landing-nav .brand-mark { width: 32px; height: 32px; }
  .landing-nav .brand-logo img { max-width: 120px; }
  .lp-actions .btn-lg { flex: 1 1 auto; }
}
.landing-menu-btn { font-size: 1.35rem; }

/* Mobile menu panel (offcanvas-top, full width) */
.landing-menu.offcanvas-top { height: auto; max-height: 100dvh; border-bottom: 1px solid var(--border); background: var(--surface-1); box-shadow: var(--shadow-pop); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.landing-menu-head { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.25rem; border-bottom: 1px solid var(--border); }
.landing-menu-links { display: flex; flex-direction: column; padding: .5rem 1.25rem; overflow-y: auto; }
.landing-menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: .25rem 0; border-bottom: 1px solid var(--border); color: var(--text-strong); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.landing-menu-links a::after { content: "\F285"; font-family: "bootstrap-icons"; font-weight: 400; font-size: .85rem; color: var(--text-faint); transition: transform .3s var(--lp-ease); }
.landing-menu-links a:last-child { border-bottom: 0; }
.landing-menu-links a:active { color: var(--brand-primary-text); }
.landing-menu-links a:active::after { transform: translateX(4px); }
.landing-menu.showing .landing-menu-links a, .landing-menu.show .landing-menu-links a { animation: lp-rise .5s var(--lp-ease) both; }
.landing-menu-links a:nth-child(2) { animation-delay: 40ms !important; } .landing-menu-links a:nth-child(3) { animation-delay: 80ms !important; } .landing-menu-links a:nth-child(4) { animation-delay: 120ms !important; } .landing-menu-links a:nth-child(5) { animation-delay: 160ms !important; } .landing-menu-links a:nth-child(n+6) { animation-delay: 200ms !important; }
.landing-menu-foot { padding: .5rem 1.25rem 1.25rem; display: grid; gap: 1rem; }
.landing-menu-theme { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); color: var(--text-body); font-weight: 500; }
.landing-menu-theme span { display: inline-flex; align-items: center; gap: .6rem; }
@media (min-width: 576px) { .landing-menu-head, .landing-menu-links, .landing-menu-foot { padding-left: 2rem; padding-right: 2rem; } }

/* =========================================================================
 * Pratham Value sections (packages, coupons, earn, example, pool, salary,
 * about, terms) + the coded hero recharge card. Theme tokens / brand vars only.
 * ========================================================================= */

/* ---------- Hero recharge card + coupon tickets ---------- */
.hero-visual.has-ticket { max-width: 470px; padding: 2.5rem .5rem 2.5rem; }
.hero-ticket { position: relative; display: grid; gap: .9rem; }
.ht-card { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.62; padding: 1.35rem 1.4rem; border-radius: 22px; color: #ffffff; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--brand-secondary);
  box-shadow: 0 30px 60px -28px rgba(var(--brand-primary-rgb), .75), 0 1px 0 rgba(255, 255, 255, .15) inset; animation: lp-float 7s ease-in-out infinite; }
.ht-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; mask-image: linear-gradient(120deg, transparent 20%, #000000 60%, transparent 95%); }
.ht-card::after { content: ""; position: absolute; inset: -40% -60%; background: transparent; animation: lp-sweep 5.5s ease-in-out infinite; pointer-events: none; }
.ht-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ht-brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.ht-brand i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .16); font-size: 1rem; }
.ht-off { font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: .3rem .6rem; border-radius: var(--radius-pill); background: var(--brand-secondary); color: var(--brand-secondary-contrast, #111111); box-shadow: 0 8px 18px -8px rgba(var(--brand-secondary-rgb), .9); }
.ht-price { display: flex; flex-direction: column; line-height: 1.05; }
.ht-price s { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.ht-price strong { font-family: var(--font-heading); font-size: clamp(2.4rem, 9vw, 3.1rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ht-price small { font-size: .78rem; color: rgba(255, 255, 255, .72); margin-top: .25rem; }
.ht-chip { position: absolute; right: 1.4rem; top: 50%; translate: 0 -50%; width: 46px; height: 36px; border-radius: 8px; display: grid; grid-template-rows: repeat(3, 1fr); gap: 3px; padding: 6px; background: color-mix(in srgb, var(--brand-secondary) 80%, #ffffff); opacity: .9; }
.ht-chip span { border-radius: 2px; background: rgba(0, 0, 0, .14); }
.ht-foot { display: flex; gap: 1rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.ht-coupons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.ht-coupon { position: relative; display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 14px; background: var(--lp-glass); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); border: 1px dashed var(--border-strong); color: var(--text-muted); font-size: .72rem; line-height: 1.2; }
.ht-coupon b { display: block; font-family: var(--font-heading); font-size: .9rem; color: var(--text-strong); }
.ht-coupon > i { margin-left: auto; color: var(--text-faint); }
.ht-coupon.is-open { border-style: solid; border-color: rgba(var(--brand-primary-rgb), .55); box-shadow: 0 12px 26px -16px rgba(var(--brand-primary-rgb), .8); }
.ht-coupon.is-open > i { color: var(--success); }
.htc-no { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: .78rem; background: var(--surface-2); color: var(--text-muted); }
.is-open .htc-no { background: var(--brand-primary); color: var(--brand-primary-contrast); }
.lp-js .ht-coupon { animation: lp-rise .7s var(--lp-ease) both; animation-delay: calc(.6s + var(--i) * 120ms); }
.has-ticket .hero-float.f1 { top: -1%; left: -5%; }
.has-ticket .hero-float.f2 { top: auto; bottom: -4%; right: -4%; }
.has-ticket .hero-float.f4 { top: auto; bottom: -4%; left: -5%; }
.has-ticket .hero-coin { top: -6%; right: 34%; }
@media (max-width: 575.98px) { .has-ticket .hero-float.f1 { top: -3%; left: 0; } .has-ticket .hero-float.f2 { right: 0; bottom: -5%; } .has-ticket .hero-float.f4 { display: none; } .has-ticket .hero-coin { top: -4%; right: 2%; } }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.pkg-card { --op: var(--brand-primary); position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.pkg-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--op); }
.pkg-card.op-jio { --op: color-mix(in srgb, var(--brand-primary) 70%, var(--info)); }
.pkg-card.op-vi { --op: color-mix(in srgb, var(--brand-primary) 55%, var(--danger)); }
.pkg-card.op-airtel { --op: color-mix(in srgb, var(--danger) 80%, var(--brand-primary)); }
.pkg-card.is-best { border-color: rgba(var(--brand-primary-rgb), .45); box-shadow: var(--lp-card-shadow-hover); }
@media (hover: hover) { .pkg-card:hover { translate: 0 -4px; box-shadow: var(--lp-card-shadow-hover); border-color: rgba(var(--brand-primary-rgb), .4); } }
.pkg-ribbon { position: absolute; top: 14px; right: -34px; rotate: 45deg; padding: .25rem 2.6rem; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: var(--brand-secondary); color: var(--brand-secondary-contrast, #111111); }
.pkg-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.25rem; padding-right: 2.5rem; }
.pkg-head h3 { font-size: 1.25rem; margin: 0; }
.pkg-sub { font-size: .78rem; color: var(--text-muted); }
.pkg-logo { flex: 0 0 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: #ffffff; background: color-mix(in srgb, var(--op) 70%, #ffffff); box-shadow: 0 10px 22px -12px var(--op); }
.pkg-off { margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: .25rem .55rem; border-radius: var(--radius-pill); background: rgba(var(--brand-secondary-rgb), .16); color: var(--brand-secondary-text); white-space: nowrap; }
.pkg-card.is-best .pkg-head { padding-right: 3.5rem; }
.pkg-card.is-best .pkg-off { display: none; }
.pkg-price { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.pkg-price s { font-size: .85rem; color: var(--text-faint); }
.pkg-price strong { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.3rem, 5vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.pkg-save { align-self: flex-start; margin-top: .4rem; font-size: .75rem; font-weight: 700; color: var(--success); padding: .15rem .55rem; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--success) 12%, transparent); }
.pkg-list { list-style: none; margin: 0 0 1.5rem; padding: 1rem 0 0; border-top: 1px dashed var(--border); display: grid; gap: .55rem; font-size: .875rem; color: var(--text-muted); }
.pkg-list li { display: flex; gap: .55rem; align-items: flex-start; }
.pkg-list i { color: var(--brand-primary-text); margin-top: .1rem; }
.pkg-btn { margin-top: auto; width: 100%; font-size: .95rem; }

/* ---------- Coupons (ticket cards) ---------- */
.cpn-steps { margin-top: 1.5rem; }
.cpn-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .cpn-grid { grid-template-columns: repeat(2, 1fr); } }
.cpn { --cut: 14px; position: relative; display: flex; min-height: 132px; border-radius: 18px; background: var(--lp-card-bg); border: 1px solid var(--lp-card-border); box-shadow: var(--lp-card-shadow);
  -webkit-mask: radial-gradient(circle var(--cut) at calc(100% - 92px) 0, transparent 98%, #000000) top / 100% 51% no-repeat, radial-gradient(circle var(--cut) at calc(100% - 92px) 100%, transparent 98%, #000000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--cut) at calc(100% - 92px) 0, transparent 98%, #000000) top / 100% 51% no-repeat, radial-gradient(circle var(--cut) at calc(100% - 92px) 100%, transparent 98%, #000000) bottom / 100% 51% no-repeat; }
.cpn-main { flex: 1; min-width: 0; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.cpn-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.cpn-days { font-family: var(--font-heading); font-weight: 800; font-size: 2.1rem; letter-spacing: -.04em; line-height: 1.1; color: var(--text-strong); }
.cpn-days small { font-size: .95rem; letter-spacing: 0; color: var(--text-muted); }
.cpn-range { font-size: .8rem; color: var(--text-muted); }
.cpn-stub { flex: 0 0 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: .75rem .5rem; text-align: center; font-size: .7rem; font-weight: 600; color: var(--text-muted); border-left: 2px dashed var(--border-strong); }
.cpn-stub i { font-size: 1.35rem; color: var(--text-faint); }
.cpn.is-open { color: #ffffff; border-color: transparent; background: var(--brand-primary); box-shadow: 0 24px 44px -24px rgba(var(--brand-primary-rgb), .9); }
.cpn.is-open .cpn-label, .cpn.is-open .cpn-range, .cpn.is-open .cpn-days small, .cpn.is-open .cpn-stub { color: rgba(255, 255, 255, .78); }
.cpn.is-open .cpn-days { color: #ffffff; }
.cpn.is-open .cpn-stub { border-left-color: rgba(255, 255, 255, .35); }
.cpn.is-open .cpn-stub i { color: var(--brand-secondary); }
@media (hover: hover) { .cpn { transition: translate .35s var(--lp-ease); } .cpn:hover { translate: 0 -4px; } }
.cpn-note { display: flex; gap: .5rem; align-items: flex-start; margin: 1.1rem 0 0; font-size: .85rem; color: var(--text-muted); }
.cpn-note i { color: var(--brand-primary-text); margin-top: .1rem; }

/* ---------- 4 ways to earn ---------- */
@media (min-width: 992px) { .income-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.ic-step { position: absolute; right: 1.25rem; bottom: .9rem; font-family: var(--font-heading); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -.05em; color: rgba(var(--brand-primary-rgb), .07); pointer-events: none; }
.income-grid-4 .income-card { position: relative; overflow: hidden; }
.income-grid-4 .ic-value { font-size: clamp(2rem, 3.4vw, 2.5rem); }
.income-grid-4 .ic-value small { display: block; font-size: .78rem; margin-bottom: .1rem; }
.income-accent { color: #ffffff; border-color: transparent; background: var(--hero-from); }
.income-accent h3 { color: #ffffff; }
.income-accent p, .income-accent .ic-value small { color: rgba(255, 255, 255, .72); }
.income-accent .ic-icon, .income-accent .ic-tag { background: rgba(255, 255, 255, .12); color: #ffffff; }
.income-accent .ic-value .lp-count { background: #ffffff; -webkit-background-clip: text; background-clip: text; }
.income-accent .ic-step { color: rgba(255, 255, 255, .08); }

/* ---------- Level income example ---------- */
.ex-total { display: grid; gap: .6rem; margin-top: 1.5rem; }
.ex-total > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--lp-card-bg); }
.ex-total span { font-size: .85rem; color: var(--text-muted); }
.ex-total strong { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.ex-total .is-sum { border-color: transparent; background: var(--brand-primary); }
.ex-total .is-sum span { color: rgba(255, 255, 255, .78); }
.ex-total .is-sum strong { color: #ffffff; font-size: 1.6rem; }
.ex-card { padding: .5rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); overflow-x: auto; }
.ex-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; font-size: .92rem; }
.ex-table th, .ex-table td { padding: .85rem .9rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ex-table thead th { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.ex-table tbody th { font-weight: 600; color: var(--text-strong); }
.ex-table tfoot th, .ex-table tfoot td { border-bottom: 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--brand-primary-text); }
.ex-lvl { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: .6rem; border-radius: 8px; font-size: .75rem; font-weight: 800; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-text); }
.ex-note { display: flex; gap: .45rem; align-items: flex-start; margin: .6rem .9rem .5rem; font-size: .78rem; color: var(--text-muted); }

/* ---------- Global pool ---------- */
.pool-matrix { padding: 1.5rem 1rem 1.1rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); display: grid; gap: 1rem; justify-items: center; }
.pm-row { display: flex; justify-content: center; }
.pm-cols { display: flex; justify-content: center; gap: clamp(.4rem, 2vw, .9rem); }
.pm-col { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.pm-cluster { display: grid; grid-template-columns: repeat(3, 11px); gap: 4px; justify-content: center; }
.pm-dot { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pm-you { width: 58px; height: 58px; font-family: var(--font-heading); font-weight: 800; font-size: .85rem; color: var(--brand-primary-contrast); background: var(--brand-primary); box-shadow: 0 0 0 6px rgba(var(--brand-primary-rgb), .15), 0 12px 26px -12px rgba(var(--brand-primary-rgb), .9); animation: lp-node-pulse 2.8s ease-in-out infinite; }
.pm-r1 { width: 36px; height: 36px; background: color-mix(in srgb, var(--brand-primary) 55%, #ffffff); }
.pm-r2 { width: 11px; height: 11px; background: var(--brand-secondary); }
.lp-js .pool-matrix .pm-dot.pm-r1, .lp-js .pool-matrix .pm-dot.pm-r2 { opacity: 0; transform: scale(.3); transition: opacity .35s ease, transform .5s var(--lp-ease-spring); transition-delay: calc(.2s + var(--i) * 70ms); }
.lp-js .pool-matrix .pm-dot.pm-r2 { transition-delay: calc(.7s + var(--i) * 22ms); }
.lp-js .pool-matrix.is-in .pm-dot { opacity: 1; transform: none; }
.pm-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; font-size: .75rem; color: var(--text-muted); }
.pm-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.pm-key { display: inline-block; width: 10px !important; height: 10px !important; border-radius: 50%; }
.pool-rounds { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.pool-round { --tc: color-mix(in srgb, var(--brand-secondary) calc(var(--t, 0) * 100%), var(--brand-primary)); display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.pr-no { flex: 0 0 auto; padding: .4rem .7rem; border-radius: 10px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #ffffff; background: var(--tc); }
.pr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pr-body strong { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-strong); }
.pr-body small { font-size: .78rem; color: var(--text-muted); }
.pr-amount { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: -.03em; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.pool-total { border-style: dashed; background: transparent; box-shadow: none; }
.pool-total .pr-no { background: var(--surface-2); color: var(--text-strong); }
.pool-total .pr-amount { background: var(--lp-a1); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (hover: hover) { .pool-round:not(.pool-total):hover { translate: 4px 0; border-color: rgba(var(--brand-primary-rgb), .4); } .pool-round { transition: translate .35s var(--lp-ease), border-color .25s ease; } }

/* ---------- Salary ---------- */
@media (min-width: 992px) { .sal-grid { grid-template-columns: repeat(4, 1fr); } }
.sal-special { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius); background: rgba(var(--brand-secondary-rgb), .12); border: 1px solid rgba(var(--brand-secondary-rgb), .35); font-size: .9rem; color: var(--text-strong); }
.sal-special i { color: var(--brand-secondary-text); font-size: 1.15rem; }
.legs-card { padding: 1.25rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.legs-card figcaption { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-bottom: .9rem; }
.legs-card figcaption i { color: var(--brand-primary-text); }
.legs-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.leg { display: flex; flex-direction: column; padding: 1rem; border-radius: var(--radius); background: var(--surface-2); }
.leg span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.leg strong { font-family: var(--font-heading); font-weight: 800; font-size: 1.8rem; letter-spacing: -.03em; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.leg small { font-size: .75rem; color: var(--text-muted); }
.leg-strong strong { color: var(--text-faint); text-decoration: line-through; text-decoration-thickness: 2px; }
.leg-weak { background: rgba(var(--brand-primary-rgb), .1); }
.leg-weak strong { color: var(--brand-primary-text); }
.legs-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding: .9rem 1.1rem; border-radius: var(--radius); color: #ffffff; background: var(--brand-primary); }
.legs-result span { font-size: .8rem; color: rgba(255, 255, 255, .78); }
.legs-result strong { font-family: var(--font-heading); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.legs-result small { font-size: .78rem; font-weight: 500; color: rgba(255, 255, 255, .72); }

/* ---------- About: mission, vision, values ---------- */
.mv-card { height: 100%; padding: 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.mv-card h3 { font-size: 1.2rem; margin: 1rem 0 .5rem; }
.mv-card p { color: var(--text-muted); margin: 0; font-size: 1rem; }
.mv-alt .sec-icon { background: rgba(var(--brand-secondary-rgb), .14); color: var(--brand-secondary-text); }
.values-row { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.values-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.values-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.values-list li { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--lp-card-bg); font-weight: 600; color: var(--text-strong); transition: translate .3s var(--lp-ease), border-color .2s ease; }
.values-list li i { color: var(--brand-primary-text); }
@media (hover: hover) { .values-list li:hover { translate: 0 -3px; border-color: rgba(var(--brand-primary-rgb), .45); } }

/* ---------- Terms ---------- */
.terms-card { padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: var(--radius-lg); border: 1px solid var(--lp-card-border); background: var(--lp-card-bg); box-shadow: var(--lp-card-shadow); }
.terms-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.terms-list { margin: 0; padding: 0; list-style: none; counter-reset: term; display: grid; gap: .55rem 2rem; }
@media (min-width: 992px) { .terms-list { grid-template-columns: 1fr 1fr; } }
.terms-list li { counter-increment: term; position: relative; padding-left: 2.2rem; font-size: .92rem; color: var(--text-muted); }
.terms-list li::before { content: counter(term); position: absolute; left: 0; top: -.05rem; width: 1.6rem; height: 1.6rem; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; background: rgba(var(--brand-primary-rgb), .1); color: var(--brand-primary-text); }

/* ---------- Keyframes ---------- */
@keyframes lp-word { from { opacity: 0; transform: translate3d(0, .55em, 0) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes lp-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6%, 5%, 0) scale(1.08); } 100% { transform: translate3d(5%, -4%, 0) scale(.95); } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes lp-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(0, -8px, 0) rotate(-.6deg); } }
@keyframes lp-coin { 0% { transform: translateY(0) rotateY(0deg); } 25% { transform: translateY(-8px) rotateY(90deg); } 50% { transform: translateY(0) rotateY(180deg); } 75% { transform: translateY(-8px) rotateY(270deg); } 100% { transform: translateY(0) rotateY(360deg); } }
@keyframes lp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lp-marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes lp-sweep { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
@keyframes lp-text-shine { to { background-position: 200% center; } }
@keyframes lp-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes lp-ring { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes lp-ripple { to { transform: scale(1); opacity: 0; } }
@keyframes lp-twinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.85) rotate(12deg); opacity: .7; } }
@keyframes lp-node-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes lp-rise-dot { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate3d(0, -420px, 0); opacity: 0; } }

/* Reduced motion: animations stay on (owner decision 2026-10-13); landing.js only skips pointer effects. */
}

/* ---------- Hero: person + orbiting operator logos (default visual) ---------- */
.hero-visual.has-person { max-width: 540px; margin-inline: auto; padding: 1rem .5rem 0; }
.hero-person-stage { position: relative; aspect-ratio: 1 / 1.08; isolation: isolate; }
.hps-halo { position: absolute; left: 50%; top: 52%; width: 78%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: -2;
  background: var(--brand-secondary);
  box-shadow: 0 0 120px 10px rgba(var(--brand-primary-rgb), .35); animation: hps-breathe 6s ease-in-out infinite; }
.hps-ring { position: absolute; left: 50%; top: 52%; width: 96%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: -1;
  border: 2px dashed rgba(var(--brand-secondary-rgb), .45); animation: hps-spin 60s linear infinite; }
.hps-person { position: absolute; left: 50%; bottom: 0; height: 96%; width: auto; max-width: 92%; translate: -50% 0; object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.hps-mark { position: absolute; left: 4%; top: 6%; width: 74px; height: 74px; border-radius: 50%; z-index: 3; box-shadow: 0 12px 30px -8px rgba(var(--brand-primary-rgb), .6); animation: hps-float 5s ease-in-out infinite; }
.hps-orbit { position: absolute; left: 50%; top: 52%; width: 96%; aspect-ratio: 1; translate: -50% -50%; z-index: 2; animation: hps-spin 26s linear infinite; pointer-events: none; }
.hps-op { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.hps-orbit .hps-op { transform: rotate(calc(360deg / var(--n) * var(--i) - 30deg)) translateX(min(46vw, 248px)); }
.hps-op-in { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #ffffff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .35);
  transform: rotate(calc(30deg - 360deg / var(--n) * var(--i))); animation: hps-counter 26s linear infinite; }
.hps-op-in img { width: 84%; height: 84%; object-fit: contain; border-radius: 50%; }
.hps-deal { position: absolute; left: -2%; bottom: 20%; z-index: 4; display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 16px;
  background: var(--lp-glass, rgba(255, 255, 255, .8)); border: 1px solid var(--border); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); animation: hps-float 6s ease-in-out infinite .8s; }
.hps-deal img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #ffffff; }
.hps-deal small { display: block; font-size: .7rem; color: var(--text-muted); }
.hps-deal strong { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.hps-deal s { margin-left: .35rem; font-size: .75rem; color: var(--text-faint); }
.hps-deal em { font-style: normal; font-size: .7rem; font-weight: 800; padding: .2rem .45rem; border-radius: 999px; color: #ffffff; background: var(--brand-secondary); }
.hps-coupons { position: absolute; right: -2%; bottom: 3%; z-index: 4; list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.hps-coupons li { display: flex; align-items: center; gap: .5rem; min-width: 150px; padding: .4rem .65rem; border-radius: 12px; font-size: .75rem; color: var(--text-body);
  background: var(--lp-glass, rgba(255, 255, 255, .85)); border: 1px dashed var(--border-strong); backdrop-filter: blur(10px);
  animation: hps-slide .6s var(--lp-ease, ease) both; animation-delay: calc(.8s + var(--i) * .15s); }
.hps-coupons li b { font-family: var(--font-heading); color: var(--text-strong); }
.hps-coupons li span { flex: 1; }
.hps-coupons li i { color: var(--text-faint); }
.hps-coupons li.is-open { color: #ffffff; border: 0; background: var(--brand-primary); box-shadow: 0 12px 26px -12px rgba(var(--brand-primary-rgb), .7); }
.hps-coupons li.is-open b, .hps-coupons li.is-open i { color: #ffffff; }
.hero-chip-ops { align-items: center !important; }
.hco-logos { display: inline-flex; margin-right: .2rem; }
.hco-logos img { width: 24px; height: 24px; border-radius: 50%; object-fit: contain; background: #ffffff; box-shadow: 0 0 0 2px var(--surface-1); }
.hco-logos img + img { margin-left: -6px; }
.pkg-logo.has-img { background: #ffffff; padding: 4px; }
.pkg-logo.has-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
@keyframes hps-spin { to { rotate: 360deg; } }
@keyframes hps-counter { to { rotate: -360deg; } }
@keyframes hps-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
@keyframes hps-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes hps-slide { from { opacity: 0; translate: 16px 0; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 575.98px) {
  .hps-orbit .hps-op { transform: rotate(calc(360deg / var(--n) * var(--i) - 30deg)) translateX(43vw); }
  .hps-op-in { width: 54px; height: 54px; left: -27px; top: -27px; }
  .hps-mark { width: 56px; height: 56px; }
  .hps-deal { bottom: 16%; padding: .45rem .6rem; }
  .hps-deal strong { font-size: 1rem; }
  .hps-coupons li { min-width: 120px; font-size: .7rem; }
}

/* Wide client logo (with operator badges) needs more room in the bar. */
.landing-nav .brand-logo img, .landing-menu .brand-logo img { max-height: 54px; max-width: 240px; }
@media (max-width: 575.98px) { .landing-nav .brand-logo img { max-height: 42px; max-width: 170px; } }
.hero-visual.has-person .hero-float.f2, .hero-visual.has-person .hero-coin { display: none; }
.hps-mark { left: auto; right: 4%; top: 2%; }

/* Flat look (owner 2026-10-31): no glow around the photo halos. */
.hps-halo { box-shadow: none; }

/* ---------- Round 3 (owner 2026-10-31): hero fits the first screen, solid header ---------- */
/* Header: solid bar with a line, so it never melts into the hero. */
.landing-nav, .landing-nav.is-scrolled { height: 72px; background: var(--surface-1); border-bottom: 1px solid var(--border); box-shadow: 0 6px 24px -18px rgba(15, 26, 30, .45); -webkit-backdrop-filter: none; backdrop-filter: none; }
.landing-nav .brand-logo img { max-height: 50px; }

/* Layout: mobile = top copy, visual, bottom copy. Desktop = copy left (top + bottom), visual right. */
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: center; }
.hero-copy-top .hero-sub { margin-bottom: 0; }
.hero-copy-bottom .hero-chips { margin-bottom: 1.1rem; }
.hero-copy-bottom .hero-trust { margin-top: 1rem; }
.hero { padding-top: 1.25rem; }
.hero-badge { margin-bottom: .9rem; }
.hero-title { font-size: clamp(2rem, 8.6vw, 3.6rem); line-height: 1.05; margin-bottom: .75rem; }
.hero .hero-sub { font-size: clamp(.95rem, 1.25vw, 1.1rem); }
.hero-marquee { margin-top: 1.5rem; }

/* Visual: size follows the screen width (orbit radius in container units). */
.hero-person-stage { container-type: inline-size; }
.hps-orbit .hps-op { transform: rotate(calc(360deg / var(--n) * var(--i) - 30deg)) translateX(46cqw); }
.hero-visual.has-person { padding: .25rem .5rem 0; max-width: min(400px, 92vw); }

@media (max-width: 991.98px) {
  .hero-layout { text-align: left; }
  .hero-copy-top .hero-badge { display: none; }
  .hero-visual.has-person { max-width: min(330px, 86vw); }
  .hps-op-in { width: 48px; height: 48px; left: -24px; top: -24px; }
  .hps-mark { width: 50px; height: 50px; }
  .hero-visual.has-person .hero-float.f1 { top: 2%; left: -4%; }
  .hero-visual.has-person .hero-float.f4 { display: none; }
  .hps-deal { left: -4%; bottom: 14%; padding: .4rem .55rem; gap: .45rem; }
  .hps-deal img { width: 28px; height: 28px; }
  .hps-deal strong { font-size: .95rem; }
  .hps-coupons { right: -4%; }
  .hps-coupons li { min-width: 108px; padding: .3rem .5rem; font-size: .68rem; }
  .hps-coupons li:nth-child(n+3) { display: none; }
  .hero-copy-bottom .hero-chips { gap: .4rem; }
  .hero-copy-bottom .hero-chips li { padding: .3rem .65rem; font-size: .75rem; }
}

@media (min-width: 992px) {
  .hero { padding: 1rem 0 0; min-height: calc(100svh - 72px); }
  .hero-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "top visual" "bottom visual"; column-gap: 3rem; row-gap: 1.25rem; align-items: end; }
  .hero-copy-top { grid-area: top; }
  .hero-copy-bottom { grid-area: bottom; align-self: start; }
  .hero-visual-col { grid-area: visual; align-self: center; }
  /* Never taller than the screen: header 72 + marquee ~60 + breathing room. */
  .hero-visual.has-person { max-width: min(500px, calc((100svh - 190px) / 1.1)); }
}
@media (max-width: 991.98px) {
  .hero-copy-top { order: 1; }
  .hero-visual-col { order: 2; }
  .hero-copy-bottom { order: 3; }
  .hero-layout { gap: .5rem; }
}
@media (min-width: 992px) {
  /* Content starts right under the header; the marquee sits at the bottom of the screen. */
  .hero { justify-content: flex-start; padding-top: 2rem; }
  .hero > .landing-container { margin-block: auto; }
  .hero-marquee { margin-top: 1.25rem; }
}
@media (min-width: 992px) {
  .hero { padding-top: 1.25rem; }
  .hero > .landing-container { margin-block: 0 auto; }
  .hero-marquee { margin-top: auto; }
  .hero-title { font-size: clamp(2.6rem, 3.9vw, 3.9rem); }
  .hero-visual.has-person { max-width: min(580px, calc((100svh - 170px) / 1.12)); }
}
