:root {
  color-scheme: light;
  --white: #ffffff;
  --green: #143e35;
  --teal: #28b8b2;
  --yellow: #f4c842;
  --orange: #ff6338;
  --mint: #eff7ef;
  --body: #4b5d56;
  --muted: #6f7f78;
  --line: #d9e5dc;
  --consent: #dde7e0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  line-height: 16px;
  letter-spacing: 0.12em;
}

.offer-name {
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
  line-height: 21px;
}

.utility-text {
  margin: 0;
  flex: 0 0 auto;
  color: #5e6f68;
  font-size: 15px;
  font-weight: 800;
  line-height: 18px;
}

main {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(360px, 500px);
  gap: 64px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 34px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 23px;
  min-width: 0;
}

.hero > *,
.hero-aside > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  line-height: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 44px;
  height: 6px;
  flex: 0 0 44px;
  background: var(--yellow);
}

h1,
h2 {
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

h1 {
  max-width: 590px;
  font-size: 70px;
  line-height: 70px;
  letter-spacing: -0.018em;
}

.lead {
  max-width: 560px;
  margin: 0;
  color: var(--body);
  font-size: 23px;
  line-height: 35px;
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
}

.promise-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

.credibility {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.photo-card {
  position: relative;
  height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--mint);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-card figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  width: min(244px, calc(100% - 40px));
  border-radius: 8px;
  padding: 15px 18px;
  color: var(--green);
  background: var(--white);
  box-shadow: 0 18px 40px rgb(20 62 53 / 0.2);
  font-size: 23px;
  font-weight: 900;
  line-height: 27px;
}

.photo-card figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  line-height: 15px;
  letter-spacing: 0.12em;
}

.signup-card {
  border-radius: 10px;
  padding: 30px 34px;
  background: var(--green);
  box-shadow: 10px 10px 0 var(--yellow);
}

.signup-card h2 {
  color: var(--white);
  font-size: 34px;
  line-height: 38px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--consent);
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

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

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 58px;
  border: 2px solid transparent;
  border-radius: 5px;
  padding: 0 18px;
  color: #1d2824;
  background: var(--white);
  font: 400 16px/20px Inter, ui-sans-serif, system-ui, sans-serif;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: #7b8681;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--yellow);
  outline: 3px solid rgb(244 200 66 / 0.28);
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--consent);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--yellow);
}

.consent-row > span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--orange);
  border-radius: 5px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--orange);
  font: 900 17px/20px Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.download-button:hover {
  background: #e94f2d;
}

button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-message {
  min-height: 0;
  margin: 0;
  color: var(--consent);
  font-size: 15px;
  line-height: 21px;
}

.form-message.error {
  color: #ffd3c7;
}

.form-message.success {
  color: #c6fff5;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: var(--mint);
}

.download-panel[hidden] {
  display: none;
}

.download-panel h2 {
  font-size: 34px;
  line-height: 38px;
}

.download-panel p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 18px;
  line-height: 28px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-button {
  min-height: 54px;
  border-color: var(--green);
  background: var(--white);
  color: var(--green);
  font-size: 15px;
}

.download-button.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(48px, 7.6vw, 70px);
    line-height: 1;
  }

  .lead {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: min(354px, calc(100% - 36px));
    margin-left: 18px;
    margin-right: auto;
    padding: 14px 0;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-name {
    font-size: 12px;
    line-height: 15px;
  }

  .offer-name {
    font-size: 17px;
    line-height: 20px;
  }

  .utility-text {
    font-size: 14px;
    line-height: 20px;
  }

  .hero {
    width: min(354px, calc(100% - 36px));
    margin-left: 18px;
    margin-right: auto;
    gap: 30px;
    padding: 34px 0 42px;
  }

  .hero-copy {
    gap: 18px;
  }

  h1 {
    max-width: 11.5ch;
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1;
    letter-spacing: -0.012em;
  }

  .lead {
    font-size: 19px;
    line-height: 29px;
  }

  .promise-list {
    gap: 13px;
  }

  .promise-list li {
    font-size: 17px;
    line-height: 23px;
    overflow-wrap: break-word;
  }

  .photo-card {
    height: 250px;
  }

  .signup-card {
    padding: 28px 22px;
    box-shadow: 7px 7px 0 var(--yellow);
  }

  .signup-card h2 {
    font-size: 31px;
    line-height: 35px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    width: min(354px, calc(100% - 36px));
    margin-left: 18px;
    margin-right: auto;
    margin-bottom: 42px;
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .hero,
  .download-panel {
    width: min(354px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: auto;
  }

  .brand-copy {
    gap: 2px;
  }

  .utility-text {
    max-width: 300px;
  }

  h1 {
    font-size: clamp(35px, 10vw, 42px);
  }

  .lead {
    font-size: 18px;
    line-height: 28px;
  }

  .photo-card {
    height: 235px;
  }

  .photo-card figcaption {
    left: 14px;
    bottom: 14px;
    width: min(230px, calc(100% - 28px));
    padding: 14px 15px;
    font-size: 21px;
    line-height: 25px;
  }

  form {
    gap: 16px;
  }
}
