:root {
  --navy: #0b1329;
  --charcoal: #0f172a;
  --slate: #1e293b;
  --muted: #64748b;
  --soft: #f8fafc;
  --mist: #eef4f8;
  --line: #dbe4ec;
  --white: #ffffff;
  --cobalt: #2563eb;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --green: #0f766e;
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --max: 1180px;
  --page-gutter: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family:
    "Plus Jakarta Sans",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 228, 236, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - (var(--page-gutter) * 2), var(--max));
  min-height: 76px;
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 304px;
  min-height: 48px;
}

.brand::before {
  content: none;
}

.brand > img {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.brand-line {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--slate);
  font-size: 0.93rem;
  font-weight: 800;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
}

.nav-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius);
  padding: 0 15px;
  color: var(--cobalt);
  background: rgba(37, 99, 235, 0.07);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--navy);
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

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

.section-navy {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 19, 41, 0.98), rgba(15, 23, 42, 0.96)),
    var(--navy);
}

.section-inner {
  width: min(100% - (var(--page-gutter) * 2), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.97), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 82% 20%, rgba(6, 182, 212, 0.18), transparent 34%),
    var(--white);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.84fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cobalt);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family:
    "Space Grotesk",
    "Plus Jakarta Sans",
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: 4rem;
  font-weight: 900;
}

h2 {
  max-width: 860px;
  font-size: 2.65rem;
  font-weight: 900;
}

h3 {
  font-size: 1.08rem;
  font-weight: 900;
}

.lede {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--slate);
  font-size: 1.1rem;
}

.hero .lede {
  font-size: 1.18rem;
}

.body-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 20px;
  font-size: 0.94rem;
  font-weight: 900;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  border: 1px solid var(--cobalt);
  color: var(--white);
  background: var(--cobalt);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: #1d4ed8;
  background: #1d4ed8;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(37, 99, 235, 0.36);
  color: var(--cobalt);
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid rgba(219, 228, 236, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-note span {
  display: grid;
  min-height: 66px;
  align-content: center;
  padding: 12px;
  color: var(--slate);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.page-hero {
  padding: 74px 0 60px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 92% 18%, rgba(20, 184, 166, 0.16), transparent 30%),
    var(--white);
}

.page-hero .lede {
  max-width: 840px;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin-bottom: 36px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.service-card,
.stage-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card,
.service-card,
.legal-card {
  padding: 24px;
}

.card p,
.service-card p,
.stage-card p,
.legal-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-card {
  min-height: 245px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.number {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 50%;
  color: var(--green);
  background: rgba(20, 184, 166, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.capability-list,
.solution-list,
.usecase-list,
.process-timeline {
  display: grid;
  border-top: 1px solid var(--line);
}

.row-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.row-item strong {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
}

.row-item p {
  margin: 0;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill-list span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--slate);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
}

.band-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08)),
    var(--white);
}

.band-callout p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-navy h2,
.section-navy h3,
.section-navy .eyebrow {
  color: var(--white);
}

.section-navy .body-copy,
.section-navy .lede {
  color: rgba(255, 255, 255, 0.76);
}

.section-navy .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: transparent;
}

.section-navy .button-secondary:hover,
.section-navy .button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section-navy .band-callout h2 {
  color: var(--navy);
}

.section-navy .band-callout .eyebrow {
  color: var(--cobalt);
}

.section-navy .band-callout p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--soft);
}

.contact-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-list div {
  display: grid;
  gap: 4px;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

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

.field,
.checkbox-group {
  display: grid;
  gap: 8px;
}

.field.full,
.checkbox-group {
  grid-column: 1 / -1;
}

.field label,
.checkbox-group legend {
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--charcoal);
  background: var(--white);
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.58);
}

.checkbox-group {
  margin: 0;
  border: 0;
  padding: 0;
}

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

.checkbox-grid label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--slate);
  background: var(--soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.checkbox-grid input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--cobalt);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: #b42318;
}

.legal-content {
  display: grid;
  gap: 22px;
  max-width: 900px;
}

.legal-content h2 {
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  gap: 34px;
  padding: 54px 0 42px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  max-width: 430px;
}

.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand-row img {
  width: 38px;
  height: 38px;
}

.footer-grid h2,
.footer-grid h3 {
  color: var(--white);
  font-size: 0.95rem;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.91rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

@media (min-width: 1041px) {
  :root {
    --max: 1320px;
    --page-gutter: clamp(24px, 4vw, 64px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.96fr);
    gap: clamp(54px, 5vw, 72px);
  }
}

@media (max-width: 1040px) {
  .nav-action {
    display: none;
  }

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

  .hero-copy {
    max-width: 880px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.3rem;
  }

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

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

@media (max-width: 820px) {
  .nav {
    width: min(100% - 28px, var(--max));
    min-height: 68px;
  }

  .brand {
    min-width: 0;
    min-height: 44px;
  }

  .brand::before {
    width: 44px;
    height: 44px;
    background-image: url("assets/logo-mark.svg");
  }

  .brand-line {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    min-height: 48px;
    border-bottom: 0;
    border-radius: 6px;
    padding: 0 12px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a[aria-current="page"] {
    background: var(--soft);
  }

  .section,
  .section-tight {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  .page-hero {
    padding: 58px 0 52px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero .lede {
    font-size: 1.05rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .row-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .band-callout {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-note {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
