/* ==========================================================================
   BayRen Leads — free-materials funnel styling.
   On-brand with the main site (navy + gold), self-contained, mobile-first.
   Fonts use a system stack (fast, no webfonts, Bengali-friendly).
   ========================================================================== */
:root {
  --navy: #0B2A49;
  --navy-700: #123a61;
  --gold: #D8B04C;
  --gold-600: #c39a2f;
  --ink: #16202b;
  --body: #33414f;
  --muted: #6b7885;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --wa: #25d366;
  --ok: #2FB4A6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 73, .10);
  --container: 1080px;
  --font-display: Georgia, "Times New Roman", "Noto Serif Bengali", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg-soft);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }

/* ---- Header / footer ---- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 22px; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand-logo { height: 48px; width: auto; }
.header-cta { font-size: .92rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.header-cta:hover { color: var(--navy); }

.site-footer {
  text-align: center; padding: 30px 22px 44px; color: var(--muted);
  font-size: .86rem;
}
.site-footer p { margin: 4px 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; }

/* ---- Offer section ---- */
.offer { max-width: var(--container); margin: 0 auto; padding: 40px 22px 20px; }
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 860px) {
  .offer { padding: 64px 22px 40px; }
  .offer-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  font-weight: 700; color: var(--gold-600); margin: 0 0 10px;
}
.offer-copy h1 {
  font-family: var(--font-display); color: var(--navy);
  font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.12; margin: 0 0 16px;
}
.lead { font-size: 1.1rem; color: var(--body); margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ok); font-weight: 800;
}
.more-note { color: var(--muted); font-size: .95rem; }

/* Guide preview cards (PDF covers) */
.guides { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 24px; }
.guide {
  margin: 0; flex: 1 1 180px; max-width: 240px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.guide img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
.guide figcaption { padding: 10px 12px; }
.guide figcaption strong { display: block; color: var(--navy); font-size: .95rem; }
.guide figcaption span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

.wa-alt { margin-top: 18px; font-size: .95rem; }
.wa-alt a { color: #128C7E; font-weight: 600; }

/* ---- Form ---- */
.offer-form-wrap { position: relative; }
.lead-form {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px;
}
.form-title {
  font-family: var(--font-display); color: var(--navy);
  font-size: 1.5rem; margin: 0 0 4px;
}
.form-progress { color: var(--muted); font-size: .85rem; margin: 0 0 14px; font-weight: 600; }
.form-error {
  background: #fdecea; border: 1px solid #f5c6c0; color: #a12b1e;
  border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: .92rem;
}
.step { border: 0; padding: 0; margin: 0; }
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 12px 13px; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: inherit;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,176,76,.22);
}
.hint { display: block; color: var(--muted); font-size: .82rem; margin-top: 5px; }

.btn {
  display: inline-block; border: 0; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 700; padding: 13px 20px;
  text-decoration: none; text-align: center; transition: background .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-next { background: var(--gold); color: var(--navy); width: 100%; }
.btn-primary:hover, .btn-next:hover { background: var(--gold-600); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { font-size: 1.1rem; padding: 15px 26px; }
.form-actions { display: flex; gap: 10px; align-items: center; }
.form-actions .btn-primary { width: auto; flex: 1; }

.privacy-note { color: var(--muted); font-size: .8rem; margin: 14px 0 0; }

/* Honeypot — visually + AT hidden, but still fillable by dumb bots */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Thank-you ---- */
.thanks { max-width: 640px; margin: 0 auto; padding: 56px 22px; }
.thanks-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px 30px; text-align: center;
}
.check {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--ok); color: #fff; font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.thanks-card h1 { font-family: var(--font-display); color: var(--navy); font-size: 2rem; margin: 0 0 8px; }
.downloads { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 8px; }
.downloads .btn-primary { margin: 0; }
.thanks-card .btn-primary { margin: 18px 0 8px; }
.dl-hint { color: var(--muted); font-size: .85rem; margin: 0 0 8px; }
.next-steps { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.next-steps p { margin: 6px 0; }
.next-links a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.next-links a:hover { text-decoration: underline; }
