/* BizUp Digital one-pager. Light theme only.
   Colour values mirror packages/ui/src/theme.css (the BizUp palette) — this app
   has no build step, so they are copied, not imported. Keep them in sync by hand. */
:root {
  --brand-2: #faf4fe;
  --brand-3: #f3e6fb;
  --brand-4: #ead4f6;
  --brand-6: #cea5e6;
  --brand-8: #9e5ec3;
  --brand-9: #5a1870;
  --brand-11: #7a2698;
  --ink: #30083c;
  --text: #3a3340;
  --gold: #ffca28;
  --gold-deep: #e6ad00;
  --wa: #128c4a;
  --wa-hover: #0e753d;
  --cta: linear-gradient(100deg, #7c3aed 0%, #9333ea 100%);
  --line: #ead4f6;
  --shadow: 0 24px 60px -24px rgb(90 24 112 / 0.35);
  --r-lg: 32px;
  --r-md: 20px;
}

@font-face {
  font-family: Assistant;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/assistant-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: Assistant;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/assistant-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Assistant, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.15rem, 0.95rem + 0.6vw, 1.4rem);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
svg {
  display: block;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.5rem);
}
h2 {
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.8rem);
}
h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  line-height: 1.15;
}

.wrap {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}
.center {
  text-align: center;
}
div.center {
  margin-top: 3.5rem;
}

:focus-visible {
  outline: 3px solid var(--brand-11);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -5rem;
  z-index: 50;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
}
.skip:focus {
  top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn:active {
  transform: translateY(0);
}
.btn-sm {
  padding: 0.6rem 1.3rem;
  font-size: 1.15rem;
}
.btn-xl {
  padding: 1.15rem 2.2rem;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem);
  min-height: 72px;
}
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 16px 34px -14px rgb(18 140 74 / 0.75);
}
.btn-wa:hover {
  background: var(--wa-hover);
}
.btn-brand {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 18px 38px -14px rgb(124 58 237 / 0.7);
}
.btn-gold {
  background: var(--gold);
  color: #3d2700;
  box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.5);
}
.btn-gold:hover {
  background: #ffd54f;
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--brand-3);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.logo img {
  display: block;
  height: 60px;
  width: auto;
}
.foot .logo img {
  height: auto;
  width: min(280px, 100%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, #fff 0%, var(--brand-2) 100%);
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.blob-a {
  width: 620px;
  height: 620px;
  inset-inline-end: -180px;
  top: -220px;
  background: #d9b8ff;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-b {
  width: 520px;
  height: 520px;
  inset-inline-start: -160px;
  bottom: -240px;
  background: #ffe7a3;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}
.hero-copy {
  container-type: inline-size;
}
.hero-copy h1 {
  font-size: clamp(1.75rem, 10.6cqi, min(1.5rem + 3.6vw, 4.5rem));
}
.tagline {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand-9);
  font-weight: 700;
  font-size: 1.15rem;
}
.h1-second {
  position: relative;
  display: inline-block;
  color: var(--brand-11);
}
.scribble {
  position: absolute;
  inset-inline-start: -2%;
  bottom: -0.2em;
  width: 66%;
  height: 0.32em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1s 0.9s ease-out forwards;
}
.lead {
  margin-block: 1.8rem 2.2rem;
  font-size: clamp(1rem, 5.5cqi, min(1.05rem + 0.9vw, 1.75rem));
  line-height: 1.45;
  text-wrap: balance;
}
.reassure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  color: var(--brand-9);
  font-weight: 600;
  font-size: 1.1rem;
}
.reassure.on-dark {
  justify-content: center;
  color: #f3e6fb;
}

/* Hero illustration */
.stage {
  position: relative;
  min-width: 0;
  padding-block: 2.5rem;
  margin-inline-end: clamp(-4rem, (1280px - 100vw) / 2, 0rem);
}
img.stage-card {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.stage-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.6rem 1.6rem 0;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-3deg);
  transition: transform 0.25s ease-out;
  animation: card-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: rotate(0) translateY(40px) scale(0.94);
  }
}
.stage-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.2rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgb(46 204 113 / 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 14px rgb(46 204 113 / 0);
  }
}
.bars {
  position: relative;
  display: flex;
  /* Bars always grow left → right (a chart, not text), regardless of page direction. */
  direction: ltr;
  align-items: flex-end;
  gap: 4.5%;
  height: clamp(220px, 26vw, 330px);
  margin-top: 1.4rem;
}
.bars i {
  flex: 1;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #d946ef, #7c3aed 55%, #5a1870);
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.bars i:nth-child(1) {
  height: 15%;
  opacity: 0.45;
  animation-delay: 0.3s;
}
.bars i:nth-child(2) {
  height: 27%;
  opacity: 0.55;
  animation-delay: 0.4s;
}
.bars i:nth-child(3) {
  height: 40%;
  opacity: 0.7;
  animation-delay: 0.5s;
}
.bars i:nth-child(4) {
  height: 54%;
  opacity: 0.8;
  animation-delay: 0.6s;
}
.bars i:nth-child(5) {
  height: 68%;
  opacity: 0.9;
  animation-delay: 0.7s;
}
.bars i:nth-child(6) {
  height: 82%;
  animation-delay: 0.8s;
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.rise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.rise path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.9s 1.5s ease-out forwards;
}
.rise path + path {
  animation-delay: 2.3s;
  animation-duration: 0.3s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgb(48 8 60 / 0.4);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  animation:
    pop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both,
    bob 5s ease-in-out infinite;
}
.chip-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}
.ic-wa {
  background: var(--wa);
}
.ic-call {
  background: var(--brand-11);
}
.ic-g {
  background: #2563eb;
}
.chip-1 {
  top: 0;
  inset-inline-start: -4%;
  animation-delay: 2.5s, 3s;
}
.chip-2 {
  top: 44%;
  inset-inline-end: -6%;
  animation-delay: 2.9s, 3.6s;
}
.chip-3 {
  bottom: 2%;
  inset-inline-start: 4%;
  animation-delay: 3.3s, 4.2s;
}
@keyframes pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Why ---------- */
section {
  padding-block: clamp(4rem, 9vw, 8rem);
}
.why-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.sub {
  margin-block: 0.8rem 1.4rem;
  color: var(--brand-11);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem);
  line-height: 1.3;
}
.why-copy p + p {
  margin-top: 1rem;
}
.why-copy {
  max-width: 62ch;
}
.why-illustration {
  display: block;
  width: 100%;
  height: auto;
}
.creed {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-lg);
  background: var(--brand-2);
  border: 2px dashed var(--brand-6);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

/* ---------- BizUp platform ---------- */
/* Reuses .way / .viz / .ping from Ways and .grid / .card from Services. */
.platform {
  padding-block-start: 0;
}
.platform .way {
  margin-top: 3.5rem;
}
.platform .way-copy p + p {
  margin-top: 1rem;
}
.platform-checks {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
  color: var(--ink);
  font-weight: 600;
}
.platform-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.platform-checks svg {
  flex: none;
  margin-top: 0.2em;
  color: var(--wa);
}
.viz-platform {
  min-height: 0;
  padding: clamp(1rem, 3vw, 1.8rem);
  background: linear-gradient(140deg, #ede9fe, #fae8ff 55%, #fff0cc);
}
/* Two real screenshots, overlapped: home page behind, a business page in front. */
.shots {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.shots img {
  grid-row: 1;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 36px -18px rgb(48 8 60 / 0.5);
}
.shots img:first-child {
  grid-column: 1 / 11;
}
.shots img:last-child {
  grid-column: 3 / 13;
  margin-top: 32%;
}
.shots-cap {
  font-size: 1rem;
  text-align: center;
}
@media (min-width: 641px) {
  .platform .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Stacked layout: keep the badge clear of the checklist above it. */
@media (max-width: 900px) {
  .viz-platform {
    margin-top: 1rem;
  }
}
@media (max-width: 640px) {
  .shots img:first-child {
    grid-column: 1 / 12;
  }
  .shots img:last-child {
    grid-column: 2 / 13;
    margin-top: 34%;
  }
}

/* ---------- Ways ---------- */
.ways {
  background: var(--brand-2);
}
.way {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 2.5rem;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -30px rgb(90 24 112 / 0.4);
}
h2 + .way {
  margin-top: 3.5rem;
}
.way:nth-of-type(even) .way-copy {
  order: 2;
}
.num {
  display: block;
  margin-bottom: 0.6rem;
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  width: fit-content;
  color: transparent;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.03em;
}
.viz {
  position: relative;
  min-height: 300px;
  padding: 1.8rem;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--brand-3), #fff6d6);
  display: grid;
  align-content: center;
  gap: 1rem;
}

/* 01 ads */
.ad {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  padding: 1.2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px -16px rgb(48 8 60 / 0.4);
  color: var(--ink);
  font-size: 1.3rem;
}
.ad-tag {
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand-9);
  font-size: 0.95rem;
  font-weight: 700;
}
.ad-line {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: var(--brand-3);
}
.ad-line.short {
  width: 60%;
}
.ad-btn {
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}
.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.channels li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.c-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.c-g {
  background: conic-gradient(#ea4335 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
}
.c-f {
  background: #1877f2;
}
.c-i {
  background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5);
}
.ping {
  position: absolute;
  top: -18px;
  inset-inline-end: -10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 14px 30px -12px rgb(18 140 74 / 0.8);
}
.js .ping {
  opacity: 0;
}
.in .ping {
  opacity: 1;
  animation:
    pop 0.5s 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) backwards,
    bob 4s 1.4s ease-in-out infinite;
}

/* 02 search */
.searchbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.2rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px -16px rgb(48 8 60 / 0.4);
  color: var(--brand-9);
  font-weight: 600;
}
.typed {
  overflow: hidden;
  white-space: nowrap;
  color: var(--ink);
  border-inline-end: 3px solid var(--brand-8);
}
.js .typed {
  max-width: 0;
}
.in .typed {
  animation: type 1.6s 0.5s steps(22) forwards;
}
@keyframes type {
  to {
    max-width: 22ch;
  }
}
.results {
  display: grid;
  gap: 0.6rem;
}
.results li {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1.1rem;
  background: rgb(255 255 255 / 0.7);
  border-radius: 14px;
}
.results i,
.results span {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--brand-4);
}
.results i {
  width: 40%;
  height: 14px;
  background: var(--brand-6);
}
.results .you {
  background: #fff;
  border: 2px solid var(--brand-8);
  box-shadow: 0 14px 30px -14px rgb(124 58 237 / 0.6);
  color: var(--brand-9);
  font-size: 1.3rem;
}
.js .results .you {
  transform: translateY(calc(200% + 1.2rem));
}
.in .results .you {
  animation: climb 1s 2.2s cubic-bezier(0.3, 1.2, 0.4, 1) forwards;
}
@keyframes climb {
  to {
    transform: none;
  }
}
.js .results li:not(.you) {
  transform: translateY(0);
}
.in .results li:not(.you) {
  animation: sink 1s 2.2s ease forwards;
}
@keyframes sink {
  from {
    transform: translateY(calc(-50% - 0.3rem));
  }
}

/* 03 AI */
.bubble {
  max-width: 88%;
  padding: 0.9rem 1.2rem;
  border-radius: 22px;
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.35;
}
.ask {
  justify-self: start;
  background: var(--brand-9);
  color: #fff;
  border-start-start-radius: 6px;
}
.answer {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--ink);
  border-end-end-radius: 6px;
  box-shadow: 0 12px 30px -16px rgb(48 8 60 / 0.4);
}
.answer svg {
  flex: none;
  color: var(--gold-deep);
}
.answer b {
  color: var(--brand-11);
}
.dots {
  display: none;
  gap: 5px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-6);
  animation: blink 1s infinite;
}
.dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  50% {
    opacity: 0.25;
    translate: 0 -4px;
  }
}
.js .ask,
.js .answer {
  opacity: 0;
}
.in .ask {
  opacity: 1;
  animation: pop 0.5s 0.4s backwards;
}
.in .answer {
  opacity: 1;
  animation: pop 0.5s 1.2s backwards;
}
.js .dots {
  display: flex;
}
.js .said {
  display: none;
}
.js .said-on .dots {
  display: none;
}
.js .said-on .said {
  display: inline;
  animation: pop 0.4s both;
}

/* ---------- Services ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.card {
  padding: 2rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 2px solid var(--line);
  transition:
    opacity 0.7s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-8);
  box-shadow: var(--shadow);
}
.card-ic {
  width: 72px;
  height: 72px;
  padding: 14px;
  margin-bottom: 1.2rem;
  border-radius: 20px;
  background: var(--brand-3);
  color: var(--brand-9);
  transition:
    background-color 0.25s,
    color 0.25s,
    rotate 0.35s;
}
.card:hover .card-ic {
  rotate: -8deg;
  scale: 1.1;
}
.card h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.8rem);
  margin-bottom: 0.6rem;
}
.grid .card:nth-child(3n + 2) {
  transition-delay: 0.1s, 0s, 0s, 0s;
}
.grid .card:nth-child(3n) {
  transition-delay: 0.2s, 0s, 0s, 0s;
}
.quote {
  position: relative;
  max-width: 30ch;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}
.quote::before {
  content: "”";
  display: block;
  height: 0.55em;
  color: var(--gold);
  font-size: 4em;
  line-height: 1;
}

/* ---------- Testimonials ---------- */
.voices {
  background: linear-gradient(180deg, var(--brand-2), #fff);
}
.sub-wide {
  max-width: 44ch;
  margin: 1.2rem auto 0;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
}
.videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.video {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, #c79bf0 0, transparent 55%),
    linear-gradient(135deg, #7a2698, #30083c);
  box-shadow: var(--shadow);
  color: #fff;
}
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.play {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding-inline-start: 6px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-9);
  box-shadow: 0 0 0 0 rgb(255 255 255 / 0.5);
  animation: ring 2.4s infinite;
}
@keyframes ring {
  to {
    box-shadow: 0 0 0 30px rgb(255 255 255 / 0);
  }
}
.video-cap {
  position: absolute;
  bottom: 1.2rem;
  inset-inline: 1rem;
  text-align: center;
  font-weight: 700;
}
.video[data-video]:not([data-video=""]) {
  cursor: pointer;
}

/* ---------- Contact ---------- */
.contact {
  padding-top: 0;
}
.panel {
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 85% 0%, #9333ea 0, transparent 50%),
    radial-gradient(circle at 0% 100%, #7a2698 0, transparent 55%), var(--brand-9);
  color: #f3e6fb;
  text-align: center;
  box-shadow: var(--shadow);
}
.panel h2 {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}
.panel-lead {
  max-width: 52ch;
  margin: 1.4rem auto 2.2rem;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
}
.panel-actions {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.or {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.lead-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(100%, 980px);
  text-align: start;
}
.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: #fff;
}
.lead-form input {
  width: 100%;
  min-height: 64px;
  padding: 0.6rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}
.lead-form input[dir="ltr"] {
  text-align: right;
}
.lead-form input:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 2px;
}
.lead-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.4rem;
}
.form-note {
  min-height: 1.6em;
  font-weight: 700;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.foot {
  padding-block: 3.5rem 2rem;
  background: var(--brand-2);
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
}
.foot-in {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
.foot .logo {
  margin-bottom: 1rem;
}
.foot-big {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.2;
}
.foot a:not(.logo) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}
.foot a:hover {
  color: var(--brand-11);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* Links are 44px tall for touch; baseline keeps the plain text level with them. */
  align-items: baseline;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}


/* ============ Colour and motion layer ============ */
:root {
  --grad-text: linear-gradient(100deg, #5a1870 0%, #9333ea 40%, #d6249f 80%, #5a1870 120%);
  --grad-hot: linear-gradient(110deg, #6d28d9 0%, #c026d3 55%, #fb923c 115%);
  --grad-deep: linear-gradient(100deg, #5a1870, #9333ea 50%, #c026d3);
}

/* Reading progress (browsers with scroll-driven animations; hidden elsewhere) */
.progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 40;
  height: 5px;
  background: var(--grad-hot);
  transform: scaleX(0);
  transform-origin: right;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

.nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  font-weight: 700;
  font-size: 1.15rem;
}
.nav a {
  position: relative;
  padding-block: 0.4rem;
  color: var(--ink);
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-hot);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}
section[id] {
  scroll-margin-top: 70px;
}

/* Hero */
.hero {
  background:
    radial-gradient(60% 55% at 12% 8%, #ead9ff 0, transparent 70%),
    radial-gradient(45% 50% at 95% 95%, #ffe9b8 0, transparent 70%),
    radial-gradient(40% 45% at 60% 110%, #ffd3ec 0, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--brand-2) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(90 24 112 / 0.16) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(60% 70% at 25% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 70% at 25% 50%, #000, transparent);
  pointer-events: none;
}
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 26px -14px rgb(90 24 112 / 0.5);
}
.tagline svg {
  color: var(--gold-deep);
  animation: twinkle 2.6s ease-in-out infinite;
}
.h1-second {
  color: transparent;
  background: var(--grad-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 7s linear infinite;
}
@keyframes sheen {
  to {
    background-position: -220% 0;
  }
}
.halo {
  position: absolute;
  inset: -4% -8%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #7c3aed, #f0abfc, #ffca28, #fb7185, #7c3aed);
  filter: blur(64px);
  opacity: 0.5;
  animation: spin 16s linear infinite;
}
@keyframes spin {
  to {
    rotate: 1turn;
  }
}
.stage-card {
  position: relative;
  border: 1px solid rgb(255 255 255 / 0.8);
  background: linear-gradient(160deg, #fff 55%, #faf0ff);
  box-shadow:
    0 40px 80px -30px rgb(90 24 112 / 0.5),
    0 0 0 8px rgb(255 255 255 / 0.45);
}
.tw {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: var(--gold);
  animation: twinkle 2.8s ease-in-out infinite;
}
.tw-1 {
  top: 4%;
  inset-inline-end: 6%;
}
.tw-2 {
  width: 24px;
  height: 24px;
  top: 30%;
  inset-inline-start: 0;
  color: #e879f9;
  animation-delay: 0.9s;
}
.tw-3 {
  width: 28px;
  height: 28px;
  bottom: 12%;
  inset-inline-end: 0;
  color: #a78bfa;
  animation-delay: 1.7s;
}
@keyframes twinkle {
  50% {
    scale: 0.45;
    rotate: 45deg;
    opacity: 0.5;
  }
}

/* Buttons: light sweep on the big ones, live ring on WhatsApp */
.btn-xl {
  position: relative;
  overflow: hidden;
}
.btn-xl::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.45), transparent);
  transform: skewX(-20deg);
  animation: sweep 4.5s ease-in-out infinite;
}
@keyframes sweep {
  0%,
  55% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}
.btn-brand {
  background: linear-gradient(100deg, #6d28d9, #c026d3);
  box-shadow: 0 18px 40px -14px rgb(192 38 211 / 0.75);
}
.btn-wa {
  background: linear-gradient(100deg, #0f7a40, #17a257);
}
.btn-wa:hover {
  background: linear-gradient(100deg, #0c6635, #128c4a);
}
.hero .btn-wa {
  animation: wa-ring 2.6s ease-out infinite;
}
@keyframes wa-ring {
  0% {
    box-shadow:
      0 16px 34px -14px rgb(18 140 74 / 0.75),
      0 0 0 0 rgb(23 162 87 / 0.5);
  }
  70%,
  100% {
    box-shadow:
      0 16px 34px -14px rgb(18 140 74 / 0.75),
      0 0 0 22px rgb(23 162 87 / 0);
  }
}

main {
  overflow-x: clip;
}

/* Ribbon */
.ribbon {
  position: relative;
  z-index: 2;
  margin-block: -1.6rem;
  padding-block: 1rem;
  background: var(--grad-deep);
  color: #fff;
  margin-inline: -3%;
  rotate: -1.4deg;
  box-shadow: 0 20px 40px -22px rgb(90 24 112 / 0.8);
  overflow: hidden;
  direction: ltr;
}
.ribbon-track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  padding-inline-end: 1.6rem;
  font-weight: 800;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  white-space: nowrap;
  animation: ribbon 38s linear infinite;
}
.ribbon svg {
  flex: none;
  color: var(--gold);
}
@keyframes ribbon {
  to {
    transform: translateX(-50%);
  }
}

/* Section headings get a hand-drawn gold stroke */
h2.center::after {
  content: "";
  display: block;
  width: 190px;
  height: 16px;
  margin: 0.9rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 16'%3E%3Cpath d='M4 10c18-8 30 6 46-1s28 6 46-1 28 6 46-1 26 4 44-2' fill='none' stroke='%23ffca28' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.creed {
  border: 3px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-hot) border-box;
  box-shadow: 0 30px 70px -40px rgb(192 38 211 / 0.7);
}
.creed::first-line {
  color: var(--brand-11);
}

/* Ways */
.ways {
  background:
    radial-gradient(40% 30% at 100% 0%, #f5d9ff 0, transparent 70%),
    radial-gradient(40% 30% at 0% 55%, #dfe7ff 0, transparent 70%),
    radial-gradient(40% 30% at 100% 100%, #fff0cc 0, transparent 70%), var(--brand-2);
}
.way {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, #ead4f6, #fff 40%, #ead4f6) border-box;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
}
.way:hover {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad-hot) border-box;
  box-shadow: 0 34px 70px -34px rgb(147 51 234 / 0.55);
}
.viz {
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7);
}
.viz-ads {
  background: linear-gradient(140deg, #ede9fe, #fce7f3 60%, #ffedd5);
}
.viz-seo {
  background: linear-gradient(140deg, #dbeafe, #ede9fe 55%, #fae8ff);
}
.viz-ai {
  background: linear-gradient(140deg, #fae8ff, #e0e7ff 55%, #fef3c7);
}
.js .way .viz {
  opacity: 0;
  transform: translateX(-60px) rotate(-3deg) scale(0.94);
  transition:
    opacity 0.8s 0.25s ease,
    transform 0.9s 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.js .way:nth-of-type(even) .viz {
  transform: translateX(60px) rotate(3deg) scale(0.94);
}
.js .way.in .viz {
  opacity: 1;
  transform: none;
}
.ad,
.searchbar,
.results .you {
  animation: bob 6s ease-in-out infinite;
}
.ad-btn {
  background: linear-gradient(100deg, #6d28d9, #c026d3);
}

/* Services: one colour per service, light follows the pointer */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
}
.card-ic {
  color: #fff;
  background: var(--tile);
  box-shadow: 0 14px 26px -12px var(--tile-shadow);
}
.card:nth-child(1) {
  --tile: linear-gradient(135deg, #6d28d9, #a855f7);
  --tile-shadow: #7c3aed;
  --glow: rgb(124 58 237 / 0.14);
}
.card:nth-child(2) {
  --tile: linear-gradient(135deg, #be185d, #f472b6);
  --tile-shadow: #db2777;
  --glow: rgb(219 39 119 / 0.13);
}
.card:nth-child(3) {
  --tile: linear-gradient(135deg, #1d4ed8, #60a5fa);
  --tile-shadow: #2563eb;
  --glow: rgb(37 99 235 / 0.13);
}
.card:nth-child(4) {
  --tile: linear-gradient(135deg, #0f766e, #2dd4bf);
  --tile-shadow: #0d9488;
  --glow: rgb(13 148 136 / 0.14);
}
.card:nth-child(5) {
  --tile: linear-gradient(135deg, #c2410c, #fbbf24);
  --tile-shadow: #ea580c;
  --glow: rgb(234 88 12 / 0.13);
}
.card:nth-child(6) {
  --tile: linear-gradient(135deg, #86198f, #e879f9);
  --tile-shadow: #c026d3;
  --glow: rgb(192 38 211 / 0.14);
}
.card:hover {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--tile) border-box;
}
.quote {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote::before {
  -webkit-text-fill-color: var(--gold);
}

/* Testimonials */
.video {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  background:
    radial-gradient(circle at 25% 15%, #f0abfc 0, transparent 45%),
    radial-gradient(circle at 90% 90%, #fb923c 0, transparent 40%),
    linear-gradient(135deg, #7c3aed, #30083c);
}
.video:nth-child(2) {
  background:
    radial-gradient(circle at 80% 10%, #93c5fd 0, transparent 45%),
    radial-gradient(circle at 10% 95%, #f0abfc 0, transparent 40%),
    linear-gradient(135deg, #5a1870, #1e1b4b);
}
.js .video.in:nth-child(1) {
  transform: rotate(1.2deg);
}
.js .video.in:nth-child(2) {
  transform: rotate(-1.2deg);
}
.js .video.in:hover {
  transform: rotate(0) scale(1.03);
}

/* Contact panel */
.panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #30083c, #5a1870 30%, #9333ea 60%, #c026d3 85%, #5a1870);
  background-size: 240% 240%;
  animation: flow 14s ease-in-out infinite alternate;
}
@keyframes flow {
  to {
    background-position: 100% 100%;
  }
}
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.panel::before {
  top: -160px;
  inset-inline-start: -120px;
  background: rgb(255 202 40 / 0.4);
}
.panel::after {
  bottom: -180px;
  inset-inline-end: -120px;
  background: rgb(240 171 252 / 0.5);
}
.panel > * {
  position: relative;
  z-index: 1;
}
.panel > .tw {
  position: absolute;
}
.tw-4 {
  top: 12%;
  inset-inline-start: 8%;
  width: 46px;
  height: 46px;
}
.tw-5 {
  bottom: 14%;
  inset-inline-end: 7%;
  color: #f0abfc;
  animation-delay: 1.2s;
}
.lead-form input {
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.lead-form input:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.5);
}
.foot {
  background: linear-gradient(180deg, #fff, var(--brand-2));
}

/* Phone-only sticky CTA */
.dock {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .js .way .viz,
  .js .way:nth-of-type(even) .viz {
    transform: translateY(30px) scale(0.96);
  }
  .hero-in,
  .why-in,
  .way {
    grid-template-columns: 1fr;
  }
  .way:nth-of-type(even) .way-copy {
    order: 0;
  }
  .stage {
    max-width: 680px;
    margin-inline: auto;
    width: 100%;
  }
  .chip-1 {
    inset-inline-start: 0;
  }
  .chip-2 {
    inset-inline-end: 0;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-in {
    grid-template-columns: 1fr;
  }
  .why-illustration {
    max-width: 440px;
    margin-inline: auto;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .stage {
    width: calc(100% + 1rem);
    margin-inline: -0.5rem;
  }
  .grid,
  .videos,
  .lead-form {
    grid-template-columns: 1fr;
  }
  .btn-xl {
    width: 100%;
    padding-inline: 1.2rem;
  }
  .top .btn span {
    display: none;
  }
  .top .btn {
    padding: 0.6rem;
  }
  .chip {
    font-size: 0.95rem;
  }
  .chip-ic {
    width: 32px;
    height: 32px;
  }
  .dock {
    position: fixed;
    inset-inline: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 30;
    display: flex;
    padding: 0.9rem 1rem;
    font-size: 1.25rem;
    translate: 0 140%;
    transition: translate 0.35s ease;
  }
  .dock.show {
    translate: 0 0;
  }
  .foot {
    padding-bottom: 6.5rem;
  }
}

/* Touch screens: a tap must not leave an element stuck in its hover pose. */
@media (hover: none) {
  .btn:hover,
  .card:hover,
  .js .video.in:hover {
    transform: none;
  }
  .card:hover .card-ic {
    rotate: none;
    scale: none;
  }
  .card:hover::before {
    opacity: 0;
  }
}

/* 404 page */
.lost {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  min-height: 100svh;
  padding: 2rem;
  text-align: center;
  background: var(--brand-2);
}

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