:root {
    --cream: #fbf7f1;
    --ink: #0d1020;
    --muted: #7b8798;
    --terra: #c65f43;
    --mint: #e9f7f0;
    --peach: #fff0ea;
    --lav: #f1efff;
    --rose: #fff1ed;
    --sand: #fff0d8;
}

* { box-sizing: border-box; }

html { background: var(--cream); }

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 80% 10%, rgba(239,226,210,.52), transparent 32rem),
        linear-gradient(180deg, #fffdf9, var(--cream));
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    padding: 28px 4.7vw 54px;
}

.brand {
    max-width: 1540px;
    margin: auto;
}

.brand a {
    display: block;
    width: fit-content;
    color: var(--ink);
    font-size: 2.25rem;
    font-weight: 850;
    letter-spacing: -.055em;
    text-decoration: none;
}

.brand-tagline {
    display: block;
    width: fit-content;
    margin-top: 2px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero {
    max-width: 1540px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: minmax(390px,.96fr) minmax(420px,.9fr) minmax(480px,1.1fr);
    gap: 42px;
    align-items: center;
}

.creator-visual {
    min-height: 550px;
    overflow: hidden;
    border-radius: 45% 22% 24% 30% / 18% 22% 22% 28%;
    background: #eee0d2;
}

.creator-visual img {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.action-stack {
    display: grid;
    gap: 15px;
}

.os-action {
    min-height: 120px;
    border: 1px solid rgba(120,100,85,.12);
    border-radius: 24px;
    padding: 19px 22px;
    display: grid;
    grid-template-columns: 72px 1fr 56px;
    gap: 18px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
    transition: .18s ease;
}

.os-action:hover,
.os-action:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(54,38,28,.08);
    outline: none;
}

.os-action--mint { background: var(--mint); }
.os-action--peach { background: var(--peach); }
.os-action--lavender { background: var(--lav); }
.os-action--rose { background: var(--rose); }

.os-action__icon,
.os-action__arrow {
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.38);
    color: var(--ink);
}

.os-action__icon { font-size: 1.9rem; }
.os-action__arrow { font-size: 2rem; }

.os-action__copy {
    display: grid;
    gap: 5px;
}

.os-action__copy strong {
    color: var(--ink);
    font-size: 1.35rem;
    letter-spacing: -.025em;
}

.os-action__copy small {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.3;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--terra);
    font-size: 1.25rem;
    font-weight: 780;
}

.welcome-copy h1 {
    margin: 0;
    font-size: clamp(4.2rem,5.8vw,6.8rem);
    line-height: .94;
    letter-spacing: -.066em;
}

.welcome-copy h1 em {
    color: var(--terra);
    font-style: italic;
}

.welcome-copy > p:last-child {
    margin: 28px 0 0;
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1.3rem,1.8vw,1.85rem);
    font-weight: 650;
    line-height: 1.35;
}

.feature-strip {
    max-width: 1540px;
    margin: 56px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(70,50,40,.08);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 28px;
}

.feature-strip article {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 16px;
}

.feature-strip h2 {
    font-size: 1rem;
    margin: 4px 0 8px;
}

.feature-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.48;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.55rem;
}

.feature-icon.rose { background: #fde5df; }
.feature-icon.lavender { background: #ece8ff; }
.feature-icon.mint { background: #e3f2e9; }
.feature-icon.sand { background: var(--sand); }

.placeholder {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.placeholder main {
    width: min(560px,100%);
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(70,50,40,.1);
    border-radius: 24px;
    padding: 42px;
}

.placeholder-brand {
    font-weight: 850;
    font-size: 1.8rem;
    text-decoration: none;
}

@media (max-width:1180px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .welcome-copy {
        grid-column: 1/-1;
        grid-row: 1;
        text-align: center;
    }

    .creator-visual { grid-column: 1; }
    .action-stack { grid-column: 2; }

    .feature-strip {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:760px) {
    .page-shell {
        padding: 22px 20px 42px;
    }

    .brand a { font-size: 1.8rem; }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .welcome-copy {
        order: 1;
        text-align: left;
    }

    .welcome-copy h1 {
        font-size: clamp(3.25rem,15vw,5rem);
    }

    .creator-visual {
        order: 2;
        min-height: auto;
    }

    .creator-visual img {
        height: 390px;
    }

    .action-stack { order: 3; }

    .os-action {
        min-height: 100px;
        grid-template-columns: 58px 1fr 46px;
        padding: 15px;
    }

    .os-action__copy strong { font-size: 1.08rem; }
    .os-action__copy small { font-size: .91rem; }

    .feature-strip {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }
}
/* logged-in-return */
.brand {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.logged-in-return {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logged-in-return a,
.logged-in-return button {
    border: 1px solid rgba(120,100,85,.12);
    border-radius: 999px;
    padding: 9px 13px;
    background: rgba(255,255,255,.55);
    color: var(--ink);
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.logged-in-return form {
    margin: 0;
}

@media(max-width:760px) {
    .brand {
        flex-direction: column;
    }

    .logged-in-return {
        flex-wrap: wrap;
    }
}
