@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("./assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("./assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  --color-background: #eff5ff;
  --color-hero: #ffffff;
  --color-section: #dfeaff;
  --color-download: var(--color-section);
  --color-features: var(--color-section);
  --color-video: var(--color-section);
  --color-accent: #a7f586;
  --color-navy: #091334;
  --color-text: #1f2937;
  --color-muted: #4b5563;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-card {
  background: #fff;
  border-radius: 36px;
  padding: clamp(1.8rem, 3.3vw, 2.75rem);
  box-shadow: none;
  border: none;
  width: 100%;
  text-align: left;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
}

.button--primary {
  background: var(--color-accent);
  color: var(--color-navy);
  box-shadow: none;
}

.button--primary:hover {
  transform: translateY(-1px);
}

.button--primary:active {
  transform: translateY(0);
}

.hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 2rem 0 6rem;
}

.hero__inner {
  position: relative;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-navy);
}

.hero__logo img {
  width: 52px;
  height: auto;
}

.hero__install {
  font-weight: 400;
  font-size: clamp(0.8rem, 0.2vw + 0.75rem, 0.95rem);
  padding: 0.65rem 1.3rem;
  white-space: nowrap;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: auto;
  font-size: 1rem;
}

.hero__nav .button {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: clamp(0.9rem, 0.3vw + 0.85rem, 1rem);
}

.hero__contact {
  color: var(--color-navy);
  font-weight: 500;
  font-size: clamp(0.9rem, 0.3vw + 0.85rem, 1rem);
}

.hero__content {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 5.5rem;
}

.hero__text h1 {
  font-size: clamp(1.6rem, 1.4vw + 1.35rem, 2.1rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-navy);
}

.hero__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-weight: 500;
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.1rem);
}

.hero__decoration {
  position: absolute;
  bottom: -1px;
  pointer-events: none;
}

.hero__decoration--lion {
  left: max(calc((100vw - var(--max-width)) / 2), 24px);
  width: 200px;
}

.hero__decoration--goat {
  right: max(calc((100vw - var(--max-width)) / 2), 24px);
  width: 210px;
}

.program-menu {
  position: relative;
  background: var(--color-section);
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3.75rem, 6vw, 5rem);
}

.program-menu__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  justify-items: center;
}

@media (min-width: 900px) {
  .program-menu__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.program-menu__card {
  width: min(100%, 320px);
  background: #fff;
  border-radius: 48px;
  padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  color: var(--color-navy);
  font-weight: 500;
  box-shadow: none;
  border: none;
  min-height: 210px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-menu__card:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.program-menu__card h3 {
  margin: 0;
  font-size: clamp(1.08rem, 0.45vw + 1rem, 1.35rem);
  font-weight: 600;
}

.program-menu__card p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.92rem, 0.35vw + 0.88rem, 1.05rem);
  line-height: 1.55;
}

.program-menu__card[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.plansje {
  background: var(--color-section);
  padding: clamp(3.2rem, 5vw, 4.8rem) 0;
}

.plansje__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.plansje__content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 1.2vw + 1.2rem, 2rem);
  color: var(--color-navy);
  font-weight: 600;
}

.plansje__content p {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 0.4vw + 0.9rem, 1.1rem);
  line-height: 1.7;
}

.plansje__link {
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}

.plansje__card {
  background: var(--color-background);
  border-radius: 32px;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(9, 19, 52, 0.05);
}

.plansje__card img {
  border-radius: 24px;
  box-shadow: 0 24px 54px -36px rgba(9, 19, 52, 0.45);
  width: min(100%, 360px);
}

.plansje__button {
  padding: 0.65rem 2rem;
}

.download {
  position: relative;
  padding: 5rem 0 6rem;
  background: var(--color-download);
  overflow: hidden;
}

/* .download__inner no longer in use */

.download__heading {
  margin-bottom: clamp(0.65rem, 1.2vw, 1rem);
}

.download__heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1vw + 1.2rem, 1.95rem);
  color: var(--color-navy);
  font-weight: 600;
  text-align: left;
  scroll-margin-top: clamp(4rem, 12vh, 7rem);
}


.features {
  width: 100%;
}

.features--embedded {
  padding-top: clamp(0.8rem, 2vw, 1.5rem);
}

.features__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
}

.features__left {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 2.5vw, 2rem);
  padding: 0;
}

.features__eyebrow {
  margin: 0;
  font-size: clamp(1.05rem, 0.7vw + 0.95rem, 1.25rem);
  color: var(--color-muted);
  font-weight: 500;
}

.features__left ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 1.9rem);
}

.features__left li {
  padding-bottom: clamp(0.9rem, 1.8vw, 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  padding-left: clamp(1rem, 1.8vw, 1.4rem);
}

.features__left li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  border-radius: 999px;
  background: rgba(9, 19, 52, 0.15);
}

.features__left li h3 {
  margin: 0;
  font-size: clamp(0.92rem, 0.55vw + 0.82rem, 1.12rem);
  font-weight: 600;
  color: var(--color-navy);
}

.features__left li p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 0.45vw + 0.85rem, 1.05rem);
  line-height: 1.7;
}

.features__title {
  color: var(--color-navy);
  font-weight: 500;
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.08rem);
  line-height: 1.5;
}

.features__info {
  margin-top: clamp(1rem, 1.5vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.features__info p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 0.45vw + 0.9rem, 1.12rem);
  line-height: 1.8;
}

.features__link {
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.features__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0;
  background: none;
}

.features__panel {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.2vw, 1.75rem);
  background: transparent;
}

.features__panel img {
  width: 100%;
  height: 100%;
  max-width: min(100%, 360px);
  object-fit: contain;
}

.features__cta {
  align-self: center;
  padding: 0.75rem 2.25rem;
}

.support {
  background: var(--color-section);
  padding: clamp(3.25rem, 5.5vw, 4.5rem) 0;
}

.support__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 3vw, 2.5rem);
}

.support__header h2 {
  margin: 0 0 clamp(0.6rem, 2vw, 0.9rem);
  font-size: clamp(1.3rem, 1vw + 1.05rem, 1.75rem);
  color: var(--color-navy);
  font-weight: 600;
}

.support__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 0.45vw + 0.85rem, 1.05rem);
  max-width: 44ch;
}

.support__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.2rem);
}

.support__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
  align-items: center;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  border-radius: 16px;
  background: var(--color-background);
}

.support__image {
  width: clamp(92px, 10vw, 132px);
  box-shadow: 0 16px 32px -24px rgba(9, 19, 52, 0.28);
}

.support__image--wide {
  width: clamp(120px, 15vw, 200px);
}

.support__content {
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 2vw, 0.75rem);
}

.support__content h3 {
  margin: 0;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.2rem);
  color: var(--color-navy);
  font-weight: 600;
}

.support__button {
  align-self: flex-start;
  padding: 0.7rem 1.65rem;
}

.typewriter__cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--color-navy);
  margin-left: 4px;
  animation: typewriter-blink 0.9s steps(1) infinite;
  vertical-align: bottom;
}

@keyframes typewriter-blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.video {
  background: var(--color-video);
  padding: 6rem 0;
}

.video__inner {
  text-align: center;
}

.video__inner h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.75rem, 1.6vw + 1.5rem, 2.25rem);
  color: var(--color-navy);
  font-weight: 600;
}

.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(9, 19, 52, 0.16);
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  position: relative;
  padding: 5.5rem 0 6.75rem;
  background-color: var(--color-section) !important;
}

.contact__inner {
  display: flex;
  justify-content: flex-start;
}

.contact__content {
  max-width: 680px;
  text-align: left;
}

.contact__content h2 {
  margin: 0 0 2rem;
  font-size: clamp(1.75rem, 1.6vw + 1.5rem, 2.25rem);
  color: var(--color-navy);
  font-weight: 600;
}

.contact__content p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.contact__content a {
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-decoration {
  position: absolute;
  bottom: -1px;
  pointer-events: none;
}

.section-decoration--contact {
  right: max(calc((100vw - var(--max-width)) / 2), 24px);
  width: 220px;
}

@media (max-width: 1024px) {
  .features__inner {
    gap: clamp(1.35rem, 3vw, 2.1rem);
  }

  .features__left {
    gap: clamp(1.6rem, 3vw, 2.2rem);
  }

  .features__panel {
    padding: clamp(0.9rem, 2.5vw, 1.5rem);
  }

  .features__panel img {
    max-width: min(100%, 320px);
  }

  .support__inner {
    gap: clamp(1.6rem, 2.8vw, 2.1rem);
  }

  .support__items {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .hero__decoration--lion,
  .hero__decoration--goat {
    width: 170px;
  }

  .section-decoration--contact {
    width: 190px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .hero__top {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .hero__nav {
    flex: 1;
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .hero__nav .button {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  .download__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.3rem);
    padding-inline: clamp(1.35rem, 4.5vw, 1.85rem);
    text-align: left;
  }

  .features__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 4vw, 1.6rem);
    padding: clamp(1.35rem, 4.5vw, 1.85rem);
  }

  .features__left {
    gap: clamp(1.35rem, 4vw, 1.95rem);
  }

  .features__panel {
    padding: clamp(0.8rem, 3.2vw, 1.25rem);
  }

  .features__panel img {
    max-width: min(100%, 280px);
  }

  .support__items {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 560px) {
  html {
    font-size: 14.5px;
  }

  .hero__install {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero__nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__nav .button,
  .hero__contact {
    display: none;
  }

  .hero__logo {
    font-size: 1rem;
  }

  .hero__logo img {
    width: 44px;
  }

  .hero {
    padding: 2rem 0 3.5rem;
  }

  .program-menu {
    padding: 2rem 0 3rem;
  }

  .program-menu__card {
    text-align: center;
    align-items: center;
    min-height: auto;
    width: 100%;
    border-radius: 40px;
  }

  .plansje__inner {
    padding: clamp(1.2rem, 7vw, 1.8rem);
    grid-template-columns: 1fr;
  }

  .plansje__card {
    width: 100%;
  }

  .download {
    padding: 4.5rem 0 5.5rem;
  }

  .features__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 5vw, 1.75rem);
  }

  .features__left {
    gap: clamp(1.45rem, 5.5vw, 2.1rem);
  }

  .features__panel {
    padding: clamp(1rem, 6vw, 1.75rem);
  }

  .features__panel img {
    width: 100%;
    height: auto;
    max-width: 320px;
    margin: 0 auto;
  }

  .features__right {
    padding: 0;
    justify-content: center;
  }

  .support__inner {
    gap: clamp(1.35rem, 5vw, 1.85rem);
  }

  .support__items {
    gap: clamp(1.1rem, 4.5vw, 1.6rem);
  }

  .support__item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .support__content {
    align-items: center;
    gap: clamp(0.55rem, 3.5vw, 0.85rem);
  }

  .support__button {
    align-self: center;
  }

  .video {
    padding: 4.5rem 0;
  }

  .video__frame {
    width: 100%;
  }

  .contact {
    padding: 4.5rem 0 5.5rem;
  }

  .hero__decoration {
    display: none;
  }

  .section-decoration--contact {
    display: none;
  }
}

