/* Crypto Trending Memecoins — marketing site
   Dark-first by commitment: the site inherits the app's own terminal-dark identity. */

:root {
    --ink-0: #07060d;
    /* page ground: violet-black */
    --ink-1: #0e0b1b;
    /* raised section */
    --ink-2: #171230;
    /* card */
    --line: #29224a;
    --text: #f2f0fa;
    --text-dim: #9b94b8;
    --pump: #14f195;
    /* the accent: gains + CTA */
    --pump-ink: #04130c;
    --violet: #9945ff;
    /* ambient brand glow */
    --dump: #ff5c7a;

    --font-display: 'Unbounded', 'Avenir Next', 'Helvetica Neue', sans-serif;
    --font-body: 'Hanken Grotesk', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;

    --radius: 18px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink-0);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Type ---------- */

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.4rem, 6.2vw, 4.4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pump);
    margin-bottom: 1.1rem;
}

.grad {
    background: linear-gradient(92deg, var(--violet) 0%, var(--pump) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--pump);
    /* fallback for non-webkit clip */
}

.section-lede {
    color: var(--text-dim);
    max-width: 56ch;
    margin-bottom: 3rem;
}

/* ---------- Accessibility ---------- */

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    background: var(--pump);
    color: var(--pump-ink);
    padding: 10px 18px;
    border-radius: 0 0 10px 0;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

a:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--pump);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Nav ---------- */

nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 14px 0;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(7, 6, 13, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.brand em {
    font-style: normal;
    color: var(--pump);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

/* ---------- Ticker tape ---------- */

.tape {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    z-index: 900;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(14, 11, 27, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    padding: 7px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tape-track {
    display: flex;
    gap: 2.6rem;
    width: max-content;
    animation: tape-scroll 36s linear infinite;
}

.t {
    white-space: nowrap;
    color: var(--text-dim);
}

.t b {
    font-weight: 600;
}

.up {
    color: var(--pump);
}

.dn {
    color: var(--dump);
}

@keyframes tape-scroll {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s ease;
}

.btn-solid {
    background: var(--pump);
    color: var(--pump-ink);
    box-shadow: 0 8px 30px rgba(20, 241, 149, 0.22);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(20, 241, 149, 0.35);
}

.btn-ghost {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: var(--pump);
    color: var(--pump);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 176px 0 70px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.hero::before {
    width: 560px;
    height: 560px;
    top: -180px;
    right: 6%;
    background: radial-gradient(circle, rgba(153, 69, 255, 0.28) 0%, transparent 70%);
}

.hero::after {
    width: 480px;
    height: 480px;
    bottom: -220px;
    left: -8%;
    background: radial-gradient(circle, rgba(20, 241, 149, 0.14) 0%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3rem;
    position: relative;
}

.lede {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 50ch;
    margin: 1.4rem 0 2.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    margin-top: 3rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--line);
}

.hero-stats dt {
    font-family: var(--font-mono);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--pump);
    font-variant-numeric: tabular-nums;
}

.hero-stats dd {
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* ---------- Phone frames ---------- */

.phone {
    position: relative;
    width: min(320px, 78vw);
    margin: 0 auto;
    border: 10px solid #1b1631;
    border-radius: 48px;
    overflow: hidden;
    background: #000;
    box-shadow:
        0 0 0 1px #322a58,
        0 30px 80px -20px rgba(0, 0, 0, 0.75),
        0 0 90px -30px rgba(153, 69, 255, 0.5);
}

.hero-device .phone {
    transform: rotate(2.5deg);
}

.phone img {
    width: 100%;
}

.phone-sm {
    width: min(280px, 70vw);
}

figure.phone {
    overflow: visible;
    border-radius: 44px;
}

figure.phone img {
    border-radius: 34px;
}

figure.phone figcaption {
    margin-top: 1.2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ---------- Sections ---------- */

.section {
    padding: 110px 0;
}

.section-raised {
    background: var(--ink-1);
    border-block: 1px solid var(--line);
}

/* ---------- Radars ---------- */

.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.radar-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.radar-card:hover {
    transform: translateY(-4px);
    border-color: var(--violet);
}

.radar-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--pump);
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.22), rgba(20, 241, 149, 0.12));
    border: 1px solid var(--line);
    margin-bottom: 1.3rem;
}

.radar-card h3 {
    font-size: 1.25rem;
}

.radar-src {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--violet);
    margin: 0.3rem 0 0.9rem;
}

.radar-card>p:last-child {
    color: var(--text-dim);
    font-size: 0.97rem;
}

/* ---------- Features ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 3rem;
}

.feature {
    padding: 1.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.feature:hover {
    border-color: var(--pump);
    background: rgba(20, 241, 149, 0.04);
}

.f-icon {
    color: var(--pump);
    margin-bottom: 1.1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ---------- How it works ---------- */

.how-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.6rem 3.5rem;
    margin-top: 3rem;
}

.how-col h3 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    color: var(--pump);
}

.how-col p {
    color: var(--text-dim);
    max-width: 58ch;
}

.how-col strong {
    color: var(--text);
    font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq-wrap h2 {
    margin-bottom: 2.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 780px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--ink-2);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--violet);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 1.4rem;
    font-weight: 700;
    font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--pump);
    flex-shrink: 0;
    transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--pump);
    outline-offset: -2px;
}

.faq-item p {
    padding: 0 1.4rem 1.2rem;
    color: var(--text-dim);
    font-size: 0.98rem;
    max-width: 66ch;
}

.faq-item a {
    color: var(--pump);
}

/* ---------- Inside the app ---------- */

.inside-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.inside-points {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.point {
    display: flex;
    gap: 1.3rem;
    align-items: flex-start;
}

.point-k {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pump);
    border: 1px solid var(--line);
    border-radius: 10px;
    min-width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--ink-2);
    flex-shrink: 0;
}

.point h3 {
    margin-bottom: 0.35rem;
}

.point p {
    color: var(--text-dim);
    font-size: 0.97rem;
    max-width: 52ch;
}

/* ---------- Privacy band ---------- */

.privacy-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.privacy-copy {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 46ch;
}

.privacy-copy a {
    color: var(--pump);
}

/* ---------- Final CTA ---------- */

.cta-final {
    text-align: center;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: auto 0 -320px 0;
    height: 560px;
    background: radial-gradient(ellipse at center, rgba(153, 69, 255, 0.22) 0%, transparent 65%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: clamp(2rem, 5.4vw, 3.6rem);
    margin-bottom: 2.4rem;
}

.cta-note {
    margin-top: 1.4rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* ---------- Footer ---------- */

footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
    background: var(--ink-1);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}

.footer-about {
    color: var(--text-dim);
    font-size: 0.92rem;
    max-width: 64ch;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--pump);
}

.fine {
    color: #5d5680;
    font-size: 0.82rem;
    max-width: 60ch;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Legacy privacy page ---------- */

.content-page {
    padding: 140px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    margin-bottom: 2rem;
}

.content-page h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.content-page p,
.content-page ul {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
}

.content-page ul {
    margin-left: 1.5rem;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .tape-track {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .radar-card {
        transition: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lede,
    .section-lede {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-stats {
        justify-content: center;
    }

    .hero-device {
        margin-top: 2.5rem;
    }

    .radar-grid,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .inside-grid,
    .privacy-band,
    .how-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .brand span {
        font-size: 0.72rem;
    }

    .hero {
        padding-top: 150px;
    }

    .radar-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .hero-stats {
        gap: 1.6rem;
        justify-content: space-between;
    }
}
