:root {
    --bg: #050805;
    --bg-card: #0d120e;
    --pea: #39d353;
    --pea-deep: #1f8f38;
    --chrome: #e8edf0;
    --text: #f4f7f5;
    --muted: #9aa89d;
    --line: rgba(57, 211, 83, 0.16);
    --glow: rgba(57, 211, 83, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(900px 520px at 50% -10%, rgba(57, 211, 83, 0.16), transparent 58%),
        radial-gradient(700px 400px at 100% 80%, rgba(31, 143, 56, 0.10), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

a { color: var(--pea); }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(5, 8, 5, 0.72);
    border-bottom: 1px solid var(--line);
}

.site-nav-inner,
.wrap {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand-home {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wordmark {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-links a {
    color: var(--chrome);
    text-decoration: none;
}

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

.hero {
    text-align: center;
    padding: 72px 0 36px;
}

.hero-logo {
    width: min(240px, 58vw);
    height: min(240px, 58vw);
    margin: 0 auto 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 24px 80px var(--glow);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pea);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 14ch;
    margin: 0 auto 16px;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 38rem;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.cta:hover { transform: translateY(-1px); }

.cta-primary {
    background: linear-gradient(180deg, #4ae865, var(--pea-deep));
    color: #041006;
    box-shadow: 0 10px 28px rgba(57, 211, 83, 0.28);
}

.cta-secondary {
    border: 1px solid var(--line);
    background: rgba(13, 18, 14, 0.7);
    color: var(--chrome);
}

.note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.88rem;
}

.pillars,
.steps {
    display: grid;
    gap: 16px;
    padding: 20px 0 64px;
}

.pillars { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); padding-top: 0; }

.card {
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(13, 18, 14, 0.88));
}

.card h2,
.card h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.card p,
.legal p {
    color: var(--muted);
    line-height: 1.55;
}

.step-num {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--pea);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.legal-page { padding: 48px 0 80px; }

.legal-page h1 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.legal-intro {
    max-width: 42rem;
    margin-bottom: 28px;
    color: var(--muted);
    line-height: 1.6;
}

.legal-block {
    margin-bottom: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--bg-card);
}

.legal-block h2 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

footer {
    margin-top: auto;
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.8;
}

footer a {
    color: var(--pea);
    font-weight: 600;
    text-decoration: none;
}

footer a:hover { text-decoration: underline; }

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
}

.modal-content {
    width: min(560px, 100%);
    max-height: 85vh;
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #0a0e0b;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.done {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--pea);
    border-radius: 12px;
    padding: 6px 12px;
    font-weight: 700;
    cursor: pointer;
}

.close-wide {
    width: 100%;
    margin-top: 8px;
    border: 0;
    border-radius: 14px;
    padding: 14px;
    background: var(--pea);
    color: #041006;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 760px) {
    .pillars,
    .steps { grid-template-columns: 1fr; }
    .hero { padding-top: 48px; }
    .nav-links { gap: 12px; font-size: 0.85rem; }
}
