/* Shared styles for content pages (FAQ, How it works, comparisons). Matches the blog post look. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #145f78; --navy-dark: #0f4a5e; --amber: #E8C080; --amber-dim: #D4AA78;
  --white: #FAF7F2; --cream: #F5EFE6; --blue-grey: #A8C4D4; --muted-blue: #5B84A0;
}
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--navy); color: var(--white); min-height: 100vh; overflow-x: hidden;
}
a { color: inherit; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(20,95,120,0.97) 0%, transparent 100%);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 48px; height: 48px; border-radius: 10px; }
.nav-wordmark { font-weight: 300; font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: 14px; letter-spacing: 0.04em; text-decoration: none; padding: 10px 16px; transition: color 0.2s; }
.nav-link:hover { color: var(--amber); }
.nav-cta {
  background: var(--amber); color: var(--navy); font-weight: 500; font-size: 14px; letter-spacing: 0.04em;
  padding: 10px 22px; border-radius: 100px; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--amber-dim); }

main { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 140px 40px 80px; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-blue); margin-bottom: 20px; }
h1 {
  font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 24px;
}
.lead { font-size: 20px; line-height: 1.6; color: var(--white); margin-bottom: 40px; }
.body { font-size: 17px; line-height: 1.75; color: rgba(250,247,242,0.92); }
.body p, .body ul, .body ol { margin-bottom: 20px; }
.body ul, .body ol { padding-left: 22px; }
.body li { margin-bottom: 8px; }
.body h2 {
  font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25; margin: 52px 0 18px;
}
.body h3 { font-size: 18px; font-weight: 500; color: var(--amber); margin: 32px 0 10px; }
.body strong { font-weight: 500; color: var(--white); }
.body a { color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(232,192,128,0.4); }
.body a:hover { border-bottom-color: var(--amber); }
.note { font-size: 14px; color: var(--blue-grey); font-style: italic; }

.table-wrap { overflow-x: auto; margin: 8px 0 28px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
th { font-weight: 500; color: var(--blue-grey); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
td:first-child { color: var(--blue-grey); width: 30%; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.12); padding: 6px 0 4px; }
.faq-item h2 { font-family: inherit; font-size: 19px; font-weight: 500; margin: 22px 0 10px; color: var(--amber); }
.faq-item p { color: var(--white); }

.cta-box {
  margin-top: 56px; padding: 32px; border-radius: 16px; text-align: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}
.cta-box p { margin-bottom: 18px; font-size: 17px; }
.cta-box a.btn {
  display: inline-block; margin: 4px 6px; background: var(--amber); color: var(--navy); font-weight: 500;
  padding: 12px 24px; border-radius: 100px; text-decoration: none; border: 0;
}
.cta-box a.btn:hover { background: var(--amber-dim); }

footer {
  position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.12); padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a, .footer-copy { font-size: 13px; color: rgba(168,196,212,0.55); text-decoration: none; }
.footer-links a:hover { color: var(--blue-grey); }

@media (max-width: 768px) {
  nav { padding: 16px 16px; }
  .nav-wordmark { display: none; }
  .nav-link { padding: 10px 8px; }
  main { padding: 120px 16px 60px; }
  .lead { font-size: 18px; }
  th, td { padding: 12px 10px; }
  footer { flex-direction: column; align-items: flex-start; padding: 32px 16px; }
}
