:root {
  --bg: #0c1210;
  --surface: #152019;
  --text: #e8f0ea;
  --muted: #9aafa0;
  --accent: #3d9b6a;
  --accent-2: #c4a35a;
  --border: rgba(232, 240, 234, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(61, 155, 106, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(196, 163, 90, 0.18), transparent 50%),
    linear-gradient(180deg, #0c1210 0%, #101816 100%);
}

main {
  width: min(980px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
}

.brand {
  text-align: center;
  margin-bottom: 2.75rem;
}

.brand .mark {
  display: block;
  width: clamp(4.5rem, 12vw, 6.5rem);
  height: auto;
  margin: 0 auto 1rem;
}

.brand h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.brand p {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.55;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
}

.brand p + p {
  margin-top: 0.55rem;
}

.brand p a {
  color: var(--text);
  text-decoration: none;
}

.brand p a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.crumb {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.crumb a:hover {
  text-decoration: underline;
}

.section-head {
  text-align: center;
  margin-bottom: 1.75rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 0 1 260px;
  width: 260px;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, white);
  transform: translateY(-2px);
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1.12rem;
  text-align: center;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
}

.card .path {
  margin: 0;
  text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--accent-2);
}

.card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.empty {
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 36rem;
  text-align: center;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

footer p {
  margin: 0.35rem 0;
}

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

footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}
