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

:root {
    --mm-ink: #201816;
    --mm-indigo: #3e448a;
    --mm-indigo-dark: #2d3266;
    --mm-paper: #f2eef0;
    --mm-coral: #ff6273;
    --mm-white: #fdfdfd;
    --text-muted: #62616a;
    --line: rgba(62, 68, 138, 0.22);
    --content-width: 1200px;
    --reading-width: 65ch;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-label: 'Saira', Bahnschrift, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--mm-ink);
    background: var(--mm-paper);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 48px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--mm-indigo);
    outline-offset: 4px;
}

footer a:focus-visible,
.cookie-banner button:focus-visible {
    outline-color: var(--mm-white);
}

main:focus {
    outline: none;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 3px;
    background: var(--mm-coral);
    flex: 0 0 auto;
}

.section-intro {
    max-width: var(--reading-width);
    color: var(--text-muted);
    font-size: 17px;
}

.section-intro a {
    color: var(--mm-indigo);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Header */

header {
    border-bottom: 1px solid var(--line);
    background: var(--mm-paper);
}

header .container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo svg {
    display: block;
    width: auto;
    height: 24px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

header nav a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 0.2s;
}

header nav a:hover {
    border-color: var(--mm-coral);
}

/* Hero */

.hero {
    padding: 88px 0 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 72px;
    align-items: center;
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    max-width: 790px;
    margin-bottom: 28px;
    color: var(--mm-indigo);
    font-family: var(--font-serif);
    font-size: clamp(56px, 5.4vw, 74px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
}

.hero .subtitle {
    max-width: var(--reading-width);
    margin-bottom: 36px;
    color: var(--text-muted);
    font-size: 19px;
    line-height: 1.55;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero .cta,
.cta-subtle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid var(--mm-indigo);
    border-radius: 2px;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hero .cta {
    background: var(--mm-indigo);
    color: var(--mm-white);
}

.hero .cta:hover {
    background: var(--mm-indigo-dark);
    transform: translateY(-2px);
}

.hero .cta svg,
.cta-subtle svg {
    width: 16px;
    height: 16px;
}

.hero-index {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 48px;
    padding: 32px;
    background: var(--mm-indigo);
    color: var(--mm-white);
}

.hero-index-label {
    font-family: var(--font-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-index dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
}

.hero-index .metric-total {
    grid-column: 1 / -1;
}

.hero-index dl > div {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 12px;
    border-top: 1px solid rgba(253, 253, 253, 0.35);
}

.hero-index dd {
    font-family: var(--font-body);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-index dt {
    margin-top: 5px;
    color: rgba(253, 253, 253, 0.72);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Problem */

.problem {
    padding: 88px 0;
    background: var(--mm-white);
}

.problem .container {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
}

.problem p {
    max-width: var(--reading-width);
}

.problem p:first-child {
    color: var(--mm-indigo);
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.28;
}

.problem p:nth-child(2) {
    padding-top: 6px;
    color: var(--mm-ink);
    font-size: 17px;
}

.problem a {
    color: var(--mm-indigo);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* How it works */

.how-it-works {
    padding: 88px 0 96px;
}

.how-it-works .section-intro {
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    padding-top: 24px;
    border-top: 2px solid var(--mm-indigo);
}

.step-number {
    margin-bottom: 36px;
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.step-number::before {
    content: '0';
}

.step h3 {
    margin-bottom: 12px;
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 19px;
    line-height: 1.3;
}

.step p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.step a {
    color: var(--mm-indigo);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Prompts */

.use-cases {
    padding: 88px 0 96px;
    background: var(--mm-white);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 48px;
    align-items: end;
    margin-bottom: 44px;
}

.section-heading .section-label,
.section-heading .section-intro {
    grid-column: 1;
}

.section-heading .cta-subtle {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
}

.use-cases .section-intro {
    margin-bottom: 0;
}

.prompt-list {
    width: min(900px, calc(100% - 96px));
    margin-left: auto;
    border-bottom: 1px solid var(--line);
}

.prompt-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 44px;
    gap: 18px;
    align-items: start;
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

.prompt-item .arrow {
    color: var(--mm-coral);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.prompt-item h3 {
    margin-bottom: 6px;
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 17px;
    line-height: 1.35;
}

.prompt-item p {
    max-width: 68ch;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    color: var(--mm-indigo);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.copy-btn:hover {
    border-color: var(--line);
    background: var(--mm-paper);
}

.copy-btn svg {
    width: 17px;
    height: 17px;
}

.cta-subtle {
    color: var(--mm-indigo);
}

.cta-subtle:hover {
    background: var(--mm-indigo);
    color: var(--mm-white);
}

/* What's inside */

.whats-inside {
    padding: 80px 0;
    background: var(--mm-indigo);
}

.whats-inside .container {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.whats-inside .section-label {
    color: var(--mm-white);
}

.whats-inside .section-intro {
    max-width: 780px;
    color: rgba(253, 253, 253, 0.86);
    font-size: 20px;
    line-height: 1.65;
}

/* People */

.who {
    padding: 88px 0 96px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 36px;
}

.person {
    padding-top: 24px;
    border-top: 2px solid var(--mm-indigo);
}

.person p {
    max-width: 54ch;
    color: var(--text-muted);
    font-size: 16px;
}

.person .emphasis {
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 18px;
    font-weight: 700;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 11px 16px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--mm-indigo);
    font-size: 13px;
    font-weight: 700;
    transition: border-color 0.2s, background 0.2s;
}

.author-link:hover {
    border-color: var(--mm-indigo);
    background: var(--mm-white);
}

.author-link svg {
    width: 17px;
    height: 17px;
}

.who-note {
    max-width: var(--reading-width);
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 15px;
}

/* Get involved */

.join {
    padding: 88px 0 96px;
    background: var(--mm-white);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 36px;
}

.join-item {
    padding: 28px 0;
    border-top: 2px solid var(--mm-indigo);
}

.join-item h3 {
    margin-bottom: 10px;
    color: var(--mm-indigo);
    font-family: var(--font-label);
    font-size: 19px;
}

.join-item p {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 15px;
}

.join-item > a {
    color: var(--mm-indigo);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--mm-coral);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--mm-indigo);
    transition: background 0.2s, color 0.2s;
}

.share-btn:hover {
    background: var(--mm-indigo);
    color: var(--mm-white);
}

.share-btn svg {
    width: 17px;
    height: 17px;
}

/* Footer */

footer {
    padding: 48px 0;
    background: var(--mm-ink);
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .logo svg {
    height: 20px;
    opacity: 0.9;
}

footer .logo svg path {
    fill: var(--mm-white);
}

footer p {
    color: rgba(253, 253, 253, 0.6);
    font-size: 12px;
}

footer p a {
    color: var(--mm-white);
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 520px;
    margin: 0;
    padding: 16px 20px;
    border: 1px solid rgba(253, 253, 253, 0.12);
    background: var(--mm-ink);
    color: var(--mm-white);
    font-size: 13px;
}

.cookie-banner p {
    color: rgba(253, 253, 253, 0.68);
}

.cookie-banner button {
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-accept {
    background: var(--mm-white);
    color: var(--mm-ink);
}

.cookie-banner .cookie-decline {
    border-color: rgba(253, 253, 253, 0.35);
    background: transparent;
    color: var(--mm-white);
}

/* Responsive */

@media (max-width: 960px) {
    .container {
        padding-right: 32px;
        padding-left: 32px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-index {
        gap: 32px;
    }

    .hero-index dl {
        grid-template-columns: repeat(4, 1fr);
    }

    .problem .container,
    .whats-inside .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prompt-list {
        width: 100%;
    }

    .problem p:first-child {
        max-width: 26ch;
    }
}

@media (max-width: 720px) {
    .container {
        padding-right: 24px;
        padding-left: 24px;
    }

    header .container {
        min-height: 70px;
    }

    .logo svg {
        height: 19px;
    }

    header nav {
        gap: 16px;
    }

    header nav a {
        font-size: 10px;
    }

    .hero,
    .problem,
    .how-it-works,
    .use-cases,
    .who,
    .join {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 1;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .hero-index {
        padding: 24px;
    }

    .hero-index dl {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem .container {
        gap: 28px;
    }

    .problem p:first-child {
        font-size: 25px;
    }

    .steps-grid,
    .people-grid,
    .join-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        gap: 42px;
    }

    .people-grid {
        gap: 42px;
    }

    .whats-inside .container {
        gap: 28px;
    }

    .section-heading {
        display: block;
        margin-bottom: 36px;
    }

    .section-heading .section-intro {
        margin-bottom: 24px;
    }

    .prompt-item {
        grid-template-columns: 18px minmax(0, 1fr) 44px;
        gap: 12px;
    }

    .whats-inside {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .whats-inside .section-intro {
        font-size: 18px;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* Interaction utilities */
[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: 12px 20px;
    transform: translateY(calc(-100% - 24px));
    background: var(--mm-white);
    color: var(--mm-indigo);
}

.skip-link:focus {
    transform: translateY(0);
}

.copy-btn:disabled {
    cursor: wait;
}

.copy-btn[data-copied] {
    background: var(--mm-paper);
}

.copy-btn[data-copied] svg {
    display: none;
}

.copy-btn[data-copied]::after {
    content: '✓';
    font-size: 20px;
}

@media (forced-colors: active) {
    a:focus-visible,
    button:focus-visible {
        outline-color: Highlight;
    }
}
