:root {
  color-scheme: dark;
  --background: #16191f;
  --panel: #1d2129;
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #f3f5f8;
  --secondary: #c9d1dd;
  --tertiary: #9aa5b5;
  --accent: #e5483b;
  --accent-hover: #ef5a4d;
  --on-accent: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--secondary);
  font-family: system-ui, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
:lang(ko) { word-break: keep-all; }
a { color: var(--text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container { width: min(880px, calc(100% - 32px)); margin-inline: auto; }
h1, h2, h3 { color: var(--text); font-weight: 700; }
h1 { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
h2 { margin: 56px 0 18px; font-size: 1.5rem; line-height: 1.35; }
h3 { margin: 0 0 12px; font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.25em; }
li + li { margin-top: 8px; }
.small { font-size: 0.9375rem; color: var(--tertiary); }
.site-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--hairline); }
.brand { text-decoration: none; font-size: 1.125rem; font-weight: 600; }
.site-header nav a { text-decoration: none; font-size: 0.9375rem; }
.site-header nav a:hover { text-decoration: underline; }
.intro { padding-top: 64px; }
.lead { max-width: 720px; font-size: 1.125rem; }
.app { padding: 28px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--panel); }
.actions { margin: 20px 0; }
.store-button { display: inline-block; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.store-button:hover { background: var(--accent-hover); }
.site-footer { margin-top: 72px; padding: 24px 0 40px; border-top: 1px solid var(--hairline); }
