/* Public landing page. Self-contained: no external fonts, scripts or icon sets. */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-VF.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --bg: #181a20; --panel: #23272f; --logo-red: #2a0a0e; --logo-green: #0a1f17;
    --accent: #0bb276; --highlight: #ff555c; --text: #f5f5f5; --muted: #b0b3b8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6;
       font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--accent); }
a:hover { color: var(--highlight); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.navbar { background: var(--panel); border-bottom: 1px solid #2d323c; padding: 14px 0; }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navbar .nav-links { display: flex; align-items: center; gap: 20px; }
.navbar img { height: 28px; width: auto; display: block; }
.navbar a.nav-link { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.navbar a.nav-link:hover { color: var(--highlight); }

.hero { background: linear-gradient(135deg, var(--logo-red) 0%, var(--logo-green) 100%);
        padding: 96px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.8rem); line-height: 1.1; letter-spacing: -.02em;
           font-weight: 700; margin-bottom: 24px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }

.wl-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 0 auto 14px; }
.wl-form input[type=email] { flex: 1 1 220px; min-width: 0; padding: 14px 16px; border-radius: 10px;
        border: 1px solid #3a404c; background: var(--bg); color: var(--text); font: inherit; }
.wl-form input[type=email]:focus-visible, .wl-form button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-form button { padding: 14px 26px; border: 0; border-radius: 10px; background: var(--accent);
        color: #06130d; font: inherit; font-weight: 700; cursor: pointer; }
.wl-form button:hover { filter: brightness(1.1); }
.note { color: var(--muted); font-size: .9rem; max-width: 520px; margin: 0 auto; }
.note a { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash { max-width: 520px; margin: 0 auto 20px; padding: 12px 16px; border-radius: 10px; text-align: left; }
.flash.ok { background: #16332a; color: #8fe0b5; }
.flash.bad { background: #3a1d1a; color: #ffb4a6; }

.features { padding: 80px 0; }
.features h2, .cta h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); text-align: center; margin-bottom: 40px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { background: var(--panel); border-radius: 14px; padding: 26px 24px; border: 1px solid #2d323c; }
.feature svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.8;
               stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); }

.cta { background: var(--panel); padding: 72px 0; text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta .lead { font-size: 1.05rem; margin-bottom: 28px; }

footer { padding: 32px 0; color: var(--muted); font-size: .88rem; text-align: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--highlight); }

@media (max-width: 480px) { .hero { padding: 64px 0 56px; } .features { padding: 56px 0; } .wl-form button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
