/* Vizunexa studio v2: brand surfaces, signature scroll story, service demos, process, plan builder.
   Loaded after styles.css. All motion uses the tokens in styles.css (:root). */

body {
  background: var(--bg);
}
::selection {
  background: rgb(95 216 255 / 0.3);
}
/* Emphasis inside display headings: serif italic, no gradient. */
.h2 em,
.hero-title em,
.page-title em {
  font-style: italic;
  color: var(--accent);
}
/* Display type: editorial serif for section headlines; Geist for everything else. */
.h2,
.hero-title,
.page-title,
.xf-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1;
}
.h2 {
  font-size: clamp(40px, 5.2vw, 70px);
  max-width: 18ch;
}
.hero-title {
  font-size: clamp(44px, 4.6vw, 68px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--paper);
  color: #07080d;
  box-shadow: none;
}
.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgb(241 239 233 / 0.12);
}
.btn-ghost {
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgb(95 216 255 / 0.45);
}
.btn-glass {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.4);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.link-arrow .ic {
  transition: transform var(--motion-fast) var(--ease-premium);
}
.link-arrow:hover .ic {
  transform: translateX(3px);
}

/* ---------- Nav: fixed, transparent over the intro, glass after ---------- */
.nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    opacity var(--motion-reveal) var(--ease-premium),
    transform var(--motion-reveal) var(--ease-premium);
}
.nav.scrolled {
  background: rgb(5 8 22 / 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
/* While the logo builds, the nav arrives early (after ~0.6s) so it is usable almost at once. */
.js .nav.nav-wait {
  opacity: 0;
  transform: translateY(-8px);
}
/* Wordmark: the logo V is the first letter of VIZUNEXA (V + IZUNEXA). */
.brand {
  gap: 12px;
  align-items: baseline;
}
.wm {
  display: inline-flex;
  align-items: baseline;
  font: 700 19px/1 var(--font-sans);
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}
.wm-v {
  /* sits on the baseline at cap height (Geist caps are ~0.71em) */
  display: inline-block;
  height: 0.71em;
  width: auto;
  aspect-ratio: 528 / 336;
  margin-right: 0.06em;
  overflow: visible;
}
.wm-rest {
  display: inline-flex;
}
.wm-rest span {
  display: inline-block;
}
.brand-sub {
  font: 500 13px/1 var(--font-sans);
  letter-spacing: 0.02em;
  color: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .wm-anim .wm-l,
  .wm-anim .wm-r,
  .wm-anim .wm-p {
    transform-box: fill-box;
    animation: wm-in 0.9s var(--ease-premium) both;
  }
  .wm-anim .wm-l { --ty: -40%; animation-delay: 0.15s; }
  .wm-anim .wm-r { --ty: 40%; animation-delay: 0.32s; }
  .wm-anim .wm-p { --ty: 0%; transform-origin: center; animation: wm-play 0.6s var(--ease-premium) 0.62s both; }
  .wm-anim .wm-rest span {
    animation: wm-letter 0.7s var(--ease-premium) both;
    animation-delay: calc(0.55s + var(--i) * 0.045s);
  }
  .brand:hover .wm-anim .wm-p {
    transform: translateX(6%);
    transition: transform var(--motion-fast) var(--ease-premium);
  }
}
@keyframes wm-in {
  from { opacity: 0; transform: translateY(var(--ty)); }
}
@keyframes wm-play {
  from { opacity: 0; transform: scale(0.85); }
}
@keyframes wm-letter {
  /* starts at 2% rather than 0 so the wordmark counts as painted immediately (LCP on phones) */
  from { opacity: 0.02; transform: translateY(0.35em); }
}
@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }
}
.nav-toggle {
  background: rgb(255 255 255 / 0.04);
}
.hero {
  padding-top: calc(var(--nav-h) + 72px);
}
.intro-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
@media (max-width: 860px) {
  .nav-links {
    background: var(--bg) !important;
  }
}

/* ---------- Surfaces in the dark theme ---------- */
.work,
.svc,
.pricing,
.contact {
  background: transparent;
}
.work {
  background:
    radial-gradient(60% 50% at 85% 0%, rgb(77 124 255 / 0.1), transparent 70%),
    var(--bg-2);
  border-color: var(--line);
}
.price-card,
.package,
.faq-list details,
.contact-card,
.materials,
.notice,
.timing,
.terms {
  border-color: var(--line) !important;
}
.process {
  background:
    radial-gradient(50% 40% at 10% 10%, rgb(155 92 255 / 0.1), transparent 70%),
    var(--bg-2);
}

/* =====================================================================
   SERVICES SHOWCASE
   ===================================================================== */
.svc-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc-card {
  position: relative;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-fast) var(--ease-premium);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgb(95 216 255 / 0.35);
  box-shadow: var(--glow);
}
.svc-demo {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 80% 0%, rgb(54 209 255 / 0.16), transparent 60%),
    radial-gradient(70% 90% at 10% 100%, rgb(155 92 255 / 0.2), transparent 60%),
    #070c22;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.svc-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.svc-body h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  font-weight: 640;
}
.svc-price {
  color: var(--muted);
  font-size: 15px;
}
.svc-price b {
  font-size: 22px;
  color: var(--ink);
  font-weight: 680;
  letter-spacing: -0.02em;
}
.svc-text {
  color: var(--muted);
  font-size: 16px;
}
.svc-actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
/* Demos only animate while visible (.is-live set by motion.js); paused otherwise. */
.svc-demo * {
  animation-play-state: paused !important;
}
.svc-card.is-live .svc-demo * {
  animation-play-state: running !important;
}

/* real video previews (SaaS demo, mini promo) */
.svc-media {
  background: #000;
  position: relative;
}
.svc-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgb(7 8 13 / 0.72);
  backdrop-filter: blur(6px);
}
.svc-sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--paper);
  color: #07080d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.svc-sound .ic {
  width: 12px;
  height: 12px;
}
.svc-media.is-sound .svc-sound,
.svc-media.is-sound .svc-tag {
  display: none;
}

/* demo: motion graphics — shapes assemble around kinetic type */
.mg {
  position: relative;
  width: 74%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #0e0b2e;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px #000;
}
.mg-circle {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  right: -6%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #b98bff, #6a36f2);
  animation: mg-circle 5s var(--ease-premium) infinite;
}
@keyframes mg-circle {
  0% { transform: scale(0.4); opacity: 0; }
  18%, 86% { transform: none; opacity: 1; }
  100% { opacity: 0; }
}
.mg-bar {
  position: absolute;
  left: 8%;
  bottom: 18%;
  width: 46%;
  height: 7%;
  border-radius: 999px;
  background: linear-gradient(90deg, #36d1ff, #4d7cff);
  transform-origin: 0 50%;
  animation: mg-bar 5s var(--ease-premium) infinite;
}
@keyframes mg-bar {
  0%, 10% { transform: scaleX(0); }
  32%, 86% { transform: none; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
.mg-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  width: 100%;
  fill: none;
  stroke: #36d1ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  opacity: 0.8;
  animation: mg-ribbon 5s var(--ease-io) infinite;
}
@keyframes mg-ribbon {
  0%, 14% { stroke-dashoffset: 260; }
  46%, 86% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -260; }
}
.mg-word {
  position: absolute;
  left: 8%;
  top: 22%;
  display: flex;
  font: 800 clamp(18px, 2.6vw, 30px) / 1 "Geist", system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: #fff;
  overflow: hidden;
}
.mg-word span {
  display: inline-block;
  animation: mg-letter 5s var(--ease-premium) infinite;
}
.mg-word span:nth-child(2) { animation-delay: 0.05s; }
.mg-word span:nth-child(3) { animation-delay: 0.1s; }
.mg-word span:nth-child(5) { animation-delay: 0.2s; }
.mg-word span:nth-child(6) { animation-delay: 0.25s; }
.mg-word span:nth-child(7) { animation-delay: 0.3s; }
.mg-word span:nth-child(8) { animation-delay: 0.35s; }
@keyframes mg-letter {
  0%, 20% { transform: translateY(105%); }
  34%, 86% { transform: none; }
  100% { transform: translateY(-105%); }
}

/* demo: website — a landing page scrolls inside a browser */
.mb {
  width: 74%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -18px #000;
}
.mb-chrome {
  flex: none;
  height: 12%;
  background: #e9ecf3;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.mb-chrome i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c3c8d6;
}
.mb-chrome span {
  margin-left: 8px;
  flex: 1;
  font: 500 9px/1.8 ui-monospace, Menlo, monospace;
  color: #6a7088;
  background: #fff;
  border-radius: 999px;
  padding: 0 8px;
}
.mb-view {
  flex: 1;
  overflow: hidden;
}
.mb-page {
  padding: 6% 7%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: mb-scroll 6s var(--ease-io) infinite;
}
@keyframes mb-scroll {
  0%, 16% { transform: translateY(0); }
  40%, 52% { transform: translateY(-34%); }
  76%, 86% { transform: translateY(-62%); }
  100% { transform: translateY(0); }
}
.mb-page b,
.mb-page i {
  display: block;
  border-radius: 4px;
}
.mb-hero {
  display: grid;
  gap: 6px;
}
.mb-hero b:nth-child(1) { height: 14px; width: 70%; background: #1a1f3d; }
.mb-hero b:nth-child(2) { height: 8px; width: 50%; background: #c6cbe0; }
.mb-hero i { height: 16px; width: 26%; border-radius: 999px; background: linear-gradient(90deg, #6a36f2, #1478d4); }
.mb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mb-cards i {
  height: 46px;
  background: #eef1f8;
  border: 1px solid #e0e4ef;
}
.mb-quote {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
}
.mb-quote i { height: 28px; border-radius: 50%; background: linear-gradient(135deg, #9b5cff, #36d1ff); }
.mb-quote b { height: 10px; background: #c6cbe0; }
.mb-form { display: grid; gap: 6px; }
.mb-form b { height: 14px; background: #eef1f8; border: 1px solid #e0e4ef; }
.mb-form i { height: 16px; width: 34%; border-radius: 999px; background: #1a1f3d; }

/* =====================================================================
   PROCESS: stepper + synced demo panel
   ===================================================================== */
.pr {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.3fr;
  gap: 28px;
  align-items: stretch;
}
.pr-steps {
  display: grid;
  gap: 10px;
}
.pr-step {
  position: relative;
  text-align: left;
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium);
}
.pr-step:hover {
  border-color: var(--line-2);
}
.pr-step[aria-selected="true"] {
  background: var(--surface);
  border-color: rgb(95 216 255 / 0.35);
}
.pr-k {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pr-step[aria-selected="true"] .pr-k {
  color: var(--cyan);
}
.pr-h {
  font-size: 17px;
  font-weight: 620;
}
.pr-d {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.pr-prog {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.pr-step[aria-selected="true"] .pr-prog {
  animation: pr-prog var(--pr-dur, 4.2s) linear forwards;
}
.pr.is-paused .pr-step[aria-selected="true"] .pr-prog,
.pr:not(.is-live) .pr-step[aria-selected="true"] .pr-prog {
  animation-play-state: paused;
}
@keyframes pr-prog {
  to { transform: scaleX(1); }
}
.pr-stage {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 90% 0%, rgb(54 209 255 / 0.12), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgb(155 92 255 / 0.14), transparent 70%),
    var(--bg);
  min-height: 360px;
  padding: 32px;
  display: grid;
  overflow: hidden;
}
.pr-panel {
  display: grid;
  place-items: center;
  animation: pr-in var(--motion-standard) var(--ease-premium);
}
.pr-panel[hidden] {
  display: none;
}
@keyframes pr-in {
  from { opacity: 0; transform: translateY(10px); }
}
.pd {
  width: 100%;
  max-width: 520px;
}
.pd > * {
  animation-fill-mode: both;
}
.pd-title {
  font-weight: 650;
  margin-bottom: 14px;
}
.pd-brief ul {
  display: grid;
  gap: 10px;
}
.pd-brief li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  animation: pd-rise var(--motion-standard) var(--ease-premium) both;
  animation-delay: calc(var(--i) * 0.45s + 0.1s);
}
.pd-brief li .ic {
  color: var(--ok);
  opacity: 0;
  animation: pd-pop var(--motion-fast) var(--ease-premium) both;
  animation-delay: calc(var(--i) * 0.45s + 0.45s);
}
@keyframes pd-rise {
  from { opacity: 0; transform: translateY(12px); }
}
@keyframes pd-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
.pd-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pd-board figure {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  animation: pd-rise var(--motion-standard) var(--ease-premium) both;
  animation-delay: calc(var(--i) * 0.35s);
}
.pd-board img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.9);
  animation: pd-ink 1.2s var(--ease-premium) both;
  animation-delay: calc(var(--i) * 0.35s + 0.6s);
}
@keyframes pd-ink {
  to { filter: none; }
}
.pd-board figcaption {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 10px;
}
.pd-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.pd-tracks {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pd-tracks div {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.pd-tracks b {
  font-weight: 550;
}
.pd-tracks i {
  height: 8px;
  border-radius: 4px;
  margin-left: calc(var(--a) * 100%);
  width: calc((var(--b) - var(--a)) * 100%);
  background: linear-gradient(90deg, rgb(155 92 255 / 0.7), rgb(54 209 255 / 0.7));
}
.pd-head {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: calc(14px + 56px);
  width: 2px;
  background: #ff5d8f;
  animation: pd-head 4s linear both;
}
@keyframes pd-head {
  from { transform: translateX(0); }
  to { transform: translateX(min(380px, 30vw)); }
}
.pd-deliver {
  display: grid;
  gap: 16px;
}
.pd-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  animation: pd-rise var(--motion-standard) var(--ease-premium) both;
}
.pd-file b {
  display: block;
  font-weight: 620;
}
.pd-file em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.pd-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--on-accent);
  background: var(--grad);
}
.pd-meter {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.pd-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform-origin: 0 50%;
  animation: pd-fill 2.2s var(--ease-io) 0.3s both;
}
@keyframes pd-fill {
  from { transform: scaleX(0); }
}
.pd-ready {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ok);
  font-weight: 600;
  animation: pd-rise var(--motion-standard) var(--ease-premium) 2.4s both;
}
.pr-pause {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(5 8 22 / 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pr-pause:hover {
  color: var(--ink);
}
.pr-pause-i {
  width: 10px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.pr-pause[aria-pressed="true"] .pr-pause-i {
  border: 0;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.pr.is-paused .pd * {
  animation-play-state: paused !important;
}
@media (max-width: 860px) {
  .pr {
    grid-template-columns: 1fr;
  }
  .pr-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .pr-step {
    padding: 10px;
  }
  .pr-h,
  .pr-d {
    display: none;
  }
  .pr-stage {
    min-height: 300px;
    padding: 22px 18px 60px;
  }
}

/* =====================================================================
   PRICING additions
   ===================================================================== */
.price-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2)) !important;
  position: relative;
  transition:
    border-color var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-fast) var(--ease-premium);
}
.price-card:hover {
  border-color: rgb(95 216 255 / 0.4) !important;
  box-shadow: var(--glow);
}
.package {
  background: var(--surface) !important;
  display: flex;
  flex-direction: column;
}
.package:hover {
  border-color: rgb(95 216 255 / 0.35) !important;
  box-shadow: var(--glow);
}
.package-buy {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 650;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}
.package-buy .ic {
  transition: transform var(--motion-fast) var(--ease-premium);
}
.package-buy:hover .ic {
  transform: translateX(3px);
}
.plan-banner {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-radius: var(--r-card);
  border: 1px solid rgb(95 216 255 / 0.25);
  background:
    radial-gradient(60% 120% at 100% 0%, rgb(54 209 255 / 0.15), transparent 70%),
    radial-gradient(60% 120% at 0% 100%, rgb(155 92 255 / 0.18), transparent 70%),
    var(--surface);
}
.plan-banner p {
  margin-top: 6px;
  color: var(--muted);
  max-width: 60ch;
}
@media (max-width: 720px) {
  .plan-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================================
   FINAL CTA ribbons
   ===================================================================== */
.contact-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(70% 80% at 100% 0%, rgb(54 209 255 / 0.12), transparent 70%),
    var(--surface) !important;
}
.cta-ribbons {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}
.cta-ribbons svg {
  width: 100%;
  height: 100%;
}
.cta-ribbons path {
  fill: none;
  stroke: url(#cta-g);
  stroke-linecap: round;
}
.cta-ribbons .r1 { stroke-width: 2.4; }
.cta-ribbons .r2 { stroke-width: 1.4; opacity: 0.7; }
.cta-ribbons .r3 { stroke-width: 1; opacity: 0.45; }
@media (prefers-reduced-motion: no-preference) {
  .cta-ribbons path {
    stroke-dasharray: 40 1200;
    animation: cta-flow 9s linear infinite;
  }
  .cta-ribbons .r2 { animation-duration: 12s; animation-delay: -3s; }
  .cta-ribbons .r3 { animation-duration: 15s; animation-delay: -6s; }
  .contact:not(.is-live) .cta-ribbons path {
    animation-play-state: paused;
  }
}
@keyframes cta-flow {
  from { stroke-dashoffset: 1240; }
  to { stroke-dashoffset: 0; }
}
.cta-row {
  margin-top: 24px;
}
.footer-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}

/* =====================================================================
   Reduced motion: everything final and still
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .svc-demo *,
  .pd *,
  .pr-prog {
    animation: none !important;
    transition: none !important;
  }
  .svc-card:hover {
    transform: none;
  }
  .pd-brief li .ic {
    opacity: 1;
  }
}
