:root {
    color-scheme: dark;
    --sb-bg:
        radial-gradient(circle at top left, #3348ff33, transparent 55%),
        radial-gradient(circle at bottom right, #7f3cff33, transparent 55%),
        black;
    --sb-panel: black;
    --sb-panel-border: cornflowerblue;
    --sb-text-primary: ghostwhite;
    --sb-text-muted: lightsteelblue;
    --sb-accent: darkslateblue;
    --sb-accent-strong: midnightblue;
    --sb-radius-lg: 28px;
    --sb-radius-md: 18px;
    --sb-font: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    --sb-panel-2: rgba(8, 12, 22, 0.72);
    --sb-border-soft: rgba(127, 140, 255, 0.22);
    --sb-border-strong: rgba(127, 140, 255, 0.38);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: var(--sb-font);
    background: var(--sb-bg);
    color: var(--sb-text-primary);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.page {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 64px;
    width: min(1100px, 100%);
    padding: 48px;
    border-radius: var(--sb-radius-lg);
    border: 1px solid var(--sb-panel-border);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    position: relative;
}

.page::before,
.page::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.6;
}

.page::before {
    background: midnightblue;
    top: -140px;
    right: -80px;
}

.hero,
.feature-wall,
.footer-section {
    position: relative;
    z-index: 1;
}

.headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-mark {
    min-width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-mark span {
    font-size: 20px;
    color: silver;
}

.eyebrow {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sb-text-muted);
}

h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.tagline {
    margin: 0;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--sb-text-muted);
}

.cta-section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.cta:not(.final-cta .cta) {
    width: 450px;
    text-align: center;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 42px;
    border-radius: 9999px;
    background: linear-gradient(
        135deg,
        var(--sb-accent),
        var(--sb-accent-strong)
    );
    color: var(--sb-text-primary);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 10px rgba(54, 71, 255, 0.35);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.cta.cta-secondary {
    background: var(--sb-panel);
    border: 1px solid var(--sb-panel-border);
    box-shadow: none;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 17.5px rgba(54, 71, 255, 0.45);
    filter: brightness(1.05);
}

.cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 4px;
}

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

.feature-card {
    border-radius: var(--sb-radius-md);
    background: var(--sb-panel);
    border: 1px solid rgba(127, 140, 255, 0.18);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(16px);
}

.feature-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sb-text-muted);
}

.section-header {
    display: grid;
    gap: 10px;
    margin-bottom: 32px;
}

.kicker {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sb-text-muted);
}

.section-title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: -0.01em;
    line-height: 1.15;
    text-align: center;
    font-size: 32px;
}

.section-subtitle {
    margin: 0;
    max-width: 72ch;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sb-text-muted);
}

.proof,
.how,
.testimonials,
.faq,
.final-cta {
    position: relative;
    z-index: 1;
}

.proof {
    margin-top: 10px;
}

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

.proof-card {
    border-radius: var(--sb-radius-md);
    background: var(--sb-panel-2);
    border: 1px solid var(--sb-border-soft);
    padding: 18px;
    display: grid;
    gap: 10px;
    backdrop-filter: blur(16px);
}

.proof-card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.proof-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sb-text-muted);
}

.how {
    margin-top: 10px;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    margin: 0 auto;
    width: auto;
    max-width: 720px;
}

.step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
}

.step-badge-wrapper {
    display: flex;
    height: 100%;
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        var(--sb-accent),
        var(--sb-accent-strong)
    );
    font-weight: 700;
    box-shadow: 0 5px 12px rgba(54, 71, 255, 0.28);
    transform: translateX(-20px);
}

.step-body h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.step-body p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sb-text-muted);
}

span.save-searches-button {
    display: inline-block;
    color: steelblue;
    font-weight: 600;
    border: 1px solid steelblue;
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 4px;
}

.testimonials {
    margin-top: 10px;
}

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

.quote {
    margin: 0;
    padding: 20px;
    border-radius: var(--sb-radius-md);
    background: var(--sb-panel-2);
    border: 1px solid var(--sb-border-soft);
    backdrop-filter: blur(16px);
}

.quote blockquote {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sb-text-primary);
}

.quote figcaption {
    margin-top: 14px;
    font-size: 13px;
    color: var(--sb-text-muted);
}

.faq {
    margin-top: 10px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    max-width: 540px;
    margin: 0 auto;
    gap: 14px;
}

.faq-item {
    border-radius: var(--sb-radius-md);
    background: var(--sb-panel);
    border: 1px solid var(--sb-border-soft);
    padding: 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '＋';
    color: var(--sb-text-muted);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sb-text-muted);
    user-select: none;
    -webkit-user-select: none;
}

.final-cta {
    margin-top: 14px;
    border-radius: var(--sb-radius-lg);
    border: 1px solid var(--sb-border-strong);
    background: var(--sb-panel-2);
    backdrop-filter: blur(20px);
    padding: 22px;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 18px;
    align-items: center;
}

.final-cta-copy h2 {
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    letter-spacing: -0.01em;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sb-text-muted);
}

.social-links {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.social-links a {
    color: var(--sb-text-primary);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        filter 0.2s ease;
}

.social-links a:hover {
    filter: drop-shadow(0 0 6px var(--sb-accent-strong));
    border-color: steelblue;
}

.social-links a svg {
    transition: fill 0.2s ease;
}

.social-links a:hover svg {
    fill: steelblue;
}

.social-links a:focus-visible {
    outline: 2px solid rgba(127, 140, 255, 0.45);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    h1 {
        font-size: 36px;
    }

    .feature-wall {
        grid-template-columns: 1fr;
    }

    .step-badge-wrapper {
        justify-content: center;
    }

    .step-badge {
        transform: translateX(0);
    }

    .footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .page {
        padding: 22px;
    }

    .step {
        grid-template-columns: auto;
        text-align: center;
    }

    .cta {
        width: 100% !important;
    }

    .step-badge {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .final-cta {
        padding: 18px;
    }
}

/* on very small devices, make the h1 smaller */
@media (max-width: 420px) {
    h1 {
        font-size: 28px;
    }
}
