:root {
  color-scheme: dark;
  --bg: #0f0b08;
  --panel: #18120d;
  --panel-strong: #20170f;
  --text: #fff4df;
  --muted: #c8bda9;
  --primary: #f2bd3d;
  --green: #45d47b;
  --border: #362919;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 189, 61, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

a {
  color: var(--primary);
  font-weight: 800;
}

.shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(242, 189, 61, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(242, 189, 61, 0.22), rgba(69, 212, 123, 0.08));
  color: var(--primary);
  font-weight: 950;
  letter-spacing: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 950;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.hero {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(24, 18, 13, 0.78);
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(69, 212, 123, 0.35);
  border-radius: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card,
section {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(24, 18, 13, 0.88);
}

.card {
  display: block;
  padding: 18px;
  color: var(--text);
  text-decoration: none;
}

.card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
}

section {
  margin-top: 16px;
  padding: 22px;
}

ol,
ul {
  padding-left: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #171007;
  text-decoration: none;
  font-weight: 950;
}

.meta {
  margin-top: 18px;
  color: #9f927d;
  font-size: 14px;
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: #9f927d;
  font-size: 14px;
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  section {
    padding: 18px;
  }
}
