/* ===== Tokens ===== */
:root {
  --bg: #0a0a0f;
  --bg-card: #141419;
  --bg-input: #12121a;
  --accent: #315bff;
  --accent-soft: #4a72ff;
  --accent-glow: rgba(49, 91, 255, 0.55);
  --neon: #7aa0ff;
  --text: #f4f5f8;
  --text-soft: #f3f4f8;
  --muted: #8b91a8;
  --muted-alt: #8a90a8;
  --placeholder: #5c5c6a;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.09);
  --border-input: rgba(255, 255, 255, 0.12);
  --radius: 4px;
  --radius-card: 10px;
  --container: 1200px;
  --pad-x: 120px;
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
}

/* Animatable cursor-spotlight strength for cards */
@property --spot {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  min-width: 320px;
  position: relative;
}

/* ===== Neon ambient layer =====
   Sits between the page background and all content, so the glow never
   washes over text. Sections are transparent to let it breathe through. */
.neon-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.neon-edges {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.neon-edges__line {
  position: absolute;
  overflow: hidden;
}

.neon-edges__line::after {
  content: "";
  position: absolute;
  background: linear-gradient(
    var(--neon-edge-angle, 90deg),
    transparent,
    rgba(74, 114, 255, 0.65),
    rgba(122, 160, 255, 1),
    rgba(74, 114, 255, 0.65),
    transparent
  );
  box-shadow:
    0 0 8px 1px rgba(74, 114, 255, 0.55),
    0 0 18px 2px rgba(49, 91, 255, 0.35);
  will-change: transform;
}

.neon-edges__line--top,
.neon-edges__line--bottom {
  left: 0;
  right: 0;
  height: 2px;
}

.neon-edges__line--top::after,
.neon-edges__line--bottom::after {
  top: 0;
  bottom: 0;
  width: 38vw;
  min-width: 280px;
  animation: neon-travel-x 14s linear infinite;
}

.neon-edges__line--top {
  top: 0;
}

.neon-edges__line--bottom {
  bottom: 0;
}

.neon-edges__line--bottom::after {
  animation-duration: 19s;
  animation-direction: reverse;
}

.neon-edges__line--left,
.neon-edges__line--right {
  top: 0;
  bottom: 0;
  width: 2px;
}

.neon-edges__line--left::after,
.neon-edges__line--right::after {
  --neon-edge-angle: 180deg;
  left: 0;
  right: 0;
  height: 44vh;
  min-height: 240px;
  animation: neon-travel-y 17s linear infinite;
}

.neon-edges__line--left {
  left: 0;
}

.neon-edges__line--right {
  right: 0;
}

.neon-edges__line--right::after {
  animation-duration: 23s;
  animation-direction: reverse;
}

@keyframes neon-travel-x {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(calc(100vw + 100%), 0, 0);
  }
}

@keyframes neon-travel-y {
  from {
    transform: translate3d(0, -100%, 0);
  }
  to {
    transform: translate3d(0, calc(100vh + 100%), 0);
  }
}

.neon-off .neon-layer,
.neon-off .neon-edges,
.neon-off .hero__neon-ring {
  display: none;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad-x) * 2);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.16px;
  line-height: 26px;
  transition: background 0.25s, box-shadow 0.25s, color 0.2s, opacity 0.2s, transform 0.2s, border-color 0.25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(122, 160, 255, 0.15),
    0 0 20px rgba(49, 91, 255, 0.25);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn--primary:hover {
  background: #456bff;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(122, 160, 255, 0.45),
    0 0 28px rgba(49, 91, 255, 0.65),
    0 0 56px rgba(49, 91, 255, 0.35);
}

.btn--primary:hover::before {
  transform: translateX(120%);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  padding: 12px 8px;
  letter-spacing: 0.15px;
  line-height: 24px;
}

.btn--ghost:hover {
  color: var(--text);
}

.btn--sm {
  padding: 12px 22px;
  width: 126px;
  letter-spacing: 0.15px;
  line-height: 24px;
}

.btn--block {
  width: 100%;
  padding: 12px 21.6px;
  line-height: 24px;
  letter-spacing: 0.15px;
}

.btn--submit {
  padding: 16.8px 27.2px;
  font-weight: 700;
  font-size: 14.7px;
  letter-spacing: 0.589px;
  text-transform: uppercase;
  line-height: 22.82px;
  border-radius: 0;
  margin-top: 8px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid var(--border-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 0;
  width: min(1200px, calc(100% - 48px));
}

.logo img {
  width: 152px;
  height: 48px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--muted);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--pad-x) 32px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 68% 50%, rgba(49, 91, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 45% 40% at 64% 46%, rgba(122, 160, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 18% 78%, rgba(49, 91, 255, 0.08), transparent 60%);
  animation: hero-glow-breathe 5.5s ease-in-out infinite;
}

.hero__neon-ring {
  position: absolute;
  /* Sit on the X hub so the ring travels with parallax. */
  inset: 28%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(74, 114, 255, 0.22);
  box-shadow:
    0 0 40px rgba(49, 91, 255, 0.22),
    inset 0 0 40px rgba(49, 91, 255, 0.08);
  animation: neon-ring-pulse 4s ease-in-out infinite;
  transform-origin: center;
}

.hero__neon-ring::before,
.hero__neon-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(122, 160, 255, 0.18);
  will-change: transform;
  animation: neon-ring-spin 18s linear infinite;
}

.hero__neon-ring::after {
  inset: 24%;
  border-style: solid;
  border-color: rgba(49, 91, 255, 0.15);
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes hero-glow-breathe {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes neon-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.95;
  }
}

@keyframes neon-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__visual {
  position: absolute;
  /* Oversized right-side X — centered in the fold, edges may bleed */
  left: 38%;
  top: 50%;
  width: min(1400px, 92vw);
  height: min(1400px, 92vw);
  margin-top: calc(min(1400px, 92vw) * -0.5);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  /* Static rim glow — the breathing pulse is rendered by the neon canvas
     behind the X, which is far cheaper than animating a drop-shadow. */
  filter: drop-shadow(0 0 28px rgba(49, 91, 255, 0.35));
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}


.hero__content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.hero__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-weight: 700;
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -1.5px;
  color: var(--text);
}

.hero__lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 620px;
}

/* ===== First screen (hero + marquee) ===== */
.first-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  max-height: 100vh;
  max-height: 100dvh;
  max-height: 100svh;
  overflow: hidden;
}

@media (max-height: 740px) {
  .hero {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 16px;
  }

  .hero__content {
    gap: 16px;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 62px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .marquee {
    padding: 8px 0;
  }

  .marquee__group p {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -1.4px;
  }
}

@media (max-width: 680px) and (max-height: 700px) {
  .hero {
    padding-top: calc(var(--header-h) + 16px);
    gap: 8px;
  }

  .hero__content {
    gap: 10px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero__lead {
    font-size: 13px;
    line-height: 1.4;
    max-width: 38ch;
  }

  .hero .btn--primary {
    padding: 11px 22px;
    font-size: 14px;
  }

  .hero__visual {
    width: min(72vw, 240px);
    max-width: min(72vw, 240px);
  }

  .marquee {
    padding: 6px 0;
  }

  .marquee__group p {
    font-size: 16px;
  }
}

/* ===== Marquee ===== */
.marquee {
  flex: 0 0 auto;
  border-top: 1px solid rgba(74, 114, 255, 0.28);
  border-bottom: 1px solid rgba(74, 114, 255, 0.28);
  padding: 8px 0;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(49, 91, 255, 0.08),
    rgba(255, 255, 255, 0.02) 50%,
    rgba(49, 91, 255, 0.06)
  );
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 48s linear infinite;
  /* Soften the hard clip at the viewport edges. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.marquee__group p {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1.8px;
  white-space: nowrap;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.28em;
  margin: 0;
  overflow: visible;
}

.marquee__word {
  display: inline-block;
  font-weight: 800;
  line-height: 1.2;
  /* Extra paint box for descenders, cancelled for layout height */
  padding: 0.2em 0 0.28em;
  margin: -0.2em 0 -0.28em;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #9bb4ff 22%,
    #4a72ff 48%,
    #7ea2ff 72%,
    #f4f5f8 100%
  );
  background-size: 280% 100%;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: marquee-word-shine var(--pace, 4s) ease-in-out infinite;
  animation-delay: var(--shift, 0s);
}

@keyframes marquee-word-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.marquee__x {
  width: 34px;
  height: 30px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  opacity: 0.95;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== Section titles ===== */
.section-title {
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1.28px;
  color: var(--text);
}

.section-title--center {
  text-align: center;
}

.section-lead {
  font-size: 22px;
  line-height: 32px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 596px;
}

.section-lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 429px;
}

.eyebrow {
  font-weight: 700;
  font-size: 12px;
  line-height: 19.2px;
  letter-spacing: 2.64px;
  text-transform: uppercase;
  color: var(--accent-soft);
}

/* ===== Features / Bento ===== */
.features {
  padding: 72px 0 80px;
}

.features .section-title {
  margin-bottom: 40px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  max-width: 1204px;
}

.bento__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    radial-gradient(
      circle 260px at var(--mx, 50%) var(--my, 0%),
      rgba(90, 130, 255, calc(0.16 * var(--spot, 0))),
      transparent 70%
    ),
    radial-gradient(ellipse 60% 50% at 78% 45%, rgba(49, 91, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(49, 91, 255, 0.06), transparent 60%),
    rgba(20, 20, 25, 0.82);
  padding: 26px;
  min-height: 304px;
  border: 1px solid rgba(49, 91, 255, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, --spot 0.35s ease;
}

.bento__card:hover {
  --spot: 1;
  border-color: rgba(74, 114, 255, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(122, 160, 255, 0.08),
    0 0 28px rgba(49, 91, 255, 0.14);
}

.bento__card--onboarding {
  grid-column: 1 / 7;
  height: 304px;
}

.bento__card--support {
  grid-column: 7 / 13;
  height: 304px;
}

.bento__card--payouts {
  grid-column: 1 / 9;
  height: 325px;
  min-height: 325px;
}

.bento__card--creatives {
  grid-column: 9 / 13;
  height: 325px;
  min-height: 325px;
}

.bento__card h3 {
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  letter-spacing: -0.84px;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}

.bento__card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted-alt);
  position: relative;
  z-index: 1;
}

.bento__card--onboarding p {
  max-width: 334px;
}

.bento__card--support p {
  max-width: 296px;
}

.bento__card--payouts p {
  max-width: 366px;
}

.bento__card--creatives p {
  max-width: 334px;
}

/* Icon wrappers — positions from Figma node 17:711 */
.bento__media {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.bento__media-inner {
  flex: none;
  position: relative;
}

.bento__media-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.bento__media-inner picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Fast onboarding — chain @ 212,-59.2 / wrap 556.9 / img 395.7 / rot 140.62° on 592×304 */
.bento__card--onboarding .bento__media {
  left: 35.81%;
  top: -19.47%;
  width: 94.07%;
  aspect-ratio: 1;
}

.bento__card--onboarding .bento__media-inner {
  width: 71.05%;
  aspect-ratio: 1;
  transform: rotate(140.62deg);
}

/* Guidance — globe @ 263,3.8 / 368 / no rotation on 592×304 */
.bento__card--support .bento__media {
  left: 44.43%;
  top: 1.25%;
  width: 62.16%;
  aspect-ratio: 1;
}

.bento__card--support .bento__media-inner {
  width: 100%;
  aspect-ratio: 1;
  transform: none;
}

/* Payouts — wallet @ 356.45,-41.2 / wrap 535.6 / img 447.2 / rot -12.88° on 795×325 */
.bento__card--payouts .bento__media {
  left: 44.84%;
  top: -12.68%;
  width: 67.37%;
  aspect-ratio: 1;
}

.bento__card--payouts .bento__media-inner {
  width: 83.49%;
  aspect-ratio: 1;
  transform: rotate(-12.88deg);
}

/* Creatives — frames @ 87.15,122.18 / 307.4 / no rotation on 389×325 */
.bento__card--creatives .bento__media {
  left: 22.4%;
  top: 37.59%;
  width: 79.02%;
  aspect-ratio: 1;
}

.bento__card--creatives .bento__media-inner {
  width: 100%;
  aspect-ratio: 1;
  transform: none;
}

/* ===== Terms ===== */
.terms {
  padding: 48px 0 80px;
}

.terms .section-lead {
  margin-bottom: 48px;
}

.terms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 384px;
}

.terms__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background:
    radial-gradient(
      circle 300px at var(--mx, 50%) var(--my, 0%),
      rgba(90, 130, 255, calc(0.13 * var(--spot, 0))),
      transparent 72%
    ),
    rgba(10, 10, 15, 0.78);
  border-right: 1px solid var(--border);
  min-height: 340px;
  transition: box-shadow 0.35s ease, --spot 0.35s ease;
}

.terms__card:hover {
  --spot: 1;
  box-shadow: inset 0 0 40px rgba(49, 91, 255, 0.07);
}

.terms__card:last-child {
  border-right: none;
}

.terms__card--popular {
  background:
    radial-gradient(
      circle 300px at var(--mx, 50%) var(--my, 0%),
      rgba(90, 130, 255, calc(0.13 * var(--spot, 0))),
      transparent 72%
    ),
    linear-gradient(180deg, rgba(49, 91, 255, 0.12) 0%, rgba(49, 91, 255, 0) 55%),
    rgba(10, 10, 15, 0.78);
}

.terms__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 10.4px;
  line-height: 16.64px;
  letter-spacing: 1.04px;
  text-transform: uppercase;
  padding: 4.8px 8.8px;
  border-radius: var(--radius);
}

.terms__label {
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.terms__rate {
  font-weight: 600;
  font-size: 42px;
  line-height: 42px;
  letter-spacing: -0.848px;
  color: var(--text);
  margin-bottom: 12px;
}

.terms__rate--hybrid {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.terms__rate--hybrid .plus {
  color: var(--accent-soft);
  font-size: 24px;
  line-height: 24px;
}

.terms__tag {
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.52px;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 16px;
}

.terms__desc {
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 20px;
}

.terms__card .btn {
  margin-top: auto;
}

/* ===== Tools ===== */
.tools {
  position: relative;
  min-height: 738px;
  padding: 123px 0 140px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1160px 540px at 52% 47%, rgba(49, 91, 255, 0.18), transparent 39%),
    radial-gradient(ellipse 576px 258px at 15% 80%, rgba(49, 91, 255, 0.06), transparent 60%);
}

.tools__edge {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

.tools__edge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tools__edge--top.tools__edge--primary {
  top: 0;
  height: 56px;
}

.tools__edge--top.tools__edge--secondary {
  top: -39px;
  height: 56px;
}

.tools__edge--bottom.tools__edge--primary {
  bottom: 0;
  height: 56px;
  transform: rotate(180deg);
}

.tools__edge--bottom.tools__edge--secondary {
  bottom: 12px;
  height: 41px;
  transform: rotate(180deg);
}

.tools__wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.tools__wave img {
  display: none;
}

/* Art rendered as two corner-anchored copies at fixed design scale,
   so the beams always hug the viewport corners on any screen width. */
.tools__wave::before,
.tools__wave::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: min(50%, 656px);
  background-image: url("../assets/tools-wave.png");
  background-repeat: no-repeat;
  background-size: 1312px auto;
}

.tools__wave::before {
  left: 0;
  background-position-x: left;
}

.tools__wave::after {
  right: 0;
  background-position-x: right;
}

/* Original Figma geometry; soft mask only where the section clips the art */
.tools__wave--top {
  top: -83px;
  height: 210px;
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 46%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 38%, #000 46%, #000 100%);
}

.tools__wave--top::before,
.tools__wave--top::after {
  background-position-y: top;
}

.tools__wave--bottom {
  bottom: -104px;
  height: 218px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 51%);
  mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 51%);
}

.tools__wave--bottom::before,
.tools__wave--bottom::after {
  background-position-y: bottom;
}

.tools__inner {
  position: relative;
  z-index: 1;
}

.tools__title {
  font-size: 62px;
  line-height: 60px;
  letter-spacing: -1.28px;
  max-width: 590px;
  margin: 0 auto;
}

.tools .section-lead {
  margin-top: 32px;
  margin-bottom: 70px;
  max-width: 429px;
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 389px));
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.tools__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 389px;
  margin: 0 auto;
  width: 100%;
}

.tools__icon {
  width: 91px;
  height: 91px;
  object-fit: contain;
  /* Match Figma: rotate(180deg) + scaleY(-1) → horizontal flip */
  transform: scaleY(-1) rotate(180deg);
}

.tools__item h3 {
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  letter-spacing: -0.84px;
  color: var(--text-soft);
}

.tools__item p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted-alt);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 59px var(--pad-x) 48px;
}

.testimonials .container {
  padding-left: 0;
  padding-right: 0;
  max-width: var(--container);
}

.testimonials__quote-mark {
  font-family: var(--font-display);
  font-size: 192px;
  line-height: 76.8px;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: -20px;
  user-select: none;
  transform-origin: 20% 70%;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials__quote-mark.is-pulsing {
  opacity: 0.85;
  transform: scale(1.06);
}

.testimonials__slider {
  display: grid;
  overflow: hidden;
  --shift: 44px;
}

.testimonials__slider[data-dir="prev"] {
  --shift: -44px;
}

.testimonials__slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  visibility: hidden;
}

.testimonials__slide[hidden] {
  display: none;
}

.testimonials__slide.is-active,
.testimonials__slide.is-leaving {
  visibility: visible;
}

.testimonials__slide.is-leaving {
  pointer-events: none;
}

.testimonials__slide p,
.testimonials__slide footer {
  opacity: 0;
  transform: translate3d(var(--shift), 0, 0);
  transition: opacity 0.34s ease-out, transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials__slide.is-active p,
.testimonials__slide.is-active footer {
  opacity: 1;
  transform: none;
}

/* The outgoing quote clears out first, so two different texts never overlap. */
.testimonials__slide.is-active p {
  transition-delay: 0.2s;
}

.testimonials__slide.is-active footer {
  transition-delay: 0.28s;
}

.testimonials__slide.is-leaving p,
.testimonials__slide.is-leaving footer {
  opacity: 0;
  transform: translate3d(calc(var(--shift) * -0.6), 0, 0);
  transition: opacity 0.2s ease-in, transform 0.28s ease-in;
}

.testimonials__slide.is-leaving p {
  transition-delay: 0.04s;
}

.testimonials__slide p {
  font-weight: 700;
  font-size: 38px;
  line-height: 55.2px;
  letter-spacing: -1.68px;
  color: var(--muted);
}

.testimonials__slide footer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.testimonials__slide footer img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__slide cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testimonials__slide cite strong {
  font-weight: 800;
  font-size: 18px;
  line-height: 26px;
  color: var(--text-soft);
}

.testimonials__slide cite span {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted-alt);
}

.testimonials__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 54px;
}

.testimonials__btn {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  color: var(--accent);
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials__btn:hover {
  opacity: 0.75;
}

.testimonials__btn--prev:hover {
  transform: translateX(-3px);
}

.testimonials__btn--next:hover {
  transform: translateX(3px);
}

.testimonials__btn:active {
  transform: scale(0.96);
}

.testimonials__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-alt);
}

.testimonials__index {
  display: inline-block;
  min-width: 2ch;
  color: var(--accent);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.testimonials__index.is-out {
  opacity: 0;
  transform: translateY(calc(var(--flip, 1) * -8px));
}

.testimonials__index.is-in {
  opacity: 0;
  transform: translateY(calc(var(--flip, 1) * 8px));
  transition: none;
}

.testimonials__sep {
  opacity: 0.45;
}

/* ===== FAQ ===== */
.faq {
  padding: 64px 0 48px;
}

.faq__layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  max-width: calc(1200px + var(--pad-x) * 2);
}

.faq__header {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 14px;
}

.faq__header .section-title {
  font-weight: 600;
  font-size: 37.6px;
  line-height: 45.12px;
  letter-spacing: -0.564px;
}

.faq__list {
  flex: 1;
  min-width: 0;
  border-top: 1px solid var(--border);
}

.faq__item {
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* Neon rail that lights up on the open question. */
.faq__item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, rgba(122, 160, 255, 0.9), rgba(49, 91, 255, 0));
  box-shadow: 0 0 10px rgba(49, 91, 255, 0.5);
  transition: width 0.4s ease;
  pointer-events: none;
}

.faq__item.is-open::before {
  width: 100%;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 67px;
  padding: 20px 0;
  text-align: left;
  font-weight: 600;
  font-size: 16.8px;
  line-height: 26.88px;
  letter-spacing: -0.168px;
  color: var(--text);
  gap: 24px;
}

.faq__item.is-open .faq__question {
  color: var(--accent);
  padding-bottom: 8px;
  min-height: 52px;
}

.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent-soft);
  border-radius: 1px;
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  left: 4px;
  top: 10px;
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  left: 10px;
  top: 4px;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer > p {
  overflow: hidden;
  font-size: 18px;
  line-height: 32px;
  color: var(--muted);
  padding-bottom: 0;
}

.faq__item.is-open .faq__answer > p {
  padding-bottom: 16px;
}

/* ===== Join form ===== */
.join {
  padding: 64px 0 48px;
}

.join .container {
  max-width: 1285px;
}

.join .section-title {
  margin-bottom: 0;
}

.join__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1228px;
  margin: 0 auto;
  padding: 56px 28px 0;
}

.join__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field--full {
  width: 100%;
}

.field__label {
  font-weight: 700;
  font-size: 11.5px;
  line-height: 17.86px;
  letter-spacing: 1.843px;
  text-transform: uppercase;
  color: var(--muted-alt);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13.5px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}

.field input:focus,
.field textarea:focus,
.select.is-open .select__trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(49, 91, 255, 0.12), 0 0 18px rgba(49, 91, 255, 0.16);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid .select__trigger {
  border-color: var(--accent);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid .select__trigger {
  border-color: #ff4d6a;
}

/* Custom select */
.select {
  position: relative;
}

.select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  text-align: left;
}

.select__value {
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--placeholder);
}

.select__value.has-value {
  color: var(--text);
}

.select__chevron {
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  color: var(--accent);
}

.select__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.select__list li {
  padding: 12px 14px;
  font-weight: 500;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.select__list li:hover,
.select__list li[aria-selected="true"] {
  background: rgba(49, 91, 255, 0.12);
  color: var(--text);
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 576px;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox__box {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 3px;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.checkbox input:checked + .checkbox__box {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox input:checked + .checkbox__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox__text {
  font-weight: 500;
  font-size: 14.1px;
  line-height: 21.82px;
  color: var(--muted-alt);
}

.checkbox.is-invalid .checkbox__box {
  border-color: #ff4d6a;
}

.form-status {
  font-size: 16px;
  line-height: 24px;
  color: #4ade80;
  text-align: center;
}

.form-status.is-error {
  color: #ff4d6a;
}

/* ===== Services (What we do) ===== */
.services {
  padding: 100px 0 40px;
}

.services .section-title {
  margin-top: 12px;
}

.services .section-lead {
  margin-top: 16px;
  max-width: 640px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.services__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.services__icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  isolation: isolate;
}

.services__icon-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74, 114, 255, 0.3) 0%,
    rgba(49, 91, 255, 0.12) 45%,
    transparent 72%
  );
  filter: blur(9px);
  z-index: 0;
  pointer-events: none;
}

.services__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  display: block;
}

.services__card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.services__card p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  max-width: 340px;
}

/* ===== Expertise ===== */
.expertise {
  padding: 80px 0 40px;
}

.expertise .section-title {
  margin-top: 12px;
  max-width: 720px;
}

.expertise .section-lead {
  margin-top: 16px;
  max-width: 640px;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.expertise__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 144px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: visible;
}

.expertise__card:hover {
  border-color: rgba(74, 140, 255, 0.35);
  transform: translateY(-2px);
}

.expertise__icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.expertise__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74, 114, 255, 0.32) 0%,
    rgba(49, 91, 255, 0.12) 42%,
    transparent 72%
  );
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.expertise__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(0.92);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(49, 91, 255, 0.16));
}

.expertise__body {
  flex: 1;
  min-width: 0;
}

.expertise__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}

.expertise__card p {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
}

/* ===== Why us — editorial split, not a card grid ===== */
.why {
  padding: 100px 0 60px;
}

.why__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 56px 80px;
  align-items: start;
}

.why__intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.why__intro .section-title {
  margin-top: 12px;
  max-width: 520px;
}

.why__intro .section-lead {
  margin-top: 20px;
  max-width: 420px;
}

.why__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-soft);
}

.why__item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px 20px;
  align-items: center;
  min-height: 148px;
  padding: 28px 16px 28px 18px;
  border-bottom: 1px solid var(--border-soft);
  box-sizing: border-box;
}

.why__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(74, 114, 255, 0.35) 20%,
    rgba(122, 160, 255, 0.55) 50%,
    rgba(74, 114, 255, 0.35) 80%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(49, 91, 255, 0.18);
  opacity: 0;
  transform: scaleY(0.92);
  transform-origin: center;
  transition:
    opacity 0.5s ease,
    transform 0.55s ease;
  pointer-events: none;
}

.why__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(49, 91, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.why__item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.why__item:hover::after {
  opacity: 1;
}

.why__num,
.why__body {
  position: relative;
  z-index: 1;
}

.why__num {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
  color: var(--accent);
  padding-top: 0;
  transition:
    transform 0.5s ease,
    text-shadow 0.5s ease;
}

.why__body {
  transition: transform 0.5s ease;
}

.why__item:hover .why__num,
.why__item:hover .why__body {
  transform: translateX(8px);
}

.why__item:hover .why__num {
  text-shadow: 0 0 18px rgba(74, 140, 255, 0.28);
}

.why__body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.why__body p {
  margin: 0;
  max-width: 460px;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}

/* ===== Process ===== */
.process {
  padding: 80px 0 60px;
}

.process .section-title {
  margin-top: 12px;
}

.process .section-lead {
  margin-top: 16px;
  max-width: 560px;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.process__step {
  position: relative;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.process__icon {
  width: 68px;
  height: 68px;
  overflow: visible;
  position: relative;
  flex-shrink: 0;
  margin-top: 4px;
  isolation: isolate;
}

.process__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74, 114, 255, 0.28) 0%,
    rgba(49, 91, 255, 0.1) 45%,
    transparent 72%
  );
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.process__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(49, 91, 255, 0.14));
}

.process__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.process__label {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.process__step > p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}

/* ===== CTA banner ===== */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta__slogan {
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -2px;
  padding-bottom: 0.12em;
  overflow: visible;
}

.cta .section-lead {
  max-width: 480px;
  margin-bottom: 8px;
}

.eyebrow--center {
  text-align: center;
}

.terms .eyebrow {
  margin-bottom: 12px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: calc(var(--container) + var(--pad-x) * 2);
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: 152px;
  height: auto;
  display: block;
}

.footer__copy {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14.4px;
  line-height: 20.8px;
  color: var(--muted);
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.footer__nav a {
  font-size: 14.4px;
  line-height: 23px;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  :root {
    --pad-x: 48px;
  }

  .bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento__card--payouts,
  .bento__card--creatives {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 80px;
    line-height: 82px;
  }

  .hero__visual {
    left: 36%;
    top: 50%;
    width: min(1200px, 96vw);
    height: min(1200px, 96vw);
    margin-top: calc(min(1200px, 96vw) * -0.5);
  }

  .cta__slogan {
    font-size: 48px;
    line-height: 1.2;
  }

  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .testimonials__slide p {
    font-size: 28px;
    line-height: 40px;
  }
}

@media (max-width: 900px) {
  :root {
    --pad-x: 24px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 28px;
  }

  .hero__content {
    max-width: 100%;
    gap: 24px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 52px;
  }

  .hero__lead {
    font-size: 17px;
    line-height: 26px;
  }

  .hero__visual {
    opacity: 0.45;
    left: auto;
    right: -30%;
    top: 10%;
    width: 90vw;
    height: 90vw;
  }

  .hero__neon-ring {
    opacity: 0.35;
  }

  .services__grid,
  .expertise__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .why__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .why__intro {
    position: static;
  }

  .cta__slogan {
    font-size: 40px;
    line-height: 1.2;
  }

  .marquee__group p {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -1.4px;
  }

  .section-title {
    font-size: 32px;
    line-height: 40px;
  }

  .section-lead {
    font-size: 18px;
    line-height: 28px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento__card--onboarding,
  .bento__card--support,
  .bento__card--payouts,
  .bento__card--creatives {
    grid-column: 1;
    height: auto;
    min-height: 280px;
  }

  .bento__card {
    min-height: 280px;
  }

  .bento__card--creatives .bento__media {
    width: 85%;
    left: auto;
    right: -10%;
    top: 30%;
  }

  .terms__grid {
    grid-template-columns: 1fr;
  }

  .terms__card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .terms__card:last-child {
    border-bottom: none;
  }

  .tools {
    min-height: 0;
    padding: 80px 0 72px;
  }

  .tools__title {
    font-size: 36px;
    line-height: 42px;
  }

  .tools__grid {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 40px;
  }

  .faq__layout {
    flex-direction: column;
    gap: 32px;
  }

  .faq__header {
    position: static;
    width: 100%;
  }

  .join__row {
    grid-template-columns: 1fr;
  }

  .join__form {
    padding: 24px 0 0;
  }

  .footer__inner {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .footer__copy {
    white-space: normal;
    flex: 1 1 200px;
    order: 3;
    width: 100%;
  }

  .footer__nav {
    margin-left: auto;
  }

  .testimonials {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  .testimonials__quote-mark {
    font-size: 120px;
    line-height: 48px;
  }

  .testimonials__slide p {
    font-size: 22px;
    line-height: 34px;
    letter-spacing: -0.8px;
  }
}

@media (max-width: 680px) {
  :root {
    --pad-x: 20px;
    --header-h: 67px;
  }

  /* Header — burger + logo left, Login + Join right (Figma 14:315) */
  .burger {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 0;
    gap: 5px;
  }

  .burger span {
    height: 2px;
    background: #8b91a8;
  }

  .burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(10, 10, 15, 0.98);
    border-bottom: 1px solid var(--border-soft);
    z-index: 99;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header__inner {
    width: 100%;
    max-width: none;
    padding: 0 20px;
    height: 67px;
  }

  .logo img {
    width: 110px;
    height: auto;
  }

  .header__actions .btn--ghost {
    display: inline-flex;
    padding: 6px 8px;
    font-size: 14px;
    line-height: 24px;
  }

  .header__actions .btn--sm {
    display: inline-flex;
    width: auto;
    min-width: 67px;
    padding: 6px 18px;
    font-size: 14px;
    line-height: 24px;
  }

  /* Headings — center all section titles on mobile */
  .hero h1,
  .hero__eyebrow,
  .hero__lead,
  .section-title,
  .section-lead,
  .eyebrow,
  .services .section-title,
  .services .section-lead,
  .expertise .section-title,
  .expertise .section-lead,
  .why .section-title,
  .why .section-lead,
  .process .section-title,
  .process .section-lead,
  .terms .section-title,
  .terms .section-lead,
  .faq__header,
  .faq__header .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .services__card,
  .process__step {
    align-items: center;
    text-align: center;
  }

  .services__card p,
  .process__step > p:last-child {
    margin-left: auto;
    margin-right: auto;
  }

  .expertise__card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    min-height: 0;
    padding: 20px 16px;
  }

  .expertise__body {
    text-align: center;
  }

  .process__step::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .why__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why__intro {
    position: static;
  }

  .why__item {
    grid-template-columns: 72px 1fr;
    text-align: left;
    justify-items: start;
    padding-left: 14px;
    min-height: 132px;
  }

  .why__num {
    font-size: 36px;
    letter-spacing: -1.4px;
  }

  .why__body p {
    margin-left: 0;
    margin-right: 0;
  }

  .cta {
    padding: 80px 20px;
  }

  .cta__slogan {
    font-size: 36px;
    line-height: 1.2;
  }

  /* Hero — mobile first screen: title + lead + CTA + X + marquee */
  .first-screen {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 28px) 20px 0;
    overflow: hidden;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero__glow {
    background:
      radial-gradient(ellipse 90% 55% at 50% 78%, rgba(49, 91, 255, 0.26), transparent 70%),
      radial-gradient(ellipse 60% 40% at 50% 18%, rgba(49, 91, 255, 0.1), transparent 65%);
  }

  .hero__content {
    margin-top: 0;
    max-width: 100%;
    width: 100%;
    gap: 12px;
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
    order: 1;
    flex: 0 0 auto;
  }

  .hero__eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.9px;
  }

  .hero__lead {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    max-width: 38ch;
    text-align: center;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .hero .btn--primary {
    width: auto;
    min-width: 168px;
    max-width: none;
    padding: 12px 24px;
    margin-top: 2px;
    font-size: 15px;
  }

  .hero__visual {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    order: 2;
    width: min(86vw, 340px);
    max-width: min(86vw, 340px);
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 100%;
    margin: 0 auto;
    opacity: 1;
    z-index: 1;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 24px rgba(49, 91, 255, 0.32));
  }

  .hero__visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* Perfect circles — equal box, centered (not stretched by flex parent) */
  .hero__neon-ring {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 68%;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    opacity: 0.45;
    animation: neon-ring-pulse-mobile 4s ease-in-out infinite;
  }

  .hero__neon-ring::before,
  .hero__neon-ring::after {
    inset: 12%;
  }

  .hero__neon-ring::after {
    inset: 24%;
  }

  .marquee {
    padding: 7px 0;
  }

  .marquee__track {
    padding-left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__group {
    gap: 22px;
    padding-right: 22px;
  }

  .marquee__group p {
    font-size: 18px;
    letter-spacing: -0.4px;
  }

  .marquee__word {
    padding: 0.18em 0 0.24em;
    margin: -0.18em 0 -0.24em;
  }

  .marquee__x {
    width: 24px;
    height: 21px;
  }

  /* Features bento */
  .features {
    padding: 24px 0 40px;
  }

  .features .section-title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -1.28px;
    margin-bottom: 24px;
  }

  .bento {
    gap: 14px;
  }

  .bento__card {
    min-height: 225px;
    padding: 22px;
    border-radius: 10px;
  }

  .bento__card--onboarding,
  .bento__card--support,
  .bento__card--payouts,
  .bento__card--creatives {
    height: 225px;
    min-height: 225px;
  }

  .bento__card--creatives {
    height: 223px;
    min-height: 223px;
  }

  .bento__card h3 {
    font-size: 20px;
    line-height: 33px;
    letter-spacing: -0.84px;
  }

  .bento__card p {
    margin-top: 6px;
    font-size: 16px;
    line-height: 22px;
    max-width: 309px !important;
  }

  /* Mobile icon positions from Figma 14:370–14:383 */
  .bento__card--onboarding .bento__media,
  .bento__card--support .bento__media,
  .bento__card--payouts .bento__media,
  .bento__card--creatives .bento__media {
    right: auto;
    bottom: auto;
  }

  .bento__card--onboarding .bento__media {
    left: 52.12%;
    top: 32.44%;
    width: 61%;
  }

  .bento__card--onboarding .bento__media-inner {
    width: 83.6%;
    transform: rotate(12.77deg);
  }

  .bento__card--support .bento__media {
    left: 57.3%;
    top: 36.27%;
    width: 54.57%;
  }

  .bento__card--support .bento__media-inner {
    width: 83.6%;
    transform: rotate(12.77deg);
  }

  .bento__card--payouts .bento__media {
    left: 52.69%;
    top: 34.67%;
    width: 61%;
  }

  .bento__card--payouts .bento__media-inner {
    width: 83.6%;
    transform: rotate(12.77deg);
  }

  .bento__card--creatives .bento__media {
    left: 53.02%;
    top: 38.16%;
    width: 56.89%;
  }

  .bento__card--creatives .bento__media-inner {
    width: 83.6%;
    transform: rotate(12.77deg);
  }

  /* Terms */
  .terms {
    padding: 24px 0 48px;
  }

  .terms .section-title {
    font-size: 28px;
    line-height: 32px;
  }

  .terms .section-lead {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 24px;
  }

  .terms__rate {
    font-size: 32px;
    line-height: 42px;
  }

  .terms__card--popular .terms__rate,
  .terms__rate--hybrid {
    font-size: 42px;
    line-height: 42px;
  }

  /* Tools */
  .tools {
    min-height: 0;
    padding: 100px 0 80px;
  }

  .tools__title {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -1.28px;
    max-width: 269px;
  }

  .tools .section-lead {
    margin-top: 14px;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 22px;
    max-width: 302px;
  }

  .tools__grid {
    gap: 24px;
  }

  .tools__item {
    gap: 6px;
    max-width: 353px;
  }

  .tools__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }

  .tools__item h3 {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.84px;
  }

  .tools__item p {
    font-size: 14px;
    line-height: 20px;
  }

  .tools__edge--top.tools__edge--primary,
  .tools__edge--top.tools__edge--secondary {
    height: 40px;
  }

  .tools__edge--bottom.tools__edge--primary {
    height: 40px;
    bottom: -2px;
  }

  .tools__edge--bottom.tools__edge--secondary {
    height: 30px;
    bottom: 8px;
  }

  .tools__edge--top.tools__edge--secondary {
    top: -22px;
  }

  .tools__wave--top,
  .tools__wave--bottom {
    left: 50%;
    right: auto;
    width: min(475px, 140%);
    transform: translateX(-50%);
  }

  .tools__wave::before,
  .tools__wave::after {
    background-size: 200% auto;
  }

  /* Scale the clip offsets by the same factor as the art (475/1312) */
  .tools__wave--top {
    top: -30px;
    height: 76px;
  }

  .tools__wave--bottom {
    bottom: -38px;
    height: 79px;
  }

  /* Testimonials */
  .testimonials {
    padding: 24px 20px 32px;
  }

  .testimonials__quote-mark {
    font-size: 48px;
    line-height: 28px;
    margin-bottom: 8px;
    width: 30px;
  }

  .testimonials__slide p {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.68px;
  }

  .testimonials__nav {
    padding-top: 24px;
  }

  /* FAQ */
  .faq {
    padding: 24px 0 40px;
  }

  .faq__header .section-title {
    font-size: 28px;
    line-height: 32px;
  }

  .faq__answer > p {
    font-size: 16px;
    line-height: 24px;
  }

  /* Join form */
  .join {
    padding: 24px 0 40px;
  }

  .join .section-title {
    display: none;
  }

  .checkbox__text {
    white-space: normal;
  }

  /* Footer — stacked & centered */
  .footer {
    padding: 25px 24px 40px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer__logo {
    order: 0;
  }

  .footer__logo img {
    width: 152px;
    margin: 0 auto;
  }

  .footer__nav {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-left: 0;
    width: 100%;
  }

  .footer__nav a {
    padding: 2px 0;
  }

  .footer__copy {
    order: 2;
    white-space: normal;
    flex: none;
    width: 100%;
    text-align: center;
    font-size: 13px;
    line-height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  .marquee__word {
    animation: none;
    background-position: 40% 50%;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__glow,
  .hero__visual,
  .hero__neon-ring,
  .neon-edges__line::after,
  .bento__card,
  .terms__card {
    animation: none !important;
    transition: none !important;
  }

  .neon-edges {
    display: none;
  }

  .testimonials__slider {
    --shift: 0px;
  }

  .testimonials__quote-mark,
  .testimonials__index,
  .testimonials__slide p,
  .testimonials__slide footer {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ===== Unique block effects ===== */

/* Scroll reveal — quiet, professional */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

.reveal--soft {
  transform: translate3d(0, 10px, 0);
}

.reveal--soft.is-visible {
  transform: translate3d(0, 0, 0);
}

/* Hero — quiet staggered intro */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero__eyebrow {
  animation: hero-in 0.6s 0.04s both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1 {
  animation: hero-in 0.65s 0.12s both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__lead {
  animation: hero-in 0.65s 0.22s both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__content .btn {
  animation: hero-in 0.6s 0.32s both cubic-bezier(0.22, 1, 0.36, 1);
}

/* Services — floating icons with soft project-blue glow */
@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

.services__icon-wrap {
  animation: icon-float 5.5s ease-in-out infinite;
}

.services__card:nth-child(2) .services__icon-wrap {
  animation-delay: -1.8s;
}

.services__card:nth-child(3) .services__icon-wrap {
  animation-delay: -3.6s;
}

.services__icon {
  filter:
    drop-shadow(0 0 10px rgba(74, 114, 255, 0.2))
    drop-shadow(0 8px 16px rgba(49, 91, 255, 0.14));
}

/* Expertise — cursor spotlight only (icons replace watermark numbers) */
.expertise__card {
  position: relative;
}

.expertise__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--mx, 50%) var(--my, 20%),
    rgba(90, 130, 255, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: inherit;
}

.expertise__card:hover::after {
  opacity: 1;
}

/* Process — timeline with pulsing markers */
@keyframes dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(49, 91, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(49, 91, 255, 0);
  }
}

.process__step::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  animation: dot-pulse 2.6s ease-out infinite;
}

.process__step:nth-child(2)::after {
  animation-delay: 0.5s;
}

.process__step:nth-child(3)::after {
  animation-delay: 1s;
}

.process__step:nth-child(4)::after {
  animation-delay: 1.5s;
}

@media (min-width: 901px) {
  .process__grid {
    position: relative;
  }

  .process__grid::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(49, 91, 255, 0.55), rgba(49, 91, 255, 0.06));
  }
}

@media (max-width: 680px) {
  .process__step::after {
    left: 50%;
    margin-left: -4px;
  }
}

/* Terms — shine sweep + pulsing badge */
.terms__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 58%
  );
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.terms__card:hover::after {
  opacity: 1;
  transform: translateX(130%);
  transition: transform 0.8s ease;
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(49, 91, 255, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(49, 91, 255, 0);
  }
}

.terms__badge {
  animation: badge-pulse 2.4s ease-out infinite;
}

/* CTA — shimmering slogan + breathing glow */
@keyframes cta-shimmer {
  0% {
    background-position: 200% 50%;
  }
  100% {
    background-position: -200% 50%;
  }
}

.cta__slogan {
  display: inline-block;
  background: linear-gradient(
    90deg,
    #f4f5f8 0%,
    #7ea2ff 25%,
    #f4f5f8 50%,
    #7ea2ff 75%,
    #f4f5f8 100%
  );
  background-size: 250% 120%;
  background-position: 0 40%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: cta-shimmer 7s linear infinite;
}

@keyframes cta-breathe {
  from {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.cta::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(49, 91, 255, 0.16), transparent 70%);
  animation: cta-breathe 4.5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* FAQ — hover accent */
.faq__item:not(.is-open) .faq__question:hover {
  color: var(--accent-soft);
  padding-left: 6px;
}

.faq__question {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

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

  .hero__eyebrow,
  .hero h1,
  .hero__lead,
  .hero__content .btn,
  .services__icon-wrap,
  .process__step::after,
  .terms__badge,
  .cta__slogan,
  .cta::after {
    animation: none;
  }

  .services__icon {
    filter: none;
  }

  .services__icon-wrap::before,
  .expertise__icon::before,
  .process__icon::before {
    opacity: 0.55;
  }
}


/* ===== Mobile polish (layout) ===== */
@media (max-width: 680px) {
  .services {
    padding: 56px 0 24px;
  }

  .services__grid {
    gap: 36px;
    margin-top: 36px;
  }

  .expertise {
    padding: 48px 0 24px;
  }

  .expertise__grid {
    gap: 12px;
    margin-top: 32px;
  }

  .expertise__card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 12px;
    gap: 10px;
  }

  .expertise__icon {
    width: 72px;
    height: 72px;
  }

  .expertise__body {
    text-align: left;
  }

  .expertise__card h3 {
    font-size: 16px;
    line-height: 22px;
  }

  .expertise__card p {
    font-size: 13px;
    line-height: 20px;
  }

  .why {
    padding: 48px 0 24px;
  }

  .why__layout {
    gap: 24px;
  }

  .process {
    padding: 48px 0 32px;
  }

  .process__grid {
    gap: 28px;
    margin-top: 36px;
  }

  .process__step {
    align-items: center;
    text-align: center;
  }

  .cta {
    padding: 64px 20px;
  }

  .faq {
    padding: 40px 0 24px;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .join {
    padding: 32px 0 48px;
  }
}

/* ===== Legal pages (Terms, Privacy) ===== */
.legal {
  padding: calc(var(--header-h) + 88px) 0 120px;
}

.legal__inner {
  max-width: calc(820px + var(--pad-x) * 2);
}

.legal__title {
  margin-top: 12px;
}

.legal__updated {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.legal__body {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal__body h2 {
  margin: 44px 0 14px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body p + p,
.legal__body ul + p,
.legal__body p + ul {
  margin-top: 14px;
}

.legal__body ul {
  display: grid;
  gap: 8px;
}

.legal__body li {
  position: relative;
  padding-left: 22px;
}

.legal__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent-soft);
  box-shadow: 0 0 8px var(--accent-glow);
  transform: rotate(45deg);
}

.legal__body strong {
  color: var(--text-soft);
  font-weight: 600;
}

.legal__body a,
.legal__link,
.checkbox__text a {
  color: var(--neon);
  text-decoration: underline;
  text-decoration-color: rgba(122, 160, 255, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.legal__link {
  font: inherit;
  padding: 0;
}

.legal__body a:hover,
.legal__link:hover,
.checkbox__text a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.footer__nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 900px) {
  .legal {
    padding: calc(var(--header-h) + 48px) 0 80px;
  }

  .legal__body {
    margin-top: 32px;
    padding-top: 28px;
    font-size: 16px;
  }

  .legal__body h2 {
    margin-top: 36px;
    font-size: 20px;
  }
}

@media (max-width: 680px) {
  .legal__title {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ===== Contact form: spam trap + busy state ===== */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn--submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ===== Cookie banner ===== */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(420px, calc(100vw - 32px));
  padding: 20px 22px;
  background: rgba(20, 20, 25, 0.92);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 24px rgba(49, 91, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}

.cookie.is-visible {
  opacity: 1;
  transform: none;
}

.cookie a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.cookie__actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 20px;
}

.cookie__actions .btn--ghost {
  border-color: var(--border-input);
  color: var(--text);
}

@media (max-width: 680px) {
  .cookie {
    left: 16px;
    bottom: 16px;
  }
}

.legal__cta {
  margin-top: 40px;
}
