/*
 * Ported from docs/ai-sales-spec/reference/landing-mockup.html.
 * Grays darkened where the mockup fell short of WCAG AA (see --muted, --logo-gray).
 */

:root {
  --ink: #173A3C;
  --deep: #12363B;
  --teal: #1E6A66;
  --mist: #EEF2EF;
  --gold: #F2C46D;
  --cream: #FFF6E3;
  --body: #33504F;
  --muted: #5E7472;
  --logo-gray: #7A8D8B;
  --error: #B3261E;
  --line: #CBD7D3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.hero :focus-visible, .deep :focus-visible { outline-color: var(--gold); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

section { padding: 76px 0; }
.mist { background: var(--mist); }
.deep { background: var(--deep); color: var(--cream); }

h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 16px; font-weight: 700; max-width: 780px; }
.deep h2 { color: #fff; }

p { font-size: 18px; line-height: 1.6; margin: 0 0 14px; color: var(--body); max-width: 720px; }
.deep p { color: #D9E4E0; }

.label { font-size: 13px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--deep);
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: #F5CF85; }

/* hero */
.hero {
  position: relative;
  color: #fff;
  padding: 0 0 84px;
  background-color: #0d2427;
  background-position: center 60%;
  background-size: cover;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,28,31,.86) 0%, rgba(9,28,31,.62) 55%, rgba(9,28,31,.45) 100%); }
.hero > * { position: relative; }
.top { padding: 26px 0 56px; }
.logo { font-weight: 800; letter-spacing: .22em; font-size: 16px; }
.herogrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.hero .label { color: var(--gold); }
.hero p { color: #E8F0EC; font-size: 20px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { position: relative; padding: 7px 0 7px 34px; font-size: 17.5px; color: #F2F6F4; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 15px; width: 7px; height: 10px; border: solid var(--deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* form card */
.formcard { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); scroll-margin-top: 24px; }
.formcard h3 { font-size: 22px; margin: 0 0 6px; line-height: 1.25; }
.formcard p { color: var(--body); max-width: none; }
.formcard .sub { font-size: 15px; margin: 0 0 18px; line-height: 1.5; }
.prog { display: flex; gap: 6px; margin-bottom: 18px; }
.prog i { height: 5px; flex: 1; border-radius: 3px; background: #E1E8E5; }
.prog i.on { background: var(--gold); }
.step { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--teal); text-transform: uppercase; margin-bottom: 8px; }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step + .form-step { margin-top: 4px; }
.field { margin-bottom: 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.in {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #FAFCFB;
}
.in::placeholder { color: #647977; }
textarea.in { height: 104px; resize: vertical; line-height: 1.45; }
select.in {
  appearance: none;
  padding-right: 36px;
  background: #FAFCFB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%231E6A66'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.in:focus-visible { outline-offset: 0; border-color: var(--teal); }
.in[aria-invalid="true"] { border-color: var(--error); }
.formcard .error { font-size: 13px; line-height: 1.4; color: var(--error); margin: 6px 0 0; }
.formcard .alert { font-size: 14px; line-height: 1.45; color: var(--error); background: #FBEDEC; border-radius: 9px; padding: 10px 12px; margin: 0 0 16px; }
.formcard .btn { width: 100%; text-align: center; margin-top: 4px; }
.formcard .next { font-size: 13px; color: var(--muted); text-align: center; margin: 12px auto 0; }
.actions { display: flex; align-items: center; gap: 16px; }
.actions .btn { flex: 1; }
.back { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 15px; font-weight: 600; color: var(--teal); text-decoration: underline; cursor: pointer; }
.formcard .trust { font-size: 13.5px; color: var(--body); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #E6ECE9; line-height: 1.5; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Without JavaScript both steps show and the step controls are hidden. */
.lead-form:not(.is-enhanced) .js-only { display: none; }

/* proof */
.proof { padding: 40px 0 48px; text-align: center; }
.proof .label { color: var(--muted); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; margin: 14px 0 28px; }
.logo-row div { font-weight: 700; font-size: 20px; color: var(--logo-gray); }
blockquote { margin: 0 auto; max-width: 760px; font-size: 19px; line-height: 1.55; font-style: italic; color: var(--ink); }
cite { display: block; font-style: normal; font-size: 14px; color: var(--teal); margin-top: 10px; font-weight: 600; }

/* problem */
.prob { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
ul.checks { list-style: none; padding: 0; margin: 10px 0 18px; }
ul.checks li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid #D9E2DF; font-size: 17.5px; line-height: 1.5; color: var(--ink); }
ul.checks li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--deep); }
.costcard { background: var(--deep); color: var(--cream); border-radius: 18px; padding: 32px; }
.costcard .label { color: var(--gold); }
.costcard .big { font-size: 58px; font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -.02em; margin: 6px 0 10px; }
.costcard p { color: #D9E4E0; font-size: 16.5px; }
.costcard .small { font-size: 13px; color: #9DB5B0; margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 34px 0 26px; }
.st { background: var(--mist); border-radius: 16px; padding: 28px; }
.st .num { width: 42px; height: 42px; border-radius: 50%; background: var(--deep); color: var(--gold); border: 2px solid var(--gold); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.st h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.3; }
.st p { font-size: 15.5px; margin: 0; }
.price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--cream); border: 1px solid #EADFC6; border-radius: 14px; padding: 20px 24px; }
.price p { margin: 0; color: var(--ink); font-size: 17px; }
.price b { color: var(--deep); }

/* bio */
.bio { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: center; }
.bio img { width: 100%; height: auto; border-radius: 22px; display: block; box-shadow: 0 18px 40px rgba(18,54,59,.18); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border-radius: 12px; padding: 16px; border: 1px solid #DDE6E2; }
.stat b { display: block; font-size: 26px; color: var(--teal); white-space: nowrap; }
.stat span { font-size: 13.5px; color: var(--body); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.q { background: var(--mist); border-radius: 14px; padding: 24px; }
.q h3 { font-size: 17.5px; margin: 0 0 8px; }
.q p { font-size: 15.5px; margin: 0; }

/* final */
.final { text-align: center; }
.final h2, .final p { margin-left: auto; margin-right: auto; }
.final .btn { margin-top: 12px; }
.final blockquote { color: #E8F0EC; font-size: 17.5px; margin-top: 36px; }
.final cite { color: var(--gold); }

footer { background: #0C2427; color: #9DB5B0; font-size: 14px; padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: inherit; }

/* thank-you page */
.thanks { min-height: 100vh; padding-bottom: 96px; }
.thanks-body { max-width: 640px; }
.thanks-body .btn { margin: 10px 0 22px; }
.thanks-body a:not(.btn) { color: var(--gold); }
.thanks-body .home-link { font-size: 16px; margin-top: 28px; }

@media (max-width: 860px) {
  section { padding: 52px 0; }
  .top { padding-bottom: 30px; }
  .hero { padding-bottom: 52px; }
  .herogrid, .prob, .bio { grid-template-columns: 1fr; gap: 30px; }
  .steps, .faq { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bio img { max-width: 240px; }
  .costcard .big { font-size: 46px; }
  .hero::before { background: rgba(9,28,31,.72); }
}

@media (max-width: 420px) {
  .formcard { padding: 22px; }
}
