/* Landing page. Tokens + the rules marked "shared" are byte-identical to suppar-ui-v3 (guarded by tools/test_landing.py). */
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--bg);color:var(--text);font:16px/1.55 var(--font);-webkit-text-size-adjust:100%;display:flex;flex-direction:column;min-height:100%}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
/* shared */
.icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--text)}
.icon:hover{background:var(--surface-2)}
.smark{display:block;width:32px;height:32px;border-radius:8px}
:root[data-theme="dark"] .smark{outline:1px solid var(--border-strong);outline-offset:-1px}
.grow{flex:1}
.themewrap{position:relative}
.menu{position:absolute;right:0;top:calc(100% + 6px);min-width:160px;padding:6px;background:var(--bg);border:1px solid var(--border-strong);border-radius:var(--r-md);box-shadow:var(--shadow);z-index:50;display:flex;flex-direction:column}
.menu[hidden]{display:none}
.menu button{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--text);font:inherit;text-align:left}
.menu button svg{width:18px;height:18px}.menu button:hover{background:var(--surface-2)}.menu button[aria-checked="true"]{font-weight:600;background:var(--surface-2)}
/* landing only */
.icon svg{width:22px;height:22px}
.top{display:flex;align-items:center;gap:4px;padding:6px 12px;padding-top:max(6px,env(safe-area-inset-top));min-height:56px}
.land{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;padding:24px 16px 72px}
.word{margin:0;font-size:clamp(2rem,6vw,3rem);font-weight:600;letter-spacing:.32em;padding-left:.32em}
.choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:min(100%,640px)}
.choice{display:flex;align-items:center;gap:14px;min-height:96px;padding:20px;border:1px solid var(--border-strong);border-radius:var(--r-lg);background:var(--surface);color:var(--text);text-decoration:none;box-shadow:var(--shadow);transition:background .15s,border-color .15s}
.choice:hover{background:var(--surface-2);border-color:var(--text)}
.ci{width:28px;height:28px;flex:none}.ar{width:20px;height:20px;flex:none;margin-left:auto;color:var(--muted)}
.ct{display:flex;flex-direction:column;line-height:1.3}.ct b{font-weight:600}.ct small{color:var(--muted)}
@media(max-width:560px){.choices{grid-template-columns:1fr}.land{justify-content:flex-start;padding-top:12vh}}
@media(prefers-reduced-motion:reduce){.choice{transition:none}}
