:root {
  --ink: #111312;
  --muted: #5e6662;
  --paper: #f6f4ef;
  --paper-soft: #eeece5;
  --line: rgba(17, 19, 18, 0.12);
  --accent: #00b8d9;
  --accent-dark: #0087a3;
  --white: #ffffff;
  --hero-shadow: rgba(0, 0, 0, 0.56);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 16px auto 0;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(17, 19, 18, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  gap: 4px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/hero-ai-vision.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 68% 32%, rgba(0, 184, 217, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, var(--hero-shadow) 42%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(17, 19, 18, 0.64), transparent 38%);
}

.hero-content {
  width: min(100% - 40px, var(--max-width));
  margin: auto;
  padding: 128px 0 72px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  width: min(760px, 100%);
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  font-weight: 760;
}

.mobile-break {
  display: inline;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  font-weight: 720;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.hero-copy {
  width: min(660px, 100%);
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: var(--accent);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #49d7ea;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(17, 19, 18, 0.05);
}

.section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 96px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.section-grid > p,
.outcome-list {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.intro {
  padding-top: 72px;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-index {
  display: block;
  margin-bottom: 54px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature p,
.process-list p,
.contact-inner p,
.site-footer {
  color: var(--muted);
}

.process-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 104px max(20px, calc((100vw - var(--max-width)) / 2));
  background: var(--ink);
  color: var(--white);
}

.process-band .section-kicker {
  color: #63dff0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list li {
  min-height: 270px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list span {
  display: block;
  margin-bottom: 74px;
  color: #63dff0;
  font-size: 0.78rem;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.outcomes {
  padding-bottom: 72px;
}

.outcome-list {
  display: grid;
  gap: 18px;
}

.outcome-list p {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto 24px;
  padding: 84px 0 96px;
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.contact-inner {
  width: min(620px, 100%);
}

.contact-inner h2 {
  margin-bottom: 24px;
}

.contact-inner p {
  width: min(640px, 100%);
  margin-bottom: 30px;
  font-size: 1.15rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form span {
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 19, 18, 0.16);
  border-radius: 0;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 184, 217, 0.38);
  outline-offset: 2px;
  border-color: var(--accent-dark);
}

.full-field,
.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    gap: 12px;
    border-radius: 999px;
  }

  .site-nav {
    margin-left: auto;
    justify-content: flex-end;
    gap: 4px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 12px;
    text-align: center;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 4.35rem);
  }

  .section-grid,
  .contact-layout,
  .feature-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .feature,
  .process-list li {
    min-height: auto;
  }

  .feature-index,
  .process-list span {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-content,
  .contact-section,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    width: min(100% - 28px, var(--max-width));
  }

  .section.process-band {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .site-header {
    gap: 10px;
  }

  .site-nav {
    gap: 2px;
    font-size: 0.78rem;
  }

  .site-nav a {
    min-height: 32px;
    padding: 7px 8px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.52)),
      linear-gradient(0deg, rgba(17, 19, 18, 0.68), transparent 44%);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    overflow-wrap: break-word;
  }

  .mobile-break {
    display: block;
  }

  .button {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .section,
  .process-band,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
