:root {
  color-scheme: light;
  --red: #f01920;
  --red-dark: #c81016;
  --red-deep: #a20b10;
  --ink: #191b20;
  --charcoal: #272a30;
  --slate: #5d6169;
  --line: #dedfe3;
  --mist: #f3f4f6;
  --paper: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
}

.skip-link:focus { transform: translateY(0); }

.regulatory-bar {
  display: flex;
  justify-content: center;
  gap: .6rem;
  padding: .48rem 1.25rem;
  background: var(--ink);
  color: #f5f5f5;
  font-size: .82rem;
  letter-spacing: .02em;
}

.regulatory-bar strong { color: #ff6e72; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 84px;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand { display: block; line-height: 0; }
.brand img { width: 190px; height: auto; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 2.2vw, 1.8rem); }
nav a { color: #3e424a; font-size: .93rem; font-weight: 720; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--red); }
.nav-contact { padding: .6rem .9rem; border: 1px solid var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  min-height: 680px;
  padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.hero::after {
  position: absolute;
  top: -20rem;
  right: -14rem;
  width: 38rem;
  height: 38rem;
  border: 7rem solid rgba(240, 25, 32, .12);
  border-radius: 50%;
  content: "";
}

.hero-content, .credential-panel { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 1.25rem;
  color: #ff676c;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--red-dark); }
h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.2rem, 7.6vw, 7rem);
  line-height: .93;
  letter-spacing: -.065em;
}

h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }

.hero-copy {
  max-width: 48rem;
  margin: 2rem 0 2.3rem;
  color: #d6d7db;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 820;
  text-decoration: none;
}

.button-primary { background: var(--red-dark); color: var(--paper); }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-deep); }
.button-secondary { border-color: #60636a; color: var(--paper); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--paper); }

.credential-panel { padding: 1.5rem; background: rgba(255, 255, 255, .07); border-top: 3px solid var(--red); }

.panel-label {
  margin: 0 0 1rem;
  color: var(--slate);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.credential-panel .panel-label { color: #b8bac0; }
.credential-panel dl { margin: 0; }
.credential-panel dl div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.credential-panel dl div:last-child { border-bottom: 0; }
.credential-panel dt { color: #b8bac0; font-size: .88rem; }
.credential-panel dd { margin: 0; font-weight: 780; text-align: right; }

.identity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.identity-strip p { margin: 0; padding: 1.35rem; border-right: 1px solid var(--line); font-size: .88rem; font-weight: 780; text-align: center; }
.identity-strip p:last-child { border-right: 0; }

.section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 1.25rem;
}

.section-heading > p:last-child { max-width: 31rem; color: var(--slate); }
.section-heading.compact h2 { max-width: 12ch; }
.about-copy, .solution-copy { max-width: 47rem; }
.about-copy p, .solution-copy p { margin: 0 0 1.35rem; color: #4a4e56; }
.lead { color: var(--ink) !important; font-size: clamp(1.18rem, 2vw, 1.5rem); line-height: 1.48; }

.services { max-width: none; background: var(--mist); }
.services > * { width: 100%; }
.services .section-heading { justify-self: end; max-width: calc(var(--max) * .42); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc(var(--max) * .58); }
.service-card { min-height: 240px; padding: 1.7rem; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card:nth-child(even) { border-right: 0; }
.service-card:nth-child(n+3) { border-bottom: 0; }
.service-card p { margin: .9rem 0 0; color: var(--slate); }
.card-number { display: block; margin-bottom: 2.5rem; color: var(--red); font-size: .76rem; font-weight: 850; }

.partnerships {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(4rem, 10vw, 9rem);
  padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--charcoal);
  color: var(--paper);
}

.partnership-intro h2 { max-width: 13ch; }
.partnership-intro > p:not(.eyebrow) { max-width: 45rem; color: #ccced3; }
.partnership-steps { align-self: center; margin: 0; padding: 0; list-style: none; }
.partnership-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid #50535a; }
.partnership-steps li:last-child { border-bottom: 1px solid #50535a; }
.partnership-steps li > span { color: #ff676c; font-size: .78rem; font-weight: 850; }
.partnership-steps p { margin: .5rem 0 0; color: #bbbdc3; }
.solutions { border-bottom: 1px solid var(--line); }

.compliance { align-items: center; }
.compliance-card { padding: clamp(1.6rem, 4vw, 3rem); background: var(--ink); color: var(--paper); border-top: 5px solid var(--red); }
.compliance-card .panel-label { color: #b7bac0; }
.compliance-card h3 { font-size: clamp(1.8rem, 4vw, 3rem); }
.compliance-card p:not(.panel-label) { color: #cfd1d5; }
.compliance-card ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.compliance-card li { padding: .55rem 0; border-top: 1px solid #464950; }
.compliance-card a { color: var(--paper); text-decoration-color: var(--red); text-underline-offset: .2em; }

.contact {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(3rem, 10vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) max(1.25rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.contact h2 { max-width: 11ch; }
.contact > div > p:not(.eyebrow) { max-width: 42rem; color: #c9cbd0; }
.contact .button { margin-top: 1.25rem; }
address { align-self: end; padding: 1.4rem; border-left: 3px solid var(--red); color: #d8dade; font-style: normal; }
address p { margin: 0 0 1rem; }
address p:last-child { margin-bottom: 0; }
address a { text-decoration-color: var(--red); text-underline-offset: .2em; }

.regulatory-information {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem 5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.regulatory-information h2 { max-width: 16ch; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.regulatory-information dl { margin: 0; }
.regulatory-information dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.regulatory-information dt { color: var(--slate); }
.regulatory-information dd { margin: 0; font-weight: 760; }
.document-note { grid-column: 2; margin: 0; color: var(--slate); font-size: .9rem; }
.document-note a { color: var(--red-dark); }

footer {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 3rem;
  padding: 4rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: #0f1013;
  color: #aaadb4;
  font-size: .78rem;
}

.footer-brand img { width: 150px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: #d6d7db; }
.footer-legal p { margin: 0 0 .8rem; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid #2b2d32; }

@media (max-width: 900px) {
  nav a:not(.nav-contact) { display: none; }
  .hero, .section, .partnerships, .contact, .regulatory-information { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .credential-panel { max-width: 520px; }
  .identity-strip { grid-template-columns: repeat(2, 1fr); }
  .identity-strip p:nth-child(2) { border-right: 0; }
  .identity-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services .section-heading { justify-self: start; max-width: none; }
  .service-grid { max-width: none; }
  .document-note { grid-column: 1; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .regulatory-bar { align-items: center; flex-direction: column; gap: 0; }
  .site-header { min-height: 72px; }
  .brand img { width: 155px; }
  .hero { padding-top: 5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .identity-strip { grid-template-columns: 1fr; }
  .identity-strip p { border-right: 0; border-bottom: 1px solid var(--line); }
  .identity-strip p:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .regulatory-information dl div { grid-template-columns: 1fr; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
