/* Quantum Market Hub LLC — corporate site */

:root {
  --navy: #101d31;
  --navy-2: #17293f;
  --ink: #23303f;
  --body: #4a5666;
  --muted: #7b8798;
  --line: #e3e7ed;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --gold: #b08b3f;
  --gold-soft: #f3ecdd;
  --radius: 4px;
  --wrap: 1140px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font: 600 clamp(34px, 5vw, 54px)/1.14 var(--serif); letter-spacing: -.02em; }
h2 { font: 600 clamp(26px, 3.4vw, 38px)/1.2 var(--serif); letter-spacing: -.015em; }
h3 { font-size: 19px; line-height: 1.35; }
p { margin: 0 0 1.05em; }
ul { margin: 0 0 1.05em; padding-left: 20px; }
li { margin-bottom: .5em; }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.eyebrow {
  display: block;
  font: 600 12px/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.lede { font-size: 19px; line-height: 1.6; color: var(--body); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 600 16px/1.2 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font: 500 10px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font: 500 15px/1 var(--sans);
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font: 600 15px/1 var(--sans);
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #1d3350 100%);
  color: #fff;
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,139,63,.22) 0%, rgba(176,139,63,0) 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .eyebrow { color: #d9bd7e; }
.hero-lede { font-size: 19px; line-height: 1.62; color: rgba(255,255,255,.82); max-width: 62ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-fact { background: rgba(255,255,255,.03); padding: 24px 26px; }
.hero-fact dt { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #d9bd7e; margin-bottom: 8px; }
.hero-fact dd { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.8); }

/* page header (inner pages) */
.page-head {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.page-head h1 { color: #fff; margin-bottom: .35em; }
.page-head p { color: rgba(255,255,255,.8); font-size: 18px; max-width: 68ch; margin: 0; }

/* ---------- sections ---------- */

section { padding: 84px 0; }
section.soft { background: var(--bg-soft); }
section.tight { padding: 60px 0; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 18px; margin-bottom: 0; }

/* ---------- pillars / cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: #cfd6e0; box-shadow: 0 10px 30px rgba(16, 29, 49, .07); transform: translateY(-2px); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 38px; height: 38px; color: var(--gold); margin-bottom: 20px; }
.card-link { display: inline-block; margin-top: 14px; font: 600 15px/1 var(--sans); color: var(--gold); }
.card-link::after { content: " →"; }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font: 600 14px/1 var(--sans);
  margin-bottom: 18px;
}

/* ---------- service list ---------- */

.svc {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  padding: 36px 0;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0; font-size: 21px; color: var(--ink); }
.svc-body p:last-child { margin-bottom: 0; }
.svc-list { list-style: none; padding: 0; margin: 14px 0 0; columns: 2; column-gap: 34px; }
.svc-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 16px;
  break-inside: avoid;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
}

/* ---------- split ---------- */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.split-media {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.split-media h3 { font-size: 17px; letter-spacing: .01em; }
.spec { list-style: none; margin: 0; padding: 0; }
.spec li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec li:last-child { border-bottom: 0; }
.spec span:first-child { color: var(--muted); }
.spec span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

/* numbered variant: "01 — question", left aligned */
.spec-qa li { justify-content: flex-start; gap: 14px; align-items: baseline; }
.spec-qa span:first-child {
  flex: 0 0 auto;
  font: 600 12px/1 var(--sans);
  letter-spacing: .1em;
  color: var(--gold);
}
.spec-qa span:last-child { text-align: left; font-weight: 500; }

/* ---------- jurisdictions ---------- */

.juris { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.juris-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
}
.flag-badge {
  display: inline-block;
  font: 600 11px/1 var(--sans);
  letter-spacing: .12em;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid #e4d7bb;
  border-radius: 2px;
  padding: 6px 9px;
  vertical-align: middle;
}
.juris-item .flag-badge { margin-bottom: 16px; }
.svc h3 .flag-badge { display: block; width: fit-content; margin: 0 0 10px; }
.juris-item h3 { font-size: 17px; margin-bottom: .45em; }
.juris-item p { font-size: 15px; margin-bottom: 0; color: var(--body); }
.juris-note { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* ---------- steps ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 26px 0 0; border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font: 600 13px/1 var(--sans);
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: .5em; }
.step p { font-size: 15px; margin-bottom: 0; }

/* ---------- callout ---------- */

.callout {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.callout h2 { color: #fff; margin-bottom: .4em; }
.callout p { color: rgba(255,255,255,.78); margin-bottom: 0; max-width: 62ch; }

.note {
  border-left: 3px solid var(--gold);
  background: var(--bg-soft);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
}
.note p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-block { margin-bottom: 30px; }
.contact-block h3 { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .5em; }
.contact-block p { margin-bottom: 0; font-size: 17px; color: var(--ink); }
.contact-block a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-block a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font: 600 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #d9bd7e; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer-about { margin-top: 18px; max-width: 42ch; line-height: 1.6; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,.5);
}
.footer-disclaimer { margin-top: 16px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.44); max-width: 96ch; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .grid-3, .juris { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 26px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .callout { grid-template-columns: 1fr; padding: 40px 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:hover, .nav-links a.is-active { border-bottom-color: var(--line-soft); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .grid-3, .grid-2, .juris, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .svc-list { columns: 1; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 36px; }
}
