:root {
    --ink: #07163a;
    --ink-soft: #536079;
    --muted: #eef4ff;
    --line: #e7edf8;
    --blue: #1267f1;
    --blue-dark: #061949;
    --blue-soft: #eaf2ff;
    --cyan: #36c4ff;
    --green: #19c37d;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(7, 22, 58, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

svg {
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 18px clamp(20px, 5vw, 54px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.brand-mark svg {
    width: 100%;
    height: 100%;
}

.brand-mark svg path:first-child {
    fill: var(--cyan);
}

.brand-mark svg path:nth-child(2),
.brand-mark svg path:nth-child(3) {
    fill: var(--blue);
}

.brand strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
}

.brand small {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 4vw, 46px);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.nav-links a {
    border-bottom: 2px solid transparent;
    padding: 8px 0;
}

.nav-links a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-button {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--blue-dark);
    box-shadow: none;
    transition: transform .18s ease, color .18s ease;
}

.social-button:hover {
    transform: translateY(-1px);
    color: var(--blue);
}

.social-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    padding: 0 22px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-dark {
    background: var(--blue-dark);
    color: var(--white);
    box-shadow: 0 14px 26px rgba(6, 25, 73, .16);
}

.button-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 14px 26px rgba(18, 103, 241, .2);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(560px, 1fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(58px, 8vw, 92px) clamp(20px, 5vw, 54px) 70px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 610px;
    margin: 28px 0 0;
    font-size: clamp(42px, 5.4vw, 66px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1::first-line {
    color: var(--ink);
}

.hero-text {
    max-width: 520px;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.75;
}

.gift-box {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: center;
    max-width: 462px;
    margin: 34px 0 0;
    border-radius: 8px;
    background: #f1f6ff;
    padding: 22px 24px;
}

.gift-icon,
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
}

.gift-icon {
    width: 48px;
    height: 48px;
}

.gift-icon svg,
.feature-icon svg,
.secure-note svg,
.trust-row svg,
.bell svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.gift-box p {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.gift-box strong {
    color: var(--blue);
}

.signup-form {
    max-width: 460px;
    margin-top: 42px;
}

.signup-form label {
    display: block;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 800;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-row input {
    flex: 1 1 180px;
    width: 100%;
    min-height: 52px;
    border: 1px solid #dce5f5;
    border-radius: 7px;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    padding: 0 18px;
}

.form-row input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(18, 103, 241, .12);
}

.form-row .button {
    flex: 0 0 auto;
    min-width: 166px;
}

.secure-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    color: #738097;
    font-size: 13px;
    font-weight: 700;
}

.secure-note span {
    color: #77869d;
}

.secure-note svg {
    width: 16px;
    height: 16px;
}

.hidden-field {
    display: none;
}

.product-preview {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.browser-bar {
    display: grid;
    grid-template-columns: 190px 1fr 128px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.brand.mini {
    padding-left: 20px;
}

.brand.mini .brand-mark {
    width: 27px;
    height: 27px;
}

.brand.mini strong {
    font-size: 14px;
}

.brand.mini small {
    font-size: 5px;
}

.church-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid var(--line);
    padding-left: 22px;
    font-size: 12px;
    font-weight: 800;
}

.home-dot {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--blue-soft);
}

.preview-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-right: 20px;
}

.preview-actions span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #aeb9cc;
}

.preview-actions strong {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 520px;
    background: #fbfdff;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid var(--line);
    padding: 22px 16px;
    color: #4b5870;
    font-size: 11px;
    font-weight: 800;
}

.sidebar strong {
    border-radius: 7px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 12px;
}

.sidebar span {
    padding-left: 12px;
}

.dashboard-content {
    padding: 30px 24px 32px;
}

.section-label {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-content h2 {
    margin: 8px 0 0;
    font-size: 20px;
}

.dashboard-content p {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.metric-grid div {
    min-height: 104px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 18px 14px;
}

.metric-grid span {
    display: block;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
}

.metric-grid strong {
    display: block;
    margin-top: 16px;
    font-size: 24px;
}

.dashboard-panels {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: 14px;
    margin-top: 18px;
}

.dashboard-panels article {
    min-height: 198px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 24px;
}

.dashboard-panels h3 {
    margin: 0;
    font-size: 14px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 38px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
}

.progress-meta strong {
    color: var(--ink);
    font-size: 22px;
}

.progress-track {
    height: 9px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4eaf4;
}

.progress-track span {
    display: block;
    width: 73%;
    height: 100%;
    border-radius: inherit;
    background: var(--green);
}

.progress-panel button {
    min-height: 36px;
    margin-top: 22px;
    border: 0;
    border-radius: 7px;
    background: var(--blue-dark);
    color: var(--white);
    padding: 0 16px;
    font-size: 11px;
    font-weight: 800;
}

.settings-panel dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 0;
}

.settings-panel div {
    border-radius: 8px;
    background: #f8fbff;
    padding: 14px;
}

.settings-panel dt {
    color: #8995a9;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.settings-panel dd {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 800;
}

.features,
.trust-row,
.site-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px clamp(20px, 5vw, 54px);
}

.features {
    text-align: center;
}

.features .section-kicker,
.launch-band .section-kicker,
.thanks-card .section-kicker {
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.features h2,
.launch-band h2,
.thanks-card h1 {
    margin: 16px 0 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.18;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 38px;
}

.feature-grid article {
    min-height: 220px;
    padding: 16px 32px 10px;
    border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
    border-right: 0;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.feature-icon svg {
    width: 34px;
    height: 34px;
}

.feature-grid h3,
.trust-row h3 {
    margin: 0;
    font-size: 17px;
}

.feature-grid p,
.trust-row p,
.launch-band p,
.thanks-card p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.launch-band {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(360px, 1fr);
    gap: 30px;
    align-items: center;
    max-width: 1110px;
    margin: 10px auto 0;
    border-radius: 8px;
    background: #f0f5ff;
    padding: clamp(32px, 5vw, 48px);
}

.launch-band .signup-form {
    margin-top: 28px;
}

.signup-form.compact label {
    display: none;
}

.mail-illustration {
    position: relative;
    min-height: 300px;
}

.envelope {
    position: absolute;
    right: 90px;
    bottom: 36px;
    width: 250px;
    height: 156px;
    border-radius: 8px 8px 18px 18px;
    background: linear-gradient(145deg, #8bb9ff, #4d86f4);
    box-shadow: 0 24px 40px rgba(18, 103, 241, .18);
}

.envelope::before,
.envelope::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 100%, 0 100%);
    border-radius: inherit;
    background: rgba(255, 255, 255, .14);
}

.envelope .brand-mark {
    position: absolute;
    left: 50%;
    top: 36px;
    width: 76px;
    height: 76px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--blue-dark);
    padding: 16px;
    box-shadow: 0 18px 30px rgba(6, 25, 73, .2);
}

.paper {
    position: absolute;
    right: 130px;
    bottom: 150px;
    width: 214px;
    height: 128px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(55, 91, 148, .12);
}

.paper::before,
.paper::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    height: 14px;
    border-radius: 999px;
    background: #dfe9fa;
}

.paper::before {
    top: 30px;
}

.paper::after {
    top: 62px;
    right: 62px;
}

.paper-one {
    transform: rotate(-8deg);
}

.paper-two {
    right: 44px;
    bottom: 178px;
    transform: rotate(11deg);
}

.paper-plane {
    position: absolute;
    right: 34px;
    top: 26px;
    width: 122px;
    height: 86px;
    clip-path: polygon(0 38%, 100% 0, 73% 85%, 49% 55%, 30% 74%);
    background: linear-gradient(135deg, #8bb9ff, #1267f1);
    transform: rotate(-14deg);
}

.bell {
    position: absolute;
    right: 28px;
    bottom: 62px;
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: 0 20px 38px rgba(7, 22, 58, .12);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.trust-row article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    border-right: 1px solid var(--line);
    padding-right: 30px;
}

.trust-row article:last-child {
    border-right: 0;
}

.trust-row span {
    display: flex;
    color: var(--blue);
}

.trust-row svg {
    width: 40px;
    height: 40px;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #77869d;
    font-size: 14px;
    font-weight: 600;
}

.thanks-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: #f6f9ff;
}

.thanks-card {
    width: min(100%, 560px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 44px;
    text-align: center;
}

.thanks-card .brand-mark {
    margin: 0 auto 24px;
}

.thanks-card .button {
    margin-top: 28px;
}

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

    .product-preview {
        max-width: 880px;
        margin: 0 auto;
    }

    .metric-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .site-header {
        position: static;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 6px;
    }

    .feature-grid,
    .launch-band,
    .trust-row {
        grid-template-columns: 1fr;
    }

    .feature-grid article,
    .trust-row article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .feature-grid article:last-child,
    .trust-row article:last-child {
        border-bottom: 0;
    }

    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .browser-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }

    .brand.mini {
        padding-left: 0;
    }

    .church-switch {
        border-left: 0;
        padding-left: 0;
    }

    .preview-actions {
        display: none;
    }

    .dashboard-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .site-header {
        justify-content: center;
        gap: 14px;
        padding: 16px 20px;
        text-align: center;
    }

    .site-header > .brand {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .header-actions {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .header-actions .button-dark {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 26px;
        font-size: 13px;
    }

    .social-button {
        width: 42px;
        height: 42px;
    }

    .nav-links {
        order: 3;
        justify-content: center;
        gap: 24px;
        overflow-x: visible;
        padding-top: 4px;
    }

    .hero {
        padding-top: 38px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .gift-box,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row {
        display: grid;
    }

    .metric-grid,
    .settings-panel dl {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-content {
        padding: 24px 16px;
    }

    .mail-illustration {
        min-height: 250px;
        transform: scale(.86);
        transform-origin: center;
    }

    .envelope {
        right: 44px;
    }
}
