/* ============================================================
   Shimmer marketing page — tools/shimmer
   Brand tokens mirrored from the app (static/css/tokens.css):
   studio-dark neutrals, amber primary, aurora gradient logomark.
   ============================================================ */

:root {
    --bg-0: #0b0d10;
    --bg-1: #0e1116;
    --bg-2: #10141a;
    --bg-3: #14181e;
    --line: #252c37;

    --fg-0: #e9edf3;
    --fg-1: #c0c8d2;
    --fg-2: #7d8894;

    --amber: #f5a524;
    --gold:  #f77450;
    --pink:  #f472b6;
    --cyan:  #38bdf8;

    --font-ui:   'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, monospace;
    --font-logo: 'Audiowide', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
    background: var(--bg-0);
    color: var(--fg-1);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- aurora gradient text (the logomark treatment) ---------- */
.aurora {
    font-family: var(--font-logo);
    font-weight: 400;
    text-transform: uppercase;
    background: linear-gradient(100deg,
        var(--amber) 0%, #ffd97a 18%, var(--gold) 38%,
        var(--pink) 55%, var(--amber) 75%, #ffd97a 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: aurora-sweep 7s linear infinite;
}
@keyframes aurora-sweep { to { background-position: -220% 0; } }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: clip;
    background:
        radial-gradient(120% 90% at 50% 110%, rgba(245, 165, 36, 0.10) 0%, transparent 55%),
        radial-gradient(90% 70% at 80% -10%, rgba(244, 114, 182, 0.06) 0%, transparent 60%),
        var(--bg-0);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* faint studio grid over the canvas */
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(37, 44, 55, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 44, 55, 0.35) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
    z-index: 3;
}
.hero-nav a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--fg-2);
    text-transform: uppercase;
}
.hero-nav a:hover { color: var(--fg-0); text-decoration: none; }

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 7rem 1.5rem 6rem;
}

/* the big aurora S — floating above the spectrum */
.logomark { line-height: 1; margin-bottom: 0.4rem; }
.big-s {
    display: inline-block;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: 1;
    filter:
        drop-shadow(0 0 34px rgba(245, 165, 36, 0.45))
        drop-shadow(0 0 90px rgba(244, 114, 182, 0.25));
    animation: aurora-sweep 7s linear infinite, s-float 6s ease-in-out infinite;
}
@keyframes s-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.wordmark {
    font-size: clamp(1.9rem, 5.5vw, 3.2rem);
    letter-spacing: 0.30em;
    margin-right: -0.30em;   /* cancel trailing tracking */
    margin-bottom: 1.1rem;
}

.hero-kicker {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-2);
    margin-bottom: 1.6rem;
}
.hero-kicker a { color: var(--amber); }

.hero-headline {
    font-size: clamp(1.5rem, 3.6vw, 2.3rem);
    font-weight: 800;
    color: var(--fg-0);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-sub {
    max-width: 560px;
    margin: 0 auto 2.2rem;
    font-weight: 300;
    color: var(--fg-1);
}

.hero-ctas {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}
.hero-ctas.center { margin-top: 2rem; }

.cta {
    display: inline-block;
    padding: 0.9rem 1.7rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cta:hover { text-decoration: none; transform: translateY(-2px); }
.cta-primary {
    background: linear-gradient(100deg, var(--amber), var(--gold));
    color: #14100a;
    box-shadow: 0 6px 28px rgba(245, 165, 36, 0.35);
}
.cta-primary:hover { box-shadow: 0 10px 38px rgba(245, 165, 36, 0.5); }
.cta-ghost {
    border: 1px solid var(--line);
    color: var(--fg-1);
    background: rgba(16, 20, 26, 0.6);
}
.cta-ghost:hover { border-color: var(--fg-2); color: var(--fg-0); }

.hero-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--fg-2);
}

.hero-legend {
    position: absolute;
    bottom: 1.2rem;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--fg-2);
    z-index: 2;
}
.hero-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-fizz  { background: var(--pink); box-shadow: 0 0 8px rgba(244, 114, 182, 0.8); }
.dot-clean { background: var(--amber); box-shadow: 0 0 8px rgba(245, 165, 36, 0.8); }

/* ============================================================
   BANDS / SECTIONS
   ============================================================ */

.band { padding: clamp(4rem, 9vh, 6.5rem) clamp(1.25rem, 5vw, 3rem); }
.band-alt { background: var(--bg-1); border-block: 1px solid var(--line); }

.wrap { max-width: 1040px; margin: 0 auto; }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4.5rem);
}
.center { text-align: center; }
.center-col { max-width: 720px; }

.kicker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.8rem;
}

h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 800;
    color: var(--fg-0);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.lead { max-width: 620px; margin-inline: auto; margin-bottom: 2.4rem; }
.fine { font-size: 0.85rem; color: var(--fg-2); }
p + p { margin-top: 0.9rem; }

kbd {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 0.08em 0.5em;
    color: var(--fg-0);
}

.steps { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1rem; }
.steps b { color: var(--fg-0); }

/* ---------- 1/2/3 cards ---------- */
.abc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 880px;
    margin: 0 auto;
}
.abc-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem 1.3rem;
    text-align: left;
}
.abc-card.is-hot {
    border-color: rgba(245, 165, 36, 0.5);
    box-shadow: 0 0 34px rgba(245, 165, 36, 0.10);
}
.abc-key {
    display: inline-grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-bottom-width: 3px;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--amber);
    margin-bottom: 0.9rem;
}
.abc-card h3 { color: var(--fg-0); font-size: 1.05rem; margin-bottom: 0.35rem; }
.abc-card p { font-size: 0.9rem; color: var(--fg-2); }

/* ---------- feature grid ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2.2rem;
}
.features article {
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem 1.4rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.features article:hover { border-color: rgba(245, 165, 36, 0.45); transform: translateY(-3px); }
.features h3 { color: var(--fg-0); font-size: 1.02rem; margin-bottom: 0.5rem; }
.features p { font-size: 0.9rem; color: var(--fg-2); }
.features b { color: var(--fg-1); }

.privacy {
    margin-top: 1.4rem;
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--amber);
    background: rgba(245, 165, 36, 0.06);
    border-radius: 0 10px 10px 0;
}

/* ---------- quick start ---------- */
.qs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 880px;
    margin: 2.2rem auto 1.4rem;
}
.qs-card {
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem 1.4rem;
    text-align: left;
}
.qs-card h3 { color: var(--fg-0); margin-bottom: 0.6rem; }
.qs-card p { font-size: 0.92rem; }
pre {
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    overflow-x: auto;
}
code { font-family: var(--font-mono); font-size: 0.84rem; color: var(--fg-0); }

/* ============================================================
   FOOTER
   ============================================================ */

.foot {
    border-top: 1px solid var(--line);
    padding: 3rem clamp(1.25rem, 5vw, 3rem) 3.5rem;
    text-align: center;
    background: var(--bg-1);
}
.foot-brand { font-size: 1.3rem; letter-spacing: 0.24em; margin-bottom: 0.7rem; }
.foot-brand .aurora { letter-spacing: 0.24em; }
.foot-by { font-size: 0.75rem; color: var(--fg-2); letter-spacing: 0.1em; }
.foot p { max-width: 480px; margin-inline: auto; font-size: 0.9rem; color: var(--fg-2); }
.foot nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 1.4rem 0 1.2rem;
    font-size: 0.88rem;
}

/* ============================================================
   RESPONSIVE + MOTION
   ============================================================ */

@media (max-width: 780px) {
    .two-col { grid-template-columns: 1fr; }
    .abc { grid-template-columns: 1fr; }
    .qs { grid-template-columns: 1fr; }
    .hero-legend { gap: 1.1rem; flex-wrap: wrap; padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .aurora, .big-s { animation: none !important; }
    .cta, .features article { transition: none; }
}
