@font-face {
  font-family: "Nunito";
  src: url("./Nunito-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --sky: #67c8e8;
  --sky-deep: #39aeda;
  --navy: #263653;
  --paper: #fffdf7;
  --cream: #fff4cf;
  --red: #ef4c5d;
  --blue: #3989e8;
  --green: #58b94d;
  --orange: #f58a3f;
  --purple: #8c6ae2;
  --line: rgba(38, 54, 83, 0.14);
  --shadow: 0 22px 60px rgba(27, 83, 120, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 12% 13%, rgba(255, 255, 255, 0.88) 0 4.5rem, transparent 4.6rem),
    radial-gradient(circle at 91% 25%, rgba(255, 255, 255, 0.62) 0 6rem, transparent 6.1rem),
    linear-gradient(160deg, #dff6ff 0%, #f7fcff 45%, #fff9e8 100%);
  line-height: 1.65;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 19rem;
  height: 19rem;
  border-radius: 47% 53% 68% 32% / 52% 35% 65% 48%;
  content: "";
  filter: blur(1px);
  opacity: 0.16;
}

body::before {
  top: -7rem;
  right: -5rem;
  background: var(--orange);
  transform: rotate(18deg);
}

body::after {
  bottom: -9rem;
  left: -6rem;
  background: var(--green);
  transform: rotate(-24deg);
}

a {
  color: #176ebd;
  font-weight: 750;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #0d4e8a;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

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

.brand img {
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 17px;
  box-shadow: 0 8px 18px rgba(30, 108, 151, 0.2);
}

.brand-name {
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px rgba(34, 83, 119, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 52px clamp(24px, 5vw, 66px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px 38px 70px 38px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 1000;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: #53617a;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
}

.hero-mark {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 42% 58% 55% 45% / 44% 45% 55% 56%;
  background: linear-gradient(145deg, var(--sky), #a8e7f7);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.66), 0 16px 28px rgba(42, 130, 172, 0.2);
  transform: rotate(4deg);
}

.hero-mark img {
  width: 120px;
  height: 120px;
  border-radius: 31px;
  transform: rotate(-4deg);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
  padding: 34px 0 70px;
}

.document,
.side-card,
.support-card {
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 14px 38px rgba(36, 76, 111, 0.1);
}

.document {
  padding: clamp(26px, 5vw, 58px);
  border-radius: 34px;
}

.document section + section {
  padding-top: 29px;
  border-top: 1px solid var(--line);
  margin-top: 29px;
}

h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 900;
}

p {
  margin: 0.7em 0;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 8px;
}

.plain-list li::marker {
  color: var(--green);
}

.side-card {
  position: sticky;
  top: 20px;
  padding: 24px;
  border-radius: 28px;
}

.side-card::before {
  display: block;
  width: 48px;
  height: 8px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--orange) 25% 50%, var(--green) 50% 75%, var(--blue) 75%);
  content: "";
}

.side-card p {
  color: #667188;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 2px solid #176ebd;
  border-radius: 16px;
  margin-top: 12px;
  background: #fff;
  color: #176ebd;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  box-shadow: 0 7px 0 rgba(23, 110, 189, 0.18);
  transform: translateY(-2px);
}

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

.support-card {
  padding: 28px;
  border-radius: 28px;
}

.support-card:nth-child(4n + 1) {
  border-top: 6px solid var(--red);
}

.support-card:nth-child(4n + 2) {
  border-top: 6px solid var(--blue);
}

.support-card:nth-child(4n + 3) {
  border-top: 6px solid var(--green);
}

.support-card:nth-child(4n + 4) {
  border-top: 6px solid var(--orange);
}

.note {
  padding: 16px 18px;
  border-radius: 18px;
  margin-top: 20px;
  background: var(--cream);
  font-weight: 650;
}

.site-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 38px;
  border-top: 1px solid rgba(38, 54, 83, 0.12);
  color: #6b7588;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .document,
  .side-card,
  .support-card {
    animation: rise 500ms both;
  }

  .document,
  .support-grid {
    animation-delay: 80ms;
  }

  .side-card {
    animation-delay: 150ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

  .hero-mark {
    display: none;
  }

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

  .side-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 20px, 1120px);
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .site-nav a {
    padding: 5px 10px;
  }

  .hero {
    padding: 34px 24px;
    border-radius: 28px 28px 50px 28px;
  }

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

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

@media print {
  body {
    background: #fff;
  }

  .site-nav,
  .hero-mark,
  .side-card,
  .site-footer {
    display: none;
  }

  .hero,
  .document {
    border: 0;
    box-shadow: none;
  }

  .content-grid {
    display: block;
  }
}
