:root {
    --ms-accent: #6c5ce7;
    --ms-accent-soft: rgba(108, 92, 231, 0.08);
    --ms-max-width: 880px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

@supports (font-variation-settings: normal) {
    :root { font-family: 'Inter var', system-ui, sans-serif; }
}

body {
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

.container {
    max-width: var(--ms-max-width);
}

/* ---------- Header ---------- */

.site-header {
    padding-top: 1.5rem;
    padding-bottom: 0;
}

.site-header nav ul {
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.brand strong {
    letter-spacing: -0.01em;
    font-size: 1.05rem;
}

.brand-mark {
    height: 1.6rem;
    width: auto;
    display: block;
}

/* ---------- Sections ---------- */

.section {
    padding: 4rem 0;
    border-top: 1px solid var(--pico-muted-border-color, rgba(127,127,127,0.15));
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section h3 {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.section-lead {
    font-size: 1.1rem;
    max-width: 60ch;
    color: var(--pico-muted-color);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ms-accent);
    margin-bottom: 0.6rem;
}

/* ---------- Hero ---------- */

.hero {
    padding: 4rem 0 3rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
    max-width: 18ch;
}

.hero .lead {
    font-size: 1.2rem;
    max-width: 58ch;
    color: var(--pico-muted-color);
    margin-bottom: 2rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cta-row a[role="button"] {
    margin: 0;
}

/* ---------- Lists ---------- */

.bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.bullets li {
    list-style: none;
    padding: 0.6rem 0 0.6rem 1.6rem;
    position: relative;
    border-top: 1px solid var(--pico-muted-border-color, rgba(127,127,127,0.12));
}

.bullets li::marker {
    content: none;
}

.bullets li:first-child {
    border-top: none;
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--ms-accent);
}

/* ---------- Grids ---------- */

.grid.pillars,
.grid.features {
    margin-top: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.grid.pillars article,
.grid.features article {
    border: 1px solid var(--pico-muted-border-color, rgba(127,127,127,0.18));
    border-radius: 12px;
    padding: 1.4rem;
    background: var(--pico-card-background-color);
    margin: 0;
}

.grid.pillars article p,
.grid.features article p {
    color: var(--pico-muted-color);
    margin: 0;
}

/* ---------- Accent + CTA sections ---------- */

.section-accent {
    background: var(--ms-accent-soft);
    border-radius: 16px;
    padding: 3rem 2rem;
    border-top: none;
    margin-top: 4rem;
}

.section-accent .example {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--ms-accent);
    color: var(--pico-muted-color);
    background: var(--pico-card-background-color);
    border-radius: 0 8px 8px 0;
}

.section-cta {
    text-align: left;
}

.signup {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 1.5rem;
    max-width: 520px;
}

.signup label {
    flex-basis: 100%;
    margin: 0;
}

.signup input[type="email"] {
    flex: 1 1 240px;
    margin: 0;
}

.signup button,
.signup input[type="submit"] {
    margin: 0;
    flex: 0 0 auto;
}

.signup-status {
    flex-basis: 100%;
    margin: 0.4rem 0 0;
    color: var(--ms-accent);
    font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 2.5rem 0 3rem;
    margin-top: 2rem;
    border-top: 1px solid var(--pico-muted-border-color, rgba(127,127,127,0.15));
    color: var(--pico-muted-color);
}

.site-footer small {
    display: block;
    margin-inline-start: 0.5rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 720px) {
    .site-header {
        padding-top: 1rem;
    }

    .site-header nav {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .site-header nav ul {
        flex-wrap: wrap;
        gap: 0.25rem 0.75rem;
        margin: 0;
        padding: 0;
    }

    .site-header nav ul li {
        padding: 0.25rem 0;
    }

    .nav-link {
        display: none;
    }

    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .hero h1 br {
        display: none;
    }

    .hero .lead {
        font-size: 1.05rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-accent {
        padding: 2rem 1.25rem;
        margin-top: 3rem;
    }

    .cta-row a[role="button"] {
        flex: 1 1 auto;
        text-align: center;
    }

    .signup input[type="email"],
    .signup button,
    .signup input[type="submit"] {
        flex: 1 1 100%;
    }

    .site-footer small {
        margin-inline-start: 1rem;
    }
}
