:root {
  --navy: #0C1E30;
  --off-white: #FAFAF8;
  --border: #E5E5E5;
  --text: #1C1917;
  --text-mid: #44403C;
  --text-light: #78716C;
  --green: #1B873D;
  --green-soft: #E6F4EA;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-shadow: #c2410c;
  --red: #C0392B;
}

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* ---------- opt-in ---------- */

.hero {
  display: grid;
  grid-template-areas: "copy" "visual" "capture";
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 32px;
}
.copy { grid-area: copy; }
.visual { grid-area: visual; }
.capture { grid-area: capture; }

.label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--orange-dark);
  background: #FFF1E6;
  padding: 6px 11px;
  border-radius: 999px;
}

h1 {
  margin-top: 12px;
  font-size: clamp(27px, 7.4vw, 50px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.sub {
  margin-top: 10px;
  font-size: clamp(15.5px, 4.2vw, 19px);
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 34em;
}

/* guide mockup */
.visual img {
  display: block;
  mix-blend-mode: multiply;
  width: 100%;
  height: 196px;
  object-fit: contain;
}

/* bullets */
.bullets { list-style: none; padding: 0; display: grid; gap: 9px; }

.bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231B873D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* form */
form { margin-top: 18px; display: grid; gap: 10px; max-width: 480px; }

input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 15px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s;
}
input::placeholder { color: #A8A29E; }
input:focus { outline: none; border-color: var(--navy); }

.cta {
  margin-top: 2px;
  width: 100%;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  padding: 19px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  box-shadow: 0 4px 0 var(--orange-shadow);
  cursor: pointer;
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-shadow); }
.cta:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.cta:disabled { opacity: .7; cursor: default; }
a.cta { display: block; text-align: center; text-decoration: none; }

.trust {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.proof {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
}
.stars { color: #D4A017; letter-spacing: 1.5px; margin-right: 4px; }

.hint {
  margin-top: -4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
}
.hint button {
  font: inherit;
  font-weight: 800;
  color: var(--orange-dark);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.err {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
}

/* footer */
.foot {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 18px 20px 26px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}
.foot a { color: inherit; }

/* ---------- desktop ---------- */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "copy visual" "capture visual";
    column-gap: 56px;
    row-gap: 26px;
    padding-top: 64px;
    padding-bottom: 72px;
    align-items: start;
  }
  .visual { align-self: center; }
  .visual img { height: auto; }
  .bullets li { font-size: 16.5px; }
  .sub { margin-top: 16px; }
}

/* ---------- thank-you ---------- */
.ty { max-width: 620px; padding-top: 36px; padding-bottom: 48px; }

.confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
}
.confirm::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.ty h1 { margin-top: 14px; }
.ty .sub { margin-top: 12px; }
.ty .download { margin-top: 24px; max-width: 480px; }
.ty .download .trust { margin-top: 10px; }

.next {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--off-white);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  overflow: hidden;
}
.next-img {
  display: block;
  mix-blend-mode: multiply;
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.next-body { padding: 22px 22px 24px; }
.next .label { background: #fff; border: 1px solid var(--border); color: var(--text-light); }
.next h2 {
  margin-top: 12px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.next p { margin-top: 8px; font-size: 15.5px; color: var(--text-mid); }
.next .cta { margin-top: 18px; font-size: 15px; padding: 16px 20px; }
