:root {
  --bg: #eef3f0; --glow: #ffffff; --card: #ffffff; --text: #17201c; --muted: #5a6762;
  --accent: #178a5f; --accent-ink: #ffffff; --line: #dfe7e2; --shadow: rgba(23,48,38,.12);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1412; --glow: #1d2a24; --card: #171d1a; --text: #eef2ef; --muted: #9aa7a1;
          --accent: #3fcf97; --accent-ink: #06130d; --line: #26302c; --shadow: rgba(0,0,0,.45); }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(1200px 600px at 50% -10%, var(--glow) 0%, var(--bg) 60%);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px 16px;
}
.card {
  width: 100%; max-width: 520px; background: var(--card);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow);
}
.card img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 732; object-fit: cover; }
.body { padding: 26px 26px 22px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); margin: 0 0 6px; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 4px; font-weight: 650; text-wrap: balance; }
.sub { color: var(--muted); margin: 0 0 18px; }
.code {
  display: block; font: 700 clamp(26px, 7vw, 34px)/1 ui-monospace, Consolas, monospace;
  letter-spacing: .04em; padding: 18px 12px; border: 2px dashed var(--accent);
  border-radius: 14px; color: var(--accent); word-break: break-all;
}
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 16px; }
.btn {
  display: block; text-align: center; border-radius: 12px; padding: 14px 10px;
  font: 600 16px/1 system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 0;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.08); }
.rule { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.rule strong { color: var(--text); }
.guide-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.guide-link:hover { text-decoration: underline; }
footer { padding: 14px 22px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.5; text-align: center; }
footer a { color: var(--muted); }
@media (max-width: 380px) { .actions { grid-template-columns: 1fr; } }
