/* The /beta page: the iPhone app, then the computer install for one platform at a time. Same look as the Watch page; no third-party fonts or images. */
:root { --dusk: #0f1726; --cream: #f3ead8; --muted: #b9b3a6; --gold: #f4c95d; --card: #17213a; --line: #2c3a59; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--dusk); color: var(--cream); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
a { color: var(--gold); }
.top { max-width: 640px; margin: 0 auto; padding: 18px 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-weight: 650; font-size: 17px; }
.brand img { border-radius: 8px; }
.wrap { max-width: 640px; margin: 0 auto; padding: 8px 20px 64px; display: grid; gap: 16px; }
h1 { margin: 18px 0 0; font: 600 clamp(32px, 7vw, 48px)/1.05 "New York", "Iowan Old Style", Georgia, serif; letter-spacing: -.015em; }
h2 { margin: 0; font-size: 20px; line-height: 1.2; }
h4 { margin: 24px 0 8px; font-size: 15px; font-weight: 650; }
.lede { margin: 0 0 8px; color: #d9d2c4; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
[hidden] { display: none !important; }
.hint { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
code { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }

.phone { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.go, .copy { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; font-family: inherit; cursor: pointer; text-decoration: none; }
.go { flex: none; min-height: 48px; padding: 0 22px; font-size: 17px; font-weight: 650; background: var(--cream); color: #1b2335; }
.go:hover { background: #fff; }

/* The platform pill: three tabs. Without JavaScript it stays hidden and all three sections are shown in turn. */
.pills { display: flex; gap: 4px; margin: 14px 0 4px; padding: 4px; border-radius: 12px; background: #0c1322; }
.pills button { flex: 1 1 0; min-height: 44px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pills button:hover { color: var(--cream); }
.pills button[aria-selected="true"] { background: var(--cream); color: #1b2335; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 1px 6px; border-radius: 6px; border: 1px solid currentColor; opacity: .75; }

.panel { margin-top: 16px; }
.panel + .panel { padding-top: 16px; border-top: 1px solid var(--line); }
.js .panel + .panel { padding-top: 0; border-top: 0; }
.panel h3 { margin: 0 0 8px; font-size: 17px; }
.panel h3.sr { position: static; width: auto; height: auto; clip-path: none; white-space: normal; overflow: visible; }
.js .panel h3.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cmd { display: flex; align-items: stretch; gap: 8px; margin: 8px 0; }
.cmd code { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; padding: 10px 12px; border-radius: 10px; background: #0c1322; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.copy { flex: none; min-width: 72px; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; background: transparent; color: var(--cream); border: 1px solid var(--line); }
.copy:hover { border-color: var(--muted); }

.steps { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: start; }
.steps li::before { content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 8px; border-radius: 50%; background: var(--gold); color: #1b2335; font-size: 14px; font-weight: 700; }
.steps li .cmd { margin: 0; }
.steps li p { margin: 4px 0 0; grid-column: 2; color: var(--muted); font-size: 14px; }

details summary { cursor: pointer; color: var(--muted); font-size: 14px; }
details summary:hover { color: var(--cream); }
.alt { margin: 8px 0 0; }
.agent { margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--line); }
.more { margin-top: 20px; }
.more p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .go, .copy, .pills button { transition: background .15s, border-color .15s, color .15s; } }
@media (max-width: 520px) { code { font-size: 12px; } .copy { min-width: 60px; } .card { padding: 16px; } .phone { flex-wrap: wrap; } .phone .go { width: 100%; } .pills button { padding: 0 4px; font-size: 14px; } .tag { font-size: 10px; padding: 0 4px; } }
