@font-face {
    font-family: Figtree;
    font-weight: 400;
    font-display: swap;
    src: url('/landing/fonts/figtree-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: Figtree;
    font-weight: 500;
    font-display: swap;
    src: url('/landing/fonts/figtree-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: Figtree;
    font-weight: 600;
    font-display: swap;
    src: url('/landing/fonts/figtree-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: Figtree;
    font-weight: 700;
    font-display: swap;
    src: url('/landing/fonts/figtree-latin-700-normal.woff2') format('woff2');
}

:root {
    color-scheme: dark;
    --so-blue: #121b2b;
    --so-green: #53a097;
    --so-red: #e2343c;
    --so-white: #f0eeea;
    --muted: #93a0b4;
    --border: #212c43;
    --card: #162036;
    --ring: #53a097;
}

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

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

body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    background: var(--so-blue);
    color: var(--so-white);
    font: 400 15px/1.6 'Proxima Nova', Figtree, Arial, ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ground {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--so-blue);
}

.ground canvas {
    opacity: 0.55;
}

.ground::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 42% 48% at 50% 50%, color-mix(in srgb, var(--so-blue) 82%, transparent), transparent 100%);
    pointer-events: none;
}

.hero {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 200px 16px;
    text-align: center;
}

.stack {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.stack .logo {
    position: absolute;
    bottom: calc(100% - 16px);
    left: 50%;
    width: min(100vw - 32px, 520px);
    aspect-ratio: 16 / 9;
    transform: translateX(-50%);
    cursor: pointer;
}

.card {
    width: 100%;
    max-width: 380px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 0.06),
        0 12px 24px -6px rgb(2 6 13 / 0.26),
        0 40px 80px -16px rgb(2 6 13 / 0.83);
    text-align: left;
}

.card h2 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.button {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    background: var(--so-white);
    color: var(--so-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 150ms, box-shadow 150ms;
}

.button:hover {
    background: #ffffff;
}

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

.button:focus-visible,
.option:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent);
}

[hidden] {
    display: none !important;
}

.message {
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--so-red) 30%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--so-red) 10%, transparent);
    color: #ff8a90;
    font-size: 14px;
}

.message.note {
    border-color: var(--border);
    background: rgb(255 255 255 / 0.03);
    color: var(--muted);
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

.option {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgb(255 255 255 / 0.03);
    color: var(--so-white);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms, background-color 150ms;
}

.option:hover {
    border-color: color-mix(in srgb, var(--so-white) 18%, transparent);
    background: rgb(255 255 255 / 0.06);
}

.option:disabled {
    cursor: progress;
    opacity: 0.6;
}

.option-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, #edc123 20%, transparent);
    color: #edc123;
}

.option-icon svg {
    width: 20px;
    height: 20px;
}

.option-text {
    min-width: 0;
    flex: 1;
}

.option-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.option-detail {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.option-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--muted);
}

.option-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .option {
        transition: none;
    }
}
