:root {
    color-scheme: light;
    --ink: #141414;
    --muted: #70685f;
    --paper: #f4efe6;
    --card: #fffaf2;
    --yellow: #ffde59;
    --green: #1d5548;
    --red: #ff3b24;
    --line: rgba(21, 21, 21, 0.16);
    --shadow: 0 18px 40px rgba(21, 21, 21, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 222, 89, 0.2), transparent 280px),
        var(--paper);
}

.hero {
    position: relative;
    min-height: min(760px, 92vh);
    padding: clamp(14px, 2vw, 24px);
    background: var(--ink);
    color: white;
}

.hero::after,
.signup-section::before {
    position: absolute;
    right: -5vw;
    bottom: -44px;
    width: min(720px, 78vw);
    height: 96px;
    background: var(--red);
    content: "";
    transform: rotate(-4deg);
}

.brand-strip {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    background: var(--yellow);
    background-image: url("assets/littsenior-yellow-swatch.png");
    background-repeat: repeat;
    border-radius: 8px;
}

.brand-strip img {
    display: block;
    width: min(245px, 58vw);
    max-height: 104px;
    mix-blend-mode: multiply;
    object-fit: contain;
    object-position: left center;
}

.top-action,
.membership-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 5px;
    background: var(--ink);
    color: white;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
}

.membership-price {
    width: fit-content;
    margin-top: 20px;
    margin-bottom: 0;
    background: var(--yellow);
    color: var(--ink);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: clamp(28px, 6vw, 92px);
    min-height: calc(min(760px, 92vh) - 146px);
    padding: clamp(44px, 7vw, 96px) clamp(10px, 3vw, 48px) 64px;
}

.kicker {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 960px;
    margin-bottom: 18px;
    font-size: clamp(3rem, 7vw, 7.1rem);
    line-height: 0.92;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2.3rem, 5vw, 5.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.hero-copy p:not(.kicker):not(.membership-price) {
    max-width: 700px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.vipps-card {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 8px;
    background: var(--yellow);
    background-image: url("assets/littsenior-yellow-swatch.png");
    background-repeat: repeat;
    color: var(--ink);
    box-shadow: var(--shadow);
}

.vipps-card span,
.info-band span {
    color: rgba(21, 21, 21, 0.68);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.vipps-card strong {
    font-size: clamp(2.8rem, 4.2vw, 3.9rem);
    line-height: 0.9;
}

.vipps-card p {
    margin: 0;
    font-weight: 850;
}

.info-band {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--ink);
}

.info-band article {
    display: grid;
    gap: 6px;
    padding: clamp(20px, 3vw, 34px);
    background: var(--card);
}

.info-band strong {
    font-size: clamp(1.2rem, 2vw, 1.72rem);
    line-height: 1.1;
}

.signup-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.55fr);
    gap: clamp(32px, 6vw, 92px);
    padding: clamp(42px, 7vw, 94px) clamp(22px, 6vw, 84px);
    overflow: hidden;
    background: var(--red);
    color: white;
}

.signup-section::before {
    top: -42px;
    bottom: auto;
    left: -4vw;
    background: var(--ink);
    transform: rotate(3deg);
}

.signup-copy,
.signup-panel,
.signup-form {
    position: relative;
    z-index: 1;
}

.signup-copy p:not(.kicker) {
    max-width: 680px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
}

.signup-panel {
    display: grid;
    align-self: start;
    gap: 16px;
}

.signup-copy .vipps-card {
    width: min(100%, 360px);
    margin-top: clamp(22px, 4vw, 38px);
    padding: clamp(22px, 3vw, 30px);
    background: var(--ink);
    background-image: none;
    color: white;
    box-shadow: 0 18px 40px rgba(20, 20, 20, 0.22);
}

.signup-copy .vipps-card span {
    color: rgba(255, 255, 255, 0.7);
}

.signup-form {
    width: 100%;
    display: grid;
    gap: 13px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.24);
    backdrop-filter: blur(3px);
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 760;
}

input {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 5px;
    background: white;
    color: var(--ink);
    font: inherit;
}

.consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 600;
}

.consent input {
    min-height: auto;
    margin-top: 3px;
}

.consent label {
    display: block;
}

button {
    min-height: 48px;
    border: 0;
    border-radius: 5px;
    background: var(--ink);
    color: white;
    font: inherit;
    font-weight: 850;
}

.privacy-trigger {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-dialog {
    width: min(680px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 32px));
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--card);
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(20, 20, 20, 0.34);
}

.privacy-dialog::backdrop {
    background: rgba(20, 20, 20, 0.55);
}

.privacy-dialog-content {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 4vw, 34px);
}

.privacy-dialog h3 {
    margin-bottom: 2px;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.05;
}

.privacy-dialog p {
    margin-bottom: 0;
    color: rgba(20, 20, 20, 0.78);
}

.privacy-dialog a {
    font-weight: 800;
}

.privacy-close {
    width: fit-content;
    margin-top: 4px;
    padding: 0 20px;
}

.form-status,
.mail-link {
    margin: 0;
    color: white;
    font-weight: 760;
}

.footer-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(22px, 6vw, 84px);
    background: var(--green);
    color: white;
}

.response-page {
    display: grid;
    min-height: 100vh;
    padding: clamp(22px, 6vw, 84px);
    background: var(--red);
    color: white;
    place-items: center;
}

.response-panel {
    width: min(780px, 100%);
}

.response-panel h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
}

.response-panel p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.16rem;
}

@media (max-width: 900px) {
    .hero-grid,
    .signup-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        padding-top: 56px;
    }

    .info-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    html,
    body,
    .page-shell {
        max-width: 100%;
        overflow-x: hidden;
    }

    .page-shell,
    .hero,
    .info-band,
    .signup-section,
    .footer-panel {
        width: 100%;
    }

    .signup-section {
        padding-top: 78px;
    }

    .brand-strip {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .brand-strip img {
        width: min(245px, 100%);
    }

    .top-action {
        width: 100%;
    }

    .hero::after {
        display: none;
    }

    .brand-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand-strip img {
        width: min(170px, 100%);
        max-height: 72px;
    }

    .top-action {
        width: 100%;
    }

    .hero {
        padding: 10px;
    }

    .hero-grid {
        padding: 44px 10px 56px;
    }

    .hero-copy,
    .hero-copy p,
    .signup-copy,
    .signup-panel,
    .signup-form,
    .info-band article,
    .info-band strong {
        min-width: 0;
        max-width: 100%;
    }

    .hero-copy {
        width: min(100%, calc(100vw - 40px), 350px);
    }

    h1 {
        width: min(100%, calc(100vw - 40px), 330px);
        max-width: none;
        font-size: clamp(2rem, 8.5vw, 2.2rem);
        overflow-wrap: break-word;
    }

    .hero-copy p:not(.kicker):not(.membership-price) {
        width: min(100%, calc(100vw - 40px), 350px);
        font-size: 1.05rem;
    }

    .info-band strong {
        width: min(100%, calc(100vw - 40px), 350px);
    }

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