/* ------------------------------------------------------------
   Local Authority Engine - Public Page Styles
   Powell Media Group
   WHERE THIS FILE GOES: assets/css/style.css
   ------------------------------------------------------------ */

:root {
  --navy: #0d1b2a;
  --navy-2: #1b263b;
  --gold: #d4a017;
  --gold-dark: #b3860f;
  --ink: #22303f;
  --muted: #5c6b7a;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --line: #e2e7ec;
  --success-bg: #e8f7ee;
  --success-ink: #1b6e3c;
  --error-bg: #fdeaea;
  --error-ink: #a02020;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(13, 27, 42, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.06rem;
}

h1, h2, h3, .btn, .eyebrow, .price-main, .card-number {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { height: 64px; width: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-lg { padding: 17px 38px; font-size: 1.12rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
  padding: 84px 0 96px;
}
.eyebrow {
  display: inline-block;
  background: rgba(212, 160, 23, 0.16);
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto 22px;
}
.subheadline {
  font-size: 1.2rem;
  color: #cfd8e3;
  max-width: 760px;
  margin: 0 auto 34px;
}
.cta-subtext { margin-top: 14px; color: #cfd8e3; font-size: 0.95rem; }
.trust-line {
  margin-top: 30px;
  color: #8fa1b5;
  font-size: 0.9rem;
  font-style: italic;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 22px;
  color: var(--navy);
  text-align: center;
}
.section p { margin-bottom: 16px; }

.problem { background: var(--bg-alt); }

.pain-list { list-style: none; margin: 26px 0; }
.pain-list li {
  padding: 12px 0 12px 38px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.pain-list li::before {
  content: '\2716';
  color: var(--error-ink);
  position: absolute;
  left: 8px;
  font-size: 0.85rem;
}

/* ---------- Deliverables ---------- */
.deliverables { background: var(--navy); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
}
.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 8px; }
.card .tagline { font-style: italic; color: var(--muted); margin-bottom: 16px; }

.check-list { list-style: none; }
.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 0.98rem;
}
.check-list li::before {
  content: '\2714';
  color: var(--success-ink);
  position: absolute;
  left: 4px;
}

/* ---------- Bonuses ---------- */
.bonus-stack { margin-top: 30px; display: grid; gap: 18px; }
.bonus {
  background: var(--bg-alt);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
}
.bonus h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.08rem; }
.bonus p:last-child { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-alt); }
.price-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 36px 24px;
  margin: 10px 0 30px;
  box-shadow: var(--shadow);
}
.price-main { font-size: 1.7rem; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.price-financing { color: #cfd8e3; margin-bottom: 0; }

/* ---------- Founder ---------- */
.founder-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 34px;
  flex-wrap: wrap;
}
.founder-photo {
  flex: 0 0 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.founder-info { flex: 1; min-width: 260px; }
.founder-info h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 4px; }
.founder-title { color: var(--muted); font-style: italic; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 20px;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.4rem;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: 16px; margin-bottom: 0; }

/* ---------- Lead form / CTA ---------- */
.cta { background: var(--navy); color: #fff; }
.cta h2 { color: #fff; }
.cta > .container > p, .cta p { color: #cfd8e3; }

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  margin-top: 26px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}
.privacy-line {
  text-align: center;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted) !important;
}

/* Honeypot: hide from humans, keep in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 1px;
  overflow: hidden;
}

/* ---------- Alerts ---------- */
.alert {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 22px 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
}
.alert-success { background: var(--success-bg); color: var(--success-ink); }
.alert-error { background: var(--error-bg); color: var(--error-ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1420;
  color: #8fa1b5;
  text-align: center;
  padding: 44px 0;
  font-size: 0.9rem;
}
.footer-brand {
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.footer-disclaimer { max-width: 720px; margin: 14px auto; font-size: 0.8rem; }
.footer-copy { margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .section { padding: 52px 0; }
  .header-cta { display: none; }
  .founder-photo { flex-basis: 100%; max-width: 240px; margin: 0 auto; }
  .lead-form { padding: 24px 18px; }
}

/* ---------- A2P consent checkboxes ---------- */
.consent-row { margin: 14px 0; }
.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--gold);
}
.legal-links {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
}
.legal-links a { color: var(--muted); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal h1 {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 6px;
}
.legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.legal h2 {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  font-size: 1.15rem;
  margin: 28px 0 10px;
  text-align: left;
}
.legal a { color: var(--gold-dark); }

/* ---------- Footer legal links ---------- */
.site-footer .footer-links { margin-top: 12px; }
.site-footer .footer-links a { color: var(--gold); }
