:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #e4e7ec;
  --accent: #335cff;
  --accent-soft: #eef2ff;
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

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

a { color: inherit; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover { color: var(--text); }

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 22px 80px;
}

.hero {
  max-width: 760px;
  margin-bottom: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.02em;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 680px;
  font-size: 19px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}

a.card:hover {
  transform: translateY(-2px);
  border-color: #b9c4ff;
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.card p { margin-bottom: 0; }

.list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
}

.item:hover { border-color: #b9c4ff; }

.item strong { display: block; margin-bottom: 4px; }
.item span { color: var(--muted); }

.badge {
  flex: 0 0 auto;
  align-self: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent) !important;
  font-size: 12px;
  font-weight: 800;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.empty {
  padding: 28px;
  border: 1px dashed #cfd4dc;
  border-radius: 18px;
  background: rgba(255,255,255,.55);
}

footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px 36px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; }
  main { padding-top: 36px; }
}
