/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --ink: #120e33;
  --ink-2: #1d1856;
  --text: #45425e;
  --muted: #76738e;
  --bg: #ffffff;
  --bg-soft: #f4f3fa;
  --bg-tint: #f1effb;
  --line: #e6e3f2;
  --cyan: #19c6f0;
  --violet: #7a3cf6;
  --pink: #f0209c;
  --grad: linear-gradient(90deg, #7a2ff7 0%, #f107a3 100%);
  --grad-brand: linear-gradient(120deg, #19c6f0 0%, #7a3cf6 50%, #f0209c 100%);
  --shadow-sm: 0 2px 10px rgba(18, 14, 51, 0.06);
  --shadow: 0 18px 50px -18px rgba(18, 14, 51, 0.22);
  --shadow-pink: 0 14px 30px -12px rgba(241, 7, 163, 0.55);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --gutter: clamp(18px, 5vw, 40px);
  --maxw: 1200px;
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 76px;

  --f-display: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* =========================================================
   BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
h1 em,
h2 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
.ico {
  width: 22px;
  height: 22px;
  flex: none;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
section {
  padding-block: var(--section-y);
  position: relative;
}
.tint {
  background: var(--bg-tint);
}

/* reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease var(--d, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* decorative glows */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.glow.g1 {
  width: 520px;
  height: 520px;
  left: -160px;
  bottom: -220px;
  background: rgba(25, 198, 240, 0.28);
}
.glow.g2 {
  width: 560px;
  height: 560px;
  right: -180px;
  top: -200px;
  background: rgba(240, 32, 156, 0.2);
}
section > .wrap {
  position: relative;
  z-index: 1;
}

/* =========================================================
   TYPO HELPERS
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head .lead {
  margin-top: 16px;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
}
.center .lead {
  margin-inline: auto;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.btn .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.btn:hover .ico {
  transform: translateX(4px);
}
.btn-grad {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-pink);
}
.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -12px rgba(241, 7, 163, 0.65);
}
.btn-line {
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
}
.btn-line:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.35);
}
.btn-sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.9rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-row.center {
  justify-content: center;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s;
}
/* backdrop-filter lives on a pseudo-element: on the header itself it would trap the fixed mobile menu inside the header box */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.site-header.scrolled {
  box-shadow: 0 6px 30px -10px rgba(18, 14, 51, 0.18);
}
.hdr {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo img {
  width: 36px;
  height: auto;
}
.logo b {
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 2px;
}
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.main-nav > a,
.has-mega > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: var(--violet);
}
.caret {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}
.has-mega {
  position: relative;
}
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(760px, 90vw);
  translate: -50% 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0.22s;
}
.mega::before {
  content: '';
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.has-mega:hover .caret,
.has-mega.open .caret {
  transform: rotate(180deg);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mega-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  transition: background 0.2s;
}
.mega-item:hover {
  background: var(--bg-tint);
}
.mega-item b {
  display: block;
  font-family: var(--f-display);
  font-size: 0.92rem;
  color: var(--ink);
}
.mega-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.mega-ico {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--violet);
}
.mega-item:hover .mega-ico {
  background: var(--grad);
  color: #fff;
}
.mega-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--violet);
}
.mega-all .ico {
  width: 16px;
  height: 16px;
}
.hdr-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-soft);
}
.lang-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.lang-switch a.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.lang-switch a:not(.active):hover {
  color: var(--violet);
}
.hdr-cta {
  display: none;
}
.burger {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}
.hdr-right > .lang-switch {
  display: none;
}
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: #fff;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0.25s;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mnav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 40px;
}
.mlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.mlink::-webkit-details-marker {
  display: none;
}
.msvc[open] .caret {
  transform: rotate(180deg);
}
.msvc-list {
  display: grid;
  gap: 2px;
  padding: 8px 0 12px;
}
.msvc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  color: var(--text);
}
.msvc-list a .ico {
  color: var(--violet);
}
.msvc-all {
  font-weight: 600;
  color: var(--violet) !important;
}
.mnav-inner .lang-switch {
  align-self: flex-start;
  margin: 20px 0;
}
.mnav-inner .btn {
  width: 100%;
}
body.menu-open {
  overflow: hidden;
}

@media (min-width: 640px) {
  .hdr-right > .lang-switch {
    display: inline-flex;
  }
  .hdr-cta {
    display: inline-flex;
  }
  .mnav-inner .lang-switch,
  .mnav-inner .btn {
    display: none;
  }
}
@media (min-width: 1200px) {
  .main-nav {
    display: flex;
  }
  .burger,
  .mobile-nav {
    display: none;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: #f2f2f5;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero-tag {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-tag b {
  color: var(--ink);
  font-weight: 600;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero-support {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 32px;
}
.hero-support .ico {
  width: 40px;
  height: 40px;
  color: var(--violet);
}
.hero-support small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-support a {
  font-weight: 600;
  color: var(--ink);
}
.hero-support a:hover {
  color: var(--violet);
}

/* hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}
.orb.o1 {
  width: 340px;
  height: 340px;
  background: rgba(25, 198, 240, 0.45);
  left: 4%;
  top: 18%;
}
.orb.o2 {
  width: 360px;
  height: 360px;
  background: rgba(240, 32, 156, 0.38);
  right: 0;
  top: 4%;
}
.orb.o3 {
  width: 240px;
  height: 240px;
  background: rgba(122, 60, 246, 0.4);
  bottom: 0;
  left: 36%;
}
.orbit {
  position: absolute;
  width: min(520px, 100%);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(122, 60, 246, 0.28);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.orbit i {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 20px currentColor;
}
.orbit i:nth-child(1) {
  top: 8%;
  left: 20%;
  background: var(--cyan);
  color: var(--cyan);
}
.orbit i:nth-child(2) {
  top: 40%;
  right: -8px;
  background: var(--violet);
  color: var(--violet);
}
.orbit i:nth-child(3) {
  bottom: 6%;
  left: 30%;
  background: var(--pink);
  color: var(--pink);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.mock {
  position: relative;
  width: min(430px, 92%);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(18, 14, 51, 0.35);
  padding: 18px;
  animation: floaty 7s ease-in-out infinite;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}
.mock-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e6e3f2;
}
.mock-bar i:first-child {
  background: #ff6b8b;
}
.mock-bar span {
  margin-left: 8px;
}
.live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #12a26d;
  background: #e5f8f0;
  padding: 4px 10px;
  border-radius: 999px;
}
.live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12c07f;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-kpis div {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 10px 12px;
}
.mock-kpis small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}
.mock-kpis b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.mock-kpis em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  color: #12a26d;
}
.mock-chart {
  width: 100%;
  height: 110px;
  margin: 14px 0 10px;
}
.mc-line {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 2.4s 0.4s ease forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.mock-rows {
  display: grid;
  gap: 8px;
}
.mock-rows div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.mock-rows i {
  height: 7px;
  border-radius: 7px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.mock-rows i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--grad-brand);
}
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.float .ico {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  color: #fff;
  background: var(--grad);
}
.float.f1 {
  top: 6%;
  left: 0;
  animation: floaty 6s 0.6s ease-in-out infinite;
}
.float.f2 {
  bottom: 12%;
  right: 0;
  animation: floaty 6.5s 1.2s ease-in-out infinite;
}
.float.f2 .ico {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.float.f3 {
  bottom: 0;
  left: 4%;
  animation: floaty 7s 0.2s ease-in-out infinite;
}
.avatars {
  display: flex;
}
.avatars i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  font-style: normal;
  font-size: 0.6rem;
  color: #fff;
  background: var(--violet);
}
.avatars i:first-child {
  margin-left: 0;
  background: var(--cyan);
}
.avatars i:last-child {
  background: var(--pink);
}
@keyframes floaty {
  50% {
    transform: translateY(-10px);
  }
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-visual {
    min-height: 540px;
  }
}
@media (max-width: 520px) {
  .hero-visual {
    min-height: 420px;
  }
  .float.f1 {
    top: 0;
  }
  .float.f3 {
    display: none;
  }
  .mock-rows div {
    grid-template-columns: 90px 1fr;
  }
}

/* trust marquee */
.trust {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.trust-label {
  flex: none;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 150px;
  line-height: 1.35;
}
.marquee {
  overflow: hidden;
  flex: 1;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #c9c5dd;
  letter-spacing: -0.01em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 640px) {
  .trust-label {
    display: none;
  }
}

/* =========================================================
   WHO WE ARE
   ========================================================= */
.who-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}
.who-media {
  position: relative;
  padding: 60px 0 0 40px;
}
.who-art {
  border-radius: 6px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 20%, #1b2a8a 0%, #0b0a2e 55%, #07061c 100%);
  aspect-ratio: 6 / 4.6;
  box-shadow: var(--shadow);
}
.who-art svg {
  width: 100%;
  height: 100%;
}
.who-years {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(280px, 60%);
  padding: 40px 28px;
  text-align: center;
  color: #fff;
  background: rgba(33, 30, 80, 0.92);
  backdrop-filter: blur(6px);
}
.who-years b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 1;
}
.who-years span {
  font-size: 1.15rem;
}
.sq {
  position: absolute;
  background: var(--ink);
}
@media (max-width: 1279px) {
  .sq {
    display: none;
  }
}
.sq.s1 {
  width: 34px;
  height: 34px;
  right: -14px;
  top: 90px;
}
.sq.s2 {
  width: 16px;
  height: 16px;
  right: -40px;
  top: 64px;
}
.who-copy p {
  margin-bottom: 16px;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 34px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
}
.checks .ico {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  stroke-width: 2.5;
  margin-top: 1px;
}
@media (min-width: 960px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.svc-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'top title more' 'top text more';
    column-gap: 36px;
    align-items: center;
    background: linear-gradient(135deg, #0f0b30, #2a1f7a);
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) .svc-top {
    grid-area: top;
    margin: 0;
    gap: 24px;
    align-items: center;
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) h3 {
    grid-area: title;
    color: #fff;
    margin-bottom: 6px;
    align-self: end;
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) p {
    grid-area: text;
    color: rgba(255, 255, 255, 0.7);
    align-self: start;
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) .more {
    grid-area: more;
    margin: 0;
    color: #fff;
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) .svc-num {
    -webkit-text-stroke-color: #c9a8ff;
  }
  .svc-grid > .svc-card:last-child:nth-child(3n + 1) .svc-ico {
    background: var(--grad);
    color: #fff;
  }
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 34px 30px 30px;
  border-radius: 4px;
  box-shadow: 0 16px 40px -22px rgba(18, 14, 51, 0.25);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-card:not(.static):hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -24px rgba(18, 14, 51, 0.35);
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.svc-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--violet);
  transition: color 0.35s;
}
.svc-card:hover .svc-num {
  color: rgba(122, 60, 246, 0.1);
}
.svc-ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--bg-tint);
  color: var(--violet);
  transition:
    background 0.3s,
    color 0.3s;
}
.svc-ico .ico {
  width: 26px;
  height: 26px;
}
.svc-card:hover .svc-ico {
  background: var(--grad);
  color: #fff;
}
.svc-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.svc-card p {
  color: var(--muted);
  flex: 1;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #b9b6c9;
  transition: color 0.25s;
}
.more .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.svc-card:hover .more {
  color: var(--violet);
}
.svc-card:hover .more .ico {
  transform: translateX(5px);
}
.services.tint {
  background: linear-gradient(180deg, #eef7f5 0%, #f1effb 100%);
}

/* =========================================================
   PROCESS
   ========================================================= */
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  position: relative;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.tint .step {
  border-color: transparent;
}
.step:hover {
  border-color: rgba(122, 60, 246, 0.35);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  box-shadow: var(--shadow-pink);
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.97rem;
}
@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(122, 60, 246, 0.35) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
  .step {
    z-index: 1;
  }
}

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band {
  background: linear-gradient(135deg, #0f0b30 0%, #1d1856 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 88px);
}
.stats-band .glow.g1 {
  background: rgba(25, 198, 240, 0.25);
}
.stats-band .glow.g2 {
  background: rgba(240, 32, 156, 0.25);
}
.stats {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
  background: linear-gradient(90deg, #7fe3ff, #c9a8ff 50%, #ff8fd0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   WHY / VALUES
   ========================================================= */
.why-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why-card {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.why-ico {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-pink);
  flex: none;
}
.why-ico .ico {
  width: 26px;
  height: 26px;
}
.why-ico.lg {
  width: 70px;
  height: 70px;
  border-radius: 20px;
}
.why-ico.lg .ico {
  width: 34px;
  height: 34px;
}
.why-card h3 {
  margin-bottom: 10px;
}
.why-card p {
  color: var(--muted);
}

/* =========================================================
   COMPANY DETAILS
   ========================================================= */
.company-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .company-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.details-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.details-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  background: linear-gradient(135deg, #0f0b30, #2a1f7a);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.92rem;
}
.details-head .ico {
  color: #9fe8ff;
}
.details {
  padding: 8px 26px 14px;
}
.details-card.wide .details {
  display: grid;
  column-gap: 40px;
}
@media (min-width: 860px) {
  .details-card.wide .details {
    grid-template-columns: 1fr 1fr;
  }
}
.drow {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.drow:last-child {
  border-bottom: 0;
}
@media (min-width: 860px) {
  .details-card.wide .drow:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
  }
}
.drow dt {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.drow dd {
  font-weight: 600;
  color: var(--ink);
}
.details-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================
   CAREERS TEASER
   ========================================================= */
.ct-panel {
  display: grid;
  gap: 40px;
  padding: clamp(32px, 5vw, 60px);
  border-radius: 28px;
  background: linear-gradient(135deg, #0f0b30 0%, #221a6a 100%);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}
.ct-panel::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -200px;
  background: rgba(240, 32, 156, 0.3);
  border-radius: 50%;
  filter: blur(70px);
}
.ct-panel > * {
  position: relative;
  z-index: 1;
}
.ct-panel h2 {
  color: #fff;
  margin-bottom: 14px;
}
.ct-panel .eyebrow {
  color: #c9a8ff;
}
.ct-panel p {
  margin-bottom: 28px;
  max-width: 460px;
}
.ct-list {
  display: grid;
  gap: 12px;
  align-content: center;
}
.ct-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ct-list li > .ico {
  margin-left: auto;
  width: 18px;
  height: 18px;
  opacity: 0.5;
}
.ct-list b {
  display: block;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1rem;
}
.ct-list small {
  font-size: 0.82rem;
}
.ct-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  flex: none;
}
@media (min-width: 900px) {
  .ct-panel {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-layout {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
  }
  .faq-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.faq-item[open] {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-ico {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-tint);
  transition: background 0.25s;
}
.faq-ico::before,
.faq-ico::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--violet);
  translate: -50% -50%;
  transition:
    transform 0.25s,
    background 0.25s;
}
.faq-ico::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-ico {
  background: var(--grad);
}
.faq-item[open] .faq-ico::before,
.faq-item[open] .faq-ico::after {
  background: #fff;
}
.faq-item[open] .faq-ico::after {
  transform: rotate(0);
}
.faq-a {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding-top: 0;
}
.tint + .cta-band {
  padding-top: var(--section-y);
}
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 28px;
  background: var(--grad);
  color: rgba(255, 255, 255, 0.88);
}
.cta-panel h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}
.cta-panel p {
  max-width: 560px;
  position: relative;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}
.cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
}
.cta-mail .ico {
  width: 18px;
  height: 18px;
}
.cta-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-rings i {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.cta-rings i:nth-child(1) {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -140px;
}
.cta-rings i:nth-child(2) {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -240px;
}
.cta-rings i:nth-child(3) {
  width: 200px;
  height: 200px;
  left: -60px;
  bottom: -110px;
}
@media (min-width: 900px) {
  .cta-panel {
    grid-template-columns: 1fr auto;
  }
  .cta-actions {
    align-items: center;
  }
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: #f2f2f5;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 88px);
}
.page-hero h1 {
  max-width: 880px;
  margin-bottom: 20px;
}
.page-hero.slim h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--violet);
}
.crumbs [aria-current] {
  color: var(--ink);
  font-weight: 500;
}
.nf {
  text-align: center;
  padding-block: clamp(80px, 12vw, 160px);
}
.nf h1,
.nf .lead {
  margin-inline: auto;
}
.nf .lead {
  margin-bottom: 32px;
}
.nf-code {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--violet);
}

/* service hero */
.svc-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.svc-badge .ico {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
}
.svc-hero .lead {
  margin-bottom: 32px;
}
.svc-aside {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 30px;
}
.svc-aside h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.svc-aside ul {
  display: grid;
  gap: 12px;
}
.svc-aside li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
}
.svc-aside li .ico {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  stroke-width: 2.6;
  margin-top: 2px;
}
.svc-aside-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.svc-aside-foot .ico {
  color: var(--violet);
}
@media (min-width: 960px) {
  .svc-hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 64px;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.story-grid {
  display: grid;
  gap: 48px;
}
.story-grid p {
  margin-bottom: 16px;
}
@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
  }
}
.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--violet), var(--pink));
}
.timeline li {
  position: relative;
  padding: 24px 26px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--violet);
}
.timeline b {
  font-family: var(--f-display);
  font-size: 0.85rem;
  color: var(--violet);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline h3 {
  margin: 4px 0 6px;
}
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* =========================================================
   CAREERS
   ========================================================= */
.vac-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  .vac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.vac-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    box-shadow 0.3s,
    transform 0.3s,
    border-color 0.3s;
}
.vac-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.vac-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e5f8f0;
  color: #12a26d;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.vac-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--violet);
  font-size: 0.8rem;
  font-weight: 600;
}
.vac-card p {
  color: var(--muted);
  flex: 1;
  margin-bottom: 24px;
}
.vac-card .btn {
  align-self: flex-start;
}
.perks-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .perks-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
}
.guarantee {
  padding: clamp(32px, 4vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, #0f0b30, #2a1f7a);
  color: rgba(255, 255, 255, 0.8);
}
.guarantee h2 {
  color: #fff;
  margin-bottom: 14px;
}
.perk-list {
  display: grid;
  gap: 16px;
}
.perk {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.perk .why-ico {
  margin: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.perk .why-ico .ico {
  width: 22px;
  height: 22px;
}
.perk h3 {
  margin-bottom: 4px;
}
.perk p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
  }
}
.contact-cards {
  display: grid;
  gap: 16px;
}
.c-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
a.c-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.c-card .why-ico {
  margin: 0;
  width: 50px;
  height: 50px;
}
.c-card small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.c-card b {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.c-form {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.c-form h2 {
  font-size: 1.7rem;
}
.c-form > p {
  color: var(--muted);
  margin-top: -8px;
}
.f-row {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .f-row {
    grid-template-columns: 1fr 1fr;
  }
}
.c-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.c-form input,
.c-form select,
.c-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.c-form textarea {
  resize: vertical;
}
.c-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23120e33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
}
.thanks-ico {
  margin: 0 auto 28px;
}
.c-form input:focus,
.c-form select:focus,
.c-form textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
}
.c-form .invalid {
  border-color: #e5484d;
}
.f-error {
  color: #e5484d;
  font-size: 0.9rem;
}
.c-form .btn {
  justify-self: start;
}
.f-note {
  color: var(--muted);
  font-size: 0.82rem;
}

/* =========================================================
   LEGAL
   ========================================================= */
.legal-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .legal-grid {
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: start;
  }
  .legal-nav {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.legal-nav {
  display: grid;
  gap: 4px;
}
.legal-nav a {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--muted);
}
.legal-nav a:hover {
  color: var(--violet);
}
.legal-nav a[aria-current] {
  background: var(--bg-tint);
  color: var(--violet);
}
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 36px 0 10px;
}
.prose p {
  margin-bottom: 12px;
}
.prose a {
  color: var(--violet);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0d0a2a;
  color: rgba(255, 255, 255, 0.66);
  padding-top: clamp(56px, 7vw, 88px);
}
.site-footer .logo {
  color: #fff;
}
.ft-top {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}
.ft-brand p {
  margin: 20px 0;
  max-width: 360px;
}
.ft-contacts {
  display: grid;
  gap: 10px;
}
.ft-contacts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ft-contacts .ico {
  width: 20px;
  height: 20px;
  color: #c9a8ff;
  margin-top: 3px;
}
.ft-contacts a:hover {
  color: #fff;
}
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-col h2 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.ft-col a {
  transition: color 0.2s;
  width: fit-content;
}
.ft-col a:hover {
  color: #fff;
}
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}
.ft-motto {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
@media (min-width: 700px) {
  .ft-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .ft-top {
    grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  }
}

/* =========================================================
   MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .mc-line {
    stroke-dashoffset: 0;
  }
}
