:root {
  --forest: #214836;
  --forest-dark: #17392a;
  --forest-light: #32644e;
  --yellow: #ffe7a2;
  --yellow-strong: #ffde78;
  --field: #eeeeec;
  --text: #181818;
  --muted: #6f7780;
  --white: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--forest);
  color: var(--white);
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.landing {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 47%, rgba(60, 112, 86, 0.28), transparent 34rem),
    var(--forest);
}

.screen {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(31rem, 1fr) minmax(31rem, 1fr);
  gap: clamp(1rem, 3vw, 4.5rem);
  align-items: center;
  width: min(100%, 90rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem) 0;
}

.screen[hidden] {
  display: none;
}

.content-column,
.success-copy {
  position: relative;
  z-index: 2;
}

.headline {
  max-width: 45rem;
  margin: 0 0 1.25rem;
  font-size: clamp(2.2rem, 4.1vw, 4.2rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-transform: uppercase;
}

.subtitle {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.25;
}

.lead-form {
  width: min(100%, 29rem);
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: 0 1.4rem 3.8rem rgba(6, 31, 20, 0.22);
}

.field {
  position: relative;
  margin-bottom: 1.15rem;
}

.field__icon {
  position: absolute;
  top: 0.92rem;
  left: 1rem;
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  color: #8a929a;
  pointer-events: none;
}

.field__icon svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.field input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem 0 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  outline: 0;
  background: var(--field);
  color: var(--text);
  font-size: 0.94rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input::placeholder {
  color: #7d858d;
  opacity: 1;
}

.field input:hover {
  background: #e8edf1;
}

.field input:focus {
  border-color: var(--forest-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(33, 72, 54, 0.15);
}

.field.has-error input {
  border-color: #d64051;
  background: #fff8f8;
}

.field__error {
  display: block;
  min-height: 0;
  margin: 0.32rem 0 0 0.25rem;
  color: #c52f43;
  font-size: 0.76rem;
  line-height: 1.25;
}

.field__error:empty {
  display: none;
}

.submit-button,
.dialog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--yellow), var(--yellow-strong));
  color: #152b22;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.submit-button:hover,
.dialog-button:hover {
  box-shadow: 0 0.65rem 1.25rem rgba(119, 91, 13, 0.22);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.submit-button:active,
.dialog-button:active {
  transform: translateY(0);
}

.consent {
  display: grid;
  grid-template-columns: 1rem 1fr;
  column-gap: 0.55rem;
  margin: 1rem 0 0;
  color: #66707a;
  font-size: 0.72rem;
  line-height: 1.35;
}

.consent__checkbox {
  appearance: none;
  display: grid;
  width: 1rem;
  height: 1rem;
  margin: 0.05rem 0 0;
  flex: 0 0 auto;
  place-content: center;
  border: 1px solid #87909a;
  border-radius: 0.18rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.consent__checkbox::before {
  width: 0.55rem;
  height: 0.3rem;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  opacity: 0;
  transform: translateY(-0.06rem) rotate(-45deg) scale(0.6);
  transition: opacity 120ms ease, transform 120ms ease;
}

.consent__checkbox:checked {
  border-color: var(--forest);
  background: var(--forest);
}

.consent__checkbox:checked::before {
  opacity: 1;
  transform: translateY(-0.06rem) rotate(-45deg) scale(1);
}

.consent__checkbox:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(111, 63, 190, 0.2);
}

.consent.has-error .consent__checkbox {
  border-color: #d64051;
  box-shadow: 0 0 0 2px rgba(214, 64, 81, 0.11);
}

.consent__copy {
  margin: 0;
}

.consent__copy label {
  cursor: pointer;
}

.consent__error {
  grid-column: 2;
  display: block;
  margin-top: 0.28rem;
  color: #c52f43;
  font-size: 0.76rem;
}

.consent__error:empty {
  display: none;
}

.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest-dark);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
}

.product-column {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  min-width: 0;
  height: min(82svh, 54rem);
  align-items: flex-end;
  justify-content: center;
}

.product-image {
  display: block;
  width: min(112%, 48rem);
  max-height: 100%;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 45% 45% 0 0;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 93%, transparent 100%);
  animation: rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: clamp(5.6rem, 7vw, 7.25rem);
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand--mobile {
  display: none;
}

.screen--success {
  grid-template-columns: minmax(29rem, 0.92fr) minmax(34rem, 1.08fr);
}

.headline--success {
  margin-bottom: 2rem;
  font-size: clamp(2.45rem, 4.5vw, 4.65rem);
}

.schedule-card {
  width: min(100%, 34rem);
  padding: 1.4rem 1.55rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffecb5, #ffe19a);
  color: #263029;
  box-shadow: 0 1.1rem 2.8rem rgba(5, 27, 17, 0.2);
}

.schedule-card__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(35, 49, 40, 0.18);
}

.schedule-card p {
  margin: 0;
}

.schedule-card span,
.schedule-card strong {
  display: block;
}

.schedule-card span {
  margin-bottom: 0.3rem;
  color: rgba(38, 48, 41, 0.68);
  font-size: 0.72rem;
}

.schedule-card strong {
  font-size: 0.94rem;
}

.schedule-card__note {
  padding-top: 1rem;
  color: rgba(38, 48, 41, 0.9);
  font-size: 0.8rem;
  line-height: 1.45;
}

.back-button {
  margin-top: 1.25rem;
  padding: 0.3rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.back-button:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.privacy-dialog {
  width: min(calc(100% - 2rem), 30rem);
  padding: 2.1rem;
  border: 0;
  border-radius: 1.2rem;
  color: var(--text);
  box-shadow: 0 2rem 6rem rgba(26, 11, 49, 0.4);
}

.privacy-dialog::backdrop {
  background: rgba(30, 13, 54, 0.68);
  backdrop-filter: blur(0.25rem);
}

.privacy-dialog h2 {
  margin: 1rem 0 0.8rem;
  font-size: 1.45rem;
}

.privacy-dialog p {
  margin: 0 0 1.4rem;
  color: #626a73;
  line-height: 1.55;
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #7a8188;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(33, 72, 54, 0.12);
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.dialog-button {
  width: auto;
  min-width: 9rem;
  padding: 0 1.4rem;
}

.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;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.985);
  }
}

@media (max-width: 67rem) {
  .screen,
  .screen--success {
    grid-template-columns: minmax(25rem, 1fr) minmax(22rem, 0.8fr);
    gap: 0;
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .headline {
    font-size: clamp(2.2rem, 5vw, 3.45rem);
  }

  .product-column {
    height: min(66svh, 42rem);
  }
}

@media (max-width: 49rem) {
  .landing {
    overflow: visible;
  }

  .screen,
  .screen--success {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding: 2.2rem 1.1rem 0;
    text-align: center;
  }

  .brand--mobile {
    position: static;
    display: block;
    align-self: flex-end;
    width: 5.75rem;
    margin-bottom: 1.4rem;
  }

  .product-column > .brand {
    display: none;
  }

  .content-column,
  .success-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .headline {
    margin-bottom: 1.35rem;
    font-size: clamp(2rem, 8.3vw, 3.35rem);
    line-height: 1.04;
  }

  .headline br {
    display: none;
  }

  .lead-form {
    text-align: left;
  }

  .product-column {
    align-self: center;
    width: min(100%, 32rem);
    height: auto;
    margin: 1.5rem auto 0;
  }

  .product-image {
    width: 100%;
    max-height: 34rem;
    border-radius: 2rem 2rem 0 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 100%);
  }

  .screen--success {
    padding-top: 3rem;
  }

  .schedule-card {
    text-align: left;
  }

  .product-column--success {
    margin-top: 2rem;
  }
}

@media (max-width: 31rem) {
  .screen,
  .screen--success {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .lead-form {
    padding: 1.1rem;
    border-radius: 0.95rem;
  }

  .headline {
    font-size: clamp(1.85rem, 9.4vw, 2.6rem);
  }

  .schedule-card__top {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

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