:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #23291f;
  --muted: #5b6357;
  --accent: #2e7d32;
  --border: #e3e0d6;
  --danger: #c62828;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14170f;
    --surface: #1c2016;
    --text: #eef1e8;
    --muted: #a4ac9a;
    --accent: #6fcf73;
    --border: #2c3223;
    --danger: #ef5350;
  }
}

* { box-sizing: border-box; }

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.brand .name {
  font-weight: 700;
  font-size: 18px;
}

.back-link {
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px clamp(20px, 5vw, 48px);
}

h1 {
  font-size: 1.6rem;
  margin: 0 0 4px;
}

h2 {
  font-size: 1.15rem;
  margin: 2em 0 0.6em;
  border-top: 1px solid var(--border);
  padding-top: 1.2em;
}

h2:first-of-type { border-top: none; padding-top: 0; }

.eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.8em;
}

p, li { color: var(--text); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

a { color: var(--accent); }

code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.9em;
}

.footer {
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 8px;
}

.btn.danger { background: var(--danger); }

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.4em;
  margin-bottom: 1em;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--muted);
}
