:root {
    --bg: #f4fbff;
    --bg-soft: #e8f5ff;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #12344d;
    --muted: #4f6f87;
    --primary: #1f6fd8;
    --primary-deep: #164f99;
    --accent: #4bc0ff;
    --shadow: 0 24px 60px rgba(30, 86, 145, 0.12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(96, 204, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #fafdff 0%, #eef8ff 48%, #e4f2fb 100%);
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell,
.offer-page {
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: 20px;
}

.site-header,
.content,
.offer-layout {
    display: grid;
    gap: 24px;
}

.topbar,
.hero,
.feature-grid,
.duo-section,
.cta-grid,
.offer-layout {
    align-items: center;
}

.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-height: 96px;
    padding: 18px 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(31, 111, 216, 0.08);
    box-shadow:
        0 22px 48px rgba(30, 86, 145, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}

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

.brand-plain {
    max-width: 260px;
}

.topbar-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 44px;
    flex-wrap: wrap;
    align-self: flex-start;
    margin-left: auto;
    padding-top: 10px;
    padding-right: 18px;
}

.topbar-links a {
    padding: 0;
    border-radius: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary-deep);
    line-height: 1;
}

.topbar-cta,
.primary-button,
.secondary-button,
.feature-link,
.submit-button {
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.topbar-cta,
.primary-button,
.feature-link,
.submit-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    box-shadow: 0 16px 32px rgba(26, 92, 170, 0.22);
}

.topbar-cta {
    min-width: 164px;
    min-height: 64px;
    padding: 16px 28px !important;
    font-size: 1.05rem;
    box-shadow:
        0 18px 34px rgba(26, 92, 170, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-deep);
    box-shadow: 0 14px 26px rgba(52, 110, 176, 0.12);
}

.topbar-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.feature-link:hover,
.submit-button:hover {
    transform: translateY(-2px);
}

.hero,
.feature-grid,
.duo-section,
.offer-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hero,
.feature-card,
.duo-card,
.cta-card,
.offer-info-card,
.offer-form-card,
.info-band {
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid rgba(31, 111, 216, 0.1);
    box-shadow: var(--shadow);
}

.hero {
    padding: 30px;
    min-height: 520px;
}

.hero-copy h1,
.feature-card h2,
.duo-card h3,
.offer-info-card h1,
.offer-form-head h2 {
    margin: 0;
    font-family: "Marcellus", serif;
    color: #0e3e69;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.03;
}

.hero-text,
.feature-card p,
.duo-card p,
.offer-description,
.offer-summary {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.02rem;
}

.eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(31, 111, 216, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.primary-button,
.secondary-button,
.feature-link,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    border: 0;
    border-radius: 18px;
    font-weight: 700;
}

.hero-visual {
    display: grid;
    place-items: center;
}

.hero-visual img {
    width: min(100%, 560px);
    border-radius: 24px;
}

.content {
    margin-top: 24px;
}

.info-band {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px;
}

.info-pill {
    flex: 1 1 240px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(31, 111, 216, 0.08), rgba(75, 192, 255, 0.12));
    color: #155088;
    font-weight: 700;
}

.feature-card,
.duo-card,
.cta-card,
.offer-info-card,
.offer-form-card {
    padding: 24px;
}

.feature-card-visual {
    padding: 12px;
    overflow: hidden;
}

.feature-card-visual img {
    width: 100%;
    border-radius: 20px;
}

.feature-link {
    margin-top: 10px;
}

.duo-section {
    align-items: stretch;
}

.duo-card {
    display: grid;
    gap: 18px;
}

.duo-card-soft {
    grid-template-columns: minmax(0, 1fr) 240px;
}

.duo-card-dask {
    grid-template-columns: minmax(0, 1fr) 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 255, 0.94));
}

.duo-card img {
    align-self: center;
    justify-self: center;
    border-radius: 22px;
}

.duo-card-soft img {
    width: 100%;
    box-shadow: 0 18px 40px rgba(53, 127, 176, 0.16);
}

.duo-card-dask img {
    width: 160px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cta-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.cta-card img {
    width: 100%;
    max-width: 120px;
    justify-self: center;
}

.cta-card strong {
    display: block;
    font-size: 1.25rem;
    color: #113e68;
}

.cta-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.65;
}

.offer-body {
    background:
        radial-gradient(circle at top right, rgba(75, 192, 255, 0.18), transparent 30%),
        linear-gradient(180deg, #fafdff 0%, #edf8ff 100%);
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--primary-deep);
    font-weight: 700;
}

.offer-info-card,
.offer-form-card {
    height: 100%;
}

.offer-visual {
    margin: 22px 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}

.offer-visual img {
    width: 100%;
}

.offer-highlight-list {
    display: grid;
    gap: 12px;
}

.offer-highlight-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(31, 111, 216, 0.08), rgba(75, 192, 255, 0.12));
    color: #154c7f;
    font-weight: 600;
    line-height: 1.6;
}

.offer-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field span {
    font-size: 0.92rem;
    font-weight: 700;
    color: #18476f;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(31, 111, 216, 0.16);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
}

.form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.conditional-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.is-hidden {
    display: none !important;
}

.form-hint,
.form-note,
.form-status {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
}

.form-hint,
.form-note {
    color: var(--muted);
}

.form-status[data-state="error"] {
    color: #b42318;
}

.form-status[data-state="success"] {
    color: #13795b;
}

@media (max-width: 980px) {
    .hero,
    .feature-grid,
    .duo-section,
    .cta-grid,
    .offer-layout {
        grid-template-columns: 1fr;
    }

    .duo-card-soft,
    .duo-card-dask,
    .cta-card,
    .conditional-grid,
    .offer-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-shell,
    .offer-page {
        padding: 14px;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 18px;
        border-radius: 40px;
    }

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

    .brand img {
        width: min(100%, 225px);
    }

    .topbar-links {
        justify-content: center;
        gap: 28px;
        padding-top: 8px;
        padding-right: 0;
    }

    .hero {
        padding: 20px;
        min-height: auto;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }
}
