:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8faf9;
  color: #17231f;
  --muted: #4c605a;
  --border: #d4dfdb;
  --secondary: #e7eeeb;
  --accent: #216f65;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; padding: 28px 24px max(28px, env(safe-area-inset-bottom)); }
main { max-width: 620px; margin: 0 auto; }
header { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.app-icon { display: block; border-radius: 8px; }
select { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; background: transparent; color: inherit; font: inherit; }
h1 { font-size: 36px; line-height: 1.2; margin: 24px 0 14px; overflow-wrap: anywhere; }
p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 16px 0; }
.lead { font-size: 22px; line-height: 1.4; color: inherit; }
.brand { color: var(--accent); font-weight: 750; margin: 24px 0 0; }
.brand + h1 { margin-top: 8px; }
.small { font-size: 14px; line-height: 1.6; color: var(--muted); }
.actions { display: grid; gap: 12px; margin: 28px 0; }
.stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.button { min-height: 56px; padding: 16px; border-radius: 6px; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.primary { background: #216f65; color: #fff; }
.secondary { background: var(--secondary); color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #e5ad36; outline-offset: 4px; }
.button:hover, .text-button:hover { filter: brightness(0.93); }
.brand-art { display: block; width: 100%; height: auto; margin: 32px 0; }
.invite { border-block: 1px solid var(--border); padding: 20px 0; margin: 24px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#code { font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; max-width: 100%; user-select: all; }
.text-button { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--accent); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.error { color: #ad2941; }
footer { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
footer a { color: var(--muted); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 480px) {
  body { padding-inline: 20px; }
  .stores { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: 32px; }
}
@media (prefers-color-scheme: dark) {
  :root { background: #101614; color: #f2f6f4; --muted: #b9c8c1; --border: #34473e; --secondary: #25382f; --accent: #81dbca; }
  .primary { background: #73cbbb; color: #10251c; }
  .error { color: #ffabbc; }
}
