/* ==========================================================================
   Liberation Now — Global Stylesheet
   Palette: Navy + Gold | Fonts: Playfair Display (headings), Inter (body)
   ========================================================================== */

:root {
  --navy-900: #0a1f36;
  --navy-800: #0e2a47;
  --navy-700: #14365c;
  --navy-600: #1d4573;
  --gold-500: #c9a227;
  --gold-400: #d4af37;
  --gold-300: #e3c65b;
  --cream: #f7f3ea;
  --off-white: #fbfaf7;
  --text-dark: #1f2937;
  --text-mid: #4b5563;
  --text-light: #f5f1e8;
  --border-soft: #e5e0d3;
  --shadow-card: 0 8px 24px rgba(10, 31, 54, 0.08);
  --radius: 10px;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--off-white);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy-800);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }

a { color: var(--navy-600); }

img, video { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--cream); }
.section--navy { background: var(--navy-800); color: var(--text-light); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-intro {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  padding: 15px 34px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 44px;
}

.btn--gold {
  background: var(--gold-400);
  color: var(--navy-900);
}
.btn--gold:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn--navy {
  background: var(--navy-800);
  color: #fff;
}
.btn--navy:hover { background: var(--navy-600); transform: translateY(-2px); }

.btn--block { display: block; width: 100%; }

.cta-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-mid);
  margin-top: 0.9rem;
}
.section--navy .cta-note { color: rgba(245, 241, 232, 0.8); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-900);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold-400); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-menu > li > a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--gold-300); }

.nav-cta { margin-left: 6px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.9rem; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  background: #fff;
  min-width: 280px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(10, 31, 54, 0.2);
  list-style: none;
  padding: 10px 0;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--navy-800);
  text-decoration: none;
  font-size: 0.93rem;
}
.dropdown a:hover { background: var(--cream); color: var(--navy-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 54, 0.65);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 120px 24px;
  color: #fff;
}

.hero__content h1 {
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-link {
  display: inline-block;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* Trust strip */
.trust-strip {
  background: var(--navy-800);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  padding: 16px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  color: rgba(245, 241, 232, 0.9);
  font-size: 0.88rem;
}
.trust-strip span::before {
  content: "✓ ";
  color: var(--gold-400);
  font-weight: 700;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--gold-400);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { flex-grow: 1; font-size: 0.97rem; color: var(--text-mid); }
.card .card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy-600);
}
.card .card-link:hover { color: var(--gold-500); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Checklists ---------- */
.checklist { list-style: none; margin: 1.2rem 0; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 0.85rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-500);
  font-weight: 800;
  font-size: 1.1rem;
}
.checklist--x li::before { content: "✕"; color: #b0483e; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--gold-400);
}
.testimonial blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--navy-800);
}
.testimonial .disclaimer { font-size: 0.78rem; color: #9ca3af; margin: 0.5rem 0 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy-800);
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold-500);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--text-mid); }

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  max-width: 680px;
  margin: 0 auto;
}

.form-row { margin-bottom: 20px; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--navy-800);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--off-white);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold-400);
  outline-offset: 1px;
  border-color: var(--gold-400);
}

.form-note { font-size: 0.83rem; color: var(--text-mid); font-style: italic; }

/* Honeypot — hidden from humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.error { color: #b0483e; }
.form-status.success { color: #2e7d4f; }

/* ---------- Compliance / disclaimers ---------- */
.compliance {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-style: italic;
  border-left: 3px solid var(--border-soft);
  padding-left: 16px;
  margin-top: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(245, 241, 232, 0.8);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.site-footer h4 {
  color: var(--gold-400);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(245, 241, 232, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.6);
  font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { display: block; padding: 13px 0; font-size: 1.05rem; }

  .dropdown {
    display: block;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0 0 6px 16px;
    min-width: 0;
  }
  .dropdown a { color: rgba(255, 255, 255, 0.75); padding: 9px 0; }
  .dropdown a:hover { background: transparent; color: var(--gold-300); }

  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { display: block; }

  .hero__content { padding: 90px 20px; }
  .section { padding: 52px 0; }
  .form-row--split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   A2P 10DLC compliance additions: consent checkboxes, legal pages, footer links
   ========================================================================== */

.consent-group {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--cream);
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.consent-row:last-of-type { margin-bottom: 0; }

.consent-row input[type="checkbox"] {
  margin-top: 0.35rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--navy-600);
}

.consent-row label {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-mid);
}

.consent-note {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin: 0.9rem 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legal pages (privacy.html, terms.html) */
.legal-page { max-width: 820px; }
.legal-page h1 { margin-bottom: 0.25rem; }
.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-updated { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* Footer legal links — must remain clearly visible for A2P review */
.footer-legal {
  text-align: center;
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

.footer-legal a { color: var(--text-light); text-decoration: underline; }
