/* MyLawyerDot — launch site
   Palette, type and feel follow AncestryLegal.com (navy / midnight / teal / gold, Cormorant Garamond + Source Sans 3) */
:root {
  --navy:          #5B8FA8;
  --navy-dark:     #1A3D52;
  --navy-light:    #7AAFC5;
  --midnight:      #0D1B2E;
  --midnight-deep: #071224;
  --teal:          #0CBADB;
  --teal-dark:     #0A9BB8;
  --teal-light:    #3ED0E8;
  --gold:          #C9A84C;
  --gold-text:     #8A6D2A;   /* gold dark enough to read on light backgrounds */
  --cream:         #F4F8FA;
  --cream-dark:    #E6EFF4;
  --white:         #FFFFFF;
  --text:          #152636;
  --text-light:    #4A6575;
  --border:        #BDD5E0;
  --shadow:        rgba(91,143,168,0.12);
  --shadow-lg:     rgba(91,143,168,0.22);
  --serif:         'Cormorant Garamond', Georgia, serif;
  --sans:          'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--sans); line-height: 1.75; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-dark); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--navy-dark); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; color: var(--text-light); font-size: 1.05rem; }

/* Buttons — AncestryLegal pill style, teal with navy text for legibility */
.btn {
  display: inline-block; background: var(--teal); color: var(--midnight);
  text-decoration: none; font-weight: 700; letter-spacing: .03em;
  border-radius: 50px; padding: 14px 30px; font-size: .95rem;
  box-shadow: 0 4px 16px rgba(12,186,219,0.35); transition: all var(--transition);
}
.btn:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(12,186,219,0.45); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-large { font-size: 1.05rem; padding: 18px 36px; }
.btn-small { font-size: .88rem; padding: 9px 22px; box-shadow: none; }
.btn-light { background: var(--teal); }

/* Header — white bar like AncestryLegal */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 120px; }

/* Hero — midnight gradient */
.hero {
  background: linear-gradient(135deg, var(--midnight-deep) 0%, var(--midnight) 50%, var(--navy-dark) 100%);
  padding: 88px 0 96px; color: var(--white);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-block; background: rgba(12,186,219,0.12); border: 1px solid rgba(12,186,219,0.3);
  border-radius: 50px; padding: 6px 16px; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  color: var(--teal-light); margin: 0 0 22px;
}
.hero h1 { color: var(--white); }
.lede { font-size: 1.18rem; color: rgba(255,255,255,0.82); max-width: 34em; }
.lede strong { color: var(--white); }
.cta-row { margin: 30px 0 22px; }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; color: rgba(255,255,255,0.72); }
.reassure li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }

.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); padding: 32px 30px 16px; backdrop-filter: blur(8px);
}
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--white); margin-bottom: 16px; }
.covers { margin: 0; padding: 0; list-style: none; }
.covers li {
  color: rgba(255,255,255,0.78); font-size: .97rem; line-height: 1.55;
  padding: 10px 14px; margin-bottom: 10px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border-left: 3px solid var(--teal);
}
.covers span { color: var(--white); font-weight: 700; }

/* Sections */
.section { padding: 84px 0; }
#how h2, #faq h2 { text-align: left; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: 0 8px 28px var(--shadow);
}
.step-num {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-dark); color: var(--white);
  align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px;
}
.step p { margin: 0; }

.section-ink { background: var(--midnight); }
.why { max-width: 780px; }
.why h2 { color: var(--white); }
.why p { font-size: 1.15rem; color: rgba(255,255,255,0.8); }
.why .btn { margin-top: 14px; }

/* FAQ */
#faq { background: var(--white); }
.faq-wrap { max-width: 840px; }
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); margin-top: 22px; }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; color: var(--navy-dark);
  padding: 18px 40px 18px 0; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--teal-dark); }
details[open] summary::after { content: "–"; }
details p { padding-right: 40px; }

.final-cta { text-align: center; background: var(--cream-dark); }
.final-cta h2 { max-width: 780px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--midnight-deep); color: rgba(255,255,255,0.68); padding: 52px 0 40px; font-size: .92rem; }
.site-footer p { color: rgba(255,255,255,0.68); font-size: .92rem; }
.footer-inner img { width: 104px; margin-bottom: 18px; }
.disclaimer { max-width: 740px; }
.footer-links a { color: var(--teal-light); }
.copy { margin-top: 16px; color: rgba(255,255,255,0.45) !important; }

/* Privacy page body */
.page-body h1 { margin-top: 0; }
.page-body h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* Mobile */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 60px 0; }
  .btn-large { display: block; text-align: center; }
}
@media (max-width: 480px) {
  html { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero-card { padding: 24px 20px 10px; }
}

/* Policy lists */
.policy-list { margin: 0 0 1.2em; padding-left: 1.2em; color: var(--text-light); }
.policy-list li { margin-bottom: .5em; }
.policy-list strong, .page-body p strong { color: var(--text); }
