:root {
  --bg: #D3E4E0;
  --surface: #EAF0EF;
  --ink: #0F241F;
  --accent: #218D71;
  --muted: #4A645D;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  padding: 2rem 1.25rem;
}

.wrapper {
  max-width: 820px;
  margin: 0 auto;
}

header {
  border: 2px solid var(--ink);
  background-color: var(--surface);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

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

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero, .panel {
  background-color: var(--surface);
  border: 2px solid var(--ink);
  padding: 2rem;
}

.badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 800;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: var(--ink);
}

p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.card {
  border: 2px solid var(--ink);
  background-color: var(--bg);
  padding: 1.25rem;
}

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

footer {
  margin-top: 2.5rem;
  border: 2px solid var(--ink);
  background-color: var(--surface);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
