:root {
    color-scheme: light;
    --bg: #f2f4f7;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --line: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.12);
    --text: #0f172a;
    --muted: #475569;
    --accent: #0a84ff;
    --accent-soft: rgba(10, 132, 255, 0.12);
    --accent-strong: #0066cc;
    --shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --font-sans: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", sans-serif;
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 191, 128, 0.28), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(163, 229, 255, 0.34), transparent 26%),
        linear-gradient(180deg, #fbfbfd 0%, #edf2f7 55%, #eef3f8 100%);
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

.page-shell {
    position: relative;
    overflow: clip;
}

.ambient {
    position: absolute;
    inset: auto;
    z-index: 0;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.6;
    pointer-events: none;
}

.ambient-one {
    top: 6rem;
    left: -8rem;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 176, 83, 0.18);
}

.ambient-two {
    top: 12rem;
    right: -7rem;
    width: 26rem;
    height: 26rem;
    background: rgba(10, 132, 255, 0.18);
}

.landing {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0 4rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: center;
    min-height: 100svh;
    padding: 3rem 0;
}

.hero-copy,
.form-panel,
.info-card,
.story-block {
    backdrop-filter: saturate(160%) blur(28px);
    -webkit-backdrop-filter: saturate(160%) blur(28px);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 3rem;
    border-radius: var(--radius-xl);
}

.eyebrow,
.section-tag,
.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1,
.story-copy h2 {
    margin: 1.25rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-lead,
.story-copy p,
.panel-header p,
.info-card p,
.micro-copy {
    color: var(--muted);
    line-height: 1.7;
}

.hero-lead {
    max-width: 58ch;
    margin: 1.5rem 0 0;
    font-size: 1.08rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-points span {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
}

.form-panel {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78)),
        var(--surface);
    overflow: hidden;
}

.form-panel::before {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -5rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0) 68%);
    pointer-events: none;
}

.panel-header h2 {
    margin: 0.85rem 0 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.panel-header p {
    margin: 0.95rem 0 0;
}

.form-alert {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 90, 95, 0.08);
    border: 1px solid rgba(255, 90, 95, 0.16);
    color: #9f1239;
}

.form-alert p {
    margin: 0;
}

.form-alert p + p {
    margin-top: 0.45rem;
}

.promotion-form {
    margin-top: 1.6rem;
}

.platform-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.platform-button,
.submit-button {
    border: 0;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.platform-button {
    padding: 0.95rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.platform-button:hover,
.platform-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 132, 255, 0.3);
    outline: none;
}

.platform-button.is-active {
    background: linear-gradient(180deg, #0a84ff 0%, #0071e3 100%);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(10, 132, 255, 0.25);
}

.input-shell {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(10, 132, 255, 0.18), rgba(255, 255, 255, 0.96) 48%, rgba(219, 234, 254, 0.8));
    border: 1px solid rgba(10, 132, 255, 0.2);
    box-shadow:
        0 26px 56px rgba(10, 132, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    scroll-margin-top: 2rem;
    scroll-margin-bottom: 7rem;
}

.input-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.input-label::before {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #49a5ff 0%, #0a84ff 100%);
    box-shadow: 0 0 0 6px rgba(10, 132, 255, 0.12);
}

.input-shell input {
    width: 100%;
    padding: 1.25rem 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(10, 132, 255, 0.24);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    font-size: 1.04rem;
    font-weight: 600;
    box-shadow:
        0 16px 32px rgba(10, 132, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.input-shell input::placeholder {
    color: #7c8da5;
}

.input-shell input:focus-visible {
    outline: none;
    border-color: rgba(10, 132, 255, 0.55);
    box-shadow:
        0 0 0 5px rgba(10, 132, 255, 0.14),
        0 18px 36px rgba(10, 132, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.submit-button {
    width: 100%;
    margin-top: 1rem;
    padding: 1.08rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #151a21 0%, #090c12 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(9, 12, 18, 0.22);
}

.submit-button:hover,
.submit-button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.micro-copy {
    margin: 1rem 0 0;
    font-size: 0.94rem;
}

.mobile-sticky-cta {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 3.9rem;
    padding: 1rem 1.35rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #0a84ff 0%, #0066cc 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 24px 44px rgba(10, 132, 255, 0.34);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
}

.mobile-sticky-cta:hover,
.mobile-sticky-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 26px 50px rgba(10, 132, 255, 0.38);
    outline: none;
}

.mobile-sticky-cta.is-hidden {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.info-card {
    padding: 1.7rem;
    border-radius: var(--radius-lg);
}

.info-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.info-card p {
    margin: 0;
}

.story-block {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.story-copy h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.workflow-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.workflow-list li {
    counter-increment: steps;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    color: var(--text);
}

.workflow-list li::before {
    content: counter(steps);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy,
    .form-panel,
    .info-card,
    .story-block {
        animation: rise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .form-panel {
        animation-delay: 120ms;
    }

    .info-card:nth-child(2) {
        animation-delay: 180ms;
    }

    .info-card:nth-child(3) {
        animation-delay: 240ms;
    }

    .story-block {
        animation-delay: 300ms;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 980px) {
    .hero,
    .story-block,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-copy,
    .form-panel {
        padding: 1.7rem;
    }
}

@media (max-width: 640px) {
    .landing {
        width: min(100% - 1rem, 1180px);
        padding-bottom: 7.5rem;
    }

    .hero {
        gap: 1rem;
    }

    .hero h1,
    .story-copy h2 {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .platform-picker {
        grid-template-columns: 1fr;
    }

    .platform-button,
    .submit-button,
    .hero-points span {
        width: 100%;
    }

    .hero-points {
        display: grid;
    }

    .input-shell {
        padding: 0.95rem;
        border-radius: 26px;
    }

    .input-shell input {
        padding: 1.15rem 1rem;
        font-size: 1rem;
    }

    .mobile-sticky-cta {
        display: flex;
    }
}
