:root {
  color-scheme: light;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #dbe4ef;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --blue: #2563eb;
  --cyan: #0891b2;
  --green: #059669;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.12), transparent 28rem),
    radial-gradient(circle at 96% 16%, rgba(8, 145, 178, 0.12), transparent 26rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(248, 251, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav a,
.button,
.site-footer a,
.contact-card a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
}

.brand-text {
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 56px;
  padding-top: 60px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.visual-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.visual-topline span,
.visual-grid span,
.service-card span,
.contact-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visual-topline strong {
  color: var(--ink);
}

.visual-grid {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.visual-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), transparent 44%),
    var(--surface);
}

.visual-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.visual-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  border-top: 1px solid var(--line);
}

.section-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.service-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.service-card.highlighted {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(5, 150, 105, 0.08)),
    var(--surface);
}

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

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-section > div > p:not(.section-label) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-card span {
  display: block;
  color: #93c5fd;
}

.contact-card a,
.contact-card p {
  display: block;
  margin: 6px 0 18px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.contact-card p {
  margin-bottom: 0;
}

.site-footer {
  width: min(1160px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 72px 0;
  }

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

@media (max-width: 600px) {
  .site-header {
    min-height: 68px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }
}
