:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --text: #201a17;
  --muted: #6b615b;
  --border: #f0e4da;
  --accent: #ff7a45;
  --accent-ink: #c0491d;
  --radius: 16px;
  --maxw: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120f;
    --surface: #211a16;
    --text: #f3ece7;
    --muted: #b3a79f;
    --border: #322822;
    --accent: #ff8a5b;
    --accent-ink: #ffb492;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  position: sticky;
  top: 0;
  backdrop-filter: saturate(160%) blur(8px);
}

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

.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand .dot { color: var(--accent); }

nav.top a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-left: 18px;
  white-space: nowrap;
}
nav.top a:hover { color: var(--accent-ink); }

main { padding: 48px 0 24px; }

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.effective {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
}

p { margin: 0 0 18px; }

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

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin: 0 0 10px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 18px;
}

ol.steps { counter-reset: step; list-style: none; padding-left: 0; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero { text-align: center; padding: 40px 0 12px; }
.hero .logo { font-size: 56px; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 6px; }
.hero .logo .dot { color: var(--accent); }
.hero .tag { color: var(--muted); font-size: 18px; margin: 0 0 36px; }

.links { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .links { grid-template-columns: 1fr 1fr; } }
.links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}
.links a:hover { border-color: var(--accent); transform: translateY(-1px); }
.links a .t { font-weight: 700; display: block; margin-bottom: 2px; }
.links a .d { color: var(--muted); font-size: 14px; }

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer.site a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer.site a:hover { color: var(--accent-ink); }
footer.site .row { display: flex; flex-wrap: wrap; gap: 16px; }
