/* couplehalo.com. Design: couple-halo docs/design ProposalSiteLanding / ProposalSiteInvite (approved 2026-11-28). */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin-wght.woff2') format('woff2-variations'), url('fonts/inter-latin-wght.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/space-grotesk-latin-wght.woff2') format('woff2-variations'), url('fonts/space-grotesk-latin-wght.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #07060f;
    --text: #f3eef9;
    --lead: #c9c1dd;
    --muted: #a79fbd;
    --accent: #ffb27a;
    --line: #241d42;
    --box: #15112a;
    --char: #221b3d;
    --button-line: #3a3060;
    color-scheme: dark;
}

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

html {
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

/* The two glows behind the page (warm top-start, cool lower-end). */
.glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.glow-warm {
    inset-inline-start: -200px;
    top: -80px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(255, 170, 120, 0.26) 0%, rgba(255, 150, 110, 0.08) 40%, rgba(255, 150, 110, 0) 70%);
}

.glow-cool {
    inset-inline-end: -260px;
    top: 260px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(150, 135, 255, 0.3) 0%, rgba(140, 120, 255, 0.1) 40%, rgba(140, 120, 255, 0) 70%);
}

.top,
main,
.foot {
    position: relative;
}

.top {
    padding: 16px 14px 0;
}

.logo {
    display: inline-block;
    line-height: 0;
    border-radius: 12px;
}

.logo img {
    display: block;
    width: 138.2px;
    height: 44px;
}

.eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
}

h1 {
    margin: 0;
    font-family: 'Space Grotesk', Inter, system-ui, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.12;
}

.lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    color: var(--lead);
}

/* Apple's badge artwork, unaltered. Apple: at least 40 px high on screen, clear space of at least a
   quarter of its height on every side (the margins around it here are larger). */
.badge {
    display: inline-block;
    line-height: 0;
    border-radius: 10px;
}

.badge img {
    display: block;
    height: 52px;
    width: auto;
}

/* Landing */

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px 36px;
}

.hero .badge {
    margin-top: 6px;
}

.slides {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 4px 24px 48px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
}

.slides::-webkit-scrollbar {
    display: none;
}

.slides li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.shot {
    display: block;
    width: 236px;
    height: auto;
    aspect-ratio: 1320 / 2868;
    border-radius: 22px;
    box-shadow: 0 0 0 1px #2e2650, 0 18px 50px rgba(0, 0, 0, 0.45);
}

.foot {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px 40px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.foot ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot a {
    color: var(--lead);
    text-decoration: none;
}

.foot a:hover {
    text-decoration: underline;
}

.foot p {
    margin: 0;
}

@media (min-width: 760px) {
    .glow-warm {
        inset-inline-start: -260px;
        top: -120px;
        width: 900px;
        height: 900px;
    }

    .glow-cool {
        inset-inline-end: -300px;
        top: 200px;
        width: 1000px;
        height: 1000px;
    }

    .top {
        padding: 24px 52px 0;
    }

    .logo img {
        width: 175.8px;
        height: 56px;
    }

    .hero {
        align-items: center;
        gap: 20px;
        padding: 40px 64px 56px;
        text-align: center;
    }

    .hero h1 {
        font-size: 54px;
        line-height: 1.1;
        max-width: 820px;
    }

    .hero .lead {
        font-size: 20px;
    }

    .hero .badge {
        margin-top: 8px;
    }

    .hero .badge img {
        height: 56px;
    }

    .slides {
        justify-content: center;
        gap: 36px;
        padding: 0 64px 72px;
        overflow: visible;
    }

    .shot {
        width: min(300px, calc((100vw - 128px - 72px) / 3));
    }

    .foot {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding: 32px 64px;
    }

    .foot ul {
        gap: 28px;
    }
}

/* Invite and 404: one narrow column, the phone board's layout, centred on wider screens. */

.card {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 16px 24px 40px;
}

.card .logo {
    margin-inline-start: -10px;
    align-self: flex-start;
}

.intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card h1 {
    font-size: 30px;
}

.card .lead {
    font-size: 16px;
}

.code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 26px 20px;
    border-radius: 28px;
    background: var(--box);
    border: 1px solid var(--line);
}

.code-box[hidden],
.note[hidden] {
    display: none;
}

.code-label {
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
}

.chars {
    display: flex;
    gap: 8px;
    margin: 0;
}

.chars span {
    width: 52px;
    height: 64px;
    border-radius: 14px;
    background: var(--char);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', Inter, system-ui, sans-serif;
    font-weight: 600;
    font-size: 30px;
}

.button {
    height: 48px;
    padding: 0 22px;
    border-radius: 24px;
    border: 1px solid var(--button-line);
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background: rgba(255, 255, 255, 0.04);
}

.note {
    margin: 0;
    padding: 20px;
    border-radius: 20px;
    background: var(--box);
    border: 1px solid var(--line);
    color: var(--lead);
    font-size: 16px;
}

.spacer {
    flex-grow: 1;
    min-height: 8px;
}

.store {
    display: flex;
    justify-content: center;
}

.store .badge img {
    height: 56px;
}

.maker {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

@media (min-width: 760px) {
    .card {
        padding-top: 32px;
        flex-grow: 0;
        min-height: min(100svh, 880px);
    }
}
