:root {
  --bg: #F6F6F4;
  --surface: #FFFFFF;
  --text: #15181C;
  --muted: #4E5662;
  --line: #E2E3E0;
  --accent: #FF7A2E;
  --link: #B0470C;
  --brand: #1E2329;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121519;
    --surface: #1B1F24;
    --text: #EEF0F2;
    --muted: #A6ADB7;
    --line: #2C3238;
    --link: #FF9A5C;
  }
}
* { 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, "SF Pro Text", "Helvetica Neue", sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.top {
  background: var(--brand);
  color: #fff;
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  margin-right: auto;
}
.brand svg { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: #fff; text-decoration: none; opacity: .85; font-size: 16px; }
.top nav a:hover, .top nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-top: 48px; padding-bottom: 64px; }
.top { border-bottom: 1px solid var(--line); }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.4px; }
h2 { font-size: 22px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style-position: outside;
}
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: #15181C;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  min-height: 44px;
}
.button:hover { filter: brightness(1.05); }
.hero { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.hero svg { width: 96px; height: 96px; border-radius: 22px; flex: none; }
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0 40px;
}
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  main.wrap { padding-top: 32px; }
}
