:root {
  color-scheme: dark;
  --bg: #0d0a12;
  --surface: #18131f;
  --surface-2: #221927;
  --text: #f7e8c8;
  --muted: #bcaeae;
  --accent: #f1ad43;
  --border: rgba(247, 232, 200, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(76, 44, 94, 0.34), transparent 32rem),
    radial-gradient(circle at 10% 90%, rgba(152, 77, 42, 0.18), transparent 30rem),
    var(--bg);
  font: 17px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

a { color: var(--accent); }

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

.hero { padding: 56px 0; max-width: 780px; }
.eyebrow { color: var(--accent); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; }
h1 { margin: 12px 0 18px; font-size: clamp(2.5rem, 8vw, 5.6rem); line-height: 1.02; letter-spacing: -0.06em; }
.hero p, .article-header p { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  display: block;
  padding: 30px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 22px;
  transition: transform 160ms ease, border-color 160ms ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(241, 173, 67, 0.55); }
.card h2 { margin: 16px 0 8px; font-size: 1.5rem; }
.card p { min-height: 58px; color: var(--muted); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #20150a; background: var(--accent); font-weight: 900; }
.link { color: var(--accent); font-weight: 800; }

.article-shell { max-width: 820px; }
nav { margin-bottom: 64px; }
nav a { text-decoration: none; }
.article-header { padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); }
.article { padding: 24px 0; }
.article h2 { margin: 42px 0 8px; color: var(--accent); font-size: 1.25rem; }
.article p { color: #ded2cf; }
.button { display: inline-block; margin-top: 8px; padding: 12px 18px; color: #20150a; background: var(--accent); border-radius: 10px; font-weight: 900; text-decoration: none; }

footer { margin-top: 72px; padding-top: 24px; color: #887d82; border-top: 1px solid var(--border); font-size: 0.82rem; }

@media (max-width: 700px) {
  .shell { padding-top: 42px; }
  .hero { padding: 36px 0; }
  .cards { grid-template-columns: 1fr; }
  .card p { min-height: auto; }
}
