/* ==========================================================
   Landing page (app/Views/landing.php)
   Deep green with mint and the crest's gold.
   Motion hooks are listed at the top of landing.php; looping
   effects run only while their section is on screen, and
   everything stops for prefers-reduced-motion.
   ========================================================== */
:root {
    --bg: #061510;
    --panel: rgba(18, 52, 38, 0.55);
    --panel-2: rgba(6, 22, 16, 0.75);
    --border: rgba(52, 224, 137, 0.16);
    --border-strong: rgba(52, 224, 137, 0.45);
    --mint: #34e089;
    --mint-2: #1fbf74;
    --gold: #f2b632;
    --gold-soft: rgba(242, 182, 50, 0.14);
    --text: #eaf6ef;
    --muted: #9db7a9;
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1200px;
    --header-h: 72px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body.landing {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(242, 182, 50, 0.08), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(52, 224, 137, 0.07), transparent 60%),
        var(--bg);
    color: var(--text);
    font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, .brand-name { font-family: 'Comfortaa', 'Quicksand', sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.material-symbols-outlined { font-size: 1.25em; line-height: 1; vertical-align: middle; }
.align-middle { vertical-align: middle; }
.text-mint { color: var(--mint); }
.text-gold { color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: var(--mint); color: #04190f; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons, pills, bars ---------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: 0.98rem; white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary { background: linear-gradient(135deg, var(--mint), var(--mint-2)); color: #03170d; box-shadow: 0 8px 24px rgba(52, 224, 137, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(52, 224, 137, 0.35); }
/* light sweep across the button on hover */
.btn-primary::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(-130%); transition: transform 0.75s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(52, 224, 137, 0.05); }
.btn-ghost:hover { border-color: var(--mint); background: rgba(52, 224, 137, 0.1); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

.pill {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.4rem 1.1rem; border-radius: 999px;
    border: 1px solid rgba(242, 182, 50, 0.45); background: var(--gold-soft); color: var(--gold);
    font-weight: 700; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pill-ping 2.2s ease-out infinite; animation-play-state: var(--play, running); }
.pill::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
    background: linear-gradient(110deg, transparent 30%, rgba(255, 236, 170, 0.35) 50%, transparent 70%);
    animation: sweep 5s ease-in-out 1.5s infinite; animation-play-state: var(--play, running);
}
.accent-bar { display: block; width: 90px; height: 4px; border-radius: 4px; margin: 1rem 0 1.2rem; background: linear-gradient(90deg, var(--mint), var(--gold)); }

.icon-tile {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 46px; height: 46px; border-radius: 12px; background: rgba(52, 224, 137, 0.12); color: var(--mint);
    transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.icon-tile.icon-gold, .card-gold .icon-tile { background: var(--gold-soft); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(6, 21, 16, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { background: rgba(6, 21, 16, 0.92); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
/* reading progress along the header's bottom edge (--progress 0..1 from landing.js) */
.scroll-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, var(--mint), var(--gold)); box-shadow: 0 0 10px rgba(52, 224, 137, 0.55);
    transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.3px; }
.brand-name span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { position: relative; color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.site-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--mint), var(--gold));
    transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.site-nav a:not(.btn):hover, .site-nav a.is-current { color: var(--text); }
.site-nav a:not(.btn):hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer;
}

/* ---------- Sections ---------- */
/* clip (not hidden): the drifting glows stay inside without breaking position: sticky */
.section { padding: 110px 0; position: relative; overflow: clip; }
.section > .container { position: relative; z-index: 1; }
.section::before {
    content: ''; position: absolute; z-index: 0; width: 680px; height: 680px; top: -240px; right: -220px;
    border-radius: 50%; background: radial-gradient(closest-side, rgba(52, 224, 137, 0.09), transparent);
    pointer-events: none; animation: drift 24s ease-in-out infinite alternate; animation-play-state: var(--play, running);
}
.section:nth-of-type(odd)::before {
    top: auto; right: auto; bottom: -260px; left: -240px;
    background: radial-gradient(closest-side, rgba(242, 182, 50, 0.07), transparent); animation-duration: 30s;
}
.section::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
    background-image: radial-gradient(rgba(52, 224, 137, 0.13) 1px, transparent 1.6px); background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000, transparent 75%);
}
.section-alt { background: linear-gradient(180deg, rgba(10, 31, 23, 0.6), rgba(10, 31, 23, 0.25)); border-top: 1px solid rgba(255, 255, 255, 0.03); border-bottom: 1px solid rgba(255, 255, 255, 0.03); }

.section-head { margin-bottom: 2.8rem; }
.section-head > p { max-width: 900px; }
.section-head.center { text-align: center; }
.section-head.center > p { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; text-transform: uppercase; margin-top: 0.4rem; }
.section-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #cfe3d7; line-height: 1.7; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin-top: -0.4rem; }

.kicker { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--mint); font-weight: 700; font-size: 0.85rem; letter-spacing: 2.5px; text-transform: uppercase; }
.kicker-no { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--gold); letter-spacing: 1px; }
.kicker-no::after { content: ''; width: 32px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--mint)); transform-origin: left; }

.section-head .accent-bar, .cta .accent-bar {
    background: linear-gradient(90deg, var(--mint), var(--gold), var(--mint)); background-size: 200% 100%;
    transform-origin: left; animation: bar-flow 4s linear infinite; animation-play-state: var(--play, running);
}
.section-head.center .accent-bar, .cta .accent-bar { margin-inline: auto; transform-origin: center; }

/* heading: kicker line and accent bar grow in, the coloured words get one light sweep */
.js .section-head.reveal:not(.is-visible) .kicker-no::after,
.js .section-head.reveal:not(.is-visible) .accent-bar { transform: scaleX(0); }
.js .section-head.reveal.is-visible .kicker-no::after { transition: transform 0.8s var(--ease) 0.3s; }
.js .section-head.reveal.is-visible .accent-bar { transition: transform 1s var(--ease) 0.35s; }
.section-head h2 .text-mint { --c: var(--mint); }
.section-head h2 .text-gold { --c: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .js .section-head.is-visible h2 .text-mint,
    .js .section-head.is-visible h2 .text-gold {
        background: linear-gradient(100deg, var(--c) 42%, #fff 50%, var(--c) 58%) 0 0 / 250% 100% no-repeat;
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
        animation: title-sweep 1.8s var(--ease) 0.5s both;
    }
    .shimmer {
        background: linear-gradient(100deg, var(--gold) 38%, #fff3c4 50%, var(--gold) 62%) 0 0 / 250% 100% no-repeat;
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
        animation: shine 4.5s ease-in-out infinite; animation-play-state: var(--play, running);
    }
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
    display: flex; flex-direction: column; gap: 0.7rem; min-width: 0;
    background: linear-gradient(160deg, var(--panel), rgba(8, 28, 20, 0.6));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { color: var(--muted); }
.card > .icon-tile { align-self: flex-start; }
.card-gold { background: linear-gradient(160deg, rgba(64, 54, 14, 0.45), rgba(20, 24, 10, 0.6)); border-color: rgba(242, 182, 50, 0.35); }
.pillar-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.4rem; }
.pillar-no { font-family: 'Comfortaa', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--mint); line-height: 1; }
.card-gold .pillar-no, .card-gold .tech-no { color: var(--gold); }

/* icon tiles light up when their card is hovered */
.card:hover .icon-tile, .about-card:hover .icon-tile, .bento-item:hover .icon-tile {
    transform: translateY(-2px) rotate(-8deg) scale(1.08);
    background: var(--mint); color: #03170d; box-shadow: 0 8px 20px rgba(52, 224, 137, 0.3);
}
.card-gold:hover .icon-tile { background: var(--gold); color: #1d1500; box-shadow: 0 8px 20px rgba(242, 182, 50, 0.3); }

/* ---------- Hero ----------
   Intro on load: .hero-in parts rise in at their --hd, the title's letters (.l) one by one,
   the crest zooms in and its rings, rays and bubbles follow. Looping effects pause off screen. */
.hero { position: relative; overflow: clip; padding: 70px 0 90px; }
.hero > .container { position: relative; z-index: 1; }
.hero::before {
    content: ''; position: absolute; z-index: 0; top: -260px; right: -200px; width: 820px; height: 820px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(52, 224, 137, 0.11), transparent); pointer-events: none;
    animation: drift 22s ease-in-out infinite alternate; animation-play-state: var(--play, running);
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
    background-image: radial-gradient(rgba(52, 224, 137, 0.13) 1px, transparent 1.6px); background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 55% 60% at 72% 45%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 55% 60% at 72% 45%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-in { animation: rv-up 0.9s var(--ease) both; animation-delay: var(--hd, 0s); }

.hero-title { font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -2px; margin: 1.2rem 0 1rem; }
.hero-word { display: inline-block; white-space: nowrap; }
/* letters rise in one by one; on hover they ripple up in a wave */
.hero-title .l {
    display: inline-block; animation: letter-in 0.8s var(--ease) both; animation-delay: calc(0.12s + var(--l) * 40ms);
    transition: transform 0.35s var(--ease); transition-delay: calc(var(--l) * 25ms);
}
.hero-title:hover .l { transform: translateY(-8px); }
.hero-lead { font-family: 'Comfortaa', sans-serif; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 700; color: var(--gold); }
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-top: 1.2rem; }
.hero .accent-bar {
    margin: 0.6rem 0 2rem; transform-origin: left;
    background: linear-gradient(90deg, var(--mint), var(--gold), var(--mint)) 0 0 / 200% 100%;
    animation: bar-in 0.9s var(--ease) 0.85s both, bar-flow 4s linear infinite; animation-play-state: running, var(--play, running);
}

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature {
    display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature-gold { --glow-fill: linear-gradient(160deg, #2a2810, #10190f); border-color: rgba(242, 182, 50, 0.35); background: rgba(64, 54, 14, 0.35); }
/* the emoji tiles bob gently, each a little out of step; they turn and grow on hover */
.feature-icon {
    width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(52, 224, 137, 0.1); font-size: 1.4rem; flex-shrink: 0;
    animation: bob 4.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.1s); animation-play-state: var(--play, running);
    transition: scale 0.35s var(--ease), rotate 0.35s var(--ease);
}
.feature:hover .feature-icon { scale: 1.14; rotate: -8deg; }
.feature h3 { font-family: 'Quicksand', sans-serif; font-size: 1.08rem; font-weight: 700; }
.feature p { color: var(--muted); font-size: 0.92rem; line-height: 1.35; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-actions.center { justify-content: center; }
/* soft ring pulsing out of the main button (stops while hovered) */
.hero .btn-primary { animation: btn-pulse 2.8s ease-out 2.2s infinite; animation-play-state: var(--play, running); }
.hero .btn-primary:hover { animation: none; }

/* overflow: the spinning layers' boxes stick out at some angles (the rings themselves stay inside) */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; overflow: hidden; }
.hero-visual > * { translate: calc(var(--px, 0) * var(--depth, 0px)) calc(var(--py, 0) * var(--depth, 0px)); transition: translate 0.6s var(--ease); }
.hero-rays {
    --depth: -6px; position: absolute; inset: 0; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(242, 182, 50, 0.14) 0deg 4deg, transparent 4deg 15deg);
    -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
    animation: fade-in 1.4s ease 0.3s both, spin 90s linear infinite; animation-play-state: running, var(--play, running);
}
.hero-glow {
    --depth: -4px; position: absolute; inset: 16%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(242, 182, 50, 0.3), rgba(52, 224, 137, 0.1) 60%, transparent);
    animation: breathe 5s ease-in-out infinite; animation-play-state: var(--play, running);
}
.hero-logo {
    --depth: 12px; width: 80%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 0 36px rgba(242, 182, 50, 0.35));
    animation: logo-in 1.1s var(--ease) 0.1s both, float 6s ease-in-out 1.2s infinite; animation-play-state: running, var(--play, running);
}
.orbit {
    --depth: -10px; position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(242, 182, 50, 0.16);
    animation: ring-in 1.1s var(--ease) 0.3s both, spin 40s linear infinite; animation-play-state: running, var(--play, running);
}
.orbit::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(52, 224, 137, 0.1); }
.orbit-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; }
.orbit-dot-gold { top: 8%; left: 18%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.orbit-dot-mint { bottom: 42%; right: 4px; width: 10px; height: 10px; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hero-arc {
    --depth: -14px; position: absolute; inset: 6%; border-radius: 50%;
    border: 2px solid transparent; border-top-color: var(--mint); border-bottom-color: rgba(242, 182, 50, 0.7);
    animation: ring-in 1.1s var(--ease) 0.45s both, spin 10s linear infinite reverse; animation-play-state: running, var(--play, running);
}
.hero-bubbles { --depth: 22px; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bubble {
    position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
    background: rgba(6, 22, 16, 0.75); border: 1px solid var(--border-strong); color: var(--mint);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 18px rgba(52, 224, 137, 0.15);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    animation: bubble-in 0.7s var(--ease) both, bob 5s ease-in-out infinite;
    animation-delay: calc(0.9s + var(--b) * 0.12s), calc(var(--b) * -1.3s); animation-play-state: running, var(--play, running);
}
.bubble .material-symbols-outlined { font-size: 1.5rem; }
.bubble:nth-child(even) { color: var(--gold); border-color: rgba(242, 182, 50, 0.45); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 18px rgba(242, 182, 50, 0.15); }
.bubble:nth-child(1) { top: 13%; left: 7%; }
.bubble:nth-child(2) { top: 20%; right: 5%; }
.bubble:nth-child(3) { bottom: 20%; left: 3%; }
.bubble:nth-child(4) { bottom: 9%; right: 15%; }

/* "scroll" hint at the bottom of the hero (desktop) */
.scroll-cue {
    position: absolute; z-index: 1; left: 0; right: 0; bottom: 20px; width: max-content; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
    color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    animation: rv-up 0.9s var(--ease) 1.5s both; transition: color 0.2s;
}
.scroll-cue:hover { color: var(--text); }
.scroll-mouse { position: relative; width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px; }
.scroll-wheel {
    position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--mint);
    animation: wheel 1.8s ease-in-out infinite; animation-play-state: var(--play, running);
}

/* ---------- Running band ---------- */
.marquee {
    position: relative; overflow: hidden; padding: 1.15rem 0;
    border-block: 1px solid var(--border);
    background: linear-gradient(90deg, rgba(52, 224, 137, 0.06), rgba(242, 182, 50, 0.06), rgba(52, 224, 137, 0.06));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; animation-play-state: var(--play, running); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    display: inline-flex; align-items: center; gap: 0.65rem; padding: 0 1.6rem; white-space: nowrap;
    font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    letter-spacing: 1px; text-transform: uppercase; color: var(--text);
}
.marquee-item .material-symbols-outlined { color: var(--mint); font-size: 1.2em; }
.marquee-item.is-outline { color: transparent; -webkit-text-stroke: 1px rgba(234, 246, 239, 0.6); }
.marquee-item.is-outline .material-symbols-outlined { color: var(--gold); -webkit-text-stroke: 0; }
.marquee-sep { color: var(--gold); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; margin-bottom: 3rem; }
.about-layout > * { min-width: 0; }
.about-layout .section-head { margin-bottom: 0; }
.stats { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stats::before {
    content: ''; position: absolute; inset: -18%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(52, 224, 137, 0.16), transparent);
    animation: breathe 6s ease-in-out infinite; animation-play-state: var(--play, running);
}
.stat {
    position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0;
    padding: 1.5rem 1.3rem 1.3rem; border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(18, 52, 38, 0.8), rgba(6, 22, 16, 0.85)); border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.stat::after {
    content: ''; position: absolute; width: 110px; height: 110px; top: -45px; right: -45px; border-radius: 50%;
    border: 1px dashed rgba(52, 224, 137, 0.3); animation: spin 18s linear infinite; animation-play-state: var(--play, running);
}
.stat-gold { border-color: rgba(242, 182, 50, 0.35); }
.stat-gold::after { border-color: rgba(242, 182, 50, 0.35); }
.stat-num { font-family: 'Comfortaa', sans-serif; font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 700; line-height: 1; color: var(--mint); text-shadow: 0 0 28px rgba(52, 224, 137, 0.35); }
.stat-gold .stat-num { color: var(--gold); text-shadow: 0 0 28px rgba(242, 182, 50, 0.35); }
.stat-label { margin-top: 0.75rem; font-weight: 700; }
.stat-note { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.about-card {
    display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.about-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.about-card.card-gold { background: linear-gradient(160deg, rgba(64, 54, 14, 0.4), rgba(20, 24, 10, 0.55)); border-color: rgba(242, 182, 50, 0.3); }
.about-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.about-card p { color: var(--muted); }
.notice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.notice-row.is-single { grid-template-columns: 1fr; }
.why-principles { margin-bottom: 1.4rem; }
.fee-head { margin: 2.6rem 0 1.2rem; font-size: 1.35rem; font-weight: 700; }
.notice {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.7rem; padding: 1.1rem 1.3rem;
    border-radius: var(--radius-sm); border: 1px solid rgba(242, 182, 50, 0.35); background: rgba(64, 54, 14, 0.3); font-weight: 700;
}
.notice .material-symbols-outlined { color: var(--gold); }
/* a slow golden glint passes over each notice in turn */
.notice::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
    background: linear-gradient(110deg, transparent 35%, rgba(242, 182, 50, 0.16) 50%, transparent 65%);
    animation: sweep 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.7s); animation-play-state: var(--play, running);
}

/* ---------- Values: crest in the middle ---------- */
.values-layout { display: grid; grid-template-columns: 1fr minmax(240px, 340px) 1fr; gap: 2.6rem; align-items: center; }
.values-layout > * { min-width: 0; }
.values-col { display: flex; flex-direction: column; gap: 1.4rem; }
.value-card { position: relative; }
/* line from each card toward the crest, with light running along it */
.value-card::after {
    content: ''; position: absolute; top: 50%; width: 2.6rem; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--mint), transparent) -60% 0 / 45% 100% no-repeat, rgba(52, 224, 137, 0.22);
    animation: connect 2.8s linear infinite; animation-play-state: var(--play, running);
}
.values-col-left .value-card::after { left: 100%; }
.values-col-right .value-card::after { right: 100%; animation-direction: reverse; }
.value-card:nth-child(2)::after { animation-delay: 1.4s; }
.value-card.card-gold::after { background-color: rgba(242, 182, 50, 0.25); background-image: linear-gradient(90deg, transparent, var(--gold), transparent); }

.crest { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; }
.crest::before {
    content: ''; position: absolute; inset: 10%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(242, 182, 50, 0.3), rgba(52, 224, 137, 0.08) 60%, transparent);
    animation: breathe 5s ease-in-out infinite; animation-play-state: var(--play, running);
}
.crest-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(242, 182, 50, 0.4); animation: spin 32s linear infinite; animation-play-state: var(--play, running); }
.crest-ring-inner { inset: 9%; border: 2px solid rgba(52, 224, 137, 0.14); border-top-color: var(--mint); border-bottom-color: rgba(242, 182, 50, 0.6); animation-duration: 11s; animation-direction: reverse; }
.crest-orbit { position: absolute; inset: 0; animation: spin 20s linear infinite; animation-play-state: var(--play, running); }
.crest-orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.crest-orbit i:nth-child(1) { top: -5px; left: calc(50% - 5px); }
.crest-orbit i:nth-child(2) { top: calc(50% - 5px); right: -5px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.crest-orbit i:nth-child(3) { bottom: -5px; left: calc(50% - 5px); }
.crest-orbit i:nth-child(4) { top: calc(50% - 5px); left: -5px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.crest-logo {
    position: relative; z-index: 1; width: 74%; object-fit: contain; filter: drop-shadow(0 0 30px rgba(242, 182, 50, 0.35));
    animation: float 6s ease-in-out infinite; animation-play-state: var(--play, running);
}

/* ---------- Mission ---------- */
.statement {
    position: relative; overflow: hidden; margin: 0 0 2.6rem; padding: 2.1rem 2.4rem 2.1rem 5rem;
    border-radius: var(--radius); border: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(52, 224, 137, 0.09), rgba(242, 182, 50, 0.06));
}
.statement::before { content: ''; position: absolute; left: 0; top: 16%; bottom: 16%; width: 3px; border-radius: 3px; background: linear-gradient(var(--mint), var(--gold)); }
.statement-mark { position: absolute; left: 1.3rem; top: 0.9rem; font-family: 'Comfortaa', Georgia, serif; font-size: 4.6rem; font-weight: 700; line-height: 1; color: var(--gold); text-shadow: 0 0 24px rgba(242, 182, 50, 0.35); }
.statement p { font-family: 'Comfortaa', sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.85rem); line-height: 1.5; color: #e3f3ea; }

.pillar { position: relative; overflow: hidden; }
.pillar h3 { min-height: 2.6em; }
/* big outlined number in the top corner (beside the icon, clear of the text), fills in on hover */
.pillar-bg-no {
    position: absolute; top: 0.5rem; right: 0.9rem; pointer-events: none;
    font-family: 'Comfortaa', sans-serif; font-size: 4.8rem; font-weight: 700; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(52, 224, 137, 0.18);
    transition: transform 0.5s var(--ease), color 0.5s;
}
.pillar:hover .pillar-bg-no { transform: translateY(-4px) scale(1.06); color: rgba(52, 224, 137, 0.1); }
.card-gold .pillar-bg-no { -webkit-text-stroke-color: rgba(242, 182, 50, 0.25); }
.card-gold:hover .pillar-bg-no { color: rgba(242, 182, 50, 0.08); }
.pillar > :not(.pillar-bg-no) { position: relative; }
/* light bar along the top edge, drawn when the card appears */
.pillar::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--mint), var(--gold)); transform-origin: left;
}
.js .pillar:not(.is-visible)::after { transform: scaleX(0); }
.js .pillar.is-visible::after { transition: transform 0.9s var(--ease); transition-delay: calc(var(--d, 0ms) + 0.35s); }

/* ---------- Why: bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.bento-item {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0;
    padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(16, 46, 34, 0.75), rgba(6, 22, 16, 0.85));
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.bento-item:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.bento-item h3 { font-size: 1.12rem; }
.bento-item p { color: var(--muted); font-size: 0.95rem; }
.bento-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; }
.bento-art { width: 96px; height: 72px; flex-shrink: 0; overflow: visible; }

.bento-feature {
    grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 2rem; padding: 2rem;
    background:
        radial-gradient(500px 300px at 85% 15%, rgba(242, 182, 50, 0.08), transparent 70%),
        linear-gradient(160deg, rgba(18, 54, 39, 0.85), rgba(6, 22, 16, 0.9));
}
.bento-copy { display: flex; flex-direction: column; gap: 0.7rem; }
.bento-copy .icon-tile { align-self: flex-start; }
.bento-feature h3 { font-size: 1.5rem; }
.bento-feature p { font-size: 1rem; }

/* made-up dashboard (shapes only) */
.mock {
    position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(4, 16, 11, 0.88);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    transform: perspective(900px) rotateY(-9deg) rotateX(4deg); transition: transform 0.6s var(--ease);
}
.bento-feature:hover .mock { transform: perspective(900px) rotateY(0) rotateX(0); }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.mock-head i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock-head i:first-child { background: rgba(242, 182, 50, 0.7); }
.mock-live { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: ping 1.8s ease-out infinite; animation-play-state: var(--play, running); }
.mock-body { display: grid; grid-template-columns: 22% 1fr; min-height: 250px; }
.mock-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; border-right: 1px solid var(--border); }
.mock-side b { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.mock-side b:first-child { background: rgba(52, 224, 137, 0.5); }
.mock-main { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-tiles b {
    height: 38px; border-radius: 8px;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.05) 35%, rgba(52, 224, 137, 0.2) 50%, rgba(255, 255, 255, 0.05) 65%) 0 0 / 250% 100% no-repeat;
    animation: shine 3s ease-in-out infinite; animation-play-state: var(--play, running);
}
.mock-tiles b:nth-child(2) { animation-delay: 0.35s; }
.mock-tiles b:nth-child(3) { animation-delay: 0.7s; }
.mock-chart {
    position: relative; flex: 1; min-height: 120px; display: flex; align-items: flex-end; gap: 5%; padding: 8px 6px 0;
    border-radius: 8px; background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 25%);
}
.mock-chart span {
    flex: 1; height: var(--h); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0.12);
    background: linear-gradient(to top, rgba(52, 224, 137, 0.2), var(--mint));
}
.mock-chart span:nth-child(3n) { background: linear-gradient(to top, rgba(242, 182, 50, 0.2), var(--gold)); }
.bento-feature.is-visible .mock-chart span,
html:not(.js) .mock-chart span {
    animation: bar-grow 0.9s var(--ease) forwards, bar-bob 2.6s ease-in-out infinite alternate;
    animation-delay: calc(var(--b) * 80ms + 0.4s), calc(var(--b) * 150ms + 1.6s);
    animation-play-state: running, var(--play, running);
}
.mock-chart svg { position: absolute; left: 6px; right: 6px; top: 8px; bottom: 0; width: calc(100% - 12px); height: calc(100% - 8px); overflow: visible; }
.mock-chart path { fill: none; stroke: var(--gold); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(242, 182, 50, 0.6)); }
.bento-feature.is-visible .mock-chart path { animation: draw 2.2s var(--ease) 0.6s forwards; }
html:not(.js) .mock-chart path { stroke-dashoffset: 0; }

/* small looping illustrations */
.net-links path { fill: none; stroke: rgba(52, 224, 137, 0.5); stroke-width: 1.5; stroke-dasharray: 3 4; animation: march 1.4s linear infinite; animation-play-state: var(--play, running); }
.net-links .net-faint { stroke: rgba(52, 224, 137, 0.2); }
.net-node { fill: var(--mint); transform-box: fill-box; transform-origin: center; animation: node-pulse 2.4s ease-in-out infinite; animation-delay: calc(var(--n) * 0.4s); animation-play-state: var(--play, running); }
.net-hub { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(242, 182, 50, 0.7)); }
.spark { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; animation-delay: calc(var(--n) * 0.55s); animation-play-state: var(--play, running); }
.spark-mint { fill: var(--mint); }
.clock-face { fill: rgba(52, 224, 137, 0.06); stroke: rgba(52, 224, 137, 0.45); stroke-width: 1.5; }
.clock-tick { stroke: rgba(234, 246, 239, 0.5); stroke-width: 1.5; stroke-linecap: round; }
.clock-hour, .clock-min { stroke-linecap: round; transform-origin: 48px 36px; animation: spin linear infinite; animation-play-state: var(--play, running); }
.clock-hour { stroke: var(--text); stroke-width: 3; animation-duration: 96s; }
.clock-min { stroke: var(--mint); stroke-width: 2; animation-duration: 8s; }
.clock-pin { fill: var(--gold); }

/* ---------- Security: three steps with data flowing between them ---------- */
.flow { display: grid; grid-template-columns: 1fr 72px 1fr 72px 1fr; align-items: stretch; }
.flow > * { min-width: 0; }
.tech-no { color: var(--mint); font-weight: 700; letter-spacing: 1px; }
.tech p { flex-grow: 1; }
.tech .icon-tile { position: relative; }
.tech .icon-tile::after {
    content: ''; position: absolute; inset: -6px; border-radius: 16px; border: 2px solid currentColor; opacity: 0; pointer-events: none;
    animation: halo 2.4s ease-out infinite; animation-delay: calc(var(--i, 0) * 0.4s); animation-play-state: var(--play, running);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.tags span { padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--mint); font-weight: 700; font-size: 0.85rem; }
.card-gold .tags span { color: var(--gold); border-color: rgba(242, 182, 50, 0.3); }
.flow-link { position: relative; overflow: hidden; }
.flow-link::before {
    content: ''; position: absolute; left: 6px; right: 14px; top: 50%; height: 2px; translate: 0 -50%;
    background: repeating-linear-gradient(90deg, rgba(52, 224, 137, 0.6) 0 8px, transparent 8px 14px) 0 0 / 28px 2px;
    animation: dash 1s linear infinite; animation-play-state: var(--play, running);
}
.flow-link::after {
    content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px;
    border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); transform: translateY(-50%) rotate(45deg);
}
.flow-dot { position: absolute; inset: 0 14px 0 6px; animation: packet 2.4s var(--ease) infinite; animation-delay: calc((var(--i, 1) - 1) * 0.6s); animation-play-state: var(--play, running); }
.flow-dot::before {
    content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 10px var(--gold), 0 0 22px rgba(242, 182, 50, 0.55);
}
.safety {
    display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding: 1.1rem 1.4rem;
    border-radius: var(--radius-sm); border: 1px solid rgba(242, 182, 50, 0.3); background: rgba(64, 54, 14, 0.22);
    font-size: 1.08rem; color: #cfe3d7;
}
.safety-icon { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.safety-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ring-pulse 2.6s ease-out infinite; animation-play-state: var(--play, running); }

/* ---------- How to join: steps on a track ---------- */
.steps-wrap { position: relative; }
.steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; min-width: 0; text-align: center; }
.step-node {
    position: relative; flex-shrink: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 30% 30%, #16452f, #071a12); border: 1px solid var(--border-strong); color: var(--mint);
    box-shadow: 0 0 0 7px #0a1c15, 0 12px 30px rgba(0, 0, 0, 0.35);
}
.step-node .material-symbols-outlined { font-size: 2rem; }
.step-node::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; pointer-events: none; }
.step-no {
    position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold); color: #1d1500; font-weight: 700; font-size: 0.85rem; box-shadow: 0 0 0 3px #0a1c15;
}
.js .step.is-visible .step-node { animation: node-pop 0.7s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 0.25s); }
.js .step.is-visible .step-node::after { animation: ring-once 1.3s ease-out both; animation-delay: calc(var(--d, 0ms) + 0.45s); }
.step-body {
    flex: 1; width: 100%; padding: 1.4rem 1.2rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover .step-body { transform: translateY(-4px); border-color: var(--border-strong); }
.step-body h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.step-body p { color: var(--muted); font-size: 0.95rem; }
/* the track runs through the node centres; it fills as the steps appear (600 ms per step, see data-stagger-step) */
.steps-track { position: absolute; z-index: 0; top: 37px; left: calc(12.5% - 0.525rem); right: calc(12.5% - 0.525rem); height: 2px; background: rgba(52, 224, 137, 0.15); }
.steps-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--mint), var(--gold)); box-shadow: 0 0 12px rgba(52, 224, 137, 0.5); transform-origin: left; }
.js .steps-wrap:not(.is-visible) .steps-fill { transform: scaleX(0); }
.js .steps-wrap.is-visible .steps-fill { transition: transform 1.8s linear 0.3s; }

.wallets { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 1rem; margin-top: 2.6rem; }
.wallets-label { color: var(--muted); font-weight: 700; }
.wallet-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; list-style: none; margin: 0; padding: 0; }
.wallet-chip {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: 999px;
    border: 1px solid var(--border); background: var(--panel-2); font-weight: 600; font-size: 0.92rem;
    transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.wallet-chip:hover { transform: translateY(-3px); border-color: var(--border-strong); background: rgba(18, 52, 38, 0.8); }
.wallet-chip .material-symbols-outlined { color: var(--gold); font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side .section-head { margin-bottom: 1.6rem; }
.help-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.7rem;
    border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(150deg, rgba(52, 224, 137, 0.1), rgba(242, 182, 50, 0.07));
}
.help-card h3 { font-size: 1.25rem; }
.help-card p { color: var(--muted); }
.help-card .btn { margin-top: 0.6rem; }
.help-icon {
    display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 0.4rem; border-radius: 16px;
    background: linear-gradient(135deg, var(--mint), var(--mint-2)); color: #03170d; box-shadow: 0 10px 26px rgba(52, 224, 137, 0.3);
    animation: wiggle 4.5s ease-in-out infinite; animation-play-state: var(--play, running);
}
.help-icon .material-symbols-outlined { font-size: 1.7rem; }

.faq { display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item { border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--panel-2); transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.faq-item:hover { border-color: rgba(52, 224, 137, 0.3); }
.faq-item[open] { border-color: var(--border-strong); background: linear-gradient(160deg, rgba(18, 52, 38, 0.7), rgba(6, 22, 16, 0.85)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-no { min-width: 1.6rem; font-family: 'Comfortaa', sans-serif; font-size: 0.9rem; color: var(--gold); }
.faq-q { flex: 1; transition: color 0.2s; }
.faq-item summary:hover .faq-q { color: var(--mint); }
.faq-icon {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
    background: rgba(52, 224, 137, 0.1); color: var(--mint); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.faq-item[open]:not(.is-closing) .faq-icon { transform: rotate(45deg); background: var(--mint); color: #03170d; }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 1.3rem 1.3rem 3.9rem; color: var(--muted); }

/* ---------- Call to action ---------- */
.cta { padding: 90px 0 120px; text-align: center; }
.cta-card {
    --glow-fill: radial-gradient(600px 320px at 50% 0%, rgba(242, 182, 50, 0.15), transparent 70%), linear-gradient(160deg, #0d2a1e, #061510 75%);
    position: relative; display: flex; flex-direction: column; align-items: center; padding: 3.6rem 2rem 3.2rem; border-radius: 28px;
}
.cta-crest { position: relative; display: grid; place-items: center; width: 230px; aspect-ratio: 1; margin-bottom: 1.2rem; }
.cta-crest::before {
    content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 182, 50, 0.3), transparent);
    animation: breathe 5s ease-in-out infinite; animation-play-state: var(--play, running);
}
.cta-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(242, 182, 50, 0.45); animation: spin 26s linear infinite; animation-play-state: var(--play, running); }
.cta-ring-outer { inset: -14px; border: 2px solid rgba(52, 224, 137, 0.12); border-top-color: var(--mint); border-right-color: rgba(242, 182, 50, 0.5); animation-duration: 9s; animation-direction: reverse; }
.cta-logo {
    position: relative; width: 80%; object-fit: contain; filter: drop-shadow(0 0 30px rgba(242, 182, 50, 0.35));
    animation: float 6s ease-in-out infinite; animation-play-state: var(--play, running);
}
.cta h2 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 700; }
/* rising sparks (closing card and hero): --x left, --d delay, --t duration, --s size, --rise distance */
.sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.sparks i {
    position: absolute; bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
    background: var(--gold); box-shadow: 0 0 8px rgba(242, 182, 50, 0.9);
    animation: rise var(--t) linear var(--d) infinite; animation-play-state: var(--play, running);
}
.sparks i:nth-child(3n) { background: var(--mint); box-shadow: 0 0 8px rgba(52, 224, 137, 0.9); }
.hero-sparks { z-index: 0; --rise: -760px; }

/* rotating gold / mint light around the edge */
.glow-border { position: relative; isolation: isolate; overflow: hidden; border: 0; }
.glow-border::before {
    content: ''; position: absolute; z-index: -2; left: 50%; top: 50%; width: max(200%, 900px); aspect-ratio: 1; translate: -50% -50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--gold) 50deg, transparent 110deg, transparent 180deg, var(--mint) 230deg, transparent 290deg);
    animation: spin 8s linear infinite; animation-play-state: var(--play, running);
}
.glow-border::after { content: ''; position: absolute; z-index: -1; inset: 1.5px; border-radius: inherit; background: var(--glow-fill, linear-gradient(160deg, #262a12, #0c1a12)); }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--border); padding: 2.5rem 0 2rem; background: rgba(4, 14, 10, 0.6); }
.site-footer::before {
    content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--mint), var(--gold), transparent) 0 0 / 50% 100% no-repeat;
    animation: line-run 7s linear infinite;
}
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand-tag { color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: var(--muted); font-weight: 600; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.disclaimer { margin-top: 1.6rem; color: var(--muted); font-size: 0.85rem; max-width: 820px; }
.copyright { margin-top: 0.8rem; color: #6f8a7c; font-size: 0.82rem; }

/* ---------- Floating back-to-top ---------- */
.to-top {
    position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(6, 21, 16, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border); color: var(--mint); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s, box-shadow 0.3s, color 0.3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* hidden while the closing card's own "Back to top" button is on screen */
.to-top.is-shown.is-tucked { opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.85); transition-delay: 0s, 0s, 0.35s, 0s, 0s; }
html:not(.js) .to-top { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--gold); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(52, 224, 137, 0.35); }
.to-top:hover .material-symbols-outlined { animation: nudge-up 0.9s var(--ease) infinite; }
.to-top .material-symbols-outlined { position: relative; font-size: 1.5rem; }
.to-top-ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke-width: 3; }
.to-top-track { stroke: rgba(52, 224, 137, 0.12); }
.to-top-progress { stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.15s linear; }

/* ---------- Spotlight: soft light follows the pointer over a card ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(52, 224, 137, 0.13), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.card-gold.spot::before, .stat-gold.spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 182, 50, 0.13), transparent 45%); }

/* ---------- Reveal on scroll (landing.js adds .is-visible) ----------
   Uses translate / scale / opacity, so it never fights the cards' hover transform. */
.js .reveal:not(.is-visible),
.js [data-reveal]:not(.is-visible),
.js [data-stagger] > :not(.is-visible) { opacity: 0; }
/* if landing.js never runs, show everything after a moment */
.js:not(.reveal-on) .reveal:not(.is-visible),
.js:not(.reveal-on) [data-reveal]:not(.is-visible),
.js:not(.reveal-on) [data-stagger] > :not(.is-visible) { animation: rv-failsafe 0.4s 2.5s forwards; }

.js .reveal.is-visible,
.js [data-reveal="up"].is-visible { animation: rv-up 0.9s var(--ease) both; animation-delay: var(--delay, 0s); }
.js [data-reveal="left"].is-visible { animation: rv-left 0.9s var(--ease) both; animation-delay: var(--delay, 0s); }
.js [data-reveal="right"].is-visible { animation: rv-right 0.9s var(--ease) both; animation-delay: var(--delay, 0s); }
.js [data-reveal="zoom"].is-visible { animation: rv-zoom 1s var(--ease) both; animation-delay: var(--delay, 0s); }
.js [data-stagger] > .is-visible { animation: rv-up 0.8s var(--ease) both; animation-delay: var(--d, 0ms); }
.js [data-stagger="zoom"] > .is-visible { animation-name: rv-zoom; }

/* paragraphs that light up word by word */
.js [data-words] .w { display: inline-block; opacity: 0.14; translate: 0 0.35em; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); transition-delay: calc(var(--w) * 32ms + 0.25s); }
.js [data-words].is-visible .w { opacity: 1; translate: none; }

/* looping effects run only while their section is on screen */
.js [data-loop] { --play: paused; }
.js [data-loop].is-active { --play: running; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-140px, 90px, 0) scale(1.18); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes bar-flow { to { background-position: 200% 0; } }
@keyframes title-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sweep { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@keyframes connect { from { background-position: -60% 0, 0 0; } to { background-position: 160% 0, 0 0; } }
@keyframes march { to { stroke-dashoffset: -14; } }
@keyframes node-pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes twinkle { 0%, 100% { transform: scale(0.35) rotate(0deg); opacity: 0.25; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(52, 224, 137, 0.6); } to { box-shadow: 0 0 0 10px rgba(52, 224, 137, 0); } }
@keyframes bar-grow { from { transform: scaleY(0.12); } to { transform: scaleY(1); } }
@keyframes bar-bob { from { transform: scaleY(1); } to { transform: scaleY(0.8); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dash { to { background-position: 28px 0; } }
@keyframes dash-y { to { background-position: 0 28px; } }
@keyframes packet { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(calc(100% - 12px)); opacity: 0; } }
@keyframes packet-y { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(calc(100% - 12px)); opacity: 0; } }
@keyframes halo { 0% { opacity: 0.75; transform: scale(0.9); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes ring-pulse { 0% { opacity: 0.8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes node-pop { 0% { scale: 0.4; } 60% { scale: 1.12; } 100% { scale: 1; } }
@keyframes ring-once { 0% { opacity: 0.9; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes wiggle { 0%, 78%, 100% { transform: rotate(0); } 84% { transform: rotate(-12deg); } 90% { transform: rotate(9deg); } 95% { transform: rotate(-4deg); } }
@keyframes rise { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translateY(var(--rise, -560px)) scale(1); opacity: 0; } }
@keyframes letter-in { from { opacity: 0; translate: 0 0.55em; rotate: 8deg; filter: blur(6px); } to { opacity: 1; translate: none; rotate: none; filter: none; } }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pill-ping { from { box-shadow: 0 0 0 0 rgba(242, 182, 50, 0.65); } to { box-shadow: 0 0 0 9px rgba(242, 182, 50, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ring-in { from { opacity: 0; scale: 0.85; } to { opacity: 1; scale: 1; } }
@keyframes logo-in { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
@keyframes bubble-in { from { opacity: 0; scale: 0.4; } to { opacity: 1; scale: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes btn-pulse {
    0% { box-shadow: 0 8px 24px rgba(52, 224, 137, 0.25), 0 0 0 0 rgba(52, 224, 137, 0.5); }
    70%, 100% { box-shadow: 0 8px 24px rgba(52, 224, 137, 0.25), 0 0 0 14px rgba(52, 224, 137, 0); }
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes line-run { from { background-position: -100% 0; } to { background-position: 200% 0; } }
@keyframes nudge-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes rv-up { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: none; } }
@keyframes rv-left { from { opacity: 0; translate: -60px 0; } to { opacity: 1; translate: none; } }
@keyframes rv-right { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: none; } }
@keyframes rv-zoom { from { opacity: 0; scale: 0.88; } to { opacity: 1; scale: none; } }
@keyframes rv-failsafe { to { opacity: 1; } }

/* ---------- Reduced motion: everything shown, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
        transition-duration: 0.01ms !important; transition-delay: 0s !important;
    }
    .js .reveal, .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; translate: none !important; scale: none !important; }
    .flow-dot, .sparks { display: none; }
    .card:hover, .btn-primary:hover, .btn-ghost:hover, .about-card:hover, .bento-item:hover, .stat:hover, .step:hover .step-body, .wallet-chip:hover,
    .feature:hover, .hero-title:hover .l { transform: none; }
    .feature:hover .feature-icon { scale: none; rotate: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .values-layout { grid-template-columns: 1fr minmax(200px, 250px) 1fr; gap: 1.8rem; }
    .value-card::after { width: 1.8rem; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
    .steps-track { display: none; }
}

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 0.5rem 20px 1.2rem; background: rgba(6, 21, 16, 0.97); border-bottom: 1px solid var(--border);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 1.05rem; }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav a.is-current { color: var(--mint); }
    .site-nav .btn { margin-top: 1rem; justify-content: center; }

    .hero { padding-top: 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
    .scroll-cue { display: none; }
    .section { padding: 80px 0; }
    .about-layout { grid-template-columns: 1fr; gap: 2.2rem; }
    .about-grid, .notice-row { grid-template-columns: 1fr; }

    .values-layout { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
    .values-col { display: contents; }
    .crest { grid-column: 1 / -1; order: -1; width: min(280px, 78%); justify-self: center; margin-bottom: 0.6rem; }
    .value-card::after { display: none; }

    .bento-feature { grid-template-columns: 1fr; }
    .mock { transform: none; }

    .flow { grid-template-columns: 1fr; }
    .flow-link { height: 60px; }
    .flow-link::before {
        left: 50%; right: auto; top: 6px; bottom: 14px; width: 2px; height: auto; translate: -50% 0;
        background: repeating-linear-gradient(180deg, rgba(52, 224, 137, 0.6) 0 8px, transparent 8px 14px) 0 0 / 2px 28px;
        animation-name: dash-y;
    }
    .flow-link::after { right: auto; left: 50%; top: auto; bottom: 4px; transform: translateX(-50%) rotate(135deg); }
    .flow-dot { inset: 6px 0 14px 0; animation-name: packet-y; }
    .flow-dot::before { left: 50%; top: 0; margin: 0 0 0 -6px; }

    .faq-layout { grid-template-columns: 1fr; gap: 1.2rem; }
    .faq-side { position: static; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .bubble { width: 42px; height: 42px; border-radius: 13px; }
    .bubble .material-symbols-outlined { font-size: 1.25rem; }
    .grid-4, .feature-grid, .bento, .values-layout { grid-template-columns: 1fr; }
    .bento-feature { grid-column: auto; grid-row: auto; padding: 1.5rem; }
    .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
    .section-head h2 { font-size: 1.75rem; }
    .pillar h3 { min-height: 0; }
    .brand-name { font-size: 1.2rem; }
    .stat { padding: 1.2rem 1rem 1.1rem; }
    .statement { padding: 1.5rem 1.2rem 1.5rem 3.4rem; }
    .statement-mark { left: 0.8rem; top: 0.7rem; font-size: 3.4rem; }
    .safety { align-items: flex-start; font-size: 1rem; }
    .faq-body p { padding-left: 1.3rem; }
    .cta-card { padding: 2.8rem 1.1rem 2.4rem; border-radius: 22px; }
    .cta-crest { width: 190px; }

    /* steps stack; each node links down to the next one, the link drawn as the step appears */
    .steps { grid-template-columns: 1fr; row-gap: 1.4rem; }
    .step { position: relative; flex-direction: row; align-items: flex-start; text-align: left; gap: 1rem; }
    .step-node { width: 60px; height: 60px; }
    .step-node .material-symbols-outlined { font-size: 1.6rem; }
    .step:not(:last-child)::before {
        content: ''; position: absolute; left: 29px; top: 60px; bottom: -1.4rem; width: 2px;
        background: linear-gradient(var(--mint), var(--gold)); box-shadow: 0 0 10px rgba(52, 224, 137, 0.45); transform-origin: top;
    }
    .js .step:not(.is-visible)::before { transform: scaleY(0); }
    .js .step.is-visible::before { transition: transform 0.8s var(--ease) 0.5s; }
    .wallets { flex-direction: column; }
}

/* ============ Coming Soon (before the public launch) ============ */
.soon-chip {
    display: inline-flex; align-items: center; margin-left: 0.45rem; padding: 0.14rem 0.5rem; border-radius: 999px;
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.3; vertical-align: middle;
    color: #1d1404; background: linear-gradient(135deg, #fff1b8, var(--gold) 55%, #c4831a);
    box-shadow: 0 0 12px rgba(242, 182, 50, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.footer-nav .soon-chip { font-size: 0.55rem; padding: 0.08rem 0.4rem; }

.soon {
    position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1.25rem;
    border: 0; background: transparent; color: var(--text); overflow: hidden auto;
}
.soon[open] { display: grid; place-items: center; }
html:has(.soon[open]) { overflow: hidden; }
.soon::backdrop {
    background: radial-gradient(1200px 700px at 50% 35%, rgba(242, 182, 50, 0.10), transparent 60%), rgba(2, 8, 5, 0.86);
    backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.soon[open]::backdrop { animation: fade-in 0.45s ease both; }
.soon.is-closing::backdrop { animation: soon-fade-out 0.28s ease forwards; }

.soon-aurora { position: fixed; inset: -15%; pointer-events: none; filter: blur(70px); opacity: 0.8; }
.soon-aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; animation: soon-drift 16s ease-in-out infinite alternate; }
.soon-aurora i:nth-child(1) { left: -5%; top: -10%; background: radial-gradient(circle, rgba(242, 182, 50, 0.32), transparent 62%); }
.soon-aurora i:nth-child(2) { right: -10%; bottom: -10%; background: radial-gradient(circle, rgba(52, 224, 137, 0.24), transparent 62%); animation-duration: 21s; animation-delay: -7s; }
.soon-aurora i:nth-child(3) { left: 30%; top: 35%; width: 40vmax; height: 40vmax; background: radial-gradient(circle, rgba(255, 228, 150, 0.16), transparent 65%); animation-duration: 26s; animation-delay: -13s; }
.soon-grid {
    position: fixed; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(242, 182, 50, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 182, 50, 0.05) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 68%); mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 68%);
}
.soon-sparks { position: fixed; border-radius: 0; --rise: -105vh; }

.soon-close {
    position: fixed; top: 1.1rem; right: 1.1rem; z-index: 3; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: var(--text); background: rgba(6, 21, 16, 0.65);
    border: 1px solid rgba(242, 182, 50, 0.35); transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.soon-close:hover, .soon-close:focus-visible { transform: rotate(90deg); border-color: var(--gold); background: rgba(242, 182, 50, 0.12); }

.soon-card {
    position: relative; z-index: 2; width: min(580px, 100%); text-align: center; padding: 2.5rem 2.1rem 2.1rem; border-radius: 30px; overflow: hidden;
    background: linear-gradient(160deg, rgba(22, 52, 38, 0.86), rgba(5, 16, 11, 0.94));
    border: 1px solid rgba(242, 182, 50, 0.3);
    box-shadow: 0 50px 140px rgba(0, 0, 0, 0.65), 0 0 80px rgba(242, 182, 50, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.soon-card::before {   /* a gold line along the top edge */
    content: ''; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #ffe9a6, var(--gold), transparent);
}
.soon-card::after {    /* a slow light sweeping across the glass */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 236, 170, 0.09) 50%, transparent 62%);
    transform: translateX(-100%); animation: sweep 6s ease-in-out 1.4s infinite;
}
.soon[open] .soon-card { animation: soon-card-in 0.95s var(--ease) both; }
.soon.is-closing .soon-card { animation: soon-card-out 0.28s ease forwards; }

.soon-crest { position: relative; width: 176px; aspect-ratio: 1; margin: 0 auto 1.5rem; display: grid; place-items: center; }
.soon-halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 182, 50, 0.38), transparent 70%); animation: breathe 3.6s ease-in-out infinite; }
.soon-ring { position: absolute; border-radius: 50%; }
.soon-ring-1 { inset: 0; border: 1px dashed rgba(242, 182, 50, 0.55); animation: spin 24s linear infinite; }
.soon-ring-2 {
    inset: 8%; border: 2px solid transparent; animation: spin 7s linear infinite reverse;
    background: conic-gradient(from 0deg, transparent 0deg, var(--gold) 70deg, transparent 140deg, transparent 180deg, var(--mint) 250deg, transparent 320deg) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
}
.soon-ring-3 { inset: -8%; border: 1px solid rgba(52, 224, 137, 0.35); animation: ring-pulse 3.2s ease-out infinite; }
.soon-orbit { position: absolute; inset: -3%; animation: spin 11s linear infinite; }
.soon-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; top: -4px; left: calc(50% - 4px); background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.soon-orbit i:nth-child(2) { top: auto; bottom: -4px; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.soon-orbit i:nth-child(3) { top: calc(50% - 3px); left: -3px; width: 6px; height: 6px; background: #ffe9a6; box-shadow: 0 0 10px #ffe9a6; }
.soon-logo { position: relative; z-index: 2; width: 62%; filter: drop-shadow(0 0 30px rgba(242, 182, 50, 0.5)); }
.soon[open] .soon-logo { animation: logo-in 0.9s var(--ease) 0.15s both, soon-float 6s ease-in-out 1.1s infinite; }

.soon-kicker {
    display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; padding: 0.38rem 0.95rem; border-radius: 999px;
    border: 1px solid rgba(242, 182, 50, 0.38); background: var(--gold-soft); color: #ffe7a6;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.soon-title { margin: 1rem 0 0; font-family: 'Comfortaa', 'Quicksand', sans-serif; font-weight: 700; line-height: 1.08; font-size: clamp(2.5rem, 9vw, 4.5rem); filter: drop-shadow(0 6px 26px rgba(242, 182, 50, 0.28)); }
.soon-title .l {   /* brushed gold, letter by letter */
    display: inline-block; color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: linear-gradient(180deg, #fff6d2 0%, #ffdf7a 34%, #f2b632 58%, #c27f17 82%, #ffe9a6 100%);
}
.soon-space { display: inline-block; width: 0.32em; }
.soon[open] .soon-title .l { animation: letter-in 0.75s var(--ease) calc(0.35s + var(--i) * 0.06s) both, soon-glint 5s ease-in-out calc(1.6s + var(--i) * 0.08s) infinite; }
.soon-rule { display: block; width: 130px; height: 2px; margin: 0.9rem auto 1.1rem; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--mint), var(--gold), transparent); background-size: 200% 100%; transform-origin: center; }
.soon[open] .soon-rule { animation: bar-in 0.8s var(--ease) 1s both, bar-flow 3s linear 1.8s infinite; }
.soon-lead { margin: 0 auto 1.5rem; max-width: 430px; color: var(--muted); line-height: 1.65; font-size: 0.98rem; }

.soon-progress { max-width: 340px; height: 6px; margin: 0 auto; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); }
.soon-progress span { display: block; height: 100%; width: 88%; border-radius: inherit; transform-origin: left; background: linear-gradient(90deg, var(--mint), var(--gold), #fff1b8, var(--gold), var(--mint)); background-size: 200% 100%; animation: bar-flow 2.6s linear infinite; }
.soon[open] .soon-progress span { animation: bar-in 1.5s var(--ease) 0.9s both, bar-flow 2.6s linear infinite; }
.soon-progress-label { margin: 0.6rem 0 0.4rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }


.soon[open] .soon-kicker { animation: rv-up 0.7s var(--ease) 0.25s both; }
.soon[open] .soon-lead { animation: rv-up 0.7s var(--ease) 1.05s both; }
.soon[open] .soon-progress-label { animation: fade-in 0.7s ease 1.3s both; }

@keyframes soon-card-in { from { opacity: 0; transform: translateY(34px) scale(0.94); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes soon-card-out { to { opacity: 0; transform: translateY(18px) scale(0.97); } }
@keyframes soon-fade-out { to { opacity: 0; } }
@keyframes soon-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(9vw, 7vh, 0) scale(1.18); } }
@keyframes soon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes soon-glint { 0%, 86%, 100% { filter: none; } 92% { filter: brightness(1.45) drop-shadow(0 0 10px rgba(255, 233, 166, 0.7)); } }

@media (max-width: 575px) {
    .soon { padding: 0.9rem; }
    .soon-card { padding: 2rem 1.25rem 1.6rem; border-radius: 24px; }
    .soon-crest { width: 140px; margin-bottom: 1.2rem; }
    .soon-close { top: 0.7rem; right: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .soon-aurora i, .soon-ring, .soon-orbit, .soon-halo, .soon-card::after { animation: none !important; }
}

/* "Verified smart contract on BscScan" chip under the hero buttons */
.verified-chip {
    display: inline-flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; margin-top: 1.1rem; padding: 0.5rem 0.9rem 0.5rem 0.6rem;
    border-radius: 999px; border: 1px solid rgba(52, 224, 137, 0.4); background: rgba(52, 224, 137, 0.08);
    color: #d8f5e6; font-size: 0.86rem; text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.verified-chip:hover { border-color: var(--mint); background: rgba(52, 224, 137, 0.14); transform: translateY(-1px); }
.verified-chip .material-symbols-outlined { color: var(--mint); font-size: 1.2rem; font-variation-settings: 'FILL' 1; }
.verified-chip strong { color: #fff; font-weight: 600; }
.verified-chip-addr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; color: rgba(216, 245, 230, 0.7); }