:root {
  --bg: #1a1a1c;
  --surface: #242428;
  --text: #f3f0f8;
  --muted: #b8b4c0;
  --accent: #c4b0ff;
  --line: #3a3744;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
}

header,
footer {
  border-color: var(--line);
}

header {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

header .wrap,
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

main {
  flex: 1;
  padding: 2.5rem 0 4rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
}

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

ul {
  padding-left: 1.2rem;
}

.lead {
  font-size: 1.05rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 0;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #1a1524;
  font-weight: 650;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

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

footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
