@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f8efd9;
  --cream: #fffaf0;
  --ink: #352b27;
  --muted: #675953;
  --coral: #ef6955;
  --coral-soft: #f5bdb2;
  --green: #42986f;
  --green-soft: #cce5bd;
  --blue: #4395c5;
  --blue-soft: #d0e7f1;
  --yellow: #d5a120;
  --yellow-soft: #fae7a4;
  --lavender: #8c79b8;
  --lavender-soft: #e4daef;
  --line: rgba(53, 43, 39, 0.13);
  --shadow: 0 16px 42px rgba(84, 66, 45, 0.12);
  --wrap: min(1040px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 8%, rgba(208, 231, 241, 0.78) 0 145px, transparent 146px),
    radial-gradient(circle at 2% 92%, rgba(228, 218, 239, 0.66) 0 180px, transparent 181px),
    var(--canvas);
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-head {
  padding: 20px 0;
}

.head-row,
.brand,
.nav {
  display: flex;
  align-items: center;
}

.head-row {
  justify-content: space-between;
  gap: 20px;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(53, 43, 39, 0.15);
}

.nav {
  gap: 8px;
}

.nav a {
  min-height: 44px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  display: grid;
  min-height: 660px;
  align-items: center;
  gap: 56px;
  padding: 72px 0 88px;
}

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

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(46px, 9vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.45;
  text-wrap: pretty;
}

.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise li {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.84);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.letters {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2.2vw, 20px);
}

.letter-tile {
  display: grid;
  width: clamp(88px, 20vw, 148px);
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid white;
  border-bottom-width: 10px;
  border-radius: 28%;
  box-shadow: var(--shadow);
  font-size: clamp(48px, 12vw, 82px);
  font-weight: 600;
  line-height: 1;
}

.letter-a {
  border-bottom-color: var(--coral);
  background: var(--coral-soft);
}

.letter-b {
  border-bottom-color: var(--green);
  background: var(--green-soft);
}

.letter-c {
  border-bottom-color: var(--blue);
  background: var(--blue-soft);
}

.section {
  padding: 76px 0;
}

.section h2,
.doc-title {
  margin-bottom: 16px;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
}

.activity-grid {
  display: grid;
  gap: 18px;
}

.activity-card,
.doc {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
}

.activity-card {
  padding: 28px;
}

.activity-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.activity-card:nth-child(2) span {
  background: var(--green);
}

.activity-card:nth-child(3) span {
  background: var(--coral);
}

.activity-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.2;
}

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

.quiet {
  text-align: center;
}

.quiet p {
  max-width: 650px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 19px;
}

.doc-main {
  padding: 48px 0 72px;
}

.doc-wrap {
  max-width: 820px;
  margin-inline: auto;
}

.doc {
  padding: clamp(24px, 5vw, 46px);
}

.doc h2 {
  margin: 2em 0 0.55em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.2;
}

.doc h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.doc h3 {
  margin: 1.5em 0 0.4em;
  font-size: 19px;
}

.doc p,
.doc ul {
  margin-bottom: 1em;
}

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

.doc a,
.text-link {
  color: #236996;
  font-weight: 700;
}

.doc code {
  overflow-wrap: anywhere;
  font-family: inherit;
  font-weight: 700;
}

.site-foot {
  padding: 48px 0 34px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot-links a {
  color: var(--muted);
  font-weight: 700;
}

.copyright {
  color: var(--muted);
  font-size: 14px;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: min(100% - 30px, 1040px);
  }

  body {
    background:
      radial-gradient(circle at 105% 6%, rgba(208, 231, 241, 0.72) 0 110px, transparent 111px),
      radial-gradient(circle at -10% 96%, rgba(228, 218, 239, 0.58) 0 125px, transparent 126px),
      var(--canvas);
  }

  .site-head {
    padding: 14px 0;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 0;
    gap: 46px;
    padding: 54px 0 68px;
  }

  .section {
    padding: 56px 0;
  }

  .letter-tile {
    border-bottom-width: 7px;
    border-radius: 24%;
  }

  .doc-main {
    padding-top: 32px;
  }
}

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