/* Maybridge Acquisitions — design system.
   Institutional deep-navy + royal-blue. Display: Space Grotesk. Body: Inter. */

:root {
  --ink: #0A0F1A;
  --navy-900: #0C1524;
  --navy-800: #112038;
  --navy-700: #17294659;
  --blue: #2F6BFF;
  --blue-bright: #5B8CFF;
  --blue-ink: #1E3A8A;
  --paper: #FFFFFF;
  --mist: #F3F6FB;
  --mist-2: #EAF0FA;
  --line: #E1E7F1;
  --ink-body: #1A2434;
  --slate: #53607A;
  --muted: #8A94A6;
  --green: #14B387;
  --amber: #E6A817;

  --radius-card: 14px;
  --radius-btn: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 40, .06), 0 1px 3px rgba(11, 20, 40, .05);
  --shadow-md: 0 10px 30px -12px rgba(11, 20, 40, .18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 20, 40, .35);

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-body);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.06rem; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .82rem 1.4rem; border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,107,255,.6); }
.btn-primary:hover { background: #2258e6; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: #0a1220; transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,26,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 1rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: .6rem; color: #fff; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.header-right { display: flex; align-items: center; gap: 1.2rem; }
.header-contact { display: flex; align-items: center; gap: 1.1rem; color: rgba(255,255,255,.78); font-size: .88rem; }
.header-contact a { display: inline-flex; align-items: center; gap: .4rem; }
.header-contact a:hover { color: #fff; }

/* locale switcher */
.locale-switch { display: inline-flex; padding: 3px; background: rgba(255,255,255,.08); border-radius: 999px; border: 1px solid rgba(255,255,255,.1); }
.locale-switch a {
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.7);
  padding: .28rem .66rem; border-radius: 999px; line-height: 1;
}
.locale-switch a.active { background: #fff; color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% -10%, #17294f 0%, var(--navy-900) 45%, var(--ink) 100%); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(120% 80% at 70% 0%, #000 30%, transparent 78%); pointer-events: none;
}
.hero .wrap { position: relative; padding-block: clamp(64px, 11vw, 118px); text-align: center; }
.hero-eyebrow { color: var(--blue-bright); justify-content: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.15rem); font-weight: 700; margin-top: 1.2rem; color: #fff; }
.hero h1 .mark { color: var(--blue-bright); }
.hero .sub { max-width: 640px; margin: 1.4rem auto 0; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.06); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; padding-block: 1.05rem; }
.trust-item { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; }
.trust-item .ic { color: var(--blue-bright); display: inline-flex; }
.trust-item .ic.star { color: var(--amber); }
.trust-item .ic.shield { color: var(--green); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 92px); }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .sub { margin-top: .9rem; color: var(--slate); font-size: 1.05rem; }
.lede { margin-top: 1.1rem; color: var(--slate); font-size: 1.06rem; max-width: 660px; }
.lede p + p { margin-top: 1rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 2.6rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cdd8ec; }
.card .icon-tile {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--navy-900); color: var(--blue-bright);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--slate); font-size: .94rem; }
.note-line { margin-top: 1.6rem; text-align: center; color: var(--slate); font-size: .94rem; }
.note-line strong { color: var(--ink-body); }

/* process icons row */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1rem; margin-top: 2.6rem; }
.step { text-align: center; }
.step .icon-round {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto .9rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-ink)); color: #fff; box-shadow: 0 10px 22px -12px rgba(47,107,255,.8);
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--slate); font-size: .9rem; }

.coverage-strip {
  margin-top: 2.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm);
}
.coverage-strip .label { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.coverage-strip .items { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; justify-content: center; margin-top: .9rem; }
.coverage-strip .items span { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-body); font-weight: 500; font-size: .94rem; }
.coverage-strip .items span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: inset 0 0 0 3px rgba(255,255,255,.9); }
.coverage-strip .line { text-align: center; margin-top: 1rem; color: var(--slate); font-size: .92rem; }

/* ---------- Partners band ---------- */
.partners { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #fff; }
.partners .wrap { padding-block: clamp(52px, 7vw, 78px); text-align: center; }
.partners h2 { color: #fff; }
.partners .body { max-width: 640px; margin: 1.1rem auto 0; color: rgba(255,255,255,.78); }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.6rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 500; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.chip .ic { color: var(--blue-bright); display: inline-flex; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.6rem; margin-top: 2.6rem; align-items: start; }
.contact-info h3 { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.contact-line { display: flex; align-items: center; gap: .6rem; color: var(--ink-body); font-weight: 500; margin-bottom: .7rem; }
.contact-line .ic { color: var(--blue); }
.contact-info .resp { margin-top: 1.6rem; }
.contact-info .resp p { color: var(--slate); font-size: .94rem; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.7rem; box-shadow: var(--shadow-md); }
.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--slate); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink-body);
  padding: .72rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,.14); }

.consent { display: flex; gap: .65rem; align-items: flex-start; margin: .4rem 0 1.1rem; padding: .85rem .95rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-btn); }
.consent input { margin-top: .18rem; width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.consent label { font-size: .8rem; color: var(--slate); line-height: 1.5; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: .9rem; }
.site-footer .wrap { padding-block: 2.6rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-links a:hover { color: #fff; }
.footer-sms { margin-top: 1.6rem; padding: .9rem 1.1rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-legal { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.09); display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--navy-900); color: #fff; }
.legal-hero .wrap { padding-block: clamp(48px, 7vw, 76px); }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.legal-hero .meta { margin-top: .8rem; color: rgba(255,255,255,.6); font-size: .9rem; }
.legal-body { padding-block: clamp(44px, 6vw, 72px); }
.legal-body .wrap { max-width: 800px; }
.legal-body h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin-top: 1.6rem; font-size: 1.05rem; }
.legal-body p, .legal-body li { color: var(--slate); font-size: 1rem; }
.legal-body p { margin-top: .9rem; }
.legal-body ul { margin-top: .9rem; padding-left: 1.2rem; }
.legal-body li { margin-top: .4rem; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-body .callout { margin-top: 1.4rem; padding: 1.1rem 1.3rem; background: var(--mist); border-left: 3px solid var(--blue); border-radius: 8px; }
.legal-body .callout p { margin-top: .4rem; color: var(--ink-body); }
.legal-body .callout p:first-child { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .header-contact { display: none; }
}
@media (max-width: 560px) {
  .card-grid, .steps { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }
