@font-face {
    font-family: "Lora Variable";
    src: url("composeResources/leero.composeapp.generated.resources/font/lora_variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat Variable";
    src: url("composeResources/leero.composeapp.generated.resources/font/montserrat_regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #FDFBFD;
    color: #1a1a1a;
}

.leero-lemon-checkout-close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 2147483647;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #292d32;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.leero-lemon-checkout-close svg {
    fill: currentColor;
}

.leero-lemon-checkout-close:focus-visible {
    outline: 3px solid #7047eb;
    outline-offset: 2px;
}

.startup-shell {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
    background: #FDFBFD;
}

.startup-content {
    width: 100%;
    text-align: center;
}

.startup-paws {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    height: 56px;
    margin-bottom: 24px;
}

.startup-paw {
    width: 32px;
    height: 29px;
    transform-origin: center;
    animation: paw-step 1.4s ease-in-out infinite;
}

.startup-paw-left {
    transform: translateY(5px) rotate(-10deg);
}

.startup-paw-right {
    animation-delay: -0.7s;
    transform: rotate(10deg);
}

@keyframes paw-step {
    0%, 100% { opacity: 0.5; scale: 0.8; }
    50% { opacity: 1; scale: 1; }
}

.startup-content h1 {
    margin: 0;
    font-family: "Lora Variable", system-ui, serif;
    font-size: clamp(1.37rem, 1.92vi + .89rem, 2.67rem);
    font-weight: 600;
    line-height: 1.25;
}

#startup-percentage {
    margin: 20px 0 0;
    color: #b482ca;
    color: oklch(73.431% .11459 316.74);
    font-family: "Montserrat Variable", system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
}

.startup-card {
    max-width: 520px;
    padding: 34px;
    border: 1px solid #e9dfeb;
    border-radius: 28px;
    background: #fff;
    font-family: "Montserrat Variable", system-ui, sans-serif;
}

.startup-eyebrow {
    margin: 0 0 14px;
    color: #945da8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.startup-card h1 {
    margin: 0;
    font-family: "Lora Variable", system-ui, serif;
    font-size: clamp(1.37rem, 1.92vi + .89rem, 2.67rem);
    line-height: 1.25;
}

.startup-copy {
    margin: 22px 0 0;
    font-size: 1rem;
    line-height: 1.65;
}

.fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.fallback-actions a,
.fallback-actions button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    background: #c692d9;
    color: #1a1a1a;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.fallback-actions .secondary {
    border: 1px solid #c692d9;
    background: transparent;
    color: #1a1a1a;
}

.fallback-reason {
    margin-top: 18px;
    color: #595259;
    font-size: 0.9rem;
}

#leero-runtime-recovery {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
    z-index: 2147483647;
    width: min(320px, calc(100vw - 32px));
    pointer-events: none;
}

#leero-runtime-recovery[hidden] {
    display: none;
}

.runtime-recovery-card {
    padding: 16px;
    border: 1px solid #c692d9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 32px #1a1a1a33;
    color: #1a1a1a;
    font-family: "Montserrat Variable", system-ui, sans-serif;
    pointer-events: auto;
}

.runtime-recovery-card h2 {
    margin: 0;
    font-size: 1rem;
}

.runtime-recovery-card p {
    margin: 8px 0 12px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.runtime-recovery-card button {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: #c692d9;
    color: #1a1a1a;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .startup-paw { animation: none; }
    .startup-paw-right { opacity: 0.5; scale: 0.8; }
}
