:root {
    --bg: #f7f4ff;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --ink: #17112a;
    --muted: #655f78;
    --purple-700: #6d4cff;
    --purple-500: #8a6bff;
    --purple-200: #d8cbff;
    --shadow-soft: 0 0.8rem 2.2rem rgba(74, 44, 161, 0.08);
    --shadow-medium: 0 1.5rem 3.5rem rgba(74, 44, 161, 0.12);
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(161, 131, 255, 0.3), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 196, 222, 0.22), transparent 28%),
        linear-gradient(180deg, #fcfbff 0%, var(--bg) 100%);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-page {
    min-height: 100vh;
}

.site-main {
    padding: 1.2rem 0 0;
}

.hero-wrap,
.section,
.page-intro,
.support-card,
.support-note,
.legal-card {
    margin-bottom: 1.5rem;
}

.hero-card,
.feature-card,
.screenshot-card,
.faq-accordion__item,
.support-card,
.support-note,
.legal-card {
    background: var(--surface);
    border: 1px solid rgba(108, 76, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.hero-card,
.waitlist-card,
.support-card,
.support-note,
.legal-card {
    border-radius: var(--radius-xl);
}

.hero-card {
    display: grid;
    gap: 2rem;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 85% 5%, rgba(255, 255, 255, 0.9), transparent 20%),
        linear-gradient(135deg, rgba(168, 144, 255, 0.34), rgba(255, 255, 255, 0.94) 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
}

.hero-card h1,
.page-intro h1 {
    margin: 0.7rem 0 0;
    letter-spacing: -0.055em;
    line-height: 0.94;
    font-size: clamp(3rem, 10vw, 5.8rem);
}

.hero-card p,
.section p,
.page-intro p,
.support-card p,
.support-note p,
.legal-card p,
.faq-accordion p,
.site-footer p {
    color: var(--muted);
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-700);
    background: rgba(109, 76, 255, 0.1);
}

.hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.hero-card__note {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.site-button--primary {
    color: white;
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    box-shadow: 0 0.8rem 1.6rem rgba(109, 76, 255, 0.28);
}

.site-button--ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(109, 76, 255, 0.16);
}

.site-button--disabled {
    cursor: default;
    opacity: 0.96;
}

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

.phone-mockup {
    width: min(100%, 20rem);
    padding: 0.55rem;
    border-radius: 2.5rem;
    background: linear-gradient(180deg, #121019, #2a2439);
    box-shadow: 0 1.5rem 3.5rem rgba(29, 18, 58, 0.35);
    transform: rotate(4deg);
}

.phone-mockup__screen {
    overflow: hidden;
    border-radius: 2.05rem;
    background: #f9f8ff;
}

.phone-mockup__image {
    display: block;
    width: 100%;
    aspect-ratio: 630 / 1280;
    object-fit: cover;
}

.section {
    padding: 1rem 0 0;
}

.section__heading,
.page-intro {
    text-align: center;
}

.section__heading h2,
.support-card h2,
.support-note h2,
.legal-card h2 {
    margin: 0.7rem 0 0;
    letter-spacing: -0.04em;
    font-size: clamp(1.7rem, 4vw, 3rem);
}

.feature-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.feature-card {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.screenshot-card:hover,
.support-card:hover,
.legal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.feature-card__icon {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 0.95rem;
    color: var(--purple-700);
    background: rgba(109, 76, 255, 0.1);
    margin-bottom: 0.95rem;
}

.feature-card h3,
.step h3 {
    margin: 0 0 0.55rem;
    letter-spacing: -0.04em;
    font-size: 1.2rem;
}

.steps {
    display: grid;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
}

.step {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(108, 76, 255, 0.1);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.step__icon {
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 999px;
    font-size: 1.4rem;
    color: var(--purple-700);
    background: linear-gradient(180deg, rgba(109, 76, 255, 0.12), rgba(255, 255, 255, 0.92));
}

.step__arrow {
    display: grid;
    place-items: center;
    color: rgba(109, 76, 255, 0.45);
    font-size: 1.5rem;
}

.screenshot-gallery {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.screenshot-card {
    padding: 0.9rem;
    border-radius: var(--radius-lg);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.screenshot-card__device {
    min-height: 24rem;
    padding: 0.9rem;
    border-radius: 1.3rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 246, 255, 0.94)),
        radial-gradient(circle at top, rgba(132, 106, 255, 0.16), transparent 48%);
}

.screenshot-card__status {
    width: 3rem;
    height: 0.4rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: rgba(23, 17, 42, 0.15);
}

.screenshot-card__screen {
    height: 100%;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(108, 76, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 255, 0.92));
}

.screenshot-card__label {
    display: inline-flex;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-700);
}

.screenshot-card__screen h3 {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.screenshot-card__preview {
    height: 15rem;
    margin-top: 1rem;
    border-radius: 1rem;
    display: grid;
    place-items: end start;
    padding: 1rem;
    color: var(--ink);
    font-weight: 700;
    background:
        radial-gradient(circle at 25% 28%, rgba(109, 76, 255, 0.18), transparent 18%),
        radial-gradient(circle at 70% 60%, rgba(255, 179, 211, 0.35), transparent 15%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(223, 211, 255, 0.8));
}

.screenshot-card--violet .screenshot-card__preview { background:
        radial-gradient(circle at 25% 28%, rgba(109, 76, 255, 0.18), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(216, 203, 255, 0.88)); }
.screenshot-card--lavender .screenshot-card__preview { background:
        radial-gradient(circle at 70% 60%, rgba(109, 76, 255, 0.16), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 231, 255, 0.92)); }
.screenshot-card--pearl .screenshot-card__preview { background:
        radial-gradient(circle at 45% 30%, rgba(255, 153, 193, 0.2), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 228, 255, 0.88)); }
.screenshot-card--rose .screenshot-card__preview { background:
        radial-gradient(circle at 35% 30%, rgba(255, 153, 193, 0.3), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 230, 240, 0.92)); }
.screenshot-card--smoke .screenshot-card__preview { background:
        radial-gradient(circle at 35% 30%, rgba(23, 17, 42, 0.08), transparent 18%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 238, 244, 0.92)); }

.faq-accordion {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.faq-accordion__item {
    overflow: hidden;
    border-radius: 1.2rem;
}

.faq-accordion__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    font-weight: 600;
}

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

.faq-accordion__item summary::after {
    content: "+";
    color: var(--purple-700);
    font-size: 1.2rem;
}

.faq-accordion__item[open] summary::after {
    content: "–";
}

.faq-accordion__content {
    padding: 0 1.2rem 1.1rem;
}

.page-intro {
    padding: 2.5rem 0 1rem;
}

.page-intro h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
}

.support-card,
.support-note,
.legal-card {
    padding: clamp(1.4rem, 4vw, 2.2rem);
}

.support-card {
    text-align: center;
}

.support-card a,
.support-note a,
.legal-card a {
    color: var(--purple-700);
    text-decoration: none;
    font-weight: 600;
}

.legal-card h2 {
    margin-top: 1.8rem;
    font-size: 1.25rem;
}

@media (min-width: 720px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .screenshot-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-intro {
        padding-top: 3.5rem;
    }
}

@media (min-width: 900px) {
    .hero-card {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        min-height: 42rem;
    }

    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .screenshot-gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .step {
        min-height: 14rem;
    }

    .steps {
        gap: 1.2rem;
    }

    .phone-mockup {
        width: 22rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
