/* ANCHOR Genealogy — Marketing Site Styles */

:root {
  --bg:          #121A30;
  --panel-bg:    #2E3A5E;
  --card-bg:     #3B4870;
  --teal:        #2A9D8F;
  --teal-light:  #45B7A8;
  --accent:      #2A9D8F;
  --accent-light:#45B7A8;
  --orange:      #C07030;
  --orange-light:#D4904A;
  --gold:        #C9A84C;
  --text:        #E8E4D9;
  --text-muted:  #A8A49A;
  --border:      rgba(255,255,255,0.10);
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 4px 24px rgba(0,0,0,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; }
p { color: var(--text-muted); }
a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--text); font-weight: 600; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(18,26,48,0.97) 0%, rgba(29,20,64,0.97) 55%, rgba(37,9,90,0.97) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-light); text-decoration: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); font-size: 1.5rem; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #121A30 0%, #1D1440 55%, #25095a 100%);
  padding: 100px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--text); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--accent-light); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); color: #fff; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); text-decoration: none; }
.btn-gold { background: var(--gold); color: #1A1F2E; }
.btn-gold:hover { background: #d9b85c; color: #1A1F2E; text-decoration: none; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── QUICK ACTIONS ── */
.quick-actions {
  background: var(--panel-bg);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.qa-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.qa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.qa-icon { font-size: 1.8rem; margin-bottom: 8px; }
.qa-label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.3; }

/* ── SECTION HEADING ── */
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-heading h2 { color: var(--text); margin-bottom: 14px; }
.section-heading p { max-width: 560px; margin: 0 auto; }

/* ── PRICING ── */
.pricing-intro {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.pricing-intro strong { color: var(--accent-light); }

.portal-card {
  background: linear-gradient(135deg, var(--panel-bg), #243060);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 48px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.portal-card-text { flex: 1; min-width: 260px; }
.portal-card-text .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.portal-card-text h3 { color: var(--text); margin-bottom: 10px; font-size: 1.5rem; }
.portal-card-text p { color: var(--text-muted); font-size: 0.9rem; }
.portal-card-price { text-align: center; }
.portal-card-price .amount { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.portal-card-price .period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.tier-card {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s;
}
.tier-card:hover { box-shadow: var(--shadow); }
.tier-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--panel-bg) 0%, #2A3560 100%);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1A1F2E;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.tier-number {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.tier-name { color: var(--text); margin-bottom: 8px; font-size: 1.4rem; }
.tier-price { margin-bottom: 16px; }
.tier-price .amount { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--accent-light); }
.tier-price .suffix { font-size: 0.85rem; color: var(--text-muted); margin-left: 4px; }
.tier-timeline {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tier-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.tier-deliverables { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.tier-deliverables li { font-size: 0.85rem; color: var(--text-muted); padding-left: 20px; position: relative; }
.tier-deliverables li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier-payment { font-size: 0.78rem; color: var(--text-muted); opacity: 0.7; margin-bottom: 20px; font-style: italic; }
.tier-cta { margin-top: auto; }

/* ── FEATURES / CONTENT SECTIONS ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.content-block h2 { color: var(--text); margin-bottom: 16px; }
.content-block p { margin-bottom: 16px; }
.content-block p:last-child { margin-bottom: 0; }

.icon-block {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.icon-block .big-icon { font-size: 5rem; margin-bottom: 20px; }
.icon-block p { font-size: 0.9rem; }

/* ── WHO THIS IS FOR ── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.who-card {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.who-card .icon { font-size: 2rem; margin-bottom: 12px; }
.who-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.who-card p { font-size: 0.88rem; }

/* ── HOW IT WORKS ── */
.steps { display: flex; flex-direction: column; gap: 24px; max-width: 660px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.step-text h3 { font-size: 1rem; color: var(--text); margin-bottom: 6px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.step-text p { font-size: 0.88rem; }

/* ── QUOTE / TESTIMONIAL ── */
.testimonial {
  background: var(--panel-bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 48px 0;
}
.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}
.testimonial cite { font-size: 0.85rem; color: var(--accent-light); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, #1D1440 0%, #25095a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--text); margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 32px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: #0D1220;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 0.85rem; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); text-decoration: none; }
.footer-socials { display: flex; gap: 14px; margin-top: 16px; }
.footer-socials a {
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.footer-socials a:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; }

/* ── INNER PAGE (legal/faq) ── */
.page-hero {
  background: linear-gradient(135deg, #121A30 0%, #1D1440 55%, #25095a 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--text); margin-bottom: 10px; }
.page-hero p { font-size: 0.9rem; }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.prose h2 { color: var(--text); font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { color: var(--text-muted); font-size: 1.1rem; margin: 24px 0 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.prose p { margin-bottom: 16px; font-size: 0.95rem; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; color: var(--text-muted); font-size: 0.95rem; }
.prose a { color: var(--accent-light); }

/* ── FAQ ── */
.faq-list { max-width: 740px; margin: 0 auto; }
details {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
details summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s;
  flex-shrink: 0;
}
details[open] summary::after { content: '−'; }
details .answer { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
details .answer p { margin-bottom: 10px; }
details .answer p:last-child { margin-bottom: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 16px; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); padding: 24px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .portal-card { flex-direction: column; text-align: center; padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 56px 0; }
}
