:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --soft: #f5f7fb;
  --paper: #ffffff;
  --line: #e4e8f0;
  --blue: #075df5;
  --blue-soft: #edf4ff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

i[data-lucide] {
  width: 18px;
  height: 18px;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 72px;
  align-items: center;
  min-height: 760px;
  padding-top: 74px;
}

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

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

h1 {
  max-width: 830px;
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 8vw, 8.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: 1.12rem;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  padding: 0 18px;
}

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.btn.secondary {
  background: var(--paper);
  color: var(--ink);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 22px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-card-top img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: #ffffff;
  object-fit: cover;
}

.hero-card-top span {
  max-width: 180px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.16;
}

dl {
  display: grid;
  gap: 0;
  margin: 0;
}

dl div {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

dt {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.capability-row {
  display: flex;
  width: 100%;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.capability-row span {
  flex: 0 0 auto;
  padding: 18px 34px;
  color: var(--ink);
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.line-list {
  display: grid;
  gap: 0;
}

.line-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.line-list span,
.three-points p,
.process-list span,
.work-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line-list p,
.three-points span,
.process-list p,
.about-section > p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 40px;
}

.product-section {
  width: min(1240px, calc(100% - 32px));
}

.product-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-tabs {
  display: grid;
  align-content: start;
  background: var(--soft);
}

.product-tabs button {
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  padding: 0 22px;
}

.product-tabs button.active {
  color: var(--blue);
  background: #ffffff;
}

.product-content {
  min-height: 360px;
  padding: clamp(28px, 6vw, 72px);
}

.product-content > p:first-child {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-content h3 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.96;
}

.product-content p:last-child {
  max-width: 640px;
  font-size: 1.05rem;
}

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

.three-points div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.process-list span {
  display: block;
  margin-bottom: 18px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-grid article {
  min-height: 260px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.work-grid h3 {
  margin-top: 72px;
  font-size: 1.35rem;
}

.about-section {
  border-block: 1px solid var(--line);
}

.industries-section {
  display: grid;
  gap: 24px;
}

.industries-section div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industries-section span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  padding: 10px 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 72px;
}

.contact-copy {
  align-self: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: var(--soft);
  color: var(--ink);
  padding: 15px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

#form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.site-footer span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--blue);
}

.legal-hero {
  max-width: 850px;
  min-height: auto;
  padding-top: 92px;
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

.legal-content {
  max-width: 860px;
  padding-top: 16px;
}

.legal-content article {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.legal-content ul,
.legal-content ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 18px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 12px;
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    border-top: 1px solid var(--line);
    padding: 14px 0;
  }

  .hero,
  .two-column,
  .contact-section,
  .product-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 44px;
  }

  .process-list,
  .work-grid,
  .three-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .section,
  .site-header,
  .site-footer,
  .product-section {
    width: min(100% - 24px, 1160px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.6rem);
    line-height: 0.92;
  }

  h2 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-card {
    padding: 18px;
  }

  .line-list article,
  .process-list,
  .work-grid,
  .three-points {
    grid-template-columns: 1fr;
  }

  .product-tabs button {
    min-height: 58px;
  }

  .work-grid h3 {
    margin-top: 48px;
  }

  .site-footer {
    flex-direction: column;
  }
}
