:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #607086;
  --paper: #f4f8fb;
  --surface: #ffffff;
  --cyan: #08aeea;
  --blue: #1857a6;
  --blue-deep: #183a88;
  --green: #72bf44;
  --green-deep: #1f5c3d;
  --gold: #ffd329;
  --gold-deep: #d59a13;
  --line: #dbe7f0;
  --shadow: 0 24px 70px rgba(24, 58, 136, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(8, 174, 234, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(114, 191, 68, 0.11), transparent 30%),
    var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.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: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px;
  border: 1px solid rgba(219, 231, 240, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(24, 58, 136, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(24, 58, 136, 0.18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-deep);
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #edf8ff;
  color: var(--blue-deep);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  gap: 44px;
  align-items: stretch;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 34px;
}

.hero-copy {
  display: flex;
  min-height: 490px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 28, 73, 0.96), rgba(11, 92, 159, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 74px);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 211, 41, 0.26);
  transform: rotate(28deg);
}

.hero-logo-mark {
  width: 118px;
  height: 118px;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.28));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.contact-section .eyebrow {
  color: var(--gold);
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.25vw, 3.7rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.04;
}

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

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-text {
  max-width: 680px;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

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

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

.button.primary {
  background: linear-gradient(180deg, #ffe66c, var(--gold));
  color: #241d06;
  box-shadow: 0 12px 24px rgba(213, 154, 19, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-panel {
  display: grid;
  gap: 16px;
  align-content: center;
}

.logo-stage {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid rgba(219, 231, 240, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 248, 255, 0.92)),
    linear-gradient(135deg, rgba(8, 174, 234, 0.18), rgba(114, 191, 68, 0.12));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-stage img {
  width: min(82%, 340px);
  filter: drop-shadow(0 22px 26px rgba(16, 32, 51, 0.22));
}

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

.metric {
  min-height: 138px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(24, 58, 136, 0.1);
}

.metric strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-deep);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1;
}

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

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

.intro-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.section-copy {
  columns: 2 280px;
  column-gap: 36px;
}

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

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

.service-card,
.tech-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--green);
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 1px;
  align-items: stretch;
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(219, 231, 240, 0.95);
  background: rgba(255, 255, 255, 0.95);
  color: #fff;
}

.feature-visual {
  display: grid;
  height: 100%;
  min-height: 430px;
  min-width: 0;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(11, 42, 112, 0.96), rgba(9, 159, 205, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 54px);
}

.visual-layer {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.visual-layer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 8px 0 0 8px;
  background: var(--green);
}

.visual-layer span,
.visual-layer strong {
  display: block;
}

.visual-layer span {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-layer strong {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.visual-connectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 26px;
}

.visual-connectors span {
  height: 34px;
  border-left: 2px solid rgba(255, 211, 41, 0.74);
  justify-self: center;
}

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

.database-row div {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(114, 191, 68, 0.18);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.feature-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #0d2c70, #0a93cb);
  padding: clamp(32px, 5vw, 64px);
}

.feature-content h2 {
  font-size: clamp(2rem, 4vw, 4.45rem);
  line-height: 1.05;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.76);
}

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

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tech-grid > div {
  min-height: 190px;
  padding: 24px;
}

.tech-grid strong,
.tech-grid span {
  display: block;
}

.tech-grid strong {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 1.1rem;
}

.tech-grid span {
  color: var(--muted);
  line-height: 1.62;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 28, 73, 0.96), rgba(18, 78, 150, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 68px);
  color: #fff;
}

.contact-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.not-found {
  display: grid;
  width: min(760px, calc(100% - 32px));
  min-height: 100vh;
  place-content: center;
  margin: 0 auto;
  padding: 56px 0;
}

.not-found img {
  width: 120px;
  margin-bottom: 22px;
  filter: drop-shadow(0 16px 22px rgba(24, 58, 136, 0.18));
}

.not-found h1 {
  max-width: 620px;
}

.not-found .button {
  justify-self: start;
  margin-top: 8px;
}

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

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(19, 32, 31, 0.12);
  }

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

  .hero,
  .intro-section,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    min-height: 470px;
  }

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

  .metric {
    min-height: 136px;
  }

  .service-grid,
  .tech-grid,
  .contact-actions {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .feature-band,
  .contact-section,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .brand small {
    max-width: 150px;
  }

  h1 {
    font-size: 2.28rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 2.06rem;
  }

  .hero-copy {
    min-height: auto;
    padding: 26px;
  }

  .hero-copy::after {
    right: -120px;
    bottom: -140px;
    width: 250px;
    height: 250px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero-logo-mark {
    width: 94px;
    height: 94px;
    margin-bottom: 18px;
  }

  .logo-stage {
    min-height: 240px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 108px;
  }

  .hero-panel,
  .service-grid,
  .tech-grid,
  .service-card,
  .tech-grid > div {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 26px;
  }

  .feature-visual {
    min-height: 360px;
  }

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