@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

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

:root {
  color-scheme: light dark;
  --canvas: #f7f2e9;
  --paper: rgba(255, 254, 250, .82);
  --paper-solid: #fffefa;
  --ink: #17251c;
  --ink-soft: #4f5f55;
  --ink-faint: #6a766e;
  --line: rgba(23, 37, 28, .13);
  --line-strong: rgba(23, 37, 28, .25);
  --wordmark: #285f1d;
  --brand: #d4511b;
  --brand-hover: #b84113;
  --grass: #72cc58;
  --grass-deep: #3e9b35;
  --orange: #f18b45;
  --shadow: rgba(68, 52, 30, .13);
  --focus: #0b63ce;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .72), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(114, 204, 88, .24), transparent 26%),
    radial-gradient(circle at 9% 88%, rgba(241, 139, 69, .14), transparent 28%),
    var(--canvas);
}
.wash {
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(84px);
  opacity: .18;
}
.wash-one { top: -28%; right: 4%; background: var(--grass); }
.wash-two { bottom: -34%; left: -12%; background: var(--orange); }

.topbar,
footer {
  width: min(1480px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.4vw, 68px);
}

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.language {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(68, 52, 30, .07), inset 0 1px rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.language a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-faint);
  font-size: .71rem;
  font-weight: 720;
  letter-spacing: .08em;
  transition: color .2s ease, background .2s ease, transform .2s var(--ease);
}
.language a:hover { color: var(--ink); transform: translateY(-1px); }
.language a[aria-current="page"] { color: #fff; background: var(--ink); }

.hero {
  width: min(1480px, 100%);
  min-height: calc(100svh - 176px);
  margin-inline: auto;
  padding: clamp(28px, 4svh, 52px) clamp(20px, 4.4vw, 68px) clamp(42px, 6svh, 76px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: center;
  column-gap: clamp(16px, 2.2vw, 34px);
  row-gap: clamp(42px, 6svh, 76px);
}

.hero-heading {
  min-width: 0;
  grid-column: 1 / 11;
  align-self: end;
}
.eyebrow {
  margin: 0 0 clamp(22px, 3svh, 34px);
  color: var(--brand);
  font-size: .75rem;
  font-weight: 760;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.wordmark {
  margin: 0;
  color: var(--wordmark);
  font-family: "Bricolage", "Schibsted Grotesk", sans-serif;
  font-size: clamp(8rem, 15.5vw, 14.8rem);
  font-weight: 760;
  line-height: .73;
  letter-spacing: -.04em;
  font-variation-settings: "wght" 760, "wdth" 92;
}
.wordmark-name { display: block; text-transform: lowercase; }
.wordmark-descriptor {
  display: block;
  margin-top: clamp(16px, 2.2svh, 22px);
  padding-left: .14em;
  color: var(--ink-soft);
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: clamp(.72rem, .9vw, .86rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .09em;
}

.hero-action {
  min-width: 0;
  width: 100%;
  max-width: 46rem;
  grid-column: 6 / 13;
  align-self: start;
}
.claim {
  max-width: 13ch;
  margin: 0;
  font-family: "Bricolage", "Schibsted Grotesk", sans-serif;
  font-size: clamp(2.45rem, 4.3vw, 5rem);
  font-weight: 680;
  line-height: .96;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.lede {
  max-width: 43ch;
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.waitlist { width: min(100%, 36rem); margin-top: clamp(28px, 4.6svh, 48px); }
.field-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 21px;
  background: var(--paper-solid);
  box-shadow: 0 22px 60px var(--shadow), inset 0 1px rgba(255, 255, 255, .82);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-row:focus-within { border-color: var(--brand); box-shadow: 0 22px 60px var(--shadow), 0 0 0 4px rgba(212, 81, 27, .12); }
.field-row:has(input[aria-invalid="true"]) { border-color: #b8320b; box-shadow: 0 22px 60px var(--shadow), 0 0 0 4px rgba(184, 50, 11, .12); }
.field-row input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 .7rem 0 1rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}
.field-row input::placeholder { color: var(--ink-faint); opacity: .78; }
.field-row button {
  min-height: 52px;
  padding: 0 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 11px 24px rgba(212, 81, 27, .23), inset 0 1px rgba(255, 255, 255, .2);
  cursor: pointer;
  font-weight: 690;
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease;
}
.field-row button:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 15px 30px rgba(212, 81, 27, .28); }
.field-row button:active { transform: translateY(1px) scale(.99); }
.field-row button:disabled { opacity: .82; cursor: wait; }
.button-arrow { width: 1rem; height: 1rem; display: grid; place-items: center; font-size: 1.05rem; transition: transform .25s var(--ease); }
.field-row button:hover .button-arrow { transform: translateX(3px); }
.field-row button[aria-busy="true"] .button-arrow { border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; font-size: 0; animation: busy-spin .7s linear infinite; }

.consent {
  max-width: 48rem;
  margin-top: .85rem;
  display: flex;
  align-items: flex-start;
  gap: .62rem;
  color: var(--ink-faint);
  font-size: .8rem;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  background: var(--paper-solid);
  cursor: pointer;
}
.consent input:checked { border-color: var(--brand); background: var(--brand); }
.consent input:checked::after { content: ""; display: block; width: 5px; height: 9px; margin: 3px 0 0 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent.error { color: #9a2e0b; }
.consent.error input { border-color: #b8320b; box-shadow: 0 0 0 3px rgba(184, 50, 11, .12); }

.form-message { min-height: 1.25rem; margin: .65rem 0 0; color: var(--ink-faint); font-size: .82rem; }
.form-message.error { color: #9a2e0b; }
.turnstile { margin-top: .85rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.success {
  width: min(100%, 36rem);
  margin-top: clamp(28px, 4.6svh, 48px);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 20px 52px var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: success-in .55s var(--ease) both;
}
.success-mark { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--brand); font-weight: 800; }
.success h2 { margin: 0; font-family: "Bricolage", sans-serif; font-size: 1.15rem; }
.success p { margin: .18rem 0 0; color: var(--ink-soft); font-size: .88rem; }

footer {
  min-height: 84px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-faint);
  font-size: .78rem;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.35rem; }
footer a { text-underline-offset: 4px; text-decoration-color: transparent; transition: color .2s ease, text-decoration-color .2s ease; }
footer a:hover { color: var(--ink); text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.field-row input:focus-visible { outline: 0; }

@keyframes busy-spin { to { transform: rotate(1turn); } }
@keyframes success-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@media (min-width: 981px) {
  body { min-height: 100svh; display: grid; grid-template-rows: 80px minmax(0, 1fr) 64px; }
  .topbar { min-height: 80px; }
  .hero { min-height: 0; height: 100%; padding-block: clamp(18px, 2.8svh, 30px); align-content: center; row-gap: 0; }
  .hero-heading { grid-column: 1 / 6; grid-row: 1; align-self: start; }
  .hero-action { grid-column: 6 / 13; grid-row: 1; align-self: center; }
  .eyebrow { margin-bottom: clamp(18px, 2.4svh, 26px); }
  .wordmark { font-size: clamp(7.2rem, 13.2vw, 12.8rem); }
  .waitlist { margin-top: clamp(22px, 3.3svh, 34px); }
  footer { min-height: 64px; padding-bottom: 12px; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; align-content: start; row-gap: 38px; padding-top: 46px; }
  .hero-heading, .hero-action { grid-column: 1; }
  .hero-heading { grid-row: 1; max-width: 760px; }
  .hero-action { grid-row: 2; width: min(100%, 43rem); }
  .wordmark { font-size: clamp(6rem, 20vw, 11rem); }
  .claim { font-size: clamp(2.3rem, 8vw, 4.6rem); }
}

@media (max-width: 620px) {
  .topbar { min-height: 80px; padding-inline: 14px; gap: .5rem; }
  .language { gap: 0; padding: 3px; }
  .language a { min-width: 44px; min-height: 44px; font-size: .65rem; }
  .hero { min-height: auto; padding-top: 44px; row-gap: 32px; }
  .eyebrow { margin-bottom: 22px; }
  .wordmark { max-width: 100%; font-size: clamp(4.3rem, 23vw, 6.5rem); line-height: .8; }
  .claim { max-width: 12ch; font-size: clamp(2.25rem, 11.5vw, 3.45rem); }
  .lede { max-width: 34ch; }
  .field-row { display: grid; border-radius: 20px; }
  .field-row input { width: 100%; padding-inline: .9rem; }
  .field-row button { width: 100%; border-radius: 14px; }
  footer {
    min-height: 0;
    padding-top: 18px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 11px;
  }
  footer > span {
    padding-inline: 2px;
    font-size: .7rem;
    font-weight: 650;
    letter-spacing: .045em;
  }
  footer nav {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--paper);
    box-shadow: inset 0 1px rgba(255, 255, 255, .48);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  footer nav a {
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    text-decoration: none;
    font-size: clamp(.7rem, 3.1vw, .78rem);
    font-weight: 620;
  }
  footer nav a::after {
    content: "";
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    opacity: .56;
    transform: rotate(45deg);
  }
  footer nav a:nth-child(odd) { border-right: 1px solid var(--line); }
  footer nav a:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #20472f;
    --paper: rgba(45, 89, 59, .82);
    --paper-solid: #2b573a;
    --ink: #fff7ec;
    --ink-soft: #e0e8e1;
    --ink-faint: #c4d0c7;
    --line: rgba(245, 255, 247, .15);
    --line-strong: rgba(245, 255, 247, .28);
    --wordmark: #82dc68;
    --brand: #f07b48;
    --brand-hover: #ff9365;
    --shadow: rgba(0, 0, 0, .23);
    --focus: #8fc7ff;
  }
  .ambient {
    background:
      radial-gradient(circle at 84% 18%, rgba(114, 204, 88, .26), transparent 27%),
      radial-gradient(circle at 8% 88%, rgba(240, 123, 72, .16), transparent 29%),
      var(--canvas);
  }
  .skip-link, .field-row button, .success-mark { color: #17251c; }
  .language { box-shadow: 0 18px 44px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .06); }
  .language a[aria-current="page"] { color: #20472f; background: #fff7ec; }
  .field-row { box-shadow: 0 22px 60px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .05); }
}

@media (prefers-contrast: more) {
  :root { --line: currentColor; --line-strong: currentColor; }
  .lede, .consent, .form-message, footer { color: var(--ink); }
  .language, .field-row, .success { border-width: 2px; }
}

@media (prefers-reduced-transparency: reduce) {
  .language, .success { background: var(--paper-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 620px) and (prefers-reduced-transparency: reduce) {
  footer nav { background: var(--paper-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (forced-colors: active) {
  .ambient { display: none; }
  .field-row button, .success-mark { border: 2px solid ButtonText; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
