:root {
  --paper: #F5EFE4;
  --card: #EDE4D5;
  --border: #DCCFB9;
  --ink: #2B2620;
  --muted: #7A6F60;
  --accent: #A84D24;
  --makruh: #B23A2E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1D1A17;
    --card: #282420;
    --border: #3A342D;
    --ink: #EFE6D6;
    --muted: #A99D8C;
    --accent: #E08A5C;
    --makruh: #E0786C;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

main { padding: 40px 0 64px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 28px 0 6px; }
p, li { color: var(--ink); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; margin-bottom: 20px; }
.hero h1 { font-size: 42px; }
.button {
  display: inline-block; background: var(--ink); color: var(--paper);
  padding: 13px 26px; border-radius: 14px; text-decoration: none; font-weight: 600;
}
.button.soon { opacity: 0.6; cursor: default; }

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin-top: 44px;
}
.feature {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 18px 16px;
}
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.feature .dot { width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-bottom: 10px; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 18px 20px; margin: 20px 0;
}
details {
  border-bottom: 1px solid var(--border); padding: 14px 0;
}
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p, details ul { margin: 10px 0 0; color: var(--muted); }

footer.site { border-top: 1px solid var(--border); padding: 22px 0 36px;
  color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 520px) {
  h1 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  nav a { margin-left: 12px; }
}
