﻿/* ========== Reset ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* ========== Base ========== */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #020617;
    background: radial-gradient(circle at top, #050816 0, #020617 42%, #020617 100%);
    -webkit-font-smoothing: antialiased;
}

/* ========== Header ========== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.75), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.site-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem 0.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.98rem;
}

.site-logo-mark {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.9);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fed7aa;
    background: radial-gradient(circle at top left, #f97316 0, #0b1120 70%);
}

.site-logo-text {
    font-weight: 600;
    color: #f9fafb;
}

.site-tagline {
    font-size: 0.8rem;
    color: #e5e7eb;
    opacity: 0.9;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.9rem;
}

    .site-nav a {
        text-decoration: none;
        color: #e5e7eb;
        padding-bottom: 0.18rem;
        border-bottom: 1px solid transparent;
        opacity: 0.86;
        transition: opacity 0.1s ease, border-color 0.1s ease, transform 0.1s ease;
    }

        .site-nav a:hover,
        .site-nav a:focus-visible {
            opacity: 1;
            border-bottom-color: rgba(248, 250, 252, 0.9);
        }

    .site-nav .nav-cta {
        padding: 0.28rem 0.75rem 0.36rem;
        border-radius: 999px;
        border: 1px solid rgba(248, 113, 22, 0.75);
        background: radial-gradient(circle at top left, rgba(248, 113, 22, 0.28), rgba(15, 23, 42, 0.95));
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.9);
    }

        .site-nav .nav-cta:hover,
        .site-nav .nav-cta:focus-visible {
            border-bottom-color: rgba(248, 113, 22, 0.75);
        }

/* ========== Hero ========== */

.hero {
    position: relative;
    padding: 3.5rem 1.25rem 3.5rem;
    color: #f9fafb;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.35), transparent 55%), radial-gradient(circle at 85% 0%, rgba(248, 113, 113, 0.35), transparent 55%), radial-gradient(circle at 50% 70%, rgba(248, 250, 252, 0.08), transparent 65%);
    opacity: 0.95;
    z-index: -1;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    min-height: min(650px, 90vh);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 2.8rem;
}

.hero-left {
    position: relative;
    z-index: 1;
}

.hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background-color: rgba(15, 23, 42, 0.94);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.85);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e5e7eb;
    margin-bottom: 0.75rem;
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bfdbfe;
    margin: 0 0 0.55rem;
}

.hero-title {
    font-size: clamp(2.4rem, 3.6vw, 3.1rem);
    line-height: 1.05;
    margin: 0 0 0.45rem;
    color: #fefce8;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #e0f2fe;
    margin: 0 0 1.3rem;
}

.hero-copy {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #e5e7eb;
    max-width: 40rem;
    margin: 0 0 0.9rem;
}

.hero-caption {
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
    color: #e5e7eb;
    opacity: 0.9;
}

/* Book visual */

.hero-book-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
}

/* ========== Interest form ========== */

.interest-form {
    margin-top: 1.5rem;
    padding: 1.1rem 1.2rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background-color: rgba(15, 23, 42, 0.92);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.9);
}

.interest-form--secondary {
    background-color: rgba(15, 23, 42, 0.98);
}

.interest-form-title {
    margin: 0 0 0.7rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: #f9fafb;
}

.field-label {
    display: block;
    font-size: 0.8rem;
    color: #e5e7eb;
    opacity: 0.85;
    margin-bottom: 0.35rem;
}

.field-row {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.field-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
    background-color: rgba(15, 23, 42, 0.94);
    color: #f9fafb;
    outline: none;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.85);
}

    .field-input::placeholder {
        color: rgba(148, 163, 184, 0.95);
    }

    .field-input:focus-visible {
        border-color: rgba(56, 189, 248, 0.9);
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.9), 0 0 0 4px rgba(56, 189, 248, 0.25);
    }

.field-help {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: #cbd5f5;
}

.primary-button {
    border-radius: 999px;
    border: none;
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: #0b1020;
    background: linear-gradient(135deg, #f97316, #fb7185);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .primary-button:hover,
    .primary-button:focus-visible {
        filter: brightness(1.06);
        transform: translateY(-0.5px);
    }

.form-message {
    margin: 0.6rem 0 0;
    font-size: 0.8rem;
}

/* ========== Sections ========== */

.section {
    padding: 3rem 1.25rem 3.25rem;
}

.section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section-about {
    background: radial-gradient(circle at top, #e0f2fe 0, #eff6ff 40%, #e5f0ff 100%);
    color: #0f172a;
}

.section-themes {
    background: radial-gradient(circle at top left, #020617 0, #020617 50%, #020617 100%);
    color: #e5e7eb;
}

.section-approach {
    background: radial-gradient(circle at top right, #e0f2fe 0, #eef2ff 45%, #e5e7eb 100%);
}

.section-updates {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.section-header h2 {
    font-size: 1.55rem;
    margin: 0 0 0.4rem;
}

.section-header p {
    max-width: 44rem;
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0.3rem 0 0;
    color: #4b5563;
}

.section-themes .section-header p,
.section-updates .section-header p {
    color: #d1d5db;
}

.section h3 {
    font-size: 1.08rem;
    margin: 0 0 0.6rem;
}

.section p {
    font-size: 0.96rem;
    line-height: 1.8;
    margin: 0 0 0.8rem;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-start;
}

/* Themes section overrides */

.section-themes .section-header h2 {
    color: #e5e7eb;
}

/* Lists */

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .bullet-list li {
        position: relative;
        padding-left: 1.1rem;
        margin-bottom: 0.6rem;
        font-size: 0.96rem;
        line-height: 1.7;
    }

        .bullet-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.63rem;
            width: 0.35rem;
            height: 0.35rem;
            border-radius: 999px;
            background: radial-gradient(circle at center, #f97316, #fb7185);
        }

/* Approach card */

.method-card {
    border-radius: 1rem;
    padding: 1.4rem 1.45rem;
    background: radial-gradient(circle at top left, #dbeafe 0, #fee2e2 40%, #f1f5f9 100%);
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.method-pill {
    display: inline-flex;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.7);
    background: #e0f2fe;
    margin-bottom: 0.7rem;
}

.method-quote {
    font-size: 0.96rem;
    line-height: 1.8;
    margin: 0 0 0.7rem;
}

.method-note {
    font-size: 0.82rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Updates section */

.section-updates-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-start;
    color: #e5e7eb;
}

.section-updates h2 {
    color: #f9fafb;
}

.section-updates p {
    color: #e5e7eb;
}

/* ========== Footer ========== */

.site-footer {
    padding: 2.6rem 1.25rem 2.4rem;
    background: #020617;
}

.site-footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding-top: 1.6rem;
}

.footer-book-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.author-footer {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.85);
}

.author-bio {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #e5e7eb;
}

.footer-text {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0.2rem 0 0;
}

/* ========== Utility ========== */

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ========== Responsive ========== */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.2rem;
    }

    .hero {
        padding-top: 2.8rem;
    }

    .hero-right {
        order: -1;
    }

    .section-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-updates-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-header-inner {
        padding-inline: 1rem;
    }

    .section {
        padding-inline: 1rem;
    }
}

@media (max-width: 640px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hero-inner {
        min-height: auto;
    }

    .field-row {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 0.9rem;
    }

    .author-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
