:root {
  color-scheme: light dark;
  --background: #f7f8fa;
  --surface: #fff;
  --text: #20252b;
  --muted: #606971;
  --border: #d5dce1;
  --accent: #16748a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #111;
    --surface: #191d20;
    --text: #f1f3f5;
    --muted: #aab4bc;
    --border: #41494f;
    --accent: #78d4e0;
  }
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
main { max-width: 888px; margin: 0 auto; padding: 64px 24px 32px; }
.welcome { width: 100%; max-width: 420px; margin: 0 auto 56px; }
.brand { text-align: center; margin-bottom: 24px; }
.brand img { display: block; margin: 0 auto 12px; border-radius: 12px; }
.brand h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; }
.brand p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.sign-in-card { padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-align: center; }
.sign-in-link { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border-radius: 8px; background: #16748a; color: #fff; text-decoration: none; font-weight: 600; }
.sign-in-link:hover { background: #105d70; }
.sign-in-card p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.section-heading { text-align: center; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 20px; }
.section-heading p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.mix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mix-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: inherit; text-decoration: none; }
.mix-card:hover { border-color: var(--accent); }
.mix-card h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.mix-card p { margin: 12px 0 20px; font-size: 14px; color: var(--muted); }
.mix-action { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 600; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
footer { padding: 0 24px 32px; text-align: center; color: var(--muted); font-size: 12px; }
footer a, .document a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.support-email { display: inline-block; padding: 4px 0; font-weight: 600; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
footer p { margin: 12px 0 0; }
.document { max-width: 720px; }
.document-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.document-brand img { border-radius: 8px; }
.document h1 { margin: 28px 0 8px; font-size: 28px; line-height: 1.2; }
.document h2 { margin: 28px 0 8px; font-size: 19px; }
.document p, .document li { font-size: 15px; }
.document li { margin: 8px 0; }
.document ul { padding-left: 22px; }
.document .updated { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  main { padding: 36px 16px 28px; }
  .welcome { margin-bottom: 36px; }
  .mix-grid { grid-template-columns: 1fr; gap: 12px; }
  .mix-card { padding: 18px; }
  .mix-card p { margin: 8px 0 16px; }
}
