:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-2: #f0f3f9;
  --text: #171c28;
  --muted: #667085;
  --line: #d9e0ec;
  --accent: #5b7cff;
}

* { box-sizing: border-box; }

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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(91,124,255,.12), transparent 20%),
    linear-gradient(180deg, #f8faff, #f3f6fb 60%, #eef2f8);
  color: var(--text);
  line-height: 1.6;
}

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

.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  margin-bottom: 14px;
  font-weight: 700;
}

h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.lead {
  color: var(--muted);
  max-width: 760px;
  font-size: 18px;
  margin-bottom: 24px;
}

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

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  transition: .2s ease;
}

.nav a:hover {
  background: #fff;
  border-color: #c8d3e5;
}

main {
  padding: 36px 0 56px;
}

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

.card, .note, .about {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,251,255,.9));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 35px rgba(34, 52, 92, 0.06);
}

.card h2, .notes h2, .about h2 {
  margin-top: 0;
}

.notes {
  margin-bottom: 32px;
}

.note-list {
  display: grid;
  gap: 16px;
}

.note h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

p {
  margin-top: 0;
}

a {
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 22px 0 40px;
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
