:root {
  font-family: "DM Sans", sans-serif;
  color: #242927;
  background: #f7f8f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #236d4d;
  --green-dark: #1b5b40;
  --ink: #242927;
  --muted: #5f6861;
  --line: #e6e9e4;
  --cream: #edf2e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.privacy-note,
footer {
  color: var(--muted);
  font-size: 14px;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1fr);
  gap: 74px;
  align-items: start;
  padding: 66px 0 76px;
}

.intro {
  position: relative;
  padding-top: 21px;
}

.eyebrow,
.form-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.45px;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69a37d;
  box-shadow: 0 0 0 4px #e6efe7;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 23px 0 17px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 5vw, 61px);
  line-height: 1.08;
  letter-spacing: -2px;
}

h1 span {
  color: var(--green);
}

.intro-copy {
  max-width: 390px;
  margin-bottom: 22px;
  color: #505a52;
  font-size: 17px;
  line-height: 1.65;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #505851;
  font-size: 14px;
  font-weight: 600;
}

.sparkle {
  color: var(--green);
  font-size: 17px;
}

.card-art {
  position: relative;
  height: 210px;
  max-width: 390px;
  margin: 14px auto 1px;
  overflow: hidden;
}

.orbit {
  position: absolute;
  border: 1px solid #e4e9e0;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbit-one {
  width: 330px;
  height: 130px;
  left: 32px;
  top: 39px;
}

.orbit-two {
  width: 350px;
  height: 156px;
  left: 20px;
  top: 24px;
  transform: rotate(20deg);
}

.card {
  position: absolute;
  top: 27px;
  left: 147px;
  width: 112px;
  height: 151px;
  border: 5px solid white;
  border-radius: 11px;
  box-shadow: 0 16px 35px #29493221;
}

.card-back {
  background: #b6d6c1;
  transform: rotate(13deg) translate(15px, 1px);
}

.card-front {
  overflow: hidden;
  background: linear-gradient(145deg, #cce5cb 0%, #87bf97 54%, #4b9b78 100%);
  transform: rotate(-10deg);
}

.card-shine {
  position: absolute;
  width: 72px;
  height: 160px;
  top: -25px;
  left: 43px;
  background: #ffffff35;
  transform: rotate(32deg);
}

.card-chip {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #f7f1ce;
  font-size: 14px;
}

.card-creature {
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  color: #f4edc1;
  text-align: center;
  font-size: 48px;
  text-shadow: 0 3px 8px #3a74536b;
}

.card-hp {
  position: absolute;
  left: 9px;
  bottom: 35px;
  color: #f7f5e7;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1.5;
}

.card-line {
  position: absolute;
  left: 9px;
  bottom: 19px;
  width: 75px;
  height: 2px;
  border-radius: 2px;
  background: #eff5ddc2;
}

.card-line.short {
  bottom: 12px;
  width: 48px;
  opacity: 0.65;
}

.star {
  position: absolute;
  color: #c5d5a5;
}

.star-one {
  top: 48px;
  left: 78px;
  font-size: 23px;
}

.star-two {
  top: 122px;
  right: 69px;
  color: #83b897;
  font-size: 28px;
}

.step-list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #48534b;
  font-size: 14px;
  line-height: 1.4;
}

.step {
  display: flex;
  align-items: center;
  gap: 7px;
}

.step span {
  color: #315d3d;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.form-panel {
  padding: 34px 36px 29px;
  border: 1px solid #e9ece7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px #273a2c0a;
}

.form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.form-kicker {
  margin-bottom: 9px;
  font-size: 12px;
}

h2 {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.required-note {
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.required-note i,
.field i {
  color: #a9432b;
  font-style: normal;
}

.form-description {
  margin: 11px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.buying-terms {
  margin-bottom: 23px;
  border: 1px solid #c9ddcd;
  border-radius: 9px;
  background: #f2f8f2;
  padding: 20px;
}

.buying-terms h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.terms-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.terms-rates p {
  display: grid;
  align-content: start;
  gap: 5px;
  margin: 0;
  border-radius: 7px;
  background: #fff;
  padding: 12px;
  color: #505851;
  font-size: 14px;
}

.terms-rates strong {
  color: var(--green-dark);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.terms-rates small {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.terms-eligibility,
.terms-shipping {
  margin: 12px 0 0;
  color: #3e4d42;
  font-size: 15px;
  line-height: 1.5;
}

.terms-eligibility {
  font-weight: 600;
}

.terms-shipping {
  border-top: 1px solid #d5e5d6;
  padding-top: 12px;
}

form {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: #4a514c;
  font-size: 15px;
  font-weight: 700;
}

.field small {
  color: #5a645c;
  font-size: 14px;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid #89978b;
  border-radius: 7px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px "DM Sans", sans-serif;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input {
  height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 82px;
  padding: 11px;
  resize: vertical;
  line-height: 1.55;
}

input::placeholder,
textarea::placeholder {
  color: #727b74;
}

input:focus,
textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px #25765340;
}

.field-hint {
  margin-top: -3px;
  color: #505a52;
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.upload-box {
  display: flex;
  min-height: 84px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px dashed #758b79;
  border-radius: 8px;
  background: #fbfcfa;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.upload-box:hover,
.upload-box:focus-within {
  border-color: var(--green-dark);
  background: #f1f8f2;
}

.upload-box:focus-within {
  box-shadow: 0 0 0 3px #25765340;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.upload-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #dfe7dd;
  border-radius: 7px;
  background: white;
  color: var(--green);
  font-size: 15px;
}

.upload-copy {
  color: #505a52;
  font-size: 15px;
  font-weight: 400;
}

.upload-copy strong {
  color: var(--green);
  font-weight: 700;
}

.upload-hint {
  color: #505a52;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.submit-button {
  display: flex;
  height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-top: 1px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font: 600 16px "DM Sans", sans-serif;
  transition: background 150ms ease, transform 150ms ease;
}

.submit-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.brand:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid #1b5b40;
  outline-offset: 3px;
}

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

.submit-button span:last-child {
  font-size: 16px;
}

.privacy-note {
  margin: -7px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin: -7px 0 0;
  border-radius: 7px;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: #edf6ef;
  color: #28603f;
}

.form-status.error {
  background: #fbefec;
  color: #984832;
}

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

footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  font-size: 14px;
}

footer span:first-child {
  color: #505851;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

@media (max-width: 960px) {
  main {
    grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
    gap: 35px;
  }

  .form-panel {
    padding: 29px 25px 25px;
  }

  .step-list {
    flex-direction: column;
    gap: 9px;
  }
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(560px, calc(100% - 36px));
  }

  .site-header {
    height: 70px;
  }

  main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 0 50px;
  }

  .intro {
    padding-top: 0;
  }

  h1 {
    font-size: 51px;
  }

  .intro-copy {
    max-width: 440px;
  }

  .card-art {
    display: none;
  }

  .step-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 14px;
  }

  .form-panel {
    padding: 29px 24px 24px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 45px;
  }

  .form-panel {
    padding: 24px 18px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  footer {
    gap: 12px;
  }
}
