:root {
  --orange: #ff9a0c;
  --orange-soft: #fff4e5;
  --ink: #1c2024;
  --muted: #5f6b73;
  --line: #dde1e4;
  --bg: #ffffff;
  --page: #f6f7f8;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

a { color: inherit; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Home ---------- */

.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero img.logo {
  width: min(280px, 70vw);
  height: auto;
}

.hero .tagline {
  margin: 8px 0 32px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28em;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  padding: 10px 22px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.1s ease, background 0.15s ease;
}

.store:hover { background: #000; }
.store:active { transform: translateY(1px); }
.store:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.store small { font-size: 0.75rem; opacity: 0.85; }
.store span { font-size: 1.25rem; font-weight: 600; }

/* ---------- Footer ---------- */

.footer {
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer nav { margin-bottom: 12px; }
.footer nav a { margin: 0 8px; }

.credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.credit img { width: 24px; height: 24px; }

/* ---------- Privacy policy ---------- */

.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; }

.lang a {
  font-size: 0.9rem;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  margin-left: 4px;
}

.lang a:hover { border-color: var(--orange); }

.policy {
  background: var(--bg);
  margin: 24px auto;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.policy + .policy { margin-top: 0; }

.policy h1 { margin: 0 0 4px; font-size: 1.9rem; line-height: 1.25; }
.policy h2 { margin: 32px 0 8px; font-size: 1.2rem; }
.policy .date { margin: 0 0 24px; color: var(--muted); }

.summary {
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 8px;
}

.summary p { margin: 0; }

.policy ul { padding-left: 1.25em; }
.policy li { margin: 4px 0; }

@media (max-width: 520px) {
  main.wrap { padding: 0; }
  .policy { padding: 24px 18px; border-radius: 0; border-left: 0; border-right: 0; }
  .policy h1 { font-size: 1.6rem; }
}
