:root {
  --bg: #071016;
  --surface: #101b24;
  --surface-2: #142431;
  --ink: #f5f8fb;
  --muted: #a7b4c2;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #28d7ff;
  --lime: #9af549;
  --amber: #ffb84d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(7, 16, 22, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(250px, 64vw);
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 75px);
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/digital-labs-hero.png");
  background-position: center right;
  background-size: cover;
  filter: saturate(1.05) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 22, 0.98) 0%, rgba(7, 16, 22, 0.86) 36%, rgba(7, 16, 22, 0.24) 76%),
    linear-gradient(180deg, rgba(7, 16, 22, 0.16), rgba(7, 16, 22, 0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-text,
.section-heading p,
.service-card p,
.process-list p,
.company-copy p,
.contact-section p {
  color: var(--muted);
}

.hero-text {
  max-width: 690px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #051018;
  background: var(--cyan);
}

.button.primary:hover {
  background: var(--lime);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark-text {
  color: #111b24;
  border-color: rgba(17, 27, 36, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section,
.contact-section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 700px;
}

.services-section {
  background: var(--bg);
}

.credibility-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.credibility-strip div {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 24px clamp(18px, 3vw, 34px);
  background: #0b151d;
}

.credibility-strip strong {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.credibility-strip span {
  color: var(--muted);
  font-weight: 700;
}

.identity-section {
  background: #edf4f7;
  color: #111b24;
}

.identity-section .eyebrow {
  color: #0a7b91;
}

.identity-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
}

.company-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.identity-facts a,
.legal-content a,
.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.service-number {
  display: block;
  margin-bottom: 42px;
  font-weight: 900;
}

.accent-cyan .service-number {
  color: var(--cyan);
}

.accent-lime .service-number {
  color: var(--lime);
}

.accent-amber .service-number {
  color: var(--amber);
}

.capability-section {
  background: #edf4f7;
  color: #111b24;
}

.capability-section .eyebrow {
  color: #0a7b91;
}

.capability-section .section-heading p {
  color: #4a5a67;
}

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

.capability-grid article,
.assurance-grid article,
.faq-list article {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(17, 27, 36, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.capability-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: #0a7b91;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.capability-grid h3,
.assurance-grid h3,
.faq-list h3 {
  color: #111b24;
}

.capability-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  color: #4a5a67;
  list-style: none;
}

.capability-grid li {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 27, 36, 0.1);
  font-weight: 700;
}

.process-section {
  background: var(--surface);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-list div {
  min-height: 190px;
  padding: 28px;
  background: var(--surface-2);
}

.process-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 1.25rem;
}

.expanded-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.assurance-section {
  background: var(--bg);
}

.assurance-grid article {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.assurance-grid h3 {
  color: var(--ink);
}

.assurance-grid p {
  color: var(--muted);
}

.faq-section {
  background: #edf4f7;
  color: #111b24;
}

.faq-section .eyebrow {
  color: #0a7b91;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list article {
  display: grid;
  gap: 8px;
}

.faq-list h3 {
  margin-bottom: 0;
}

.faq-list p {
  margin-bottom: 0;
  color: #4a5a67;
}

.faq-list a {
  color: #0a7b91;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  background: #edf4f7;
  color: #111b24;
}

.company-section .eyebrow {
  color: #0a7b91;
}

.company-copy p {
  color: #4a5a67;
}

.facts {
  display: grid;
  gap: 1px;
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 36, 0.12);
  border-radius: 8px;
  background: rgba(17, 27, 36, 0.12);
}

.company-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.company-highlights span {
  padding: 10px 14px;
  color: #0a4250;
  border: 1px solid rgba(10, 123, 145, 0.2);
  border-radius: 8px;
  background: rgba(40, 215, 255, 0.12);
  font-weight: 800;
}

.compact-facts {
  margin-top: 24px;
}

.facts div {
  padding: 15px 18px;
  background: var(--white);
}

.facts dt {
  color: #627384;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 0.98rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #071016;
}

.contact-form,
.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel span {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel a {
  color: var(--cyan);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contact-panel p {
  margin: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}

.contact-form .button {
  justify-self: start;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #050b10;
  border-top: 1px solid var(--line);
}

.page-hero {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 4vw, 56px) clamp(48px, 7vw, 84px);
  background:
    linear-gradient(120deg, rgba(40, 215, 255, 0.16), transparent 44%),
    linear-gradient(300deg, rgba(154, 245, 73, 0.11), transparent 42%),
    var(--bg);
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.8rem, 5.6vw, 6rem);
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.legal-content h2 {
  margin: 24px 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
}

.legal-content p {
  color: var(--muted);
}

.detail-services {
  display: grid;
  gap: 18px;
  background: var(--surface);
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.detail-card h2 {
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

.detail-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-card li {
  position: relative;
  padding-left: 26px;
}

.detail-card li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(52px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background: #edf4f7;
  color: #111b24;
}

.service-cta .eyebrow {
  color: #0a7b91;
}

.service-cta h2 {
  max-width: 840px;
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 16, 22, 0.86), rgba(7, 16, 22, 0.96)),
      linear-gradient(90deg, rgba(7, 16, 22, 0.94), rgba(7, 16, 22, 0.52));
  }

  .service-grid,
  .process-list,
  .expanded-process,
  .credibility-strip,
  .capability-grid,
  .assurance-grid,
  .company-section,
  .contact-section,
  .identity-facts,
  .company-facts,
  .detail-card {
    grid-template-columns: 1fr;
  }

  .service-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-actions,
  .cta-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
