/* =========================================================
   Consulting.com theme recreation
   Tokens extracted from public Framer CSS (approx.)
   ========================================================= */

:root {
  --bg: #000;
  --bg-elevated: #0d0d0d;
  --bg-card: #17191b;
  --bg-card-hover: #1d1d1d;
  --border: #ffffff1a;
  --border-strong: #ffffff33;
  --text: #fff;
  --text-muted: #ffffffa6;
  --text-dim: #4b4b4b;

  /* Brand palette */
  --main: #7ca7eb;
  --second: #cfb18f;
  --third: #000b26;
  --fourth: #402924;

  --blue: var(--main);
  --lime: var(--second);
  --navy: var(--third);
  --choc: var(--fourth);

  /* Accents (old gold slots → main / second) */
  --gold: var(--main);
  --gold-soft: #a8c6f3;
  --gold-deep: #5a8fd9;
  --gold-mid: var(--second);
  --up: var(--second);
  --danger: #f04436;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, monospace;
  --container: 1180px;
  --nav-h: 72px;
  --banner-h: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  /* Smooth scrolling owned by Lenis when active; never use CSS smooth
     (fights Lenis + reduced-motion / deep-link offsets). */
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 760px);
}

.center {
  text-align: center;
}

/* Language switcher — hover dropdown */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  z-index: 5;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.15rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn,
.lang-switch:hover .lang-switch__btn {
  color: #fff;
}

.lang-switch__chevron {
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}

.lang-switch:hover .lang-switch__chevron,
.lang-switch.is-open .lang-switch__chevron,
.lang-switch:focus-within .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__list {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 7.5rem;
  margin: 0;
  padding: 0.45rem 0 0.35rem;
  list-style: none;
  background: rgba(8, 12, 24, 0.96);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

/* Keep hover bridge so the menu doesn’t flicker when moving to the list */
.lang-switch__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.5rem;
}

.lang-switch:hover .lang-switch__list,
.lang-switch:focus-within .lang-switch__list,
.lang-switch.is-open .lang-switch__list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-switch__list a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 13px;
  font-weight: 550;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.lang-switch__list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch__list a.is-active {
  color: var(--main);
}

.nav__inner .lang-switch {
  margin-inline-start: 0.25rem;
}

.nav__mobile .lang-switch {
  margin-top: 0.35rem;
}

.nav__mobile .lang-switch__list {
  position: static;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  box-shadow: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.nav__mobile .lang-switch__btn {
  display: none;
}

.nav__mobile .lang-switch__list a {
  padding: 0.35rem 0;
  font-size: 14px;
}

.lang-switch--legal {
  position: absolute;
  top: 50%;
  inset-inline-end: 1.25rem;
  transform: translateY(-50%);
}

.lang-switch--legal .lang-switch__list {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

/* Top banner — main blue accent */
.top-banner {
  position: relative;
  z-index: 60;
  height: var(--banner-h);
  overflow: hidden;
  background: var(--second);
  color: var(--third);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}

.top-banner__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  -webkit-animation: banner-marquee 28s linear infinite;
  animation: banner-marquee 28s linear infinite;
  padding-left: 1rem;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@keyframes banner-marquee {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-33.333%, 0, 0);
    transform: translate3d(-33.333%, 0, 0);
  }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border);
}

.nav__inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  direction: ltr; /* keep mark on the left in EN + AR */
  min-width: 0;
}

.logo__mark {
  width: auto;
  height: 42px;
  max-width: 52px;
  display: block;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  opacity: 0;
  -webkit-transform: scale(0.72) rotate(-8deg);
  transform: scale(0.72) rotate(-8deg);
}

.logo.is-mark-in .logo__mark {
  animation: logo-mark-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo.is-mark-live .logo__mark {
  opacity: 1;
  transform: none;
  animation: logo-mark-pulse 4.2s ease-in-out 1.15s infinite;
}

.logo__mark--letter {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #121212;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  color: #fff;
}

.logo__text {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  opacity: 0;
  visibility: hidden;
}

.logo__text.is-typing,
.logo__text.is-done {
  opacity: 1;
  visibility: visible;
}

.logo__text.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 0.9em;
  margin-inline-start: 2px;
  vertical-align: -0.05em;
  background: currentColor;
  animation: logo-caret 0.85s steps(1) infinite;
}

.logo__text.is-done::after {
  display: none;
}

@keyframes logo-mark-in {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
    filter: drop-shadow(0 0 0 transparent);
  }
  60% {
    opacity: 1;
    transform: scale(1.06) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 14px rgba(124, 167, 235, 0.35));
  }
}

@keyframes logo-mark-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(124, 167, 235, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(124, 167, 235, 0.4));
  }
}

@keyframes logo-caret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 420px) {
  .logo {
    gap: 0.45rem;
  }

  .logo__mark {
    height: 34px;
    max-width: 42px;
  }

  .logo__text {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo__mark,
  .logo.is-mark-in .logo__mark,
  .logo.is-mark-live .logo__mark {
    opacity: 1;
    transform: none;
    animation: none;
    filter: none;
  }

  .logo__text {
    opacity: 1;
    visibility: visible;
  }

  .logo__text.is-typing::after {
    display: none;
  }
}

.nav__links {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__burger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav__mobile {
  position: absolute;
  inset: var(--nav-h) 0 auto;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.75rem;
  display: grid;
  gap: 1rem;
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile a:not(.btn) {
  font-size: 1.05rem;
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .nav__links {
    display: flex;
  }
  .nav__burger,
  .nav__mobile {
    display: none !important;
  }
  .nav__inner > .btn {
    margin-left: 0;
  }
}

@media (max-width: 959px) {
  .nav__inner > .btn,
  .nav__inner > .lang-switch {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease-out), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn--solid {
  background: #fff;
  color: #000;
}

.btn--solid:hover {
  background: var(--main);
  color: var(--third);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 167, 235, 0.32);
}

.btn--gold {
  background: linear-gradient(105deg, var(--gold-soft) 0%, var(--main) 42%, var(--gold-deep) 100%);
  color: var(--third);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 36px rgba(124, 167, 235, 0.28);
}

.btn--gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(124, 167, 235, 0.4);
  filter: brightness(1.05);
}

.btn--lg {
  padding: 0.95rem 1.55rem;
  font-size: 15px;
  border-radius: 12px;
}

.btn--gold.btn--lg {
  border-radius: var(--radius-pill);
  padding: 1rem 1.75rem;
}

/* Action rows (hero, final CTA, video page) */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.btn-row .btn--lg {
  min-height: 56px;
  padding-block: 0;
  padding-inline: 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  gap: 0.7rem;
}

.btn-row .btn--lg:has(.btn__chip) {
  padding-inline: 0.55rem 1.6rem;
}

.btn--ghost {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 167, 235, 0.55);
  background: linear-gradient(180deg, rgba(124, 167, 235, 0.2) 0%, rgba(124, 167, 235, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 40px rgba(124, 167, 235, 0.22);
}

.btn--telegram:hover {
  border-color: rgba(42, 171, 238, 0.6);
  background: linear-gradient(180deg, rgba(42, 171, 238, 0.2) 0%, rgba(42, 171, 238, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 40px rgba(42, 171, 238, 0.25);
}

.btn--ghost:focus-visible,
.btn--gold:focus-visible,
.btn--solid:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
}

.btn-row .btn--solid {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.btn__icon {
  flex: 0 0 auto;
}

.btn__chip {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .btn__chip {
  transform: scale(1.08);
}

.btn__chip--play {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--main) 100%);
  color: var(--third);
  animation: play-ping 2.4s var(--ease-out) infinite;
}

.btn__chip--play svg {
  margin-left: 2px;
}

.btn__chip--telegram {
  background: linear-gradient(135deg, #37bbfe 0%, #1e96d6 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(42, 171, 238, 0.35);
}

.btn__chip--telegram svg {
  margin-left: -2px;
}

.btn--gold .btn__chip--telegram {
  box-shadow: 0 4px 14px rgba(0, 11, 38, 0.25);
}

@keyframes play-ping {
  0% { box-shadow: 0 0 0 0 rgba(124, 167, 235, 0.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(124, 167, 235, 0); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--gold);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  isolation: isolate;
  /* full viewport minus banner + nav so the sentence sits in the visual middle */
  min-height: calc(100svh - var(--banner-h) - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #000;
}

/* WebGL liquid + black overlays (exact consulting.com stack) */
.hero__waves {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

.liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.liquid-canvas.is-fallback {
  background:
    radial-gradient(ellipse 80% 50% at 30% 40%, #2a2a2a 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 70% 55%, #1a1a1a 0%, transparent 50%),
    #000;
  background-size: 200% 200%;
  -webkit-animation: liquid-fallback 14s ease-in-out infinite alternate;
  animation: liquid-fallback 14s ease-in-out infinite alternate;
}

@keyframes liquid-fallback {
  from {
    background-position: 0% 40%;
  }
  to {
    background-position: 100% 60%;
  }
}

/* Film grain — noise opacity .2 from production props */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Overlay A: dark wash — #0f0f0fbf → #000000f2 @ 0.8 opacity */
.hero__overlay--soft {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.8;
  background: linear-gradient(180deg, #0f0f0fbf 0%, #000000f2 100%);
}

/* Overlay B: bottom fade into pure black from 55% */
.hero__overlay--fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, #04040400 55%, #000 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
  width: min(100% - 2.5rem, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5.8vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  color: #f2f2f2;
  text-shadow: 0 1px 40px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  margin-top: 1rem;
  max-width: min(100%, 34rem);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: balance;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.hero__meta {
  margin-top: 1.35rem;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.hero__meta .dot {
  opacity: 0.45;
  margin: 0 0.35rem;
  font-family: var(--font-mono);
}

.hero__cta {
  margin-top: 2rem;
}

.hero__visual {
  width: min(100% - 2rem, 980px);
  margin: 3.5rem auto 0;
}

/* Dashboard mock */
.dashboard {
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(124, 167, 235, 0.08) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: sheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sheen {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0 0;
  }
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard__pills {
  display: flex;
  gap: 6px;
}

.dashboard__pills span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c2c2c;
}

.dashboard__pills span:nth-child(1) {
  background: #ff5f57;
}
.dashboard__pills span:nth-child(2) {
  background: #febc2e;
}
.dashboard__pills span:nth-child(3) {
  background: #28c840;
}

.dashboard__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .dashboard__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.stat-chip span {
  font-size: 12px;
  color: var(--text-dim);
}

.stat-chip strong {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stat-chip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.stat-chip em.up {
  color: var(--up);
}

.chart {
  margin-top: 1.25rem;
  height: 180px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.chart svg {
  width: 100%;
  height: 100%;
}

.chart__area {
  fill: url(#chartFill);
  opacity: 0;
  animation: chart-in 1.4s var(--ease-out) 0.4s forwards;
}

.chart__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw-line 1.8s var(--ease-out) 0.35s forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes chart-in {
  to {
    opacity: 1;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
}

.section__head {
  margin-bottom: 3rem;
  max-width: 720px;
}

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

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.section__title--fade {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0;
}

.section__lead {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.why .section__title {
  margin-bottom: 0;
}

/* Why We Built — two-column (matches consulting.com) */
.why {
  padding: 7rem 0;
}

.why__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .why__grid {
    grid-template-columns: minmax(240px, 0.85fr) 1.5fr;
    gap: 3.75rem;
    align-items: stretch;
  }
}

.why__media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 2 / 3;
  max-height: min(72vh, 640px);
}

@media (min-width: 900px) {
  .why__media {
    height: 100%;
    max-height: none;
    min-height: 520px;
  }
}

.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.why__detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .why__detail {
    gap: 1.35rem;
    padding-block: 1rem;
  }
}

.why__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.625rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
}

.why__title-fill {
  display: inline;
  background-image: linear-gradient(
    90deg,
    rgba(250, 250, 250, 0.5) 0%,
    rgb(250, 250, 250) 25.12%,
    rgb(250, 250, 250) 75.37%,
    rgba(250, 250, 250, 0.5) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* shared alias for section titles */
.title-fade {
  display: inline;
  background-image: linear-gradient(
    90deg,
    rgba(250, 250, 250, 0.5) 0%,
    rgb(250, 250, 250) 25.12%,
    rgb(250, 250, 250) 75.37%,
    rgba(250, 250, 250, 0.5) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.why__body {
  margin: 0;
  max-width: 36rem;
  font-family: var(--font);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 400;
  line-height: 1.8;
  color: #fff;
}

.why__signature {
  width: 140px;
  height: auto;
  margin-top: 0.75rem;
  opacity: 0.95;
}

/* ---------- Programs ---------- */
.programs-shell {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.15rem;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(124, 167, 235, 0.08), transparent 55%),
    #070707;
  overflow: hidden;
}

.programs-shell__mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--main);
  box-shadow: 0 0 18px rgba(124, 167, 235, 0.55);
}

.program-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.program-card {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 70% at 70% 20%, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.4rem 1.75rem 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease),
    box-shadow 0.4s var(--ease);
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--main) 35%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.program-card__tick {
  position: absolute;
  top: 0;
  left: 22px;
  width: 42px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--main);
  box-shadow: 0 0 12px rgba(124, 167, 235, 0.45);
  z-index: 2;
}

.program-card__arcs {
  position: absolute;
  top: -40%;
  right: -28%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0 14px,
      rgba(255, 255, 255, 0.045) 14px 15px
    );
  mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 70%);
  opacity: 0.7;
}

.program-card__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.program-card__glyph {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 8px 24px rgba(124, 167, 235, 0.28));
}

.program-card__glyph svg {
  width: 100%;
  height: 100%;
}

.program-card h3 {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #fff;
}

.program-card p {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28ch;
  margin: 0;
}

/* legacy icon classes kept harmless */
.program-card__icon {
  display: none;
}

/* ---------- Numbers — bento grid ---------- */
.numbers {
  padding: 3.5rem 0;
  --bento-row1-visual-h: 328px;
}

.numbers .section__head {
  margin-bottom: 1.75rem;
}

.bento-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.7rem;
  }

  .numbers {
    --bento-row1-visual-h: 376px;
  }

  .bento-card--sales {
    grid-column: span 4;
  }

  .bento-card--margins {
    grid-column: span 2;
  }

  .bento-card:not(.bento-card--sales):not(.bento-card--margins) {
    grid-column: span 2;
  }

  .bento-card--sales,
  .bento-card--margins {
    align-self: stretch;
  }

  .bento-card--sales .bento-card__body,
  .bento-card--margins .bento-card__body {
    flex: 1 1 auto;
  }
}

.bento-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
}

.bento-card__visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 190px;
  background: #0d0d0d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-card--sales .bento-card__visual.sales-ticker,
.bento-card--margins .bento-card__visual {
  flex: 0 0 var(--bento-row1-visual-h);
  height: var(--bento-row1-visual-h);
  min-height: 0;
  max-height: var(--bento-row1-visual-h);
}

.bento-card--sales .bento-card__visual.sales-ticker {
  align-items: stretch;
  justify-content: flex-start;
  background:
    radial-gradient(ellipse 85% 65% at 18% 28%, rgba(124, 167, 235, 0.18) 0%, transparent 58%),
    radial-gradient(ellipse 75% 55% at 82% 72%, rgba(124, 167, 235, 0.12) 0%, transparent 52%),
    #0a0a0a;
}

/* Dual vertical money ticker — sales card */
.sales-ticker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem 0.3rem;
  align-items: stretch;
  height: 100%;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.sales-ticker__col {
  overflow: hidden;
  position: relative;
  min-height: 0;
  height: 100%;
  padding-inline: 0.12rem;
}

.sales-ticker__track {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  will-change: transform;
}

  .sales-ticker__col--up .sales-ticker__track {
  -webkit-animation: sales-scroll-up 22s linear infinite;
  animation: sales-scroll-up 22s linear infinite;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.sales-ticker__col--down .sales-ticker__track {
  -webkit-animation: sales-scroll-down 24s linear infinite;
  animation: sales-scroll-down 24s linear infinite;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@keyframes sales-scroll-up {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
  }
}

@keyframes sales-scroll-down {
  from {
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
  }
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.sales-ticker__item {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(124, 167, 235, 0.18) 0%,
    rgba(255, 255, 255, 0.05) 48%,
    rgba(124, 167, 235, 0.1) 100%
  );
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(124, 167, 235, 0.32);
  border-radius: 11px;
  padding: 0.52rem 0.62rem;
  display: grid;
  gap: 0.12rem;
  flex-shrink: 0;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(168, 198, 243, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.sales-ticker__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(168, 198, 243, 0.14) 0%,
    transparent 42%
  );
}

.sales-ticker__item span {
  position: relative;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sales-ticker__item strong {
  position: relative;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}

.sales-ticker__item em {
  position: relative;
  font-style: normal;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: #9ef07a;
}

@media (min-width: 768px) {
  .sales-ticker {
    padding: 0.4rem 0.75rem 0.3rem;
    gap: 0.95rem;
  }

  .sales-ticker__col {
    padding-inline: 0.15rem;
  }

  .sales-ticker__track {
    gap: 0.75rem;
  }

  .sales-ticker__item {
    padding: 0.58rem 0.7rem;
    border-radius: 12px;
  }

  .sales-ticker__item span {
    font-size: 11px;
  }

  .sales-ticker__item strong {
    font-size: 1.08rem;
  }

  .sales-ticker__item em {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sales-ticker__col--up .sales-ticker__track,
  .sales-ticker__col--down .sales-ticker__track {
    /* keep ticking on iOS — only soften if needed elsewhere */
    animation-play-state: running;
  }
}

@media (min-width: 768px) {
  .bento-card__visual {
    min-height: 220px;
  }

  .bento-card--sales .bento-card__visual.sales-ticker,
  .bento-card--margins .bento-card__visual {
    min-height: 0;
  }
}

.bento-card--margins .bento-card__visual {
  align-items: stretch;
  justify-content: stretch;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(207, 177, 143, 0.08) 0%, transparent 55%),
    #0a0a0a;
}

/* Margins card — interactive monthly bar chart */
.margins-chart {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0.85rem 0.75rem 0.55rem;
  touch-action: none;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.margins-chart__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.margins-chart__grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.margins-chart__axis-label {
  fill: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.margins-chart__axis-label--x {
  font-size: 9px;
}

.margins-chart__axis-title {
  fill: rgba(255, 255, 255, 0.55);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.margins-chart__baseline {
  fill: rgba(255, 255, 255, 0.12);
}

.margins-chart__bar {
  fill: url(#marginsBarFill);
  opacity: 0.88;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.margins-chart__bar.is-active,
.margins-chart.is-active .margins-chart__bar.is-active {
  fill: url(#marginsBarFillActive);
  opacity: 1;
  transform: scaleY(1.02);
}

.margins-chart__tooltip {
  position: absolute;
  pointer-events: none;
  padding: 0.42rem 0.6rem;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(207, 177, 143, 0.35);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.35;
  color: #fff;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: opacity 0.12s var(--ease);
}

.margins-chart__tooltip strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--second);
}

@media (min-width: 768px) {
  .margins-chart {
    padding: 1rem 0.85rem 0.65rem;
  }

  .margins-chart__axis-label {
    font-size: 11px;
  }

  .margins-chart__axis-label--x {
    font-size: 10px;
  }

  .margins-chart__axis-title {
    font-size: 11px;
  }

  .margins-chart__tooltip {
    font-size: 12px;
  }

  .margins-chart__tooltip strong {
    font-size: 15px;
  }
}

.bento-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.55rem 0.65rem;
}

.bento-card__body {
  padding: 0.85rem 1.05rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bento-card__body h4 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}

.bento-card__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 42ch;
}

.numbers__cta {
  margin-top: 1.75rem;
}

/* ---------- Testimonials ---------- */
.testimonial-rail {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.testimonial-rail__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}

.t-card {
  flex: 0 0 min(86vw, 420px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  min-height: 240px;
}

.t-card__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  background: hsl(var(--hue, 30) 45% 22%);
  border: 1px solid hsl(var(--hue, 30) 50% 35%);
  color: hsl(var(--hue, 30) 80% 75%);
}

.t-card h4 {
  font-size: 1rem;
  font-weight: 600;
}

.t-card__role {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0.2rem 0 0.85rem;
}

.t-card blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.t-card strong {
  color: #fff;
  font-weight: 600;
}

.rail-controls {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.rail-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.rail-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: scale(1.05);
}

.disclaimer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.6;
}

/* Floating actions — support (start) + back to top (end) */
.fab {
  position: fixed;
  bottom: 1.25rem;
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 8, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.fab--end {
  inset-inline-end: 1.15rem;
}

.fab--start {
  inset-inline-start: 1.15rem;
}

.fab svg {
  width: 20px;
  height: 20px;
}

.fab:hover {
  border-color: var(--main);
  color: var(--main);
}

.fab:focus-visible {
  outline: 2px solid var(--main);
  outline-offset: 3px;
}

.fab--support {
  border-color: rgba(124, 167, 235, 0.45);
  color: var(--main);
}

.fab--support:hover {
  background: rgba(124, 167, 235, 0.12);
  color: #fff;
  border-color: var(--main);
  transform: translateY(-2px);
}

.fab--top {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(0, 12px, 0);
  transform: translate3d(0, 12px, 0);
}

.fab--top[hidden] {
  display: none !important;
}

.fab--top.is-visible {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

@media (max-width: 480px) {
  .fab--end {
    inset-inline-end: 0.85rem;
    bottom: 1rem;
  }

  .fab--start {
    inset-inline-start: 0.85rem;
    bottom: 1rem;
  }

  .fab {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  padding: 7rem 0;
  isolation: isolate;
}

.cta__glow {
  position: absolute;
  inset: 20% 20%;
  background: radial-gradient(circle, rgba(124, 167, 235, 0.16), transparent 65%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

.cta__actions {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

.footer__inner {
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  text-align: center;
}

.footer__logo {
  justify-content: center;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__social a:hover {
  color: #fff;
  border-color: rgba(124, 167, 235, 0.45);
  background: rgba(124, 167, 235, 0.1);
  transform: translateY(-1px);
}

.footer__social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer__social a[aria-label="Kick"] svg {
  width: 18px;
  height: 18px;
}

.footer__social a.is-inactive {
  opacity: 0.42;
  cursor: default;
  pointer-events: none;
}

.footer__social a.is-inactive:hover {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transform: none;
}

.footer__note,
.footer__copy {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--gold);
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-page {
  min-height: 100vh;
  background: #000;
  position: relative;
}

.legal-page__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

.legal-page__bg .liquid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.legal-page__bg .hero__overlay--soft {
  opacity: 0.62;
}

.legal-page__glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 72% 52% at 50% 28%, rgba(255, 255, 255, 0.11) 0%, transparent 62%),
    radial-gradient(ellipse 58% 42% at 50% 58%, rgba(255, 255, 255, 0.06) 0%, transparent 68%);
}

.legal-page__header {
  position: relative;
  z-index: 2;
  padding: 2.25rem 1.25rem 2.75rem;
  text-align: center;
}

.logo--center {
  justify-content: center;
  margin-inline: auto;
}

.legal {
  position: relative;
  z-index: 2;
  padding: 0 0 4rem;
}

.legal__content {
  width: min(100% - 2.5rem, 720px);
  margin-inline: auto;
}

.legal__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  color: #f2f2f2;
  margin-bottom: 2.25rem;
}

.legal__content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
  margin: 2rem 0 0.85rem;
}

.legal__content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 1.5rem 0 0.65rem;
}

.legal__content p,
.legal__content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.85rem;
}

.legal__content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal__content a {
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__content a:hover {
  color: var(--gold-soft);
}

.legal-page .footer {
  position: relative;
  z-index: 2;
}

.legal-page .top-banner {
  position: relative;
  z-index: 3;
}

/* ---------- Video page ---------- */
.video-hero {
  position: relative;
  z-index: 2;
  padding: 0.5rem 0 5rem;
}

.video-hero__inner {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
  text-align: center;
}

.video-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.video-hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--second);
  box-shadow: 0 0 0 0 rgba(207, 177, 143, 0.6);
  animation: play-ping 2s var(--ease-out) infinite;
}

.video-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 1.1rem 0 0.9rem;
  color: #fff;
}

.video-hero__lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.video-frame {
  position: relative;
  margin-top: 2.5rem;
  padding: 10px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(124, 167, 235, 0.38), rgba(255, 255, 255, 0.06) 40%, rgba(207, 177, 143, 0.32));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  isolation: isolate;
}

.video-frame__glow {
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 167, 235, 0.35), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

.video-frame__player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #05070d;
}

.video-frame__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
}

.video-frame__play {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--main);
  color: var(--third);
  animation: play-ping 2.4s var(--ease-out) infinite;
}

.video-frame__play svg {
  margin-inline-start: 4px;
}

.video-hero__actions {
  margin-top: 2.25rem;
}

[dir="rtl"] .btn__icon--flip {
  transform: scaleX(-1);
}

@media (max-width: 640px) {
  .video-frame {
    padding: 6px;
    border-radius: 18px;
    margin-top: 1.75rem;
  }

  .video-frame__player {
    border-radius: 13px;
  }

  .btn-row .btn {
    width: 100%;
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn__chip--play,
  .video-hero__pulse,
  .video-frame__play,
  .video-frame__glow {
    animation: none;
  }
}

/* ---------- Reveal animations (legacy no-op — see css/animations.css data-reveal) ---------- */
.reveal,
.reveal.is-in {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  transition: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Apply modal ---------- */
body.apply-open {
  overflow: hidden;
  /* scrollbar-gutter: stable on html keeps width; lock position via JS */
}

.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 1rem;
}

.apply-modal.is-open {
  display: grid;
}

.apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.apply-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.apply-modal__close {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.apply-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
  padding-inline-end: 2rem;
}

.apply-modal__msg {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 13px;
}

.apply-modal__msg--ok {
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.35);
  color: #9be7a6;
}

.apply-modal__msg--error {
  background: rgba(240, 68, 54, 0.12);
  border: 1px solid rgba(240, 68, 54, 0.35);
  color: #ffb4ad;
}

.apply-success {
  display: grid;
  gap: 0.85rem;
  padding: 0.5rem 0 0.25rem;
  text-align: center;
}

.apply-modal.is-submitted .apply-form {
  display: none;
}

.apply-success__text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.apply-success__actions {
  margin: 0;
}

.apply-success__link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

.apply-success__link:hover {
  color: #fff;
}

.apply-form {
  display: grid;
  gap: 0.85rem;
}

.apply-form__field {
  display: grid;
  gap: 0.35rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.apply-form__field em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.apply-form input[type="text"],
.apply-form input[type="number"],
.apply-form input[type="tel"],
.apply-form input[type="email"],
.apply-form select,
.apply-form textarea,
.support-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.apply-form__experience,
.apply-form__interests {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
}

.apply-form__experience legend,
.apply-form__interests legend {
  padding-inline: 0.35rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.apply-form__exp-row {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 0.5rem;
  align-items: center;
  font-size: 13px;
}

.apply-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.apply-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  cursor: pointer;
}

.apply-chip input {
  accent-color: var(--main);
}

.apply-form__terms {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.apply-form__terms input {
  margin-top: 0.15rem;
  accent-color: var(--main);
}

.apply-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.apply-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 560px) {
  .apply-form__exp-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Support modal ---------- */
.support-modal__backdrop {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.support-modal__dialog {
  position: relative;
  overflow: hidden;
  width: min(100%, 500px);
  padding: 1.5rem 1.35rem 1.35rem;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(124, 167, 235, 0.18), transparent 55%),
    linear-gradient(180deg, #121820 0%, #090c10 100%);
  border: 1px solid rgba(124, 167, 235, 0.22);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.support-modal__glow {
  position: absolute;
  inset: -40% 10% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(124, 167, 235, 0.22), transparent 68%);
  pointer-events: none;
  filter: blur(18px);
}

.support-modal__close {
  z-index: 2;
}

.support-modal__hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

.support-modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(124, 167, 235, 0.14);
  border: 1px solid rgba(124, 167, 235, 0.38);
  color: var(--main);
  box-shadow: 0 10px 28px rgba(124, 167, 235, 0.12);
}

.support-modal__icon svg {
  width: 24px;
  height: 24px;
}

.support-modal__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(124, 167, 235, 0.85);
}

.support-modal__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.support-modal__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.support-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.support-form__field {
  display: grid;
  gap: 0.4rem;
}

.support-form__field span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.support-form input,
.support-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.78rem 0.85rem;
  font: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.support-form input:focus,
.support-form textarea:focus {
  outline: none;
  border-color: rgba(124, 167, 235, 0.55);
  background: rgba(124, 167, 235, 0.06);
  box-shadow: 0 0 0 3px rgba(124, 167, 235, 0.12);
}

.support-form textarea {
  resize: vertical;
  min-height: 118px;
}

.support-form__submit {
  width: 100%;
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.support-form__submit svg {
  width: 18px;
  height: 18px;
}

.support-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.support-modal__fallback {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.support-modal__fallback a {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--main);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.support-modal__fallback a:hover {
  color: #fff;
  text-decoration: underline;
}

.support-modal.is-submitted .support-form,
.support-modal.is-submitted .support-modal__fallback {
  display: none;
}

.support-success {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  padding: 0.75rem 0 0.25rem;
}

.support-success__badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(40, 200, 64, 0.14);
  border: 1px solid rgba(40, 200, 64, 0.4);
  color: #9be7a6;
  box-shadow: 0 12px 32px rgba(40, 200, 64, 0.12);
}

.support-success__badge svg {
  width: 28px;
  height: 28px;
}

.support-success__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
}

.support-success__btn {
  min-width: 140px;
}

