/* ==========================================================================
   Parent Safety Watch — OmniWatch squeeze funnel
   Clean, calm, trustworthy theme for parents (light, high-readability)
   ========================================================================== */

:root {
  --ink: #15233b;          /* near-navy text */
  --ink-soft: #41506b;
  --ink-mute: #6b7890;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e3e8f1;
  --brand: #1f6feb;        /* trustworthy blue */
  --brand-deep: #1457c7;
  --teal: #0fb5a6;
  --amber: #f5a524;
  --danger: #e5484d;
  --ok: #1f9d57;
  --shadow-sm: 0 1px 3px rgba(21, 35, 59, .08);
  --shadow-md: 0 10px 30px rgba(21, 35, 59, .10);
  --shadow-lg: 0 24px 60px rgba(21, 35, 59, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 720px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }

/* Soft background accents */
.bg-wash { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-wash::before {
  content: ''; position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,111,235,.10), transparent 70%);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wide { max-width: 920px; }

/* ---------- Top bar ---------- */
.topbar { padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); }
.brand-badge {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--teal)); box-shadow: var(--shadow-sm);
}
.brand-badge svg { width: 18px; height: 18px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-mute); letter-spacing: .02em; }

/* ---------- Hero / squeeze ---------- */
.hero { padding: 14px 0 40px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-deep); background: rgba(31,111,235,.08);
  border: 1px solid rgba(31,111,235,.18); padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
h1 {
  font-size: clamp(30px, 6vw, 46px); line-height: 1.1; letter-spacing: -.02em; font-weight: 900;
  margin-bottom: 18px;
}
h1 .hl { color: var(--brand); }
.subhead { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-soft); margin-bottom: 14px; }
.subhead strong { color: var(--ink); }

/* ---------- Opt-in card ---------- */
.optin {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; margin: 28px 0 10px; scroll-margin-top: 20px;
}
.optin h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; text-align: center; }
.optin .sub { font-size: 14px; color: var(--ink-mute); text-align: center; margin-bottom: 20px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 15px 16px; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #9aa6bd; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,111,235,.15); }
.field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(229,72,77,.14); }
.form-error { font-size: 13px; color: var(--danger); margin: -4px 0 10px; display: none; }
.form-error.show { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font-family: inherit; font-weight: 800; font-size: 18px; line-height: 1.25; text-align: center;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border: none; border-radius: 999px; padding: 17px 24px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(31,111,235,.32); transition: transform .15s, box-shadow .15s;
  white-space: normal;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(31,111,235,.42); }
.btn:active { transform: translateY(0); }

.trustline { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-top: 14px; }
.trustline svg { width: 16px; height: 16px; color: var(--ok); display: inline; vertical-align: -3px; margin-right: 4px; }
.miniprivacy { text-align: center; font-size: 12px; color: var(--ink-mute); margin-top: 10px; line-height: 1.5; }
.miniprivacy a { color: var(--ink-mute); text-decoration: underline; }

/* ---------- Bullets ---------- */
.bullets { margin: 34px 0; }
.bullets h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); margin-bottom: 16px; text-align: center; }
.bullet {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px;
}
.bullet-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(31,111,235,.10); color: var(--brand);
}
.bullet-ico svg { width: 19px; height: 19px; }
.bullet p { font-size: 15px; color: var(--ink-soft); }
.bullet p strong { color: var(--ink); }

/* ---------- Trust signal ---------- */
.trustbox {
  background: #fff8ec; border: 1px solid #f6e2bd; border-radius: var(--radius);
  padding: 20px 22px; margin: 30px 0; display: flex; gap: 14px; align-items: flex-start;
}
.trustbox .ico { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(245,165,36,.16); color: #b5790a; }
.trustbox .ico svg { width: 20px; height: 20px; }
.trustbox p { font-size: 14px; color: #6a5320; }
.trustbox p strong { color: #4a3a16; }

/* ---------- Secondary CTA ---------- */
.cta-again { text-align: center; margin: 30px 0 10px; }

/* ---------- How it works (thank-you / lead magnet shared) ---------- */
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 32px; margin: 24px 0;
}
.panel h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; letter-spacing: -.01em; }
.panel h3 { font-size: 18px; font-weight: 800; margin: 22px 0 8px; }
.panel p { color: var(--ink-soft); margin-bottom: 14px; }
.panel ul, .panel ol { margin: 0 0 16px 22px; color: var(--ink-soft); }
.panel li { margin-bottom: 8px; }
.panel strong { color: var(--ink); }

.success-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(31,157,87,.12); color: var(--ok); }
.success-ico svg { width: 34px; height: 34px; }
.tip {
  background: rgba(31,111,235,.06); border: 1px solid rgba(31,111,235,.18); border-radius: var(--radius);
  padding: 16px 18px; margin: 16px 0; font-size: 14px; color: var(--ink-soft);
}
.tip strong { color: var(--ink); }

.btn-dl { max-width: 360px; margin: 8px auto 0; }

/* ---------- Lead magnet (audit) specifics ---------- */
.step { border-left: 3px solid var(--brand); padding: 4px 0 4px 18px; margin: 22px 0; }
.step .num { display: inline-block; font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.step h3 { margin-top: 0; }
.check { list-style: none; margin-left: 0; }
.check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid var(--brand); background: #fff;
}
.print-hint { font-size: 13px; color: var(--ink-mute); text-align: center; margin: 8px 0 24px; }
.btn-print {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--brand);
  background: rgba(31,111,235,.08); border: 1px solid rgba(31,111,235,.2); border-radius: 999px; padding: 9px 16px; cursor: pointer;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; }
.footer p { font-size: 12px; color: var(--ink-mute); line-height: 1.6; margin-bottom: 10px; }
.footer a { color: var(--ink-mute); text-decoration: underline; }
.footer .links { margin-bottom: 12px; }
.footer .links a { margin-right: 16px; font-size: 13px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .optin, .panel { padding: 22px 18px; }
  .bullet { padding: 14px; }
}
@media print {
  .bg-wash, .topbar, .footer, .btn-print, .no-print { display: none !important; }
  body { background: #fff; }
  .panel { box-shadow: none; border: none; padding: 0; }
}
