@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit/woff2/Outfit-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit/woff2/Outfit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit/woff2/Outfit-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --muted: #c8c8c8;
  --line: #d8d8d8;
  --green: #c5ffc5;
  --green2: #9BF693;
  --margin: 80px;
  --gutter: 20px;
  --nav-height: 128px;
  --fade: 1.4s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  font-family: "Outfit", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: 20px;
  line-height: 1.35;
  transition: background-color var(--fade) var(--ease);
}

body.is-contact {
  background-color: var(--green);
}

body.is-contact .partner-cta {
  display: none !important;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: var(--gutter);
  padding: var(--margin);
  pointer-events: none;
}

.brand,
.main-nav,
.header-actions,
.nav-toggle {
  pointer-events: auto;
}

.brand {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.nav-link {
  position: relative;
  padding: 0;
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.7s ease;
  background-color: var(--green2);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  opacity: 1;

}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
  transition: opacity var(--fade) var(--ease), background var(--fade) var(--ease), border-color var(--fade) var(--ease);
}

.button-primary {
  background: var(--green);
}

.mobile-partner-cta {
  display: none;
}

.button-language {
  min-width: 60px;
  border-color: var(--line);
  color: var(--muted);
  background: var(--white);
}

.button:hover {
  opacity: 0.62;
}

.site-slider,
.splide__track,
.splide__list,
.splide__slide {
  height: 100vh;
}

.splide__slide {
  background: var(--white);
}

.slide-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  column-gap: var(--gutter);
  height: 100vh;
  padding: var(--margin);
  overflow: hidden;
  position: relative;
}

@media (orientation: landscape) {
  .slide-inner {
    align-items: end;
  }
}

.slide-kicker,
.slide-content,
.slide-list {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease);
}

.slide-title {
  opacity: 0;
  transition: opacity var(--fade) var(--ease);
}

.is-active .slide-kicker,
.is-active .slide-title,
.is-active .slide-content,
.is-active .slide-list {
  opacity: 1;
  transform: translateY(0);
  /* color: var(--green); */
}

.is-active .slide-title {
  transition-delay: 0.1s;
}

.is-active .slide-content {
  transition-delay: 0.22s;
}

.is-active .slide-list {
  transition-delay: 0.32s;
}

@keyframes slide-element-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

.splide__slide.slide-animate-in .slide-title {
  transition: none;
  animation: slide-element-in var(--fade) var(--ease) both;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.splide__slide.slide-animate-in .slide-kicker {
  transition: none;
  animation: slide-element-in var(--fade) var(--ease) 0.08s both;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.splide__slide.slide-animate-in .slide-content {
  transition: none;
  animation: slide-element-in var(--fade) var(--ease) 0.2s both;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.splide__slide.slide-animate-in .slide-list {
  transition: none;
  animation: slide-element-in var(--fade) var(--ease) 0.32s both;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.slide-title {
  grid-column: 1 / -1;
  /* align-self: center; */
  /* justify-self: center; */
  text-align: center;
  margin: 0;
  z-index: 1;
}

.hero-title {
  font-size: clamp(74px, 8.7vw, 150px);
  /* font-weight: 900; */
  line-height: 0.86;
  letter-spacing: -0.072em;
  white-space: nowrap;
}

.hero-copy {
  grid-column: 7 / 12;
}

.slide-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  color: var(--green2);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.slide-content h2 {
  margin: 0 0 52px;
  font-size: clamp(34px, 2.45vw, 48px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.slide-content p {
  max-width: 980px;
  margin: 0 0 11px;
  font-size: clamp(18px, 1.18vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.018em;
}

.section-title {
  margin: 0;
  font-size: clamp(68px, 8vw, 138px);
  /* font-weight: 900; */
  line-height: 0.88;
  letter-spacing: -0.072em;
}

.section-copy {
  grid-column: 7 / 12;
}

.contact-slide {
  background: transparent;
}

.contact-inner {
  align-items: center;
}

.contact-layout {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(460px, 1.25fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.contact-intro {
  max-width: 520px;
}

.contact-title {
  margin: 0 0 14px;
  font-size: clamp(64px, 7vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.contact-heading {
  margin: 0 0 20px;
  font-size: clamp(28px, 2.3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.contact-intro p {
  margin: 0;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.45;
}

.contact-card {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  padding: clamp(16px, 2.2vw, 28px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--black);
  outline: none;
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(197, 255, 197, 0.35);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-message {
  grid-column: 1 / -1;
}

.contact-consent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-consent input {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.contact-consent span {
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
}

.contact-submit {
  justify-self: start;
}

.slide-content {
  /* position: absolute; */
  left: calc(50% + (var(--gutter) / 2));
  right: var(--margin);
  bottom: var(--margin);
}

.slide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
  margin-top: 48px;
}

.list-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.list-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.list-item span {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.progress {
  position: fixed;
  right: var(--margin);
  bottom: var(--margin);
  z-index: 10;
  display: flex;
  gap: 9px;
}

.site-legal {
  position: fixed;
  left: var(--margin);
  bottom: var(--margin);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.site-legal-copy {
  white-space: nowrap;
}

.site-legal-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.legal-modal.is-open {
  display: block;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.legal-modal-panel {
  position: relative;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1;
  background: var(--white);
}

.legal-modal-scroll {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 74px 24px 32px;
}

.legal-modal-content {
  width: min(760px, 100%);
  margin: 0 auto;
}

.legal-modal-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.legal-modal-text {
  width: min(620px, 100%);
  margin: 0 auto;
  text-align: left;
}

.legal-modal-text p {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.legal-link {
  position: relative;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 0.7s ease;
}

.legal-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.legal-link:hover,
.legal-link.is-active {
  opacity: 1;
}

.legal-link:hover::after,
.legal-link.is-active::after {
  opacity: 1;
}

.progress-dot {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  display: block;
  cursor: pointer;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.18;
  transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease);
}

.progress-dot.is-active {
  opacity: 1;
  transform: scale(1.35);
  background: var(--green2);
}

@media (max-width: 1280px) {
  :root {
    --margin: 48px;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .main-nav,
  .header-actions {
    justify-content: flex-start;
  }

  .site-legal {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .slide-title {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .hero-copy,
  .section-copy {
    grid-column: 6 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-card {
    width: min(100%, 720px);
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .slide-content {
    left: calc(42% + (var(--gutter) / 2));
  }
}

@media (max-width: 820px) {
  :root {
    --margin: 24px;
    --gutter: 14px;
  }

  html,
  body {
    overflow: hidden;
  }

  .site-header {
    padding: 24px;
    gap: 18px;
  }

  .brand {
    font-size: 24px;
  }

  .header-actions {
    gap: 10px;
  }

  .button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .button-language {
    min-width: 44px;
  }

  .slide-inner {
    align-content: end;
    padding-top: 190px;
  }

  .hero-title,
  .section-title,
  .hero-copy,
  .section-copy {
    grid-column: 1 / -1;
  }

  .contact-title,
  .contact-heading,
  .contact-intro p {
    max-width: none;
  }

  .contact-card {
    border-radius: 10px;
    padding: 14px;
  }

  .hero-title,
  .section-title {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    align-self: end;
    justify-self: start;
    text-align: left;
    margin-bottom: 30px;
    font-size: clamp(58px, 19vw, 92px);
    white-space: normal;
  }

  .hero-copy,
  .section-copy {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    padding-bottom: 0;
  }

  .contact-form {
    margin-top: 18px;
    gap: 12px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 10px 12px;
  }

  .contact-consent span {
    font-size: 13px;
  }

  .slide-content h2 {
    margin-bottom: 15px;
    font-size: 31px;
  }

  .slide-content p {
    font-size: 13px;
    margin: 0 0 3px;
  }

  .slide-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .site-legal {
    left: 24px;
    right: 24px;
    bottom: 24px;
    align-items: flex-start;
    gap: 8px 14px;
    font-size: 11px;
  }

  .site-legal-nav {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .legal-modal-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    border-radius: 10px;
  }

  .legal-modal-scroll {
    max-height: calc(100vh - 24px);
    padding: 64px 16px 20px;
  }

  .legal-modal-close {
    top: 12px;
    right: 12px;
  }

  .list-item:nth-child(n+4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splide__slide.slide-animate-in .slide-title,
  .splide__slide.slide-animate-in .slide-kicker,
  .splide__slide.slide-animate-in .slide-content,
  .splide__slide.slide-animate-in .slide-list {
    animation: none;
  }
}
