/* ===== letsBrand – dark editorial redesign ===== */
:root {
  --bg: #120f2e;
  --bg-2: #171338;
  --text: #ffffff;
  --muted: #b9b4dd;
  /* futuristic palette: violet (main), pink, aqua */
  --p1: #a78bfa;
  --p2: #f472b6;
  --p3: #4cc9f0;
  --soft: #d8ccff;
  --btn-grad: linear-gradient(90deg, #7c3aed, #c026d3 55%, #db2777);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  --glass-border: rgba(255, 255, 255, 0.11);
  --brand-line: linear-gradient(270deg, var(--p1), var(--p2) 50%, var(--p3));
  /* palette gradient for the highlighted words */
  --ember: linear-gradient(100deg, var(--p1) 0%, var(--p2) 40%, var(--p3) 72%, var(--p1) 100%);
  --line: rgba(185, 170, 255, 0.16);
  --line-strong: rgba(185, 170, 255, 0.32);
  --accent: var(--p1);
  --c1: #7c5cff;
  --c2: #ff4fa3;
  --c3: #ffb347;
  --grad: linear-gradient(120deg, var(--p1), var(--p2) 55%, var(--p3));
  --container: 1240px;
  --header-h: 84px;
  --display: "Karantina", "IBM Plex Sans Hebrew", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* hover motion: slow and soft, the way the owner likes it */
  --ease-hover: cubic-bezier(0.33, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "IBM Plex Sans Hebrew", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.accent {
  background: var(--ember);
  background-size: 170% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* one slow glint across the hero's highlighted word on load */
.hero .accent { animation: ember-sheen 2.6s var(--ease) 0.6s both; }
@keyframes ember-sheen { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border: 0;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.6s var(--ease-hover), color 0.6s var(--ease-hover), transform 0.6s var(--ease-hover);
}
.btn--accent { background: #fff; color: var(--bg); }
.btn--accent:hover { background: #d9f4fc; transform: translateY(-2px); }
.btn--full { width: 100%; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}
.more span { transition: transform 0.7s var(--ease-hover); color: var(--text); }
.more:hover span { transform: translateX(-6px); }
.more--lg { font-size: 0.95rem; }

/* ===== Logo (wordmark) ===== */
.logo {
  display: inline-flex;
  align-items: baseline;
  direction: ltr;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo__lets { font-family: "Pacifico", cursive; font-size: 0.9em; letter-spacing: 0; margin-inline-end: 5px; color: var(--text); }
.logo__brand {
  position: relative;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-inline-end: 1px;
}
.logo__brand::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 2%;
  bottom: -8px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%23a78bfa'/%3E%3Cstop offset='.55' stop-color='%23f472b6'/%3E%3Cstop offset='1' stop-color='%234cc9f0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 8C30 2 65 1 98 4' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left center;
  transition: transform 0.7s var(--ease-hover);
}
.logo:hover .logo__brand::after { transform: scaleX(1.06); }
.logo__dot { font-weight: 800; color: var(--c3); }

/* ===== Header ===== */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s ease;
}
.header.is-scrolled {
  background: rgba(18, 15, 46, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.header__inner > .logo { justify-self: start; }
.header__end { justify-self: end; display: flex; align-items: center; gap: 8px; }

.nav { display: flex; align-self: stretch; gap: 40px; }
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.6s var(--ease-hover);
}
/* the accent segment sits on the header rule, like the reference */
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand-line);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.7s var(--ease-hover);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__cta {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 0.6s var(--ease-hover), color 0.6s var(--ease-hover), border-color 0.6s var(--ease-hover);
}
.header__cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin-block: 5px; background: var(--text); }

/* ===== Mobile full-screen menu ===== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  overflow: hidden auto;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s 0.35s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
.menu__top { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--text); cursor: pointer; }
.menu__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu__nav { margin-block: auto; display: grid; padding-block: 24px; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 13vw, 4rem);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.5s ease;
}
.menu__nav a span { font-family: "IBM Plex Sans Hebrew", sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.menu.is-open .menu__nav a {
  opacity: 1;
  transform: none;
  transition-duration: 0.5s, 0.55s, 0.5s;
  transition-timing-function: ease, var(--ease), ease;
  transition-delay: calc(0.1s + var(--i) * 0.06s), calc(0.1s + var(--i) * 0.06s), 0s;
}
.menu__nav a:hover, .menu__nav a.is-active { color: var(--p1); }
.menu__foot { flex: none; padding-block: 8px 32px; opacity: 0; transition: opacity 0.2s ease; }
.menu.is-open .menu__foot { opacity: 1; transition: opacity 0.5s ease 0.35s; }
html.menu-open { overflow: hidden; }

/* ===== Section pager ===== */
.pager {
  position: fixed;
  left: 28px;
  top: 50%;
  translate: 0 -50%;
  z-index: 40;
  display: grid;
  gap: 4px;
  direction: ltr;
}
.pager a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9);
  transition: color 0.6s var(--ease-hover), font-size 0.6s var(--ease-hover);
}
.pager a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.7s var(--ease-hover);
}
.pager a:hover { color: var(--text); }
.pager a.is-active { color: var(--text); font-size: 1.15rem; font-weight: 600; }
.pager a.is-active::before { width: 36px; background: var(--p1); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-block-start: calc(var(--header-h) + 8vh);
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  /* soft-focus: the photo sets the mood without competing with the text */
  filter: blur(7px);
  opacity: 0.6;
  transform: scale(1.06); /* hides the blurred edges */
  animation: hero-zoom 2.4s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.12); opacity: 0.2; } }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to left, rgba(18, 15, 46, 0.7) 0%, rgba(18, 15, 46, 0.45) 40%, rgba(18, 15, 46, 0.08) 75%, transparent 100%),
    linear-gradient(to bottom, rgba(18, 15, 46, 0.55) 0%, transparent 22%, transparent 55%, var(--bg) 100%);
}
.hero__content { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; }
/* hero call-to-action: frameless text and arrow */
.cta-glow { display: inline-flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 600; color: var(--text); }
.cta-glow__text { position: relative; padding-block: 6px; }
.cta-glow__text::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-line);
  transform: scaleX(0.3);
  transform-origin: right center;
  transition: transform 0.8s var(--ease-hover);
}
.cta-glow__icon { display: grid; place-items: center; }
.cta-glow__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.7s var(--ease-hover); }
.cta-glow:hover .cta-glow__text::after { transform: scaleX(1); }
.cta-glow:hover .cta-glow__icon svg { transform: translateX(-8px); }


/* ===== Hero scene: layered night landscape ===== */
/* fill the LARGEST viewport (address bar collapsed) so no band shows under the scene on phones */
.hero--scene { min-height: 100vh; min-height: 100lvh; padding: 0; display: grid; place-items: center; }
/* soft fade from the scene into the next section instead of a hard edge */
.hero--scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0d0a2a 0%, #23186a 20%, #4f35a0 36%, #a45cb6 50%, #ec97c4 62%, #ffcfdc 72%);
}
.scene__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 90vmin;
  height: 90vmin;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 238, 0.9), rgba(255, 140, 200, 0.35) 35%, transparent 66%);
  animation: glow-pulse 7s ease-in-out infinite alternate;
}
@keyframes glow-pulse { to { opacity: 0.75; scale: 1.06; } }
/* every layer drifts at its own speed on scroll (--sy is set in script.js) */
.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateY(calc(var(--sy, 0) * var(--k) * 1px));
  animation: layer-rise 1.5s var(--ease) both;
  animation-delay: var(--delay);
}
.layer--far { --k: 0.5; --delay: 0.1s; }
.layer--mid { --k: 0.4; --delay: 0.25s; }
.layer--clouds { --k: 0.45; --delay: 0.35s; }
.layer--near { --k: 0.25; --delay: 0.45s; }
.layer--city { --k: 0.12; --delay: 0.55s; }
.layer--fg { --k: 0.04; --delay: 0.65s; }
@keyframes layer-rise { from { opacity: 0; translate: 0 70px; } }
.cloud { animation: drift 38s ease-in-out infinite alternate; }
.cloud:nth-child(2n) { animation-duration: 52s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(70px); } }
.waterfall { animation: fall 2.4s ease-in-out infinite alternate; }
@keyframes fall { to { opacity: 0.65; } }
.shimmer { animation: shimmer 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.45s); }
@keyframes shimmer { to { opacity: 0.1; } }
.win { animation: win 9s ease-in-out infinite; animation-delay: var(--d); }
@keyframes win { 0%, 88%, 100% { opacity: 1; } 94% { opacity: 0.35; } }
.lamp { filter: drop-shadow(0 0 6px #ffd9a8); }

.hero__center { position: relative; z-index: 1; text-align: center; margin-top: -14vh; padding-inline: 20px; padding-bottom: calc(1.2rem * 1.7 + 12px); }
.hero__mark {
  direction: ltr;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.4rem, 10vw, 8.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 10px 30px rgba(15, 8, 50, 0.55));
  animation: mark-in 1.4s var(--ease) 0.7s both;
}
.hero__mark .logo__lets { color: #fff; margin-inline-end: 0.12em; }
.hero__mark .logo__brand::after { bottom: -0.04em; height: 0.12em; animation: intro-swoosh 1s var(--ease) 1.5s both; }
@keyframes mark-in { from { opacity: 0; transform: translateY(24px) scale(0.96); filter: blur(8px); } }
.hero__tagline {
  margin: 34px 0;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(15, 8, 50, 0.6);
  animation: fade-up 1.1s var(--ease) 1.2s both;
}
.hero__center .cta-glow { animation: fade-up 1.1s var(--ease) 1.45s both; text-shadow: 0 2px 18px rgba(15, 8, 50, 0.6); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.scroll-cue {
  position: absolute;
  bottom: 26px;
  bottom: calc(100lvh - 100svh + 26px);
  left: 50%;
  translate: -50% 0;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0.85;
  animation: fade-up 1s var(--ease) 2s both;
}
.scroll-cue svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(7px); } }
@media (max-width: 640px) {
  .hero__center { margin-top: -18vh; }
  .hero__tagline { letter-spacing: 0.1em; margin-block: 26px; }
}

/* ===== Sections ===== */
.section { padding-block: clamp(96px, 12vw, 150px); }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 820px; margin: 0 auto clamp(56px, 7vw, 88px); }
.label {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-block-end: 26px;
}
.label::after {
  content: "";
  position: absolute;
  inset-inline: -2%;
  bottom: -10px;
  height: 9px;
  background: var(--brand-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M98 8C70 2 35 1 2 4' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M98 8C70 2 35 1 2 4' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: right center;
  transition: transform 0.9s var(--ease) 0.4s;
}
.js .reveal:not(.is-visible) .label::after { transform: scaleX(0); }
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.about .section__title { margin-block-end: 26px; }
.about__story > p:not(.label) { color: var(--muted); font-size: 1.08rem; max-width: 34em; margin-block-end: 18px; }
.about__story .more { margin-block-start: 14px; }
.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pillar { position: relative; padding-block: 30px; border-bottom: 1px solid var(--line); }
.pillar:nth-child(3n+1) { --c: var(--p1); }
.pillar:nth-child(3n+2) { --c: var(--p2); }
.pillar:nth-child(3n) { --c: var(--p3); }
.pillar::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 48px; height: 2px; background: var(--c); }
.pillar h3 { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; margin-block-end: 10px; color: var(--text); transition: color 0.8s var(--ease-hover); }
.pillar p { color: var(--muted); max-width: 30em; }
.pillar:hover h3 { color: var(--c); }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; gap: 40px; } }

/* ===== Services (editorial rows) ===== */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 1s var(--ease-hover);
}
.row:hover::before { transform: scaleX(1); }
.rows .row:nth-child(3n+1) { --c: var(--p1); }
.rows .row:nth-child(3n+2) { --c: var(--p2); }
.rows .row:nth-child(3n) { --c: var(--p3); }
.row__num { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; color: var(--c); padding-block-start: 14px; }
.row__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1;
  transition: color 0.8s var(--ease-hover), transform 1s var(--ease-hover);
}
.row:hover .row__title { color: var(--c); transform: translateX(-10px); }
.row__body p { color: var(--muted); margin-block-end: 18px; max-width: 34em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.97rem; }
.ticks li::before { content: ""; flex: none; width: 12px; height: 2px; background: var(--text); }

/* ===== Process ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step:nth-child(3n+1) { --c: var(--p1); }
.step:nth-child(3n+2) { --c: var(--p2); }
.step:nth-child(3n) { --c: var(--p3); }
.step { position: relative; padding: 36px 0 0; padding-inline-end: 32px; }
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 48px;
  height: 2px;
  background: var(--c);
}
.step__num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--c);
  margin-block-end: 20px;
  transition: color 0.9s var(--ease-hover);
}
.step:hover .step__num { color: var(--c); }
.step h3 { font-size: 1.2rem; font-weight: 600; margin-block-end: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ===== Why ===== */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.why .section__title { margin-block-end: 26px; }
.why__text > p:not(.label) { color: var(--muted); font-size: 1.05rem; margin-block-end: 34px; max-width: 32em; }
.why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.why__grid li {
  padding: 32px 0 32px 28px;
  border-bottom: 1px solid var(--line);
  transition: transform 1s var(--ease-hover);
}
.why__grid li:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 28px; padding-left: 28px; }
.why__grid li:nth-child(even) { padding-inline-start: 28px; }
.why__grid li:hover { transform: translateY(-6px); }
.why__grid strong { display: block; font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; margin-block-end: 10px; }
.why__grid span { color: var(--muted); font-size: 0.97rem; }

/* ===== FAQ (accordion) ===== */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .section__title { margin-block-end: 22px; }
.faq__intro > p:not(.label) { color: var(--muted); font-size: 1.05rem; max-width: 26em; margin-block-end: 26px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); transition: background-color 0.6s var(--ease-hover); }
.faq__item h3 { margin: 0; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.faq__q span { transition: color 0.6s var(--ease-hover); }
.faq__q:hover span { color: var(--soft); }
/* the + sign: two bars inside a round button; it turns into an × when open */
.faq__icon {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.6s var(--ease-hover), background 0.6s var(--ease-hover), border-color 0.6s var(--ease-hover), box-shadow 0.6s var(--ease-hover);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  translate: -50% -50%;
}
.faq__icon::after { rotate: 90deg; }
.faq__q:hover .faq__icon { border-color: rgba(167, 139, 250, 0.7); }
.faq__item.is-open .faq__icon {
  transform: rotate(135deg);
  border-color: transparent;
  background: var(--btn-grad);
  box-shadow: 0 10px 26px -10px rgba(192, 38, 211, 0.8);
}
/* smooth open/close: the answer row grows from 0 to its natural height */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-hover); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s 0.6s; }
.faq__a p { padding: 0 6px 26px; max-width: 38em; color: var(--muted); line-height: 1.8; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition: none; }
.faq__item.is-open .faq__q span { color: var(--soft); }
@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq__intro { position: static; }
}
@media (max-width: 640px) {
  .faq__q { font-size: 1.05rem; padding-block: 20px; }
  .faq__icon { width: 38px; height: 38px; }
}

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact__text > p:not(.label) { color: var(--muted); font-size: 1.08rem; margin-block-start: 24px; }
.form {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.65);
  transition: border-color 1s var(--ease-hover);
}
.form:focus-within { border-color: var(--line-strong); }
/* accent segment on the frame's top edge, echoing the hero progress line */
.form::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: -1px;
  width: 72px;
  height: 2px;
  background: var(--brand-line);
  transition: width 1s var(--ease-hover);
}
.form:focus-within::before { width: calc(100% + 2px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.6s var(--ease-hover);
}
.form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a8b3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat left center / 16px; }
.form select option { background: var(--bg-2); color: var(--text); }
.form input::placeholder, .form textarea::placeholder { color: #7d828d; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--p1); }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-bottom-color: #ff5a6e; }
.form .btn { justify-self: start; }
.form__msg { min-height: 1.6em; margin-block-start: -14px; font-size: 0.95rem; color: var(--muted); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 60%); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer__brand .logo { font-size: 1.7rem; }
.footer__brand p { margin-block-start: 18px; max-width: 22em; color: var(--muted); font-size: 0.95rem; }
.footer__col { display: grid; align-content: start; gap: 12px; }
.footer__col h2 { position: relative; margin-block-end: 8px; padding-block-end: 12px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text); }
.footer__col h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--brand-line); }
.footer__col a { width: fit-content; color: var(--muted); font-size: 0.95rem; transition: color 0.6s var(--ease-hover), translate 0.6s var(--ease-hover); }
.footer__col a:hover { color: var(--text); translate: -4px 0; }
.footer__bottom { padding-block: 22px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ===== Legal pages (privacy, terms, accessibility) ===== */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.legal-back { display: inline-flex; gap: 8px; align-items: center; padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: background-color 0.6s var(--ease-hover); }
.legal-back:hover { background: rgba(255, 255, 255, 0.06); }
.legal { max-width: 820px; padding-block: 64px 90px; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; margin-block-end: 14px; }
.legal__updated { color: var(--muted); font-size: 0.9rem; margin-block-end: 28px; }
.legal__intro { font-size: 1.12rem; color: #d6d2ee; margin-block-end: 18px; }
.legal section { padding-block: 26px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin-block-end: 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.8; }
.legal p + p { margin-block-start: 12px; }
.legal ul { margin: 10px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--p3); text-decoration: underline; text-underline-offset: 3px; }
.page-legal .label::after { transform: none; }
/* placeholders the owner still needs to fill in */
.todo { background: rgba(255, 225, 86, 0.18); color: #ffe156; padding: 0 6px; border-radius: 4px; }

@media (max-width: 760px) {
  /* phones: brand on top, the two link columns side by side */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-block: 44px 30px; }
  .footer__brand { grid-column: 1 / -1; text-align: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__col { justify-items: center; text-align: center; }
  .footer__col h2::after { inset-inline-start: 50%; translate: 50% 0; }
  .footer__col a:hover { translate: none; }
  .legal { padding-block: 40px 60px; }
}

/* ===== Futuristic layer: night-sky background, glass containers, glowing buttons ===== */
body {
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(124, 58, 237, 0.34), transparent 62%),
    radial-gradient(900px 520px at -5% 38%, rgba(219, 39, 119, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 100% 92%, rgba(56, 189, 248, 0.12), transparent 62%),
    var(--bg) fixed;
}
/* faint star field behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 24px 38px, #fff, transparent),
    radial-gradient(1px 1px at 132px 92px, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.6px 1.6px at 210px 168px, #fff, transparent),
    radial-gradient(1px 1px at 300px 40px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.3px 1.3px at 360px 250px, rgba(214, 200, 255, 0.9), transparent),
    radial-gradient(1px 1px at 90px 300px, rgba(255, 255, 255, 0.7), transparent);
  background-size: 420px 340px;
  opacity: 0.45;
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 0.2; } }
.section--alt { background: rgba(255, 255, 255, 0.018); }
.hero__shade {
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(124, 58, 237, 0.22), transparent 70%),
    linear-gradient(to left, rgba(18, 15, 46, 0.72) 0%, rgba(18, 15, 46, 0.45) 40%, rgba(18, 15, 46, 0.08) 75%, transparent 100%),
    linear-gradient(to bottom, rgba(18, 15, 46, 0.5) 0%, transparent 22%, transparent 55%, var(--bg) 100%);
}

/* buttons: rounded with a violet-to-pink glow */
.btn { border-radius: 999px; transition: transform 0.6s var(--ease-hover), box-shadow 0.8s var(--ease-hover), filter 0.6s var(--ease-hover); }
.btn--accent { background: var(--btn-grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(192, 38, 211, 0.7); }
.btn--accent:hover { background: var(--btn-grad); filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(192, 38, 211, 0.9); }
.header__cta { border-radius: 999px; border-color: rgba(167, 139, 250, 0.5); }
.header__cta:hover { background: var(--btn-grad); border-color: transparent; color: #fff; }
/* glass containers */
.why__grid li, .form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.why__grid { gap: 16px; border-top: 0; }
.why__grid li, .why__grid li:nth-child(odd), .why__grid li:nth-child(even) { padding: 28px; border-inline-end: 1px solid var(--glass-border); }
.why__grid li { transition: translate 1s var(--ease-hover), box-shadow 1s var(--ease-hover); }
.why__grid li:hover { transform: none; translate: 0 -8px; box-shadow: 0 30px 70px -32px rgba(167, 139, 250, 0.8); }

.form { border-radius: 24px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.form::before { inset-inline-start: 28px; }
.form:focus-within::before { width: calc(100% - 56px); }

@media (max-width: 960px) {
}
@media (max-width: 640px) {
}

/* balanced line breaks so headings don't leave a lone word */
.section__title, .hero__title, .row__title { text-wrap: balance; }

/* touch screens have no hover: play the same effects when an item reaches the middle of the screen */
@media (hover: none) {
  .row.is-inview::before { transform: scaleX(1); }
  .row.is-inview .row__title { color: var(--c); transform: translateX(-10px); }
  .step.is-inview .step__num { color: var(--c); }
  .pillar.is-inview h3 { color: var(--c); }
  /* the why cards stay still on touch: lifting them looked messy on phones */
  .why__grid li:hover { translate: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
}

/* ===== Mobile intro screen ===== */
.intro { display: none; }
@media (max-width: 768px) {
  .intro {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background:
      radial-gradient(60% 45% at 50% 45%, rgba(124, 58, 237, 0.35), transparent 70%),
      var(--bg);
    pointer-events: none;
    animation: intro-out 0.6s ease 1.15s forwards;
  }
  .intro__logo { font-size: 2.6rem; animation: intro-logo 0.9s var(--ease) both; }
  .intro__logo .logo__brand::after { transform-origin: left center; animation: intro-swoosh 0.7s var(--ease) 0.35s both; }
  .intro-seen .intro { display: none; }
}
@keyframes intro-logo { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes intro-swoosh { from { transform: scaleX(0); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }

/* ===== Floating WhatsApp button (bottom-left) ===== */
.wa-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 70; /* under the full-screen menu (80) and the intro (200) */
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.6s var(--ease-hover), box-shadow 0.6s var(--ease-hover);
  animation: wa-in 0.8s var(--ease) 1.6s both;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
/* soft halo that spreads out and fades, to draw the eye; nothing visible at rest */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: wa-pulse 2.8s ease-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.6); }
.wa-float__tip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  translate: 0 -50%;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #14121f;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-hover), transform 0.5s var(--ease-hover);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(0.85); } }
html.menu-open .wa-float { opacity: 0; visibility: hidden; }
/* phones, home page: the button waits until the visitor scrolls past the hero scene */
@media (max-width: 640px) {
  html.wa-wait .wa-float { animation: none; opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.85); transition: opacity 0.45s ease, transform 0.5s var(--ease), visibility 0s 0.5s; }
  html.wa-wait.past-hero .wa-float { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s ease, transform 0.5s var(--ease); }
}
@media (hover: none) { .wa-float__tip { display: none; } }
@media (max-width: 640px) { .wa-float { left: 16px; bottom: 16px; width: 56px; height: 56px; } .wa-float svg { width: 28px; height: 28px; } }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1360px) {
  .pager { display: none; }
}
@media (max-width: 960px) {
  .header__inner { display: flex; justify-content: space-between; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .row { grid-template-columns: 1fr; gap: 14px; padding-block: 36px; }
  .row__num { padding: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; border-top: 0; }
  .step { border-top: 1px solid var(--line); }
  .why, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 72px; }
  .section__head { margin-block-end: 44px; }
  .section__title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .row { padding-block: 30px; }
  .steps { row-gap: 0; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; padding: 28px 0; }
  .step__num { grid-row: span 2; font-size: 3.4rem; margin: 0; }
  .step h3 { margin-block: 6px 6px; }
  .container { width: min(100% - 32px, var(--container)); }
  :root { --header-h: 72px; }
  .header__cta { display: none; }
  .hero { padding-block-start: calc(var(--header-h) + 6vh); }
  .hero__img { object-position: 22% 50%; }
  .hero__shade {
    background:
      linear-gradient(to bottom, rgba(18, 15, 46, 0.72) 0%, rgba(18, 15, 46, 0.78) 30%, rgba(18, 15, 46, 0.8) 62%, rgba(18, 15, 46, 0.88) 85%, var(--bg) 100%);
  }
  .steps, .form__row, .why__grid { grid-template-columns: 1fr; }
  .step { padding-inline-end: 0; }
  .why__grid li, .why__grid li:nth-child(odd), .why__grid li:nth-child(even) { padding: 24px 22px; }
}
