:root {
  color-scheme: light;
  --color-background: #f7f8f2;
  --color-surface: #e8eddf;
  --color-ink: #263c30;
  --color-muted: #596650;
  --color-accent: #416348;
  --color-hover: #314e38;
  --color-line: #d7dfcf;
  --color-white: #ffffff;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --text-small: 0.8125rem;
  --text-body: 1rem;
  --text-title: clamp(2.25rem, 4.4vw, 3.75rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --content-width: 1080px;
  --radius-button: 999px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--color-background); color: var(--color-ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body, p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 5px; }
.page-shell { max-width: var(--content-width); min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: 0 var(--space-4); display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) 0; }
.wordmark { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-small); font-weight: 750; letter-spacing: 0.11em; }
.brand-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--color-accent); }
.language-switch { display: flex; gap: 4px; }
.language-switch a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-button); font-size: var(--text-small); color: var(--color-muted); }
.language-switch a[aria-current="page"] { background: var(--color-surface); color: var(--color-ink); font-weight: 650; }
.welcome { flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: var(--space-6); padding: var(--space-5) 0 var(--space-6); }
.introduction { min-width: 0; }
.eyebrow { color: var(--color-muted); letter-spacing: 0.18em; font-size: 0.6875rem; font-weight: 650; margin-bottom: var(--space-3); }
h1 { font-size: var(--text-title); font-weight: 550; line-height: 1.32; letter-spacing: -0.055em; word-break: keep-all; }
h1 span { display: block; }
.title-accent { color: var(--color-accent); }
.description { max-width: 370px; margin-top: var(--space-3); color: var(--color-muted); font-size: var(--text-body); line-height: 1.85; word-break: keep-all; text-wrap: pretty; }
.open-button { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: min(100%, 300px); min-height: 58px; margin-top: var(--space-4); padding: 14px 24px; background: var(--color-accent); color: var(--color-white); border-radius: var(--radius-button); font-weight: 600; font-size: 0.9375rem; }
.button-arrow { font-size: 1.5rem; line-height: 1; }
.install-note { margin-top: var(--space-2); color: var(--color-muted); font-size: var(--text-small); line-height: 1.7; }
.scan-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); width: 100%; max-width: 366px; min-height: 456px; margin-left: auto; padding: var(--space-5) var(--space-4) var(--space-4); border-radius: 184px 184px 28px 28px; background: var(--color-surface); text-align: center; }
.scan-kicker { font-size: 0.75rem; color: var(--color-muted); letter-spacing: 0.04em; }
.qr-code { display: block; width: 222px; height: auto; max-width: 100%; background: var(--color-white); }
h2 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.025em; }
.scan-help { max-width: 260px; color: var(--color-muted); font-size: var(--text-small); line-height: 1.75; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); border-top: 1px solid var(--color-line); padding: var(--space-3) 0; color: var(--color-muted); font-size: 0.75rem; }
code { font-family: var(--font-mono); font-size: 0.75rem; overflow-wrap: anywhere; }
html[lang="en"] h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.16; letter-spacing: -0.055em; }
html[lang="en"] .description { line-height: 1.7; }
@media (hover: hover) {
  .open-button:hover { background: var(--color-hover); }
  .language-switch a:hover { background: var(--color-surface); color: var(--color-ink); }
}
@media (max-width: 760px) {
  .page-shell { max-width: 520px; padding: 0 var(--space-3); }
  .site-header { flex-wrap: wrap; padding: var(--space-3) 0; gap: var(--space-1); }
  .wordmark { font-size: 0.6875rem; letter-spacing: 0.07em; }
  .language-switch { margin-left: auto; }
  .language-switch a { padding: 0 10px; font-size: 0.75rem; }
  .welcome { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-3) 0 var(--space-4); }
  .eyebrow { margin-bottom: var(--space-2); }
  h1 { font-size: clamp(2rem, 8.7vw, 2.875rem); }
  .description { margin-top: var(--space-2); font-size: 0.9375rem; }
  .open-button { width: 100%; margin-top: var(--space-3); min-height: 56px; }
  .install-note { margin-top: 12px; }
  .scan-card { max-width: none; min-height: 0; padding: var(--space-4) var(--space-3); border-radius: 110px 110px 24px 24px; gap: var(--space-2); }
  .qr-code { width: 185px; }
  .site-footer { gap: 6px var(--space-2); padding: var(--space-2) 0 var(--space-3); }
}
