/* Shared styling for HandyHomePro legal + quiz pages */
:root {
  --navy: #0d2c54;
  --navy-2: #14406e;
  --navy-100: #d8e2f0;
  --navy-50: #eef2f8;
  --red: #e63b2e;
  --red-dark: #c72f23;
  --gold: #f5a623;
  --ink: #101d30;
  --ink-soft: #2b3b52;
  --muted: #5b6a80;
  --bg: #FFFFFF;
  --section: #f4f6f9;
  --border: #dde3ea;
  --ring: rgba(13,44,84,0.22);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(16,29,48,0.06);
  --shadow: 0 12px 34px rgba(13,44,84,0.12);
  --container: 1100px;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.01em; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { padding-left: 1.25rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* Top bar */
.lp-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: var(--navy);
  border-bottom: 3px solid var(--red); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--red);
  display: flex; align-items: center; justify-content: center; color: #fff; }
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.01em; color: #fff; text-transform: uppercase; }
.brand-name span { color: var(--gold); }
.lp-back { font-weight: 600; font-size: 0.9rem; color: #cfdcec; display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; }
.lp-back:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; font-size: 0.975rem;
  border: none; border-radius: var(--radius-sm); padding: 0.85rem 1.6rem; text-transform: uppercase; letter-spacing: 0.03em;
  font-family: var(--font-head); transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(230,59,46,0.3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy-100); }
.btn-secondary:hover { border-color: var(--navy); background: var(--navy-50); }
.btn-ghost { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(13,44,84,0.24); }
.btn-ghost:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* Legal document body */
.legal { padding: 3rem 0 4rem; }
.legal .doc { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 2.1rem; font-weight: 900; margin-bottom: 0.5rem; text-transform: uppercase; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; font-weight: 800; margin: 2rem 0 0.75rem; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 0.5rem; }
.legal p { color: var(--ink-soft); margin-bottom: 1rem; }
.legal li { color: var(--ink-soft); margin-bottom: 0.4rem; }
.legal a { color: var(--navy); text-decoration: underline; }
.legal strong { color: var(--ink); }
.callout { background: var(--section); border-left: 3px solid var(--red); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.95rem; }

/* Footer */
.lp-footer { background: #081426; color: #a8b8cc; padding: 2.5rem 0; margin-top: 2rem; }
.lp-footer a { color: #a8b8cc; text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.lp-footer .links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; font-size: 0.9rem; }
.lp-footer .disclaimer { font-size: 0.78rem; color: #7e91a8; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.25rem; }
.lp-footer .copy { font-size: 0.8rem; color: #6b7f97; margin-top: 1rem; }
