:root {
  --bg: #eef4fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #122033;
  --muted: #52657c;
  --line: rgba(18, 32, 51, 0.1);
  --accent: #0f76d3;
  --accent-strong: #0b5fa8;
  --shadow: 0 24px 80px rgba(18, 32, 51, 0.12);
  --radius: 24px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 211, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(11, 95, 168, 0.12), transparent 28%),
    linear-gradient(180deg, #edf3fa 0%, #f7f9fc 55%, #eef3f8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  padding: 32px;
  margin-bottom: 24px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.lead {
  max-width: 62ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.meta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 0.96rem;
}

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

.link-card {
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(18, 32, 51, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 211, 0.35);
  box-shadow: 0 14px 42px rgba(18, 32, 51, 0.11);
}

.link-card h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.page {
  padding: 28px 32px 34px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.support {
  min-width: 240px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 211, 0.18);
  border-radius: 16px;
  background: rgba(15, 118, 211, 0.08);
}

.support span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.support a {
  display: block;
  margin-top: 6px;
  color: var(--accent-strong);
  font-weight: 700;
  word-break: break-word;
}

.content {
  display: grid;
  gap: 18px;
}

.section {
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.section p,
.section li {
  color: var(--muted);
  line-height: 1.76;
}

.section ul {
  margin: 0;
  padding-left: 20px;
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .page-header {
    flex-direction: column;
  }

  .support {
    width: 100%;
    min-width: 0;
  }

  .hero,
  .page {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 20px;
  }

  .hero,
  .page,
  .section,
  .link-card {
    border-radius: 18px;
  }

  .meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
