:root {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: #334155;
  --amber: #f59e0b;
  --link: #fbbf24;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.mark {
  width: 32px;
  height: 32px;
}

nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 32px 0 12px;
}

h2 {
  font-size: 1.15rem;
  margin: 28px 0 8px;
}

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

.lede {
  font-size: 1.05rem;
  max-width: 40rem;
}

.cards {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

.card strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: #0f172a;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.meta {
  font-size: 13px;
  color: var(--muted);
}

article section + section {
  margin-top: 8px;
}
