:root {
    --bg: #ffffff;
    --bg-page: #f1f5f9;
    --bg-alt: #eff6ff;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-light: #dbeafe;
    --accent-hover: #1d4ed8;
    --accent-teal: #0ea5e9;
    --success: #16a34a;
    --success-bg: #f0fdf4;
    --error: #dc2626;
    --error-bg: #fef2f2;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1140px;
    --header-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

/* Header / Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    min-height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
    flex-shrink: 0;
}

.logo-text {
    white-space: nowrap;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-teal));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.nav-desktop a {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta-desktop {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.mobile-nav[hidden] {
    display: none !important;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0 1.25rem;
}

.mobile-nav-inner a:not(.btn) {
    padding: 0.875rem 0.75rem;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.mobile-nav-inner a:not(.btn):hover {
    background: var(--bg-alt);
    color: var(--accent);
}

.mobile-nav-inner .btn {
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.hero-benefits {
    margin-top: 2rem;
}

.hero-form-card {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    padding: 1.5rem;
}

.hero-form-card textarea {
    min-height: 80px;
}

.hero-form-card .disclaimer-text {
    font-size: 0.72rem;
    padding: 0.75rem;
}

.hero-form-card .form-card-title {
    font-size: 1.15rem;
}

.hero-form-card .form-card-sub {
    margin-bottom: 1rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.12;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.hero-text {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    max-width: 52ch;
    margin: 0;
}

.stat-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.stat-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-list li:hover {
    border-color: #bfdbfe;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stat-list strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.95rem;
}

.stat-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #ffffff;
    border-block: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.75rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.55;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-teal));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.step-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.925rem;
}

/* Contact */
.contact-section {
    padding-bottom: 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-copy h2 {
    font-size: clamp(1.75rem, 4vw, 2.2rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.contact-copy > p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
}

.contact-info {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.contact-info a {
    font-weight: 600;
    font-size: 1.05rem;
    word-break: break-all;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 4vw, 2rem);
    box-shadow: var(--shadow-lg);
}

.form-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.form-card-sub {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

input,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: #fff;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.disclaimer-wrap {
    margin-top: 1rem;
}

.disclaimer-text {
    margin: 0;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.consent-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border: 1px solid var(--border);
}

.consent-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-box label {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
    cursor: pointer;
}

.form-submit-wrap {
    margin-top: 1.25rem;
}

.form-message {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    display: none;
    font-size: 0.925rem;
}

.form-message.success {
    display: block;
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #bbf7d0;
}

.form-message.error {
    display: block;
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid,
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }

    .nav-desktop,
    .nav-cta-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-form-card {
        position: static;
        order: -1;
    }

    .section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.25rem, var(--max-width));
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    input,
    textarea,
    .btn {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }
}

/* Legal pages */
.legal-page {
    padding: 3rem 0 5rem;
    background: var(--bg);
}

.legal-content {
    max-width: 780px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    letter-spacing: -0.02em;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 1.75rem;
}

.legal-content h2 {
    margin: 2rem 0 0.75rem;
    font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-content ul {
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    font-weight: 500;
}

@media (max-width: 640px) {
    .legal-page {
        padding: 2rem 0 3.5rem;
    }
}
