@font-face {
  font-family: "Young Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #15332a;
  --paper: #f5f1e6;
  --card: #fffdf8;
  --line: #d9d1bd;
  --muted: #5a6a62;
  --accent: #e4572e;
  --accent-dark: #b8401b;
  --butter: #f3c64b;
  --mint: #d5e8dc;
  --shadow: 6px 6px 0 rgba(21, 51, 42, 0.14);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  background-color: var(--paper);
  background-image: radial-gradient(
    rgba(21, 51, 42, 0.09) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  height: 100%;
  min-height: 100%;
  padding-bottom: 30px;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  max-width: 1040px;
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) 20px 40px;
  overflow-y: scroll;
  scrollbar-width: none;
}

.container::-webkit-scrollbar {
  display: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--butter);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 6.4vw, 56px);
}

.lead {
  max-width: 560px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 19px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 34px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 0 var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.cta::after {
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.cta:hover {
  background: var(--accent-dark);
}

.cta:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}

.cta[aria-disabled="true"] {
  pointer-events: none;
}

/* Fields art */
.fields {
  padding: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.fields__label {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fields__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}

.fields__grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  font-weight: 800;
}

.fields__grid li:nth-child(2),
.fields__grid li:nth-child(3) {
  background: var(--mint);
}

.fields__grid li:nth-child(4) {
  background: var(--butter);
  animation: tile-pulse 2.6s ease-in-out infinite;
}

.fields__icon {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
  font-family: var(--serif);
  font-size: 16px;
}

.fields__icon--leaf::before {
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 0 12px;
  content: "";
}

.fields__icon--atom::before,
.fields__icon--atom::after {
  position: absolute;
  width: 24px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.fields__icon--atom::before {
  transform: rotate(60deg);
}

.fields__icon--atom::after {
  transform: rotate(-60deg);
}

.fields__icon--globe::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px
    no-repeat;
  content: "";
}

@keyframes tile-pulse {
  50% {
    transform: scale(0.95);
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps__item {
  padding: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  background: var(--card);
}

.steps__number {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--butter);
  font-weight: 800;
}

.steps__item h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.steps__item p {
  color: var(--muted);
  font-size: 16px;
}

/* Note & final */
.note {
  padding: 24px 26px;
  border-radius: 24px;
  background: var(--ink);
  color: #dbe6df;
}

.note h2 {
  margin-bottom: 10px;
  color: var(--paper);
  font-size: 26px;
}

.note p + p {
  margin-top: 10px;
}

.note a {
  color: var(--butter);
  font-weight: 800;
}

.final {
  padding: 10px 0 6px;
  text-align: center;
}

.final h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 5vw, 36px);
}

/* Footer */
.footer {
  flex-shrink: 0;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 18px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.footer__company {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

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

/* Motion */
.reveal {
  animation: rise 0.6s ease both;
}

.reveal-2 {
  animation-delay: 0.12s;
}

.reveal-3 {
  animation-delay: 0.24s;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

  .fields {
    max-width: 380px;
  }

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

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

  .lead {
    font-size: 17px;
  }

  .cta {
    width: 100%;
  }

  .fields {
    padding: 16px;
  }

  .fields__grid li {
    padding: 12px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .container {
    justify-content: flex-start;
  }
}

/* Cookiebot mobile layout */
@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}
