:root {
  --bg: #100e0d;
  --surface: #1b1816;
  --text: #f6f1e9;
  --muted: #a99f93;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f4d08b;
  --mark-bg: #4a3b12;
  --mark-text: #ffe29a;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fff3e4;
    --surface: #fff8ee;
    --text: #17151d;
    --muted: #6b6259;
    --line: rgba(23, 21, 29, 0.12);
    --accent: #8a4f12;
    --mark-bg: #ffe29a;
    --mark-text: #4a3b12;
  }
}

* { box-sizing: border-box; }

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

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

header, main, footer {
  max-width: 680px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.brand img { border-radius: 7px; }

nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding-top: 32px; padding-bottom: 56px; overflow-wrap: break-word; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 18px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 26px 0 6px; }
h1 + p { color: var(--muted); margin-top: 0; }

p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }

a { color: var(--accent); text-underline-offset: 3px; }

.hero { text-align: center; padding: 12px 0 28px; }
.hero .icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  margin-bottom: 22px;
}
.hero h1 { font-size: 40px; }
.hero .lead { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.platform { color: var(--muted); font-size: 15px; }

.steps li::marker { color: var(--accent); font-weight: 600; }

.email { font-size: 21px; font-weight: 600; margin: 8px 0 12px; }

.muted { color: var(--muted); font-size: 15px; margin-top: 28px; }

.links { list-style: none; padding: 0; margin-top: 36px; }
.links a {
  display: block;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
}
.links a:hover { border-color: var(--accent); }

.draft {
  padding: 10px 14px;
  margin-bottom: 24px;
  border: 1px solid #8a6d2f;
  border-radius: 10px;
  background: var(--mark-bg);
  color: var(--mark-text);
  font-size: 15px;
}

mark { background: var(--mark-bg); color: var(--mark-text); border-radius: 4px; padding: 0 3px; }
