/* feedestroyer.com signup page. Colours come from the original Unbounce page. */
:root {
  --blue: #0758ac;        /* buttons, confirmation box */
  --blue-dark: #024c99;   /* hover */
  --navy: #0b2b52;        /* headings */
  --footer: #094889;
  --text: #2b3440;
  --muted: #5d6875;
  --line: #cfd6df;
  --error: #b3261e;
  --overlay: rgba(238, 238, 238, .84);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Roboto, Arial, Helvetica, sans-serif; color: var(--text); background: #fff; line-height: 1.5; }

/* Header: the logo exactly as on the live site (97x120, unaltered image). */
.top { background: #fff; text-align: center; padding: 14px 16px 12px; }
.top img { display: inline-block; width: 97px; height: 120px; vertical-align: top; }

/* Hero with the bank-note background and the same light overlay as before. */
.hero {
  background: linear-gradient(var(--overlay), var(--overlay)), url(/assets/img/bg-900.jpg) center / cover no-repeat;
  padding: 28px 16px 40px;
}
@media (min-width: 900px) {
  .hero { background-image: linear-gradient(var(--overlay), var(--overlay)), url(/assets/img/bg-2000.jpg); padding: 56px 24px 72px; }
}
.wrap {
  max-width: 1120px; margin: 0 auto;
  display: grid; gap: 24px;
  grid-template-areas: "pitch" "card" "steps";
}
@media (min-width: 960px) {
  .wrap { grid-template-columns: minmax(0, 1fr) 560px; gap: 24px 56px; grid-template-areas: "pitch card" "steps card"; grid-template-rows: auto 1fr; align-items: start; }
}
.pitch { grid-area: pitch; }
.card { grid-area: card; }
.steps { grid-area: steps; }

.kicker { margin: 0 0 8px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
h1 { margin: 0 0 14px; color: var(--navy); font-weight: 900; font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
.lead { margin: 0; font-size: 18px; color: #36414d; max-width: 34em; }
@media (min-width: 960px) {
  .pitch { padding-top: 24px; }
  h1 { font-size: 52px; }
  .lead { font-size: 20px; }
}

.steps h2 { margin: 0 0 12px; font-size: 18px; color: var(--navy); }
.steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 48px; color: #36414d; font-size: 16px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps b { color: var(--navy); }

/* Form card */
.card { background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(11, 43, 82, .18); padding: 24px 20px; }
@media (min-width: 600px) { .card { padding: 32px; } }
.card h2 { margin: 0; color: var(--navy); font-size: 26px; line-height: 1.2; }
.card .sub { margin: 4px 0 20px; color: var(--muted); font-size: 15px; }
.grid { display: grid; gap: 14px 16px; }
@media (min-width: 520px) { .grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; height: 50px; padding: 0 18px; font: 16px Roboto, Arial, sans-serif; color: #222;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #8b95a1; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 88, 172, .2); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: 14px; margin: 5px 0 0 18px; }

.cta {
  display: block; width: 100%; margin-top: 22px; height: 60px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue); color: #fff; font: 700 21px Roboto, Arial, sans-serif; letter-spacing: .01em;
  box-shadow: 0 6px 16px rgba(7, 88, 172, .35); transition: background .15s, transform .05s;
}
.cta:hover { background: var(--blue-dark); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }
.cta[disabled] { opacity: .7; cursor: wait; }
.lead-error { color: var(--error); font-size: 15px; margin: 12px 0 0; text-align: center; }
.legal { margin: 18px 0 0; color: #6b7480; font-size: 12px; line-height: 1.5; }

/* Confirmation, styled like the original Unbounce pop-up (white on blue). */
.thanks { background: var(--blue); color: #fff; border-radius: 12px; padding: 48px 28px; text-align: center; outline: none; }
.thanks h2 { color: #fff; font-size: 30px; margin: 0 0 12px; }
.thanks p { margin: 0; font-size: 19px; line-height: 1.5; }

.foot { background: var(--footer); color: #fff; text-align: center; font-size: 13px; padding: 18px 16px; }
.foot p { margin: 0; }

/* Spam honeypot (hidden from people) and Turnstile holder (invisible widget). */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
#lead-form { position: relative; }
.ts-box { position: absolute; left: 0; bottom: 0; }

/* Stand-alone thank-you page (used when JavaScript is off). */
.ty-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: #eee; }
.ty-page .thanks { max-width: 440px; }
.ty-page .thanks a { color: #fff; }
.ty-back { margin-top: 20px !important; font-size: 16px !important; }

/* Footer links (privacy policy). */
.foot a { color: #fff; }

/* Privacy policy page. */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; font-size: 16px; line-height: 1.65; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc h2 { color: var(--navy); font-size: 21px; line-height: 1.3; margin: 32px 0 8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc a { color: var(--blue); }
.doc .updated { color: var(--muted); margin: 0 0 24px; }

/* 404 page. */
.nf-box { background: #fff; border-radius: 16px; padding: 40px 28px; max-width: 440px; width: 100%; text-align: center; box-shadow: 0 12px 40px rgba(11, 43, 82, .12); }
.nf-box img { width: 97px; height: 120px; }
.nf-box h1 { font-size: 30px; margin: 18px 0 8px; }
.nf-box p { color: var(--muted); margin: 0 0 24px; }
.nf-btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 700; }
.nf-btn:hover { background: var(--blue-dark); }
.legal a { color: var(--blue); }
