:root {
  --box: #f3f1ec;
  --ink: #1d1c1a;
  --muted: #5d5a54;
  --mustard: #f2b93b;
  --link: #8a5a00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --box: #1d1c1a;
    --ink: #f3f1ec;
    --muted: #b3afa6;
    --link: #f2b93b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--box);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.18);
}
h1 {
  margin: 24px 0 8px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1.1;
}
.tagline {
  margin: 0 0 32px;
  font-size: 1.125rem;
  color: var(--muted);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.stores a { display: inline-block; line-height: 0; }
.stores img { height: 48px; width: auto; }
.stores [hidden] { display: none; }
footer {
  padding: 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
footer a { color: var(--link); text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--mustard); outline-offset: 3px; }

/* Terms and Privacy */
.legal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}
.legal-home {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
}
.lang-toggle { display: flex; border: 1px solid var(--muted); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  font: inherit;
  font-size: 0.875rem;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--mustard); color: #1d1c1a; font-weight: 700; }
.lang-toggle button:focus-visible { outline: 2px solid var(--mustard); outline-offset: -2px; }
main.legal {
  max-width: 720px;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  padding-top: 8px;
}
.legal h1 { margin-top: 8px; }
.legal h2 { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 1.25rem; margin: 32px 0 8px; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal li { margin: 6px 0; }
.legal .effective { color: var(--muted); }
.legal a { color: var(--link); }
.legal [hidden] { display: none; }

/* Support page: FAQ as <details>, no JS needed. */
.legal h3 { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; font-size: 1.0625rem; margin: 24px 0 8px; color: var(--muted); }
.legal details { border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); padding: 4px 0; }
.legal details:last-of-type { border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.legal summary { cursor: pointer; padding: 10px 0; font-weight: 600; overflow-wrap: anywhere; }
.legal summary:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.legal details > :last-child { margin-bottom: 12px; }
.legal [id] { scroll-margin-top: 16px; }
