:root {
  --bg: #0f1117;
  --surface: #171a23;
  --surface-2: #20242f;
  --line: #2e3342;
  --ink: #ece9e2;
  --mut: #a3a6b1;
  --accent: #f2b84b;
  --radius: 12px;
  --max: 1080px;
  color-scheme: dark;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; overflow-x: clip; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(4vw, 18px); }
.is-hidden { display: none !important; }
.mut { color: var(--mut); }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 14px; }
h2 { font-size: 28px; margin: 40px 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(15, 17, 23, .92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; gap: 22px; align-items: center; min-height: 60px; flex-wrap: wrap; }
.brand { font: 700 20px Cinzel, Georgia, serif; color: var(--ink); text-decoration: none; display: flex; gap: 10px; align-items: center; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: conic-gradient(#1f5a52 0 20%, #2f6b4f 0 40%, #b8571c 0 60%, #8e2a2a 0 80%, #25406e 0); }
.nav { display: flex; gap: 16px; flex-wrap: wrap; }
.nav a { color: var(--mut); text-decoration: none; font-size: 15px; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.hero { padding: clamp(40px, 7vw, 84px) 0 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero .lead { font-size: 20px; color: var(--mut); margin: 0 0 24px; max-width: 60ch; }
.hero-logo { width: min(320px, 100%); justify-self: center; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.kicker { font-size: 15px; color: var(--accent); font-weight: 700; margin-bottom: 8px; }

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface-2); }
.btn:hover { border-color: var(--mut); color: var(--ink); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #14110a; }
.btn-primary:hover { filter: brightness(1.08); color: #14110a; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.addon-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; text-decoration: none; color: var(--ink); border-top: 4px solid var(--c); }
.addon-card:hover { border-color: var(--c); }
.addon-card img { border-radius: 18px; }
.addon-card .tag { color: var(--c); font-size: 14px; font-weight: 700; }
.addon-card p { color: var(--mut); margin: 6px 0 0; font-size: 16px; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.feature-list li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; }
.feature-list strong { display: block; margin-bottom: 4px; }

.need { background: var(--surface-2); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.need blockquote { margin: 8px 0 0; color: var(--mut); font-style: italic; }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--mut); font-weight: 600; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font: 14px Consolas, monospace; white-space: nowrap; }

.today { background: linear-gradient(135deg, #16223d, #0e1426); border: 1px solid #34507f; border-radius: var(--radius); padding: 22px; }
.today ol { margin: 10px 0 0; padding-left: 22px; font-size: 19px; }
.today li { margin-bottom: 6px; }

.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 0; color: var(--mut); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
.site-footer a { color: var(--mut); }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero-logo { width: 180px; justify-self: start; order: -1; }
}
