/* PUMPFONE site — shared tokens and chrome (landing page + docs).
   Layout concept: a megaphone blast in a dark room. Slanted extra-wide type,
   glass panels lit from inside, sound-wave rings and one green speed-line band. */
:root {
    --ink: #000000;
    --ink-2: #080808;
    --panel: rgba(255, 255, 255, 0.035);
    --panel-solid: #0b120d;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --fg: #f2f7f1;
    --muted: #93a697;
    --faint: #5d6e61;
    --volt: #20e85a;
    --volt-hi: #a2ffb8;
    --volt-ink: #021004;
    --volt-soft: rgba(32, 232, 90, 0.12);
    --volt-glow: rgba(32, 232, 90, 0.35);
    --down: #ff6b78;
    --display: "Archivo", "Arial Black", Impact, sans-serif;
    --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --wrap: 1200px;
    --radius: 22px;
    color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: #1f2d22 var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--ink);
    color: var(--fg);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* Film grain over everything — the "printed poster" texture that keeps flat blacks from looking cheap. */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Paints the band under the phone's status bar so content never shows above the sticky nav. */
body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    z-index: 60;
    background: var(--ink);
}
::selection { background: var(--volt); color: var(--volt-ink); }

/* The particle network (bg.js) sits behind every page on plain black. */
.net-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.net-bg canvas { display: block; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* Type */
.slam {
    font-family: var(--display);
    font-stretch: 125%;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 0.9;
    text-wrap: balance;
    margin: 0;
}
.chrome {
    background: linear-gradient(180deg, #ffffff 0%, #dfe9de 55%, #9fb3a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.volt { color: var(--volt); }
.sheen {
    background: linear-gradient(100deg, var(--volt) 0%, var(--volt) 40%, var(--volt-hi) 50%, var(--volt) 60%, var(--volt) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .sheen { animation: none; } }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--volt);
    margin: 0;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; transform: skewX(-30deg); }
h2.slam { font-size: clamp(36px, 5.6vw, 68px); }
h3 { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 21px; line-height: 1.2; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 19px; max-width: 60ch; }
.mono { font-family: var(--mono); }

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-volt {
    background: linear-gradient(180deg, #55f07f 0%, var(--volt) 55%, #13c24a 100%);
    color: var(--volt-ink);
    box-shadow: 0 0 0 1px rgba(162, 255, 184, 0.5) inset, 0 10px 30px -8px var(--volt-glow);
}
.btn-volt:hover { box-shadow: 0 0 0 1px rgba(162, 255, 184, 0.7) inset, 0 14px 40px -6px var(--volt-glow); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Glass panel with a lit edge. Cards follow the cursor with a soft spotlight (--mx/--my set in JS). */
.glass {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(32, 232, 90, 0.13), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glass:hover::before { opacity: 1; }
.glass.lit {
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(14, 24, 16, 0.96), rgba(6, 10, 7, 0.96)) padding-box,
        linear-gradient(140deg, rgba(32, 232, 90, 0.75), rgba(32, 232, 90, 0.05) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(255, 255, 255, 0.22)) border-box;
}

/* Nav */
.nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: none; gap: 30px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--volt); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav .btn { padding: 10px 18px; font-size: 15px; }
.nav-docs { display: inline-flex; }
@media (min-width: 940px) { .nav-links { display: flex; } .nav-docs { display: none; } }
@media (max-width: 420px) { .nav-docs { display: none; } }

/* X button (site.js turns it into a link, or shows "Soon" until the profile exists) */
.x-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--fg);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.x-btn:hover { border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); }
.x-btn svg, .x-cta svg { width: 16px; height: 16px; }
.x-btn.is-soon { color: var(--muted); cursor: default; transform: none; }
.x-btn.is-soon::after {
    content: "Soon";
    position: absolute;
    top: -7px;
    right: -12px;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--volt-ink);
    background: var(--volt);
    padding: 1px 6px;
    border-radius: 999px;
}
.x-cta.is-soon { cursor: default; color: var(--muted); }
.x-cta.is-soon:hover { transform: none; }
.soon-tag { display: none; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--volt-ink); background: var(--volt); padding: 2px 8px; border-radius: 999px; }
.is-soon .soon-tag { display: inline-block; }

/* Coin CA box */
.ca-box {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 560px);
    min-width: 0;
    padding: 8px 8px 8px 16px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ca-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); white-space: nowrap; }
.ca-value { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-box.is-soon .ca-value { color: var(--muted); }
.ca-copy { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 16px; border: 0; border-radius: 10px; background: var(--volt); color: var(--volt-ink); cursor: pointer; white-space: nowrap; }
.ca-copy:disabled { background: rgba(255, 255, 255, 0.06); color: var(--faint); cursor: default; }

/* Footer */
footer { border-top: 1px solid var(--line); position: relative; z-index: 1; }
footer .wrap { display: grid; gap: 28px; padding-block: 44px 36px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot-top img { height: 56px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--muted); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--fg); }
.foot-legal { font-size: 13.5px; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 22px; }
