@font-face {
  font-family: "Manrope";
  src: url("/site-assets/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --lab-blue: #5fade8;
  --deep-blue: #1267b1;
  --deep-blue-hover: #0d5799;
  --ice: #eaf6ff;
  --cloud: #f5f9fc;
  --white: #ffffff;
  --ink: #162538;
  --body: #536477;
  --line: #dbe7ef;
  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(18, 103, 177, 0.12);
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

[id] {
  scroll-margin-top: 96px;
}

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

.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--deep-blue);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 231, 239, 0.8);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: #3e4f61;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--deep-blue);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.language-link {
  min-width: 38px;
  justify-content: center;
  color: var(--deep-blue);
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--deep-blue);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(18, 103, 177, 0.16);
}

.nav-cta:hover {
  background: var(--deep-blue-hover);
}

.menu-button {
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.menu-icon,
.menu-icon::before {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease;
}

.menu-icon::before {
  transform: translateY(6px);
}

.menu-button[aria-expanded="true"] .menu-icon {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  transform: rotate(-90deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--deep-blue);
  box-shadow: 0 12px 28px rgba(18, 103, 177, 0.2);
}

.button-primary:hover {
  background: var(--deep-blue-hover);
  box-shadow: 0 16px 32px rgba(18, 103, 177, 0.26);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--deep-blue);
  border-color: #a9cce6;
  box-shadow: 0 12px 25px rgba(28, 77, 114, 0.1);
}

.button-white {
  color: var(--deep-blue);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(6, 55, 98, 0.18);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-blue);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.hero-badge,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 750;
}

.hero-badge {
  padding: 8px 13px;
  background: var(--ice);
  border: 1px solid #c7e4f8;
  border-radius: 999px;
}

.kicker > span {
  width: 22px;
  height: 2px;
  background: var(--lab-blue);
  border-radius: 999px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 8vw, 112px) clamp(82px, 9vw, 125px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero::before {
  position: absolute;
  top: -180px;
  left: -200px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(95, 173, 232, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 22px 0 24px;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero-copy > p:not(.hero-badge) {
  max-width: 630px;
  margin: 0;
  color: var(--body);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.lab-visual {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}

.lab-pattern {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: inset 0 0 0 1px rgba(95, 173, 232, 0.14), 0 26px 80px rgba(38, 118, 177, 0.12);
}

.lab-orbit {
  position: absolute;
  z-index: -1;
  border: 1px dashed rgba(18, 103, 177, 0.25);
  border-radius: 50%;
}

.lab-orbit-one {
  inset: 78px 80px 105px;
}

.lab-orbit-two {
  inset: 138px 142px 164px;
}

.lab-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 236px;
  height: 236px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(18, 103, 177, 0.13);
  border-radius: 50%;
  box-shadow: 0 28px 65px rgba(18, 103, 177, 0.2);
  transform: translate(-50%, -54%);
}

.lab-core img {
  width: 190px;
  height: 190px;
}

.bubble {
  position: absolute;
  background: rgba(95, 173, 232, 0.2);
  border: 1px solid rgba(18, 103, 177, 0.16);
  border-radius: 50%;
}

.bubble-one {
  top: -28px;
  right: 28px;
  width: 22px;
  height: 22px;
}

.bubble-two {
  top: -56px;
  right: 8px;
  width: 12px;
  height: 12px;
}

.floating-product,
.floating-code,
.lab-note {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(134, 182, 217, 0.34);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(42, 103, 148, 0.14);
}

.floating-product {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 14px 9px 9px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-product:hover {
  color: var(--deep-blue);
  box-shadow: 0 22px 50px rgba(42, 103, 148, 0.2);
  transform: translateY(-3px);
}

.floating-product img {
  border-radius: 12px;
}

.floating-drum {
  top: 72px;
  left: 30px;
}

.floating-pads {
  top: 124px;
  right: 22px;
}

.floating-piano {
  right: 52px;
  bottom: 104px;
}

.floating-code {
  bottom: 86px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
}

.floating-code > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--deep-blue);
  font-size: 14px;
  font-weight: 800;
  border-radius: 12px;
}

.floating-code strong {
  font-size: 13px;
}

.lab-note {
  right: 40px;
  bottom: 25px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
}

.lab-note > span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: #32c48d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(50, 196, 141, 0.12);
}

.lab-note div {
  display: flex;
  flex-direction: column;
}

.lab-note strong {
  font-size: 12px;
}

.lab-note small {
  color: var(--body);
  font-size: 10px;
}

/* Proof */

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

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

.proof-grid > div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px clamp(24px, 4vw, 50px);
  border-right: 1px solid var(--line);
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-grid strong {
  color: var(--deep-blue);
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.proof-grid span {
  max-width: 270px;
  color: var(--body);
  font-size: 13px;
}

/* Shared section heading */

.section-heading {
  max-width: 740px;
  margin-bottom: 54px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading-center .kicker {
  justify-content: center;
}

.section-heading h2 {
  margin: 14px 0 16px;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--body);
  font-size: 17px;
}

.section-heading-center > p:last-child {
  margin-inline: auto;
}

/* Products */

.products-section {
  padding-block: clamp(90px, 10vw, 145px);
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.product-card {
  grid-column: span 3;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  background: var(--cloud);
  border: 1px solid #e4edf4;
  border-radius: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card-featured {
  grid-column: span 6;
  min-height: 420px;
  padding: 30px;
  background: linear-gradient(145deg, #f7fbfe 0%, color-mix(in srgb, var(--app-color) 10%, #eef8ff) 100%);
}

.product-card:hover {
  border-color: #b9d7eb;
  box-shadow: 0 22px 50px rgba(31, 87, 128, 0.11);
  transform: translateY(-4px);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.product-card-top > img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(32, 71, 100, 0.18);
}

.product-card-featured .product-card-top > img {
  width: 112px;
  height: 112px;
  border-radius: 25px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.platform-list span,
.status-pill {
  padding: 5px 8px;
  color: #607183;
  background: rgba(255, 255, 255, 0.84);
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #d8e4ec;
  border-radius: 999px;
}

.status-pill {
  display: inline-flex;
  color: #8b6312;
  background: #fff7dc;
  border-color: #f2dda0;
}

.product-card-copy {
  margin-top: auto;
  padding-top: 34px;
}

.product-card-copy > p:first-child {
  margin: 0 0 5px;
  color: var(--deep-blue);
  font-size: 12px;
  font-weight: 750;
}

.product-card-copy h3 {
  margin: 0 0 9px;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.product-card-copy > p:last-child {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.6;
}

.product-card-featured .product-card-copy > p:last-child {
  max-width: 500px;
  font-size: 15px;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.link-disc {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--deep-blue);
  border-radius: 50%;
  transition: transform 160ms ease, background-color 160ms ease;
}

.card-link:hover .link-disc,
.next-app a:hover .link-disc {
  background: var(--deep-blue-hover);
  transform: translate(2px, -2px);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Services */

.services-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(90px, 10vw, 145px);
  background: var(--ice);
}

.services-section::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(95, 173, 232, 0.26), transparent 68%);
  content: "";
  pointer-events: none;
}

.capability-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.capability-grid article,
.value-grid article,
.feature-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid #d5e8f6;
  border-radius: 19px;
  box-shadow: 0 12px 30px rgba(30, 105, 159, 0.06);
}

.capability-icon,
.value-grid article > span,
.feature-grid article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--deep-blue);
  background: var(--ice);
  font-size: 18px;
  font-weight: 800;
  border-radius: 13px;
}

.capability-grid h3,
.value-grid h3,
.feature-grid h3 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.capability-grid p,
.value-grid p,
.feature-grid p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
}

.process {
  position: relative;
  z-index: 1;
  margin-top: 110px;
  padding: clamp(34px, 5vw, 65px);
  color: var(--white);
  background: var(--deep-blue);
  border-radius: 28px;
}

.process h2 {
  max-width: 620px;
  margin: 0 0 45px;
  font-size: clamp(35px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.process li > span {
  color: #bfe3ff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.process h3 {
  margin: 30px 0 8px;
  font-size: 21px;
}

.process p {
  margin: 0;
  color: #d6ebfa;
  font-size: 13px;
}

/* Case study */

.case-study {
  padding-block: clamp(90px, 10vw, 145px);
  color: var(--white);
  background: var(--deep-blue);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(54px, 8vw, 105px);
  align-items: center;
}

.case-media {
  position: relative;
}

.case-media > img {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  box-shadow: 0 30px 65px rgba(4, 44, 80, 0.35);
}

.case-stat {
  position: absolute;
  right: -24px;
  bottom: -28px;
  min-width: 190px;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 20px 45px rgba(4, 44, 80, 0.22);
}

.case-stat strong {
  display: block;
  color: var(--deep-blue);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.case-stat span {
  color: var(--body);
  font-size: 11px;
}

.case-copy .kicker {
  color: #d5eeff;
}

.case-copy h2 {
  margin: 16px 0 20px;
  font-size: clamp(38px, 4.8vw, 59px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.case-copy > p {
  margin: 0;
  color: #d7eafb;
  font-size: 16px;
}

.case-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 26px 0;
  padding-left: 16px;
  border-left: 2px solid var(--lab-blue);
}

.case-detail span:first-child {
  font-weight: 750;
}

.case-detail span:last-child {
  color: #c1def3;
  font-size: 12px;
}

/* About and final CTA */

.about-section {
  padding-block: clamp(90px, 10vw, 145px);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 10vw, 145px);
  align-items: center;
}

.about-logo {
  display: grid;
  place-items: center;
  min-height: 380px;
  background: url("/site-assets/lab-pattern.svg") center / cover;
  border-radius: 30px;
}

.about-logo img {
  width: 240px;
  filter: drop-shadow(0 24px 35px rgba(28, 102, 156, 0.18));
}

.about-grid .section-heading {
  margin-bottom: 25px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 70px;
  color: var(--white);
  background: linear-gradient(135deg, #0e5e9f, #218bd3);
}

.final-cta::after {
  position: absolute;
  inset: 0;
  background: url("/site-assets/lab-pattern.svg") center / cover;
  content: "";
  opacity: 0.08;
  mix-blend-mode: screen;
}

.final-cta .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.final-cta img {
  width: 96px;
  height: 96px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.final-cta h2 {
  margin: 0 0 7px;
  font-size: clamp(30px, 4vw, 45px);
  letter-spacing: -0.04em;
}

.final-cta p {
  max-width: 650px;
  margin: 0;
  color: #d9eeff;
}

/* Footer */

.site-footer {
  padding-top: 75px;
  color: #dce8f1;
  background: #102b43;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: clamp(30px, 6vw, 80px);
  padding-bottom: 65px;
}

.footer-brand .brand {
  color: var(--white);
}

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

.footer-brand p {
  max-width: 360px;
  margin: 20px 0 0;
  color: #a9c0d2;
}

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

.footer-column strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 13px;
}

.footer-column a {
  color: #b8cddd;
  font-size: 13px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 20px;
  color: #8eabbf;
  font-size: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Inner page hero */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 125px);
  background: linear-gradient(180deg, var(--white), #f5fbff);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(95, 173, 232, 0.2), transparent 68%);
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
}

.page-hero h1 {
  max-width: 880px;
  margin: 22px 0 20px;
  font-size: clamp(50px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.page-hero .page-hero-grid > div:first-child > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--body);
  font-size: 19px;
}

.page-hero-mark {
  width: 270px;
  height: 270px;
  display: grid;
  place-items: center;
  background: url("/site-assets/lab-pattern.svg") center / cover;
  border-radius: 50%;
}

.page-hero-mark img {
  width: 190px;
}

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

/* About page */

.about-detail {
  padding-block: clamp(90px, 10vw, 140px);
}

.about-story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(55px, 9vw, 120px);
  align-items: center;
  margin-bottom: 90px;
}

.about-story > img {
  width: 290px;
  margin-inline: auto;
  filter: drop-shadow(0 25px 38px rgba(28, 102, 156, 0.18));
}

.about-story h2 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 59px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.about-story p {
  color: var(--body);
  font-size: 17px;
}

.value-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-grid article,
.feature-grid article {
  background: var(--cloud);
  border-color: #e1ebf2;
}

/* Support */

.support-section {
  padding-block: clamp(85px, 10vw, 130px);
}

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

.support-list li {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 20px;
  align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.support-list img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
}

.support-list li > div {
  display: flex;
  flex-direction: column;
}

.support-list strong {
  font-size: 18px;
}

.support-list span {
  color: var(--body);
  font-size: 12px;
}

.support-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 750;
}

.support-contact {
  margin-top: 60px;
  padding: 38px;
  background: var(--ice);
  border-radius: 22px;
}

.support-contact h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.support-contact p {
  max-width: 700px;
  margin: 0 0 24px;
  color: var(--body);
}

/* App page */

.app-hero {
  padding-block: 32px 100px;
  background: linear-gradient(180deg, var(--white), #f8fcff);
}

.breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 62px;
  color: var(--body);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--deep-blue);
}

.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(370px, 0.8fr) 1.2fr;
  gap: clamp(60px, 9vw, 125px);
  align-items: center;
}

.app-icon-stage {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: color-mix(in srgb, var(--app-color) 11%, var(--ice));
  border: 1px solid color-mix(in srgb, var(--app-color) 24%, var(--line));
  border-radius: 32px;
}

.app-icon-stage::before {
  position: absolute;
  inset: 0;
  background: url("/site-assets/lab-pattern.svg") center / cover;
  content: "";
  opacity: 0.38;
}

.app-icon-stage > img {
  position: relative;
  z-index: 2;
  width: min(64%, 310px);
  border-radius: 28px;
  box-shadow: 0 32px 60px rgba(23, 67, 99, 0.24);
}

.app-stage-bubble {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 103, 177, 0.16);
  border-radius: 50%;
}

.app-stage-bubble.one {
  top: 55px;
  right: 55px;
  width: 28px;
  height: 28px;
}

.app-stage-bubble.two {
  top: 30px;
  right: 105px;
  width: 15px;
  height: 15px;
}

.app-intro h1 {
  margin: 17px 0 20px;
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.app-intro > p:not(.kicker) {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--body);
  font-size: 20px;
}

.app-intro .platform-list {
  justify-content: flex-start;
  margin-bottom: 30px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-button {
  min-width: 170px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.store-button:hover {
  border-color: #a6cde8;
  box-shadow: 0 12px 25px rgba(28, 77, 114, 0.1);
  transform: translateY(-2px);
}

.store-button span {
  color: var(--body);
  font-size: 9px;
}

.store-button strong {
  font-size: 13px;
}

.store-status {
  background: #fff8dc;
  border-color: #ead68b;
}

.app-description {
  padding-block: clamp(80px, 10vw, 130px);
  color: var(--white);
  background: var(--deep-blue);
}

.app-description p {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(31px, 4.5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.app-features {
  padding-block: clamp(85px, 10vw, 135px);
}

.app-resources {
  padding-block: 70px;
  background: var(--ice);
}

.app-resources .shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.app-resources h2 {
  margin: 0;
  font-size: 37px;
  letter-spacing: -0.04em;
}

.app-resources .shell > div {
  display: flex;
  flex-direction: column;
}

.app-resources a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #c6deee;
}

.app-resources a:first-child {
  border-top: 1px solid #c6deee;
}

.app-resources a:hover {
  color: var(--deep-blue);
}

.next-app {
  background: var(--white);
}

.next-app a {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  min-height: 180px;
  display: grid;
  grid-template-columns: 0.6fr 1fr auto;
  gap: 30px;
  align-items: center;
  margin-inline: auto;
  text-decoration: none;
}

.next-app a > span:first-child {
  color: var(--body);
  font-size: 12px;
}

.next-app strong {
  font-size: clamp(35px, 5vw, 57px);
  letter-spacing: -0.045em;
}

/* Not found */

.not-found {
  min-height: 690px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--cloud);
}

.not-found img {
  width: 130px;
  margin: 0 auto 20px;
}

.not-found strong {
  color: var(--lab-blue);
  font-size: 90px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.not-found h1 {
  margin: 15px auto 10px;
  font-size: clamp(35px, 5vw, 55px);
}

.not-found p {
  margin: 0 0 28px;
  color: var(--body);
}

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

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

  .lab-visual {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }

  .product-card,
  .product-card-featured {
    grid-column: span 6;
  }

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

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

  .case-media {
    max-width: 780px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(25, 70, 104, 0.1);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav > a:not(.nav-cta) {
    min-height: 49px;
    border-bottom: 1px solid var(--line);
  }

  .nav-divider {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
  }

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

  .proof-grid > div,
  .proof-grid > div:first-child,
  .proof-grid > div:last-child {
    min-height: auto;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .process ol,
  .value-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .about-story,
  .app-hero-grid,
  .app-resources .shell {
    grid-template-columns: 1fr;
  }

  .about-logo {
    min-height: 340px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-mark {
    display: none;
  }

  .app-icon-stage {
    min-height: 420px;
  }

  .final-cta .shell {
    grid-template-columns: auto 1fr;
  }

  .final-cta .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 13.7vw, 65px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lab-visual {
    min-height: 490px;
  }

  .lab-core {
    width: 180px;
    height: 180px;
  }

  .lab-core img {
    width: 145px;
    height: 145px;
  }

  .lab-orbit-one {
    inset: 72px 24px 100px;
  }

  .lab-orbit-two {
    inset: 128px 80px 155px;
  }

  .floating-product {
    padding: 7px;
  }

  .floating-product span {
    display: none;
  }

  .floating-drum {
    top: 50px;
    left: 18px;
  }

  .floating-pads {
    top: 84px;
    right: 15px;
  }

  .floating-piano {
    right: 20px;
    bottom: 78px;
  }

  .floating-code {
    bottom: 78px;
    left: 15px;
    padding: 8px;
  }

  .floating-code strong {
    display: none;
  }

  .lab-note {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .product-card,
  .product-card-featured {
    grid-column: 1 / -1;
    min-height: 365px;
    padding: 23px;
  }

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

  .case-stat {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -18px 18px 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .page-hero h1 {
    font-size: clamp(44px, 13vw, 65px);
  }

  .app-hero {
    padding-bottom: 70px;
  }

  .breadcrumb {
    margin-bottom: 38px;
  }

  .app-icon-stage {
    min-height: 340px;
  }

  .app-intro h1 {
    font-size: clamp(52px, 15vw, 75px);
  }

  .store-button {
    width: 100%;
  }

  .app-description p {
    font-size: 30px;
  }

  .support-list li {
    grid-template-columns: 58px 1fr;
  }

  .support-list li > a {
    grid-column: 2;
  }

  .next-app a {
    min-height: 150px;
    grid-template-columns: 1fr auto;
  }

  .next-app a > span:first-child {
    grid-column: 1 / -1;
    align-self: end;
  }

  .next-app strong {
    align-self: start;
  }

  .final-cta .shell {
    grid-template-columns: 1fr;
  }

  .final-cta .button {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
