:root {
  color-scheme: light;
  --backdrop: #f2f7ff;
  --surface: #ffffff;
  --surface-quiet: #ebf0fa;
  --stroke: #dbe6f5;
  --divider: #dbe6f5;
  --ink: #1a3352;
  --ink-soft: #596f94;
  --ink-blue: #2161b3;
  --accent-blue: #2980f5;
  --accent-blue-stroke: #0f57c7;
  --accent-sky: #73bdff;
  --accent-mint: #52c79e;
  --sticker-shadow: rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 9%, rgba(115, 189, 255, 0.22), transparent 19rem),
    linear-gradient(180deg, #f7faff 0%, var(--backdrop) 100%);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Nunito Sans",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26, 51, 82, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(26, 51, 82, 0.05) 0 1px, transparent 1px);
  background-size: 18px 18px, 22px 22px;
}

a {
  color: var(--ink-blue);
  font-weight: 700;
  text-decoration-color: rgba(41, 128, 245, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 12px;
  background: rgba(242, 247, 255, 0.88);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid rgba(15, 87, 199, 0.4);
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow:
    0 4px 0 rgba(15, 87, 199, 0.36),
    0 2px 3px var(--sticker-shadow);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 13px;
  font-weight: 800;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

main {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 36px 0 20px;
}

.hero {
  max-width: 720px;
  padding: 48px 0 42px;
}

.kicker,
.section-label,
.updated {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero p:not(.kicker) {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid rgba(15, 87, 199, 0.65);
  border-radius: 999px;
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    0 5px 0 rgba(15, 87, 199, 0.42),
    0 2px 3px var(--sticker-shadow);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  background: var(--accent-blue-stroke);
  color: #ffffff;
  transform: translateY(1px);
  box-shadow:
    0 3px 0 rgba(15, 87, 199, 0.42),
    0 1px 2px var(--sticker-shadow);
}

.block {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0;
}

.section-label {
  padding: 17px 0 0 6px;
}

.card {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--surface);
  padding: 28px;
  box-shadow:
    0 4px 0 rgba(89, 111, 148, 0.10),
    0 2px 4px var(--sticker-shadow);
}

h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

h3 {
  margin: 24px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.updated {
  margin-bottom: 6px;
  color: var(--ink-blue);
}

p {
  color: var(--ink-soft);
  font-weight: 600;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(980px, calc(100vw - 32px));
  margin: 22px auto 0;
  padding: 28px 0 42px;
  border-top: 1px solid var(--stroke);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 14px;
  }

  .hero {
    padding: 34px 0 26px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 54px);
  }

  .block {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .section-label {
    padding: 0 0 0 6px;
  }

  .card {
    border-radius: 22px;
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
