/* Self-hosted from packages/fonts: Latin-subset woff2 at exactly the weights
   used below, so no request leaves this origin for a typeface. Upstream
   sources and the OFL 1.1 licences are in that directory's README; the licence
   text is served at /fonts/onest/OFL.txt and /fonts/jetbrains-mono/OFL.txt.
   Arabic on the legal pages is left to the system stack (see legal.css). */
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/onest/onest-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/onest/onest-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/onest/onest-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/onest/onest-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/jetbrains-mono/jetbrains-mono-latin-500.woff2')
    format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/jetbrains-mono/jetbrains-mono-latin-600.woff2')
    format('woff2');
}

:root {
  color-scheme: light;
  font-family: Onest, system-ui, sans-serif;
  color: #141414;
  background: #f6f5f1;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #2b55d6;
  outline-offset: 4px;
}
::selection {
  background: #cbd7ff;
}

.svg-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.page-width {
  max-width: 1460px;
  margin-inline: auto;
  padding-inline: 56px;
}
.skip-link {
  position: absolute;
  z-index: 20;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  background: #141414;
  color: #fff;
}
.skip-link:focus {
  top: 12px;
}
.preview-banner {
  padding: 7px 12px;
  background: #e5eaff;
  color: #243f98;
  text-align: center;
  font:
    600 10px/1.3 'JetBrains Mono',
    ui-monospace,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}
.brand svg {
  width: 35px;
  height: 27px;
  flex: none;
  --mark-pivot: #2b55d6;
}
.brand-fit {
  font-weight: 500;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 38px;
  padding-bottom: 24px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}
.desktop-nav > a:not(.button) {
  text-decoration: none;
}
.desktop-nav > a:not(.button):hover {
  color: #2b55d6;
}
.mobile-nav {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid #141414;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  background: #141414;
  color: #fff;
}
.button-dark:hover {
  background: #2b55d6;
  border-color: #2b55d6;
}
.button-blue {
  background: #2b55d6;
  border-color: #2b55d6;
  color: #fff;
}
.button-blue:hover {
  background: #2044ad;
  border-color: #2044ad;
}
.button-outline {
  background: transparent;
  color: #141414;
}
.button-outline:hover {
  background: #141414;
  color: #fff;
}
.eyebrow,
.section-label {
  margin: 0;
  font:
    600 11px/1.4 'JetBrains Mono',
    ui-monospace,
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow {
  color: #2b55d6;
}
.section-label {
  color: #4766bd;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: 6vw;
  min-height: 680px;
  padding-top: 50px;
  padding-bottom: 100px;
}
.hero-copy {
  max-width: 720px;
}
.hero h1 {
  margin: 24px 0 27px;
  font-size: clamp(58px, 6.7vw, 106px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.07em;
}
.hero h1 span {
  color: #2b55d6;
}
.hero-lead {
  max-width: 570px;
  margin: 0;
  color: #4e4e4e;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.workspace-figure {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 20px 20px 0;
}
.workspace-backdrop {
  position: absolute;
  inset: 0 0 36px;
  border-radius: 18px;
  background: #2b55d6;
  transform: rotate(4deg);
}
.workspace {
  position: relative;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(20, 20, 20, 0.15);
}
.workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 17px;
  border-bottom: 1px solid #e7e7e7;
  color: #686868;
  font:
    500 9px/1.3 'JetBrains Mono',
    ui-monospace,
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bdbdbd;
}
.window-dots i:first-child {
  background: #2b55d6;
}
.workspace-body {
  display: grid;
  grid-template-columns: 122px 1fr;
  min-height: 355px;
}
.workspace-side {
  padding: 21px 12px;
  border-right: 1px solid #e9e9e9;
  background: #f8f8f8;
}
.workspace-side strong {
  display: block;
  margin: 0 8px 26px;
  font-size: 10px;
  text-transform: uppercase;
}
.workspace-side span {
  display: block;
  margin: 6px 0;
  padding: 7px 8px;
  border-radius: 4px;
  color: #666;
  font-size: 9px;
}
.workspace-side span.selected {
  background: #e6ebff;
  color: #244bc1;
  font-weight: 700;
}
.workspace-content {
  padding: 25px 24px;
}
.workspace-meta {
  margin: 0;
  color: #686868;
  font:
    500 9px/1.3 'JetBrains Mono',
    ui-monospace,
    monospace;
  text-transform: uppercase;
}
.workspace-greeting {
  display: block;
  margin: 2px 0 7px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.workspace-subtitle {
  margin: 0;
  color: #686868;
  font-size: 10px;
}
.workspace-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 24px 0;
}
.workspace-metrics div {
  padding: 13px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}
.workspace-metrics span {
  display: block;
  color: #666;
  font-size: 9px;
}
.workspace-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}
.workspace-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #ededed;
  font-size: 10px;
}
.workspace-row strong {
  font-weight: 600;
}
.workspace-row span {
  color: #686868;
  text-align: right;
}
.workspace-figure figcaption {
  position: relative;
  margin: 16px 0 0 4px;
  color: #686868;
  font:
    500 11px/1.4 'JetBrains Mono',
    ui-monospace,
    monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roles {
  display: grid;
  grid-template-columns: 1.18fr repeat(3, 1fr);
  gap: 28px;
  padding-top: 48px;
  padding-bottom: 95px;
  border-top: 1px solid #d4d3cf;
}
.roles-heading h2 {
  max-width: 340px;
  margin: 19px 0 0;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.roles article {
  padding-top: 4px;
}
.role-number {
  color: #2b55d6;
  font:
    500 12px/1 'JetBrains Mono',
    ui-monospace,
    monospace;
}
.roles h3 {
  margin: 24px 0 9px;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.roles article p {
  max-width: 260px;
  margin: 0;
  color: #626262;
  font-size: 14px;
  line-height: 1.55;
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 7vw;
  padding-top: 70px;
  padding-bottom: 100px;
  border-top: 1px solid #d4d3cf;
}
.flow-intro h2 {
  max-width: 580px;
  margin: 20px 0 18px;
  font-size: clamp(43px, 4.4vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.flow-intro > p:last-child {
  max-width: 480px;
  color: #626262;
  font-size: 16px;
  line-height: 1.65;
}
.flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.flow-steps li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid #d5d4d0;
}
.flow-steps li:first-child {
  border-top: 1px solid #d5d4d0;
}
.flow-steps li > span {
  padding-top: 4px;
  color: #2b55d6;
  font:
    600 13px/1.5 'JetBrains Mono',
    ui-monospace,
    monospace;
}
.flow-steps h3 {
  margin: 0 0 5px;
  font-size: 23px;
  letter-spacing: -0.035em;
}
.flow-steps p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.approach {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  padding-top: 62px;
  padding-bottom: 62px;
  border-radius: 12px;
  background: #141414;
  color: #fff;
}
.approach .section-label {
  color: #9bb1ff;
}
.approach h2 {
  max-width: 760px;
  margin: 21px 0 0;
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.approach > p {
  max-width: 300px;
  margin: 0;
  color: #c8c8c8;
  font-size: 15px;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 6vw;
  margin-top: 100px;
  margin-bottom: 100px;
  padding-top: 49px;
  padding-bottom: 49px;
  border-top: 1px solid #d4d3cf;
  border-bottom: 1px solid #d4d3cf;
}
.contact h2 {
  max-width: 520px;
  margin: 21px 0 16px;
  font-size: clamp(38px, 3.6vw, 57px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.contact-copy > p:last-child {
  max-width: 420px;
  color: #626262;
  font-size: 15px;
  line-height: 1.6;
}
.contact-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 32px;
  border: 1px solid #dbdad5;
  border-radius: 9px;
  background: #fff;
}
.contact-cta {
  min-height: 58px;
  padding: 0 26px;
  font-size: 16px;
}
.contact-note {
  max-width: 44ch;
  margin: 0;
  color: #626262;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 42px;
}
.site-footer p {
  margin: 0;
  color: #666;
  font-size: 12px;
}
.footer-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-meta a {
  color: #244bc1;
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (max-width: 1050px) {
  .page-width {
    padding-inline: 28px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 70px;
  }
  .workspace-figure {
    max-width: 690px;
  }
  .roles {
    grid-template-columns: repeat(3, 1fr);
  }
  .roles-heading {
    grid-column: 1 / -1;
  }
  .roles-heading h2 {
    max-width: 620px;
  }
  .flow {
    gap: 4vw;
  }
}

@media (max-width: 700px) {
  .page-width {
    padding-inline: 20px;
  }
  .site-header {
    padding-top: 24px;
    padding-bottom: 0;
  }
  .brand {
    font-size: 22px;
  }
  .brand svg {
    width: 29px;
    height: 23px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    position: relative;
    display: block;
  }
  .mobile-nav summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #141414;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary::after {
    content: '☰';
    margin-left: 10px;
    font-size: 14px;
  }
  .mobile-nav[open] nav {
    position: absolute;
    z-index: 10;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    min-width: 205px;
    padding: 8px;
    border: 1px solid #d4d3cf;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 20, 20, 0.12);
  }
  .mobile-nav nav a {
    padding: 13px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-nav nav a:hover {
    background: #e9eeff;
  }
  .hero {
    min-height: 0;
    gap: 37px;
    padding-top: 78px;
    padding-bottom: 90px;
  }
  .hero h1 {
    margin-top: 24px;
    font-size: clamp(48px, 13vw, 72px);
  }
  .hero-lead {
    font-size: 18px;
  }
  .workspace-figure {
    padding: 12px 12px 0;
  }
  .workspace-body {
    grid-template-columns: 85px 1fr;
  }
  .workspace-side {
    padding: 18px 4px;
  }
  .workspace-content {
    padding: 20px 12px;
  }
  .workspace-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .workspace-metrics div:last-child {
    display: none;
  }
  .roles {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 42px;
    padding-bottom: 70px;
  }
  .roles-heading {
    grid-column: auto;
    margin-bottom: 5px;
  }
  .roles article {
    padding: 20px 0 0;
    border-top: 1px solid #d4d3cf;
  }
  .roles h3 {
    margin-top: 12px;
  }
  .roles article p {
    max-width: 100%;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 70px;
    padding-bottom: 80px;
  }
  .flow-intro h2 {
    font-size: 48px;
  }
  .flow-steps li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }
  .approach {
    display: block;
    padding-top: 39px;
    padding-bottom: 40px;
    border-radius: 0;
  }
  .approach h2 {
    font-size: 43px;
  }
  .approach > p {
    max-width: 550px;
    margin-top: 27px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 70px;
    margin-bottom: 55px;
  }
  .contact h2 {
    font-size: 43px;
  }
  .contact-action {
    padding: 22px;
  }
  .site-footer {
    display: block;
  }
  .site-footer p {
    margin-top: 16px;
  }
  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 460px) {
  .preview-banner {
    font-size: 11px;
    letter-spacing: 0.07em;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.07em;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-actions {
    display: grid;
    justify-items: start;
  }
  .workspace-top {
    font-size: 7px;
  }
  .workspace-side span {
    font-size: 8px;
  }
  .workspace-greeting {
    font-size: 14px;
  }
  .workspace-metrics div {
    padding: 8px;
  }
  .workspace-metrics strong {
    font-size: 19px;
  }
  .workspace-row {
    font-size: 8px;
  }
  .flow-intro h2,
  .approach h2,
  .contact h2 {
    font-size: 39px;
  }
  .contact-cta {
    width: 100%;
  }
}

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