:root {
  --green: #2f8a43;          /* brand green: change here */
  --green-dark: #0f7a35;
  --green-shadow: rgba(47, 138, 67, .28);
  --ink: #1b1b2f;            /* headline navy/near-black */
  --text: #2b2b3a;
  --muted: #6b6b78;
  --highlight: #fbf3a4;      /* pale yellow highlighter */
  --field-bg: #f6f7f9;
  --field-border: #dfe2e7;
  --grey-bg: #f5f6f8;
  --white: #fff;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- HERO ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
}
.headline {
  margin: 0 auto;
  max-width: 1000px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
}
.highlight {
  display: inline-block;
  margin-top: .08em;
  background: var(--highlight);
  padding: 0 .14em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- CSS MOCKUP ---------- */
.mockup {
  position: relative;
  width: min(820px, 100%);
  aspect-ratio: 820 / 410;
  margin: 44px auto 34px;
  container-type: inline-size;
}
.book {
  position: absolute;
  top: 6%;
  width: 26%;
  height: 72%;
  background: linear-gradient(160deg, #23304a, #131b2c);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25), 10px 10px 0 -2px #1a2236;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6%;
  overflow: hidden;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
.book-left  { left: 2%;  transform: rotate(-14deg); }
.book-right { right: 2%; transform: rotate(14deg); }
.book-tag { font-size: 1.1cqw; letter-spacing: .2em; text-transform: uppercase; color: #8fe0a2; margin-bottom: 6%; }
.book-title { font-weight: 800; font-size: 2.3cqw; line-height: 1.1; text-transform: uppercase; }
.book-sub { font-size: 1.15cqw; opacity: .7; margin-top: 6%; font-family: "Poppins", sans-serif; }

.monitor {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 58%;
  z-index: 2;
}
.screen {
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 90% at 50% 0%, #1d2a44, #0d1424);
  border: clamp(6px, 1.2vw, 12px) solid #0b0f19;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
  display: flex; flex-direction: column; align-items: center;
  padding-top: 7%;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  overflow: hidden;
}
.screen-kicker { font-size: 1.2cqw; letter-spacing: .25em; text-transform: uppercase; opacity: .8; }
.screen-title { font-weight: 700; font-size: 2.9cqw; margin-top: 2%; }
.screen-accent { font-weight: 800; font-size: 4.2cqw; color: #39d46a; line-height: 1; text-shadow: 0 0 24px rgba(57,212,106,.35); }
.screen-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; width: 84%; margin-top: 7%; }
.feed-card { background: rgba(255,255,255,.07); border-radius: 6px; padding: 8%; display: flex; flex-direction: column; gap: 6px; }
.feed-card i { display: block; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #39d46a; opacity: .8; }
.feed-card b { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); }
.feed-card b.short { width: 60%; }
.stand { width: 18%; height: 28px; margin: 0 auto; background: linear-gradient(#cfd3da, #e9ebef); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

.phone {
  position: absolute;
  left: 18%; bottom: 0;
  width: 13%;
  aspect-ratio: 9 / 18.5;
  background: #0b0f19;
  border-radius: 14px;
  padding: 5px;
  z-index: 3;
  box-shadow: 0 18px 36px rgba(0,0,0,.3);
}
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 10px; padding: 12% 8%; display: flex; flex-direction: column; gap: 7%; }
.chip { align-self: flex-start; font-size: 1cqw; font-weight: 600; color: #fff; background: var(--green); border-radius: 20px; padding: 2px 6px; }
.msg { height: 12%; border-radius: 6px; background: #eef0f3; }
.msg.alt { background: #dff3e4; width: 80%; align-self: flex-end; }

.hero-img { display: block; width: min(820px, 100%); height: auto; margin: 44px auto 34px; }

/* ---------- SUBLINE / CTA ---------- */
.subline {
  max-width: 780px;
  margin: 0 auto 30px;
  font-style: italic;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
  color: var(--ink);
}
.underline {
  font-weight: 500;
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5 C 50 2.5, 120 2, 198 4.5' stroke='%232f8a43' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: 0 100%;
  padding-bottom: 6px;
}

.cta {
  display: block;
  width: min(645px, 100%);
  margin: 0 auto;
  padding: 26px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #4a9a5e 0%, var(--green-dark) 100%);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 30px var(--green-shadow);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px var(--green-shadow); filter: brightness(1.04); }
.cta:active { transform: translateY(0); }
.cta:disabled { opacity: .7; cursor: progress; }

.proof { margin: 26px 0 8px; font-size: 18px; color: var(--muted); }
.proof strong { color: var(--ink); font-weight: 600; }
.checks { margin: 0; font-size: 16px; font-weight: 600; color: var(--green); display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.checks .dot { color: var(--muted); }

/* ---------- GREY SECTION / FOOTER ---------- */
.grey { background: var(--grey-bg); margin-top: 40px; }
.footer { max-width: 1200px; margin: 0 auto; padding: 36px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.footer p { margin: 4px 0; }
.footer a { color: var(--muted); }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .55); animation: fade .2s ease; }
.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 52px 30px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  animation: pop .22s ease;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.modal-close {
  position: absolute; top: 22px; right: 26px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #1d1d1d;
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.modal-close svg { width: 14px; height: 14px; }

.modal-card h2 {
  margin: 0 0 26px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
}

.field { position: relative; margin-bottom: 12px; }
.field input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  font: 400 16px "Poppins", sans-serif;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #7d808a; }
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,138,67,.15); background: #fff; }
.field input.invalid { border-color: #d64545; }
.with-icon input { padding-left: 54px; }
.field-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #1b1b1b; pointer-events: none; }

.phone-field .iti { width: 100%; }
.phone-field .iti__selected-country { padding-left: 16px; border-radius: 12px 0 0 12px; }
.iti--allow-dropdown .iti__country-container { left: 0; }

.q-label { margin: 22px 0 12px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.pills { display: grid; gap: 10px; }
.pill {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  font: 400 16px "Poppins", sans-serif;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pill:hover { border-color: #b9c3cc; }
.pill[aria-checked="true"] { border: 2px solid var(--green); background: #eaf6ed; font-weight: 600; color: var(--ink); box-shadow: 0 0 0 3px rgba(47,138,67,.12); }
.pills.invalid .pill { border-color: #d64545; }

.form-error { min-height: 20px; margin: 10px 0 0; color: #c0392b; font-size: 14px; text-align: center; }
.cta-form {
  width: 100%;
  margin-top: 6px;
  padding: 22px;
  border-radius: 8px;
  background: var(--green);
  font-family: "Roboto", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: .02em;
}
.consent { margin: 18px auto 0; max-width: 470px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  .hero { padding: 36px 16px 28px; }
  .eyebrow { font-size: 12px; letter-spacing: .14em; }
  .mockup { margin: 30px auto 24px; }
  .cta { padding: 20px 16px; }
  .proof { font-size: 15px; }
  .checks { font-size: 14px; }
  .modal-card { padding: 48px 18px 28px; border-radius: 20px; }
  .modal-close { top: 14px; right: 14px; }
  .pill { font-size: 14.5px; }
}

/* phone input: leave room for the flag dropdown */
.phone-field .iti input[type="tel"] { padding-left: 68px !important; }
.book-title { font-size: 1.95cqw; }
