html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(123, 44, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 0%, rgba(0, 193, 253, 0.11), transparent 28rem),
    #050509;
  color: #e4e1e9;
}

body.menu-open {
  overflow: hidden;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.material-symbols-outlined[data-weight="fill"] {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-left-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-edge {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-left-color: rgba(255, 255, 255, 0.16);
}

.neon-glow {
  box-shadow: 0 0 24px rgba(123, 44, 255, 0.25);
}

.neon-text-glow {
  text-shadow: 0 0 14px rgba(123, 44, 255, 0.55);
}

.brand-wordmark {
  color: inherit;
}

.brand-wordmark .brand-song {
  background: linear-gradient(90deg, #9ba4f8, #d1bcff, #8fd8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(155, 164, 248, 0.3);
}

.brand-wordmark .brand-traction {
  color: #4fa951;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(19, 19, 24, 0.84);
  box-shadow: 0 0 20px rgba(123, 44, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-link {
  color: #ccc3d9;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: #d1bcff;
}

.nav-link.is-active {
  border-bottom: 2px solid #d1bcff;
  padding-bottom: 4px;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 9999px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn-primary {
  background: linear-gradient(90deg, #7b2cff, #00c1fd);
  color: #ffffff;
  padding: 12px 24px;
  box-shadow: 0 0 18px rgba(123, 44, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(123, 44, 255, 0.42);
}

.btn-secondary {
  border: 1px solid rgba(209, 188, 255, 0.75);
  color: #d1bcff;
  padding: 11px 22px;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(209, 188, 255, 0.1);
}

.btn-ghost {
  color: #ccc3d9;
  padding: 10px 16px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #d1bcff;
}

.language-select {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e4e1e9;
  padding: 8px 34px 8px 14px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-select:focus {
  border-color: #00c1fd;
  box-shadow: 0 0 15px rgba(0, 193, 253, 0.2);
  outline: none;
}

.language-select option {
  background: #131318;
  color: #e4e1e9;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: #95da03;
  padding: 6px 12px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #95da03;
  border-radius: 1px;
  background: transparent;
  box-shadow: 0 0 18px rgba(149, 218, 3, 0.55);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 24px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 35% 35%, rgba(209, 188, 255, 0.24), transparent 16rem),
    radial-gradient(circle at 70% 62%, rgba(0, 193, 253, 0.2), transparent 15rem),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 18px 19px);
  opacity: 0.9;
}

.hero-visual-photo::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(5, 5, 9, 0.86), rgba(5, 5, 9, 0.25)),
    radial-gradient(circle at 30% 28%, rgba(82, 41, 203, 0.28), transparent 18rem),
    radial-gradient(circle at 75% 72%, rgba(79, 169, 81, 0.18), transparent 16rem);
  opacity: 1;
}

.hero-visual-photo-dark::before {
  background:
    linear-gradient(135deg, rgba(5, 5, 9, 0.92), rgba(5, 5, 9, 0.58)),
    radial-gradient(circle at 30% 28%, rgba(82, 41, 203, 0.2), transparent 18rem),
    radial-gradient(circle at 75% 72%, rgba(79, 169, 81, 0.14), transparent 16rem);
}

.hero-visual-photo-picture,
.hero-visual-photo-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-visual-photo-picture {
  display: block;
}

.hero-visual-photo-img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05);
}

.cases-hero-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 6 / 5;
  border: 1px solid rgba(143, 216, 255, 0.22);
  border-radius: 24px;
  background: #0c0b18;
  box-shadow: 0 24px 80px -32px rgba(123, 44, 255, 0.55);
}

.cases-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.cases-hero-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 64px 28px 28px;
  background: linear-gradient(transparent, rgba(5, 5, 12, 0.94));
}

.cases-hero-caption span {
  color: #b9e9ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cases-hero-caption strong {
  max-width: 21ch;
  color: #fff;
  font-family: Sora, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .cases-hero-caption { padding: 48px 20px 20px; }
}

.home-hero-slider {
  margin-top: -112px;
  padding-top: 112px;
  background: #050509;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1200ms ease, transform 7000ms ease;
}

.home-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-hero-slide picture,
.home-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-slide img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08);
}

.home-hero-dots {
  position: absolute;
  z-index: 20;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 10px;
}

.home-hero-dots span {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
}

.home-hero-dots span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #5229cb, #4fa951);
  transform: scaleX(0);
  transform-origin: left;
}

.home-hero-dots span.is-active::after {
  animation: hero-dot-progress 6s linear forwards;
}

@keyframes hero-dot-progress {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-hero-dots span::after {
    transition: none;
    animation: none;
  }
}

.wave-card {
  position: relative;
  overflow: hidden;
}

.wave-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, 0.08) 14px 15px);
  opacity: 0.12;
  pointer-events: none;
}

.input-dark {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #e4e1e9;
  padding: 12px 14px;
}

.input-dark:focus {
  border-color: #00c1fd;
  box-shadow: 0 0 15px rgba(0, 193, 253, 0.22);
  outline: none;
}

.input-dark::placeholder {
  color: #958da2;
}

.field-error {
  margin-top: 6px;
  color: #ffb4ab;
  font-size: 13px;
}

.mobile-panel,
.mobile-panel[hidden] {
  display: none;
}

.mobile-panel.is-open:not([hidden]) {
  display: block;
}

/* Scope navigation visibility so button styles cannot override it. */
.site-header [data-menu-toggle] {
  display: inline-flex;
  flex-shrink: 0;
  width: 48px;
  padding: 10px;
}

.site-header [data-menu-toggle][aria-expanded="true"] .menu-icon {
  font-size: 0;
}

.site-header [data-menu-toggle][aria-expanded="true"] .menu-icon::before {
  content: "×";
  font-size: 28px;
}

@media (min-width: 1024px) {
  .site-header [data-menu-toggle],
  .site-header .mobile-panel {
    display: none;
  }

  .site-header > div:first-child > nav {
    display: flex;
    justify-content: center;
    white-space: nowrap;
  }

  .site-header > div:first-child > div {
    flex-shrink: 0;
  }

  /* Contact is already present in the main navigation. */
  .site-header > div:first-child > div > .btn-ghost {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header > div:first-child {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header > div:first-child > nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header > div:first-child > nav .nav-link {
    padding: 8px 0;
  }
}

.faq-answer[hidden] {
  display: none;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.metric-placeholder {
  border: 1px dashed rgba(209, 188, 255, 0.38);
  background: rgba(209, 188, 255, 0.055);
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(circle at 20% 0%, rgba(123, 44, 255, 0.15), transparent 22rem),
      #050509;
  }

  .nav-link.is-active {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 320px;
  }
}

/* Critical content never depends on a scroll animation to become visible. */
html { color-scheme: dark; scroll-padding-top: 100px; }
main { width: 100%; }
main > section, .grid > *, form, [data-field] { min-width: 0; }
.input-dark { min-width: 0; min-height: 48px; font: inherit; font-size: 16px; }
.input-dark option { background: #131318; color: #e4e1e9; }
textarea.input-dark { resize: vertical; }
a, p, h1, h2, h3 { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid #8fd8ff; outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }
.input-dark[aria-invalid="true"] { border-color: #ffb4ab; }
button:disabled { opacity: .65; cursor: not-allowed; }
.form-note { color: #ccc3d9; font-size: 14px; line-height: 1.6; }
.form-note a, .form-status a { color: #d1bcff; text-decoration: underline; }
.form-status { margin-top: 24px; padding: 16px; border: 1px solid #95da03; border-radius: 12px; }
.form-status.is-error { border-color: #ffb4ab; color: #ffb4ab; }
.form-details summary { min-height: 48px; padding: 12px 0; color: #d1bcff; cursor: pointer; font-size: 16px; font-weight: 600; }
.form-details[open] summary { margin-bottom: 12px; }
.footer-contact { display: block; padding: 10px 0; color: #ccc3d9; font-size: 14px; overflow-wrap: anywhere; }
footer { padding-bottom: 85px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; transform: translateY(-150%); padding: 12px 20px; background: #e4e1e9; color: #131318; border-radius: 8px; }
.skip-link:focus { transform: none; }
.whatsapp-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 12px 18px; border-radius: 999px; color: #10220b; background: #aff833; box-shadow: 0 4px 20px #0006; font: 700 14px/1.3 Inter, sans-serif; }
.menu-icon { font-size: 24px; line-height: 1; }
.mobile-panel.is-open { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.slider-pause { position: absolute; bottom: 24px; left: 32px; z-index: 20; padding: 10px 14px; border-radius: 999px; background: #131318; color: #e4e1e9; font-size: 13px; min-height: 44px; }
.slider-pause[aria-pressed="true"] { border: 2px solid #aff833; }
/* Darken the button gradient to retain readable white text. */
.btn-primary { background: linear-gradient(90deg, #7024df, #076c98); }
.brand-wordmark .brand-traction { color: #78ca79; }
/* Keep step numbers readable on dark surfaces. */
.text-outline\/35, .text-outline\/40 { color: #958da2; }
.mobile-panel .nav-link { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 767px) {
  .px-margin { padding-left: 20px; padding-right: 20px; }
  .glass-panel.p-lg { padding: 24px 20px; }
  .py-xl { padding-top: 48px; padding-bottom: 48px; }
  h1.text-4xl { font-size: clamp(28px, 8vw, 36px); }
  .glass-panel { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header { background: rgba(19, 19, 24, 0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .language-select { min-height: 44px; }
  .home-hero-slider > .relative { min-height: 0; }
  .hero-visual-photo-img, .home-hero-slide img { filter: none; }
  .whatsapp-float { font-size: 13px; padding: 12px 14px; }
  /* Form pages already offer WhatsApp actions; keep their mobile fields clear. */
  body:has([data-contact-form]) .whatsapp-float { visibility: hidden; pointer-events: none; }
  footer .grid > a { display: flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.4; }
  footer .grid:has(> .font-label-sm) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .home-hero-dots { right: 20px; }
}
/* The mobile and reduced-motion hero is a single, static photograph. */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .home-hero-slide { transition: none; transform: none; }
  .home-hero-slide:first-of-type { opacity: 1; }
  .home-hero-slide:not(:first-of-type), .home-hero-dots, .slider-pause { display: none; }
}
@media (min-width: 1024px) { .site-header .mobile-panel.is-open { display: none; } }
.material-symbols-outlined { flex-shrink: 0; width: 1em; height: 1em; overflow: hidden; }
[data-faq-button] > span:first-child { min-width: 0; }

/* Legal documents: readable copy, clear commitments, and an accessible contents list. */
.legal-page { width: min(100%, 1200px); margin: 0 auto; padding: 64px 32px 88px; }
.legal-hero { max-width: 900px; }
.legal-hero h1 { margin: 20px 0 24px; color: #e4e1e9; font-family: Sora, sans-serif; font-size: clamp(34px, 4.7vw, 60px); font-weight: 700; line-height: 1.13; letter-spacing: -0.04em; }
.legal-tagline { margin: 0 0 12px; color: #d1bcff; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.5; }
.legal-intro { max-width: 740px; color: #ccc3d9; font-size: 17px; line-height: 1.8; }
.legal-updated { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; color: #b1a8c0; font-size: 13px; line-height: 1.6; }
.legal-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 56px; }
.legal-summary-card { padding: 24px; border: 1px solid rgba(209, 188, 255, .16); border-radius: 16px; background: linear-gradient(135deg, rgba(123, 44, 255, .10), rgba(0, 193, 253, .025)); }
.legal-summary-card::before { display: block; width: 28px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: #aff833; content: ''; }
.legal-summary-card h2 { margin: 0 0 10px; color: #e4e1e9; font: 600 17px/1.5 Sora, sans-serif; letter-spacing: -.02em; }
.legal-summary-card p { color: #ccc3d9; font-size: 14px; line-height: 1.75; }
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-sidebar { position: sticky; top: 112px; max-height: calc(100dvh - 144px); overflow-y: auto; scrollbar-width: thin; }
.legal-toc { border: 1px solid rgba(209, 188, 255, .13); border-radius: 16px; padding: 22px 16px; background: #111017; }
.legal-toc-title { margin: 0 8px 14px; color: #b1a8c0; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; }
.legal-toc a { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 10px 8px; border-radius: 8px; color: #ccc3d9; font-size: 13px; line-height: 1.65; transition: color .2s, background .2s; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: #eaddff; background: rgba(209, 188, 255, .08); }
.legal-toc a > span:first-child { flex: 0 0 18px; color: #a798c2; font-size: 11px; font-variant-numeric: tabular-nums; }
.legal-article { min-width: 0; }
.legal-section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(209, 188, 255, .13); }
.legal-section h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 20px; color: #e4e1e9; font: 600 23px/1.4 Sora, sans-serif; letter-spacing: -.025em; }
.legal-section h2 > span:first-child { flex: 0 0 auto; color: #b6a0dd; font: 500 13px/1.5 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.legal-section p { margin: 0 0 16px; color: #ccc3d9; font-size: 16px; line-height: 1.9; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a, .legal-back-top { color: #d1bcff; text-decoration: underline; text-decoration-color: rgba(209, 188, 255, .5); text-underline-offset: 4px; }
.legal-section a:hover, .legal-back-top:hover { color: #8fd8ff; text-decoration-color: currentColor; }
.legal-contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; }
.legal-contact-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; overflow-wrap: anywhere; }
.legal-back-top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
@media (max-width: 1023px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-sidebar { position: static; max-height: none; overflow: visible; }
  .legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}
@media (max-width: 639px) {
  .legal-page { padding: 36px 20px 64px; }
  .legal-hero h1 { font-size: clamp(32px, 9vw, 44px); letter-spacing: -.035em; }
  .legal-tagline { font-size: 19px; }
  .legal-intro { font-size: 16px; }
  .legal-summary { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 32px 0; }
  .legal-summary-card { padding: 20px; }
  .legal-summary-card::before { margin-bottom: 12px; }
  .legal-toc { padding: 20px 12px; }
  .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .legal-section { padding-bottom: 26px; margin-bottom: 26px; }
  .legal-section h2 { font-size: 21px; gap: 12px; }
  .legal-section p { font-size: 15px; line-height: 1.85; }
}
@media print {
  .legal-page { width: 100%; padding: 0; }
  .legal-summary, .legal-sidebar, .legal-back-top { display: none; }
  .legal-layout { display: block; }
  .legal-page .legal-section { break-inside: avoid; }
  .legal-page h1, .legal-page h2, .legal-page p, .legal-page a, .legal-page span { color: #000; }
  .legal-page .legal-section { border-color: #bbb; }
}
