@font-face {
  font-family: "GT Proelium";
  src: url("../assets/fonts/GTProelium.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Mustica Pro";
  src: url("../assets/fonts/MusticaPro-SemiBold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Druk Text Super";
  src: url("../assets/fonts/DrukText-Super-Trial.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #080806;
  --bg-2: #11100b;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(235, 207, 137, 0.2);
  --line-strong: rgba(235, 207, 137, 0.42);
  --gold: #edc940;
  --gold-2: #f7e39c;
  --bronze: #9e7c34;
  --text: #f8f4e8;
  --muted: #b8af98;
  --soft: #746d5d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
  --section-gap: 112px;
  --card-pad: 30px;
  --anchor-offset: 112px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  scrollbar-width: none;
  overflow-x: clip;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(237, 201, 64, 0.045), transparent 18%, transparent 82%, rgba(247, 227, 156, 0.035)),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 46%, rgba(0, 0, 0, 0.56) 100%);
  opacity: 0.28;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.72) 100%);
}

main,
section,
header,
footer {
  max-width: 100%;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-bg,
.site-bg__grid,
#market-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-bg {
  z-index: -2;
  background:
    radial-gradient(circle at 52% 0%, rgba(237, 201, 64, 0.26), transparent 32%),
    radial-gradient(circle at 78% 28%, rgba(247, 227, 156, 0.075), transparent 28%),
    radial-gradient(circle at 18% 48%, rgba(237, 201, 64, 0.06), transparent 30%),
    linear-gradient(180deg, #11100b 0%, #080806 44%, #030302 100%);
}

#market-canvas {
  z-index: -1;
  opacity: 0.86;
}

.site-bg__grid {
  background-image:
    linear-gradient(rgba(237, 201, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 201, 64, 0.04) 1px, transparent 1px);
  background-position:
    0 0,
    0 0;
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.64) 42%, transparent 84%);
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: var(--container);
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 8, 6, 0.76);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero__actions,
.proof-strip,
.funded__highlights,
.closing {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-family: "Mustica Pro", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.topbar__cta {
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.topbar__cta {
  color: #0b0a06;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.nav-toggle {
  display: none;
}

.section-shell {
  width: var(--container);
  max-width: calc(100vw - 40px);
  margin: 0 auto;
}

main[id],
section[id],
footer[id] {
  scroll-margin-top: var(--anchor-offset);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
  min-height: min(820px, calc(100vh - 92px));
  padding: 132px 0 104px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "GT Proelium", "Mustica Pro", sans-serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 5.85rem;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.7rem;
}

.display-title {
  max-width: 760px;
  font-family: "Druk Text Super", "Arial Black", Impact, sans-serif;
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: initial;
}

.display-title span {
  display: block;
}

.section-heading--split .display-title {
  max-width: 760px;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
  overflow-wrap: anywhere;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #11100b;
  background: linear-gradient(135deg, var(--gold), #fff0a8);
  box-shadow: 0 16px 42px rgba(237, 201, 64, 0.18);
}

.button--telegram {
  padding-inline: 16px;
}

.button__icon,
.button__arrow {
  flex: 0 0 auto;
  color: currentColor;
}

.button__icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button__arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--ghost,
.button--card {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.proof-strip {
  width: min(620px, 100%);
  gap: 0;
  border: 1px solid rgba(247, 227, 156, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 8, 6, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 22px 62px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.28) brightness(0.82);
  backdrop-filter: blur(22px) saturate(1.28) brightness(0.82);
  overflow: hidden;
}

.proof-strip div {
  flex: 1;
  padding: 18px;
}

.proof-strip div + div {
  border-left: 1px solid rgba(247, 227, 156, 0.16);
}

.proof-strip dt {
  color: var(--gold);
  font-family: "GT Proelium", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.proof-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero__visual {
  display: grid;
  place-items: center;
  transform: translateY(-88px);
}

.emblem-card {
  position: relative;
  width: min(713px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
  animation: emblemFloat 7s ease-in-out infinite;
  will-change: transform;
}

.emblem-card::before {
  content: "";
  position: absolute;
  inset: 3% 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 241, 166, 0.95) 7% 17%, transparent 17% 31%, rgba(237, 201, 64, 0.74) 31% 45%, transparent 45% 100%),
    repeating-linear-gradient(180deg, transparent 0 10px, rgba(237, 201, 64, 0.42) 10px 13px, transparent 13px 26px);
  clip-path: polygon(0 18%, 100% 16%, 100% 25%, 0 28%);
  mix-blend-mode: screen;
  animation: emblemGlitchSlice 3.1s steps(1, end) infinite;
}

.emblem-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: url("../assets/logo/ar-community-emblem.png") center / contain no-repeat;
  filter:
    brightness(1.28)
    saturate(1.45)
    drop-shadow(22px 0 0 rgba(237, 201, 64, 0.42))
    drop-shadow(-18px 0 0 rgba(255, 241, 166, 0.3));
  mix-blend-mode: screen;
  animation: emblemLogoGlitch 3.1s steps(1, end) infinite;
}

.emblem-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  filter:
    drop-shadow(0 32px 44px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 34px rgba(237, 201, 64, 0.16));
  animation: emblemSignal 3.1s steps(1, end) infinite, emblemGlitchNudge 3.1s steps(1, end) infinite;
}

@keyframes emblemFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes emblemSignal {
  0%,
  79%,
  91%,
  100% {
    filter:
      drop-shadow(0 32px 44px rgba(0, 0, 0, 0.46))
      drop-shadow(0 0 34px rgba(237, 201, 64, 0.16));
  }

  82% {
    filter:
      drop-shadow(26px 0 0 rgba(237, 201, 64, 0.44))
      drop-shadow(-22px 0 0 rgba(255, 241, 166, 0.34))
      drop-shadow(0 32px 44px rgba(0, 0, 0, 0.46));
  }

  84% {
    filter:
      drop-shadow(-24px 0 0 rgba(237, 201, 64, 0.38))
      drop-shadow(20px 0 0 rgba(255, 241, 166, 0.28))
      drop-shadow(0 32px 44px rgba(0, 0, 0, 0.46));
  }
}

@keyframes emblemGlitchNudge {
  0%,
  80%,
  90%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  82% {
    transform: translate3d(12px, -4px, 0);
  }

  84% {
    transform: translate3d(-10px, 4px, 0);
  }

  86% {
    transform: translate3d(7px, 2px, 0);
  }
}

@keyframes emblemGlitchSlice {
  0%,
  78%,
  91%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: polygon(0 18%, 100% 15%, 100% 22%, 0 25%);
  }

  80% {
    opacity: 1;
    transform: translate3d(-34px, 0, 0);
    clip-path: polygon(0 20%, 100% 17%, 100% 29%, 0 33%);
  }

  82% {
    opacity: 0.8;
    transform: translate3d(36px, 0, 0);
    clip-path: polygon(0 53%, 100% 50%, 100% 63%, 0 67%);
  }

  86% {
    opacity: 0.9;
    transform: translate3d(-26px, 0, 0);
    clip-path: polygon(0 39%, 100% 37%, 100% 46%, 0 50%);
  }
}

@keyframes emblemLogoGlitch {
  0%,
  78%,
  91%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  80% {
    opacity: 0.82;
    transform: translate3d(34px, -4px, 0);
    clip-path: polygon(0 12%, 100% 9%, 100% 31%, 0 35%);
  }

  82% {
    opacity: 0.68;
    transform: translate3d(-32px, 4px, 0);
    clip-path: polygon(0 49%, 100% 45%, 100% 64%, 0 68%);
  }

  86% {
    opacity: 0.74;
    transform: translate3d(24px, 0, 0);
    clip-path: polygon(0 68%, 100% 65%, 100% 84%, 0 87%);
  }
}

.section-intro,
.programs,
.funded,
.results,
.closing {
  margin-top: var(--section-gap);
}

.section-intro,
.programs,
.results {
  padding: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p,
.funded__content p,
.program-card p,
.method-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 38px;
  max-width: none;
  align-items: end;
}

.method-grid,
.program-grid,
.testimonial-grid {
  display: grid;
  gap: 22px;
}

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

.method-card,
.program-card,
.testimonial-card,
.funded,
.closing {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.42);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.method-card {
  min-height: 270px;
  padding: var(--card-pad);
}

.method-card__index {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
  font-family: "GT Proelium", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  overflow: clip;
  contain: layout paint;
  padding: 2px;
  margin: -2px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.testimonial-carousel.is-dragging {
  cursor: grabbing;
}


.testimonial-carousel::before,
.testimonial-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 34px;
  pointer-events: none;
}

.testimonial-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.testimonial-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}

.testimonial-carousel .testimonial-grid {
  display: flex;
  gap: 22px;
  align-items: stretch;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 26px;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(247, 227, 156, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.program-card:hover,
.program-card:focus-within {
  border-color: rgba(247, 227, 156, 0.48);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28), 0 0 32px rgba(237, 201, 64, 0.08);
  transform: translateY(-4px);
}

.program-card:hover::before,
.program-card:focus-within::before {
  opacity: 1;
}

.program-card--featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(180deg, rgba(237, 201, 64, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
}

.program-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  border-radius: 6px;
  color: #11100b;
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card__top {
  margin-bottom: 36px;
}

.program-card__top span,
.program-card__top strong {
  display: block;
}

.program-card__top span {
  color: var(--soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-card__top strong {
  color: var(--gold-2);
  font-family: "GT Proelium", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.program-card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.program-card__price strong {
  color: var(--gold-2);
  font-size: 1rem;
}

.program-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.program-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(237, 201, 64, 0.75);
}

.program-card .button {
  margin-top: auto;
}

.funded {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 30px;
  padding: clamp(30px, 4vw, 52px);
  background:
    linear-gradient(120deg, rgba(237, 201, 64, 0.13), transparent 38%),
    rgba(255, 255, 255, 0.055);
}

.funded__content {
  max-width: 720px;
}

.funded__highlights {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.funded__highlights span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-2);
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.84rem;
  font-weight: 800;
}

.promo-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
}

.copy-code {
  position: relative;
  width: auto;
  min-height: auto;
  padding: 2px 10px;
  border: 0;
  color: var(--gold-2);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.copy-code:hover,
.copy-code:focus-visible {
  outline: none;
}

.copy-code__glitch {
  position: relative;
  display: inline-block;
  color: var(--gold-2);
  font-family: "Druk Text Super", "Arial Black", Impact, sans-serif;
  font-size: clamp(4rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow:
    0 0 16px rgba(237, 201, 64, 0.42),
    0 0 46px rgba(237, 201, 64, 0.18);
  animation: arMatrixFlicker 2.4s steps(1, end) infinite;
}

.copy-code__glitch::before,
.copy-code__glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.copy-code__glitch::before {
  color: #fff0a8;
  clip-path: inset(0 0 52% 0);
  animation: arMatrixSliceTop 2.4s steps(1, end) infinite;
}

.copy-code__glitch::after {
  color: var(--gold);
  clip-path: inset(48% 0 0 0);
  animation: arMatrixSliceBottom 2.4s steps(1, end) infinite;
}

.copy-code__note {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.copy-code__note svg {
  width: 112px;
  height: 42px;
  margin: -4px 0;
  overflow: visible;
}

.copy-code__note path {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 8;
  opacity: 0.78;
}

.copy-code__note--bottom {
  margin-top: -4px;
}

.promo-card .button {
  width: 100%;
  max-width: 280px;
  margin-top: 8px;
}

.copy-code.is-copied {
  color: var(--gold-2);
}

@keyframes arMatrixFlicker {
  0%,
  12%,
  16%,
  55%,
  60%,
  100% {
    opacity: 1;
    filter: none;
  }

  13% {
    opacity: 0.25;
  }

  14% {
    opacity: 1;
  }

  57% {
    opacity: 0;
  }

  58% {
    opacity: 1;
    filter: brightness(1.65);
  }
}

@keyframes arMatrixSliceTop {
  0%,
  11%,
  15%,
  54%,
  59%,
  100% {
    opacity: 0;
  }

  12%,
  56% {
    opacity: 1;
  }
}

@keyframes arMatrixSliceBottom {
  0%,
  13%,
  17%,
  56%,
  61%,
  100% {
    opacity: 0;
  }

  14%,
  58% {
    opacity: 1;
  }
}

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

.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  padding: var(--card-pad);
  border: 1px solid rgba(247, 227, 156, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(8, 8, 6, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 72px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(26px) saturate(1.22) brightness(0.8);
  backdrop-filter: blur(26px) saturate(1.22) brightness(0.8);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(247, 227, 156, 0.18), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: rgba(247, 227, 156, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 72px rgba(0, 0, 0, 0.34), 0 0 24px rgba(237, 201, 64, 0.06);
  transform: translateY(-2px);
}

.testimonial-card:hover::before,
.testimonial-card:focus-within::before {
  opacity: 1;
}

.testimonial-card img,
.testimonial-card__avatar-fallback {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.testimonial-card img {
  object-fit: cover;
}

.testimonial-card__avatar-fallback {
  display: grid;
  place-items: center;
  color: #11100b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-family: "GT Proelium", sans-serif;
  font-size: 1.1rem;
  line-height: 1;
}

.testimonial-card p {
  display: -webkit-box;
  min-height: 132px;
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.testimonial-card span {
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.closing {
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
}

.closing h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.site-footer {
  width: var(--container);
  max-width: 100%;
  margin: 96px auto 0;
  padding: 54px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.7fr 0.75fr;
  gap: 44px;
  align-items: start;
}

.footer-main > *,
.newsletter,
.footer-bottom > * {
  min-width: 0;
}

.newsletter p,
.footer-bottom p,
.footer-disclaimer p {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: "Mustica Pro", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.language-menu {
  position: relative;
  z-index: 5;
  --language-panel-left: 16px;
  --language-panel-top: 0px;
  --language-panel-y: 0px;
}

.language-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.language-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.language-menu.is-open .language-pill svg {
  transform: rotate(180deg);
}

.language-pill__flag {
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 4px;
  color: #11100b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 0.7rem;
  font-weight: 900;
}

.language-options {
  position: fixed;
  left: var(--language-panel-left);
  top: var(--language-panel-top);
  display: grid;
  gap: 4px;
  width: min(230px, calc(100vw - 32px));
  max-height: min(354px, calc(100vh - 40px));
  padding: 8px;
  border: 1px solid rgba(235, 207, 137, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 6, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, var(--language-panel-y), 0) scale(0.98);
  transform-origin: center center;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.language-options::-webkit-scrollbar {
  display: none;
}

.language-menu.is-open .language-options {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.language-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.language-options button span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.language-options button:hover,
.language-options button:focus-visible,
.language-options button[aria-selected="true"] {
  color: #11100b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  outline: none;
}

.language-options button:hover span,
.language-options button:focus-visible span,
.language-options button[aria-selected="true"] span {
  color: rgba(17, 16, 11, 0.72);
}

.newsletter h2,
.footer-legal h2,
.footer-social h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.newsletter p {
  max-width: 480px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.newsletter {
  position: relative;
  padding-bottom: 3.1em;
}

.newsletter__row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  border-radius: 8px;
}

.newsletter input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.newsletter input::placeholder {
  color: rgba(248, 244, 232, 0.48);
}

.newsletter button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.newsletter__status {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2.9em);
  z-index: 1;
  min-height: 1.35em;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.newsletter__status:not(:empty) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.newsletter__status[data-state="success"] {
  color: var(--gold-2);
}

.newsletter__status[data-state="error"] {
  color: #ffb7a8;
}

.newsletter__status[data-state="loading"] {
  color: rgba(255, 241, 166, 0.78);
}

.footer-legal {
  display: grid;
  gap: 12px;
}

.footer-legal a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.social-icons a:hover,
.social-icons a:focus-visible {
  color: var(--gold-2);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  transform: translateY(-2px);
}

.social-icons svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 38px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-disclaimer {
  margin-top: 20px;
  max-width: 1120px;
}

.footer-disclaimer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.footer-disclaimer p {
  margin: 0;
  color: var(--soft);
  font-size: 0.68rem;
  line-height: 1.7;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 6, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  scrollbar-width: none;
}

.legal-modal__panel::-webkit-scrollbar {
  display: none;
}

.legal-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.5rem;
  cursor: pointer;
}

.legal-modal h2 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 2.4rem;
}

.legal-modal__content {
  display: grid;
  gap: 14px;
}

.legal-modal__content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.legal-modal__content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.legal-modal__content li {
  color: var(--muted);
}

.team-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

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

.team-panel [hidden] {
  display: none !important;
}

body.team-panel-open {
  overflow: hidden;
}

.team-panel__shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1240px, 100%);
  height: min(820px, calc(100vh - 36px));
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 10%, rgba(237, 201, 64, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(237, 201, 64, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(237, 201, 64, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 6, 0.98);
  background-size: auto, 42px 42px, 42px 42px, auto, auto;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.56);
}

.team-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(237, 201, 64, 0.11), transparent 46%),
    rgba(0, 0, 0, 0.16);
}

.team-panel__header p {
  margin: 0 0 6px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-panel__header h2 {
  margin: 0;
  font-family: "Druk Text Super", "Arial Black", Impact, sans-serif;
  font-size: 2.08rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.team-panel__meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid rgba(237, 201, 64, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.team-panel__meta span {
  color: var(--soft);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-panel__meta strong {
  color: var(--muted);
  font-size: 0.76rem;
}

.team-panel__meta strong[data-state="dirty"] {
  color: #ffdda1;
}

.team-panel__meta strong[data-state="saved"] {
  color: var(--gold-2);
}

.team-panel__close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.team-panel__lock,
.team-panel__form {
  min-height: 0;
}

.team-panel__lock[hidden],
.team-panel__form[hidden] {
  display: none;
}

.team-panel__lock {
  display: grid;
  align-content: start;
  gap: 10px;
  width: min(420px, calc(100% - 36px));
  padding: 26px 30px;
}

.team-panel__lock-card p,
.team-panel__notice span,
.team-panel__status {
  margin: 0;
  color: var(--muted);
}

.team-panel__lock-card {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(237, 201, 64, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.2);
}

.team-panel__lock-card > span {
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-panel__lock-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.team-panel__lock label,
.team-panel__group label {
  display: grid;
  gap: 7px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.team-panel input,
.team-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.22);
  font: 700 0.9rem/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.team-panel__lock input {
  min-height: 46px;
}

.team-panel input:focus,
.team-panel textarea:focus {
  border-color: rgba(247, 227, 156, 0.54);
  box-shadow: 0 0 0 3px rgba(237, 201, 64, 0.12);
}

.team-panel textarea {
  min-height: 92px;
  resize: vertical;
}

.team-panel__form {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.team-panel__sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.18);
}

.team-panel__notice {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(237, 201, 64, 0.24);
  border-radius: 8px;
  background: rgba(237, 201, 64, 0.06);
}

.team-panel__notice strong {
  color: var(--gold-2);
}

.team-panel__nav {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none;
}

.team-panel__nav::-webkit-scrollbar {
  display: none;
}

.team-panel__nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font: 900 0.84rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.team-panel__nav button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
}

.team-panel__nav button:hover,
.team-panel__nav button:focus-visible,
.team-panel__nav button.is-active {
  color: var(--gold-2);
  border-color: rgba(237, 201, 64, 0.32);
  background: rgba(237, 201, 64, 0.08);
  outline: none;
  transform: translateX(2px);
}

.team-panel__workspace {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.team-panel__toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 6, 0.9);
  backdrop-filter: blur(14px);
}

.team-panel__toolbar > div:first-child {
  display: grid;
  gap: 3px;
}

.team-panel__toolbar span,
.team-panel__console label {
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-panel__toolbar strong {
  color: var(--text);
  font-size: 1rem;
}

.team-panel__scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 120px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(237, 201, 64, 0.42) rgba(255, 255, 255, 0.055);
}

.team-panel__scroll::-webkit-scrollbar {
  width: 10px;
}

.team-panel__scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.055);
}

.team-panel__scroll::-webkit-scrollbar-thumb {
  border: 2px solid rgba(8, 8, 6, 0.9);
  border-radius: 999px;
  background: rgba(237, 201, 64, 0.42);
}

.team-panel__fields {
  display: grid;
  gap: 18px;
}

.team-panel__group {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 201, 64, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.28);
  scroll-margin-top: 88px;
}

.team-panel__group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.08rem;
}

.team-panel__group h3::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(237, 201, 64, 0.56);
}

.team-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.team-panel__actions .button {
  min-height: 34px;
  padding-inline: 11px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  box-shadow: none;
  font-size: 0.74rem;
}

.team-panel__actions .button--primary {
  background: linear-gradient(135deg, rgba(237, 201, 64, 0.82), rgba(255, 240, 168, 0.84));
}

.team-panel__actions .button--ghost {
  color: rgba(248, 244, 232, 0.72);
  background: rgba(255, 255, 255, 0.028);
}

.team-panel__console {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 40px;
  padding: 16px;
  border: 1px solid rgba(237, 201, 64, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(237, 201, 64, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.28);
  scroll-margin-top: 92px;
}

.team-panel__json {
  min-height: 132px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.78rem;
}

.team-panel__status {
  min-height: 1.35em;
  color: var(--gold-2);
  font-size: 0.84rem;
}

.chatbot-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 14px;
  pointer-events: none;
}

.ghl-embed-frame {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.chatbot-panel {
  width: min(430px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(251, 213, 75, 0.34);
  border-radius: 8px;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 12%, rgba(251, 213, 75, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(8, 8, 6, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  pointer-events: auto;
  transform-origin: right bottom;
  animation: chatbotPanelIn 220ms ease both;
}

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

.chatbot-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.chatbot-panel__header div {
  display: grid;
  gap: 4px;
}

.chatbot-panel__header span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chatbot-panel__header strong {
  color: var(--text);
  font-size: 1.05rem;
}

.chatbot-panel__close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-build {
  position: relative;
  display: grid;
  grid-template-columns: 176px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 190px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(251, 213, 75, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(251, 213, 75, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 22px 22px;
  overflow: hidden;
}

.chatbot-avatar {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: 164px;
  height: 164px;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 16px rgba(251, 213, 75, 0.16));
}

.chatbot-build__code {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  font-family: "Mustica Pro", "Inter", sans-serif;
}

.chatbot-build__code span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  color: rgba(255, 250, 225, 0.82);
  background: rgba(0, 0, 0, 0.32);
  font-size: 0.76rem;
  white-space: nowrap;
}

.chatbot-build__nodes {
  display: none !important;
}

.chatbot-build__nodes span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  animation: chatbotNode 1.2s ease-in-out infinite;
}

.chatbot-build__nodes span:nth-child(2) {
  animation-delay: 160ms;
}

.chatbot-build__nodes span:nth-child(3) {
  animation-delay: 320ms;
}

.chatbot-panel h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.24rem;
  line-height: 1.15;
}

.chatbot-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.chatbot-progress {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.chatbot-progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff1a6, var(--gold), #b9942a);
  animation: chatbotProgress 1.8s ease-in-out infinite;
}

.chatbot-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 132px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #090806;
  background: linear-gradient(135deg, #fff3a7, var(--gold) 58%, #c9a130);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 0 0 rgba(251, 213, 75, 0.44);
  font: 900 0.95rem/1 "Mustica Pro", "Inter", sans-serif;
  cursor: pointer;
  pointer-events: auto;
  animation: chatbotBreath 2.35s ease-in-out infinite;
}

.chatbot-mini-avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(9, 8, 6, 0.84);
  border-radius: 999px;
  background: rgba(9, 8, 6, 0.2);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 8px 18px rgba(0, 0, 0, 0.28);
}

.chatbot-dock.is-open .chatbot-float {
  animation-play-state: paused;
}

@keyframes chatbotBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 0 0 rgba(251, 213, 75, 0.42);
  }

  50% {
    transform: translateY(-4px) scale(1.035);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.46), 0 0 0 12px rgba(251, 213, 75, 0);
  }
}

@keyframes chatbotPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatbotNode {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes chatbotBlink {
  0%,
  88%,
  100% {
    transform: scaleY(1);
  }

  92% {
    transform: scaleY(0.18);
  }
}

@keyframes chatbotProgress {
  0%,
  100% {
    transform: translateX(-8%);
  }

  50% {
    transform: translateX(24%);
  }
}

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

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.site-footer[data-reveal].is-visible {
  transform: none;
}

.hero__visual[data-reveal],
.hero__visual[data-reveal].is-visible {
  transform: translateY(-88px);
}

.program-card[data-reveal].is-visible:hover,
.program-card[data-reveal].is-visible:focus-within {
  transform: translateY(-4px);
}

@media (max-width: 980px) {
  :root {
    --section-gap: 86px;
    --card-pad: 26px;
  }

  .topbar {
    top: 12px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    overflow: hidden;
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    transform-origin: center;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .nav-links,
  .topbar__cta {
    display: none;
  }

  body.nav-open .nav-links,
  body.nav-open .topbar__cta {
    display: flex;
  }

  body.nav-open .topbar {
    align-items: start;
    border-color: rgba(247, 227, 156, 0.28);
    background: rgba(8, 8, 6, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  body.nav-open .nav-links {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.nav-open .nav-links a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding-inline: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
  }

  body.nav-open .nav-links a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.62;
  }

  body.nav-open .topbar__cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .hero,
  .funded,
  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 18px;
  }

  h1 {
    max-width: 680px;
    font-size: 4.45rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 3rem;
    line-height: 1.06;
  }

  .display-title {
    font-size: 3rem;
    line-height: 0.92;
  }

  .method-grid,
  .program-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: auto;
  }

  .testimonial-card {
    flex-basis: min(76vw, 380px);
  }

  .program-card__top {
    margin-bottom: 30px;
  }

  .method-card,
  .program-card {
    min-height: auto;
  }

  .method-card__index {
    margin-bottom: 46px;
  }

  .hero__visual {
    margin-top: 18px;
    transform: none;
  }

  .hero__visual[data-reveal],
  .hero__visual[data-reveal].is-visible {
    transform: none;
  }

  .emblem-card {
    width: min(644px, 100%);
  }

  .footer-main,
  .newsletter__row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1180px, calc(100% - 28px));
    --section-gap: 74px;
    --card-pad: 22px;
  }

  .site-footer {
    width: calc(100% - 28px);
  }

  .section-shell,
  .topbar,
  .site-footer {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .newsletter p,
  .footer-bottom p {
    max-width: 320px;
    line-height: 1.55;
  }

  .topbar {
    top: 10px;
  }

  .brand span {
    font-size: 0.78rem;
  }

  .hero {
    gap: 46px;
    padding: 106px 0 6px;
  }

  #market-canvas {
    opacity: 0.32;
  }

  .hero__content,
  .hero__visual,
  .section-heading,
  .funded__content {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.24rem, 10vw, 2.82rem);
    line-height: 1.03;
    margin-bottom: 24px;
    text-wrap: wrap;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.82rem, 7.2vw, 2.05rem);
    line-height: 1.14;
    margin-bottom: 18px;
  }

  .display-title {
    max-width: 100%;
    font-size: clamp(1.82rem, 7.2vw, 2.05rem);
    line-height: 0.92;
    margin-bottom: 22px;
    overflow-wrap: normal;
  }

  .closing .display-title {
    font-size: clamp(1.82rem, 7.2vw, 2.05rem);
  }

  .hero__lead,
  .section-heading p,
  .funded__content p,
  .program-card p,
  .method-card p {
    font-size: 0.94rem;
    line-height: 1.68;
    overflow-wrap: anywhere;
  }

  .hero__actions,
  .hero__actions .button,
  .closing .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

  .proof-strip,
  .closing {
    flex-direction: column;
    align-items: stretch;
  }

  .proof-strip {
    margin-top: 28px;
  }

  .proof-strip div {
    padding: 14px 16px;
  }

  .proof-strip dt {
    font-size: 1.78rem;
  }

  .proof-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .funded,
  .closing {
    padding: 22px;
  }

  .funded {
    gap: 26px;
  }

  .funded__highlights {
    gap: 8px;
    margin-top: 22px;
  }

  .funded__highlights span {
    width: 100%;
    text-align: center;
  }

  .promo-card {
    padding: 22px 18px;
  }

  .copy-code__glitch {
    font-size: clamp(4.6rem, 24vw, 5.8rem);
  }

  .emblem-card {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .method-card__index {
    margin-bottom: 38px;
    font-size: 2.45rem;
  }

  .program-card__top {
    margin-bottom: 28px;
  }

  .program-card__top strong {
    font-size: 2rem;
  }

  .program-card {
    padding: 24px;
  }

  .testimonial-card {
    flex-basis: min(84vw, 340px);
  }

  .program-card__badge {
    top: 16px;
    right: 16px;
    font-size: 0.66rem;
  }

  .testimonial-card p {
    min-height: auto;
  }

  .chatbot-dock {
    right: 12px;
    bottom: 12px;
  }

  .team-panel {
    padding: 12px;
  }

  .team-panel__shell {
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
  }

  .team-panel__header,
  .team-panel__lock {
    padding: 18px;
  }

  .team-panel__header h2 {
    font-size: 1.8rem;
  }

  .team-panel__meta {
    display: none;
  }

  .team-panel__form {
    grid-template-columns: 1fr;
  }

  .team-panel__sidebar {
    display: block;
    min-height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .team-panel__notice {
    margin-bottom: 12px;
  }

  .team-panel__nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .team-panel__nav button {
    flex: 0 0 auto;
    min-width: 150px;
  }

  .team-panel__toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .team-panel__scroll {
    padding: 14px 14px 22px;
  }

  .team-panel__actions {
    justify-content: stretch;
  }

  .team-panel__actions .button {
    flex: 1 1 46%;
    width: 100%;
  }

  .chatbot-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .chatbot-build {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
  }

  .chatbot-build__code {
    justify-items: center;
    text-align: center;
  }

  .chatbot-float {
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 0;
  }

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

  .chatbot-mini-avatar {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  #market-canvas {
    display: none;
  }

  .program-card:hover,
  .program-card:focus-within {
    transform: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.admin-page {
  background: var(--bg);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.admin-loader {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.admin-loader[hidden] {
  display: none;
}

.admin-loader__content {
  text-align: center;
  display: grid;
  gap: 12px;
}

.admin-loader__text {
  font-family: "Mustica Pro", sans-serif;
  font-size: 1.1rem;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admin-loader__status {
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-frame[hidden] {
  display: none;
}

.admin-frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
  overflow: hidden;
}

.admin-frame__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 6, 0.92);
  backdrop-filter: blur(14px);
  z-index: 10;
}

.admin-frame__breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.admin-frame__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  color: #11100b;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-frame__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-frame__actions .button {
  min-height: 36px;
  padding-inline: 14px;
  font-size: 0.82rem;
}

.admin-frame__actions .button--ghost {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

.admin-frame__viewport {
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
}

@media (max-width: 640px) {
  .admin-frame__toolbar {
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .admin-frame__actions .button {
    font-size: 0.76rem;
    min-height: 32px;
    padding-inline: 10px;
  }
}

