:root {
  --color-primary: #ea2804;
  --color-primary-deep: #c01f00;
  --color-on-primary: #ffffff;
  --color-ink: #202020;
  --color-body: #3a3a3a;
  --color-charcoal: #575757;
  --color-mute: #646464;
  --color-ash: #8d8d8d;
  --color-stone: #bbbbbb;
  --color-on-dark: #fcfcfc;
  --color-on-dark-mute: rgba(252,252,252,0.72);
  --color-canvas: #f9f7f3;
  --color-surface-bone: #f3f0e8;
  --color-surface-card: #ffffff;
  --color-surface-dark: #202020;
  --color-surface-deep: #000000;
  --color-hairline: rgba(32,32,32,0.12);
  --color-hairline-strong: #202020;
  --color-divider-dark: rgba(255,255,255,0.2);
  --color-hero-warm: #ea2804;
  --color-hero-glow: #ff6a3d;
  --color-hero-pink: #f4a8a0;
  --color-badge-success: #2b9a66;
  --color-link: #ea2804;
  --color-ring-focus: rgba(59,130,246,0.5);
  --rounded-none: 0px;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 16px;
  --rounded-full: 9999px;
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-xxxl: 48px;
  --space-section: 96px;
  --space-band: 160px;
  --font-display: "rb-freigeist-neue", "Bricolage Grotesque", system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "basier-square", Geist, Inter, system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "jetbrains-mono", "JetBrains Mono", ui-monospace, system-ui, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { background: #e8e4dc; }
body {
  margin: 0 auto; max-width: 390px; min-height: 100vh;
  font-family: var(--font-body); color: #3a3a3a; background: #f9f7f3;
  font-size: 16px; line-height: 1.5; padding-bottom: 64px;
}
a { color: #ea2804; text-decoration: none; }
.top { background: #f9f7f3; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(32,32,32,0.12); min-height: 60px; }
.logo { font-family: var(--font-display); font-weight: 700; color: #202020; }
.back { font-size: 12px; color: #646464; }
.hero {
  padding: 32px 16px;
  background: radial-gradient(ellipse at 20% 0%, #ff6a3d, transparent 55%), #ea2804;
  color: #fff;
}
.hero h1 { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -1px; margin: 0 0 8px; color: #fff; }
.hero p { margin: 0; font-size: 14px; color: rgba(252,252,252,0.9); }
.hero-cta { display: inline-flex; margin-top: 16px; background: #fff; color: #ea2804; border-radius: 9999px; padding: 10px 20px; font-weight: 600; font-size: 14px; }
.block { padding: 16px; }
.block.dark { background: #202020; color: #fcfcfc; }
.block h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; margin: 0 0 12px; color: #202020; }
.block.dark h2 { color: #fcfcfc; }
.cell { display: block; background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 8px; color: #202020; border: 1px solid rgba(32,32,32,0.12); }
.cell h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.cell p { margin: 0; color: #575757; font-size: 13px; }
.row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(32,32,32,0.12); font-size: 14px; color: #202020; }
.row:last-child { border-bottom: 0; }
.row span { color: #646464; }
.ph { background: #f3f0e8; color: #8d8d8d; height: 120px; display: flex; align-items: center; justify-content: center; font-size: 13px; margin-bottom: 12px; border-radius: 10px; }
.code { background: #202020; color: #fcfcfc; border-radius: 10px; padding: 16px; font-family: ui-monospace, monospace; font-size: 12px; }
form label { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #202020; }
form input, form textarea { width: 100%; padding: 12px 16px; border: 1px solid rgba(32,32,32,0.12); border-radius: 9999px; font: inherit; margin-bottom: 12px; background: #fff; }
form textarea { border-radius: 16px; }
form button { width: 100%; padding: 12px; border: 0; border-radius: 9999px; background: #ea2804; color: #fff; font: inherit; font-weight: 600; }
.tab {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 390px; display: flex; background: #f9f7f3; border-top: 1px solid rgba(32,32,32,0.12);
}
.tab a { flex: 1; text-align: center; padding: 10px 0; font-size: 11px; font-weight: 600; color: #646464; }
.tab a.on { color: #ea2804; }

.ph { overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
