:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b72;
  --line: #e5e5ea;
  --accent: #0e8f76;
  --accent-soft: #e3f4ef;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f2f2f7;
    --muted: #a1a1a8;
    --line: #2c2c2e;
    --accent: #2fd3b0;
    --accent-soft: #0f2d27;
  }
  nav a[aria-current="page"], .email { color: #00241d !important; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Hiragino Sans", Arial, sans-serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 40px 16px 64px; }
header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
header img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
header h1 { font-size: 30px; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
header p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: -8px 0 24px; padding: 8px 18px 8px 14px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #a6a6a6;
}
.store-badge-icon { width: 26px; height: 26px; flex: none; }
.store-badge-text { display: flex; flex-direction: column; font-size: 21px; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.store-badge-text small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
@media (prefers-color-scheme: dark) {
  .store-badge { background: #fff; color: #000; border-color: #fff; }
}
nav { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
nav a {
  text-decoration: none; color: var(--accent); background: var(--accent-soft);
  padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 600;
}
nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.card { background: var(--card); border-radius: 20px; padding: 22px 22px; margin-bottom: 16px; }
.card h2 { font-size: 20px; margin: 0 0 10px; letter-spacing: -0.01em; }
.card h3 { font-size: 17px; margin: 18px 0 4px; }
.card h3:first-of-type { margin-top: 4px; }
.card p, .card li { color: var(--text); }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted) !important; font-size: 15px; }
ul { margin: 6px 0 10px; padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
.email {
  display: inline-block; margin-top: 6px; padding: 12px 18px; border-radius: 14px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  word-break: break-all;
}
footer { color: var(--muted); font-size: 14px; text-align: center; margin-top: 28px; }
