:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2321;
  --muted: #59625e;
  --line: #e3e0d8;
  --accent: #2f6b5a;
  --accent-text: #ffffff;
  --notice-bg: #fff6df;
  --notice-line: #e8cf8a;
  --serif: "Iowan Old Style", "Charter", "Georgia", "Cambria", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121615;
    --surface: #1a201e;
    --text: #e8ece9;
    --muted: #a3aeaa;
    --line: #2b3431;
    --accent: #7cc4ad;
    --accent-text: #0e1513;
    --notice-bg: #2a2416;
    --notice-line: #5b4b22;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
}

.wrap { max-width: 980px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

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

code { font-size: 0.9em; background: var(--line); padding: 0 4px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 20px; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
h3 { font-size: 1.15rem; margin: 0 0 6px; }

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
nav { display: flex; align-items: center; gap: 16px; }
nav a:not(.btn) { color: var(--muted); text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
}
.btn.small { padding: 8px 14px; font-size: 0.95rem; }
.btn:hover { filter: brightness(1.08); }

.hero { padding-top: 56px; padding-bottom: 32px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.lead strong { color: var(--text); }
.cta { display: flex; gap: 20px; align-items: center; margin-top: 28px; flex-wrap: wrap; }

.notice {
  background: var(--notice-bg);
  border: 1px solid var(--notice-line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 8px;
  margin-bottom: 64px;
  max-width: 940px;
}

section { margin-bottom: 72px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.card ul:last-child { margin-bottom: 0; }

.faq dt { font-weight: 600; margin-top: 20px; }
.faq dd { margin: 4px 0 0; color: var(--muted); max-width: 760px; }

.closing { text-align: center; padding: 40px 20px; }

footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  nav a:not(.btn) { display: none; }
}
