:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #10233d;
  background: #eef3f8;
  font-synthesis: none;
  --blue: #1458b0;
  --blue-dark: #071a33;
  --ink: #10233d;
  --muted: #60728b;
  --line: #d7e0eb;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 121, 219, 0.14), transparent 34rem),
    #eef3f8;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  padding: 24px;
}

.shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 18px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 224, 235, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 38px rgba(16, 35, 61, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: -0.03em;
}

.nav,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav .link {
  padding: 10px 12px;
}

.link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(20, 88, 176, 0.22);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.btn:hover {
  background: #0f4b99;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 86px);
  color: #fff;
  background:
    linear-gradient(118deg, rgba(20, 88, 176, 0.96), rgba(7, 26, 51, 0.98)),
    var(--blue-dark);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(7, 26, 51, 0.22);
}

.hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -190px;
  content: "";
  background: rgba(102, 173, 255, 0.18);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 16px;
  color: #a9d1ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 24px 0 30px;
  color: #dbe9f8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero .actions {
  position: relative;
  z-index: 1;
}

.hero .actions .link {
  padding: 12px 4px;
  color: #fff;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 20px;
  margin-top: 20px;
}

.panel,
.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(16, 35, 61, 0.07);
}

.panel {
  padding: clamp(24px, 4vw, 38px);
}

.panel h2,
.section h3 {
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.025em;
}

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

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

.list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.list li::before {
  position: absolute;
  top: 0.55em;
  left: 3px;
  width: 10px;
  height: 6px;
  content: "";
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.related {
  display: grid;
  gap: 12px;
}

.related .link {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}

.related .link:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.section {
  padding: 26px;
}

.section p {
  min-height: 78px;
  margin: 0 0 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 6px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer a {
  color: var(--blue);
}

a:focus-visible {
  outline: 3px solid #70b5ff;
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .page {
    padding: 14px;
  }

  .topbar,
  .content,
  .grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
  }

  .content,
  .grid {
    display: grid;
  }

  .section p {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .topbar,
  .footer {
    display: grid;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav .link {
    padding-left: 0;
  }

  .hero {
    padding: 38px 24px;
  }

  .actions {
    align-items: stretch;
  }

  .actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
