:root {
  --bg: #f1f7ff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --accent: #156fbe;
  --accent-hover: #0f5e9f;
  --border: rgba(2, 132, 199, 0.18);
  --shadow: 0 10px 30px rgba(21, 111, 190, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 217, 255, 0.55) 0%, transparent 40%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.9) 0%, transparent 35%),
    var(--bg);
  min-height: 100vh;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(2, 132, 199, 0.16);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #114f87;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.nav a[aria-current="page"] {
  color: #0b4c86;
}

.nav a:hover {
  color: #1d4ed8;
}

.hero {
  padding: 44px 0 18px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 12px 0 56px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h2 {
  margin: 0;
  font-size: 1.1rem;
}

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

.button {
  width: fit-content;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border: 1px solid rgba(2, 132, 199, 0.22);
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  border-color: rgba(2, 132, 199, 0.34);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  border-color: rgba(21, 111, 190, 0.45);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-hover);
}

.site-footer {
  border-top: 1px solid rgba(2, 132, 199, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
}
