:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #162033;
  --muted: #5f6f89;
  --primary: #1947a3;
  --primary-dark: #0e2f73;
  --border: #dce4f2;
  --shadow: 0 16px 40px rgba(22, 32, 51, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, #e8f0ff 0, #f5f7fb 34%, #ffffff 100%);
  color: var(--text);
  font-family: Helvetica, Arial, Verdana, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  margin-bottom: 32px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(25, 71, 163, 0.96), rgba(15, 35, 84, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.42), transparent 28%);
  color: white;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, background 180ms ease;
}

.home-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.19);
}

.home-link img {
  width: 22px;
  height: 22px;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.quick-nav a {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(22, 32, 51, 0.04);
}

.quick-nav a:hover {
  border-color: #9db4e4;
  background: white;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.section-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-card.wide {
  grid-column: span 12;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 14px;
}

.icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 1.32rem;
}

.section-header h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.2;
}

.section-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 24px 24px;
  list-style: none;
}

.link-list.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #e6ecf7;
  border-radius: 14px;
  background: #fbfcff;
  color: #24324b;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-list a::after {
  content: "↗";
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 800;
}

.link-list a:hover {
  transform: translateY(-2px);
  border-color: #b9c9ed;
  background: white;
  box-shadow: 0 12px 22px rgba(25, 71, 163, 0.10);
}

.tag {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-note {
  margin: 32px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 22px, 720px);
    padding-top: 18px;
  }

  .hero {
    padding: 26px;
    border-radius: 22px;
  }

  .section-card,
  .section-card.wide {
    grid-column: span 12;
  }

  .link-list.two-columns {
    grid-template-columns: 1fr;
  }
}
