:root,
[data-theme="light"] {
  --indigo: #352da4;
  --indigo-deep: #1a1548;
  --indigo-mid: #2a2480;
  --indigo-soft: #eceaf8;
  --ink: #12121a;
  --muted: #5c5c6e;
  --paper: #f3f0f8;
  --white: #fff;
  --card: rgba(255, 255, 255, 0.62);
  --header: rgba(255, 255, 255, 0.78);
  --line: rgba(53, 45, 164, 0.12);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(255, 255, 255, 0.7);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 28px;
  --shadow: 0 18px 50px rgba(26, 21, 72, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --ink: #f3f0ea;
  --muted: #b4afc4;
  --paper: #0d0b16;
  --white: #1a1830;
  --card: rgba(28, 24, 52, 0.55);
  --header: rgba(16, 14, 28, 0.78);
  --line: rgba(200, 190, 255, 0.12);
  --glass: rgba(28, 24, 52, 0.62);
  --glass-strong: rgba(24, 20, 44, 0.9);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(53, 45, 164, 0.12), transparent 55%),
    radial-gradient(700px 420px at 96% 12%, rgba(120, 90, 255, 0.1), transparent 50%),
    var(--paper);
  line-height: 1.5;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}

body.nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
.kicker,
.eyebrow,
.btn,
.nav,
.metrics strong,
.path-card__num,
.steps span {
  font-family: var(--sans);
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.45em;
}

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

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

.container {
  width: min(1120px, calc(100% - clamp(24px, 5vw, 48px)));
  margin-inline: auto;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  padding: max(12px, env(safe-area-inset-top, 0px)) 0 0;
  background: transparent;
  pointer-events: none;
}

.header__inner {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 68px;
  gap: 12px;
  padding-inline: 8px;
  width: min(1160px, calc(100% - clamp(16px, 3vw, 24px)));
  margin: 0 auto;
  border-radius: 999px;
  background: var(--header);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  transition: width 0.45s var(--ease), border-radius 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 8, 20, 0.32);
  pointer-events: auto;
}

.nav-overlay.is-open {
  display: block;
}

.header.is-compact .header__inner {
  width: min(1080px, calc(100% - 24px));
  background: var(--glass-strong);
  box-shadow: 0 10px 30px rgba(26, 21, 72, 0.14), var(--glass-inset);
}

.logo {
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: 0 8px 20px rgba(26, 21, 72, 0.08);
  transition: transform 0.3s var(--ease);
}

.logo:hover {
  transform: translateY(-1px) scale(1.02);
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
}

.header__tools {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  margin-left: 8px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav a:not(.btn) {
  white-space: nowrap;
}

.lang {
  display: flex;
  gap: 4px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid var(--glass-edge);
}

[data-theme="dark"] .lang {
  background: rgba(255, 255, 255, 0.06);
}

.lang a {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang a.is-active,
.lang a:hover {
  color: var(--indigo);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .lang a.is-active,
[data-theme="dark"] .lang a:hover {
  background: rgba(140, 133, 255, 0.22);
  color: #d8d3ff;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-edge);
  background: var(--glass-strong);
  color: var(--ink);
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.icon-btn:hover {
  transform: rotate(-12deg) scale(1.06);
}

[data-theme="light"] .icon-btn__sun,
[data-theme="dark"] .icon-btn__moon {
  display: none;
}

.nav a:not(.btn) {
  position: relative;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:not(.btn):hover {
  color: var(--indigo);
}

.nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-edge);
  background: var(--glass-strong);
  border-radius: 999px;
  padding: 13px 12px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.38) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}

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

.btn:hover::after {
  transform: translateX(120%);
}

.btn--sm {
  padding: 9px 15px;
  min-height: 40px;
  font-size: 0.86rem;
}

.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 24px rgba(53, 45, 164, 0.28);
}

.btn--light {
  background: rgba(255, 255, 255, 0.88);
  color: var(--indigo-deep);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.btn--whatsapp {
  background: #1fad5a;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(31, 173, 90, 0.32);
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% 18%, rgba(255, 255, 255, 0.1), transparent 46%),
    radial-gradient(1000px 520px at 82% -8%, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(155deg, var(--indigo-mid) 0%, var(--indigo-deep) 52%, #0b091f 100%);
  color: #fff;
  min-height: min(88vh, 920px);
  display: grid;
  align-items: center;
  padding: 88px 0 96px;
  margin-top: -80px;
  padding-top: 160px;
}

.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(2px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: liquid 16s ease-in-out infinite;
}

.blob--1 {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  right: 6%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, #c9c4ff, #6a5cff 48%, transparent 70%);
}

.blob--2 {
  width: min(38vw, 340px);
  height: min(38vw, 340px);
  left: -6%;
  bottom: 4%;
  background: radial-gradient(circle at 40% 40%, #8ad7ff, #352da4 55%, transparent 72%);
  animation-delay: -5s;
  animation-duration: 20s;
}

.blob--3 {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  right: 22%;
  bottom: 10%;
  background: radial-gradient(circle at 50% 50%, #ffd6f5, #7a6cff 60%, transparent 74%);
  animation-delay: -9s;
  animation-duration: 18s;
}

@keyframes liquid {
  0%,
  100% {
    border-radius: 42% 58% 37% 63% / 53% 37% 63% 47%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    border-radius: 58% 42% 63% 37% / 37% 53% 47% 63%;
    transform: translate(3%, -4%) rotate(8deg) scale(1.06);
  }
  66% {
    border-radius: 37% 63% 42% 58% / 63% 47% 53% 37%;
    transform: translate(-4%, 3%) rotate(-6deg) scale(0.96);
  }
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.7px, transparent 0.8px);
  background-size: 4px 4px;
  opacity: 0.22;
  pointer-events: none;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
}

.hero__mark-wrap {
  width: min(100%, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 16%;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 60px rgba(8, 6, 28, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.hero__mark {
  width: 86%;
  height: auto;
  color: #fff;
  opacity: 0.95;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.16));
}

.hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c9c4ee;
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.kicker {
  color: var(--indigo);
}

.kicker--on-dark {
  color: #c9c4ee;
}

.hero h1 {
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  font-weight: 600;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

.hero__need {
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  color: #d8d4f2;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.4em;
}

.rotator {
  display: grid;
  vertical-align: baseline;
  min-width: min(100%, 12ch);
  flex: 1 1 12ch;
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
}

.rotator__item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.rotator__item.is-active {
  opacity: 1;
  transform: none;
}

.hero__lead {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 12px;
}

.hero__more {
  margin: 0 0 24px;
}

.hero__more a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__more a:hover {
  color: #fff;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__pills li {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: #efeef8;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.metrics {
  position: relative;
  z-index: 1;
  margin: -36px auto 0;
  width: min(1120px, calc(100% - clamp(24px, 5vw, 40px)));
  border-radius: 28px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: blur(24px) saturate(180%);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 8px;
}

.metrics article strong {
  display: block;
  font-size: 2rem;
  color: var(--indigo);
  letter-spacing: -0.04em;
}

.metrics article span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  max-width: 560px;
  margin-bottom: 36px;
}

.section-head h2,
.paths h2,
.services h2,
.squads h2,
.why h2,
.stack h2,
.quotes h2,
.faq h2,
.contact h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.section-head p,
.paths .section-head p,
.squads .section-head p {
  color: var(--muted);
}

.section-head--light h2,
.section-head--light p {
  color: #fff;
}

.section-head--light .kicker {
  color: #c9c4ee;
}

.paths,
.services,
.problems,
.squads,
.stack,
.quotes,
.faq {
  padding: 84px 0;
}

.paths__grid,
.quotes__grid,
.squads__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path-card,
.service,
.squad,
.quote,
.problems__grid article,
.faq details {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  transition: transform 0.45s var(--ease), border-radius 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.path-card,
.service,
.squad,
.quote {
  padding: 28px;
}

.path-card:hover,
.service:hover,
.squad:hover,
.quote:hover,
.problems__grid article:hover {
  transform: translateY(-6px);
  border-radius: 40px 18px 36px 22px;
  box-shadow: 0 24px 50px rgba(26, 21, 72, 0.16), var(--glass-inset);
}

.path-card--accent {
  background:
    linear-gradient(160deg, rgba(53, 45, 164, 0.92), rgba(14, 11, 40, 0.94));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.path-card--accent p,
.path-card--accent li {
  color: rgba(255, 255, 255, 0.8);
}

.path-card__num {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--indigo);
  margin-bottom: 14px;
}

.path-card--accent .path-card__num,
.path-card--accent .text-link {
  color: #d8d3ff;
}

.path-card ul,
.why__list {
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.path-card li {
  padding: 7px 0 7px 18px;
  position: relative;
  color: var(--muted);
}

.path-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  position: absolute;
  left: 0;
  top: 13px;
}

.path-card--accent li::before {
  background: #fff;
}

.text-link {
  font-weight: 600;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.28s var(--ease);
}

.text-link:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.services {
  padding-top: 0;
}

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

.service h3,
.squad h3 {
  font-size: 1.2rem;
}

.service p,
.squad p {
  color: var(--muted);
  margin: 0;
}

.squad .squad__label {
  margin: 20px 0 6px;
}

.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(255, 255, 255, 0.1), transparent 50%),
    var(--indigo-deep);
  color: #fff;
  padding: 84px 0;
}

.process::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(140, 130, 255, 0.35), transparent 70%);
  animation: liquid 22s ease-in-out infinite;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: transform 0.4s var(--ease), border-radius 0.4s var(--ease);
}

.steps li:hover {
  transform: translateY(-5px);
  border-radius: 32px 16px 28px 18px;
}

.steps span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #c9c4ee;
  margin-bottom: 10px;
}

.steps p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

.problems {
  padding-top: 84px;
}

.problems__grid article {
  padding: 20px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
}

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

.squad__label {
  margin: 20px 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 600;
  font-family: var(--sans);
}

.why {
  padding: 0 0 84px;
}

.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.why p {
  color: var(--muted);
}

.why__list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.why__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.why__list strong {
  display: block;
  margin-bottom: 4px;
}

.why__list span {
  color: var(--muted);
}

.stack {
  padding-top: 0;
  overflow: hidden;
}

.stack h2 {
  margin-bottom: 28px;
}

.stack-marquee {
  display: grid;
  gap: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.stack-marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: stack-scroll 36s linear infinite;
}

.stack-marquee__track--reverse {
  animation-direction: reverse;
  animation-duration: 42s;
  animation-delay: -16s;
}

.stack-marquee:hover .stack-marquee__track,
.stack-marquee:focus-within .stack-marquee__track {
  animation-play-state: paused;
}

.stack-row {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), var(--glass-inset);
  backdrop-filter: blur(16px);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  color: var(--ink);
}

.stack-card svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--logo);
}

.stack-card svg,
.stack-card svg path {
  fill: currentColor;
}

.stack-card--wordmark {
  min-width: 120px;
  justify-content: center;
}

.stack-card--wordmark svg {
  width: 72px;
  height: 22px;
}

@keyframes stack-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.quote blockquote {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.quote figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
}

.faq details {
  padding: 4px 20px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--sans);
  padding: 16px 32px 16px 0;
  list-style: none;
  position: relative;
  overflow-wrap: anywhere;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--indigo);
  border-bottom: 2px solid var(--indigo);
  transform: rotate(45deg);
  transition: transform 0.28s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq details p {
  color: var(--muted);
  padding-bottom: 14px;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(255, 255, 255, 0.1), transparent 50%),
    var(--indigo-deep);
  color: #fff;
  padding: 84px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact__mail a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__channels {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 8px;
}

.contact__channels .btn {
  margin-top: 4px;
}

.contact__wa-number {
  color: #fff;
  font-weight: 600;
}

.form {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 26px;
  display: grid;
  gap: 12px;
  min-width: 0;
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.form label,
.form .field {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--sans);
}

.form .field label {
  display: block;
}

.form input,
.form select,
.form .iti input.iti__tel-input {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: #12121a;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.form input:focus,
.form select:focus,
.form .iti input.iti__tel-input:focus {
  outline: none;
  border-color: #8b84ff;
  box-shadow: 0 0 0 4px rgba(139, 132, 255, 0.25);
}

.form .iti {
  width: 100%;
  max-width: 100%;
}

.form .iti__dropdown-content {
  max-width: min(calc(100vw - 48px), 360px);
}

.form .iti__country-container {
  z-index: 6;
}

.form .iti__country-list {
  color: #12121a;
}

.field__hint {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid .iti input.iti__tel-input {
  border-color: #fc5185;
  box-shadow: 0 0 0 3px rgba(252, 81, 133, 0.18);
}

.field__error {
  color: #ffb4c8;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 0;
}

.form__banner {
  margin: 0;
  font-size: 0.85rem;
}

.form__banner--error {
  color: #ffb4c8;
}

.form__note,
.form__ok {
  font-size: 0.8rem;
  margin: 0;
}

.form__ok {
  color: #b8f3d6;
  background: rgba(80, 200, 140, 0.16);
  border: 1px solid rgba(184, 243, 214, 0.28);
  border-radius: 14px;
  padding: 10px 12px;
}

.footer {
  background: #0e0c1c;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}

.logo--footer {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.85rem;
}

.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: #1fad5a;
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(31, 173, 90, 0.4);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 173, 90, 0.48);
}

.wa-float svg {
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease) forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1366px) {
  .nav {
    gap: 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 148px;
    padding-bottom: 80px;
  }

  .paths,
  .process,
  .problems,
  .squads,
  .stack,
  .quotes,
  .faq,
  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .services {
    padding-bottom: 72px;
  }
}

@media (max-width: 1180px) {
  .header {
    padding-top: max(8px, env(safe-area-inset-top, 0px));
  }

  .header__inner,
  .header.is-compact .header__inner {
    border-radius: 24px;
    gap: 8px;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--glass-strong);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 20px;
    border: 1px solid var(--glass-edge);
    border-radius: 22px;
    gap: 4px;
    margin-left: 0;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
  }

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

  .nav a:not(.btn) {
    display: block;
    padding: 12px 8px;
    white-space: normal;
  }

  .nav a:not(.btn)::after {
    display: none;
  }

  .nav .btn {
    width: 100%;
    margin-top: 8px;
  }

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

  .squads__grid,
  .why__inner,
  .faq__inner,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .hero__mark-wrap {
    width: min(100%, 220px);
    border-radius: 24px;
  }

  .wa-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .metrics {
    width: min(1120px, calc(100% - clamp(16px, 4vw, 24px)));
    margin-top: -28px;
  }

  .paths__grid,
  .quotes__grid,
  .services__grid,
  .problems__grid,
  .squads__grid,
  .why__inner,
  .faq__inner,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 64px;
  }

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

  .hero__visual {
    display: none;
  }

  .lang {
    font-size: 0.7rem;
  }

  .path-card,
  .service,
  .squad,
  .quote {
    padding: 22px;
  }

  .form {
    padding: 20px;
  }

  .contact__channels .btn {
    width: 100%;
  }

  .contact {
    padding-bottom: 96px;
  }

  .form {
    margin-bottom: 8px;
  }
}

@media (max-width: 700px) {
  .metrics__grid,
  .steps,
  .services__grid,
  .problems__grid {
    grid-template-columns: 1fr;
  }

  .metrics article strong {
    font-size: 1.7rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__pills li {
    font-size: 0.78rem;
    padding: 7px 12px;
  }
}

@media (max-width: 480px) {
  .header__inner,
  .header.is-compact .header__inner {
    min-height: 60px;
    padding-inline: 6px;
    border-radius: 20px;
  }

  .logo {
    padding: 3px 8px;
  }

  .logo img {
    height: 30px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
    padding: 11px 10px;
  }

  .lang {
    gap: 2px;
    padding: 3px;
  }

  .lang a {
    padding: 6px 7px;
  }

  .header__tools {
    gap: 4px;
    margin-left: 4px;
  }

  .hero {
    padding: 112px 0 52px;
  }

  .paths,
  .process,
  .problems,
  .squads,
  .stack,
  .quotes,
  .faq,
  .contact {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .why {
    padding-bottom: 56px;
  }

  .services {
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .metrics {
    border-radius: 20px;
  }

  .metrics__grid {
    gap: 16px;
    padding: 20px 12px;
  }

  .form {
    padding: 16px;
    border-radius: 20px;
  }

  .stack-card {
    min-width: 152px;
    padding: 12px 14px;
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  .lang a {
    padding: 6px 5px;
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 108px 0 48px;
  }

  .hero__visual {
    display: none;
  }

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

@media (hover: none) {
  .path-card:hover,
  .service:hover,
  .squad:hover,
  .quote:hover,
  .problems__grid article:hover,
  .steps li:hover,
  .btn:hover,
  .wa-float:hover,
  .logo:hover,
  .icon-btn:hover {
    transform: none;
  }
}

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

  .blob,
  .process::before,
  .js-reveal,
  .reveal,
  .rotator__item,
  .btn::after,
  .stack-marquee__track {
    animation: none !important;
    transition: none !important;
  }

  .js-reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .rotator__item {
    opacity: 0;
  }

  .rotator__item.is-active {
    opacity: 1;
  }

  .stack-marquee {
    mask-image: none;
  }

  .stack-marquee__track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .stack-marquee__track .stack-row:nth-child(2),
  .stack-marquee__track--reverse {
    display: none;
  }
}
