/* ===== Design tokens ===== */
:root {
  --ink: #101d31;          /* deep navy-charcoal for text */
  --ink-soft: #46546c;     /* secondary text */
  --navy: #16294a;         /* brand navy */
  --navy-deep: #0b1730;
  --accent: #2a4773;       /* restrained deep slate-blue */
  --accent-deep: #1d3457;
  --gold: #9a7b3f;         /* understated muted gold for fine accents */
  --gold-soft: #b89a5e;
  --bg: #ffffff;
  --bg-alt: #f4f5f3;       /* warm off-white, paper-like */
  --line: #e2e3df;
  --white: #ffffff;
  --radius: 4px;
  --radius-lg: 6px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(16, 29, 49, .05), 0 2px 8px rgba(16, 29, 49, .04);
  --shadow-md: 0 6px 26px rgba(16, 29, 49, .09);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Spectral', Georgia, 'Times New Roman', serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== Typography helpers ===== */
.eyebrow, .section-eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-eyebrow { padding-bottom: 14px; border-bottom: 1px solid var(--line); display: inline-block; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; margin-bottom: 18px; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; font-family: var(--font); letter-spacing: 0; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.section .lead { margin-bottom: 12px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 3px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
}
.brand-text { font-size: 1.08rem; font-family: var(--font-serif); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.95rem; color: var(--ink-soft); font-weight: 500; transition: color .18s; }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 0.98rem; font-family: var(--font); letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: var(--radius);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9cbc4; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ===== Hero ===== */
.hero {
  padding: 104px 0 92px;
  background:
    radial-gradient(900px 420px at 88% -12%, rgba(42, 71, 115, .06), transparent 62%),
    linear-gradient(180deg, #fafaf8 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 17ch; margin-bottom: 26px; font-weight: 500; }
.hero-sub { font-size: 1.22rem; color: var(--ink-soft); max-width: 58ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; letter-spacing: 0.01em; }

/* ===== Trust strip ===== */
.trust-strip { background: var(--navy-deep); color: #fff; padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.trust-label { font-size: 0.95rem; color: #a9b4c9; }

/* ===== Cards (track record) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  border-top: 2px solid var(--navy);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.card-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.fineprint { margin-top: 28px; font-size: 0.92rem; color: var(--ink-soft); }

/* ===== Criteria grid ===== */
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 34px; margin-top: 44px; }
.criteria-item { padding-top: 22px; border-top: 2px solid var(--gold); }
.criteria-item h4 { margin-bottom: 8px; }
.criteria-item p { color: var(--ink-soft); font-size: 0.98rem; }

/* ===== Process ===== */
.process-list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.process-list li { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process-list li:last-child { border-bottom: none; }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1.1rem;
}
.process-list h4 { margin-bottom: 6px; }
.process-list p { color: var(--ink-soft); }

/* ===== Empathy block ===== */
.empathy { background: var(--navy-deep); color: #fff; padding: 72px 0; }
.empathy blockquote { margin: 0; }
.empathy blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 500; font-style: italic; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 20px; line-height: 1.3;
}
.empathy cite { font-style: normal; font-size: 1.1rem; color: #bfc9da; display: block; max-width: 62ch; }

/* ===== FAQ ===== */
.faq { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--navy); }
.faq-item p { color: var(--ink-soft); padding: 0 44px 24px 0; margin: 0; font-size: 1.02rem; }

/* ===== Contact ===== */
.contact { background: linear-gradient(180deg, #ffffff 0%, #f4f5f3 100%); }
.contact .lead { margin: 0 auto 30px; }
.contact-actions { margin-bottom: 22px; }
.contact-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: var(--ink-soft); font-size: 1rem; }
.contact-meta a { color: var(--accent); font-weight: 600; }
.contact-meta .dot { color: #c2ccdd; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #aebbd2; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-brand { color: #fff; font-weight: 600; font-size: 1.15rem; font-family: var(--font-serif); }
.footer-note { font-size: 0.95rem; }
.footer-copy { font-size: 0.85rem; color: #7e8db0; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards, .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { gap: 20px; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 68px 0 60px; }
}
@media (max-width: 600px) {
  .cards, .criteria-grid, .trust-grid { grid-template-columns: 1fr; }
  .trust-item { flex-direction: row; align-items: baseline; gap: 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
