:root {
  --ink: #101b34;
  --muted: #566274;
  --forest: #173f2b;
  --forest-dark: #0f3020;
  --sage: #eef3ea;
  --line: #dce3da;
  --paper: #fffefa;
  --coral: #ef6557;
  color-scheme: light;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.offer-header {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid #e5e9e2;
  background: rgba(255, 254, 250, .96);
}

.offer-brand {
  display: grid;
  width: max-content;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: .9;
  text-decoration: none;
}

.offer-brand strong {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.offer-brand span {
  color: #3f713d;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #425063;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--forest);
}

.offer-shell {
  display: grid;
  min-height: calc(100vh - 84px);
  grid-template-columns: minmax(430px, .95fr) minmax(540px, 1.05fr);
}

.offer-visual {
  position: sticky;
  top: 0;
  overflow: hidden;
  min-height: calc(100vh - 84px);
  background: #102d21;
}

.offer-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 84px);
  object-fit: cover;
  object-position: center;
  animation: imageArrival .8s ease-out both;
}

.offer-visual__caption {
  position: absolute;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 3vw, 2.25rem);
  left: clamp(1rem, 3vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  background: rgba(12, 35, 25, .86);
  color: #fff;
  box-shadow: 0 18px 44px rgba(4, 17, 11, .28);
}

.offer-visual__caption span {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.offer-visual__caption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.offer-copy {
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 4vw, 4.25rem) clamp(1.5rem, 6vw, 7.5rem);
  background: var(--paper);
}

.offer-copy__inner {
  width: min(100%, 650px);
  margin-inline: auto;
  animation: contentArrival .65s .08s ease-out both;
}

.eyebrow,
.form-kicker {
  margin: 0;
  color: #3d713e;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin: 1rem 0 0;
  font-size: clamp(3.2rem, 4.6vw, 5.4rem);
  line-height: .96;
}

.lead {
  max-width: 590px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.62;
}

.outcome-list {
  margin-top: 1.7rem;
  border-block: 1px solid var(--line);
}

.outcome-list p {
  position: relative;
  margin: 0;
  padding: .9rem .25rem .9rem 2rem;
  color: #243349;
  font-size: .95rem;
  font-weight: 730;
  line-height: 1.45;
}

.outcome-list p + p {
  border-top: 1px solid #e4e9e2;
}

.outcome-list span {
  position: absolute;
  top: .8rem;
  left: .15rem;
  color: #36733e;
  font-size: 1.12rem;
}

.optin-panel {
  margin-top: 1.5rem;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid #d8e1d6;
  border-radius: 8px;
  background: #f4f7f1;
  box-shadow:
    0 24px 55px rgba(25, 49, 33, .1),
    0 4px 12px rgba(25, 49, 33, .05);
}

.optin-panel h2 {
  margin: .55rem 0 1.2rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.12;
}

#jumpstart-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field label {
  color: #314054;
  font-size: .8rem;
  font-weight: 780;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: .8rem .9rem;
  border: 1px solid #cbd5c8;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus {
  border-color: #3f7547;
  box-shadow: 0 0 0 3px rgba(63, 117, 71, .13);
}

.submit-button,
.download-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 0;
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(23, 63, 43, .2);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.submit-button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: .15rem;
}

.submit-button:hover,
.submit-button:focus-visible,
.download-button:hover,
.download-button:focus-visible {
  background: var(--forest-dark);
  box-shadow: 0 20px 36px rgba(23, 63, 43, .27);
  transform: translateY(-2px);
}

.privacy-note {
  margin: .75rem 0 0;
  color: #6b756d;
  font-size: .74rem;
  text-align: center;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  min-height: 1.25rem;
  margin: .65rem 0 0;
  color: #9b332c;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}

.submit-button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.success-state[hidden],
#optin-form-wrap[hidden] {
  display: none;
}

.success-state {
  text-align: center;
  animation: successArrival .4s ease-out both;
}

.success-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: #dcebd9;
  color: #286a36;
  font-size: 1.35rem;
  font-weight: 900;
}

.success-state h2 {
  margin-bottom: .7rem;
}

.success-state > p:not(.form-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.download-button {
  width: 100%;
  margin-top: 1.35rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: #3e6045;
  font-size: .85rem;
  font-weight: 750;
}

.thank-you-content h1 {
  max-width: 12ch;
}

.thank-you-content .success-mark {
  margin-bottom: 1.25rem;
}

.thank-you-download {
  width: min(100%, 460px);
  margin-top: 1.75rem;
}

.download-note {
  margin: .65rem 0 0;
  color: #6b756d;
  font-size: .76rem;
}

.thank-you-content .outcome-list {
  max-width: 560px;
  margin-top: 2rem;
}

.thank-you-content .outcome-list span {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #90a88f;
  border-radius: 50%;
  font-size: .7rem;
}

@keyframes imageArrival {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes contentArrival {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes successArrival {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@media (max-width: 980px) {
  .offer-shell {
    grid-template-columns: minmax(330px, .85fr) minmax(420px, 1.15fr);
  }

  .offer-copy {
    padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  }

  h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
  }
}

@media (max-width: 760px) {
  .offer-header {
    min-height: 74px;
  }

  .back-link {
    font-size: 0;
  }

  .back-link span {
    font-size: 1.3rem;
  }

  .offer-shell {
    display: block;
  }

  .thank-you-shell {
    display: flex;
    flex-direction: column;
  }

  .thank-you-shell .offer-copy {
    order: 1;
    padding-top: 2.75rem;
  }

  .thank-you-shell .offer-visual {
    order: 2;
  }

  .offer-visual {
    position: relative;
    min-height: 0;
  }

  .offer-visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-position: center 38%;
  }

  .offer-visual__caption {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }

  .offer-copy {
    padding: 3.5rem 1.2rem 4.5rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  #jumpstart-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .offer-brand strong {
    font-size: 1.15rem;
  }

  .offer-brand span {
    font-size: .84rem;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 3.4rem);
  }

  .optin-panel {
    padding: 1.15rem;
  }
}

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