@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --ink: #0b0b0d;
  --ink-soft: #17171a;
  --paper: #f4f2ec;
  --white: #ffffff;
  --fog: #e7e5df;
  --line: #c8c7c2;
  --muted: #68686d;
  --signal: #ff513b;
  --signal-dark: #d83c2a;
  --muatim: #1564D4;
  --hakili: #4fd487;
  --jobs: #ff7662;
  --display: "Space Grotesk", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --shell: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  font-size: 76px;
  font-weight: 600;
  line-height: 0.98;
}

h2 {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.04;
}

h3 {
  font-size: 28px;
  line-height: 1.08;
}

.shell {
  width: min(var(--shell), calc(100% - 72px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--muatim);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding-inline: max(36px, calc((100vw - var(--shell)) / 2));
  background: rgba(244, 242, 236, 0.97);
  border-bottom: 1px solid rgba(11, 11, 13, 0.16);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(11, 11, 13, 0.08);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--display);
  text-decoration: none;
}

.wordmark span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.wordmark small {
  padding-left: 8px;
  border-left: 2px solid var(--signal);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.site-nav a,
.header-cta {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a {
  position: relative;
  color: #424247;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: var(--ink);
  color: var(--white);
}

.header-cta:hover {
  background: var(--signal);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-home {
  height: calc(100svh - 120px);
  min-height: 600px;
  max-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.035);
  will-change: transform;
}

.hero-overlay {
  z-index: -1;
  background: rgba(7, 7, 9, 0.72);
}

.hero-content {
  padding-top: 12px;
  padding-bottom: 118px;
}

.eyebrow,
.section-index {
  margin-bottom: 20px;
  color: var(--signal-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow-light,
.section-index-light {
  color: #ff9585;
}

.hero h1 {
  max-width: 880px;
  margin-bottom: 25px;
}

.hero h1 em {
  color: var(--signal);
  font-style: normal;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 18px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-signal {
  background: var(--signal);
  color: var(--ink);
}

.button-signal:hover {
  background: #ff715e;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-quiet:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero-portfolio {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.portfolio-item {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(8px);
  background: rgba(8, 8, 10, 0.44);
}

.portfolio-item:hover {
  background: rgba(8, 8, 10, 0.72);
}

.portfolio-item.is-active {
  background: rgba(8, 8, 10, 0.82);
  box-shadow: inset 0 3px 0 var(--signal);
}

.portfolio-item.accent-muatim.is-active { box-shadow: inset 0 3px 0 var(--muatim); }
.portfolio-item.accent-hakili.is-active { box-shadow: inset 0 3px 0 var(--hakili); }
.portfolio-item.accent-jobs.is-active { box-shadow: inset 0 3px 0 var(--jobs); }

.portfolio-item span,
.portfolio-item small {
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

.portfolio-item span {
  margin-bottom: 5px;
  color: #d0d0d3;
}

.portfolio-item strong {
  font-family: var(--display);
  font-size: 19px;
}

.portfolio-item.accent-muatim strong,
.accent-muatim {
  color: var(--muatim);
}

.portfolio-item.accent-hakili strong,
.accent-hakili {
  color: var(--hakili);
}

.portfolio-item.accent-jobs strong,
.accent-jobs {
  color: var(--jobs);
}

.section-pad {
  padding-block: 112px;
}

.statement-grid,
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 72px;
}

.statement h2 {
  max-width: 900px;
  margin-bottom: 28px;
}

.statement .statement-grid > div > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.portfolio {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .section-index {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 500px;
  margin: 0 0 6px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  z-index: 1;
  background: var(--white);
  transform: translateY(-5px);
}

.product-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 24px;
  background: var(--signal);
}

.product-muatim::before {
  background: var(--muatim);
}

.product-hakili::before {
  background: var(--hakili);
}

.product-jobs::before {
  background: var(--jobs);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: auto;
  margin-bottom: 16px;
  font-size: 38px;
}

.product-card p {
  min-height: 78px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.product-card a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.capabilities {
  background: var(--ink);
  color: var(--white);
}

.section-heading-light .section-index,
.capabilities .section-index {
  color: #ff9585;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #3a3a3f;
  border-left: 1px solid #3a3a3f;
}

.capability-list article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-right: 1px solid #3a3a3f;
  border-bottom: 1px solid #3a3a3f;
  transition: background 180ms ease, border-color 180ms ease;
}

.capability-list article:hover {
  border-color: #5c5c62;
  background: #202024;
}

.capability-list article > span {
  color: var(--signal);
  font-size: 11px;
}

.capability-list h3 {
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 25px;
}

.capability-list p {
  margin-bottom: 0;
  color: #b7b7bd;
  font-size: 14px;
}

.platform-grid,
.why-grid,
.technology-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 84px;
  align-items: center;
}

.platform-copy p:last-child,
.why-grid > div > p:last-child {
  max-width: 500px;
  color: var(--muted);
}

.platform-map {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 52px 1fr auto auto;
  place-items: center;
  gap: 20px;
  padding: 0 42px 34px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(11, 11, 13, 0.08);
}

.platform-console-head {
  width: calc(100% + 84px);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.platform-console-head small {
  color: #b7b7bd;
  font-size: 9px;
}

.platform-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.platform-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hakili);
  box-shadow: 0 0 0 5px rgba(79, 212, 135, 0.13);
  animation: status-pulse 1.9s ease-in-out infinite;
}

.platform-signal {
  position: relative;
  width: 82%;
  height: 52px;
}

.platform-signal::before {
  position: absolute;
  top: 25px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.platform-signal i {
  position: absolute;
  top: 21px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 1px var(--signal);
  animation: signal-travel 4.2s linear infinite;
}

.platform-signal i:nth-child(2) { animation-delay: -0.84s; }
.platform-signal i:nth-child(3) { animation-delay: -1.68s; }
.platform-signal i:nth-child(4) { animation-delay: -2.52s; }
.platform-signal i:nth-child(5) { animation-delay: -3.36s; }
}

.platform-core {
  width: 230px;
  padding: 28px;
  border: 1px solid var(--ink);
  text-align: center;
}

.platform-core span,
.platform-core strong {
  display: block;
}

.platform-core span {
  color: var(--signal);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
}

.platform-layer,
.platform-products {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-layer span,
.platform-products span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.platform-layer span.is-active {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
  transform: translateY(-3px);
}

.platform-products span {
  background: var(--ink);
  color: var(--white);
}

.platform-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.platform-flow i {
  width: 28px;
  height: 1px;
  background: var(--signal);
}

.problems {
  background: #e8e5de;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.problem-grid p {
  min-height: 105px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  transition: background 180ms ease, padding 180ms ease;
}

.problem-grid p:hover {
  background: rgba(255, 81, 59, 0.08);
  padding-left: 16px;
}

.problem-grid p:nth-child(even):hover {
  padding-left: 40px;
}

.problem-grid p:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.problem-grid p:nth-child(even) {
  padding-left: 24px;
}

.why-grid ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.why-grid li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.why-grid li span {
  color: var(--signal-dark);
  font-size: 11px;
}

.build-with-mua {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.build-with-mua > img,
.build-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.build-with-mua > img {
  z-index: -2;
  object-fit: cover;
}

.build-overlay {
  z-index: -1;
  background: rgba(9, 9, 11, 0.79);
}

.build-content h2 {
  max-width: 860px;
  margin-bottom: 22px;
}

.build-content > p:not(.section-index) {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.technology-grid ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.technology-grid li {
  padding: 18px 8px 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.technology-grid li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.technology-grid li:nth-child(even) {
  padding-left: 20px;
}

.vision {
  background: var(--ink-soft);
  color: var(--white);
}

.vision-copy h2 {
  max-width: 1000px;
  color: var(--white);
}

.vision-copy p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #bdbdc3;
}

.final-cta-grid h2 {
  margin-bottom: 18px;
}

.final-cta-grid > div > p {
  max-width: 600px;
  color: var(--muted);
}

.site-footer {
  padding-top: 72px;
  background: #070708;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}

.wordmark-light {
  color: var(--white);
}

.footer-brand p {
  max-width: 260px;
  margin-top: 20px;
  color: #aaaab0;
}

.footer-grid nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid strong {
  margin-bottom: 5px;
  color: #87878d;
  font-size: 10px;
  text-transform: uppercase;
}

.footer-grid nav a,
.footer-contact a {
  color: #d8d8dc;
  font-size: 13px;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--signal);
}

.footer-legal {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid #2f2f33;
  color: #85858c;
  font-size: 11px;
}

.footer-legal a {
  color: inherit;
}

.inner-hero,
.product-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.inner-hero > img,
.product-hero > img,
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.inner-hero > img,
.product-hero > img {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.inner-hero-overlay {
  z-index: -1;
  background: rgba(7, 7, 9, 0.75);
}

.inner-hero-content,
.product-hero-content {
  padding-top: 110px;
  padding-bottom: 76px;
}

.inner-hero h1,
.product-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.inner-hero-content > p:last-child,
.product-hero-content > p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.portfolio-page {
  padding-top: 0;
}

.portfolio-page .product-card h2 {
  margin-top: auto;
  margin-bottom: 16px;
  font-size: 38px;
}

.product-hero {
  min-height: 680px;
}

.product-hero-content {
  width: 100%;
}

.product-hero-muatim > img {
  object-position: center;
}

.product-hero-hakili > img,
.product-hero-jobs > img {
  object-position: center 42%;
}

.product-status {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-status span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.product-status .status-live {
  border-color: var(--muatim);
  color: var(--muatim);
}

.product-status .status-development {
  border-color: var(--signal);
  color: #ff9c8e;
}

.product-hero .button {
  margin-top: 28px;
}

.button-muatim,
.button-hakili,
.button-jobs {
  color: var(--ink);
}

.button-muatim { background: var(--muatim); }
.button-hakili { background: var(--hakili); }
.button-jobs { background: var(--jobs); }
.button-muatim:hover,
.button-hakili:hover,
.button-jobs:hover { background: var(--white); }

.product-statement p:last-child,
.page-intro p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.product-capabilities {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid h3 {
  margin-bottom: 48px;
  font-size: 24px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-evidence {
  background: #e8e5de;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.evidence-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.evidence-grid p:last-child {
  color: var(--muted);
}

.product-development {
  background: var(--ink);
  color: var(--white);
}

.product-development .shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.development-mark {
  color: var(--signal);
  font-family: var(--display);
  font-size: 58px;
  font-weight: 700;
}

.product-development h2 {
  margin-bottom: 14px;
}

.product-development p {
  max-width: 620px;
  margin-bottom: 0;
  color: #b8b8be;
}

.product-cta-muatim {
  background: #dceeff;
}

.service-band,
.topic-band,
.principles {
  background: var(--white);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 36px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span,
.principle-grid article > span,
.topic-list span,
.delivery li > span {
  color: var(--signal-dark);
  font-size: 11px;
  font-weight: 700;
}

.service-list h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.service-list p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
}

.delivery {
  background: var(--ink);
  color: var(--white);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.delivery-grid ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid #3a3a3f;
  list-style: none;
}

.delivery-grid li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #3a3a3f;
}

.delivery-grid strong {
  font-family: var(--display);
  font-size: 21px;
}

.delivery-grid li p {
  margin: 5px 0 0;
  color: #b7b7bd;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle-grid article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid h3 {
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 24px;
}

.principle-grid p,
.company-focus p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.company-focus {
  background: #e8e5de;
}

.company-focus .text-link {
  margin-top: 24px;
}

.topic-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.topic-list > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.topic-list strong {
  font-family: var(--display);
  font-size: 24px;
}

.policy-hero {
  padding-top: 150px;
  padding-bottom: 92px;
  background: var(--ink);
  color: var(--white);
}

.policy-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
}

.policy-hero > .shell > p:last-child {
  max-width: 620px;
  color: #bdbdc3;
  font-size: 18px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: 72px;
}

.policy-grid aside > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

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

.policy-copy h2 {
  margin-top: 54px;
  margin-bottom: 14px;
  font-size: 30px;
}

.policy-copy h2:first-child {
  margin-top: 0;
}

.policy-copy p {
  color: #4d4d52;
}

.legacy-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 72px;
}

.legacy-grid h1 {
  margin-bottom: 20px;
}

.legacy-grid p {
  max-width: 580px;
  margin-bottom: 28px;
  color: #bdbdc3;
}

.contact-hero {
  padding-top: 140px;
  padding-bottom: 88px;
  background: var(--ink);
  color: var(--white);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 72px;
  align-items: end;
}

.contact-hero h1 {
  max-width: 860px;
  margin-bottom: 0;
}

.contact-hero-grid > p {
  margin-bottom: 6px;
  color: #bdbdc3;
  font-size: 17px;
}

.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 112px;
}

.contact-details h2 {
  margin-bottom: 18px;
  font-size: 38px;
}

.contact-details > p:not(.section-index) {
  color: var(--muted);
}

.contact-details dl {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-details dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  font-size: 14px;
}

.contact-form {
  padding-left: 54px;
  border-left: 1px solid var(--line);
}

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

.contact-form label,
.contact-form label > span {
  display: block;
}

.contact-form label > span {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.contact-form label small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #a7a6a1;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 13px;
  resize: vertical;
}

.form-message {
  margin-top: 28px;
}

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

.form-submit {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}

.form-submit .button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

.form-privacy {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 11px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes status-pulse {
  50% { box-shadow: 0 0 0 9px rgba(79, 212, 135, 0.04); }
}

@keyframes signal-travel {
  from { left: 0; }
  to { left: calc(100% - 9px); }
}

@media (max-width: 1040px) {
  h1 { font-size: 62px; }
  h2 { font-size: 46px; }
  .shell { width: min(var(--shell), calc(100% - 48px)); }
  .site-header { padding-inline: 24px; gap: 24px; }
  .site-nav { gap: 20px; }
  .platform-grid,
  .why-grid,
  .technology-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / -1; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { gap: 52px; }
  .contact-form { padding-left: 36px; }
}

@media (max-width: 760px) {
  :root { --header-height: 66px; }
  h1 { font-size: 46px; }
  h2 { font-size: 38px; }
  h3 { font-size: 24px; }
  .shell { width: min(var(--shell), calc(100% - 36px)); }
  .site-header { grid-template-columns: auto auto; padding-inline: 18px; }
  .menu-toggle { display: block; justify-self: end; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 18px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 27px; }
  .hero-home { height: calc(100svh - 108px); min-height: 560px; max-height: 720px; }
  .hero-media { object-position: 64% center; }
  .hero-overlay { background: rgba(7, 7, 9, 0.78); }
  .hero-content { padding-bottom: 182px; }
  .hero-copy { max-width: 570px; font-size: 16px; }
  .hero-portfolio { grid-template-columns: 1fr; }
  .portfolio-item { min-height: 48px; display: grid; grid-template-columns: 110px 1fr; align-items: center; padding: 8px 12px; }
  .portfolio-item span { grid-row: 1 / 3; margin: 0; }
  .portfolio-item small { display: none; }
  .portfolio-item strong { font-size: 15px; }
  .section-pad { padding-block: 78px; }
  .statement-grid,
  .final-cta-grid,
  .section-heading,
  .platform-grid,
  .why-grid,
  .technology-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading .section-index { margin-bottom: -2px; }
  .product-grid,
  .capability-list { grid-template-columns: 1fr; }
  .product-card { min-height: 320px; }
  .product-card p { min-height: 0; }
  .capability-list article { min-height: 210px; }
  .platform-map { min-height: 450px; padding: 26px 18px; }
  .platform-map { grid-template-rows: auto 40px 1fr auto auto; padding-top: 0; }
  .platform-console-head { width: calc(100% + 36px); }
  .platform-signal { height: 40px; }
  .platform-signal::before { top: 19px; }
  .platform-signal i { top: 15px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid p:nth-child(odd) { border-right: 0; }
  .problem-grid p:nth-child(even) { padding-left: 0; }
  .build-with-mua { min-height: 600px; }
  .technology-grid ul { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .inner-hero,
  .product-hero { min-height: 580px; }
  .inner-hero-content,
  .product-hero-content { padding-top: 90px; padding-bottom: 64px; }
  .feature-grid,
  .evidence-grid,
  .product-development .shell,
  .delivery-grid,
  .policy-grid,
  .legacy-grid { grid-template-columns: 1fr; }
  .contact-hero-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; }
  .feature-grid h3 { margin-bottom: 28px; }
  .evidence-grid { gap: 34px; }
  .service-list article { grid-template-columns: 50px 1fr; gap: 18px; }
  .policy-grid { gap: 34px; }
  .contact-details { position: static; }
  .contact-form { padding-left: 0; border-left: 0; }
}

@media (max-width: 430px) {
  h1 { font-size: 39px; }
  h2 { font-size: 34px; }
  .hero-home { min-height: 600px; }
  .hero-content { padding-bottom: 176px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero .button { width: auto; align-self: flex-start; }
  .portfolio-item { grid-template-columns: 100px 1fr; }
  .product-meta { flex-direction: column; }
  .platform-core { width: 190px; padding: 22px; }
  .technology-grid ul { grid-template-columns: 1fr; }
  .technology-grid li:nth-child(odd) { border-right: 0; }
  .technology-grid li:nth-child(even) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 22px; }
  .principle-grid { grid-template-columns: 1fr; }
  .topic-list > div { grid-template-columns: 42px 1fr; }
  .topic-list strong { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-media { transform: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
