/* Tech Hub — services page for Compass Recovery.
   Brand: Navy #00296b primary, Royal #003f88, Blue #00509d, Tech Gold #fdc500 accent-only, white ground.
   Type: Manrope headlines, Inter body. Light theme by brand rule. */

:root {
  --navy: #00296b;
  --navy-deep: #001845;
  --royal: #003f88;
  --blue: #00509d;
  --electric: #0066ff;
  --gold: #fdc500;
  --gold-bright: #ffd500;
  --white: #ffffff;
  --gray: #f2f4f7;
  --gray-2: #e6eaf0;
  --slate: #4a5568;
  --ink: #0b1a36;
  --ink-soft: #2e3a4f;
  --ink-mute: #6b7588;
  --line: #dce2ec;
  --line-soft: #e9edf3;
  --on-navy: #eaf0fa;
  --on-navy-mute: #a9bad6;

  --low: #1f6b4a;  --low-bg: #e3f2ea;
  --med: #7a5a0f;  --med-bg: #fbf1cf;
  --high: #9a2e38; --high-bg: #fae6e8;

  --head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(0, 41, 107, .06), 0 14px 34px -22px rgba(0, 41, 107, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 24, 69, .7); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--on-navy-mute); }
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__cta { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-bright); box-shadow: 0 10px 24px -14px rgba(253, 197, 0, .8); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--royal); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--gray); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--sm { padding: 8px 16px; font-size: 13.5px; }
.btn--lg { padding: 14px 30px; font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--gray { background: var(--gray); border-block: 1px solid var(--line-soft); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--deep { background: var(--navy-deep); color: var(--on-navy); }
.section--deep h2, .section--deep h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--royal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--gold); border-radius: 2px; }
.section--navy .eyebrow, .section--deep .eyebrow { color: var(--gold); }

.section__title { font-weight: 700; font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 16px; max-width: 24ch; }
.section__title.center { margin-inline: auto; }
.section__intro { font-size: clamp(16.5px, 1.8vw, 19px); color: var(--ink-soft); max-width: 66ch; }
.section__intro.center { margin-inline: auto; }
.section--navy .section__intro, .section--deep .section__intro { color: var(--on-navy-mute); }
.fineprint { font-size: 13px; color: var(--ink-mute); margin-top: 26px; max-width: 80ch; }
.section--navy .fineprint, .section--deep .fineprint { color: var(--on-navy-mute); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(0, 80, 157, .10), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(253, 197, 0, .12), transparent 60%),
    var(--white);
  padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(38px, 5.2vw, 58px); margin: 10px 0 24px; color: var(--navy);
}
.hero__title em { font-style: normal; color: var(--royal); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em;
  background: var(--gold); z-index: -1; opacity: .9; border-radius: 2px;
}
.hero__lede { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { margin-top: 28px; font-size: 13.5px; color: var(--ink-mute); letter-spacing: .02em; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero__trust span + span::before { content: "·"; margin-right: 10px; color: var(--gold); font-weight: 700; }

.hero__card {
  background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: 0 30px 60px -36px rgba(0, 24, 69, .8);
  position: relative; overflow: hidden;
}
.hero__card::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(253,197,0,.22), transparent 65%);
}
.hero__card h3 { color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.hero__card ol { list-style: none; display: grid; gap: 14px; position: relative; }
.hero__card li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--on-navy); }
.hero__card li b { color: var(--white); font-weight: 600; }
.hero__card .n { font-family: var(--head); font-weight: 800; color: var(--gold); font-size: 14px; padding-top: 2px; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.principle {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  border-top: 3px solid var(--navy);
}
.principle .n { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--royal); }
.principle h3 { font-size: 19px; font-weight: 700; }
.principle p { font-size: 15px; color: var(--ink-soft); }
.principle--wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  grid-template-rows: auto auto; column-gap: 36px; row-gap: 8px; align-content: start;
  border-top-color: var(--gold);
}
.principle--wide .n { grid-column: 1; grid-row: 1; }
.principle--wide h3 { grid-column: 1; grid-row: 2; font-size: 22px; }
.principle--wide p { grid-column: 2; grid-row: 1 / 3; align-self: center; }

/* ---------- Services ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; font-size: 13.5px; color: var(--ink-mute); align-items: center; }
.legend .role { cursor: default; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; margin-top: 36px; }
.cat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 24px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.cat:hover { transform: translateY(-3px); border-color: var(--royal); box-shadow: 0 20px 40px -28px rgba(0, 41, 107, .5); }
.cat .idx { font-family: var(--head); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: var(--royal); }
.cat h3 { font-size: 18.5px; font-weight: 700; }
.cat .desc { font-size: 14.5px; color: var(--ink-soft); }
.cat ul { padding-left: 18px; display: grid; gap: 5px; margin-top: 2px; }
.cat li { font-size: 14px; color: var(--ink-soft); }
.cat li::marker { color: var(--gold); }
.cat .foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.role { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; line-height: 1.5; }
.r-adv { color: var(--navy); background: var(--gray); border-color: var(--line); }
.r-os { color: var(--white); background: var(--royal); border-color: var(--royal); }
.r-ptr { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.r-combo { color: var(--navy); background: var(--white); border-color: var(--royal); }
.r-gate { color: var(--high); background: var(--high-bg); border-color: transparent; }

/* ---------- Starting points ---------- */
.starts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.start {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.start h3 { font-size: 18px; font-weight: 700; }
.start p { font-size: 14.5px; color: var(--on-navy-mute); }
.start .tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.tag--nophi { color: #b9f0d2; background: rgba(31, 107, 74, .45); }
.tag--adv { color: var(--gold); background: rgba(253, 197, 0, .14); }
.tag--verify { color: #ffe08a; background: rgba(122, 90, 15, .5); }
.start .mvp { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: var(--on-navy); }
.start .mvp b { color: var(--gold); font-weight: 700; letter-spacing: .06em; font-size: 11px; text-transform: uppercase; display: block; margin-bottom: 4px; }

.absent {
  margin-top: 30px; padding: 20px 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06); border-left: 3px solid var(--gold); font-size: 15px; color: var(--on-navy);
  max-width: 88ch;
}
.absent b { color: var(--white); }

/* ---------- Path ---------- */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; position: relative; list-style: none; padding: 0; }
.path li::marker { content: ""; }
.path::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: var(--line); }
.step { position: relative; padding: 0 18px 0 0; }
.step .dot {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy);
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 15px;
  position: relative; z-index: 1; margin-bottom: 16px;
}
.step.is-now .dot { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); box-shadow: 0 0 0 6px rgba(253,197,0,.25); }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); }
.step .now { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); margin-bottom: 6px; }

/* ---------- Questions ---------- */
.qgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.q {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; box-shadow: var(--shadow);
}
.q .n { font-family: var(--head); font-weight: 800; color: var(--white); background: var(--navy); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.q .t { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); margin-bottom: 6px; }
.q p { font-size: 16px; color: var(--ink); font-weight: 500; line-height: 1.5; }

/* ---------- Guardrails ---------- */
.guards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; margin-top: 40px; }
.guard { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.guard .mark { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 3px; }
.guard h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.guard p { font-size: 15px; color: var(--on-navy-mute); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
}
.person .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--head); font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.person h3 { font-size: 20px; font-weight: 700; }
.person .title { font-size: 14px; color: var(--ink-mute); margin-bottom: 14px; }
.person .lines { display: grid; gap: 6px; font-size: 15px; }
.person .lines a { color: var(--royal); font-weight: 500; }
.person .lines a:hover { color: var(--electric); }
.person .actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy); padding-top: clamp(44px, 6vw, 72px); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand img { height: 28px; width: auto; }
.footer__brand .tag { margin-top: 16px; font-family: var(--head); font-weight: 700; color: var(--gold); font-size: 15px; letter-spacing: .01em; }
.footer__brand p { color: var(--on-navy-mute); font-size: 14.5px; margin-top: 12px; max-width: 46ch; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer__cols h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--on-navy-mute); margin-bottom: 12px; font-family: var(--sans); }
.footer__cols a { display: block; color: var(--on-navy); font-size: 14.5px; padding: 4px 0; transition: color .2s var(--ease); }
.footer__cols a:hover { color: var(--gold); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px 30px; font-size: 12.5px; color: var(--on-navy-mute); display: grid; gap: 8px; }
.footer__legal b { color: var(--on-navy); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .starts { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
  .path::before { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 560px; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: 1fr; }
  .guards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .principles, .starts { grid-template-columns: 1fr; }
  .principle--wide { display: flex; flex-direction: column; border-top-color: var(--navy); }
  .principle--wide h3 { font-size: 19px; }
  .path { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr; }
  .nav__inner { height: 60px; gap: 12px; }
  .nav__cta { margin-left: auto; }
  .person { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(34px, 10vw, 48px); }
}
@media (max-width: 420px) {
  .path { grid-template-columns: 1fr; }
}

@media print {
  .nav, .btn { display: none !important; }
  .section { padding: 28px 0; }
  .section--navy, .section--deep, .footer, .hero__card { background: var(--white) !important; color: var(--ink) !important; border: 1px solid var(--line); }
}
