/* Edition 3: flight, modular thinking, and two distinct material palettes. */
:root {
  --hero-ground: #f5f8f4;
  --cube-front: #49a078;
  --cube-side: #216869;
  --cube-top: #9cc5a1;
  --cube-seam: #dce1de;
}
html[data-theme="dark"] {
  --hero-ground: #1f2421;
  --cube-front: #49a078;
  --cube-side: #216869;
  --cube-top: #9cc5a1;
  --cube-seam: #1f2421;
}
.hero,
html[data-theme="dark"] .hero {
  isolation: isolate;
  min-height: 0;
  color: var(--text);
  background: var(--hero-ground);
}
.hero::after,
html[data-theme="dark"] .hero::after {
  transform: none;
  background: linear-gradient(to bottom, transparent 72%, var(--hero-ground));
  z-index: -1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
    ellipse at 22% 35%,
    rgba(156, 197, 161, 0.28),
    transparent 56%
  );
}
[dir="ltr"] .hero::before {
  transform: scaleX(-1);
}
.hero-inner {
  min-height: min(700px, 100svh);
  padding-block: 112px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-content: center;
  align-items: end;
  column-gap: 6%;
  row-gap: 34px;
  pointer-events: none;
}
.hero-inner > * {
  pointer-events: auto;
}
.hero-copy {
  width: 100%;
  grid-column: 1;
  align-self: start;
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.hero h1 {
  font-size: clamp(40px, 3.8vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--accent-text);
}
.hero .eyebrow {
  background: var(--surface);
  color: var(--accent-text);
  border-color: var(--border);
  margin-bottom: 16px;
}
.hero .lead {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 16px;
  margin-bottom: 23px;
}
.hero-stage {
  position: absolute;
  inset-inline-end: 0;
  top: 68px;
  width: 43%;
  height: 400px;
  max-width: 610px;
  z-index: 1;
  pointer-events: none;
}
.flight-bird {
  position: relative;
  z-index: 2;
  width: 86%;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 20px rgba(33, 104, 105, 0.16));
}
[dir="ltr"] .flight-bird {
  transform: scaleX(-1);
}
.flight-orbit {
  position: absolute;
  border: 1px solid rgba(33, 104, 105, 0.15);
  border-radius: 50%;
  width: 88%;
  height: 67%;
  top: 18%;
  left: 5%;
  transform: rotate(-27deg);
}
.orbit-b {
  width: 66%;
  height: 90%;
  top: 5%;
  left: 17%;
  transform: rotate(35deg);
  border-style: dashed;
}
.stage-caption {
  display: none;
}
.signal-card,
html[data-theme="dark"] .signal-card {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  width: min(100%, 300px);
  padding: 15px 18px;
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 12px 36px rgba(31, 36, 33, 0.06);
}
.signal-intro {
  font-size: 12px;
}
.signal-tags {
  margin-top: 8px;
}
.signal-head {
  font-size: 13px;
  margin-bottom: 7px;
}
.signal-head a,
.signal-tags span {
  color: var(--accent-text);
  font-size: 11px;
}
.stats-card,
html[data-theme="dark"] .stats-card {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  min-height: 90px;
  padding: 16px 10px;
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 12px 36px rgba(31, 36, 33, 0.06);
}
.stat {
  padding-inline: 10px;
  gap: 8px;
}
.stat strong {
  font-size: 17px;
}
.stat span {
  font-size: 10px;
}
.stat svg {
  width: 23px;
  flex-shrink: 0;
}
.scroll-hint {
  bottom: 18px;
  width: 20px;
  height: 30px;
}
.scroll-hint span {
  width: 2px;
  height: 6px;
  left: 8px;
}
.section-label {
  color: var(--accent-text);
  font-size: 12px;
}
.solutions {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hero-ground);
  padding-top: 42px;
}
.solutions .shell {
  position: relative;
  z-index: 1;
}
.section-heading {
  gap: 60px;
  margin-bottom: 34px;
}
.section-heading h2 {
  font-size: clamp(32px, 3.3vw, 46px);
  max-width: 700px;
}
.solution-card {
  min-height: 310px;
  padding: 30px 26px 65px;
  background: var(--surface);
  border-color: var(--border);
  overflow: hidden;
}
.solution-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  top: -75px;
  inset-inline-start: -50px;
  background: rgba(156, 197, 161, 0.15);
}
.solution-card:nth-child(even) {
  background: var(--surface-2);
}
.solution-card h3 {
  margin-top: 32px;
}
.solution-card > a {
  width: 40px;
  height: 40px;
}
.solution-card p {
  font-size: 14px;
}
.card-top {
  min-height: 50px;
  align-items: center;
}
.card-top small {
  font-size: 11px;
  letter-spacing: 0.12em;
}
.rubik {
  --cube-size: 100px;
  display: inline-block;
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  perspective: 900px;
  flex-shrink: 0;
}
.rubik-body {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(-35deg) rotateZ(8deg);
}
.rubik-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: calc(var(--cube-size) * 0.028);
  padding: calc(var(--cube-size) * 0.025);
  background: var(--cube-seam);
  border-radius: calc(var(--cube-size) * 0.065);
  backface-visibility: hidden;
}
.rubik-face i {
  display: block;
  border-radius: calc(var(--cube-size) * 0.035);
  background: var(--cube-front);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.3);
}
.rubik-front {
  transform: translateZ(calc(var(--cube-size) / 2));
}
.rubik-side {
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}
.rubik-top {
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}
.rubik-side i {
  background: var(--cube-side);
}
.rubik-top i {
  background: var(--cube-top);
}
.rubik-front i:nth-child(3),
.rubik-front i:nth-child(7) {
  background: var(--cube-top);
}
.rubik-side i:nth-child(5) {
  background: var(--cube-front);
}
.rubik-top i:nth-child(8) {
  background: var(--cube-front);
}
.hero-cube {
  --cube-size: 65px;
  position: absolute;
  bottom: 14%;
  inset-inline-end: 8%;
  z-index: 3;
  filter: drop-shadow(0 20px 12px rgba(31, 36, 33, 0.17));
  transform: rotate(-15deg);
}
.card-cube {
  --cube-size: 37px;
  margin: 6px 12px;
}
.solution-card:nth-child(2) .rubik-body {
  transform: rotateX(-22deg) rotateY(-52deg) rotateZ(-8deg);
}
.solution-card:nth-child(3) .rubik-body {
  transform: rotateX(-34deg) rotateY(-24deg) rotateZ(12deg);
}
.solution-card:nth-child(4) .rubik-body {
  transform: rotateX(-20deg) rotateY(-40deg) rotateZ(-15deg);
}
.cube-wire {
  opacity: 0.17;
  pointer-events: none;
}
.cube-wire .rubik-face {
  background: transparent;
  border: 1px solid var(--teal);
}
.cube-wire .rubik-face i {
  background: transparent;
  border: 1px solid var(--teal);
  box-shadow: none;
}
[data-theme="dark"] .cube-wire .rubik-face,
[data-theme="dark"] .cube-wire .rubik-face i {
  border-color: var(--sage);
}
.section-cube {
  --cube-size: 210px;
  position: absolute;
  inset-inline-end: -35px;
  top: 65px;
  z-index: 0;
  transform: rotate(-18deg);
}
.partners {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: 42px;
}
.partners-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.partners h2 {
  font-size: clamp(23px, 2.3vw, 32px);
  margin: 0;
  line-height: 1.5;
}
.partners .section-label {
  margin-bottom: 8px;
}
.collaboration-note {
  display: flex;
  align-items: center;
  gap: 26px;
}
.collaboration-note p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  max-width: 490px;
}
.joined-cubes {
  width: 130px;
  min-width: 130px;
  height: 80px;
  position: relative;
}
.join-one {
  --cube-size: 45px;
  position: absolute;
  left: 15px;
  top: 15px;
}
.join-two {
  --cube-size: 35px;
  position: absolute;
  right: 10px;
  top: 26px;
  opacity: 0.7;
}
.partners:has(.partners-with-logos) { padding-block: 20px; }
.partners-inner.partners-with-logos { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.partners-with-logos .section-label { display: none; }
.partners-with-logos #partners-title { font-size: 14px; font-weight: 500; margin: 0; color: var(--text-muted); }
.client-strip { position: relative; min-width: 0; padding-inline-end: 30px; }
.client-viewport { overflow-x: auto; direction: ltr; scrollbar-width: none; mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.client-viewport::-webkit-scrollbar { display: none; }
.client-logos { display: flex; gap: 24px; width: max-content; list-style: none; padding: 0; margin: 0; }
.client-logos li { flex: 0 0 112px; width: 112px; }
.client-card { display: flex; position: relative; align-items: center; justify-content: center; height: 94px; padding: 4px 8px 18px; text-decoration: none; color: var(--text-muted); }
.client-logo-frame { display: grid; place-items: center; }
.client-logos img { width: 96px; height: 66px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter 180ms ease, opacity 180ms ease; }
.client-name { position: absolute; bottom: 0; inset-inline: 0; font-size: 9px; line-height: 1.2; text-align: center; opacity: 0; pointer-events: none; }
.client-card:hover img, .client-card:focus-visible img { filter: grayscale(0); opacity: 1; }
.client-card:hover .client-name, .client-card:focus-visible .client-name { opacity: 1; }
.client-card:focus-visible { outline: 1px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.client-motion { position: absolute; inset-inline-end: 0; top: 26px; width: 26px; height: 26px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text-muted); font: inherit; font-size: 11px; cursor: pointer; }
.client-motion[hidden] { display: none; }
.client-motion:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: none) { .client-logos img { opacity: .85; } .client-card:active img { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .client-logos img { transition: none; } }
.method {
  background: var(--bg);
  overflow: hidden;
}
.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9%;
  align-items: center;
}
.method-art {
  min-height: 410px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: radial-gradient(
    ellipse,
    rgba(156, 197, 161, 0.27),
    transparent 68%
  );
}
.method-cube {
  --cube-size: 210px;
  z-index: 2;
  filter: drop-shadow(15px 40px 20px rgba(31, 36, 33, 0.18));
}
.method-orbit {
  position: absolute;
  width: 90%;
  height: 80%;
  border: 1px solid var(--border);
  border-radius: 50%;
  transform: rotate(-22deg);
}
.art-label {
  position: absolute;
  bottom: 0;
  color: var(--text-muted);
  font: 500 10px var(--font-latin);
  letter-spacing: 0.2em;
}
.method h2 {
  font-size: clamp(32px, 3.3vw, 48px);
}
.method-lead {
  color: var(--text-muted);
  max-width: 610px;
  margin-block: 18px 26px;
}
.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.method-steps li {
  display: flex;
  gap: 18px;
  align-items: start;
}
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: 600 13px var(--font-latin);
  background: var(--surface);
  color: var(--accent-text);
}
.method-steps h3 {
  font-size: 18px;
  margin: 0 0 4px;
}
.method-steps p {
  font-size: 14px;
  margin: 0;
  color: var(--text-muted);
}
.product {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.product-grid {
  position: relative;
  z-index: 1;
}
.product-cube {
  --cube-size: 150px;
  position: absolute;
  bottom: -30px;
  inset-inline-start: -30px;
}
.product h2 em {
  color: var(--accent-text);
}
.dashboard {
  border-color: var(--border);
}
.cta {
  background: linear-gradient(120deg, var(--sand-tint), var(--surface));
  border-color: var(--border);
  min-height: 220px;
}
.cta-mark {
  overflow: visible;
  background: none;
}
.cta-cube {
  --cube-size: 85px;
}
.reveal {
  opacity: 1;
  transform: none;
}
@media (max-width: 1150px) and (min-width: 821px) {
  .hero-inner {
    column-gap: 4%;
    grid-template-columns: 1.35fr 0.8fr;
    padding-top: 98px;
  }
  .hero-stage {
    width: 39%;
    inset-inline-end: 2%;
    height: 365px;
    top: 96px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat:nth-child(2) {
    border: 0;
  }
  .signal-card {
    width: 240px;
  }
  .solution-grid {
    gap: 12px;
  }
  .solution-card {
    padding-inline: 20px;
  }
}
@media (max-width: 820px) {
  .hero-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 98px 20px 64px;
    gap: 24px;
    align-items: stretch;
  }
  .hero-copy {
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(34px, 5.9vw, 48px);
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero-stage {
    position: relative;
    top: auto;
    inset-inline: auto;
    transform: none;
    width: 310px;
    height: 285px;
    margin: -10px auto;
  }
  [dir="ltr"] .hero-stage {
    transform: none;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  .stats-card {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .signal-card {
    display: none;
  }
  .stage-caption {
    display: none;
  }
  .hero-cube {
    --cube-size: 40px;
  }
  .section-heading {
    gap: 18px;
  }
  .partners-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .method-art {
    min-height: 310px;
    order: 2;
  }
  .method-cube {
    --cube-size: 150px;
  }
  .method-orbit {
    width: 300px;
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-card {
    min-height: 285px;
  }
  .section-cube {
    --cube-size: 140px;
    opacity: 0.1;
  }
  .nav-actions .theme-button {
    display: grid;
    width: 36px;
    height: 36px;
  }
  .nav-actions {
    gap: 6px;
  }
  .menu-button {
    inset-inline-end: 152px;
    width: 36px;
    height: 36px;
  }
  .nav-wrap > .brand b {
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .nav-wrap > .brand {
    gap: 6px;
  }
  .nav-wrap > .brand img {
    width: 29px;
    height: 29px;
  }
}
@media (max-width: 560px) {
  .hero-inner {
    padding: 94px 16px 62px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero .lead {
    font-size: 14px;
  }
  .hero-actions {
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-actions .button {
    padding-inline: 18px;
    font-size: 13px;
  }
  .hero-actions .text-button {
    font-size: 12px;
    gap: 7px;
  }
  .hero-stage {
    height: 200px;
    width: 250px;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .stat {
    padding: 4px 8px;
  }
  .stat strong {
    font-size: 16px;
  }
  .stat span {
    font-size: 10px;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    min-height: 250px;
  }
  .section {
    padding-block: 58px;
  }
  .partners {
    padding-block: 32px;
  }
  .joined-cubes {
    min-width: 95px;
    width: 95px;
  }
  .join-one {
    left: 0;
  }
  .join-two {
    right: 0;
  }
  .collaboration-note {
    gap: 16px;
  }
  .cta-cube {
    --cube-size: 70px;
  }
  .cta-mark {
    height: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
