:root {
    --bg-top: #f7fbff;
    --bg-bottom: #eeeffc;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-soft: #f7fbff;
    --surface-muted: #eef4ff;
    --border: rgba(171, 196, 232, 0.38);
    --text: #111318;
    --text-muted: rgba(17, 19, 24, 0.68);
    --text-soft: rgba(17, 19, 24, 0.44);
    --accent: #8fc7ea;
    --accent-strong: #7ab5df;
    --accent-soft: #c6c3ea;
    --accent-deep: #9faddf;
    --success: #249555;
    --shadow: 0 18px 44px rgba(108, 130, 176, 0.12);
    --shadow-soft: 0 10px 24px rgba(108, 130, 176, 0.08);
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shell-width: 31rem;
    --font-sans: "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", sans-serif;
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(143, 199, 234, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(198, 195, 234, 0.36), transparent 26%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 8%, rgba(143, 199, 234, 0.26), transparent 28%),
        radial-gradient(circle at 82% 82%, rgba(198, 195, 234, 0.28), transparent 25%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(198, 195, 234, 0.08));
}

.app-shell {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.topbar {
    position: relative;
    z-index: 3;
    padding: calc(10px + env(safe-area-inset-top)) 16px 12px;
    border-bottom: 1px solid rgba(171, 196, 232, 0.34);
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.92), rgba(247, 251, 255, 0.66));
    backdrop-filter: blur(18px);
}

.topbar-row,
.screen,
.sticky-cta > * {
    width: min(100%, var(--shell-width));
    margin: 0 auto;
}

.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(143, 199, 234, 0.24);
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-soft);
    white-space: nowrap;
}

.icon-button {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
}

.icon-button svg {
    width: 16px;
    height: 16px;
}

.progress-track {
    width: min(100%, var(--shell-width));
    height: 10px;
    margin: 0 auto;
    border-radius: var(--radius-pill);
    background: rgba(159, 173, 223, 0.16);
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 52%, var(--accent-deep) 100%);
    transition: width 0.24s ease;
}

.screen-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 16px 10px;
}

.screen {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: enter 0.24s ease-out;
}

.panel {
    padding: 2px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(171, 196, 232, 0.52);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
    box-shadow: 0 0 0 5px rgba(143, 199, 234, 0.1);
}

.title {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.subtitle {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.38;
    color: var(--text-muted);
}

.option-list {
    display: grid;
    gap: 9px;
}

.option-button,
.primary-button,
.secondary-button {
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background-color 0.16s ease,
        box-shadow 0.16s ease;
}

.option-button {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
    border: 2px solid rgba(197, 210, 236, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.option-button:hover {
    transform: translateY(-1px);
    border-color: rgba(143, 199, 234, 0.82);
    background: #fbfdff;
}

.option-button:active,
.primary-button:active,
.secondary-button:active {
    transform: scale(0.985);
}

.option-button-inner {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 11px;
}

.option-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.08rem;
    background: linear-gradient(180deg, #eef7ff, #f2efff);
}

.option-copy {
    display: grid;
    gap: 2px;
}

.option-title {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.option-caption {
    font-size: 0.81rem;
    line-height: 1.24;
    color: var(--text-muted);
}

.proof-summary,
.review-card,
.result-card,
.download-card,
.status-card,
.email-card {
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.split-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 14px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #6a98cb;
    letter-spacing: -0.04em;
}

.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.proof-stars,
.review-stars {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: #6a98cb;
}

.review-stack {
    display: grid;
    gap: 12px;
}

.review-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(171, 196, 232, 0.52);
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.review-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.review-avatar,
.review-avatar-image {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.review-avatar {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #eef7ff, #ecebff);
    color: #6288ba;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(108, 130, 176, 0.12);
}

.review-avatar-image {
    display: block;
    object-fit: cover;
}

.review-meta {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.review-name {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.review-tag {
    font-size: 0.73rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-copy {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.42;
}

.review-copy strong {
    color: var(--text);
}

.demo-card {
    padding: 16px 16px 18px;
    border-radius: 22px;
    background: transparent;
    text-align: center;
}

.demo-video-wrap {
    width: min(100%, 220px);
    margin: 0 auto 16px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(238, 247, 255, 0.94), rgba(242, 239, 255, 0.9));
    box-shadow: 0 18px 36px rgba(108, 130, 176, 0.16);
}

.demo-video {
    display: block;
    width: 100%;
    height: auto;
}

.demo-title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.demo-text {
    width: min(100%, 26rem);
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.status-card {
    padding: 18px 16px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.status-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: linear-gradient(180deg, #eef7ff, #f2efff);
}

.status-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.status-subtitle {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

.status-row {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
}

.status-bullet {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
}

.status-bullet.is-done {
    border-radius: 999px;
    background: rgba(36, 149, 85, 0.12);
    color: var(--success);
}

.status-bullet.is-active,
.status-bullet.is-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.bounce-dot,
.pending-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
}

.bounce-dot {
    background: #86bbe3;
    animation: bounce 1s infinite;
}

.pending-dot {
    background: rgba(159, 173, 223, 0.26);
}

.status-copy {
    font-size: 0.86rem;
}

.status-copy.is-muted {
    color: var(--text-soft);
}

.email-card,
.result-card {
    padding: 18px 16px;
}

.email-card form {
    display: grid;
    gap: 10px;
}

.field-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.email-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(171, 196, 232, 0.52);
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    text-align: center;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.email-input:focus {
    border-color: rgba(122, 181, 223, 0.82);
    box-shadow: 0 0 0 4px rgba(143, 199, 234, 0.12);
}

.fine-print {
    font-size: 0.72rem;
    line-height: 1.28;
    color: var(--text-soft);
    text-align: center;
}

.primary-button,
.secondary-button {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    letter-spacing: -0.015em;
}

.primary-button {
    color: #111318;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 52%, var(--accent-deep) 100%);
    box-shadow: 0 14px 26px rgba(143, 199, 234, 0.22);
}

.primary-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(90deg, var(--accent-strong) 0%, var(--accent-soft) 52%, var(--accent-deep) 100%);
}

.primary-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.secondary-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(171, 196, 232, 0.52);
    box-shadow: var(--shadow-soft);
}

.secondary-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 1);
}

.result-head {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef7ff, #f2efff);
    font-size: 1.3rem;
}

.result-title {
    margin: 0 0 6px;
    text-align: center;
    font-size: clamp(1.55rem, 6vw, 2rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.result-subtitle {
    margin: 0 0 12px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.32;
    font-size: 0.86rem;
}

.profile-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 14px;
}

.profile-pill {
    padding: 7px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(143, 199, 234, 0.14), rgba(198, 195, 234, 0.18));
    border: 1px solid rgba(171, 196, 232, 0.4);
}

.result-list {
    display: grid;
    gap: 10px;
}

.result-row {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: start;
}

.result-row-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(180deg, #eef7ff, #f2efff);
}

.result-row-title {
    margin: 0 0 2px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 0.86rem;
}

.result-row-text {
    margin: 0;
    line-height: 1.26;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.store-link {
    display: block;
    width: min(100%, 210px);
    margin: 16px auto 0;
    text-decoration: none;
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #111318;
    color: #fff;
    box-shadow: 0 16px 28px rgba(17, 19, 24, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.store-link:hover .store-button {
    transform: translateY(-1px);
    background: #0a0b0e;
    box-shadow: 0 18px 30px rgba(17, 19, 24, 0.22);
}

.store-button-mark {
    font-size: 1.7rem;
    line-height: 1;
}

.store-button-copy {
    display: grid;
    gap: 1px;
    text-align: left;
}

.store-button-kicker {
    font-size: 0.62rem;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.store-button-title {
    font-size: 1.15rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.download-card {
    padding: 26px 18px 18px;
    text-align: center;
}

.download-check {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: rgba(126, 232, 169, 0.22);
    color: #16a34a;
    font-size: 1.4rem;
    font-weight: 700;
}

.download-title {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 5.6vw, 2rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.download-subtitle {
    margin: 0 auto 16px;
    width: min(100%, 22rem);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.download-qr {
    margin-top: 16px;
}

.download-qr-image {
    display: block;
    width: 132px;
    height: 132px;
    margin: 0 auto;
    box-shadow: 0 12px 24px rgba(108, 130, 176, 0.14);
}

.download-qr-text {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.34;
}

.sticky-cta {
    position: relative;
    z-index: 2;
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(247, 251, 255, 0.9) 22%, rgba(247, 251, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
}

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

@keyframes enter {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (min-width: 820px) {
    .topbar,
    .screen-wrap,
    .sticky-cta {
        padding-inline: 22px;
    }
}
