:root {
  color-scheme: light;
  --ink: #17222f;
  --muted: #5d6976;
  --blue: #155f8d;
  --blue-deep: #0b3f61;
  --sand: #f5efe4;
  --paper: #fffdf8;
  --line: #dfe5e8;
  --shadow: 0 18px 50px rgba(22, 52, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(44, 139, 179, 0.18), transparent 28rem),
    linear-gradient(180deg, #f8fbfc 0, var(--sand) 34rem, #f7f3ea 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(16, 55, 76, 0.17);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  padding: 80px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 3vw, 23px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--blue-deep);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--blue-deep);
}

.button.secondary:hover {
  background: rgba(21, 95, 141, 0.08);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 76px;
}

.card,
.document {
  border: 1px solid rgba(120, 145, 157, 0.22);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.card {
  padding: 30px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 750;
}

.document {
  margin: 42px auto 76px;
  padding: clamp(28px, 6vw, 62px);
}

.document-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.document h1 {
  font-size: clamp(34px, 6vw, 54px);
}

.document h2 {
  margin: 42px 0 10px;
  font-size: 25px;
}

.document h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.document p,
.document li {
  color: #344350;
}

.document ul,
.document ol {
  padding-left: 1.25em;
}

.note {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 4px 14px 14px 4px;
  background: rgba(21, 95, 141, 0.07);
}

.note p {
  margin: 0;
}

footer {
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .document {
    margin-top: 20px;
  }
}
