/* Shared styles for service and insight pages (matches the homepage) */
:root {
  --cobalt: #036BB3;
  --cobalt-deep: #02518A;
  --ink: #1A2233;
  --ink-soft: #4A5468;
  --paper: #FFFFFF;
  --blush: #F6ECE6;
  --gold: #8A5F22;
  --line: rgba(26,34,51,.15);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --wrap: 72rem;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 46rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--cobalt); color: #fff; font-weight: 600; text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid var(--cobalt); }
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); }
.btn-outline { background: transparent; color: var(--cobalt-deep); }
.btn-outline:hover { background: var(--cobalt); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; text-decoration: none; }
.header-links { display: flex; gap: 0.5rem; }
.site-header .btn { padding: 0.45rem 0.95rem; font-size: 0.9rem; }

/* Breadcrumb */
.crumbs { font-size: 0.9rem; color: var(--ink-soft); padding-top: 1.5rem; }
.crumbs a { color: var(--cobalt-deep); }

/* Page hero */
.page-hero { padding: 2.5rem 0 4rem; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 3.5rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 1.25rem; }
.page-hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }
.page-hero .lede strong { color: var(--ink); font-weight: 600; }
.hero-photo { border-radius: 8px; overflow: hidden; background: var(--cobalt); }

/* Sections */
section { padding: 5rem 0; }
.tint { background: var(--blush); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.85rem; }
.section-head p { color: var(--ink-soft); }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }

/* Card lists */
.grid-3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.grid-3 h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.grid-3 h3::before { content: ""; display: block; width: 2rem; height: 3px; background: var(--gold); margin-bottom: 1rem; }
.grid-3 p { color: var(--ink-soft); }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--cobalt); padding-top: 1rem; }
.steps li::before { content: "Step " counter(step); display: block; font-size: 0.9rem; font-weight: 600; color: var(--cobalt-deep); margin-bottom: 0.4rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; background: #fff; }
caption { text-align: left; font-weight: 600; padding-bottom: 0.75rem; }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
thead th { font-weight: 600; background: var(--blush); }
tbody th { font-weight: 600; width: 22%; }
td.yes { color: var(--ink); }
.highlight { background: rgba(3,107,179,.06); }

/* Proof */
.proof { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.proof strong { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.proof li { color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cobalt); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin-top: 0.75rem; }

/* Article */
.article { padding-top: 2.5rem; }
.article h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.article .meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 2rem; }
.answer { background: var(--blush); border-left: 4px solid var(--cobalt); padding: 1.5rem 1.75rem; border-radius: 0 8px 8px 0; margin-bottom: 2.5rem; }
.answer p { color: var(--ink); }
.answer p + p { margin-top: 0.75rem; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 3rem 0 1rem; }
.article h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.article p, .article li { color: var(--ink-soft); }
.article p + p { margin-top: 1rem; }
.article ul, .article ol { padding-left: 1.25rem; margin: 1rem 0; }
.article li + li { margin-top: 0.4rem; }
.article strong { color: var(--ink); }
.article table { margin: 1.5rem 0; }
.inline-cta { margin: 2.5rem 0; padding: 1.5rem 1.75rem; border: 1.5px solid rgba(3,107,179,.3); border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.inline-cta p { color: var(--ink); font-weight: 500; max-width: 32rem; }
.sources { font-size: 0.9rem; }
.sources li { color: var(--ink-soft); word-break: break-word; }
.author { display: flex; gap: 1.25rem; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author p { margin: 0; }

/* Contact band */
.contact { background: var(--cobalt); color: #fff; }
.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.contact p { color: rgba(255,255,255,.88); max-width: 36rem; font-size: 1.12rem; }
.contact .btn { background: #fff; color: var(--cobalt-deep); border-color: #fff; }
.contact .btn:hover { background: var(--blush); border-color: var(--blush); }
.contact .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.contact .btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.contact a:focus-visible { outline-color: #fff; }

/* Footer */
footer { padding: 2rem 0; font-size: 0.9rem; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-links a { color: var(--cobalt-deep); text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 500; }

/* Sticky call to action (mobile) */
.sticky-cta { display: none; }

@media (max-width: 960px) {
  .grid-3, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .page-hero .wrap, .grid-3, .proof, .steps { grid-template-columns: 1fr; }
  .page-hero .wrap { gap: 2rem; }
  .hero-photo { max-width: 18rem; }
  section { padding: 3.5rem 0; }
  .brand { font-size: 1.35rem; }
  .site-header .btn { padding: 0.45rem 0.8rem; font-size: 0.85rem; }
  th, td { padding: 0.7rem 0.6rem; font-size: 0.92rem; }
  .sticky-cta { display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 10; background: var(--cobalt); color: #fff; text-align: center; font-weight: 600; text-decoration: none; padding: 0.85rem 1rem; border-radius: 999px; box-shadow: 0 6px 20px rgba(26,34,51,.3); }
  footer { padding-bottom: 5.5rem; }
}
@media (max-width: 420px) {
  .header-links .btn-outline { display: none; }
}
