/* ------------------------------------------------------------------
   ZibCore — Light · clean · friendly · premium
   Palette: soft periwinkle bg · deep navy ink · royal blue accent
------------------------------------------------------------------- */

:root {
  --bg-from:   #eef1fb;
  --bg-to:     #dee6ff;
  --bg-card:   #ffffff;
  --bg-soft:   #f4f6fd;

  --ink:       #0d1430;
  --ink-soft:  #4a5478;
  --ink-mute:  #8a93b3;

  --line:      rgba(15, 25, 70, 0.08);
  --line-2:    rgba(15, 25, 70, 0.14);

  --accent:        #2f4ed6;
  --accent-2:      #1c38bf;
  --accent-violet: #7c3aed;
  --accent-soft:   #e6ecff;

  --gradient: linear-gradient(135deg, #2f4ed6 0%, #5d4ee0 55%, #7c3aed 100%);

  --shadow-sm: 0 6px 18px -10px rgba(20, 40, 110, 0.18);
  --shadow-md: 0 18px 40px -22px rgba(20, 40, 110, 0.28);
  --shadow-lg: 0 30px 70px -28px rgba(20, 40, 110, 0.32);

  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);

  --max:       1240px;
  --pad:       clamp(20px, 4vw, 44px);

  --font-sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif:'Fraunces', 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background:
    radial-gradient(circle, rgba(15, 25, 70, 0.045) 1px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(180deg, #f7f9fd 0%, #eef2fb 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------------
   Layout
------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
.container--center { text-align: center; }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 18px;
  font-weight: 600;
}

.h1, .h2, .h3, .hero__title {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  color: var(--ink);
}
.h1 { font-size: clamp(40px, 6vw, 76px); }
.h2 { font-size: clamp(32px, 4.6vw, 58px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }

.h1 em, .h2 em, .hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(16px, 1.55vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 18px auto 0;
}
.lede--left { margin-left: 0; margin-right: 0; }
.lede strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------
   Nav
------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  background: transparent;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(239, 242, 252, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__mark {
  width: 22px; height: 22px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.25));
}
.nav__word { font-size: 15px; color: var(--ink); display: inline-flex; gap: 0; }
.nav__word-a { color: var(--ink); }
.nav__word-b {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: #fff !important;
  background: var(--gradient);
  background-size: 200% 200%;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px -10px rgba(124, 58, 237, 0.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-position .5s var(--ease);
}
.nav__cta:hover {
  transform: translateY(-1px);
  background-position: 100% 100%;
  box-shadow: 0 16px 34px -12px rgba(124, 58, 237, 0.65);
}
@media (max-width: 880px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform .25s var(--ease-out),
    background .25s var(--ease-out),
    border-color .25s var(--ease-out),
    box-shadow .35s var(--ease-out),
    background-position .5s var(--ease-out),
    color .25s var(--ease-out);
  will-change: transform;
}
.btn--primary {
  background: var(--gradient);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 16px 36px -16px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 100%;
  box-shadow: 0 24px 50px -16px rgba(124, 58, 237, 0.7);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* ------------------------------------------------------------------
   Hero — cinematic two-column stage
------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 160px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Backdrop: ambient light + particles (no big gradient blobs) */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__light {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 95%;
  height: 110%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 55% 45% at 50% 45%, rgba(225, 232, 250, 0.55), transparent 65%),
    radial-gradient(ellipse 45% 35% at 70% 35%, rgba(255, 245, 230, 0.30), transparent 70%);
  filter: blur(50px);
  animation: ambient 26s ease-in-out infinite alternate;
}
@keyframes ambient {
  0%   { transform: translateX(-54%) scale(1);   opacity: 0.55; }
  50%  { transform: translateX(-50%) scale(1.04); opacity: 0.78; }
  100% { transform: translateX(-46%) scale(1.08); opacity: 0.92; }
}

/* Soft filmic grain — overlays the entire hero */
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__particles { position: absolute; inset: 0; }
.hero__particles span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  animation: dust ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes dust {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(var(--dx, 0px), var(--dy, -80px)) scale(1.2); opacity: 0; }
}

/* Layout */
.hero__row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}
@media (max-width: 980px) {
  .hero__row { grid-template-columns: 1fr; gap: 60px; }
}

/* Showcase hero layout: stacked, copy centered, full-width slider below */
.hero--showcase {
  display: block;
  min-height: auto;
  padding: clamp(140px, 16vh, 190px) 0 clamp(60px, 8vw, 110px);
}
.hero--showcase .hero__copy--center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero--showcase .hero__copy--center .hero__sub { margin-left: auto; margin-right: auto; }
.hero--showcase .hero__copy--center .hero__cta { justify-content: center; }
.hero--showcase .hero__copy--center .hero__points { justify-content: center; }

/* ===== Infinite sliding showcase ===== */
.showcase {
  position: relative;
  width: 100%;
  margin-top: clamp(48px, 6vw, 84px);
  padding: 34px 0;
  overflow: hidden;
  z-index: 2;
  /* Fade cards out toward both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
}
.showcase__track {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  width: max-content;
  will-change: transform;
}
.showcase__card {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -24px rgba(20, 30, 60, 0.34),
    0 10px 22px -14px rgba(20, 30, 60, 0.22);
  will-change: transform, opacity, filter;
  transform-origin: center center;
  cursor: pointer;
  /* shadow eased by CSS; transform/opacity/filter driven by JS per frame */
  transition: box-shadow .35s var(--ease);
}
.showcase__card:hover {
  box-shadow:
    0 44px 80px -22px rgba(20, 30, 60, 0.45),
    0 16px 30px -14px rgba(20, 30, 60, 0.28);
}
.showcase__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 700px) {
  .showcase { padding: 24px 0; }
  .showcase__card { width: clamp(220px, 70vw, 320px); }
}

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

.hero__copy { text-align: left; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #2f4ed6 0%, #5d4ee0 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.hero__sub {
  margin: 26px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero__cta {
  display: flex;
  gap: 12px;
  margin: 36px 0 0;
  flex-wrap: wrap;
}

/* Honest hero proof points */
.hero__points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 980px) {
  .hero__points { justify-content: flex-start; }
}

/* ============ Legal pages (privacy / terms) ============ */
.legal { padding: 140px 0 90px; }
.legal__wrap { max-width: 760px; }
.legal__back {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 22px;
}
.legal__back:hover { color: var(--ink); }
.legal__updated {
  color: var(--ink-mute);
  font-size: 13px;
  margin: 8px 0 32px;
}
.legal h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); font-weight: 500; }
.legal a:hover { text-decoration: underline; }

/* ============ Hero image slot (drop-in real image) ============ */
.hero__shot {
  --plx: 0px;
  --ply: 0px;
  position: relative;
  margin: 0;
  transform: translate(var(--plx), var(--ply));
  transition: transform .2s linear;
  animation: heroShotFloat 9s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroShotFloat {
  0%, 100% { transform: translate(var(--plx), var(--ply)); }
  50%      { transform: translate(var(--plx), calc(var(--ply) - 6px)); }
}
.hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  /* Soft shadow that follows the artwork's real shape (works for
     transparent PNGs and solid rectangles alike). */
  filter: drop-shadow(0 30px 50px rgba(20, 30, 60, 0.30))
          drop-shadow(0 10px 22px rgba(20, 30, 60, 0.16));
}

/* Placeholder shown only when images/hero.png is missing */
.hero__shot-ph { display: none; }
.hero__shot.is-missing {
  aspect-ratio: 16 / 12;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(47,78,214,0.03) 0 12px, transparent 12px 24px),
    #fff;
  border: 2px dashed rgba(47, 78, 214, 0.3);
  box-shadow: var(--shadow-sm);
}
.hero__shot.is-missing img { display: none; }
.hero__shot.is-missing .hero__shot-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  color: var(--ink-soft);
}
.hero__shot-ph-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.hero__shot-ph-icon svg { width: 26px; height: 26px; }
.hero__shot-ph strong { font-size: 16px; color: var(--ink); font-weight: 600; }
.hero__shot-ph-path { font-size: 13px; color: var(--ink-mute); }
.hero__shot-ph code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12.5px;
  color: var(--accent);
}

/* ============ Honest accent card on the stage (capability, not a metric) ============ */
.stage__feature {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  top: 6%;
  right: -4%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 220px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 25, 70, 0.08);
  border-radius: 16px;
  box-shadow:
    0 30px 60px -18px rgba(20, 30, 60, 0.32),
    0 12px 24px -10px rgba(20, 30, 60, 0.2);
  font-family: var(--font-sans);
  transform: translate(var(--plx), var(--ply));
  animation: featureFloat 10s ease-in-out infinite;
}
@keyframes featureFloat {
  0%, 100% { transform: translate(var(--plx), var(--ply)); }
  50%      { transform: translate(var(--plx), calc(var(--ply) - 8px)); }
}
.stage__feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  box-shadow: 0 8px 16px -6px rgba(124, 58, 237, 0.5);
}
.stage__feature-icon svg { width: 18px; height: 18px; }
.stage__feature-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stage__feature-text small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.35;
}
@media (max-width: 540px) {
  .stage__feature { right: -2%; max-width: 180px; padding: 11px 13px; }
}

/* ============ Floating work-sample image cards (around the laptop) ============ */
.stage__img {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 28px 50px -18px rgba(20, 30, 60, 0.32),
    0 12px 24px -10px rgba(20, 30, 60, 0.18);
  z-index: 3;
  transform: translate(var(--plx), var(--ply));
  transition: transform .2s linear;
  will-change: transform;
}
.stage__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.stage__img figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.78) 100%);
  color: #fff;
  z-index: 2;
  font-family: var(--font-sans);
}
.stage__img-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-bottom: 3px;
}
.stage__img figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.05;
}

/* Each card: position + tilt + independent float + niche fallback gradient */
.stage__img--1 {
  top: -2%;
  left: -6%;
  width: 26%;
  aspect-ratio: 4 / 5;
  transform: translate(var(--plx), var(--ply)) rotate(-3deg);
  animation: stageImg1 10s ease-in-out infinite;
  background: linear-gradient(135deg, #c9b59a 0%, #7a5a3a 100%);
}
@keyframes stageImg1 {
  0%, 100% { transform: translate(var(--plx), var(--ply)) rotate(-3deg) translateY(0); }
  50%      { transform: translate(var(--plx), var(--ply)) rotate(-3deg) translateY(-7px); }
}

.stage__img--2 {
  bottom: -4%;
  right: 6%;
  width: 24%;
  aspect-ratio: 1 / 1;
  transform: translate(var(--plx), var(--ply)) rotate(4deg);
  animation: stageImg2 12s ease-in-out infinite;
  z-index: 5;
  background: linear-gradient(135deg, #2d2f36 0%, #ff5b1f 100%);
}
@keyframes stageImg2 {
  0%, 100% { transform: translate(var(--plx), var(--ply)) rotate(4deg) translateY(0); }
  50%      { transform: translate(var(--plx), var(--ply)) rotate(4deg) translateY(-9px); }
}

.stage__img--3 {
  top: 4%;
  right: -4%;
  width: 22%;
  aspect-ratio: 4 / 5;
  transform: translate(var(--plx), var(--ply)) rotate(3deg);
  animation: stageImg3 9s ease-in-out infinite;
  z-index: 5;
  background: linear-gradient(135deg, #dfe9f7 0%, #6b91c8 100%);
}
@keyframes stageImg3 {
  0%, 100% { transform: translate(var(--plx), var(--ply)) rotate(3deg) translateY(0); }
  50%      { transform: translate(var(--plx), var(--ply)) rotate(3deg) translateY(-6px); }
}

@media (max-width: 880px) {
  .stage__img--1 { width: 28%; top: -4%; left: -8%; }
  .stage__img--2 { width: 26%; bottom: -6%; right: 4%; }
  .stage__img--3 { width: 24%; top: 2%; right: -6%; }
}
@media (max-width: 540px) {
  .stage__img--1, .stage__img--3 { display: none; }
  .stage__img--2 { width: 30%; }
}

/* ============ Hero stage — laptop + phone + 1 floating pill ============ */
.stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 16 / 12.2;
  /* No preserve-3d: children stack as flat layers by z-index, so they
     overlap cleanly instead of intersecting/slicing through each other. */
}

.stage__shadow {
  position: absolute;
  bottom: 1%;
  left: 8%;
  right: 8%;
  height: 14%;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(20, 30, 60, 0.3), transparent 72%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* Laptop — main, angled, takes most of the stage */
.stage__laptop {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  top: 4%;
  left: 8%;
  right: 0;
  width: 92%;
  z-index: 2;
  transform-origin: center center;
  animation: stageLaptopFloat 11s ease-in-out infinite;
}
@keyframes stageLaptopFloat {
  0%, 100% { transform: perspective(2200px) rotateY(-11deg) rotateX(-1deg) translate(var(--plx), var(--ply)); }
  50%      { transform: perspective(2200px) rotateY(-11deg) rotateX(-1deg) translate(var(--plx), calc(var(--ply) - 4px)); }
}

/* Phone — in front, bottom-left, leaning the other way */
.stage__phone {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  bottom: 4%;
  left: -2%;
  width: 28%;
  z-index: 4;
  animation: stagePhoneFloat 9s ease-in-out infinite;
}
@keyframes stagePhoneFloat {
  0%, 100% { transform: perspective(1400px) rotateY(8deg) rotateZ(-5deg) translate(var(--plx), var(--ply)); }
  50%      { transform: perspective(1400px) rotateY(8deg) rotateZ(-5deg) translate(var(--plx), calc(var(--ply) - 7px)); }
}

/* Floating "Leads This Month" metric card — top-right of stage */
.stage__metric {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  top: -2%;
  right: -4%;
  width: 176px;
  z-index: 5;
  padding: 14px 16px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 25, 70, 0.08);
  border-radius: 18px;
  box-shadow:
    0 30px 60px -18px rgba(20, 30, 60, 0.32),
    0 12px 24px -10px rgba(20, 30, 60, 0.2);
  font-family: var(--font-sans);
  transform: translate(var(--plx), var(--ply));
  animation: metricFloat 10s ease-in-out infinite;
}
@keyframes metricFloat {
  0%, 100% { transform: translate(var(--plx), var(--ply)); }
  50%      { transform: translate(var(--plx), calc(var(--ply) - 8px)); }
}
.stage__metric-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.stage__metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(47, 78, 214, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stage__metric-icon svg { width: 14px; height: 14px; }
.stage__metric-title {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.stage__metric-big {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  display: block;
  font-variant-numeric: tabular-nums;
}
.stage__metric-sub {
  display: block;
  font-size: 10.5px;
  color: #047857;
  font-weight: 700;
  margin-top: 4px;
}
.stage__metric-chart {
  width: 100%;
  height: 28px;
  display: block;
  margin-top: 6px;
}

/* ============ Dashboard inside the laptop ============ */
.dashboard {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 96px 1fr;
  background: #f5f7ff;
  font-family: var(--font-sans);
  color: var(--ink);
  min-height: 340px;
}

.dash__sidebar {
  background: linear-gradient(180deg, #fbfcff 0%, #f1f4fc 100%);
  border-right: 1px solid rgba(15, 25, 70, 0.06);
  padding: 14px 10px;
}
.dash__brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px -6px rgba(124, 58, 237, 0.5);
}
.dash__nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dash__nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  font-size: 10.5px;
  color: rgba(15, 25, 70, 0.55);
  font-weight: 500;
  border-radius: 6px;
  letter-spacing: -0.005em;
}
.dash__nav a.is-active {
  background: rgba(47, 78, 214, 0.1);
  color: var(--accent);
  font-weight: 600;
}
.dash__nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
}
.dash__nav a.is-active .dash__nav-dot { opacity: 1; }

.dash__main {
  padding: 14px 16px 16px;
  background: #fafbff;
  overflow: hidden;
}

.dash__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dash__h {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1;
}
.dash__welcome {
  display: block;
  font-size: 10.5px;
  color: rgba(15, 25, 70, 0.55);
  margin-top: 3px;
  font-weight: 500;
}
.dash__top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash__date {
  font-size: 10px;
  color: rgba(15, 25, 70, 0.62);
  padding: 5px 10px;
  border: 1px solid rgba(15, 25, 70, 0.1);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
}
.dash__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6c177, #ea7a8d);
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 25, 70, 0.1);
}

.dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dash__card {
  background: #fff;
  border: 1px solid rgba(15, 25, 70, 0.07);
  border-radius: 12px;
  padding: 11px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 110px;
}
.dash__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.dash__card-head strong {
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.dash__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.dash__badge--live { background: #ecfdf3; color: #047857; }
.dash__badge--active { background: rgba(47, 78, 214, 0.1); color: var(--accent); }
.dash__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.dash__time {
  font-size: 9.5px;
  color: var(--ink-mute);
  font-weight: 500;
}

.dash__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash__checks li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--ink);
  font-weight: 500;
}
.dash__check {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.dash__check::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2px;
  width: 6px;
  height: 3.5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.dash__link {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-top: auto;
  letter-spacing: -0.005em;
}

.dash__mini-chat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash__mini-bubble {
  font-size: 9.5px;
  padding: 5px 8px;
  border-radius: 9px;
  max-width: 88%;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.dash__mini-bubble--user {
  background: rgba(47, 78, 214, 0.1);
  color: var(--ink);
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}
.dash__mini-bubble--bot {
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  color: #fff;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}

.dash__lead {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash__lead-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6c177, #ea7a8d);
  flex-shrink: 0;
}
.dash__lead-info strong {
  display: block;
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.dash__lead-info small {
  display: block;
  font-size: 9px;
  color: var(--ink-mute);
  margin-top: 1px;
}
.dash__lead-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(47, 78, 214, 0.1);
  color: var(--accent);
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: 0;
}

.dash__big {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dash__change {
  font-size: 10px;
  font-weight: 700;
}
.dash__change.up { color: #047857; }
.dash__spark {
  width: 100%;
  height: 28px;
  margin-top: auto;
  display: block;
}

/* Phone — Zibcore variant overrides (white bg, blue/violet accents) */
.phone__site--zib { background: #fff; }
.phone__avatar--zib {
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.phone__site--zib .phone__meta strong { color: var(--ink); }
.phone__site--zib .phone__meta small { color: var(--ink-mute); }
.phone__site--zib .phone__bubble--in {
  background: rgba(15, 25, 70, 0.06);
  color: var(--ink);
}
.phone__site--zib .phone__bubble--out {
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  color: #fff;
}
.phone__site--zib .phone__typing { background: rgba(15, 25, 70, 0.06); }
.phone__site--zib .phone__typing span { background: rgba(15, 25, 70, 0.4); }
.phone__site--zib .phone__header { border-bottom-color: rgba(15, 25, 70, 0.08); }

.phone__input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px 7px 10px;
  background: rgba(15, 25, 70, 0.04);
  border: 1px solid rgba(15, 25, 70, 0.06);
  border-radius: 999px;
  font-size: 9px;
  color: var(--ink-mute);
  margin-top: 10px;
}
.phone__input span { flex: 1; }
.phone__send {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.phone__send svg { width: 11px; height: 11px; }

/* ============ Phone 2 (top-right) + Phone 3 (bottom-right) ============ */
.stage__phone--tr {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  top: -4%;
  right: -8%;
  bottom: auto;
  left: auto;
  width: 28%;
  z-index: 8;
  animation: stagePhoneTR 11s ease-in-out infinite;
}
@keyframes stagePhoneTR {
  0%, 100% { transform: perspective(1400px) rotateY(-5deg) rotateZ(7deg) translate(var(--plx), var(--ply)); }
  50%      { transform: perspective(1400px) rotateY(-5deg) rotateZ(7deg) translate(var(--plx), calc(var(--ply) - 8px)); }
}

.stage__phone--br {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  bottom: -6%;
  right: -6%;
  top: auto;
  left: auto;
  width: 30%;
  z-index: 7;
  animation: stagePhoneBR 10s ease-in-out infinite;
}
@keyframes stagePhoneBR {
  0%, 100% { transform: perspective(1400px) rotateY(-4deg) rotateZ(-8deg) translate(var(--plx), var(--ply)); }
  50%      { transform: perspective(1400px) rotateY(-4deg) rotateZ(-8deg) translate(var(--plx), calc(var(--ply) - 6px)); }
}

/* Reposition the metric card to TOP-LEFT so it doesn't clash with phone 2 */
.stage__metric {
  top: -2%;
  right: auto;
  left: -4%;
}

/* ============ List view inside small phones (Bookings / Messages) ============ */
.phone__site--bookings,
.phone__site--messages {
  background: #fff;
  padding: 0 10px 10px;
}
.phone__site--bookings .phone__header,
.phone__site--messages .phone__header {
  border-bottom-color: rgba(15, 25, 70, 0.08);
  padding-bottom: 7px;
  margin-bottom: 8px;
}
.phone__site--bookings .phone__meta strong,
.phone__site--messages .phone__meta strong { color: var(--ink); font-size: 10px; }
.phone__site--bookings .phone__meta small,
.phone__site--messages .phone__meta small { color: var(--ink-mute); font-size: 8px; }

.phone__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone__list-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  background: rgba(15, 25, 70, 0.04);
  border: 1px solid rgba(15, 25, 70, 0.05);
  border-radius: 8px;
  font-size: 8.5px;
  line-height: 1.2;
}
.phone__list-time {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
  min-width: 28px;
  flex-shrink: 0;
}
.phone__list-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.phone__list-text strong {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__list-text small {
  font-size: 7.5px;
  color: var(--ink-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__list-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ecfdf3;
  border: 1px solid rgba(16, 185, 129, 0.3);
  position: relative;
  flex-shrink: 0;
}
.phone__list-check::after {
  content: "";
  position: absolute;
  top: 3.5px;
  left: 3px;
  width: 5px;
  height: 3px;
  border-left: 1.4px solid #047857;
  border-bottom: 1.4px solid #047857;
  transform: rotate(-45deg);
}
.phone__list-check--pending {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  animation: pendingPulse 1.8s ease-in-out infinite;
}
.phone__list-check--pending::after { display: none; }
@keyframes pendingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.25); }
  50%      { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0); }
}

/* Messages variant — avatar pic instead of time */
.phone__list-pic {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.phone__list-pic--a { background: linear-gradient(135deg, #f97316, #ea580c); }
.phone__list-pic--b { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.phone__list-pic--c { background: linear-gradient(135deg, #ec4899, #db2777); }
.phone__list-item--msg .phone__list-time {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 8px;
  color: var(--ink-mute);
  font-weight: 500;
  min-width: auto;
}

/* ============ Booking confirmation view (phone 3) ============ */
.phone__site--confirm {
  background: #fff;
  padding: 14px 12px;
}
.phone__confirm {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.phone__confirm-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 8px 18px -6px rgba(16, 185, 129, 0.45);
}
.phone__confirm-icon svg { width: 18px; height: 18px; }
.phone__confirm-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.phone__confirm-sub {
  font-size: 9px;
  color: var(--ink-mute);
  margin-top: 1px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.phone__confirm-meta {
  width: 100%;
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(15, 25, 70, 0.04);
  border: 1px solid rgba(15, 25, 70, 0.05);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone__confirm-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8.5px;
}
.phone__confirm-meta span {
  color: var(--ink-mute);
  font-weight: 500;
}
.phone__confirm-meta strong {
  color: var(--ink);
  font-weight: 600;
}
.phone__confirm-cta {
  margin-top: 10px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #2f4ed6, #7c3aed);
  color: #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Need a min-height for the rotator on phone 2 so it doesn't collapse */
.stage__phone--tr .phone__screen { min-height: 165px; }
.stage__phone--br .phone__screen { min-height: 165px; }

@media (max-width: 880px) {
  .stage { max-width: 540px; }
  .stage__phone { width: 32%; left: -4%; }
  .stage__phone--tr { width: 24%; }
  .stage__phone--br { width: 25%; }
  .stage__metric { width: 140px; }
}
@media (max-width: 540px) {
  .stage__phone--tr,
  .stage__phone--br,
  .stage__metric { display: none; }
}
@media (max-width: 540px) {
  .stage__pill { font-size: 11px; padding: 8px 12px; }
  .stage__pill-text { font-size: 11px; }
}

/* ============ Floating photo-card collage (hero) — legacy ============ */
.hero__collage {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.05;
}

.hcard {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  margin: 0;
  transform: translate(var(--plx), var(--ply));
  transition: transform .15s linear;
  will-change: transform;
}

.hcard__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 30px 60px -20px rgba(20, 30, 60, 0.35),
    0 12px 24px -10px rgba(20, 30, 60, 0.2);
  will-change: transform;
}

.hcard__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.hcard__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.78) 100%);
  color: #fff;
}
.hcard__tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  margin-bottom: 4px;
}
.hcard__cap strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.05;
}

/* Card 1 — Restaurant (largest, top-right) */
.hcard--1 { top: 2%;  left: 46%; width: 48%; aspect-ratio: 4 / 5; z-index: 4; }
.hcard--1 .hcard__inner { transform: rotate(2deg); animation: hbob1 8s ease-in-out infinite; }
@keyframes hbob1 {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-9px); }
}

/* Card 2 — Barbershop (middle-left) */
.hcard--2 { top: 30%; left: 2%;  width: 40%; aspect-ratio: 4 / 5; z-index: 3; }
.hcard--2 .hcard__inner { transform: rotate(-3deg); animation: hbob2 10s ease-in-out infinite; }
@keyframes hbob2 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-7px); }
}

/* Card 3 — Fitness (bottom-right) */
.hcard--3 { top: 60%; left: 52%; width: 42%; aspect-ratio: 1 / 1; z-index: 4; }
.hcard--3 .hcard__inner { transform: rotate(3deg); animation: hbob3 11s ease-in-out infinite; }
@keyframes hbob3 {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(-10px); }
}

/* Card 4 — Dental (top-left, smaller) */
.hcard--4 { top: 0%;  left: 8%;  width: 32%; aspect-ratio: 1 / 1; z-index: 2; }
.hcard--4 .hcard__inner { transform: rotate(-2deg); animation: hbob4 9s ease-in-out infinite; }
@keyframes hbob4 {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-6px); }
}

/* Card 5 — Salon (bottom-left) */
.hcard--5 { top: 68%; left: 8%;  width: 36%; aspect-ratio: 4 / 5; z-index: 3; }
.hcard--5 .hcard__inner { transform: rotate(-1.5deg); animation: hbob5 12s ease-in-out infinite; }
@keyframes hbob5 {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-8px); }
}

/* Smaller screens — tighten the layout */
@media (max-width: 880px) {
  .hero__collage { max-width: 520px; aspect-ratio: 1 / 0.95; }
}
@media (max-width: 540px) {
  .hcard--1 { top: 2%;  left: 44%; width: 54%; }
  .hcard--2 { top: 28%; left: 2%;  width: 44%; }
  .hcard--3 { top: 60%; left: 50%; width: 46%; }
  .hcard--4 { top: 0%;  left: 6%;  width: 36%; }
  .hcard--5 { top: 64%; left: 4%;  width: 40%; }
}

/* ============ Workspace scene (laptop + phone + coffee) — legacy ============ */
.hero__stage {
  position: relative;
  perspective: 1800px;
  perspective-origin: 50% 30%;
}
.workspace {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16 / 11;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
  transform: perspective(2400px) rotateY(-13deg) rotateX(-1deg);
}

/* Soft single product-photo shadow under the laptop */
.workspace__shadow {
  position: absolute;
  bottom: 4%;
  left: 8%;
  right: 8%;
  height: 14%;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(20, 30, 60, 0.34), transparent 72%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Laptop (the whole hero — full width of stage) ---------- */
.workspace__laptop {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  top: 6%;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3;
  animation: wsFloatA 12s ease-in-out infinite;
}
@keyframes wsFloatA {
  0%, 100% { transform: translate(var(--plx), var(--ply)); }
  50%      { transform: translate(var(--plx), calc(var(--ply) - 3px)); }
}

/* MacBook-style chassis with thin bezel and studio highlights */
.laptop__screen-wrap {
  background:
    linear-gradient(180deg, #44474f 0%, #2c2f37 50%, #20232a 100%);
  border-radius: 16px 16px 5px 5px;
  padding: 10px 10px 0;
  box-shadow:
    0 70px 120px -30px rgba(20, 30, 60, 0.42),
    0 32px 60px -24px rgba(20, 30, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}
.laptop__screen-wrap::before {
  /* Soft top-bezel highlight — overhead studio light */
  content: "";
  position: absolute;
  top: 1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  border-radius: 1px;
}
.laptop__screen-wrap::after {
  /* Webcam dot — small, dark, like a real MacBook */
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #1a1a1a 30%, #3a3a3a 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.laptop__screen {
  background: #fdf8f0;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  position: relative;
}

.laptop__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #f0eadb, #e8dfcc);
  border-bottom: 1px solid rgba(120, 90, 60, 0.18);
}
.laptop__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.laptop__chrome span:nth-child(1) { background: #ff5f57; }
.laptop__chrome span:nth-child(2) { background: #febc2e; }
.laptop__chrome span:nth-child(3) { background: #28c840; }
.laptop__url {
  margin-left: 12px;
  flex: 1;
  background: #fdf8f0;
  border: 1px solid rgba(120, 90, 60, 0.18);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 10.5px;
  color: #8a7a5a;
  text-align: center;
  max-width: 200px;
  font-family: var(--font-sans);
}

.laptop__rotator {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.laptop__site {
  position: absolute;
  inset: 0;
  padding: clamp(18px, 2.6vw, 32px) clamp(14px, 2.2vw, 28px) clamp(20px, 2.6vw, 32px);
  background: linear-gradient(180deg, #fdf8f0 0%, #f6efde 100%);
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition:
    opacity .85s cubic-bezier(.16,1,.3,1),
    transform .85s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.laptop__site.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.laptop__site.is-leaving {
  opacity: 0;
  transform: translateY(-14px) scale(0.99);
}

/* URL bar text transitions during rotation */
.laptop__url { transition: opacity .3s ease; }
.laptop__url.is-changing { opacity: 0; }

/* Single static website (not in a rotator) — flow normally & stay visible */
.laptop__screen > .laptop__site {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ========== Cafe — default cream + forest green (current) ========== */
/* (Inherits .ws-site__* defaults) */

/* ========== Dental — soft white + sky blue ========== */
.laptop__site--dental {
  background: linear-gradient(180deg, #fbfdff 0%, #eaf2ff 100%);
}
.laptop__site--dental .ws-site__nav { border-bottom-color: rgba(15, 50, 110, 0.12); }
.laptop__site--dental .ws-site__brand { color: #0d2645; }
.laptop__site--dental .ws-site__links { color: rgba(13, 38, 69, 0.55); }
.laptop__site--dental .ws-site__links li:last-child {
  color: #0d2645;
  border-color: #0d2645;
}
.laptop__site--dental .ws-site__eyebrow { color: #2f6fdb; }
.laptop__site--dental .ws-site__title { color: #0d2645; }
.laptop__site--dental .ws-site__title em { color: #2f6fdb; }
.laptop__site--dental .ws-site__sub { color: rgba(13, 38, 69, 0.62); }
.laptop__site--dental .ws-site__btn { background: #fff; color: #0d2645; border-color: rgba(13, 38, 69, 0.18); }
.laptop__site--dental .ws-site__btn--p { background: #2f6fdb; color: #fff; border-color: transparent; }
.laptop__site--dental .ws-site__strip span { background: linear-gradient(135deg, #cfdff7, #7099dd); }
.laptop__site--dental .ws-site__strip span:nth-child(2) { background: linear-gradient(135deg, #b9d1f4, #5b85d3); }
.laptop__site--dental .ws-site__strip span:nth-child(3) { background: linear-gradient(135deg, #a8c5f1, #4673c8); }

/* ========== Barbershop — black + warm gold ========== */
.laptop__site--barber {
  background: linear-gradient(180deg, #14110d 0%, #0a0805 100%);
}
.laptop__site--barber .ws-site__nav { border-bottom-color: rgba(202, 166, 106, 0.22); }
.laptop__site--barber .ws-site__brand { color: #caa66a; }
.laptop__site--barber .ws-site__links { color: rgba(243, 235, 215, 0.55); }
.laptop__site--barber .ws-site__links li:last-child {
  color: #caa66a;
  border-color: #caa66a;
}
.laptop__site--barber .ws-site__eyebrow { color: #caa66a; }
.laptop__site--barber .ws-site__title { color: #f3ebd7; }
.laptop__site--barber .ws-site__title em { color: #caa66a; }
.laptop__site--barber .ws-site__sub { color: rgba(243, 235, 215, 0.62); }
.laptop__site--barber .ws-site__btn {
  background: transparent;
  color: #f3ebd7;
  border-color: rgba(243, 235, 215, 0.22);
}
.laptop__site--barber .ws-site__btn--p { background: #caa66a; color: #14110d; border-color: transparent; }
.laptop__site--barber .ws-site__strip span {
  background: linear-gradient(135deg, #2c241a, #14110d);
  border: 1px solid rgba(202, 166, 106, 0.18);
}

/* ========== Gym — charcoal + bright orange ========== */
.laptop__site--gym {
  background: linear-gradient(180deg, #1a1d24 0%, #0e1117 100%);
}
.laptop__site--gym .ws-site__nav { border-bottom-color: rgba(255, 91, 31, 0.2); }
.laptop__site--gym .ws-site__brand { color: #fff; }
.laptop__site--gym .ws-site__links { color: rgba(255, 255, 255, 0.55); }
.laptop__site--gym .ws-site__links li:last-child {
  color: #ff5b1f;
  border-color: #ff5b1f;
}
.laptop__site--gym .ws-site__eyebrow { color: #ff8c42; }
.laptop__site--gym .ws-site__title { color: #fff; }
.laptop__site--gym .ws-site__title em { color: #ff5b1f; }
.laptop__site--gym .ws-site__sub { color: rgba(255, 255, 255, 0.65); }
.laptop__site--gym .ws-site__btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.laptop__site--gym .ws-site__btn--p {
  background: linear-gradient(135deg, #ff5b1f, #ff8c42);
  color: #fff;
  border-color: transparent;
}
.laptop__site--gym .ws-site__strip span {
  background: linear-gradient(135deg, #2a2f38, #1a1d24);
  border: 1px solid rgba(255, 91, 31, 0.18);
}

/* ---------- The cafe website inside the laptop ---------- */
.ws-site__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(120, 90, 60, 0.14);
}
.ws-site__brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: #2d3b2a;
  letter-spacing: -0.01em;
}
.ws-site__links {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a7a6a;
  font-weight: 600;
}
.ws-site__links li:last-child {
  color: #2d3b2a;
  border: 1px solid #2d3b2a;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.18em;
}

.ws-site__hero {
  text-align: center;
  padding: 22px 0 14px;
}
.ws-site__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a6a4f;
  font-weight: 600;
  margin: 0 0 12px;
}
.ws-site__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #2d3b2a;
  margin: 0;
}
.ws-site__title em {
  font-style: italic;
  color: #5b7b54;
}
.ws-site__sub {
  font-size: 11.5px;
  color: #6a7a6a;
  margin: 12px 0 18px;
}
.ws-site__actions {
  display: inline-flex;
  gap: 8px;
  position: relative;
}
.ws-site__btn {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(120, 90, 60, 0.28);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: #2d3b2a;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 2;
}
.ws-site__btn--p {
  background: #2d3b2a;
  color: #fdf8f0;
  border-color: transparent;
}

.ws-site__strip {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.ws-site__strip span {
  flex: 1;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d8c9a8, #b0a07a);
}
.ws-site__strip span:nth-child(2) { background: linear-gradient(135deg, #c5b896, #8e7d5a); }
.ws-site__strip span:nth-child(3) { background: linear-gradient(135deg, #b6a888, #7a6a4a); }

/* Click ripple at the CTA — cyclic */
.ws-site__ripple {
  position: absolute;
  top: 58.5%;
  left: 39%;
  width: 80px;
  height: 80px;
  border: 2px solid #2d3b2a;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  animation: wsRipple 6s ease-out infinite;
  z-index: 1;
}
@keyframes wsRipple {
  0%, 58% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  62%     { transform: translate(-50%, -50%) scale(0.35); opacity: 0.55; }
  85%     { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
  100%    { opacity: 0; }
}

/* Mouse cursor animates toward the CTA, clicks, returns */
.ws-site__cursor {
  position: absolute;
  top: 78%;
  left: 28%;
  width: 18px;
  height: 18px;
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: wsCursor 6s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes wsCursor {
  0%, 8%   { transform: translate(0, 0) scale(1); }
  45%      { transform: translate(76px, -36px) scale(1); }
  58%      { transform: translate(76px, -36px) scale(0.78); }
  62%      { transform: translate(76px, -36px) scale(1); }
  80%, 100%{ transform: translate(0, 0) scale(1); }
}
.ws-site__cursor svg {
  width: 100%;
  height: 100%;
}

/* MacBook-style hinge + base */
.laptop__base {
  height: 18px;
  background:
    linear-gradient(180deg, #50535a 0%, #38393f 35%, #24262c 75%, #1a1c20 100%);
  border-radius: 0 0 24px 24px;
  position: relative;
  margin-top: -2px;
  transform: scaleX(1.04);
  transform-origin: top;
  box-shadow:
    0 36px 56px -10px rgba(20, 30, 60, 0.42);
}
.laptop__base::before {
  /* Hinge shadow at the top of the base */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}
.laptop__base::after {
  /* Trackpad notch */
  content: "";
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
  border-radius: 0 0 6px 6px;
}

/* ---------- Chat notification (pops up periodically) ---------- */
.workspace__notif {
  position: absolute;
  top: 5%;
  right: -4%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 25, 70, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 20px 36px -10px rgba(20, 30, 60, 0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  animation: wsNotif 9s ease-in-out infinite;
  z-index: 6;
  font-family: var(--font-sans);
}
@keyframes wsNotif {
  0%, 60%  { opacity: 0; transform: translateX(24px) scale(0.96); }
  66%      { opacity: 1; transform: translateX(0)    scale(1);    }
  88%      { opacity: 1; transform: translateX(0)    scale(1);    }
  94%, 100%{ opacity: 0; transform: translateX(8px)  scale(0.98); }
}
.notif__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}
.notif__text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.notif__text small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-mute);
}

/* ---------- Phone ---------- */
.workspace__phone {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  bottom: 2%;
  left: -3%;
  width: 32%;
  z-index: 4;
  animation: wsFloatB 11s ease-in-out infinite;
}
@keyframes wsFloatB {
  0%, 100% { transform: rotate(-7deg) translate(var(--plx), var(--ply)); }
  50%      { transform: rotate(-7deg) translate(var(--plx), calc(var(--ply) - 6px)); }
}

.phone__frame {
  background: #15171f;
  border-radius: 22px;
  padding: 4px;
  box-shadow:
    0 36px 50px -16px rgba(20, 30, 60, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone__screen {
  background: #fdf8f0;
  border-radius: 18px;
  padding: 22px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 235px;
}

/* Phone rotator — crossfade between businesses */
.phone__rotator {
  position: relative;
  min-height: 200px;
}
.phone__site {
  position: absolute;
  inset: 0;
  padding: 0 11px 11px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .8s cubic-bezier(.16,1,.3,1),
    transform .8s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.phone__site.is-active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}
.phone__site.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

/* Each phone site can override the bg + accent */
.phone__site--cafe   { background: #fdf8f0; }
.phone__site--dental { background: #fbfdff; }
.phone__site--barber { background: #14110d; }
.phone__site--gym    { background: #1a1d24; }

/* Dental phone — sky blue accents */
.phone__site--dental .phone__avatar { background: linear-gradient(135deg, #87b1e3, #2f6fdb); }
.phone__site--dental .phone__meta strong { color: #0d2645; }
.phone__site--dental .phone__meta small { color: #4a648b; }
.phone__site--dental .phone__bubble--in {
  background: rgba(15, 50, 110, 0.08);
  color: #0d2645;
}
.phone__site--dental .phone__bubble--out { background: #2f6fdb; color: #fff; }
.phone__site--dental .phone__typing { background: rgba(15, 50, 110, 0.08); }
.phone__site--dental .phone__typing span { background: rgba(13, 38, 69, 0.4); }
.phone__site--dental .phone__header { border-bottom-color: rgba(15, 50, 110, 0.12); }

/* Barber phone — gold + dark */
.phone__site--barber .phone__avatar { background: linear-gradient(135deg, #caa66a, #7a6240); }
.phone__site--barber .phone__meta strong { color: #caa66a; }
.phone__site--barber .phone__meta small { color: rgba(243, 235, 215, 0.6); }
.phone__site--barber .phone__bubble--in {
  background: rgba(202, 166, 106, 0.14);
  color: #f3ebd7;
}
.phone__site--barber .phone__bubble--out { background: #caa66a; color: #14110d; }
.phone__site--barber .phone__typing { background: rgba(202, 166, 106, 0.14); }
.phone__site--barber .phone__typing span { background: rgba(243, 235, 215, 0.5); }
.phone__site--barber .phone__header { border-bottom-color: rgba(202, 166, 106, 0.22); }

/* Gym phone — bright orange + dark */
.phone__site--gym .phone__avatar { background: linear-gradient(135deg, #ff8c42, #c2410c); }
.phone__site--gym .phone__meta strong { color: #fff; }
.phone__site--gym .phone__meta small { color: rgba(255, 255, 255, 0.6); }
.phone__site--gym .phone__bubble--in {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.phone__site--gym .phone__bubble--out {
  background: linear-gradient(135deg, #ff5b1f, #ff8c42);
  color: #fff;
}
.phone__site--gym .phone__typing { background: rgba(255, 255, 255, 0.08); }
.phone__site--gym .phone__typing span { background: rgba(255, 255, 255, 0.55); }
.phone__site--gym .phone__header { border-bottom-color: rgba(255, 91, 31, 0.22); }
.phone__notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 10px;
  background: #15171f;
  border-radius: 6px;
}
.phone__header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(120, 90, 60, 0.14);
  margin-bottom: 10px;
}
.phone__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b7b54, #2d3b2a);
  flex-shrink: 0;
}
.phone__meta strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 10px;
  font-weight: 500;
  color: #2d3b2a;
  letter-spacing: -0.005em;
}
.phone__meta small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  color: #6a7a6a;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}
.phone__online {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.phone__chat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone__bubble {
  font-size: 8.5px;
  padding: 5px 8px;
  border-radius: 10px;
  max-width: 80%;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.phone__bubble--in {
  background: rgba(120, 90, 60, 0.12);
  color: #2d3b2a;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.phone__bubble--out {
  background: #2d3b2a;
  color: #fdf8f0;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.phone__typing {
  display: inline-flex;
  gap: 3px;
  padding: 5px 7px;
  background: rgba(120, 90, 60, 0.12);
  border-radius: 10px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.phone__typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(45, 59, 42, 0.5);
  animation: phoneTyping 1.4s ease-in-out infinite;
}
.phone__typing span:nth-child(2) { animation-delay: 0.15s; }
.phone__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes phoneTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30%           { transform: translateY(-3px); opacity: 1; }
}

/* ---------- Coffee cup (top-down) with steam ---------- */
.workspace__coffee {
  --plx: 0px;
  --ply: 0px;
  position: absolute;
  bottom: 14%;
  right: 4%;
  width: 13%;
  z-index: 5;
  transform: translate(var(--plx), var(--ply));
  animation: wsCoffee 13s ease-in-out infinite;
}
@keyframes wsCoffee {
  0%, 100% { transform: translate(var(--plx), var(--ply)); }
  50%      { transform: translate(var(--plx), calc(var(--ply) - 2px)); }
}
.coffee__cup {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 240, 220, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, #6b3d22 0%, #4a2a15 60%, #2c1808 100%);
  border: 5px solid #fff;
  box-shadow:
    0 16px 26px -6px rgba(20, 30, 60, 0.4),
    inset 0 2px 6px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(120, 90, 60, 0.25);
  position: relative;
}
.coffee__cup::before {
  /* latte art swirl */
  content: "";
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 245, 220, 0.55) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(1px);
}

.coffee__steam {
  position: absolute;
  bottom: 92%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  pointer-events: none;
}
.coffee__steam span {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 65%);
  border-radius: 50%;
  filter: blur(3px);
  animation: coffeeSteam 4.5s ease-in-out infinite;
}
.coffee__steam span:nth-child(1) { left: 20%; animation-delay: 0s; }
.coffee__steam span:nth-child(2) { left: 50%; animation-delay: 1.5s; }
.coffee__steam span:nth-child(3) { left: 75%; animation-delay: 3s; }
@keyframes coffeeSteam {
  0%   { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
  25%  { opacity: 0.6; }
  100% { transform: translateY(-55px) translateX(8px) scale(1.6); opacity: 0; }
}

@media (max-width: 980px) {
  .workspace { max-width: 540px; }
}
@media (max-width: 600px) {
  .workspace__phone { width: 38%; left: -6%; }
  .workspace__coffee { width: 16%; }
  .workspace__notif { right: -2%; padding: 8px 12px; }
}

/* --- Browser frame --- */
.stage-browser {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 25, 70, 0.08);
  box-shadow:
    0 60px 100px -30px rgba(20, 40, 110, 0.32),
    0 28px 50px -20px rgba(20, 40, 110, 0.22);
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: stageFloatA 9s ease-in-out infinite;
}
@keyframes stageFloatA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.stage-browser__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f8fafd, #f1f4fb);
  border-bottom: 1px solid rgba(15, 25, 70, 0.06);
}
.stage-browser__chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d2d6e3;
}
.stage-browser__chrome span:nth-child(1) { background: #ff5f57; }
.stage-browser__chrome span:nth-child(2) { background: #febc2e; }
.stage-browser__chrome span:nth-child(3) { background: #28c840; }
.stage-browser__url {
  margin-left: 14px;
  flex: 1;
  background: #fff;
  border: 1px solid rgba(15, 25, 70, 0.08);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  color: var(--ink-mute);
  text-align: center;
  max-width: 220px;
  font-family: var(--font-sans);
}
.stage-browser__body {
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

/* --- Mini website inside the browser --- */
.stage-mini__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: clamp(18px, 3vw, 32px);
}
.stage-mini__logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stage-mini__links { display: flex; gap: 12px; flex: 1; justify-content: center; }
.stage-mini__links span { width: 36px; height: 7px; border-radius: 4px; background: rgba(15, 25, 70, 0.1); }
.stage-mini__cta {
  padding: 7px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.stage-mini__hero { text-align: center; padding: 8px 0 22px; }
.stage-mini__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stage-mini__title--alt em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stage-mini__sub {
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}
.stage-mini__actions {
  display: inline-flex;
  gap: 7px;
  margin-top: 12px;
}
.stage-mini__btn {
  display: inline-block;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  color: #fff;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 16px -6px rgba(124, 58, 237, 0.4);
}
.stage-mini__btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(15, 25, 70, 0.1);
  box-shadow: none;
}

.stage-mini__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.stage-mini__card {
  background: #fff;
  border: 1px solid rgba(15, 25, 70, 0.06);
  border-radius: 8px;
  padding: 10px;
  aspect-ratio: 1 / 0.85;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}
.stage-mini__card span {
  height: 5px;
  border-radius: 3px;
  background: rgba(15, 25, 70, 0.16);
}
.stage-mini__card span.short { width: 60%; background: rgba(15, 25, 70, 0.08); }

/* --- Phone frame, floats in front --- */
.stage-phone {
  position: absolute;
  bottom: -36px;
  right: -34px;
  width: 168px;
  background: #15171f;
  border-radius: 30px;
  padding: 5px;
  z-index: 2;
  box-shadow:
    0 50px 80px -22px rgba(20, 40, 110, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: stageFloatB 10s ease-in-out infinite;
  transform-origin: bottom right;
}
@keyframes stageFloatB {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50%      { transform: rotate(-7deg) translateY(-8px); }
}
@media (max-width: 600px) {
  .stage-phone { right: -12px; bottom: -18px; width: 140px; }
}

.stage-phone__screen {
  background: #fff;
  border-radius: 25px;
  padding: 22px 14px 12px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.stage-phone__notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 16px;
  background: #15171f;
  border-radius: 10px;
}
.stage-phone__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 18px;
}
.stage-phone__logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
}
.stage-phone__menu {
  width: 16px;
  height: 11px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.stage-phone__hero { padding: 0 0 12px; }
.stage-phone__title {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.stage-phone__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stage-phone__btn {
  display: inline-block;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}
.stage-phone__chat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  padding: 8px 10px;
  border-radius: 14px;
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  box-shadow: 0 10px 22px -6px rgba(124, 58, 237, 0.5);
}
.stage-phone__chat-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.stage-phone__chat-msg { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.stage-phone__chat-name {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stage-phone__chat-text {
  font-size: 10.5px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* ------------------------------------------------------------------
   Growth Scene — proof / why it matters
------------------------------------------------------------------- */
.section--growth { padding: clamp(80px, 11vw, 130px) 0; }

.growth {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 50px 90px -30px rgba(20, 40, 110, 0.32);
  overflow: hidden;
  position: relative;
}

.growth__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #f7f9fd, #eef2fb);
  border-bottom: 1px solid var(--line);
}
.growth__chrome > span { width: 11px; height: 11px; border-radius: 50%; }
.growth__chrome > span:nth-child(1) { background: #ff5f57; }
.growth__chrome > span:nth-child(2) { background: #febc2e; }
.growth__chrome > span:nth-child(3) { background: #28c840; }
.growth__url {
  margin-left: 14px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  max-width: 300px;
  font-family: var(--font-sans);
}
.growth__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf3;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.growth__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: liveDot 1.6s ease-in-out infinite;
}
@keyframes liveDot {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.6); opacity: 0.5; }
}

.growth__body { padding: clamp(28px, 3vw, 40px); }
.growth__head { margin-bottom: 28px; }
.growth__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.growth__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1;
}

.growth__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 640px) { .growth__metrics { grid-template-columns: 1fr; } }

.growth__metric {
  background: linear-gradient(180deg, #fafbfd 0%, #f3f6fc 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.growth__metric-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-weight: 600;
  text-transform: uppercase;
}
.growth__metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 12px;
}
.growth__metric-value {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.growth__metric-change {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.growth__metric-change.up { color: #047857; background: #ecfdf3; }
.growth__metric-bar {
  height: 4px;
  background: rgba(15, 25, 70, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.growth__metric-bar > div {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-violet));
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  animation: growthBar 1.8s cubic-bezier(.22,.61,.36,1) 0.4s forwards;
}
@keyframes growthBar { to { transform: scaleX(1); } }

.growth__split {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
}
@media (max-width: 880px) { .growth__split { grid-template-columns: 1fr; } }

.growth__chart-wrap {
  background: #fafbfd;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.growth__chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
}
.growth__chart-head > span:first-child { font-weight: 600; color: var(--ink); }
.growth__chart-current { color: #047857; font-weight: 700; }
.growth__chart-svg { width: 100%; height: 180px; display: block; }
.growth__chart-line {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: chartDraw 2.4s cubic-bezier(.22,.61,.36,1) 0.6s forwards;
}
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
.growth__chart-area {
  opacity: 0;
  animation: chartArea 1.4s ease-out 1.6s forwards;
}
@keyframes chartArea { to { opacity: 1; } }
.growth__chart-end {
  opacity: 0;
  animation: chartEnd 0.6s ease-out 2.6s forwards;
}
@keyframes chartEnd { to { opacity: 1; } }

.growth__feed {
  background: #fafbfd;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.growth__feed-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.growth__feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.growth__feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  animation: feedIn .5s cubic-bezier(.16,1,.3,1);
}
.growth__feed-item--exit { animation: feedOut .4s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes feedOut {
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}
.growth__feed-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.growth__feed-icon--booking { background: #ecfdf3; color: #047857; }
.growth__feed-icon--chat    { background: var(--accent-soft); color: var(--accent); }
.growth__feed-icon--lead    { background: #fff1f2; color: #c2185b; }
.growth__feed-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.growth__feed-text strong {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.growth__feed-text small {
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.growth__feed-time {
  font-size: 10.5px;
  color: var(--ink-mute);
  font-weight: 500;
  white-space: nowrap;
}

.growth__sweep {
  position: absolute;
  top: 0;
  left: -40%;
  width: 35%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(124, 58, 237, 0.07), transparent 70%);
  pointer-events: none;
  animation: growthSweep 9s ease-in-out infinite;
  z-index: 1;
}
@keyframes growthSweep {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(400%); }
  100% { transform: translateX(400%); }
}

/* ============ Demo layout (capability steps + live chat) ============ */
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) { .demo { grid-template-columns: 1fr; } }

.demo__steps {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
@media (max-width: 880px) {
  .demo__steps { border-right: 0; border-bottom: 1px solid var(--line); }
}
.demo__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.demo__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 28px;
}

.demo__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.demo__step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  transition:
    background .5s var(--ease),
    border-color .5s var(--ease),
    transform .5s var(--ease);
}
.demo__step.is-active {
  background: linear-gradient(180deg, #fafbfd, #f3f6fc);
  border-color: rgba(47, 78, 214, 0.18);
  transform: translateX(2px);
}
.demo__step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-mute);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  transition: all .4s var(--ease);
  flex-shrink: 0;
}
.demo__step.is-active .demo__step-num {
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px -8px rgba(124, 58, 237, 0.45);
}
.demo__step-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.demo__step-text small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.demo__disclaimer {
  margin: 0;
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Chat playback — mirrors our real Business Assistant ---------- */
.demo__chat {
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
}
@media (max-width: 880px) { .demo__chat { border-left: 0; border-top: 1px solid var(--line); } }

.demo__chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #2f4ed6 0%, #5d4ee0 55%, #7c3aed 100%);
  color: #fff;
}
.demo__chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo__chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}
.demo__chat-avatar svg { width: 100%; height: 100%; }
.demo__chat-brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  font-family: var(--font-sans);
}
.demo__chat-brand-text span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 3px;
}
.demo__chat-online {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
  animation: demoOnline 2.4s ease-in-out infinite;
}
@keyframes demoOnline {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28); }
  50%      { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.06); }
}

.demo__chat-body {
  flex: 1;
  padding: 18px;
  background: #f4f6fd;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  min-height: 320px;
}

.demo__bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  word-wrap: break-word;
  font-family: var(--font-sans);
  animation: demoBubbleIn .45s cubic-bezier(.16, 1, .3, 1);
}
@keyframes demoBubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.demo__bubble--bot {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  box-shadow: 0 4px 14px -8px rgba(20, 40, 110, 0.18);
}
.demo__bubble--user {
  background: linear-gradient(135deg, #2f4ed6 0%, #5d4ee0 55%, #7c3aed 100%);
  color: #fff;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
  box-shadow: 0 8px 18px -8px rgba(124, 58, 237, 0.4);
}
.demo__typing-bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  box-shadow: 0 4px 14px -8px rgba(20, 40, 110, 0.18);
  animation: demoBubbleIn .35s cubic-bezier(.16, 1, .3, 1);
}
.demo__typing-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(15, 25, 70, 0.35);
  animation: demoTypingDot 1.3s ease-in-out infinite;
}
.demo__typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
.demo__typing-bubble span:nth-child(3) { animation-delay: 0.3s; }
@keyframes demoTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

/* Suggestion chips — same as our real chatbot */
.demo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  margin-left: 4px;
  animation: demoBubbleIn .5s .15s cubic-bezier(.16, 1, .3, 1) both;
}
.demo__chip {
  border: 1px solid rgba(47, 78, 214, 0.22);
  background: #fff;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  cursor: default;
  transition:
    background .35s var(--ease),
    transform .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease);
}
.demo__chip.is-highlight {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 78, 214, 0.12);
}
.demo__chips.is-out {
  animation: demoChipsOut .35s ease-in forwards;
}
@keyframes demoChipsOut {
  to { opacity: 0; transform: translateY(-6px); pointer-events: none; }
}

/* Faux input bar at the bottom — matches our chatbot */
.demo__chat-form {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.demo__chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--ink-mute);
  background: var(--bg-soft, #f4f6fd);
  font-family: var(--font-sans);
}
.demo__chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f4ed6 0%, #5d4ee0 55%, #7c3aed 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 22px -8px rgba(124, 58, 237, 0.55);
}
.demo__chat-send svg { width: 16px; height: 16px; }

/* ------------------------------------------------------------------
   Shared white card surface
------------------------------------------------------------------- */
.card,
.service,
.what__item,
.who__item,
.why__item,
.faq__item,
.plan,
.sample {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}

/* ------------------------------------------------------------------
   Services
------------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 1080px) { .services { grid-template-columns: 1fr; } }

.service { padding: 40px 36px; }
.service:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-md);
}
.service__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.service__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(47, 78, 214, 0.15);
}
.service h3 { font-size: 26px; margin: 0 0 12px; letter-spacing: -0.02em; }
.service > p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  background: var(--gradient);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(124, 58, 237, 0.5);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------
   What You Get
------------------------------------------------------------------- */
.what {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 980px) { .what { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .what { grid-template-columns: 1fr; } }

.what__item { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.what__item:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow-md);
}
.what__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 78, 214, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 6px;
}
.what__item h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.what__item p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.what__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
}
.what__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.what__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ------------------------------------------------------------------
   Who We Work With
------------------------------------------------------------------- */
.who {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 880px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .who { grid-template-columns: 1fr; } }

.who__item { padding: 30px; }
.who__item:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow-md);
}
.who__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 78, 214, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.who__item h4 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.who__item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ------------------------------------------------------------------
   Sample Projects — outer card
------------------------------------------------------------------- */
.samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 980px) { .samples { grid-template-columns: 1fr; } }

.sample {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sample:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-md);
}
.sample__chip {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.sample__preview {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
}
.sample__chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.sample__chrome span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #d2d6e3;
}
.sample__chrome span:first-child { background: #ff5f57; }
.sample__chrome span:nth-child(2) { background: #febc2e; }
.sample__chrome span:nth-child(3) { background: #28c840; }

.sample__meta { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sample__meta h4 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sample__meta p { margin: 0; color: var(--ink-soft); font-size: 14px; flex: 1; }
.sample__cat {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 5px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 6px;
}
.samples__note {
  margin: 32px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
  max-width: 720px;
  letter-spacing: 0.01em;
}

/* ============ Sample 1 — DENTAL: clean, bright, medical ============ */
.sd { background: #fafcff; flex: 1; position: relative; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.sd::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px 220px at 50% -20%, #e9f2ff 0%, transparent 70%);
  pointer-events: none;
}
.sd__brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: #0d1430;
  position: relative;
}
.sd__brand-mark {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #76a9ff, #2f6fdb);
}
.sd__hero { text-align: center; margin-top: auto; margin-bottom: auto; position: relative; }
.sd__h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.1;
  color: #0d1430;
  letter-spacing: -0.01em;
}
.sd__sub {
  font-size: 11px;
  color: #5b6680;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.sd__btn {
  display: inline-block;
  margin-top: 12px;
  background: #2f6fdb;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(47, 111, 219, 0.6);
}
.sd__row {
  display: flex; gap: 6px; justify-content: center;
  margin-top: auto;
  position: relative;
}
.sd__pill {
  font-size: 10px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #dde6ff;
  color: #4a5478;
  border-radius: 999px;
  font-weight: 500;
}

/* ============ Sample 2 — BARBER: dark, bold, masculine ============ */
.sb {
  background: #0e0d0c;
  background-image:
    radial-gradient(circle at 100% 100%, rgba(202, 166, 106, 0.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  flex: 1;
  position: relative;
  padding: 24px 22px;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 18px;
  color: #f5f1e8;
}
.sb__strap {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: #caa66a;
  text-transform: uppercase;
  align-self: end;
  font-weight: 600;
}
.sb__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.sb__top {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(245, 241, 232, 0.55);
  text-transform: uppercase;
  font-weight: 600;
}
.sb__h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #f5f1e8;
}
.sb__h1 span { color: #caa66a; }
.sb__tag {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  margin-top: 8px;
  font-weight: 600;
}
.sb__btn {
  display: inline-flex;
  align-items: center;
  background: #caa66a;
  color: #0e0d0c;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  padding: 9px 14px;
  text-transform: uppercase;
  border-radius: 0;
  align-self: flex-start;
}
.sb__services {
  display: flex; gap: 14px;
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.7);
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
}
.sb__services span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: #caa66a;
}

/* ============ Sample 3 — GYM: high energy, bold, fitness ============ */
.sg {
  background: #15171c;
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 220%;
  background: linear-gradient(135deg, #ff5b1f 0%, #ff8a3d 100%);
  transform: rotate(-22deg) translate(-30%, -30%);
  z-index: 0;
  opacity: 0.95;
}
.sg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.sg__top {
  position: relative; z-index: 2;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}
.sg__h1 {
  position: relative; z-index: 2;
  font-weight: 800;
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
  margin-top: auto;
}
.sg__h1 span { color: #15171c; -webkit-text-stroke: 1px #fff; }
.sg__sub {
  position: relative; z-index: 2;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffe7d6;
  font-weight: 600;
}
.sg__cta {
  position: relative; z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #15171c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 9px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  align-self: flex-start;
}
.sg__stats {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}
.sg__stat {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.sg__stat strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sg__stat small {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Process timeline
------------------------------------------------------------------- */
.process {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  gap: 4px;
}
.process li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding .4s var(--ease);
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li:hover { padding-left: 10px; }
.process__step {
  font-family: var(--font-serif);
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 44px;
  line-height: 1;
}
.process h4 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.process p { margin: 0; color: var(--ink-soft); }
@media (max-width: 620px) {
  .process li { grid-template-columns: 1fr; gap: 8px; }
}

/* ------------------------------------------------------------------
   Why Us
------------------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

.why__item { padding: 30px; }
.why__item:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: var(--shadow-md);
}
.why__item h4 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.why__item p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------- */
.faq {
  margin-top: 56px;
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq__item { padding: 22px 26px; }
.faq__item[open] { border-color: rgba(124, 58, 237, 0.3); box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--ink-mute);
  transition: transform .35s var(--ease), color .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq__item p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 70ch; }

/* ------------------------------------------------------------------
   Final CTA
------------------------------------------------------------------- */
.section--cta { text-align: center; }
.contact-cta {
  display: inline-flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ------------------------------------------------------------------
   Contact form — glassmorphism, conversion-focused
------------------------------------------------------------------- */
.section--contact-form { padding-top: clamp(80px, 11vw, 130px); }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-copy h2 { margin-top: 10px; }
.contact-copy .lede { margin-top: 18px; }

.contact-trust {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 18px;
}
.contact-trust li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-trust__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 78, 214, 0.18);
}
.contact-trust__icon svg { width: 17px; height: 17px; }
.contact-trust strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.contact-trust small {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.45;
}

/* --- Glass card --- */
.contact-card {
  position: relative;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  box-shadow:
    0 36px 80px -32px rgba(20, 40, 110, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(28px, 3vw, 40px);
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 78, 214, 0.35), rgba(124, 58, 237, 0.15) 50%, transparent 80%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* --- Form layout --- */
.contact-form {
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .contact-row { grid-template-columns: 1fr; }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.contact-field label svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  opacity: 0.75;
}
.contact-field label .contact-optional {
  color: var(--ink-mute);
  font-weight: 500;
  margin-left: 2px;
}

.contact-field input,
.contact-field textarea {
  font-family: inherit;
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition:
    border-color .2s var(--ease),
    box-shadow .25s var(--ease),
    background .2s var(--ease);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--ink-mute);
}
.contact-field input:hover,
.contact-field textarea:hover {
  border-color: var(--line-2);
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(47, 78, 214, 0.5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 78, 214, 0.12);
}
.contact-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5;
}

/* --- Service-interest pill toggles --- */
.contact-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 540px) {
  .contact-pills { grid-template-columns: 1fr; }
}
.contact-pill {
  position: relative;
  cursor: pointer;
}
.contact-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-pill__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition:
    border-color .2s var(--ease),
    background .2s var(--ease),
    color .2s var(--ease),
    transform .2s var(--ease);
}
.contact-pill__inner svg {
  width: 16px;
  height: 16px;
  color: var(--ink-mute);
  transition: color .2s var(--ease);
}
.contact-pill:hover .contact-pill__inner {
  border-color: rgba(47, 78, 214, 0.35);
  transform: translateY(-1px);
}
.contact-pill input:checked ~ .contact-pill__inner {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-pill input:checked ~ .contact-pill__inner svg { color: var(--accent); }
.contact-pill input:focus-visible ~ .contact-pill__inner {
  box-shadow: 0 0 0 4px rgba(47, 78, 214, 0.18);
}

/* --- Preferred contact methods (1st / 2nd choice) --- */
.contact-prefs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .contact-prefs { grid-template-columns: 1fr; gap: 14px; }
}
.contact-prefs__col { display: flex; flex-direction: column; gap: 8px; }
.contact-prefs__rank {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
}
/* tighter pills since there are two groups */
.contact-pills--3 { gap: 8px; }
.contact-pills--3 .contact-pill__inner {
  padding: 11px 8px;
  font-size: 13px;
  gap: 6px;
  flex-direction: column;
}
.contact-pills--3 .contact-pill__inner svg { width: 17px; height: 17px; }
@media (max-width: 540px) {
  /* keep the 3 methods in a row even on mobile (they're short) */
  .contact-pills--3 { grid-template-columns: repeat(3, 1fr); }
}
/* disabled pill = already used as the other choice */
.contact-pill.is-disabled { cursor: not-allowed; }
.contact-pill.is-disabled .contact-pill__inner {
  opacity: 0.4;
  pointer-events: none;
}

/* --- Submit + loading + trust + error --- */
.contact-submit {
  margin-top: 8px;
  position: relative;
  width: 100%;
}
.contact-submit__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cfSpin 0.8s linear infinite;
}
.contact-submit.is-loading { pointer-events: none; opacity: 0.85; }
.contact-submit.is-loading .contact-submit__label { display: none; }
.contact-submit.is-loading .contact-submit__spinner { display: inline-block; }
@keyframes cfSpin { to { transform: rotate(360deg); } }

.contact-trust-line {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: -0.005em;
}
.contact-trust-line svg {
  width: 13px;
  height: 13px;
  color: var(--ink-mute);
}

.contact-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.45;
}
.contact-error.is-visible { display: block; }

/* --- Success state --- */
.contact-success {
  text-align: center;
  padding: 32px 12px 18px;
  position: relative;
  z-index: 1;
  animation: cfSuccessIn .5s var(--ease-out);
}
.contact-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 16px 36px -10px rgba(16, 185, 129, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.contact-success__icon svg { width: 30px; height: 30px; }
.contact-success h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.contact-success p {
  margin: 0 auto;
  color: var(--ink-soft);
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.5;
}
@keyframes cfSuccessIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Direct contact strip (below the form) --- */
.contact-direct {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(36px, 4vw, 48px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact-direct__intro {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0 0 24px;
}
.contact-direct__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}
@media (max-width: 640px) {
  .contact-direct__items { grid-template-columns: 1fr; }
}
.contact-direct__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition:
    transform .25s var(--ease),
    border-color .25s var(--ease),
    box-shadow .3s var(--ease);
}
.contact-direct__item:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 78, 214, 0.35);
  box-shadow: var(--shadow-md);
}
.contact-direct__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 78, 214, 0.15);
}
.contact-direct__icon svg { width: 20px; height: 20px; }
.contact-direct__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-direct__text strong {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  word-break: break-word;
}
.contact-direct__text small {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.contact-direct__badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(47, 78, 214, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------
   Plans page
------------------------------------------------------------------- */
.plans-hero {
  padding: 170px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.plans-hero .h1 { margin-top: 12px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.plans-hero .lede { margin-top: 24px; }

.section--plans { padding-top: 60px; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 36px 80px -36px rgba(124, 58, 237, 0.55);
}
.plan--featured:hover { transform: translateY(-8px); box-shadow: 0 50px 100px -32px rgba(124, 58, 237, 0.65); }
.plan--featured .plan__tag { color: rgba(255,255,255,0.85); }
.plan--featured .plan__pitch,
.plan--featured .plan__label,
.plan--featured .plan__list li { color: rgba(255,255,255,0.9); }
.plan--featured .plan__name,
.plan--featured .plan__money { color: #fff; }
.plan--featured .plan__money small { color: rgba(255,255,255,0.7); }
.plan--featured .plan__price { border-color: rgba(255,255,255,0.18); }
.plan--featured .plan__list li::before { background: rgba(255,255,255,0.18); }
.plan--featured .plan__list li::after { border-color: #fff; }

.plan__ribbon {
  position: absolute;
  top: 0; right: 28px;
  transform: translateY(-50%);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.plan__tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.plan__name { margin: 10px 0 6px; font-size: 28px; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
.plan__pitch { margin: 0; color: var(--ink-soft); font-size: 15px; min-height: 48px; }

.plan__price {
  margin: 26px 0 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.plan__setup, .plan__monthly { display: flex; flex-direction: column; gap: 4px; }
.plan__money { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.plan__money small { font-size: 14px; font-weight: 500; color: var(--ink-mute); margin-left: 2px; }
.plan__label { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em; }

.plan__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.plan__old {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(138, 147, 179, 0.7);
  letter-spacing: -0.01em;
}
.plan__save {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: #047857;
  background: #ecfdf3;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  max-width: 100%;
}

.plan--featured .plan__old {
  color: rgba(255,255,255,0.55);
  text-decoration-color: rgba(255,255,255,0.45);
}
.plan--featured .plan__save {
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
}

/* Launch pill — sits above the H1 on the pricing hero */
.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.launch-pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: launchPulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes launchPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
  50%     { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0.05); }
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.plan__list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan--featured .btn--primary { background: #fff; color: var(--accent); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.3); }
.plan--featured .btn--primary:hover { background: #f1f4ff; color: var(--accent-2); }

.plans__fineprint {
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 640px;
}

.section--faq { padding-bottom: 80px; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  position: relative;
  z-index: 2;
}
.foot__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.foot__brand-name { display: inline-flex; flex-direction: column; line-height: 1.1; font-size: 15px; }
.foot__brand-name small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.foot__nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.foot__nav a:hover { color: var(--ink); }
.foot__copy { color: var(--ink-mute); font-size: 13px; margin: 0; }

/* ------------------------------------------------------------------
   Reveal animation
------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .7s var(--ease-out),
    transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

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