:root {
  color-scheme: dark;
  --ink: #f3f6f4;
  --muted: #aeb9b6;
  --paper: #0d1112;
  --panel: #171d1f;
  --line: #2b3537;
  --teal: #2ab4a6;
  --teal-dark: #168f82;
  --charcoal: #080b0c;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  color: #ffffff;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 17, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ink);
  padding-block: 12px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  min-width: 40px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.86;
}

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

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 120px 40px 84px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(
      90deg,
      rgba(8, 11, 12, 0.96) 0%,
      rgba(8, 11, 12, 0.82) 42%,
      rgba(8, 11, 12, 0.52) 78%
    ),
    url("/assets/hero-neutral-ai.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

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

.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 4.25rem;
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy {
  width: min(600px, 100%);
  margin-bottom: 32px;
  color: rgba(243, 246, 244, 0.82);
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-actions,
.form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.mission-section,
.contact-section {
  padding: 88px 40px;
}

.section-grid,
.contact-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 74px;
  align-items: start;
}

.mission-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.mission-copy p:last-child {
  margin-bottom: 0;
}

.contact-section {
  background: #090d0e;
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 64px;
  align-items: start;
}

.contact-intro p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 680;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #151719;
  padding: 13px 14px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 160px;
}

input:focus,
textarea:focus {
  border-color: #79dfd1;
  box-shadow: 0 0 0 3px rgba(121, 223, 209, 0.2);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #89eadf;
}

.form-status.is-error {
  color: #ffb49f;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  background: #0a0e0f;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 760;
  color: var(--ink);
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 880px) {
  .site-header {
    padding: 14px 22px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 82vh;
    padding: 112px 22px 60px;
    background:
      linear-gradient(
        180deg,
        rgba(8, 11, 12, 0.95) 0%,
        rgba(8, 11, 12, 0.86) 48%,
        rgba(8, 11, 12, 0.64) 100%
      ),
      url("/assets/hero-neutral-ai.jpg") center right / cover no-repeat;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .mission-section,
  .contact-section {
    padding: 62px 22px;
  }

  .section-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 86vh;
    padding-top: 148px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.72rem;
  }

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

  .button {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
