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

:root {
  --ink: #173f38;
  --ink-soft: #45645f;
  --paper: #fffdf6;
  --white: #ffffff;
  --sun: #ffc95c;
  --sun-soft: #fff0bd;
  --mint: #b9edcf;
  --mint-soft: #e9f9ef;
  --sky: #c9f0f6;
  --coral: #ff8d73;
  --line: #dce9de;
  --shadow: 0 24px 70px rgba(23, 63, 56, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: var(--sky);
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

body::before {
  top: -20rem;
  left: -14rem;
}

body::after {
  right: -15rem;
  bottom: -22rem;
  background: var(--mint);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

header,
main,
footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.38rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--sun-soft);
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a,
footer a {
  font-weight: 850;
  text-decoration: none;
}

nav a:hover,
footer a:hover,
.text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

nav .language {
  padding: 9px 15px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  align-items: center;
  gap: 20px;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  overflow: hidden;
  padding: 66px 54px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 52px;
  background: var(--sun-soft);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -48%;
  width: 67%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: #9d553e;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5.25vw, 5.7rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 em {
  color: #d35f45;
  font-style: normal;
}

.lead,
.intro {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.23rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 0 #0c2e28;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 0 5px 0 #0c2e28;
  transform: translateY(3px);
}

.text-link {
  font-weight: 900;
  text-decoration: none;
}

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

.trust li {
  padding: 7px 13px;
  border: 2px solid rgba(23, 63, 56, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-visual {
  width: 112%;
  margin-left: -5%;
}

.device {
  position: relative;
  width: 100%;
  aspect-ratio: 2904 / 1533;
  filter: drop-shadow(0 28px 26px rgba(23, 63, 56, 0.25));
}

.device picture {
  position: absolute;
  top: 11.55%;
  left: 5.99%;
  width: 88.02%;
  height: 76.91%;
  overflow: hidden;
  border-radius: 7.6% / 16%;
  background: #f6faf7;
}

.device picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mascot {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: -16%;
  width: min(34%, 240px);
  filter: drop-shadow(0 16px 18px rgba(23, 63, 56, 0.18));
}

.value-strip {
  display: grid;
  gap: 16px;
  margin: 32px 0 120px;
  grid-template-columns: repeat(3, 1fr);
}

.value-strip article {
  min-height: 205px;
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.87);
}

.value-strip span,
.story-number {
  color: #d35f45;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.value-strip h2 {
  margin: 12px 0 6px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.value-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 620;
}

.experience {
  margin: 0 0 120px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 76px;
  text-align: center;
}

.section-heading h2,
.parents h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.3rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 650;
}

.story {
  display: grid;
  min-height: 520px;
  align-items: center;
  gap: 7%;
  margin: 0 0 48px;
  padding: 54px;
  border-radius: 44px;
  background: var(--mint-soft);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.story:nth-of-type(2) {
  background: #fff3d6;
}

.story:nth-of-type(3) {
  background: #e9f6fa;
}

.story.reverse .story-copy {
  order: 2;
}

.story-copy {
  max-width: 440px;
}

.story .kicker {
  margin-top: 24px;
  margin-bottom: 8px;
}

.story h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 950;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.story-copy > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 650;
}

.parents {
  display: grid;
  gap: 7%;
  margin: 0 0 96px;
  padding: 62px;
  border-radius: 44px;
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1.08fr 0.92fr;
}

.parents .eyebrow {
  color: var(--sun);
}

.parents > div > p:last-child {
  max-width: 640px;
  color: #cae2dc;
  font-size: 1.08rem;
  font-weight: 650;
}

.parent-links {
  display: grid;
  gap: 12px;
}

.parent-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.parent-links span {
  color: #cae2dc;
  font-size: 0.88rem;
  font-weight: 700;
}

.parent-links strong {
  text-align: right;
}

.document {
  max-width: 920px;
  margin: 34px auto 84px;
  padding: clamp(28px, 6vw, 74px);
  border: 2px solid var(--line);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(23, 63, 56, 0.08);
}

.document h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.document h2 {
  margin: 2em 0 0.35em;
  font-size: 1.38rem;
  line-height: 1.2;
}

.document a {
  color: #087b66;
  font-weight: 850;
}

.email {
  display: inline-block;
  margin: 22px 0 32px;
  padding: 12px 18px;
  border-radius: 16px;
  background: var(--mint-soft);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.support-grid section {
  padding-top: 4px;
  border-top: 4px solid var(--mint);
}

footer {
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-brand {
  color: var(--ink);
  font-size: 1.05rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 15px;
}

@media (max-width: 1040px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 750px;
  }

  .hero-visual {
    width: 94%;
    margin: 20px auto 0;
  }

  .story {
    padding: 44px;
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 680px;
  }

  .story.reverse .story-copy {
    order: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  header,
  main,
  footer {
    width: min(100% - 28px, 1240px);
  }

  header {
    min-height: 82px;
  }

  nav a:not(.language) {
    display: none;
  }

  nav {
    gap: 0;
  }

  .brand {
    font-size: 1.17rem;
  }

  .brand img {
    width: 45px;
    height: 45px;
    border-radius: 15px;
  }

  .hero {
    gap: 34px;
    padding: 40px 22px 32px;
    border-radius: 32px;
  }

  .hero::after {
    right: -42%;
    bottom: -14%;
    width: 130%;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .lead {
    margin-top: 20px;
    font-size: 1.06rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 26px;
  }

  .trust {
    margin-top: 30px;
  }

  .hero-visual {
    width: 118%;
    margin: 0 -9%;
  }

  .mascot {
    right: 0;
    bottom: -21%;
    width: 35%;
  }

  .value-strip {
    grid-template-columns: 1fr;
    margin: 22px 0 84px;
  }

  .value-strip article {
    min-height: 0;
    padding: 24px;
  }

  .section-heading {
    margin-bottom: 42px;
    text-align: left;
  }

  .section-heading h2,
  .parents h2 {
    font-size: 2.55rem;
  }

  .story {
    min-height: 0;
    gap: 34px;
    margin-bottom: 22px;
    padding: 32px 20px;
    border-radius: 30px;
  }

  .story .device {
    width: 116%;
    margin-inline: -8%;
  }

  .story h3 {
    font-size: 2.3rem;
  }

  .parents {
    padding: 38px 24px;
    border-radius: 30px;
    grid-template-columns: 1fr;
  }

  .parent-links {
    margin-top: 18px;
  }

  .parent-links a {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .parent-links strong {
    text-align: left;
  }

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

  .document {
    margin-top: 14px;
    border-radius: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 30px 0;
  }
}

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

  .button {
    transition: none;
  }
}
