:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #252622;
  --muted: #62645c;
  --line: #d8d9d0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #526336; outline-offset: 5px; }
.wrap { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 15px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 16px; }
.header { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; }
.brand img { display: block; width: 140px; height: auto; }
.language-picker { display: flex; gap: 4px; }
.language-picker button { min-width: 44px; min-height: 44px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.language-picker button[aria-pressed="true"] { border-color: var(--line); color: var(--ink); background: #fffefa; }
main { flex: 1; display: grid; align-items: center; }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); align-items: center; gap: 80px; padding-block: 72px; }
h1, h2, p { margin-top: 0; }
.eyebrow { margin-bottom: 28px; font-size: 11px; font-weight: 600; letter-spacing: 1.7px; line-height: 1.6; }
h1 { font-size: clamp(48px, 5.7vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; margin-bottom: 28px; }
em { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 400; }
.intro { max-width: 460px; color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 36px; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: baseline; gap: 16px; padding-block: 13px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.step-number { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.download-card { padding: 32px 28px; background: #fffefa; border: 1px solid var(--line); text-align: center; border-radius: 8px; }
h2 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.5px; font-weight: 550; line-height: 1.3; }
.store-status { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.qr-slot { width: 208px; height: 208px; margin: auto; }
.qr-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; border: 1px dashed #b9c2aa; border-radius: 4px; background: #f2f4ec; color: var(--muted); font-size: 12px; }
.qr-placeholder img { opacity: .55; }
#app-store-qr-link { display: block; }
#app-store-qr { display: block; width: 208px; height: 208px; background: white; object-fit: contain; }
.qr-caption { max-width: 250px; min-height: 44px; margin: 24px auto 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 18px; margin-top: 20px; border-radius: 4px; background: var(--ink); color: white; font-size: 14px; }
.button:hover { background: #41443a; }
.footer { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 36px; }
  .intro { font-size: 16px; }
  .download-card { padding: 28px 20px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 84px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 44px; }
  h1 { font-size: clamp(45px, 10.5vw, 64px); }
  .eyebrow { margin-bottom: 22px; font-size: 10px; }
  .intro { margin-bottom: 28px; }
  .download-card { width: 100%; max-width: 400px; margin-inline: auto; }
  .footer { min-height: 80px; gap: 12px; font-size: 11px; }
}
