:root {
  --ink: #101820;
  --ink-soft: #364351;
  --paper: #f8f6f1;
  --paper-bright: #fffdf8;
  --line: #d8ded8;
  --blue: #1167e8;
  --blue-dark: #0b3d91;
  --green: #27a857;
  --amber: #e2a313;
  --panel: #ffffff;
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(248, 246, 241, 1) 52%),
    var(--paper);
}

body::selection {
  color: #ffffff;
  background: var(--blue);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  transform: translateY(-180%);
  border-radius: 6px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(13, 27, 42, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 28px rgba(17, 103, 232, 0.28);
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.82;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 74vh, 760px);
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 16, 27, 0.94) 0%, rgba(7, 16, 27, 0.74) 38%, rgba(7, 16, 27, 0.08) 78%),
    linear-gradient(180deg, rgba(7, 16, 27, 0.12), rgba(7, 16, 27, 0.45)),
    url("/assets/armotech-ai-workbench.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(248, 246, 241, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a9f0c6;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-lede {
  width: min(680px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 38px rgba(17, 103, 232, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.signal-band {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: -42px auto 0;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.signal-grid p {
  min-height: 76px;
  margin: 0;
  padding: 22px;
  border-right: 1px solid rgba(16, 24, 32, 0.08);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.signal-grid p:last-child {
  border-right: 0;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.muted-section {
  background: #eef3ef;
}

.intro-section {
  padding-top: clamp(88px, 12vw, 150px);
}

.intro-layout,
.section-heading,
.proof-section,
.contact-section,
.site-footer {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.intro-layout,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.intro-layout p,
.section-heading p {
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.service-grid {
  display: grid;
  width: min(1160px, 100%);
  margin: clamp(36px, 5vw, 64px) auto 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.process-step {
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: var(--panel);
}

.service-card {
  min-height: 330px;
  padding: 24px;
}

.service-index {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p,
.process-step p {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  width: min(1160px, 100%);
  margin: clamp(36px, 5vw, 64px) auto 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  min-height: 260px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 28px 24px 10px 24px;
  background: transparent;
}

.process-step:last-child {
  border-right: 1px solid var(--line);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: stretch;
}

.proof-panel {
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 103, 232, 0.88), rgba(39, 168, 87, 0.86)),
    var(--blue);
}

.proof-panel .section-kicker,
.proof-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.proof-panel h2 {
  margin-bottom: 24px;
  color: #ffffff;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.proof-points p {
  display: flex;
  min-height: 92px;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  padding: 20px;
  color: var(--ink);
  background: var(--paper-bright);
  font-weight: 800;
  line-height: 1.28;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: clamp(32px, 6vw, 64px);
  color: #ffffff;
  background: #111a24;
}

.contact-section p,
.contact-section .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section h2 {
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-section p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 20px 42px;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid rgba(226, 163, 19, 0.84);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    min-height: 610px;
    background:
      linear-gradient(90deg, rgba(7, 16, 27, 0.94) 0%, rgba(7, 16, 27, 0.68) 64%, rgba(7, 16, 27, 0.4)),
      linear-gradient(180deg, rgba(7, 16, 27, 0.14), rgba(7, 16, 27, 0.48)),
      url("/assets/armotech-ai-workbench.png") center / cover no-repeat;
  }

  .signal-grid,
  .service-grid,
  .process-list,
  .proof-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-layout,
  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .process-step {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    width: 100%;
    padding: 16px 20px;
    background: rgba(13, 27, 42, 0.38);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding-top: 112px;
    padding-bottom: 84px;
    background:
      linear-gradient(180deg, rgba(7, 16, 27, 0.78), rgba(7, 16, 27, 0.78)),
      url("/assets/armotech-ai-workbench.png") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.1rem);
  }

  .button {
    width: 100%;
  }

  .signal-band {
    width: calc(100% - 28px);
    margin-top: -26px;
  }

  .signal-grid,
  .service-grid,
  .process-list,
  .proof-section,
  .proof-points,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .signal-grid p {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 24, 32, 0.08);
    padding: 16px 18px;
  }

  .signal-grid p:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 70px;
  }

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

  .service-index,
  .process-step span {
    margin-bottom: 28px;
  }

  .process-list {
    border-top: 0;
  }

  .process-step,
  .process-step:last-child {
    min-height: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 24px;
  }

  .contact-section {
    align-items: start;
    padding: 28px 20px;
  }

  .site-footer {
    padding-inline: 20px;
  }
}

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