:root {
  --ink: #1b1d21;
  --muted: #5b616b;
  --line: #d5dae2;
  --page: #eef1f5;
  --white: #fff;
  --header: #111318;
  --header-ink: #f4f5f7;
  --accent: #9b2330;
  --accent-dark: #6e1822;
  --ok-bg: #e8f5ec;
  --ok-ink: #1a5c2e;
  --wrap: 1120px;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: Archivo, "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--white);
}

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

a { color: var(--accent); }

a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 0.85rem; }

h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin: 0 0 0.75rem; }

h3 { font-size: 1.12rem; margin: 0 0 0.4rem; letter-spacing: 0; }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.75rem));
  margin: 0 auto;
}

.narrow { max-width: 40rem; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 20;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; color: var(--white); }

.site-header {
  background: var(--header);
  color: var(--header-ink);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.35rem;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--header-ink);
  min-width: 0;
}

.brand:hover { color: var(--header-ink); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  background: var(--header);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 245, 247, 0.7);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 1.15rem;
}

.nav a {
  text-decoration: none;
  color: rgba(244, 245, 247, 0.88);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  letter-spacing: 0.04em;
}

.nav-cta:hover { background: var(--accent-dark); }

.hero {
  display: block;
  background: var(--header);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 28rem;
}

.hero-main {
  color: var(--white);
  padding: 4.25rem 3.25rem 4.4rem 0;
}

.hero-main h1 { color: var(--white); max-width: 11em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.lede {
  font-size: 1.15rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.72rem 1.2rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 0.98rem;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--header);
}

.btn-solid {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.hero-aside {
  background: var(--page);
  color: var(--ink);
  padding: 2.75rem 0 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid transparent;
}

.hero-aside-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero-services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-services li { border-top: 1px solid var(--line); }

.hero-services a {
  display: block;
  padding: 0.95rem 0 0.95rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-services a:hover { color: var(--accent); }

.hero-services li:last-child { border-bottom: 1px solid var(--line); }

.section { padding: 4rem 0; }

.section-alt { background: var(--page); }

.section-intro {
  max-width: 40rem;
  color: var(--muted);
}

.service-rows {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  gap: 1.5rem 2.25rem;
  padding: 1.6rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin: 0;
  font-size: 1.2rem;
}

.service-row p:last-child,
.sublist { margin-bottom: 0; }

.sublist {
  margin: 0.75rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink);
}

.sublist li { margin: 0 0 0.25rem; }

.industry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.industry-item {
  padding: 1.35rem 1.5rem 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.industry-list .industry-item:nth-child(even) {
  padding-left: 1.5rem;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.industry-item h3 { margin-bottom: 0.35rem; }

.industry-item p { margin: 0; color: var(--muted); }

.steps-timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.steps-timeline li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.1rem;
  position: relative;
  padding: 0 0 1.6rem;
}

.steps-timeline li:last-child { padding-bottom: 0; }

.steps-timeline li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 0.15rem;
}

.steps-timeline li::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.7rem;
  bottom: 0.15rem;
  width: 1px;
  background: var(--line);
}

.steps-timeline li:last-child::after { display: none; }

.steps-timeline h3 { margin-bottom: 0.25rem; }

.steps-timeline p { margin: 0; color: var(--muted); }

.section-contact {
  background: var(--header);
  color: var(--header-ink);
}

.section-contact h2,
.section-contact .details dt,
.section-contact a { color: var(--white); }

.section-contact .details a:hover { color: #ffd8dc; }

.section-contact p { color: rgba(244, 245, 247, 0.86); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}

.details { margin: 1.5rem 0 0; }

.details > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.details dt {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244, 245, 247, 0.6);
}

.details dd { margin: 0; }

.details a { font-weight: 600; text-decoration: none; }

.details a:hover { text-decoration: underline; }

.visually-hidden,
.contact-form input.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  left: 0 !important;
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  padding: 1.5rem 1.45rem 1.25rem;
  border-left: 4px solid var(--accent);
}

.contact-form p { margin: 0 0 0.9rem; color: var(--ink); }

.form-note {
  font-size: 0.92rem;
  color: var(--muted) !important;
  background: var(--page);
  padding: 0.7rem 0.8rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid #b8c0cc;
  border-radius: 0;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.opt-in {
  margin: 0.4rem 0 1.1rem;
  padding: 0.9rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.opt-in legend {
  padding: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.opt-in-note {
  font-size: 0.9rem;
  color: var(--muted) !important;
  margin: 0.5rem 0 0.75rem;
}

.opt-in-item {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 0 0 0.85rem;
}

.opt-in-item input[type="checkbox"] {
  margin: 0.25rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
}

.opt-in-item label {
  font-weight: 400;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.45;
}

.form-status {
  margin: 0.4rem 0 0;
  padding: 0.7rem 0.8rem;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-weight: 600;
}

.form-status.is-fallback {
  background: #f7efe3;
  color: #5a3b12;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.legal-block h2 { margin-bottom: 0.5rem; }

.faq-list { margin-top: 1.5rem; }

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list details p {
  margin: 0.7rem 0 0.2rem;
  color: var(--muted);
  max-width: 42rem;
}

.legal-hero {
  background: var(--header);
  color: var(--white);
  padding: 2.75rem 0 2.5rem;
}

.legal-hero h1 { color: var(--white); margin-bottom: 0.4rem; }

.legal-hero .eyebrow { margin-bottom: 0.65rem; }

.updated {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.legal-page { padding-top: 2.5rem; }

.legal-doc { max-width: 44rem; }

.legal-doc h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal-doc ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.legal-doc li { margin: 0 0 0.4rem; }

.legal-contact {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  background: #0c0d10;
  color: #c8ccd3;
  padding: 1.4rem 0;
  font-size: 0.92rem;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p { margin: 0; }

.site-footer a {
  color: #ddd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero-grid,
  .service-row,
  .industry-list,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-main { padding: 3rem 0 2.5rem; }

  .hero-aside { padding: 0 0 2.5rem; }

  .industry-list .industry-item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  html { scroll-padding-top: 10.5rem; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 0.35rem;
    gap: 0.3rem 0.85rem;
  }

  .section { padding: 2.75rem 0; }

  .details > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 1.5rem); }

  .nav a { font-size: 0.85rem; }

  .nav-cta { padding: 0.35rem 0.7rem; }
}
