/* =========================================================
   Protocol Leonida: one-page site
   Palette: Leonida neon sunset over deep night
   ========================================================= */

:root {
  --ink: #0b0614;
  --night: #120a20;
  --night-2: #1a0f2e;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --text: #f7f0fb;
  --muted: #b9a9cb;
  --dim: #8a7a9e;

  --sun: #ffc145;
  --coral: #ff6a3d;
  --flame: #ff5a5f;
  --magenta: #ff2e88;
  --violet: #9b5cff;
  --teal: #19e3c7;

  --grad: linear-gradient(100deg, var(--sun) 0%, var(--coral) 35%, var(--magenta) 75%, var(--violet) 100%);
  --grad-btn: linear-gradient(100deg, var(--coral), var(--magenta));

  --font-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: #fff; font-weight: 600; }

::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85em;
  --pad-x: 1.5em;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn--sm { font-size: 0.9rem; --pad-y: 0.6em; --pad-x: 1.1em; }
.btn--lg { font-size: 1.06rem; --pad-y: 1em; --pad-x: 1.8em; }

.btn--primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 8px 30px -8px rgba(255, 46, 136, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(255, 46, 136, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 6, 20, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand__logo { height: 40px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(255, 46, 136, 0.25)); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand__name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-btn);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: #fff; }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .nav__links { display: none; }
}
@media (max-width: 480px) {
  .brand__name { display: none; }
  .brand__logo { height: 34px; }
}

/* ---------- Hero ---------- */
.hero {
  --mx: 0;
  --my: 0;
  --sp: 0; /* scroll progress through the hero, 0 to 1 (set by JS) */
  --horizon: 85%;
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 20px) 0 92px;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }

.hero__scene { position: absolute; inset: 0; z-index: -1; }

/* Parallax layers: JS sets --mx/--my from the pointer (-1..1) */
.layer {
  translate: calc(var(--mx) * var(--depth, 0) * 1px) calc(var(--my) * var(--depth, 0) * 0.6px);
  will-change: translate;
}

.sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 38% at 50% var(--horizon), rgba(255, 150, 70, 0.75) 0%, rgba(255, 70, 110, 0.45) 35%, transparent 72%),
    radial-gradient(120% 60% at 50% var(--horizon), rgba(255, 46, 136, 0.35) 0%, transparent 70%),
    linear-gradient(180deg,
      #07030e 0%,
      #120726 24%,
      #240b3d 44%,
      #451055 58%,
      #82195e 70%,
      #d8385c 78%,
      #ff7a45 82%,
      #ffb35a var(--horizon),
      #1d0a2e calc(var(--horizon) + 0.1%),
      #0b0614 100%);
}

.stars,
.stars::after {
  position: absolute; inset: 0 0 48% 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 26%, #ffe9f4 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 73% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 9%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 93% 30%, #ffe9f4 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 34%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 40%, #fff 50%, transparent 51%);
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
}
.stars::after {
  content: "";
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 19% 28%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 35% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 49% 6%, #ffe9f4 50%, transparent 51%),
    radial-gradient(1px 1px at 79% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 96% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 3% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 69% 4%, #fff 50%, transparent 51%);
  animation-delay: -2.5s;
  animation-duration: 7s;
}
@keyframes twinkle { from { opacity: 0.3; } to { opacity: 0.75; } }

/* Soft neon aura behind the logo */
.aura {
  position: absolute;
  left: 50%; top: 42%;
  width: min(1100px, 130vw);
  height: min(760px, 90vh);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side at 50% 50%, rgba(255, 46, 136, 0.28), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(155, 92, 255, 0.22), transparent 75%),
    radial-gradient(closest-side at 72% 58%, rgba(25, 227, 199, 0.10), transparent 75%);
  filter: blur(20px);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { opacity: 0.75; transform: translate(-50%, -50%) scale(0.96); }
  to   { opacity: 1;    transform: translate(-50%, -50%) scale(1.04); }
}

/* Distant skyline sitting on the horizon */
.skyline {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(100% - var(--horizon));
  width: 100%;
  height: clamp(40px, 5.5vw, 84px);
  opacity: 0.92;
}
.skyline__b { fill: #2a0b33; }
.skyline__w { fill: #ffc56b; opacity: 0.55; animation: windows 6s steps(2) infinite alternate; }
@keyframes windows { from { opacity: 0.4; } to { opacity: 0.7; } }

.sea {
  position: absolute;
  inset: var(--horizon) 0 0 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 120, 80, 0.38), rgba(255, 46, 136, 0.10) 35%, transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 150, 130, 0.08) 9px 10px),
    linear-gradient(180deg, #2a0d3a, #0b0614 90%);
}
.sea::before {
  /* thin bright horizon line */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 140, 0.9) 30%, #fff1c8 50%, rgba(255, 210, 140, 0.9) 70%, transparent);
  filter: blur(0.6px);
}
.sea__shine {
  /* glow reflected on the water */
  position: absolute;
  left: 50%; top: 0;
  width: min(70vw, 900px);
  height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(255, 196, 110, 0.55) 0 2px, transparent 2px 9px);
  -webkit-mask-image: radial-gradient(50% 100% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
  mask-image: radial-gradient(50% 100% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%);
  animation: shimmer 5s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { opacity: 0.55; transform: translateX(-50%) scaleX(0.94); }
  to   { opacity: 0.95; transform: translateX(-50%) scaleX(1.05); }
}

/* Palms: foreground framing; bases run off-screen */
.palm-wrap { position: absolute; bottom: -7%; }
.palm-wrap--l  { left: -6%;  width: clamp(230px, 31vw, 460px); }
.palm-wrap--l2 { left: 12%;  width: clamp(130px, 15vw, 230px); bottom: -2%; }
.palm-wrap--r  { right: -7%; width: clamp(240px, 34vw, 500px); bottom: -9%; }
.palm {
  width: 100%;
  height: auto;
  fill: #06030b;
  transform-origin: 55% 100%;
}
.palm--l  { animation: sway 9s ease-in-out infinite alternate; }
.palm--l2 { fill: #1a0a2a; transform: scaleX(-1); animation: sway2 11s ease-in-out infinite alternate; }
.palm--r  { transform: scaleX(-1); animation: sway2 10s ease-in-out infinite alternate; }
@keyframes sway  { from { rotate: -1.2deg; } to { rotate: 1.2deg; } }
@keyframes sway2 { from { rotate: 1deg; } to { rotate: -1.4deg; } }

.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(4, 2, 9, 0.6) 100%);
  pointer-events: none;
}
.grain {
  position: absolute; inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero::after {
  /* fade into the page below */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, var(--ink));
  z-index: -1;
  pointer-events: none;
}

/* Content */
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: calc(1 - var(--sp) * 1.4);
  translate: 0 calc(var(--sp) * -60px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 6, 20, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f2e6fa;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: ping 2s infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(25, 227, 199, 0.65); }
  70%  { box-shadow: 0 0 0 10px rgba(25, 227, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 227, 199, 0); }
}

.hero__title { margin-top: 10px; line-height: 0; }
.hero__logo-wrap {
  display: block;
  /* fit the logo to the screen: big enough to own it, short enough to leave room for the CTA */
  width: clamp(270px, min(86vw, calc((100vh - 500px) * 1.34)), 600px);
}
@supports (height: 100svh) {
  .hero__logo-wrap { width: clamp(270px, min(86vw, calc((100svh - 500px) * 1.34)), 600px); }
}
.hero__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(255, 46, 136, 0.30)) drop-shadow(0 0 60px rgba(155, 92, 255, 0.18));
  animation:
    logo-in 1.3s cubic-bezier(.16, .8, .24, 1) both,
    float 7s ease-in-out 1.3s infinite alternate;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes float {
  from { transform: translateY(0); }
  to   { transform: translateY(-9px); }
}

.hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #8ff7e6;
  text-shadow: 0 0 18px rgba(25, 227, 199, 0.45), 0 2px 10px rgba(11, 6, 20, 0.8);
  padding-left: 0.34em; /* balance the trailing letter-spacing */
}
.hero__tagline::before,
.hero__tagline::after {
  content: "";
  width: clamp(18px, 4vw, 44px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 247, 230, 0.8));
}
.hero__tagline::after { background: linear-gradient(90deg, rgba(143, 247, 230, 0.8), transparent); }

.hero__lede {
  margin-top: 14px;
  max-width: 600px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: #f1e7f7;
  text-shadow: 0 1px 2px rgba(11, 6, 20, 0.6), 0 4px 24px rgba(11, 6, 20, 0.85);
}
.hero__cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.ico--sm { width: 1.05em; height: 1.05em; transition: transform 0.25s ease; }
.btn--ghost:hover .ico--sm { transform: translateY(2px); }
/* Hero buttons sit on the sunset, so they use the logo's cyan (its complement) and deep night glass */
.hero .btn--primary {
  color: #08121a;
  background: linear-gradient(100deg, #5ff5dc 0%, #19e3c7 45%, #2bc8ff 100%);
  box-shadow:
    0 10px 34px -8px rgba(25, 227, 199, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hero .btn--primary:hover {
  box-shadow:
    0 16px 44px -8px rgba(25, 227, 199, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.hero .btn--shine::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent); }
.hero .btn--ghost {
  color: #fff;
  background: rgba(16, 7, 34, 0.9);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(5, 2, 12, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero .btn--ghost:hover { background: rgba(16, 7, 34, 0.96); border-color: rgba(95, 245, 220, 0.6); }

/* Periodic light sweep across the main CTA */
.btn--shine { overflow: hidden; }
.btn--shine::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: sweep 5.5s ease-in-out 2.2s infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%   { left: -60%; }
  22%  { left: 130%; }
  100% { left: 130%; }
}

.hero__facts {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 240, 251, 0.78);
  text-shadow: 0 2px 12px rgba(11, 6, 20, 0.9);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 14px; }
.hero__facts li + li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

/* Hero copy waits for the logo to land */
.js .hero .reveal { transition-delay: calc(var(--d, 0s) + 0.45s); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  opacity: calc(1 - var(--sp) * 3);
  transition: border-color 0.2s ease;
}
.hero__scroll:hover { border-color: rgba(255, 255, 255, 0.6); }
.hero__scroll span {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scrolly 1.8s ease-in-out infinite;
}
@keyframes scrolly {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}

@media (max-height: 820px) and (min-width: 601px) { .hero { --horizon: 89%; } }
@media (max-height: 760px) { .hero__scroll { display: none; } }

@media (max-width: 600px) {
  .hero { --horizon: 84%; padding-bottom: 72px; }
  .hero__lede { font-size: 1rem; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { font-size: 0.68rem; letter-spacing: 0.12em; }
  .hero__scroll { display: none; }
  .palm-wrap--l2 { display: none; }
  .palm-wrap--l { left: -22%; width: 58vw; }
  .palm-wrap--r { right: -26%; width: 64vw; }
  .skyline { height: 40px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--coral);
}
.kicker::after {
  content: "";
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent);
}

.h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  max-width: 16ch;
}
.section__lede {
  margin-top: 18px;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.06rem;
}

/* Mission */
.mission__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.mission__body { display: grid; gap: 18px; color: var(--muted); font-size: 1.08rem; }
.mission .h2 { max-width: 15ch; }

.promises {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}
.wrap.promises { padding-inline: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.promise {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--night);
}
.promise__big {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.promise__txt { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 860px) {
  .mission__grid { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
}

/* Standard cards */
.standard {
  background:
    radial-gradient(45% 35% at 85% 30%, rgba(155, 92, 255, 0.11), transparent 100%),
    radial-gradient(40% 30% at 12% 75%, rgba(255, 46, 136, 0.08), transparent 100%);
}
.cards {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__ico {
  width: 46px; height: 46px;
  padding: 10px;
  border-radius: 12px;
  color: var(--sun);
  background: rgba(255, 193, 69, 0.1);
  border: 1px solid rgba(255, 193, 69, 0.22);
}
.card h3 {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Roles */
.roles__grid {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.role {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 30px;
  min-height: 210px;
  border-radius: var(--radius);
  background: var(--night);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.role::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c1), transparent);
  opacity: 0.28;
  filter: blur(10px);
  z-index: -1;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.role::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  opacity: 0.85;
}
.role:hover { transform: translateY(-4px); border-color: var(--line-2); }
.role:hover::before { opacity: 0.5; transform: scale(1.15); }
.role__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c2);
}
.role h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.role p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

@media (max-width: 980px) { .roles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .roles__grid { grid-template-columns: 1fr; } .role { min-height: 0; } }

/* Roadmap */
.roadmap {
  background: linear-gradient(180deg, transparent, rgba(26, 15, 46, 0.6) 30%, rgba(26, 15, 46, 0.6) 70%, transparent);
}
.timeline {
  position: relative;
  margin-top: clamp(48px, 7vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--magenta) 25%, var(--line-2) 26%, var(--line-2) 100%);
}
.step { position: relative; padding-top: 38px; }
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--night-2);
  border: 2px solid var(--line-2);
}
.step--now::before {
  background: var(--magenta);
  border-color: #ffd0e5;
  box-shadow: 0 0 0 6px rgba(255, 46, 136, 0.18), 0 0 24px rgba(255, 46, 136, 0.8);
}
.step__phase {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.step__phase b { color: var(--magenta); font-weight: 700; }
.step h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.step--now h3 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin-top: 8px; color: var(--muted); font-size: 0.97rem; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; padding-left: 34px; }
  .timeline::before {
    left: 7px; right: auto; top: 6px; bottom: 6px;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--coral) 0%, var(--magenta) 22%, var(--line-2) 23%, var(--line-2) 100%);
  }
  .step { padding-top: 0; }
  .step::before { left: -34px; top: 4px; }
}

/* FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__list { display: grid; gap: 12px; }
.qa {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.qa[open] { border-color: rgba(255, 106, 61, 0.45); background: rgba(255, 106, 61, 0.05); }
.qa summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 600;
  font-size: 1.04rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin 0.25s ease;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p { padding: 0 22px 22px; color: var(--muted); }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid > div:first-child { position: static; }
}

/* Final CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 14vw, 160px) 0;
  text-align: center;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.cta__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: min(820px, 130vw);
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 106, 61, 0.32), rgba(255, 46, 136, 0.16) 50%, transparent 100%);
  z-index: -1;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1;
}
.cta p { color: #e3d6ee; max-width: 520px; font-size: 1.08rem; }
.cta .btn { margin-top: 8px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #07040d;
  padding: 48px 0 40px;
}
.footer__inner { display: grid; gap: 20px; justify-items: center; text-align: center; }
.footer__logo { width: 190px; height: auto; opacity: 0.95; }
.footer__legal { max-width: 760px; font-size: 0.86rem; line-height: 1.7; color: var(--dim); }
.footer__legal strong { color: var(--muted); font-weight: 600; }
.footer__copy { font-size: 0.82rem; color: var(--dim); }
.footer__copy a { color: var(--muted); text-decoration: none; }
.footer__copy a:hover { color: #fff; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(.2, .7, .2, 1), transform 0.8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
