:root {
    --bg: #0c1117;
    --bg-alt: #111820;
    --bg-card: #141c25;
    --border: #1e2d3d;
    --text: #e8edf2;
    --text-muted: #b8cfe0;
    --accent: #4a9eff;
    --accent-dark: #2d7fd4;
    --accent-glow: rgba(74, 158, 255, 0.12);
    --green: #3dd68c;
    --green-bg: rgba(61, 214, 140, 0.08);
    --red-accent: #ff6b6b;
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ───────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 17, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    flex-shrink: 0;
}

.site-header nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.site-header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}

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

/* ── Buttons ──────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    font-family: inherit;
    line-height: 1.4;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    margin-top: 8px;
}

.btn-share {
    background: var(--bg-card);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-share:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Hero ─────────────────────────────────────── */

.hero {
    padding: 96px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    border: 1px solid rgba(74, 158, 255, 0.3);
    padding: 4px 12px;
    border-radius: 100px;
}

.hero h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    max-width: 620px;
    margin: 0 auto 36px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.cta-mobile { display: none; }

@media (max-width: 768px) {
    .cta-desktop { display: none; }
    .cta-mobile { display: inline-block; }
}

.hero-note {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.hero-note strong {
    color: var(--text);
}

/* ── Why section ─────────────────────────────── */

.section-why {
    padding: 72px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.section-why .container {
    max-width: 740px;
}

.why-lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}

.why-intro {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-list li {
    font-size: 16px;
    color: var(--text);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.why-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.section-why a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
    transition: border-color 0.15s;
}

.section-why a:hover {
    border-color: var(--accent);
}

/* ── Forms section ────────────────────────────── */

.section-forms {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.forms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}

.form-card-alt {
    background: var(--bg-alt);
}

.form-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.form-card h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--text);
}

.form-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.form-card-desc a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
    transition: border-color 0.15s;
}

.form-card-desc a:hover {
    border-color: var(--accent);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a9ab5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #3d5a74;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
    border: none;
    box-shadow: none;
    padding: 0;
}

.hidden {
    display: none !important;
}

.form-success {
    max-width: 640px;
    background: var(--green-bg);
    border: 1.5px solid rgba(61, 214, 140, 0.25);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.success-icon {
    font-size: 32px;
    color: var(--green);
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text);
}

.form-success p {
    color: var(--text-muted);
}

/* ── Org cards ────────────────────────────────── */

.section-orgs {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.section-orgs h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--text);
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.org-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.org-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(74, 158, 255, 0.06);
}

.org-card-placeholder {
    opacity: 0.6;
    border-style: dashed;
}

.org-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.org-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.org-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.org-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.org-card-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.org-card-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.org-card-links a:hover {
    text-decoration: underline;
}

.org-action {
    color: var(--text-muted);
    font-size: 12px;
}

/* ── FAQ ──────────────────────────────────────── */

.section-faq {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
}

.section-faq h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.01em;
    margin-bottom: 40px;
    color: var(--text);
}

.faq-list {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    background: var(--bg-card);
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}

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

.faq-item summary::after {
    content: '+';
    color: var(--accent);
    font-size: 20px;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.15s;
}

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

.faq-item summary:hover {
    background: rgba(74, 158, 255, 0.04);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
    border-top: 1px solid var(--border);
}

.faq-item a {
    color: var(--accent);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* ── Share ────────────────────────────────────── */

.section-share {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(74, 158, 255, 0.06) 0%, transparent 70%);
}

.section-share h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(24px, 3.5vw, 36px);
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    color: var(--text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: var(--bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    gap: 16px;
    flex-wrap: wrap;
}

.footer-inner strong {
    color: var(--text);
}

.footer-inner a, .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-inner a:hover, .footer-links a:hover {
    color: var(--accent);
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 768px) {
    .site-header nav {
        display: none;
    }

    .forms-grid {
        grid-template-columns: 1fr;
    }

    .org-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0 56px;
    }

    .section-forms,
    .section-orgs,
    .section-faq,
    .section-share {
        padding: 56px 0;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .org-grid {
        grid-template-columns: 1fr 1fr;
    }
}
