/* Purple Agents: Futuristic Soft 3D / Lavender Glassmorphism */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/sora-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/sora-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/sora-latin-500-normal.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --off: #fbfaff;
  --lav-50: #f3efff;
  --lav-100: #e6deff;
  --lav-300: #c9b8ff;
  --violet: #7c4dff;
  --violet-btn: #6a3df0;
  --violet-deep: #5a2fd6;
  --ink: #1e1638;
  --ink-soft: #554d6b;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --rim: rgba(255, 255, 255, 0.95);
  --glow: 0 30px 80px -20px rgba(124, 77, 255, 0.28), 0 10px 30px -12px rgba(124, 77, 255, 0.18);
  --glow-sm: 0 16px 40px -18px rgba(124, 77, 255, 0.35);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --gutter: 20px;
  --maxw: 1120px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--off);
  color: var(--ink);
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
a:hover { color: var(--violet-btn); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 {
  font-weight: 300;
  font-size: clamp(2.35rem, 8.4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
h2 {
  font-weight: 300;
  font-size: clamp(1.9rem, 5.6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h3 {
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
p { margin: 0; }
.lead { color: var(--ink-soft); font-size: clamp(1.06rem, 2.6vw, 1.25rem); line-height: 1.6; }
.muted { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--lav-300) 55%, var(--violet) 100%);
  box-shadow: 0 0 12px rgba(124, 77, 255, 0.5);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 16px 30px; max-width: 100%; text-align: center;
  border-radius: 999px;
  font: 500 1.02rem/1.2 "Sora", system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #7a4cfb 0%, var(--violet-btn) 50%, var(--violet-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -8px 18px rgba(60, 20, 170, 0.25),
    0 18px 40px -14px rgba(106, 61, 240, 0.7),
    0 0 0 6px rgba(201, 184, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -8px 18px rgba(60, 20, 170, 0.25),
    0 24px 50px -14px rgba(106, 61, 240, 0.8),
    0 0 0 8px rgba(201, 184, 255, 0.45); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-note { margin-top: 18px; font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0.02em; }

/* ---------- Sections ---------- */

section { position: relative; padding: clamp(80px, 13vw, 150px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 8vw, 80px); }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* soft background blobs: static gradients, no filters */
.blob {
  position: absolute; z-index: -1; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 184, 255, 0.55) 0%, rgba(230, 222, 255, 0.35) 40%, rgba(251, 250, 255, 0) 70%);
}

/* ---------- Header ---------- */

.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding: 18px 0;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; letter-spacing: 0.08em; font-size: 0.95rem;
  color: var(--ink); text-decoration: none;
}
.brand-star { width: 34px; height: 34px; filter: drop-shadow(0 6px 10px rgba(124, 77, 255, 0.3)); }
.top-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-soft); }
.lang a { color: var(--ink-soft); text-decoration: none; padding: 8px 6px; border-radius: 8px; }
.lang a[aria-current] { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.top-link {
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--violet-deep); text-decoration: none;
  padding: 10px 18px; border-radius: 999px;
  background: var(--glass-strong);
  box-shadow: inset 0 0 0 1px var(--rim), var(--glow-sm);
}

/* ---------- Hero ---------- */

.hero { padding-top: 110px; padding-bottom: clamp(70px, 10vw, 120px); overflow: hidden; }
.hero .blob.b1 { width: 720px; height: 720px; top: -260px; right: -300px; }
.hero .blob.b2 { width: 520px; height: 520px; top: 380px; left: -280px; opacity: 0.8; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 22px; max-width: 34rem; }
.hero .cta { margin-top: 34px; }

.stage { position: relative; display: flex; justify-content: center; padding: 20px 0 10px; min-width: 0; }
.stage-orb {
  position: absolute; z-index: 0;
  width: 380px; height: 380px; top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 50% 55%, #e9e1ff 0%, #d6c8ff 45%, rgba(170, 140, 255, 0.55) 70%, rgba(251, 250, 255, 0) 72%);
}

/* The glass phone (illustration) */
.phone {
  position: relative; z-index: 2;
  width: min(330px, 86vw);
  margin: 0;
  padding: 14px;
  border-radius: 48px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(236, 229, 255, 0.45));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1.5px var(--rim),
    inset 0 2px 16px rgba(255, 255, 255, 0.9),
    inset 0 -18px 40px rgba(201, 184, 255, 0.35),
    0 50px 90px -30px rgba(106, 61, 240, 0.45),
    0 20px 40px -20px rgba(106, 61, 240, 0.3);
}
.phone::before { /* specular sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.35) 100%);
}
.screen {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(201, 184, 255, 0.45);
  padding: 14px 14px 18px;
  overflow: hidden;
}
.notch { width: 92px; height: 22px; margin: 0 auto 10px; border-radius: 999px; background: linear-gradient(180deg, #ebe4ff, #ddd2ff); }
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 4px 12px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(201, 184, 255, 0.45);
}
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ece5ff 30%, var(--lav-300) 65%, var(--violet) 100%);
}
.chat-name { font-size: 0.82rem; font-weight: 500; line-height: 1.25; }
.chat-sub { font-size: 0.7rem; color: var(--ink-soft); }

.msgs { display: flex; flex-direction: column; gap: 9px; }
.msg {
  max-width: 86%;
  font-size: 0.8rem; line-height: 1.45;
  padding: 9px 12px 7px;
  border-radius: 18px;
  color: var(--ink);
}
.msg time { display: block; text-align: right; font-size: 0.64rem; color: var(--ink-soft); margin-top: 2px; }
.msg.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 4px 14px -8px rgba(90, 47, 214, 0.35), inset 0 0 0 1px rgba(230, 222, 255, 0.9); }
.msg.out { align-self: flex-end; background: linear-gradient(160deg, #f1ecff, #e4daff); border-bottom-right-radius: 6px; box-shadow: 0 4px 14px -8px rgba(90, 47, 214, 0.35), inset 0 1px 0 #fff; }
.msg .who { display: block; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-deep); margin-bottom: 2px; }

.illus-tag {
  position: absolute; z-index: 3; bottom: -2px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 7px 14px; border-radius: 999px;
  background: var(--glass-strong);
  box-shadow: inset 0 0 0 1px var(--rim), var(--glow-sm);
  white-space: nowrap;
}

.float-obj { position: absolute; z-index: 3; }
.float-obj.f1 { width: 92px; top: 6%; left: calc(50% - 215px); }
.float-obj.f2 { width: 84px; bottom: 16%; right: calc(50% - 215px); }

/* ---------- 3D objects ---------- */

.obj { width: 112px; height: 112px; filter: drop-shadow(0 18px 22px rgba(124, 77, 255, 0.22)); }
.obj-lg { width: 140px; height: 140px; }

.float { animation: float 7s ease-in-out infinite; }
.float.d1 { animation-delay: -2s; animation-duration: 8s; }
.float.d2 { animation-delay: -4s; animation-duration: 9s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1.5deg); }
}

/* ---------- Portrait (analysis section only) ---------- */

.portrait {
  position: relative; margin: 0;
  width: min(300px, 100%);
  padding: 12px 12px 18px;
  border-radius: 44px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(230, 222, 255, 0.6));
  box-shadow:
    inset 0 0 0 1.5px var(--rim),
    inset 0 -20px 40px rgba(201, 184, 255, 0.4),
    0 40px 80px -30px rgba(106, 61, 240, 0.45);
}
.portrait::after { /* glass sheen over the frame */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 30%);
}
.portrait img { width: 100%; height: auto; border-radius: 34px; }
.portrait figcaption { margin-top: 14px; padding: 0 8px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.portrait .quote { color: var(--ink); font-weight: 500; }

/* ---------- Split sections (text + one visual) ---------- */

.split { display: grid; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split h2 { margin-bottom: 30px; }

.pains { overflow: hidden; }
.pains .blob { width: 640px; height: 640px; right: -320px; top: 10%; }
.inline-cta { margin-top: 22px; }
.inline-cta a { font-weight: 500; }

.how { background: linear-gradient(180deg, var(--off) 0%, var(--lav-50) 100%); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; max-width: 34rem; }
.steps li { position: relative; padding-left: 58px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 500; font-size: 0.95rem; color: var(--violet-deep);
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--lav-50) 45%, var(--lav-100) 100%);
  box-shadow: inset 0 0 0 1px var(--rim), 0 8px 18px -8px rgba(124, 77, 255, 0.6);
}
.steps p { margin-top: 6px; color: var(--ink-soft); }

/* Illustration slots (img/*.webp) and their CSS/SVG fallbacks */
.slot { position: relative; margin: 0; display: grid; place-items: center; min-height: 300px; }
.slot img { width: min(420px, 100%); height: auto; }
.slot-orb {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 50% 55%, #eee8ff 0%, #dcd0ff 50%, rgba(201, 184, 255, 0.5) 70%, rgba(251, 250, 255, 0) 72%);
}
.obj-xl { position: relative; width: 190px; height: 190px; }
.missed {
  position: absolute; top: 18%; left: calc(50% + 30px);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; color: var(--violet-deep);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--rim), var(--glow-sm);
}
.trio .obj { position: absolute; }
.trio .t1 { width: 120px; height: 120px; left: calc(50% - 150px); top: 30px; }
.trio .t2 { width: 110px; height: 110px; left: calc(50% - 40px); top: 110px; }
.trio .t3 { width: 120px; height: 120px; left: calc(50% + 40px); top: 20px; }

/* ---------- Timelines (problem + scene) ---------- */

.scene { overflow: hidden; }
.scene .blob { width: 600px; height: 600px; left: -300px; top: 30%; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; max-width: 640px; }
.beats li { display: grid; gap: 8px; justify-items: start; }
.beats time {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; color: var(--violet-deep);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--rim), var(--glow-sm);
}
.beats li > div, .beats li > p { max-width: 36rem; }
.summary {
  margin-top: 16px; padding: 20px 22px 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff, #f1ecff);
  box-shadow: inset 0 0 0 1px var(--rim), inset 0 -12px 24px rgba(201, 184, 255, 0.3), var(--glow);
}
.summary-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-deep); margin-bottom: 8px; }
.summary p { font-size: 0.98rem; }
.closing { margin-top: 44px; font-size: clamp(1.3rem, 3.6vw, 1.7rem); font-weight: 300; letter-spacing: 0.01em; }

/* ---------- Promises ---------- */

.scope { background: linear-gradient(180deg, var(--off), var(--white)); }
.promise { max-width: 760px; }
.promise h2 { margin-bottom: 30px; }
.small-print { margin-top: 26px; font-size: 0.92rem; color: var(--ink-soft); max-width: 36rem; }
.small-print strong { font-weight: 500; color: var(--ink); }
.promise .proof-line { margin: 44px 0 0; text-align: left; font-size: clamp(1.2rem, 3.4vw, 1.6rem); }
.promise .cta, .how .cta { margin-top: 34px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.tick {
  width: 30px; height: 30px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ece5ff 35%, var(--lav-300) 75%, #a080ff 100%);
  box-shadow: 0 6px 14px -6px rgba(124, 77, 255, 0.6), inset 0 -2px 4px rgba(90, 47, 214, 0.2);
}
.tick svg { width: 14px; height: 14px; }
.tick.no { background: radial-gradient(circle at 32% 28%, #fff 0%, #f5f2fb 45%, #dcd6ea 100%); box-shadow: 0 6px 14px -8px rgba(60, 50, 90, 0.5), inset 0 -2px 4px rgba(60, 50, 90, 0.12); }
.ticks strong { font-weight: 500; }
.ticks span.muted { display: block; font-size: 0.95rem; }

/* ---------- Proof ---------- */

.proof { padding: clamp(60px, 10vw, 110px) 0; }
.proof-line {
  max-width: 820px;
  font-size: clamp(1.3rem, 3.8vw, 2rem); font-weight: 300; line-height: 1.4; letter-spacing: 0.01em;
}
.proof-line strong { font-weight: 500; color: var(--violet-deep); }

/* ---------- Analysis ---------- */

.analysis { overflow: hidden; }
.analysis .blob { width: 700px; height: 700px; right: -260px; top: -120px; }
.analysis-card {
  position: relative;
  display: grid; gap: 40px; align-items: center;
  max-width: 1000px; margin: 0 auto;
  padding: 36px 24px 44px;
  border-radius: 44px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(243, 239, 255, 0.9));
  box-shadow: inset 0 0 0 1.5px var(--rim), inset 0 -30px 60px rgba(201, 184, 255, 0.35), var(--glow);
}
.analysis-card .portrait { justify-self: center; }
.analysis-card .ticks { margin: 28px 0 36px; }
.analysis-card h2 { max-width: 16ch; }

/* ---------- FAQ ---------- */

.faq { background: linear-gradient(180deg, var(--white), var(--off)); }
.faq-list { max-width: 780px; display: grid; gap: 14px; }
details {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px var(--rim), var(--glow-sm);
}
summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px;
  font-weight: 500; letter-spacing: 0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 400; font-size: 1.2rem; color: var(--violet-deep);
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--lav-50) 45%, var(--lav-100) 100%);
  box-shadow: inset 0 0 0 1px var(--rim), 0 6px 14px -8px rgba(124, 77, 255, 0.6);
}
details[open] summary::after { content: "\2212"; }
details p { padding: 0 24px 24px; color: var(--ink-soft); }

/* ---------- Final CTA ---------- */

.final { text-align: center; overflow: hidden; }
.final .blob { width: 820px; height: 820px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.final .obj { margin: 0 auto 26px; }
.final h2 { max-width: 16ch; margin: 0 auto; }
.final .lead { margin: 20px auto 0; max-width: 32rem; }
.final .cta { margin-top: 36px; }
.contact { margin-top: 26px; color: var(--ink-soft); }
.contact a { font-weight: 500; }

/* ---------- Footer ---------- */

footer {
  padding: 36px 0 44px;
  border-top: 1px solid rgba(201, 184, 255, 0.45);
  font-size: 0.9rem; color: var(--ink-soft);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--ink-soft); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 22px; height: 22px; }

/* ---------- Legal pages ---------- */

.legal { padding: 120px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; font-weight: 500; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; color: var(--ink); }

/* ---------- Larger screens ---------- */

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .analysis-card { padding: 64px 56px; }
  .analysis-card { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .split-rev { grid-template-columns: 0.9fr 1.1fr; }
  .slot { min-height: 380px; }
}
@media (min-width: 980px) {
  .hero { padding-top: 140px; }
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 40px; }
  .hero h1 { font-size: 3.7rem; max-width: 15ch; }
  .stage-orb { width: 460px; height: 460px; }
  .float-obj.f1 { left: -64px; top: 2%; }
  .float-obj.f2 { right: -40px; }
}
@media (max-width: 979px) {
  .stage { padding-top: 44px; }
  .float-obj.f1 { top: -6px; left: calc(50% - 190px); width: 76px; }
  .float-obj.f2 { right: calc(50% - 196px); width: 70px; }
}
@media (max-width: 420px) {
  .float-obj.f1 { left: -4px; }
  .float-obj.f2 { right: -8px; }
  .btn { padding: 16px 22px; gap: 10px; font-size: 0.98rem; }
  .analysis-card { padding: 30px 18px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .btn { transition: none; }
}

/* ---------- Client logo marquee (CSS only) ----------
   Three identical lists side by side; each moves left by its own width, so the loop is seamless
   for any number of logos. Adding a logo = adding one <li> to each list. */

.logos { padding: 8px 0 clamp(56px, 9vw, 96px); }
.logos-label {
  margin: 0 0 22px; text-align: center;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee {
  --logo-h: 38px; --logo-gap: 56px; --marquee-duration: 40s;
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: var(--logo-gap);
  flex: none; margin: 0; padding: 0 var(--logo-gap) 0 0; list-style: none;
  animation: marquee var(--marquee-duration) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; }
.marquee-track img { height: var(--logo-h); width: auto; max-width: none; opacity: 0.7; }
.marquee-track .wide img { height: calc(var(--logo-h) * 0.72); }
.marquee-track .compact img { height: calc(var(--logo-h) * 1.1); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Mobile sticky CTA ---------- */

.sticky-cta { display: none; }
@media (max-width: 759px) {
  .top-link { display: none; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta {
    display: block; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(251, 250, 255, 0), rgba(251, 250, 255, 0.92) 35%);
  }
  .sticky-cta .btn { width: 100%; min-height: 54px; padding: 14px 20px; }
  /* Where supported, stay hidden until the hero has scrolled away (no JS). Elsewhere it is always visible. */
  @supports (animation-timeline: scroll()) {
    .sticky-cta {
      animation: sticky-in linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    @keyframes sticky-in {
      0%, 60% { opacity: 0; transform: translateY(100%); visibility: hidden; }
      100% { opacity: 1; transform: none; visibility: visible; }
    }
  }
}

@media (min-width: 760px) {
  .marquee { --logo-h: 44px; --logo-gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 24px; padding: 0; flex: 0 1 auto; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .sticky-cta { animation: none; }
}

@media (max-width: 759px) {
  .split-rev > .slot { order: 2; } /* on phones the text comes first, so two visuals never sit back to back */
}
