:root {
  --base-black: #080C15;
  --surface-charcoal: #0D1622;
  --surface-raised: #101C2A;
  --ivory: #EEF3F7;
  --steel-blue: #3078B4;
  --steel-blue-bright: #3B9EF3;
  --slate: #4B5561;
  --slate-light: #AAB8C6;
  --line: #1C2A38;
  --line-soft: rgba(170, 184, 198, 0.16);
  --focus-ring: rgba(59, 158, 243, 0.42);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --radius-lg: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% 12%, rgba(59, 158, 243, 0.12), transparent 29rem),
    radial-gradient(circle at 12% 44%, rgba(48, 120, 180, 0.09), transparent 24rem),
    var(--base-black);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; }

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(170, 184, 198, 0.12);
  background: rgba(8, 12, 21, 0.78);
  backdrop-filter: blur(18px);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 21, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ivory);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(59, 158, 243, 0.28));
}

.brand span {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.brand small {
  margin-top: 5px;
  color: var(--slate-light);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a,
.nav-cta {
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a {
  color: color-mix(in srgb, var(--ivory) 84%, transparent);
}

.nav-links a:hover,
.nav-cta:hover { color: var(--steel-blue-bright); }

.nav-cta {
  justify-self: end;
  padding: 12px 14px;
  border: 1px solid rgba(59, 158, 243, 0.32);
  border-radius: var(--radius);
  background: rgba(16, 28, 42, 0.66);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-charcoal);
  color: var(--ivory);
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 12, 21, 0.98) 0%, rgba(8, 12, 21, 0.9) 28%, rgba(8, 12, 21, 0.46) 59%, rgba(8, 12, 21, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 12, 21, 0.54), transparent 42%);
}

.hero-grid {
  padding-top: 78px;
}

.hero-copy {
  width: min(670px, 100%);
  padding: 110px 0 82px;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  max-width: 680px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--slate-light);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--steel-blue-bright);
  box-shadow: 0 0 0 5px var(--focus-ring);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--steel-blue), var(--steel-blue-bright));
  box-shadow: 0 14px 34px rgba(59, 158, 243, 0.24);
}

.button-secondary {
  background: rgba(13, 22, 34, 0.8);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(650px, 100%);
  margin: 46px 0 0;
}

.hero-facts div {
  min-height: 102px;
  padding: 18px;
  border: 1px solid rgba(170, 184, 198, 0.18);
  border-radius: var(--radius);
  background: rgba(13, 22, 34, 0.66);
}

.hero-facts dt {
  color: var(--steel-blue-bright);
  font-size: 1.3rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 9px 0 0;
  color: var(--slate-light);
  font-size: 0.78rem;
}

.standards {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(13, 22, 34, 0.52);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.standards article {
  min-height: 152px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 30px;
  border-right: 1px solid var(--line-soft);
}

.standards article:last-child { border-right: 0; }

.standards svg,
.service-card svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--steel-blue-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.standards h2,
.service-card h3,
.process-list h3,
.proof-card h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
}

.standards p,
.service-card p,
.process-list p,
.proof-card p,
.documentation-grid p,
.contact-copy p {
  margin-bottom: 0;
  color: var(--slate-light);
  font-size: 0.92rem;
}

.section { padding: 104px 0; }

.section + .section { border-top: 1px solid var(--line-soft); }

.section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 42px;
}

.section-label {
  color: var(--steel-blue-bright);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.documentation-grid h2,
.contact-copy h2 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4.9vw, 5.1rem);
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--slate-light);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.service-card {
  min-height: 284px;
  display: grid;
  align-content: start;
  gap: 17px;
  padding: 30px 24px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.58), rgba(13, 22, 34, 0.28));
}

.service-card h3 { margin-top: 8px; }

.process-section,
.documentation-section {
  background:
    linear-gradient(180deg, rgba(16, 28, 42, 0.68), rgba(8, 12, 21, 0.72)),
    var(--base-black);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--steel-blue-bright), transparent);
}

.process-list li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 230px;
  padding: 0 16px;
  text-align: center;
}

.process-list span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--steel-blue), var(--steel-blue-bright));
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(59, 158, 243, 0.22);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-charcoal);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
}

.proof-copy { padding: 22px; }

.proof-copy small {
  display: block;
  margin-bottom: 10px;
  color: var(--steel-blue-bright);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-copy h3 {
  font-size: 1.12rem;
  text-transform: none;
  letter-spacing: 0;
}

.documentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 54px;
  align-items: start;
}

.documentation-grid > div:first-child {
  position: sticky;
  top: 116px;
}

.document-stack {
  display: grid;
  gap: 12px;
}

.document-stack article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(8, 12, 21, 0.46);
}

.document-stack span {
  grid-row: span 2;
  color: var(--steel-blue-bright);
  font-weight: 950;
}

.document-stack strong {
  font-size: 1rem;
  text-transform: uppercase;
}

.document-stack p { margin-bottom: 0; }

.contact-section { padding-bottom: 116px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: 58px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--slate-light);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel-blue), var(--steel-blue-bright));
  box-shadow: 0 0 0 4px rgba(59, 158, 243, 0.12);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.66em;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--ivory);
  border-bottom: 2px solid var(--ivory);
  transform: rotate(-45deg);
}

.email-card {
  display: grid;
  gap: 6px;
  max-width: 420px;
  padding: 22px;
  border: 1px solid rgba(59, 158, 243, 0.3);
  border-radius: var(--radius);
  background: rgba(16, 28, 42, 0.72);
  text-decoration: none;
}

.email-card span {
  color: var(--slate-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email-card strong {
  color: var(--steel-blue-bright);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(59, 158, 243, 0.08), transparent 42%),
    var(--surface-charcoal);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ivory);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(170, 184, 198, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 12, 21, 0.64);
  color: var(--ivory);
  outline: 0;
}

input, select { padding: 0 13px; }
textarea {
  resize: vertical;
  padding: 13px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--steel-blue-bright);
  box-shadow: 0 0 0 5px var(--focus-ring);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--slate-light);
  font-size: 0.78rem;
  text-align: center;
}

.form-note.is-success { color: #8EC7FF; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #050811;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 32px;
  align-items: start;
  padding: 38px 0;
}

.footer-grid p,
.footer-grid address,
.footer-bottom {
  color: var(--slate-light);
  font-size: 0.88rem;
  font-style: normal;
}

.footer-grid address {
  display: grid;
  gap: 7px;
}

.footer-grid address a {
  color: var(--ivory);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(170, 184, 198, 0.1);
}

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .standards-grid { grid-template-columns: 1fr; }
  .standards article { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .standards article:last-child { border-bottom: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list::before { display: none; }
  .process-list li { justify-items: start; min-height: auto; text-align: left; padding: 0; }
  .process-list span { margin-bottom: 14px; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: auto auto; }
  .nav-cta { display: none; }
  .menu-toggle { display: inline-grid; justify-self: end; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    justify-items: start;
    gap: 0;
    padding: 18px 16px 22px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(8, 12, 21, 0.98);
  }
  .nav-links.is-open { display: grid; }
  .nav-links a { width: 100%; padding: 16px; border-bottom: 1px solid rgba(170, 184, 198, 0.1); }
  .hero { min-height: 740px; }
  .hero::before { background: linear-gradient(90deg, rgba(8, 12, 21, 0.98), rgba(8, 12, 21, 0.72)); }
  .hero-media img { object-position: 66% center; }
  .section-heading,
  .documentation-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .documentation-grid > div:first-child { position: static; }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 0.72rem; }
  .brand small { font-size: 0.52rem; }
  .nav-links { inset-top: 68px; }
  .hero { min-height: auto; align-items: end; }
  .hero-media { opacity: 0.64; }
  .hero-copy { padding: 126px 0 46px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .hero-facts { grid-template-columns: 1fr; margin-top: 28px; }
  .hero-facts div { min-height: auto; }
  .section { padding: 74px 0; }
  .section-heading { gap: 14px; margin-bottom: 28px; }
  .section-heading h2,
  .documentation-grid h2,
  .contact-copy h2 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .form-row { grid-template-columns: 1fr; }
  .request-form { padding: 18px; }
  .footer-bottom { flex-direction: column; }
}

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

/* Mobile rebuild pass: treat the small screen as its own design, not a squeezed desktop. */
@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: var(--base-black);
  }

  .shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    position: sticky;
    background: rgba(8, 12, 21, 0.96);
  }

  .nav {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .brand small {
    margin-top: 4px;
    font-size: 0.48rem;
    letter-spacing: 0.28em;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    inset: 66px 0 auto;
    padding: 10px 14px 18px;
  }

  .nav-links a {
    padding: 15px 4px;
  }

  .hero {
    min-height: auto;
    display: block;
    border-bottom-color: rgba(170, 184, 198, 0.14);
    background: linear-gradient(180deg, #080C15 0%, #0A111D 100%);
  }

  .hero::before {
    display: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    height: 248px;
    margin: 14px 14px 0;
    overflow: hidden;
    border: 1px solid rgba(170, 184, 198, 0.18);
    border-radius: 10px;
    opacity: 1;
    background: var(--surface-charcoal);
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(8, 12, 21, 0.64));
    pointer-events: none;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
  }

  .hero-grid {
    padding-top: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 28px 0 34px;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.52rem, 13vw, 3.55rem);
    line-height: 0.96;
    overflow-wrap: normal;
  }

  .hero-copy p {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding: 0 16px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 22px;
  }

  .hero-facts div {
    min-height: 92px;
    padding: 13px 10px;
  }

  .hero-facts dt {
    font-size: 1rem;
  }

  .hero-facts dd {
    margin-top: 7px;
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .standards {
    background: #0A111D;
  }

  .standards-grid {
    gap: 10px;
    padding: 20px 0;
  }

  .standards article {
    min-height: auto;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(170, 184, 198, 0.14);
    border-radius: 10px;
    background: rgba(16, 28, 42, 0.68);
  }

  .standards svg,
  .service-card svg {
    width: 34px;
    height: 34px;
  }

  .standards h2,
  .service-card h3,
  .process-list h3,
  .proof-card h3 {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .standards p,
  .service-card p,
  .process-list p,
  .proof-card p,
  .documentation-grid p,
  .contact-copy p {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-label {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .section-heading h2,
  .documentation-grid h2,
  .contact-copy h2 {
    max-width: 12ch;
    margin-bottom: 14px;
    font-size: clamp(2rem, 10.6vw, 2.85rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  .section-heading p,
  .contact-copy p,
  .documentation-grid p {
    max-width: 36ch;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-grid {
    display: grid;
    gap: 10px;
    border: 0;
  }

  .service-card {
    min-height: auto;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(170, 184, 198, 0.14);
    border-radius: 10px;
    background: rgba(16, 28, 42, 0.58);
  }

  .service-card h3 {
    margin: 6px 0 0;
  }

  .process-section,
  .documentation-section {
    background: #0A111D;
  }

  .process-list {
    display: grid;
    gap: 12px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    display: grid;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(170, 184, 198, 0.14);
    border-radius: 10px;
    background: rgba(8, 12, 21, 0.5);
  }

  .process-list span {
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 8px;
  }

  .process-list h3,
  .process-list p {
    grid-column: 2;
  }

  .process-list h3 {
    margin-bottom: 6px;
  }

  .proof-grid {
    gap: 14px;
  }

  .proof-card {
    border-radius: 10px;
  }

  .proof-card img {
    aspect-ratio: 4 / 3;
  }

  .proof-copy {
    padding: 18px;
  }

  .proof-copy h3 {
    max-width: 18ch;
  }

  .documentation-grid {
    gap: 26px;
  }

  .document-stack {
    gap: 10px;
  }

  .document-stack article {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .document-stack strong {
    font-size: 0.86rem;
  }

  .contact-grid {
    gap: 28px;
  }

  .check-list {
    margin: 24px 0;
  }

  .email-card {
    max-width: 100%;
    padding: 18px;
  }

  .email-card strong {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }

  .request-form {
    gap: 14px;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  }

  label {
    font-size: 0.68rem;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .footer-grid {
    gap: 18px;
    padding: 30px 0;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: clamp(2.34rem, 12.4vw, 3.1rem);
  }

  .section-heading h2,
  .documentation-grid h2,
  .contact-copy h2 {
    font-size: clamp(1.86rem, 9.8vw, 2.55rem);
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }
}

/* Mobile overflow correction: no element may widen the viewport. */
@media (max-width: 680px) {
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  .hero,
  .standards,
  .section,
  .site-footer,
  .service-card,
  .proof-card,
  .process-list li,
  .document-stack article,
  .request-form,
  .form-row,
  .contact-grid,
  .documentation-grid,
  .section-heading,
  .standards article,
  .hero-copy,
  .hero-actions,
  .hero-facts,
  .proof-grid,
  .service-grid,
  .process-list,
  .document-stack {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy *,
  .section-heading *,
  .service-card *,
  .process-list *,
  .proof-card *,
  .document-stack *,
  .contact-section * {
    min-width: 0;
  }

  h1,
  .section-heading h2,
  .documentation-grid h2,
  .contact-copy h2 {
    width: 100%;
    max-width: 100%;
    text-wrap: auto;
    overflow-wrap: normal;
    word-break: normal;
  }

  h1 {
    font-size: clamp(2.1rem, 10.4vw, 2.72rem);
    line-height: 1.04;
  }

  .section-heading h2,
  .documentation-grid h2,
  .contact-copy h2 {
    font-size: clamp(1.86rem, 8.9vw, 2.38rem);
    line-height: 1.06;
  }

  p,
  dd,
  li,
  input,
  select,
  textarea,
  .button,
  .email-card strong {
    overflow-wrap: break-word;
  }

  .hero-copy p,
  .section-heading p,
  .contact-copy p,
  .documentation-grid p {
    max-width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    min-height: 66px;
    gap: 8px;
  }

  .hero-facts dd {
    margin-top: 0;
  }

  .service-card,
  .proof-copy,
  .process-list li,
  .document-stack article {
    overflow: hidden;
  }

  .process-list li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .proof-card img {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2rem, 9.8vw, 2.44rem);
  }

  .section-heading h2,
  .documentation-grid h2,
  .contact-copy h2 {
    font-size: clamp(1.76rem, 8.3vw, 2.08rem);
  }

  .hero-media {
    height: 224px;
  }

  .service-card,
  .proof-copy,
  .process-list li,
  .document-stack article,
  .request-form,
  .standards article {
    padding: 16px;
  }
}
