:root {
    color-scheme: dark;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    background: #000;
    color: #f5f7fb;
    font-synthesis: none;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    background: #000;
    -webkit-font-smoothing: antialiased;
}

body::before { display: none; }

.chooser { width: min(92vw, 560px); padding: 40px 0; position: relative; }
.brand { text-align: center; margin-bottom: 32px; }
.brand-mark { display: inline-flex; align-items: end; gap: 3px; height: 24px; margin-bottom: 16px; }
.brand-mark i { display: block; width: 4px; border-radius: 3px; background: #0a84ff; }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 23px; animation-delay: -.5s; }
.brand-mark i:nth-child(3) { height: 15px; animation-delay: -.8s; }
.eyebrow { margin: 0 0 8px; color: #71809b; font-size: 11px; font-weight: 750; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(38px, 8vw, 58px); line-height: .95; letter-spacing: -.055em; }
.lead { color: #8c96a8; margin: 13px 0 0; font-size: 15px; }
.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.device-card {
    min-height: 148px;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 18px;
    color: inherit;
    text-decoration: none;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.1);
    background: #1c1c1e;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.device-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); background: #242428; }
.device-card:active { transform: scale(.98); }
.device-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,255,255,.06); }
.watch-card .device-icon { color: #62dfb6; background: rgba(62,218,175,.1); }
.control-card .device-icon { color: #7e9cff; background: rgba(94,129,255,.11); }
.device-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.device-copy { grid-column: 1 / -1; display: block; }
.device-copy strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.device-copy small { display: block; margin-top: 5px; color: #7f899c; font-size: 12px; }
.arrow { grid-column: 2; grid-row: 1; align-self: center; color: #657086; font-size: 28px; font-weight: 250; }
.live-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 24px 0 0; color: #657086; font-size: 11px; }
.live-note span { width: 6px; height: 6px; border-radius: 50%; background: #3edaae; box-shadow: 0 0 12px #3edaae; }

@media (max-width: 560px) {
    .chooser { width: min(90vw, 390px); }
    .device-grid { grid-template-columns: 1fr; }
    .device-card { min-height: 104px; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr; align-items: center; padding: 18px; }
    .device-copy { grid-column: 2; }
    .arrow { grid-column: 3; grid-row: 1; }
}

@media (max-width: 260px) {
    body { display: block; background: #000; }
    body::before { display: none; }
    .chooser { width: 100%; padding: 12px 8px 24px; }
    .brand { margin-bottom: 14px; }
    .brand-mark { display: none; }
    .eyebrow { margin-bottom: 2px; font-size: 8px; }
    h1 { font-size: 26px; }
    .lead { margin-top: 4px; font-size: 10px; }
    .device-grid { gap: 7px; }
    .device-card { min-height: 58px; padding: 9px 10px; border-radius: 15px; gap: 9px; }
    .device-icon { width: 34px; height: 34px; border-radius: 11px; }
    .device-icon svg { width: 20px; height: 20px; }
    .device-copy strong { font-size: 13px; }
    .device-copy small { margin-top: 2px; font-size: 9px; }
    .arrow { font-size: 20px; }
    .live-note { margin-top: 12px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
