[v-cloak] { display: none !important; }

:root {
    --alt-bg:
        radial-gradient(circle at 18% 18%, rgba(254, 129, 21, 0.18), transparent 22%),
        radial-gradient(circle at 82% 22%, rgba(67, 142, 122, 0.16), transparent 24%),
        radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.04), transparent 30%),
        linear-gradient(180deg, #0f1317 0%, #0a0d10 42%, #06080b 100%);
    --alt-text: #f8f6f2;
    --alt-muted: rgba(248, 246, 242, 0.76);
    --alt-soft: rgba(248, 246, 242, 0.56);
    --alt-faint: rgba(248, 246, 242, 0.44);
    --alt-glass:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.045)),
        rgba(12, 14, 18, 0.84);
    --alt-glass-active:
        linear-gradient(180deg, rgba(67, 142, 122, 0.16), rgba(255, 255, 255, 0.045)),
        rgba(12, 14, 18, 0.90);
    --alt-border: rgba(255, 255, 255, 0.08);
    --alt-chip-bg: rgba(255, 255, 255, 0.06);
    --alt-chip-border: rgba(255, 255, 255, 0.10);
    --alt-icon-bg: linear-gradient(135deg, rgba(254, 129, 21, 0.18), rgba(67, 142, 122, 0.22));
    --alt-horizon: linear-gradient(90deg, rgba(67, 142, 122, 0.12), rgba(67, 142, 122, 0.50), rgba(254, 129, 21, 0.28), rgba(67, 142, 122, 0.12));
    --alt-particle: rgba(255, 255, 255, 0.86);
    --alt-particle-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
    --alt-orb:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96), rgba(242, 247, 244, 0.98) 55%, rgba(227, 236, 232, 0.95) 100%);
    --alt-orb-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 45px rgba(67, 142, 122, 0.20),
        0 0 90px rgba(254, 129, 21, 0.14);
    --alt-arc:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    --chat-bg: #090b11;
    --commit-gold: linear-gradient(90deg, #b87812 0%, #d89b2d 46%, #f0bb4d 100%);
    --commit-gold-soft: rgba(240, 187, 77, 0.22);
}

[data-theme="light"] {
    --alt-bg:
        radial-gradient(circle at 16% 14%, rgba(254, 129, 21, 0.20), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(67, 142, 122, 0.17), transparent 28%),
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.88), transparent 34%),
        linear-gradient(180deg, #fffaf2 0%, #f5efe5 48%, #ebe3d7 100%);
    --alt-text: #14161d;
    --alt-muted: rgba(20, 22, 29, 0.72);
    --alt-soft: rgba(20, 22, 29, 0.56);
    --alt-faint: rgba(20, 22, 29, 0.48);
    --alt-glass:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 246, 0.82)),
        rgba(255, 255, 255, 0.72);
    --alt-glass-active:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 251, 246, 0.84)),
        rgba(255, 255, 255, 0.76);
    --alt-border: rgba(33, 34, 41, 0.10);
    --alt-chip-bg: rgba(255, 255, 255, 0.70);
    --alt-chip-border: rgba(20, 22, 29, 0.10);
    --alt-icon-bg: linear-gradient(135deg, rgba(254, 129, 21, 0.18), rgba(67, 142, 122, 0.20));
    --alt-horizon: linear-gradient(90deg, rgba(67, 142, 122, 0.12), rgba(67, 142, 122, 0.38), rgba(254, 129, 21, 0.24), rgba(67, 142, 122, 0.12));
    --alt-particle: rgba(40, 43, 50, 0.44);
    --alt-particle-shadow: 0 0 12px rgba(67, 142, 122, 0.16);
    --alt-orb:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 1), rgba(255, 248, 239, 0.98) 56%, rgba(235, 243, 238, 0.98) 100%);
    --alt-orb-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.86),
        0 28px 70px rgba(67, 142, 122, 0.16),
        0 18px 44px rgba(254, 129, 21, 0.14);
    --alt-arc:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.16) 100%);
    --chat-bg: #f8f1e8;
    --commit-gold: linear-gradient(90deg, #b87812 0%, #d89b2d 46%, #f0bb4d 100%);
    --commit-gold-soft: rgba(216, 155, 45, 0.18);
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--alt-bg);
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Sen', sans-serif;
    color: var(--alt-text);
}

.preview-shell {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    isolation: isolate;
}

.status-space {
    height: calc(18px + env(safe-area-inset-top, 0px));
}

.sky-arc {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    border-radius: 0;
    background: var(--alt-arc);
    box-shadow: none;
    filter: none;
    opacity: 0;
    animation: arc-enter 1.4s ease forwards;
}

.sky-arc::before {
    content: '';
    position: absolute;
    inset: auto auto 42% 50%;
    width: min(90vw, 440px);
    height: min(90vw, 440px);
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(67, 142, 122, 0.22) 0%, rgba(67, 142, 122, 0.10) 28%, transparent 68%);
    filter: blur(8px);
}

.sky-arc::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 31%;
    transform: translateX(-50%);
    width: min(112vw, 620px);
    height: 220px;
    border: 1px solid rgba(67, 142, 122, 0.24);
    border-bottom: none;
    border-radius: 999px 999px 0 0;
    opacity: 0.75;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(0,0,0,0.15) 72%, transparent 100%);
}

[data-theme="light"] .sky-arc::before {
    background:
        radial-gradient(circle, rgba(67, 142, 122, 0.20) 0%, rgba(67, 142, 122, 0.10) 30%, transparent 70%),
        radial-gradient(circle at 34% 40%, rgba(254, 129, 21, 0.16), transparent 54%);
    filter: blur(10px);
}

[data-theme="light"] .sky-arc::after {
    border-color: rgba(67, 142, 122, 0.20);
    box-shadow: 0 -18px 70px rgba(67, 142, 122, 0.08);
}

.horizon {
    display: none;
}

.horizon::before {
    display: none;
}

.particle-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 999px;
    background: var(--alt-particle);
    box-shadow: var(--alt-particle-shadow);
    opacity: 0;
    animation: twinkle var(--dur) ease-in-out infinite;
    animation-delay: var(--delay);
}

.glow-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: max(20px, 3vh) 24px calc(36px + env(safe-area-inset-bottom, 0px));
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

.glow-stage.is-chat {
    padding: 0;
}

.glow-stage.is-commit {
    padding: 0;
    align-items: stretch;
}

.hero {
    margin-top: clamp(20px, 5vh, 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(18px);
    animation: fade-up 0.9s ease 0.15s forwards;
}

.hero-orb {
    position: relative;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--alt-orb);
    box-shadow: var(--alt-orb-shadow);
    overflow: hidden;
    animation: float-orb 6.5s ease-in-out infinite;
    /* iOS Safari: force GPU layer so overflow:hidden+border-radius clips filter children */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.hero-orb::before {
    content: '';
    position: absolute;
    inset: -18%;
    background: conic-gradient(from 180deg, rgba(67, 142, 122, 0.22), rgba(254, 129, 21, 0.18), rgba(67, 142, 122, 0.22));
    filter: blur(28px);
    opacity: 0.55;
    z-index: -1;
}

/* iOS Safari only: hide the blurred pseudo-element that escapes overflow:hidden on iOS */
@supports (-webkit-touch-callout: none) {
    .hero-orb::before {
        display: none;
    }
}



.hero-logo {
    width: 104px;
    height: 104px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(10, 14, 16, 0.12));
    animation: logo-breathe 4.8s ease-in-out infinite;
}

.brand-chip {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--alt-chip-bg);
    border: 1px solid var(--alt-chip-border);
    backdrop-filter: blur(12px);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--alt-muted);
}

.brand-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-orange), var(--green-green));
    box-shadow: 0 0 14px rgba(254, 129, 21, 0.45);
}

.copy-block {
    margin-top: 28px;
    text-align: center;
    max-width: 340px;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--alt-soft);
}

.headline {
    margin: 0;
    font-size: clamp(40px, 7vw, 54px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    font-weight: 700;
}

.headline-accent {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #ffd4b2 34%, #8ed0bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .headline-accent {
    background: linear-gradient(135deg, #f47b16 0%, #d8962b 36%, #237c68 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.subcopy {
    margin: 20px auto 0;
    max-width: 320px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--alt-muted);
}

.cta-stack {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    margin-top: auto;
    padding-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.9s ease 0.4s forwards;
}

.cta-stack.is-auth-expanded {
    gap: 12px;
}

.auth-choice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--alt-border);
    border-radius: 18px;
    background: var(--alt-glass);
    color: var(--alt-text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.26s ease, border-color 0.26s ease, background 0.26s ease, box-shadow 0.26s ease;
}

.cta-button-primary {
    border-color: rgba(254, 129, 21, 0.34);
    background:
        linear-gradient(135deg, rgba(254, 129, 21, 0.26), rgba(67, 142, 122, 0.18)),
        rgba(12, 14, 18, 0.92);
}

[data-theme="light"] .cta-button-primary {
    border-color: rgba(244, 123, 22, 0.38);
    background:
        linear-gradient(135deg, rgba(254, 129, 21, 0.22), rgba(67, 142, 122, 0.14)),
        rgba(255, 255, 255, 0.86);
}

.cta-button-primary .cta-icon-wrap {
    background: linear-gradient(135deg, rgba(254, 129, 21, 0.34), rgba(67, 142, 122, 0.28));
}

.cta-button-staging {
    margin-top: 0;
    margin-bottom: 4px;
    border-width: 2px;
    border-style: dashed;
    border-color: rgba(67, 142, 122, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(67, 142, 122, 0.18),
        0 12px 30px rgba(67, 142, 122, 0.22);
    background:
        linear-gradient(135deg, rgba(67, 142, 122, 0.28), rgba(254, 129, 21, 0.14)),
        rgba(12, 14, 18, 0.92);
}

[data-theme="light"] .cta-button-staging {
    border-color: rgba(67, 142, 122, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 0 1px rgba(67, 142, 122, 0.14),
        0 12px 28px rgba(67, 142, 122, 0.16);
    background:
        linear-gradient(135deg, rgba(67, 142, 122, 0.2), rgba(254, 129, 21, 0.1)),
        rgba(255, 255, 255, 0.94);
}

.cta-button-staging .staging-quick-auth-icon {
    background: linear-gradient(135deg, rgba(67, 142, 122, 0.34), rgba(254, 129, 21, 0.2));
}

.cta-button:disabled {
    cursor: default;
    opacity: 0.58;
}

.signin-link-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--alt-muted);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    padding: 4px 8px;
    cursor: pointer;
}

.signin-link-button:hover,
.signin-link-button:focus-visible {
    color: var(--alt-text);
    text-decoration: underline;
    outline: none;
}

.secure-purchase-copy {
    margin: 0 4px 2px;
    color: var(--alt-muted);
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
}

.cta-error {
    min-height: 22px;
    padding: 0 6px;
    font-size: 14px;
    line-height: 1.45;
    color: #ff9a9a;
}

[data-theme="light"] .cta-error {
    color: #ba3d2d;
}

[data-theme="light"] .cta-button {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 14px 32px rgba(50, 43, 35, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.50);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.10) 50%, transparent 85%);
    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(254, 129, 21, 0.30);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 14px 32px rgba(0, 0, 0, 0.20),
        0 0 0 1px rgba(67, 142, 122, 0.10);
    outline: none;
}

[data-theme="light"] .cta-button:hover,
[data-theme="light"] .cta-button:focus-visible {
    border-color: rgba(254, 129, 21, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 38px rgba(50, 43, 35, 0.13),
        0 0 0 1px rgba(67, 142, 122, 0.10);
}

.cta-button:hover::before,
.cta-button:focus-visible::before {
    transform: translateX(120%);
}

.cta-button.is-active {
    border-color: rgba(67, 142, 122, 0.42);
    background: var(--alt-glass-active);
}

.cta-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--alt-icon-bg);
    border: 1px solid var(--alt-border);
}

[data-theme="light"] .cta-icon-wrap {
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.72), transparent 48%),
        var(--alt-icon-bg);
    border-color: rgba(20, 22, 29, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.cta-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.cta-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.cta-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--alt-text);
}

.cta-arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    opacity: 0.46;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.cta-button:hover .cta-arrow,
.cta-button:focus-visible .cta-arrow {
    transform: translateX(2px);
    opacity: 0.78;
}

.legal-copy {
    margin: 30px auto 0;
    max-width: 330px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--alt-faint);
    opacity: 0;
    animation: fade-up 0.9s ease 0.62s forwards;
}

.legal-copy strong {
    color: var(--alt-text);
    font-weight: 700;
}

.legal-copy a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.legal-copy a:hover,
.legal-copy a:focus-visible {
    text-decoration: underline;
}

.auth-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 8, 0.68);
    backdrop-filter: blur(8px);
    z-index: 20;
}

[data-theme="light"] .auth-sheet-backdrop {
    background: rgba(43, 30, 18, 0.22);
    backdrop-filter: blur(10px) saturate(1.05);
}

.auth-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: min(100%, 520px);
    max-height: min(84dvh, 760px);
    transform: translate(-50%, 0);
    border-radius: 32px 32px 0 0;
    border: 1px solid var(--alt-border);
    background:
        linear-gradient(180deg, rgba(14, 16, 22, 0.96), rgba(10, 12, 18, 0.98)),
        rgba(10, 12, 18, 0.98);
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.42);
    padding:
        14px
        18px
        calc(22px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    z-index: 21;
    color: #f8f6f2;
    overflow-y: auto;
}

[data-theme="light"] .auth-sheet {
    background:
        radial-gradient(circle at 50% -10%, rgba(254, 129, 21, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.98)),
        #fff8ee;
    border-color: rgba(33, 34, 41, 0.10);
    box-shadow:
        0 -24px 54px rgba(83, 61, 35, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    color: var(--alt-text);
}

.auth-sheet-handle {
    width: 72px;
    height: 5px;
    border-radius: 999px;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .auth-sheet-handle {
    background: rgba(20, 22, 29, 0.16);
}

.auth-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-sheet-icon-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(248, 246, 242, 0.82);
    display: grid;
    place-items: center;
    cursor: pointer;
}

[data-theme="light"] .auth-sheet-icon-button {
    border-color: rgba(20, 22, 29, 0.10);
    background: rgba(20, 22, 29, 0.04);
    color: rgba(20, 22, 29, 0.72);
}

.auth-sheet-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.96), rgba(242,247,244,0.98) 55%, rgba(227,236,232,0.95) 100%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.12),
        0 0 32px rgba(67, 142, 122, 0.16),
        0 0 54px rgba(254, 129, 21, 0.12);
}

[data-theme="light"] .auth-sheet-logo {
    box-shadow:
        0 0 0 1px rgba(20, 22, 29, 0.08),
        0 16px 34px rgba(67, 142, 122, 0.12),
        0 12px 28px rgba(254, 129, 21, 0.10);
}

.auth-sheet-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.auth-sheet-body {
    margin-top: 16px;
}

.auth-sheet-title {
    margin: 0;
    text-align: center;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #f8f6f2;
}

[data-theme="light"] .auth-sheet-title {
    color: var(--alt-text);
}

.auth-sheet-subtitle {
    margin: 10px auto 0;
    max-width: 320px;
    text-align: center;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(248, 246, 242, 0.64);
}

[data-theme="light"] .auth-sheet-subtitle {
    color: var(--alt-muted);
}

.auth-sheet-form {
    margin-top: 28px;
}

.auth-sheet-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
    align-items: end;
}

.auth-sheet-field {
    position: relative;
    min-width: 0;
}

.auth-sheet-label {
    display: block;
    margin: 0 0 10px 6px;
    font-size: 15px;
    color: rgba(248, 246, 242, 0.74);
}

[data-theme="light"] .auth-sheet-label {
    color: var(--alt-soft);
}

.auth-sheet-input {
    width: 100%;
    height: 72px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    color: #f8f6f2;
    padding: 0 24px;
    font: 400 18px/1 'Sen', sans-serif;
    box-sizing: border-box;
}

[data-theme="light"] .auth-sheet-input {
    border-color: rgba(20, 22, 29, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--alt-text);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 24px rgba(83, 61, 35, 0.08);
}

.auth-sheet-input::placeholder {
    color: rgba(248, 246, 242, 0.26);
}

[data-theme="light"] .auth-sheet-input::placeholder {
    color: rgba(20, 22, 29, 0.34);
}

.auth-sheet-input--autofill-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.auth-sheet-input:focus {
    outline: none;
    border-color: rgba(254, 129, 21, 0.38);
    box-shadow: 0 0 0 3px rgba(254, 129, 21, 0.12);
}

[data-theme="light"] .auth-sheet-input:focus {
    border-color: rgba(254, 129, 21, 0.46);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 0 0 3px rgba(254, 129, 21, 0.14),
        0 12px 28px rgba(83, 61, 35, 0.10);
}

.auth-sheet-submit {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #5961ff, #4b58d0);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(79, 90, 220, 0.28);
}

[data-theme="light"] .auth-sheet-submit {
    background: linear-gradient(135deg, var(--orange-orange), #d86d10);
    box-shadow: 0 12px 26px rgba(254, 129, 21, 0.26);
}

.auth-sheet-submit:disabled {
    opacity: 0.42;
    cursor: default;
    box-shadow: none;
}

.auth-sheet-error {
    min-height: 22px;
    margin: 14px 6px 0;
    font-size: 14px;
    color: #ff9a9a;
}

[data-theme="light"] .auth-sheet-error {
    color: #ba3d2d;
}

.auth-sheet-helper {
    margin: 18px 6px 0;
    font-size: 14px;
    color: rgba(248, 246, 242, 0.60);
}

[data-theme="light"] .auth-sheet-helper {
    color: var(--alt-soft);
}

.auth-sheet-helper a {
    color: #9bcfff;
    text-decoration: none;
}

[data-theme="light"] .auth-sheet-helper a {
    color: #267462;
    font-weight: 700;
}

.sheet-fade-enter-active,
.sheet-fade-leave-active {
    transition: opacity 0.24s ease;
}

.sheet-fade-enter-from,
.sheet-fade-leave-to {
    opacity: 0;
}

.sheet-slide-enter-active,
.sheet-slide-leave-active {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.sheet-slide-enter-from,
.sheet-slide-leave-to {
    opacity: 0;
    transform: translate(-50%, 24px);
}

.step-shell {
    width: 100%;
}

.progress-screen {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0 24px 0;
    box-sizing: border-box;
    overflow: visible;
    background: var(--chat-bg);
}

.commit-screen {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    padding:
        calc(env(safe-area-inset-top, 0px) + 10px)
        max(14px, env(safe-area-inset-left, 0px))
        calc(env(safe-area-inset-bottom, 0px) + 18px)
        max(14px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    background: #050505;
    overflow-y: auto;
}

[data-theme="light"] .commit-screen {
    background:
        radial-gradient(circle at 82% 12%, rgba(67, 142, 122, 0.12), transparent 28%),
        radial-gradient(circle at 18% 20%, rgba(254, 129, 21, 0.16), transparent 30%),
        linear-gradient(180deg, #fff8ee 0%, #f6eee3 54%, #eae0d3 100%);
}

.commit-inner {
    width: min(100%, 430px);
    min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 28px);
    margin: 0 auto;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: clamp(16px, 2.4vh, 28px);
    box-sizing: border-box;
}

.commit-visual {
    width: 100%;
    display: block;
}

.commit-heading {
    margin: 0 auto;
    padding: 0 12px;
    max-width: 360px;
    text-align: center;
    font-size: clamp(24px, 6.8vw, 37px);
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: #fbf8f2;
    font-weight: 400;
    align-self: center;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(22px);
    animation: commit-heading-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

[data-theme="light"] .commit-heading {
    color: var(--alt-text);
}

.commit-heading strong {
    font-weight: 700;
    background: linear-gradient(90deg, #fe8115, #ff9e45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .commit-heading strong {
    background: linear-gradient(90deg, #c77910, #237c68);
    -webkit-background-clip: text;
    background-clip: text;
}

.commit-graph {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: clamp(360px, 45vh, 470px);
    min-height: 340px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background:
        radial-gradient(ellipse 40% 50% at 88% 28%, rgba(254, 129, 21, 0.10) 0%, transparent 70%),
        transparent;
    justify-self: stretch;
    align-self: center;
    isolation: isolate;
}

[data-theme="light"] .commit-graph {
    background:
        radial-gradient(ellipse 48% 48% at 86% 26%, rgba(216, 155, 45, 0.16) 0%, transparent 72%),
        radial-gradient(ellipse 52% 58% at 18% 82%, rgba(67, 142, 122, 0.10) 0%, transparent 70%);
}

.commit-grid {
    position: absolute;
    inset: 54px 0 50px;
    background-image:
        repeating-linear-gradient(to right, rgba(255, 236, 196, 0.08), rgba(255, 236, 196, 0.08) 1px, transparent 1px, transparent 25%),
        repeating-linear-gradient(to top, rgba(255, 236, 196, 0.10), rgba(255, 236, 196, 0.10) 1px, transparent 1px, transparent 14.285%);
    opacity: 0.88;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 12%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, rgba(0,0,0,0.4) 90%, transparent 100%);
    transform-origin: center bottom;
    transform: translateY(18px) scaleY(0.92);
    opacity: 0;
    animation: commit-grid-in 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

[data-theme="light"] .commit-grid {
    background-image:
        repeating-linear-gradient(to right, rgba(60, 52, 42, 0.10), rgba(60, 52, 42, 0.10) 1px, transparent 1px, transparent 25%),
        repeating-linear-gradient(to top, rgba(60, 52, 42, 0.11), rgba(60, 52, 42, 0.11) 1px, transparent 1px, transparent 14.285%);
}

.commit-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.commit-area {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center bottom;
    transform: translateY(18px) scaleY(0.82);
    animation: commit-area-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.commit-line,
.commit-callout {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.commit-line {
    animation: commit-draw-line 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s forwards;
}

.commit-callout.start {
    animation: commit-draw-line 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s forwards;
}

.commit-callout.top {
    animation: commit-draw-line 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.24s forwards;
}

.commit-node,
.commit-halo {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.commit-node.start {
    animation: commit-node-pop 0.54s cubic-bezier(0.2, 1.08, 0.35, 1) 0.82s forwards;
}

.commit-halo.start {
    animation: commit-halo-in 0.78s ease-out 0.8s forwards;
}

.commit-node.end {
    animation: commit-node-pop 0.58s cubic-bezier(0.2, 1.08, 0.35, 1) 1.34s forwards;
}

.commit-halo.end {
    animation:
        commit-halo-in 0.9s ease-out 1.36s forwards,
        commit-halo-breathe 3.8s ease-in-out 2.18s infinite;
}

[data-theme="light"] .commit-callout.start {
    stroke: rgba(38, 116, 98, 0.72);
}

[data-theme="light"] .commit-callout.top {
    stroke: rgba(146, 96, 26, 0.46);
}

[data-theme="light"] .commit-node.start {
    fill: #267462;
}

[data-theme="light"] .commit-halo.start {
    fill: rgba(38, 116, 98, 0.14);
}

[data-theme="light"] .commit-node.end {
    fill: #fe8115;
}

.commit-badge {
    position: absolute;
    z-index: 2;
    max-width: calc(100% - 20px);
    padding: 14px 22px;
    border-radius: 14px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    opacity: 0;
    filter: blur(12px);
    transform:
        translate(var(--commit-badge-offset-x, 0), var(--commit-badge-offset-y, 0))
        translate3d(var(--commit-badge-x, 0), var(--commit-badge-y, 16px), 0)
        scale(0.96);
    animation: commit-badge-in 0.74s cubic-bezier(0.22, 1, 0.36, 1) var(--commit-badge-delay, 1s) forwards;
}

.commit-badge.top {
    top: 6%;
    right: 0;
    width: min(220px, 56%);
    text-align: center;
    color: #fff7e9;
    background: linear-gradient(180deg, #fe8115 0%, #d96a0a 100%);
    border: 1px solid rgba(255, 175, 100, 0.28);
    --commit-badge-offset-x: -25%;
    --commit-badge-x: 18px;
    --commit-badge-y: -12px;
    --commit-badge-delay: 1.3s;
}

.commit-badge.start {
    left: 12%;
    top: 53.5%;
    width: min(228px, 58%);
    text-align: center;
    color: #effff4;
    background: linear-gradient(180deg, rgba(52, 101, 74, 0.96), rgba(29, 69, 48, 0.98));
    border: 1px solid rgba(177, 231, 196, 0.16);
    --commit-badge-x: -18px;
    --commit-badge-y: 10px;
    --commit-badge-delay: 0.96s;
}

[data-theme="light"] .commit-badge {
    box-shadow:
        0 14px 30px rgba(83, 61, 35, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

[data-theme="light"] .commit-badge.top {
    color: #fff9ea;
    background: linear-gradient(180deg, #fe8115 0%, #d96a0a 100%);
}

[data-theme="light"] .commit-badge.start {
    color: #f4fff8;
    background: linear-gradient(180deg, rgba(55, 129, 101, 0.96), rgba(31, 101, 73, 0.98));
}

.commit-milestones {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 7%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
}

.commit-milestone {
    text-align: center;
    font-size: 11px;
    line-height: 1.22;
    color: rgba(243, 227, 195, 0.62);
    font-weight: 600;
    padding: 0 4px;
    opacity: 0;
    transform: translateY(18px);
    animation: commit-copy-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) var(--commit-copy-delay, 1.15s) forwards;
}

[data-theme="light"] .commit-milestone {
    color: rgba(20, 22, 29, 0.58);
}

.commit-milestone:nth-child(1) {
    --commit-copy-delay: 1.04s;
}

.commit-milestone:nth-child(2) {
    --commit-copy-delay: 1.14s;
}

.commit-milestone:nth-child(3) {
    --commit-copy-delay: 1.24s;
}

.commit-milestone:nth-child(4) {
    --commit-copy-delay: 1.34s;
}

.commit-footer {
    width: 100%;
    display: grid;
    justify-items: center;
    align-content: center;
    padding-bottom: 0;
    gap: 12px;
}

.commit-cta {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 19px 24px;
    border: 1px solid rgba(255, 175, 100, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, #fe8115 0%, #d96a0a 100%);
    color: #fff9ea;
    font-family: inherit;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow:
        0 16px 40px rgba(254, 129, 21, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    animation: commit-cta-in 0.76s cubic-bezier(0.22, 1, 0.36, 1) 1.58s forwards;
}

.commit-cta:focus-visible,
.commit-cta:hover {
    outline: none;
    transform: translateY(-1px);
    box-shadow:
        0 20px 42px rgba(254, 129, 21, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.commit-cta:disabled {
    opacity: 0.72;
    cursor: default;
    transform: none;
    box-shadow:
        0 16px 40px rgba(254, 129, 21, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.commit-cta.is-busy {
    position: relative;
    color: transparent;
}

.commit-cta.is-busy::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 3px solid rgba(255, 249, 234, 0.38);
    border-top-color: #fff9ea;
    border-radius: 50%;
    animation: onboarding-spin 0.72s linear infinite;
}

.plan-stack {
    display: grid;
    gap: 14px;
}

.proof-panel {
    position: relative;
    margin-top: 18px;
    border-radius: 28px;
    padding: 20px 18px 18px;
    border: 1px solid rgba(254, 129, 21, 0.16);
    background:
        radial-gradient(circle at 12% 0%, rgba(254, 129, 21, 0.14), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(67, 142, 122, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(255, 248, 231, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(23, 18, 11, 0.82);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(18px);
    animation: commit-copy-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) 1.46s forwards;
}

[data-theme="light"] .proof-panel {
    border-color: rgba(20, 22, 29, 0.08);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 214, 148, 0.20), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(67, 142, 122, 0.12), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.94)),
        rgba(255, 255, 255, 0.84);
    box-shadow:
        0 18px 38px rgba(83, 61, 35, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.proof-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.proof-panel-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 178, 100, 0.84);
}

[data-theme="light"] .proof-panel-label {
    color: rgba(147, 93, 23, 0.78);
}

.proof-panel-title {
    margin: 8px 0 0;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff6e7;
}

[data-theme="light"] .proof-panel-title {
    color: var(--alt-text);
}

.proof-panel-mark {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff7e3;
    background:
        linear-gradient(135deg, rgba(240, 187, 77, 0.36), rgba(67, 142, 122, 0.28)),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 14px 28px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .proof-panel-mark {
    color: #7d5415;
    border-color: rgba(20, 22, 29, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 28px rgba(83, 61, 35, 0.10);
}

.proof-panel-mark svg {
    width: 24px;
    height: 24px;
}

.proof-stat {
    margin-top: 16px;
    padding: 16px 16px 15px;
    border-radius: 22px;
    border: 1px solid rgba(254, 129, 21, 0.18);
    text-align: center;
    background:
        linear-gradient(135deg, rgba(236, 182, 75, 0.18), rgba(65, 139, 120, 0.12)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 26px rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .proof-stat {
    border-color: rgba(20, 22, 29, 0.08);
    background:
        linear-gradient(135deg, rgba(236, 182, 75, 0.16), rgba(65, 139, 120, 0.10)),
        rgba(255, 255, 255, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 12px 26px rgba(83, 61, 35, 0.08);
}

.proof-stat-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 178, 100, 0.84);
}

[data-theme="light"] .proof-stat-kicker {
    color: rgba(147, 93, 23, 0.78);
}

.proof-stat-value {
    margin-top: 6px;
    font-size: 34px;
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #fff7e7;
}

[data-theme="light"] .proof-stat-value {
    color: var(--alt-text);
}

.proof-stat-copy {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(250, 245, 236, 0.80);
    text-wrap: balance;
}

[data-theme="light"] .proof-stat-copy {
    color: rgba(73, 66, 57, 0.82);
}

.proof-panel-source {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 178, 100, 0.80);
}

[data-theme="light"] .proof-panel-source {
    color: rgba(147, 93, 23, 0.76);
}

.proof-panel-source-secondary {
    color: rgba(255, 244, 220, 0.66);
}

[data-theme="light"] .proof-panel-source-secondary {
    color: rgba(90, 81, 67, 0.70);
}

.proof-panel-quote {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: #fff7e8;
    font-weight: 700;
    text-wrap: balance;
}

[data-theme="light"] .proof-panel-quote {
    color: var(--alt-text);
}

.proof-panel-summary {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(251, 248, 242, 0.88);
}

[data-theme="light"] .proof-panel-summary {
    color: var(--alt-muted);
}

.proof-panel-summary-plain {
    margin-top: 12px;
}

.proof-chip-row {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.proof-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 247, 231, 0.92);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

[data-theme="light"] .proof-chip {
    border-color: rgba(20, 22, 29, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: rgba(20, 22, 29, 0.82);
}

.plan-card {
    border-radius: 24px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(254, 129, 21, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(20, 16, 10, 0.72);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.plan-stack .plan-card {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.992);
    animation: plan-card-reveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.plan-stack .plan-card:nth-child(1) { animation-delay: 0.98s; }
.plan-stack .plan-card:nth-child(2) { animation-delay: 1.08s; }
.plan-stack .plan-card:nth-child(3) { animation-delay: 1.18s; }

[data-theme="light"] .plan-card {
    border-color: rgba(20, 22, 29, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 241, 0.92)),
        rgba(255, 255, 255, 0.82);
    box-shadow:
        0 16px 36px rgba(83, 61, 35, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.plan-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 178, 100, 0.80);
}

[data-theme="light"] .plan-card-label {
    color: rgba(147, 93, 23, 0.78);
}

.plan-card-copy {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(251, 248, 242, 0.84);
}

[data-theme="light"] .plan-card-copy {
    color: var(--alt-muted);
}

.plan-card-copy strong {
    color: #fff7e5;
}

[data-theme="light"] .plan-card-copy strong {
    color: var(--alt-text);
}

.plan-facts {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.plan-fact {
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .plan-fact {
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(20, 22, 29, 0.08);
}

.plan-fact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248, 246, 242, 0.48);
}

[data-theme="light"] .plan-fact-label {
    color: rgba(20, 22, 29, 0.44);
}

.plan-fact strong {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.35;
    color: #fff8ec;
}

[data-theme="light"] .plan-fact strong {
    color: var(--alt-text);
}

.plan-steps {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.plan-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.plan-step-index {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff8ec;
    background: linear-gradient(180deg, #fe8115 0%, #d96a0a 100%);
}

.plan-step-copy {
    padding-top: 5px;
    font-size: 15px;
    line-height: 1.48;
    color: rgba(251, 248, 242, 0.82);
}

[data-theme="light"] .plan-step-copy {
    color: var(--alt-muted);
}

.commit-error {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #ffb2a3;
}

[data-theme="light"] .commit-error {
    color: #b8472f;
}

.commit-timeline {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.commit-time {
    text-align: center;
    color: rgba(248, 243, 234, 0.7);
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 500;
    opacity: 0;
    transform: translateY(14px);
    animation: commit-copy-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--commit-time-delay, 1.44s) forwards;
}

.commit-time.is-active {
    font-weight: 700;
    color: #f8f3ea;
}

[data-theme="light"] .commit-time {
    color: rgba(20, 22, 29, 0.56);
}

[data-theme="light"] .commit-time.is-active {
    color: var(--alt-text);
}

.commit-time:nth-child(1) {
    --commit-time-delay: 1.42s;
}

.commit-time:nth-child(2) {
    --commit-time-delay: 1.5s;
}

.commit-time:nth-child(3) {
    --commit-time-delay: 1.58s;
}

.commit-time:nth-child(4) {
    --commit-time-delay: 1.66s;
}

@media (max-width: 420px) {
    .commit-inner {
        gap: clamp(14px, 2vh, 22px);
    }

    .commit-heading {
        max-width: 332px;
        padding: 0 6px;
        font-size: clamp(22px, 8.2vw, 33px);
    }

    .commit-graph {
        height: clamp(332px, 44vh, 420px);
        min-height: 332px;
    }

    .commit-badge {
        padding: 12px 18px;
        font-size: 13px;
    }

    .commit-badge.top {
        width: min(208px, 60%);
    }

    .commit-badge.start {
        left: 14%;
        width: min(200px, 60%);
    }

    .commit-milestone {
        font-size: 10px;
    }

    .commit-timeline {
        padding: 0 4px;
    }
}

@media (max-height: 760px) {
    .commit-screen {
        padding-top: calc(env(safe-area-inset-top, 0px) + 6px);
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    }

    .commit-inner {
        min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 18px);
        gap: 12px;
    }

    .commit-visual {
        gap: 6px;
    }

    .commit-heading {
        font-size: clamp(22px, 6.2vw, 30px);
        line-height: 1.12;
    }

    .commit-graph {
        height: clamp(300px, 40vh, 380px);
        min-height: 300px;
    }

    .commit-grid {
        inset: 44px 0 40px;
    }

    .commit-badge {
        padding: 11px 16px;
        font-size: 12px;
    }

    .commit-badge.top {
        width: min(190px, 60%);
    }

    .commit-badge.start {
        width: min(180px, 58%);
        top: 53.5%;
    }

    .commit-milestones {
        bottom: 7%;
    }

    .commit-milestone {
        font-size: 9px;
    }

    .commit-footer {
        gap: 12px;
    }

    .commit-time {
        font-size: 13px;
    }

    .commit-cta {
        padding: 17px 22px;
        font-size: 18px;
    }
}

.progress-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.conversation-viewport {
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: visible;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 26px;
    scroll-behavior: smooth;
}

.conversation-viewport::before {
    content: '';
    position: sticky;
    top: 0;
    display: block;
    height: 22px;
    margin-bottom: -22px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, var(--chat-bg) 0%, rgba(9, 11, 17, 0.58) 34%, rgba(9, 11, 17, 0.18) 72%, rgba(9, 11, 17, 0) 100%);
}

[data-theme="light"] .conversation-viewport::before {
    background: linear-gradient(180deg, var(--chat-bg) 0%, rgba(244, 239, 232, 0.58) 34%, rgba(244, 239, 232, 0.18) 72%, rgba(244, 239, 232, 0) 100%);
}

.conversation-viewport::after {
    content: '';
    display: block;
    height: calc(132px + env(safe-area-inset-bottom, 0px));
    flex: 0 0 auto;
}

.conversation-viewport::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.progress-head {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 13px;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 0 0;
}

.progress-head::after {
    display: none;
}

[data-theme="light"] .progress-head::after {
    display: none;
}

.progress-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange-orange);
    letter-spacing: -0.02em;
}

.progress-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.progress-bar {
    position: relative;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.10);
}

[data-theme="light"] .progress-bar {
    background: rgba(23, 24, 29, 0.10);
}

.progress-bar.is-active::before {
    content: '';
    position: absolute;
    inset: 0;
    width: var(--fill-width, 18%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--orange-orange), #f8c99f);
    box-shadow: 0 0 18px rgba(254, 129, 21, 0.28);
    transform-origin: left center;
    animation: progress-fill-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: width 0.42s ease-out;
}

.chat-flow {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.message-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.assistant-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 54px;
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--alt-soft);
}

.assistant-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-green);
    box-shadow: 0 0 14px rgba(67, 142, 122, 0.42);
}

.chat-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.chat-row.user {
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
}

.chat-row.user .chat-bubble {
    display: inline-flex;
    justify-self: end;
    width: auto;
    max-width: 78%;
}

.chat-row.user.is-compact .chat-bubble {
    width: auto;
    max-width: 78%;
    min-width: 0;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(67, 142, 122, 0.24), rgba(254, 129, 21, 0.22)),
        #f8f1e8;
    border: 1px solid rgba(23, 24, 29, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .chat-avatar {
    background:
        linear-gradient(135deg, rgba(67, 142, 122, 0.24), rgba(254, 129, 21, 0.22)),
        #f8f1e8;
    border-color: rgba(23, 24, 29, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.chat-avatar img {
    width: 36px;
    height: 36px;
}

.chat-bubble {
    background: rgba(51, 44, 78, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    padding: 21px 22px;
    font-size: 18px;
    line-height: 1.45;
    color: #f4f0fb;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .chat-bubble {
    background: rgba(255, 255, 255, 0.74);
    color: #26242e;
    border-color: rgba(23, 24, 29, 0.08);
}

.typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
}

/* Brand green rather than the indigo this used to be: orange is already
   carrying the CTA and the progress bar, so the reply bubble takes the other
   brand colour instead of introducing a third hue the palette never uses.
   Both themes clear 6:1 against white text. */
.user-bubble {
    background-color: rgb(43, 97, 82);
    background-image: linear-gradient(180deg, rgba(52, 113, 96, 0.98), rgba(38, 88, 74, 0.96));
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    white-space: normal;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.user-bubble-body {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
}

[data-theme="light"] .user-bubble {
    background-color: rgb(47, 106, 89);
    background-image: linear-gradient(180deg, rgba(56, 122, 103, 0.96), rgba(43, 97, 82, 0.94));
    color: #ffffff;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.34;
    animation: typing-dot 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

.chat-hero {
    position: relative;
    margin: 12px 0 12px;
    min-height: 128px;
    display: grid;
    place-items: center;
}

.chat-hero-card {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(67, 142, 122, 0.18), rgba(254, 129, 21, 0.14)),
        rgba(17, 20, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    transform: rotate(-4deg);
}

[data-theme="light"] .chat-hero-card {
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.60), transparent 48%),
        linear-gradient(180deg, rgba(67, 142, 122, 0.10), rgba(254, 129, 21, 0.10)),
        rgba(255, 255, 255, 0.76);
    border-color: rgba(23, 24, 29, 0.08);
}

.chat-hero-ring {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(255, 252, 246, 0.96);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 50px rgba(67, 142, 122, 0.18),
        0 0 90px rgba(254, 129, 21, 0.10);
    display: grid;
    place-items: center;
}

.chat-hero-ring img {
    width: 68px;
    height: 68px;
}

.chat-hero-friendly {
    min-height: 150px;
    margin: 10px 0 14px;
}

.chat-hero-friendly .chat-hero-card {
    width: 136px;
    height: 136px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    isolation: isolate;
    overflow: visible;
}

.chat-hero-friendly .chat-hero-card::before {
    content: "";
    position: absolute;
    inset: 9px 6px 7px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 49% 44%, rgba(255, 255, 255, 0.42) 0 18%, rgba(254, 129, 21, 0.30) 35%, rgba(67, 142, 122, 0.20) 55%, rgba(67, 142, 122, 0) 74%);
    box-shadow:
        0 0 32px rgba(254, 129, 21, 0.38),
        0 0 64px rgba(67, 142, 122, 0.32),
        0 18px 38px rgba(0, 0, 0, 0.32);
    filter: blur(8px);
    opacity: 0.86;
    transform: scale(0.98);
    z-index: -1;
}

.chat-hero-friendly .chat-hero-ring {
    position: relative;
    width: 136px;
    height: 136px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.chat-hero-friendly .chat-hero-ring img {
    width: 136px;
    height: 136px;
    object-fit: contain;
    filter:
        drop-shadow(0 3px 7px rgba(255, 255, 255, 0.22))
        drop-shadow(0 18px 24px rgba(35, 24, 66, 0.34));
}

[data-theme="light"] .chat-hero-friendly .chat-hero-card::before {
    opacity: 0.48;
    box-shadow:
        0 0 34px rgba(254, 129, 21, 0.18),
        0 14px 34px rgba(83, 61, 35, 0.12);
}

[data-theme="light"] .chat-hero-friendly .chat-hero-ring img {
    filter: drop-shadow(0 16px 22px rgba(83, 61, 35, 0.18));
}

.chat-spark {
    position: absolute;
    color: transparent;
    font-size: 0;
    animation: twinkle 3.4s ease-in-out infinite;
}

.chat-spark::before {
    content: '✦';
    color: #ffcf64;
    font-size: 24px;
    text-shadow: 0 0 18px rgba(255, 207, 100, 0.34);
}

.chat-spark.a {
    left: 16%;
    top: 28%;
}

.chat-spark.b {
    right: 18%;
    top: 20%;
    animation-delay: 0.8s;
}

.chat-spark.c {
    left: 20%;
    bottom: 24%;
    animation-delay: 1.4s;
}

.select-label {
    margin: 12px 0 8px auto;
    width: fit-content;
    font-size: 14px;
    font-weight: 700;
    color: var(--alt-muted);
}

.option-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(43, 37, 70, 0.88);
    color: #f4f0fb;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.language-option:hover,
.language-option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(254, 129, 21, 0.32);
    outline: none;
}

.language-option.is-selected {
    border-color: rgba(186, 180, 255, 0.42);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.16),
        0 0 0 2px rgba(186, 180, 255, 0.18) inset;
}

[data-theme="light"] .language-option {
    background: rgba(255, 255, 255, 0.78);
    color: #26242e;
    border-color: rgba(23, 24, 29, 0.08);
    box-shadow:
        0 12px 28px rgba(83, 61, 35, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

[data-theme="light"] .language-option.is-selected {
    border-color: rgba(254, 129, 21, 0.38);
    box-shadow:
        0 12px 28px rgba(83, 61, 35, 0.08),
        0 0 0 2px rgba(254, 129, 21, 0.12) inset;
}

.language-option-flag {
    flex: 0 0 auto;
    width: 28px;
    height: 20px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.language-picker-search {
    width: 100%;
    margin: 8px 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 22, 43, 0.72);
    color: #f4f0fb;
    font-size: 16px;
    line-height: 1.4;
}

.language-picker-search::placeholder {
    color: rgba(244, 240, 251, 0.54);
}

.language-picker-search:focus {
    outline: none;
    border-color: rgba(254, 129, 21, 0.34);
    box-shadow: 0 0 0 3px rgba(254, 129, 21, 0.12);
}

[data-theme="light"] .language-picker-search {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(23, 24, 29, 0.08);
    color: #26242e;
}

[data-theme="light"] .language-picker-search::placeholder {
    color: rgba(38, 36, 46, 0.5);
}

.language-picker-list {
    max-height: min(48dvh, 420px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.language-picker-empty {
    padding: 16px 6px 4px;
    color: var(--alt-muted);
    font-size: 14px;
}

.language-picker-sheet .auth-sheet-head {
    position: relative;
    justify-content: center;
}

.language-picker-sheet .auth-sheet-icon-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.language-picker-sheet .auth-sheet-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.language-picker-sheet .auth-sheet-title,
.language-picker-sheet .auth-sheet-subtitle {
    width: 100%;
}

.language-picker-sheet .language-picker-search,
.language-picker-sheet .language-picker-list {
    width: 100%;
}

.choice-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.choice-card {
    width: 100%;
    text-align: left;
    padding: 22px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(43, 37, 70, 0.88);
    color: #f4f0fb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(254, 129, 21, 0.32);
    outline: none;
}

.choice-card.is-selected {
    border-color: rgba(186, 180, 255, 0.46);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.16),
        0 0 0 2px rgba(186, 180, 255, 0.18) inset;
}

.choice-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.choice-card-subtitle {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(244, 240, 251, 0.72);
}

[data-theme="light"] .choice-card {
    background: rgba(255, 255, 255, 0.78);
    color: #26242e;
    border-color: rgba(23, 24, 29, 0.08);
    box-shadow:
        0 12px 28px rgba(83, 61, 35, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

[data-theme="light"] .choice-card.is-selected {
    border-color: rgba(254, 129, 21, 0.40);
    box-shadow:
        0 12px 28px rgba(83, 61, 35, 0.08),
        0 0 0 2px rgba(254, 129, 21, 0.12) inset;
}

[data-theme="light"] .choice-card-subtitle {
    color: rgba(38, 36, 46, 0.64);
}

.plain-link-choice {
    display: inline-block;
    margin: 8px auto 0;
    color: rgba(248, 246, 242, 0.78);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

[data-theme="light"] .plain-link-choice {
    color: rgba(23, 24, 29, 0.7);
}

.name-stage {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.name-input {
    width: min(78%, 320px);
    border: none;
    border-radius: 22px;
    padding: 18px 20px;
    font: inherit;
    font-size: 18px;
    color: #f4f0fb;
    background: linear-gradient(180deg, rgba(88, 71, 176, 0.98), rgba(71, 54, 151, 0.96));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.name-input::placeholder {
    color: rgba(244, 240, 251, 0.72);
}

.name-input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .name-input {
    color: #26242e;
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
        0 12px 28px rgba(83, 61, 35, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

[data-theme="light"] .name-input::placeholder {
    color: rgba(38, 36, 46, 0.48);
}

[data-theme="light"] .name-input:focus {
    outline: 2px solid rgba(254, 129, 21, 0.24);
}

.name-meta {
    font-size: 14px;
    color: var(--alt-soft);
}

.continue-button {
    border: none;
    border-radius: 22px;
    padding: 16px 32px;
    background: #ffffff;
    color: #16181d;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.continue-button:disabled {
    opacity: 0.52;
}

.testimonial-stage {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    max-width: min(100%, 324px);
    margin-top: 8px;
    padding-bottom: 18px;
}

.testimonial-row {
    align-items: flex-end;
}

.testimonial-row .chat-avatar {
    position: relative;
    width: 136px;
    height: 136px;
    align-self: end;
    margin: 0 -58px 16px -28px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 3;
}

.testimonial-row .chat-avatar::before {
    content: "";
    position: absolute;
    inset: 9px 6px 7px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 49% 44%, rgba(255, 255, 255, 0.42) 0 18%, rgba(254, 129, 21, 0.30) 35%, rgba(67, 142, 122, 0.20) 55%, rgba(67, 142, 122, 0) 74%);
    box-shadow:
        0 0 32px rgba(254, 129, 21, 0.38),
        0 0 64px rgba(67, 142, 122, 0.32),
        0 18px 38px rgba(0, 0, 0, 0.32);
    filter: blur(8px);
    opacity: 0.86;
    transform: scale(0.98);
    z-index: -1;
}

.testimonial-row .chat-avatar img {
    position: relative;
    z-index: 1;
    width: 136px;
    height: 136px;
    object-fit: contain;
    filter:
        drop-shadow(0 3px 7px rgba(255, 255, 255, 0.22))
        drop-shadow(0 18px 24px rgba(35, 24, 66, 0.34));
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    min-height: 292px;
    padding: 18px 18px 18px;
    background:
        radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.20), transparent 24%),
        radial-gradient(circle at 50% 56%, rgba(173, 145, 255, 0.19), transparent 50%),
        radial-gradient(circle at 14% 100%, rgba(70, 40, 141, 0.34), transparent 34%),
        linear-gradient(140deg, rgba(124, 98, 204, 0.98) 0%, rgba(103, 79, 182, 0.98) 46%, rgba(84, 63, 153, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 18px 36px rgba(32, 18, 72, 0.24),
        0 6px 18px rgba(92, 71, 162, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    isolation: isolate;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.050), rgba(255, 255, 255, 0.018)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 42%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -18px 28px rgba(49, 24, 105, 0.18);
    pointer-events: none;
    z-index: 0;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: -28%;
    width: 42%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.03) 38%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0.03) 62%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    opacity: 0.28;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.testimonial-card-top {
    position: relative;
    z-index: 1;
    display: contents;
}

.testimonial-photo-shell {
    position: relative;
    order: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin-bottom: 14px;
}

.testimonial-photo-shell::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 62%, transparent 72%);
    z-index: -1;
}

.testimonial-photo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 54px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 10px 20px rgba(17, 10, 42, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.testimonial-author {
    position: relative;
    z-index: 1;
    order: 4;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    gap: 0;
    padding: 0;
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
    color: rgba(231, 219, 255, 0.68);
    text-align: center;
    margin-top: 0;
}

.testimonial-author-copy {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    text-align: center;
    white-space: nowrap;
}

.testimonial-author strong {
    color: rgba(214, 193, 255, 0.56);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.03em;
    display: inline;
}

.testimonial-author-meta {
    display: inline;
    color: rgba(244, 239, 255, 0.96);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.testimonial-quote {
    position: relative;
    z-index: 1;
    order: 2;
    flex: 0 1 auto;
    margin: 0;
    padding: 0 6px 0;
    font-size: 17px;
    line-height: 1.38;
    color: rgba(248, 243, 255, 0.95);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.03em;
    text-align: center;
    text-wrap: pretty;
}

.testimonial-rule {
    position: relative;
    z-index: 1;
    order: 3;
    flex: 0 0 auto;
    width: min(100%, 232px);
    height: 1px;
    margin: 14px 0 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.12));
    border-radius: 999px;
}

.testimonial-rule::before,
.testimonial-rule::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(187, 155, 236, 0.40);
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
}

.testimonial-rule::before {
    left: -1px;
}

.testimonial-rule::after {
    right: -1px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.testimonial-dot {
    width: 18px;
    height: 5px;
    border-radius: 999px;
    background: rgba(126, 121, 146, 0.34);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.22s ease, width 0.22s ease;
}

.testimonial-dot.is-active {
    width: 28px;
    background: rgba(111, 91, 188, 0.88);
}

.testimonial-dot:focus-visible {
    outline: 2px solid rgba(111, 91, 188, 0.45);
    outline-offset: 3px;
}

[data-theme="light"] .testimonial-card {
    background:
        radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.22), transparent 24%),
        radial-gradient(circle at 50% 56%, rgba(179, 151, 255, 0.21), transparent 50%),
        radial-gradient(circle at 14% 100%, rgba(76, 47, 148, 0.36), transparent 34%),
        linear-gradient(140deg, rgba(131, 106, 209, 0.98) 0%, rgba(110, 87, 190, 0.98) 46%, rgba(90, 70, 159, 0.98) 100%);
}

[data-theme="light"] .testimonial-quote {
    color: rgba(249, 245, 255, 0.96);
}

[data-theme="light"] .testimonial-author {
    color: rgba(247, 243, 255, 0.72);
}

[data-theme="light"] .testimonial-row .chat-avatar::before {
    opacity: 0.48;
    box-shadow:
        0 0 34px rgba(254, 129, 21, 0.18),
        0 14px 34px rgba(83, 61, 35, 0.12);
}

[data-theme="light"] .testimonial-row .chat-avatar img {
    filter: drop-shadow(0 16px 22px rgba(83, 61, 35, 0.18));
}

@media (max-width: 420px) {
    .testimonial-stage {
        max-width: min(100%, 316px);
    }

    .testimonial-row .chat-avatar {
        width: 116px;
        height: 116px;
        margin: 0 -48px 12px -24px;
    }

    .testimonial-row .chat-avatar img {
        width: 116px;
        height: 116px;
    }

    .testimonial-card {
        min-height: 286px;
        padding: 18px 16px 16px;
    }

    .testimonial-photo-shell {
        margin-bottom: 12px;
    }

    .testimonial-photo {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .testimonial-quote {
        font-size: 16px;
        line-height: 1.38;
    }

    .testimonial-author strong,
    .testimonial-author-meta {
        font-size: 15px;
    }

    .testimonial-dot {
        width: 16px;
        height: 5px;
    }
}

.floating-actions {
    position: fixed;
    left: max(24px, calc(50% - 210px));
    right: max(24px, calc(50% - 210px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    z-index: 30;
    pointer-events: none;
}

.floating-pill {
    border: 1px solid rgba(91, 107, 255, 0.28);
    background: rgba(20, 22, 30, 0.84);
    color: #ffffff;
    border-radius: 999px;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 700;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
    pointer-events: auto;
}

.floating-pill:disabled,
.floating-pill.is-disabled {
    opacity: 0.42;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.floating-pill.is-secondary {
    border-color: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.52);
}

[data-theme="light"] .floating-pill {
    background: rgba(255, 255, 255, 0.84);
    color: #1f2230;
    border-color: rgba(91, 107, 255, 0.18);
}

[data-theme="light"] .floating-pill.is-secondary {
    color: rgba(31, 34, 48, 0.42);
    border-color: rgba(23, 24, 29, 0.06);
}

.demo-feedback-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 24px;
}

.demo-feedback-modal {
    background: #1c1e2a;
    border-radius: 20px;
    padding: 32px 28px 28px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.demo-feedback-modal.is-busy {
    transform: scale(0.985);
    opacity: 0.88;
}

.demo-feedback-question {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.3;
}

.demo-feedback-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.demo-feedback-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.demo-feedback-btn:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.12);
}

.demo-feedback-btn:disabled {
    cursor: default;
    opacity: 0.62;
}

.demo-feedback-icon {
    font-size: 32px;
    line-height: 1;
}

[data-theme="light"] .demo-feedback-modal {
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .demo-feedback-question {
    color: #1f2230;
}

[data-theme="light"] .demo-feedback-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1f2230;
}

[data-theme="light"] .demo-feedback-btn:active {
    background: rgba(0, 0, 0, 0.08);
}

.demo-incomplete-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(3, 5, 8, 0.66);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .demo-incomplete-backdrop {
    background: rgba(43, 30, 18, 0.24);
    backdrop-filter: blur(10px) saturate(1.08);
}

.demo-incomplete-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 101;
    width: min(100%, 520px);
    transform: translate(-50%, 0);
    border-radius: 30px 30px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at 50% -12%, rgba(67, 142, 122, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(18, 21, 28, 0.98), rgba(10, 12, 18, 0.99));
    box-shadow: 0 -22px 58px rgba(0, 0, 0, 0.42);
    padding: 14px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    color: #f8f6f2;
    text-align: center;
}

.demo-incomplete-sheet.is-busy {
    pointer-events: none;
}

[data-theme="light"] .demo-incomplete-sheet {
    border-color: rgba(33, 34, 41, 0.10);
    background:
        radial-gradient(circle at 50% -12%, rgba(67, 142, 122, 0.13), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.98));
    box-shadow:
        0 -24px 54px rgba(83, 61, 35, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.84);
    color: var(--alt-text);
}

.demo-incomplete-handle {
    width: 70px;
    height: 5px;
    border-radius: 999px;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .demo-incomplete-handle {
    background: rgba(20, 22, 29, 0.16);
}

.demo-incomplete-logo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.96), rgba(242,247,244,0.98) 55%, rgba(227,236,232,0.95) 100%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.12),
        0 0 30px rgba(67, 142, 122, 0.16),
        0 0 46px rgba(254, 129, 21, 0.10);
}

.demo-incomplete-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.demo-incomplete-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: 0;
    color: #f8f6f2;
}

[data-theme="light"] .demo-incomplete-title {
    color: var(--alt-text);
}

.demo-incomplete-copy {
    margin: 10px auto 0;
    max-width: 340px;
    font-size: 16px;
    line-height: 1.48;
    color: rgba(248, 246, 242, 0.66);
}

[data-theme="light"] .demo-incomplete-copy {
    color: var(--alt-muted);
}

.demo-incomplete-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.demo-incomplete-primary,
.demo-incomplete-secondary {
    width: 100%;
    min-height: 58px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    cursor: pointer;
}

.demo-incomplete-primary {
    border: 1px solid rgba(255, 220, 140, 0.18);
    background: linear-gradient(180deg, #d8991e 0%, #c07a0a 100%);
    color: #fff9ea;
    box-shadow: 0 14px 32px rgba(186, 121, 10, 0.26);
}

.demo-incomplete-secondary {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(248, 246, 242, 0.82);
}

[data-theme="light"] .demo-incomplete-secondary {
    border-color: rgba(20, 22, 29, 0.10);
    background: rgba(20, 22, 29, 0.04);
    color: rgba(20, 22, 29, 0.72);
}

.demo-incomplete-primary:disabled,
.demo-incomplete-secondary:disabled {
    cursor: default;
    opacity: 0.62;
}

.modal-fade-enter-active,
.modal-fade-leave-active {
    transition: opacity 0.25s ease;
}

.modal-fade-enter-from,
.modal-fade-leave-to {
    opacity: 0;
}

.step-fade-enter-active,
.step-fade-leave-active {
    transition: opacity 0.38s ease, transform 0.38s ease;
}

.step-fade-enter-from,
.step-fade-leave-to {
    opacity: 0;
    transform: translateY(16px);
}

.message-fade-enter-active,
.message-fade-leave-active {
    transition: opacity 0.34s ease, transform 0.34s ease;
}

.message-fade-enter-from,
.message-fade-leave-to {
    opacity: 0;
    transform: translateY(12px);
}

.options-fade-enter-active,
.options-fade-leave-active {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.options-fade-enter-from,
.options-fade-leave-to {
    opacity: 0;
    transform: translateY(10px);
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress-fill-in {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes plan-card-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0) scale(0.992);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes arc-enter {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(1.01);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes float-orb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes logo-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.18;
        transform: translate3d(0, 0, 0) scale(0.9);
    }
    50% {
        opacity: 0.95;
        transform: translate3d(0, -4px, 0) scale(1.1);
    }
}

@keyframes typing-dot {
    0%, 80%, 100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    40% {
        opacity: 0.9;
        transform: translateY(-3px);
    }
}

@keyframes commit-heading-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes commit-grid-in {
    from {
        opacity: 0;
        transform: translateY(18px) scaleY(0.92);
    }
    to {
        opacity: 0.88;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes commit-area-in {
    from {
        opacity: 0;
        transform: translateY(18px) scaleY(0.82);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes commit-draw-line {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes commit-node-pop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    68% {
        opacity: 1;
        transform: scale(1.12);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes commit-halo-in {
    0% {
        opacity: 0;
        transform: scale(0.52);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes commit-halo-breathe {
    0%, 100% {
        opacity: 0.82;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes commit-badge-in {
    from {
        opacity: 0;
        filter: blur(12px);
        transform:
            translate(var(--commit-badge-offset-x, 0), var(--commit-badge-offset-y, 0))
            translate3d(var(--commit-badge-x, 0), var(--commit-badge-y, 16px), 0)
            scale(0.96);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform:
            translate(var(--commit-badge-offset-x, 0), var(--commit-badge-offset-y, 0))
            translate3d(0, 0, 0)
            scale(1);
    }
}

@keyframes commit-copy-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes commit-cta-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes onboarding-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Disable plan-card-reveal and progress-fill-in for motion-sensitive users. */
    .commit-heading,
    .commit-grid,
    .commit-area,
    .commit-line,
    .commit-callout,
    .commit-node,
    .commit-halo,
    .commit-badge,
    .commit-milestone,
    .commit-time,
    .proof-panel,
    .plan-stack .plan-card,
    .progress-bar.is-active::before,
    .commit-cta {
        animation: none !important;
    }

    .commit-heading,
    .commit-grid,
    .commit-area,
    .commit-node,
    .commit-halo,
    .commit-milestone,
    .commit-time,
    .proof-panel,
    .plan-stack .plan-card,
    .commit-cta {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .commit-badge {
        opacity: 1 !important;
        transform: translate(var(--commit-badge-offset-x, 0), var(--commit-badge-offset-y, 0)) !important;
        filter: none !important;
    }

    .commit-line,
    .commit-callout {
        stroke-dashoffset: 0 !important;
    }
}

@media (max-width: 390px) {
    .hero {
        margin-top: 16px;
    }

    .hero-orb {
        width: 154px;
        height: 154px;
    }

    .headline {
        font-size: 36px;
    }

    .subcopy {
        font-size: 16px;
    }

    .glow-stage {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cta-stack {
        padding-top: 26px;
        gap: 12px;
    }

    .cta-button {
        padding: 15px 16px;
    }

    .progress-screen {
        padding-top: 0;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 0;
    }

    .chat-bubble {
        font-size: 16px;
        padding: 18px 18px;
    }

    .language-option {
        padding: 18px 18px;
        font-size: 17px;
    }

    .floating-actions {
        left: 16px;
        right: 16px;
    }

    .name-input {
        width: min(82%, 280px);
        font-size: 17px;
    }

    .proof-panel {
        padding: 18px 16px 16px;
    }

    .proof-panel-header {
        gap: 12px;
    }

    .proof-panel-title {
        font-size: 22px;
    }

    .proof-panel-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }
}

/* ==========================================================================
   Desktop — onboarding-specific layout
   --------------------------------------------------------------------------
   The shared surface lives in css/mobile/desktop_shell.css; `.preview-shell`
   carries `pp-desktop-shell`. See that file for why the gate is width AND
   pointer capability, and why it must not be relaxed to width alone.

   Desktop is not a scaled-up phone here: the ambient art spans the whole
   viewport, the conversation sits in a wider centred measure, and type and
   spacing step up to desktop sizes.
   ========================================================================== */
@media (min-width: 768px) {
    /* Full-viewport-height children fill the viewport, not a card. */
    :where(html:not(.pp-native)) .glow-stage {
        min-height: 100dvh;
        padding: 0 var(--pp-desktop-gutter);
        justify-content: center;
    }

    :where(html:not(.pp-native)) .glow-stage.is-chat,
    :where(html:not(.pp-native)) .glow-stage.is-commit {
        padding: 0;
    }

    /* The conversation measure. */
    :where(html:not(.pp-native)) .progress-screen,
    :where(html:not(.pp-native)) .commit-inner {
        width: min(100%, var(--pp-desktop-measure));
        max-width: var(--pp-desktop-measure);
        margin-inline: auto;
    }

    /* The measure above is inert without this: .progress-inner is capped at
       420px phone-first, so the conversation stayed phone-width inside a 560px
       parent, and the Mute/Skip row below — which aligns to the measure — sat
       outside the content it belongs to. */
    :where(html:not(.pp-native)) .progress-inner {
        max-width: var(--pp-desktop-measure);
    }

    /* Fades bubbles out as they scroll under the progress bar. The phone-first
       ::before paints a flat --chat-bg wedge, which only disappears against an
       opaque surface — and .progress-screen goes transparent just below, so on
       a gradient page it left bubbles visibly guillotined. An alpha mask is
       background-independent. */
    :where(html:not(.pp-native)) .conversation-viewport {
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px);
        mask-image: linear-gradient(180deg, transparent 0, #000 34px);
    }

    :where(html:not(.pp-native)) .conversation-viewport::before {
        display: none;
    }

    /* Step one is a hero, not a conversation, so it gets a wider measure. At
       the chat measure a 56px headline wraps to five cramped lines. */
    :where(html:not(.pp-native)) .step-shell {
        width: min(100%, 780px);
        max-width: 780px;
        margin-inline: auto;
    }

    :where(html:not(.pp-native)) .copy-block {
        max-width: 720px;
        margin-top: 34px;
    }

    :where(html:not(.pp-native)) .cta-stack {
        max-width: 460px;
    }

    :where(html:not(.pp-native)) .progress-screen {
        padding-inline: 0;
        /* Replaces the hidden mobile status-bar spacer above. */
        padding-top: 32px;
        /* Phone-first this is a full-width opaque surface; at column width it
           would read as a stripe down the middle of the monitor, so the page
           background shows through instead. */
        background: transparent;
    }

    /* Step one is vertically centred on desktop rather than pinned to the top,
       so the hero is not marooned above a tall empty area. */
    :where(html:not(.pp-native)) .step-shell {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100dvh;
    }

    :where(html:not(.pp-native)) .status-space {
        display: none;
    }

    /* Ambient art uses the full width of the monitor instead of a phone column. */
    :where(html:not(.pp-native)) .sky-arc {
        max-width: none;
    }

    :where(html:not(.pp-native)) .sky-arc::before {
        width: min(52vw, 720px);
        height: min(52vw, 720px);
    }

    :where(html:not(.pp-native)) .sky-arc::after {
        width: min(64vw, 900px);
        height: 320px;
    }

    /* Desktop type scale. The phone-first sizes are tuned for a 390px column
       and look undersized in a 560px one. */
    :where(html:not(.pp-native)) .hero {
        margin-top: 0;
    }

    :where(html:not(.pp-native)) .hero-orb {
        width: 200px;
        height: 200px;
    }

    :where(html:not(.pp-native)) .headline {
        font-size: 56px;
        letter-spacing: -0.05em;
    }

    :where(html:not(.pp-native)) .subcopy {
        font-size: 19px;
    }

    :where(html:not(.pp-native)) .cta-stack {
        margin-top: 40px;
        gap: 14px;
    }

    :where(html:not(.pp-native)) .cta-button {
        min-height: 68px;
        font-size: 19px;
    }

    :where(html:not(.pp-native)) .auth-sheet-title {
        font-size: 38px;
    }

    :where(html:not(.pp-native)) .commit-heading {
        font-size: 34px;
    }

    /* Bottom sheets are phone drawers flush to the screen edge. On desktop they
       lift off the bottom and round on all corners so they read as centred
       dialogs. Both already centre themselves via translateX(-50%), so only the
       width and resting position change here. */
    :where(html:not(.pp-native)) .auth-sheet,
    :where(html:not(.pp-native)) .demo-incomplete-sheet {
        width: min(100%, 600px);
        bottom: var(--pp-desktop-gutter);
        border-radius: 32px;
    }

    /* Aligns the Mute/Skip row to the conversation column rather than the
       narrower phone column it is tuned for. */
    :where(html:not(.pp-native)) .floating-actions {
        left: max(24px, calc(50% - ((var(--pp-desktop-measure) / 2) + 20px)));
        right: max(24px, calc(50% - ((var(--pp-desktop-measure) / 2) + 20px)));
        bottom: var(--pp-desktop-gutter);
    }

    /* Was a full-bleed break-out of the viewport; now spans the column. */
    :where(html:not(.pp-native)) .commit-graph {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 20px;
    }
}
