/* ─────────────────────────────────────────────
   Tokens (from the Figma variables)
   ───────────────────────────────────────────── */
:root {
  --paper: #090717;
  --paper-2: #110e2b;
  --ink: #f1ecfd;
  --muted: #b3abd6;
  --muted-60: rgba(179, 171, 214, 0.6);
  --line: #888df0;
  --line-rgb: 136, 141, 240;
  --highlight: #7c5ce6;
  --highlight-bright: #8f72f2;
  --note: #ac78e8;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 8.333vw, 120px);
  --section-gap: clamp(88px, 9.72vw, 140px);
  --nav-h: 79px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
hr { border: 0; height: 1px; width: 100%; margin: 0; background: rgba(var(--line-rgb), 0.35); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ── Type ── */
.note {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.44px;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.5; letter-spacing: -0.01em; color: var(--muted); }
h3 { font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }

/* ── Page: drawing grid + sheet border ── */
.page {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(var(--line-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--line-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(var(--line-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--line-rgb), 0.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: calc(50% + 60px) 0, 0 0, calc(50% + 12px) 0, 0 0;
}
.page::before {
  content: "";
  position: absolute;
  inset: clamp(8px, 1.11vw, 16px);
  border: 1px solid rgba(var(--line-rgb), 0.25);
  pointer-events: none;
}

.wrap { position: relative; width: min(1200px, 100% - 2 * var(--pad)); margin-inline: auto; }

/* ─────────────────────────────────────────────
   Controls
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 15px 18px 15px 20px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--highlight); color: #fff; }
.btn--secondary { padding: 14px 17px 14px 19px; border: 1px solid var(--line); color: var(--ink); }
.btn__icon { flex: none; transition: transform 0.3s var(--ease); }
.btn--primary:hover { background: var(--highlight-bright); }
.btn--secondary:hover { background: rgba(var(--line-rgb), 0.14); }
.btn:hover .btn__icon { transform: translateX(8px); }

.segmented { display: inline-flex; padding: 3px; border: 1px solid rgba(var(--line-rgb), 0.7); border-radius: 2px; }
.segmented__btn {
  padding: 9px 16px;
  border-radius: 1px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.44px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}
.segmented__btn:hover { background: rgba(var(--line-rgb), 0.14); }
.segmented__btn.is-active { background: var(--highlight); color: #fff; }

.toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  border: 1px solid rgba(var(--line-rgb), 0.6);
  transition: background-color 0.25s, border-color 0.25s;
}
.toggle img { grid-area: 1 / 1; transition: opacity 0.2s, transform 0.3s var(--ease); }
.toggle img:last-child { opacity: 0; transform: rotate(-90deg); }
.is-open .toggle { background: var(--highlight); border-color: var(--highlight); }
.is-open .toggle img:first-child { opacity: 0; transform: rotate(90deg); }
.is-open .toggle img:last-child { opacity: 1; transform: none; }

.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.5; }
.checklist img { flex: none; }

/* ─────────────────────────────────────────────
   Nav
   ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(var(--line-rgb), 0.25);
  transition: background-color 0.3s;
}
.nav.is-scrolled { background: rgba(9, 7, 23, 0.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.nav__brand { font-weight: 500; font-size: 19px; letter-spacing: -0.015em; white-space: nowrap; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { font-size: 15px; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }

/* ─────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────── */
.hero { padding: clamp(64px, 8.33vw, 120px) 0 var(--section-gap); }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.15); }
.hero__title {
  max-width: 1000px;
  margin-top: 28px;
  font-weight: 600;
  font-size: clamp(44px, 6.67vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(to right, #e9ddfb, #888df0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.hero__sub { max-width: 560px; margin-top: 28px; font-size: clamp(17px, 1.39vw, 20px); line-height: 1.5; letter-spacing: -0.01em; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(56px, 6.67vw, 96px);
}
.facts li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(var(--line-rgb), 0.5); font-size: 16px; }
.facts .note { color: var(--line); }

/* ─────────────────────────────────────────────
   Sections
   ───────────────────────────────────────────── */
.section { padding-bottom: var(--section-gap); scroll-margin-top: calc(var(--nav-h) + 24px); }
.section--contact { padding-bottom: clamp(64px, 6.67vw, 96px); }

.head { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; margin-bottom: 48px; border-top: 1px solid rgba(var(--line-rgb), 0.5); }
.head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head--row > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.head__label { color: var(--line); }
.head h2 { font-weight: 600; font-size: clamp(32px, 3.61vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.head__sub { font-size: 16px; }

/* ── Services ── */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) and (min-width: 901px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(var(--line-rgb), 0.5);
  border-radius: 2px;
  transition: border-color 0.3s, background-color 0.3s;
}
.service-card:hover { border-color: var(--highlight); background: var(--paper-2); }
.service-card__num { color: var(--line); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-ico { width: 40px; height: 40px; padding: 8px; border: 1px solid rgba(var(--line-rgb), 0.5); border-radius: 2px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: background-color 0.3s, border-color 0.3s; }
.service-card:hover .svc-ico { background: var(--highlight); border-color: var(--highlight); stroke: #fff; }

/* NFC card explainer: a card taps a phone, the phone opens the site */
.nfc-demo { container-type: inline-size; position: relative; height: 92px; margin-block: -2px -4px; border: 1px dashed rgba(var(--line-rgb), 0.4); border-radius: 2px; overflow: hidden; }
.nfc-demo__phone { position: absolute; right: 22cqw; top: 12px; width: 44px; height: 80px; border: 1.5px solid var(--line); border-radius: 8px 8px 0 0; border-bottom: 0; overflow: hidden; }
.nfc-demo__phone i { position: absolute; inset: 6px 4px 0; display: grid; place-items: start center; padding-top: 8px; border-radius: 3px 3px 0 0; background: linear-gradient(160deg, #ac78e8, #4e25ca); font: 500 5.5px/1.2 var(--mono); font-style: normal; color: #fff; text-align: center; opacity: 0; transform: translateY(30%); animation: nfcScreen 4s var(--ease) infinite; }
.nfc-demo__card { --tap: calc(64cqw - 84px); position: absolute; left: 14cqw; top: 26px; display: grid; place-items: center; width: 64px; height: 40px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-2); font: 10px/1 var(--mono); letter-spacing: 0.44px; text-transform: uppercase; color: var(--muted); animation: nfcTap 4s var(--ease) infinite; }
.nfc-demo__card::after { content: ""; position: absolute; right: -12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--note); border-left: 0; border-bottom: 0; border-radius: 0 50% 0 0; transform: rotate(45deg) scale(.6); opacity: 0; animation: nfcWave 4s ease-out infinite; }
@keyframes nfcTap { 0%, 12% { translate: 0 0; } 34%, 62% { translate: calc(var(--tap, 90px)) 6px; rotate: -8deg; } 84%, 100% { translate: 0 0; rotate: 0deg; } }
@keyframes nfcWave { 0%, 30% { opacity: 0; } 36% { opacity: 1; } 50%, 100% { opacity: 0; transform: rotate(45deg) scale(1.4); } }
@keyframes nfcScreen { 0%, 36% { opacity: 0; transform: translateY(30%); } 44%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }

/* ── Packages builder ── */
.pkg__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pkg-tab { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid rgba(var(--line-rgb), 0.6); border-radius: 2px; font-size: 15px; font-weight: 500; color: var(--muted); transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.pkg-tab:hover { color: var(--ink); border-color: var(--line); background: rgba(var(--line-rgb), 0.1); }
.pkg-tab[aria-pressed="true"] { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.pkg__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; align-items: start; }
.pkg__blurb { margin-bottom: 16px; font-size: 17px; color: var(--muted); max-width: 640px; }
.pkg__list { display: flex; flex-direction: column; border-top: 1px solid rgba(var(--line-rgb), 0.35); }
.pkg-item { position: relative; display: grid; grid-template-columns: 22px 40px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 12px; border-bottom: 1px solid rgba(var(--line-rgb), 0.35); cursor: pointer; transition: background-color 0.2s, opacity 0.25s; }
.pkg-item:hover { background: rgba(var(--line-rgb), 0.07); }
.pkg-item input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-item__box { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--line); border-radius: 2px; transition: background-color 0.2s, border-color 0.2s; }
.pkg-item__box::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 0.25s var(--ease); }
.pkg-item input:checked + .pkg-item__box { background: var(--highlight); border-color: var(--highlight); }
.pkg-item input:checked + .pkg-item__box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.pkg-item input:focus-visible + .pkg-item__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.pkg-item .svc-ico { width: 40px; height: 40px; }
.pkg-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pkg-item__title { font-weight: 500; font-size: 17px; }
.pkg-item__desc { font-size: 14px; line-height: 1.45; color: var(--muted); }
.pkg-item:has(.pkg-item__inc) { align-items: start; }
.pkg-item:has(.pkg-item__inc) .pkg-item__box { margin-top: 9px; }
.pkg-item:has(.pkg-item__inc) .pkg-item__price { padding-top: 13px; }
.pkg-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.pkg-tier { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border: 1px solid rgba(var(--line-rgb), 0.5); border-radius: 2px; font-size: 14px; font-weight: 500; line-height: 1.25; transition: background-color 0.2s, border-color 0.2s; }
.pkg-tier small { font: 12px/1.3 var(--mono); color: var(--muted); }
.pkg-tier i { position: absolute; top: -8px; right: 6px; padding: 1px 5px; border-radius: 2px; background: var(--note); color: #fff; font: 9px/1.4 var(--mono); font-style: normal; letter-spacing: 0.4px; text-transform: uppercase; }
.pkg-tier:hover { border-color: var(--line); background: rgba(var(--line-rgb), 0.1); }
.pkg-tier[aria-pressed="true"] { border-color: var(--highlight); background: var(--highlight); color: #fff; }
.pkg-tier[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }
.pkg-item__inc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.pkg-item__inc .note { width: 100%; color: var(--line); }
.pkg-item__inc span:not(.note) { padding: 4px 8px; border: 1px solid rgba(var(--line-rgb), 0.45); border-radius: 2px; font-size: 13px; line-height: 1.3; color: var(--ink); background: rgba(var(--line-rgb), 0.06); }
.pkg-item__price { font: 14px/1 var(--mono); color: var(--ink); white-space: nowrap; transition: color 0.2s; }
.pkg-item__price b { font-weight: 400; }
.pkg-item__price s { margin-right: 8px; color: var(--muted); }
.pkg-item__offer { display: inline-block; margin-right: 8px; padding: 3px 6px; border-radius: 2px; background: #6ee7a8; color: #0b2a1b; font-weight: 500; vertical-align: 1px; }
.pkg-item.has-offer.is-on { background: rgba(110, 231, 168, 0.06); }
/* Offer price reveal: old price gets struck through, then the offer price pops in.
   Runs when the packages scroll into view (.is-live) and again on every tab switch. */
.has-offer .pkg-item__price s { position: relative; text-decoration: none; }
.has-offer .pkg-item__price s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; background: currentColor; transform-origin: left center; }
.has-offer .pkg-item__price b { display: inline-block; }
.pkg-item__offer { background: linear-gradient(110deg, #6ee7a8 40%, #d6ffe9 50%, #6ee7a8 60%) 0 0 / 300% 100%; }
.pkg.is-live .has-offer .pkg-item__offer { animation: offerTag 0.45s var(--ease) both, offerShine 3.2s ease-in-out 1.2s infinite; animation-delay: calc(var(--i) * 70ms + 0.2s), calc(var(--i) * 70ms + 1.4s); }
.pkg.is-live .has-offer .pkg-item__price s::after { animation: offerStrike 0.45s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 0.45s); }
.pkg.is-live .has-offer .pkg-item__price s { animation: offerDim 0.45s ease both; animation-delay: calc(var(--i) * 70ms + 0.6s); }
.pkg.is-live .has-offer .pkg-item__price b { animation: offerPop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both; animation-delay: calc(var(--i) * 70ms + 0.8s); }
@keyframes offerTag { from { opacity: 0; transform: translateX(8px) scale(0.8); } }
@keyframes offerShine { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0 0; } }
@keyframes offerStrike { from { transform: scaleX(0); } }
@keyframes offerDim { from { color: var(--ink); } to { color: var(--muted); } }
@keyframes offerPop { from { opacity: 0; transform: translateY(10px) scale(0.6); color: #6ee7a8; } 60% { color: #6ee7a8; } }
.pkg-item.is-offer-off .pkg-item__price s::after { visibility: hidden; }
.pkg-item.is-offer-off .pkg-item__price b { text-decoration: line-through; color: var(--muted); }
.pkg-item.is-offer-off .pkg-item__price s { text-decoration: none; color: var(--ink); }
.pkg-item.is-offer-off .pkg-item__offer { opacity: 0.4; }
.pkg-item:not(.is-on) { opacity: 0.5; }
.pkg-item:not(.is-on) .pkg-item__price { text-decoration: line-through; color: var(--muted); }
.pkg-item.is-in-anim { animation: pkgIn 0.5s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes pkgIn { from { opacity: 0; translate: 0 10px; } }

.pkg__bar { display: none; }
.after { margin-top: clamp(64px, 6.67vw, 96px); }
.after__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.after__head h3 { font-size: clamp(26px, 2.5vw, 34px); font-weight: 600; letter-spacing: -0.025em; }
.after__note { margin-top: 20px; color: var(--muted); max-width: 760px; line-height: 1.7; }
.pkg__sum { scroll-margin-top: calc(var(--nav-h) + 16px); position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 2px; background: linear-gradient(146deg, #ac78e8 13.139%, #4e25ca 86.131%); color: #fff; box-shadow: 0 24px 60px rgba(124, 92, 230, 0.25); }
.pkg__sum-label, .pkg__count { color: rgba(255, 255, 255, 0.8); }
.pkg__sum h3 { font-size: 24px; margin-top: -8px; }
.pkg__sum hr { background: rgba(255, 255, 255, 0.25); }
.pkg__rows { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 15px; }
.pkg__rows div { display: flex; justify-content: space-between; gap: 12px; }
.pkg__rows dt { color: rgba(255, 255, 255, 0.8); }
.pkg__rows dd { margin: 0; font-family: var(--mono); font-size: 14px; }
.pkg__price { display: flex; align-items: baseline; gap: 8px; }
.pkg__price .note { color: rgba(255, 255, 255, 0.8); }
.pkg__price strong { font-weight: 600; font-size: clamp(36px, 3.06vw, 44px); line-height: 1.04; letter-spacing: -0.03em; }
.pkg__hint { min-height: 1.4em; color: #fff; }
.pkg__sum .pkg__cta { position: relative; background: #fff; border-color: #fff; color: #170f3d; }
.pkg__sum .pkg__cta::after { display: none; }
.pkg__sum .pkg__cta:hover img { transform: translateX(6px); }
.pkg__sum.is-bump strong { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
.pkg__price strong { display: inline-block; transform-origin: left bottom; }
.service-card h3 { font-size: 24px; }
.service-card .checklist { margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(var(--line-rgb), 0.35); }

/* ── Process: steps + live preview ── */
.process { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.psteps { position: relative; display: flex; flex-direction: column; }
.psteps::before {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: rgba(var(--line-rgb), 0.35);
}
.pstep {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 18px 0 20px;
}
.pstep .marker-dot { position: relative; z-index: 1; margin-top: 1px; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.pstep.is-done .marker-dot { background: #2a2160; }
.pstep.is-active .marker-dot { background: var(--highlight); color: #fff; box-shadow: 0 0 0 6px rgba(124, 92, 230, 0.2); }
.pstep__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pstep__title { font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; color: var(--muted); transition: color 0.3s; }
.pstep__desc { font-size: 15px; line-height: 1.5; color: var(--muted); opacity: 0.6; transition: opacity 0.3s; }
.pstep:hover .pstep__title, .pstep.is-active .pstep__title { color: var(--ink); }
.pstep.is-active .pstep__desc { opacity: 1; }
.pstep__timer { position: absolute; left: 48px; right: 0; bottom: 0; height: 1px; background: rgba(var(--line-rgb), 0.2); opacity: 0; transition: opacity 0.3s; }
.pstep__timer i { display: block; height: 100%; background: var(--highlight-bright); transform-origin: left; transform: scaleX(0); }
.process.is-auto .pstep.is-active .pstep__timer { opacity: 1; }
.process.is-auto .pstep.is-active .pstep__timer i { animation: ptimer 5s linear forwards; }
.process:not(.is-visible) .pstep__timer i, .process:hover .pstep__timer i, .process:focus-within .pstep__timer i { animation-play-state: paused !important; }
@keyframes ptimer { to { transform: scaleX(1); } }

/* Affordances: say it's clickable, show what's showing */
.process__hint { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--note); }
.process__hint-ico { flex: none; fill: var(--note); animation: tap 2.2s ease-in-out infinite; }
@keyframes tap { 0%, 60%, 100% { translate: 0 0; scale: 1; } 75% { translate: 2px 3px; scale: 0.85; } }
@media (hover: hover) { .hint-touch { display: none; } }
@media (hover: none) { .hint-pointer { display: none; } }

.pstep { cursor: pointer; }
.pstep::before {
  content: "";
  position: absolute;
  inset: 4px -14px 4px 36px;
  border-radius: 2px;
  background: rgba(var(--line-rgb), 0.08);
  opacity: 0;
  transition: opacity 0.25s;
}
.pstep:hover::before, .pstep:focus-visible::before { opacity: 1; }
.pstep.is-active::before { opacity: 1; background: rgba(124, 92, 230, 0.12); }
.pstep > :not(.pstep__timer) { position: relative; }
.pstep:hover .marker-dot { border-color: var(--highlight-bright); scale: 1.1; }
.pstep .marker-dot { transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, scale 0.25s var(--ease); }
.pstep__cue {
  flex: none;
  align-self: center;
  color: var(--line);
  white-space: nowrap;
  opacity: 0.45;
  transition: opacity 0.25s, translate 0.3s var(--ease), color 0.25s;
}
.pstep__cue-on { display: none; }
.pstep:hover .pstep__cue { opacity: 1; translate: 4px 0; }
.pstep.is-active .pstep__cue { opacity: 1; color: var(--highlight-bright); }
.pstep.is-active .pstep__cue-on { display: inline; }
.pstep.is-active .pstep__cue-off { display: none; }

.preview__play { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px; margin: -4px -8px; border-radius: 2px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.preview__play:hover { color: var(--ink); background: rgba(var(--line-rgb), 0.14); }
.preview__play-ico { width: 8px; height: 9px; border-inline: 2.5px solid currentColor; } /* pause bars */
.process:not(.is-auto) .preview__play-ico { border: 0; border-left: 8px solid currentColor; border-block: 4.5px solid transparent; width: 0; height: 0; } /* play triangle */

.process__desc { display: none; }

.preview { background: var(--paper-2); border: 1px solid rgba(var(--line-rgb), 0.5); border-radius: 4px; overflow: hidden; transition: border-color 0.5s, box-shadow 0.5s; }
.preview.is-changed { border-color: var(--highlight-bright); box-shadow: 0 0 0 3px rgba(124, 92, 230, 0.28), 0 24px 60px rgba(124, 92, 230, 0.2); transition-duration: 0.12s; }
.preview__stage { position: relative; aspect-ratio: 16 / 10.5; container-type: inline-size; overflow: hidden; }
.preview__foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid rgba(var(--line-rgb), 0.4); }
.preview__foot { align-items: center; }
.preview__foot [data-preview-caption] { color: var(--line); }

.pv { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.pv.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.pv-in { opacity: 0; translate: 0 12px; transition: opacity 0.4s ease, translate 0.6s var(--ease); }
.pv.is-active .pv-in { opacity: 1; translate: 0 0; transition-delay: calc(var(--i, 0) * 90ms + 150ms); }

/* Research board */
.pv--research { display: flex; flex-direction: column; justify-content: center; gap: 4cqw; padding: 5cqw 7cqw; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4cqw; }
.sticky {
  position: relative;
  padding: 2.8cqw 3cqw;
  background: #1a1540;
  border: 1px solid rgba(var(--line-rgb), 0.45);
  border-radius: 2px;
  rotate: var(--r);
}
.sticky::before {
  content: "";
  position: absolute;
  top: -1.1cqw;
  left: 50%;
  width: 9cqw;
  height: 2.2cqw;
  translate: -50% 0;
  background: rgba(172, 120, 232, 0.45);
}
.sticky .note { font-size: max(9px, 1.6cqw); color: var(--line); }
.sticky p { margin-top: 1cqw; font-size: max(11px, 2.7cqw); line-height: 1.3; }
.pv__chip {
  align-self: flex-start;
  padding: 1.1cqw 2cqw;
  border: 1px solid rgba(110, 231, 168, 0.5);
  border-radius: 2px;
  color: #6ee7a8;
  font-size: max(9px, 1.6cqw);
}

/* Shared mock layout: the wireframe and the design use the same grid */
.mk { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4cqw; padding: 3.6cqw 5cqw 4.4cqw; }
.mk__nav { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.mk__links { display: flex; gap: 3cqw; }
.mk__hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: stretch; }
.mk__copy { display: flex; flex-direction: column; justify-content: center; gap: 1.8cqw; }
.mk__ctas { display: flex; gap: 1.5cqw; margin-top: 1cqw; }
.mk__img { position: relative; overflow: hidden; border-radius: 1cqw; }
.mk__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; }
.mk__cards > * { height: 9cqw; border-radius: 0.8cqw; }

.mk--wire i { display: block; border: 1px dashed rgba(var(--line-rgb), 0.7); background: rgba(var(--line-rgb), 0.06); border-radius: 2px; }
.mk--wire .mk__logo { width: 10cqw; height: 3cqw; }
.mk--wire .mk__links i, .mk--wire .mk__p { border: 0; background: rgba(var(--line-rgb), 0.35); }
.mk--wire .mk__links i { width: 6cqw; height: 1.3cqw; }
.mk--wire .mk__btn { width: 9cqw; height: 3.4cqw; }
.mk--wire .mk__h { width: 100%; height: 4.6cqw; }
.mk--wire .mk__h--short { width: 70%; }
.mk--wire .mk__p { width: 92%; height: 1.3cqw; }
.mk--wire .mk__p--short { width: 60%; }
.mk--wire .mk__btn--lg { width: 14cqw; height: 4.4cqw; }
.mk--wire .mk__btn--ghost { width: 12cqw; height: 4.4cqw; }
.mk--wire .mk__img {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(var(--line-rgb), 0.7);
  border-radius: 2px;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(var(--line-rgb), 0.45) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to top left, transparent calc(50% - 0.5px), rgba(var(--line-rgb), 0.45) 50%, transparent calc(50% + 0.5px)),
    rgba(var(--line-rgb), 0.06);
}
.mk--wire .mk__img .note { padding: 0.5cqw 1cqw; background: var(--paper-2); color: var(--line); font-size: max(9px, 1.5cqw); }

.pv--design { background: #fff8f4; }
.mk--design { color: #2b1b3a; }
.mk--design .mk__logo { font-weight: 600; font-size: 2.4cqw; letter-spacing: -0.02em; }
.mk--design .mk__links { font-size: 1.7cqw; color: #6b5a78; }
.mk--design .mk__btn { padding: 1cqw 2.2cqw; border-radius: 99px; background: #2b1b3a; color: #fff; font-size: 1.6cqw; font-weight: 500; white-space: nowrap; }
.mk--design .mk__h { font-weight: 600; font-size: 5.4cqw; line-height: 1; letter-spacing: -0.04em; }
.mk--design .mk__p { font-size: 1.9cqw; line-height: 1.45; color: #6b5a78; }
.mk--design .mk__btn--lg { padding: 1.4cqw 2.6cqw; background: #e2557a; }
.mk--design .mk__btn--ghost { padding: 1.4cqw 2.6cqw; background: transparent; color: #2b1b3a; box-shadow: inset 0 0 0 1px rgba(43, 27, 58, 0.3); }
.mk--design .mk__img { background: radial-gradient(circle at 30% 25%, #ffe1e8, #f7a8c0 50%, #e2557a); }
.flower { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin 24s linear infinite; }
.flower i { position: absolute; left: -3.4cqw; top: -13cqw; width: 6.8cqw; height: 13cqw; border-radius: 50%; background: linear-gradient(#fff, #ffd2de); transform-origin: 50% 100%; rotate: var(--a); }
.flower::after { content: ""; position: absolute; left: -3cqw; top: -3cqw; width: 6cqw; height: 6cqw; border-radius: 50%; background: #f6c445; box-shadow: 0 0 0 0.8cqw rgba(246, 196, 69, 0.35); }
.pv--design:hover .flower { animation-duration: 4s; }
@keyframes spin { to { rotate: 360deg; } }
.mk--design .mk__cards > span {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4cqw 1.8cqw;
  border-top: 0.6cqw solid #e2557a;
  background: #fff;
  box-shadow: 0 0.6cqw 2cqw rgba(43, 27, 58, 0.08);
  font-size: 1.5cqw;
  color: #6b5a78;
}
.mk--design .mk__cards > span:nth-child(2) { border-top-color: #7cc49a; }
.mk--design .mk__cards > span:nth-child(3) { border-top-color: #f6c445; }
.mk--design .mk__cards b { font-size: 2cqw; color: #2b1b3a; }

/* Code + launch */
.pv--code { display: flex; flex-direction: column; background: #06050f; }
.pv-code {
  flex: 1;
  margin: 0;
  padding: 4.5cqw 5cqw;
  overflow: hidden;
  font-family: var(--mono);
  font-size: max(10px, 1.9cqw);
  line-height: 1.7;
  white-space: pre;
  color: var(--ink);
}
.pv-code .t { color: var(--line); }
.pv-code .a { color: var(--note); }
.pv-code .s { color: #d6c2ff; }
.pv-code .caret { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.18em; background: var(--highlight); animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pv-live { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 2.4cqw 5cqw; border-top: 1px solid rgba(var(--line-rgb), 0.3); }
.pv-live__badge { display: flex; align-items: center; gap: 1.2cqw; color: #6ee7a8; font-size: max(9px, 1.6cqw); white-space: nowrap; }
.gauges { display: flex; gap: 2.6cqw; }
.gauge { display: flex; align-items: center; gap: 1cqw; }
.gauge__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: max(30px, 6cqw);
  height: max(30px, 6cqw);
  border-radius: 50%;
  background: conic-gradient(#6ee7a8 calc(var(--v, 0) * 1%), rgba(var(--line-rgb), 0.2) 0);
  font-family: var(--mono);
  font-size: max(9px, 1.7cqw);
}
.gauge__ring::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #06050f; }
.gauge__ring span { position: relative; }
.gauge small { font-size: max(8px, 1.4cqw); color: var(--muted); }

.marker-dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--highlight);
  color: var(--line);
}

/* ── Work ── */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project { display: flex; flex-direction: column; gap: 16px; }
.drawing {
  background: var(--paper-2);
  border: 1px solid rgba(var(--line-rgb), 0.5);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.drawing__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(var(--line-rgb), 0.4); }
.drawing__bar img { flex: none; }
.drawing__url {
  flex: 1;
  min-width: 0;
  padding: 4px 10px;
  border: 1px solid rgba(var(--line-rgb), 0.6);
  border-radius: 2px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawing__viewport { position: relative; aspect-ratio: 586 / 340; overflow: hidden; }
.drawing__shot { position: absolute; inset: 0 0 auto; aspect-ratio: 588 / 368; transition: transform 0.9s var(--ease); }
.drawing__shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.view-cursor { position: absolute; top: 0; left: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.view-cursor__disc {
  position: absolute;
  top: -48px;
  left: -48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 96px;
  height: 96px;
  border-radius: 48px;
  background: var(--highlight);
  color: #fff;
  font-weight: 500;
  line-height: 1;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.view-cursor.is-on .view-cursor__disc { transform: scale(1); }

.project__info { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project__name { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.project__name .note { color: var(--line); }
.project__name h3 { font-size: 28px; transition: color 0.25s; }
.project__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 2px;
  border: 1px solid rgba(var(--line-rgb), 0.6);
  overflow: hidden;
  transition: background-color 0.25s, border-color 0.25s;
}
.project__arrow img { grid-area: 1 / 1; transition: opacity 0.2s, transform 0.3s var(--ease); }
.project__arrow img:last-child { opacity: 0; transform: translateX(-10px); }
.project > .muted { font-size: 15px; }

.project:hover .drawing, .project:focus-visible .drawing { border-color: var(--highlight); }
.project:hover .drawing__shot, .project:focus-visible .drawing__shot { transform: translateY(-7.61%); }
.project:hover .project__name h3 { color: var(--line); }
.project:hover .project__arrow { background: var(--highlight); border-color: var(--highlight); }
.project:hover .project__arrow img:first-child { opacity: 0; transform: translate(10px, -10px); }
.project:hover .project__arrow img:last-child { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .drawing__viewport { cursor: none; } }

/* ── Pricing ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plans--4 .plan { padding: 24px; }
.plans--4 .plan h3 { white-space: normal; }
@media (max-width: 1100px) and (min-width: 901px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(var(--line-rgb), 0.5);
  border-radius: 2px;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { white-space: nowrap; }
.plan__desc { font-size: 15px; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.plan__price .note { color: var(--muted); }
.plan__price strong { font-weight: 600; font-size: clamp(36px, 3.06vw, 44px); line-height: 1.04; letter-spacing: -0.03em; }
.plan .checklist { flex: 1; }
.plan__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid rgba(var(--line-rgb), 0.7);
  border-radius: 2px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.3s, border-color 0.3s;
}
.plan__cta::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.plan__cta img { transition: transform 0.3s var(--ease); }
.plan:hover { background: var(--paper-2); border-color: var(--highlight); }
.plan:hover .plan__cta { background: var(--highlight); border-color: var(--highlight); }
.plan:hover .plan__cta img { transform: translateX(6px); }

.plan--featured { border-color: transparent; background: linear-gradient(146deg, #ac78e8 13.139%, #4e25ca 86.131%); color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price .note { color: rgba(255, 255, 255, 0.8); }
.plan--featured hr { background: rgba(255, 255, 255, 0.25); }
.plan--featured .plan__cta { background: #fff; border-color: #fff; color: #170f3d; }
.plan__badge { padding: 4px 8px; border-radius: 2px; background: #fff; color: #4e25ca; white-space: nowrap; }
.plan--featured:hover {
  background: linear-gradient(146deg, #ac78e8 13.139%, #4e25ca 86.131%);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(124, 92, 230, 0.35);
}
.plan--featured:hover .plan__cta { background: #fff; border-color: #fff; }

[data-inr] { transition: opacity 0.18s; }
.is-swapping [data-inr] { opacity: 0; }

.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 24px;
  padding: 22px 28px;
  border: 1px dashed rgba(var(--line-rgb), 0.6);
  border-radius: 2px;
}
.addon > div { display: flex; flex-direction: column; gap: 6px; }
.addon h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.addon__tag { color: var(--line); font-weight: 400; letter-spacing: 0.44px; }
.addon .muted { font-size: 15px; }
.addon__price { flex: none; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.addon__price strong { font-weight: 600; font-size: 32px; line-height: 1.08; letter-spacing: -0.025em; }
.addon__price .note { color: var(--muted); }

/* ── About + FAQ ── */
.about { display: flex; align-items: flex-start; gap: 72px; }
.portrait {
  position: relative;
  flex: none;
  width: 340px;
  height: 420px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
}
.portrait__frame { position: absolute; inset: 0; }
.portrait figcaption { color: var(--muted); }
.portrait > img:not(.portrait__frame) { width: 100%; height: 100%; object-fit: cover; }

.about__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.about__lead { font-weight: 600; font-size: clamp(22px, 2.22vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }

.faq .head__label { margin-bottom: 4px; }
.faq__item { border-bottom: 1px solid rgba(var(--line-rgb), 0.35); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding-block: 20px; font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; min-height: 0; opacity: 0; transition: opacity 0.3s; }
.faq__item.is-open .faq__a > div { opacity: 1; }
.faq__a p { padding: 0 48px 20px 0; color: var(--muted); }

/* ── Contact ── */
.contact { display: flex; align-items: flex-start; gap: 80px; }
.contact__copy { flex: none; width: 440px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.contact__email { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.contact__email a { font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; transition: color 0.2s; overflow-wrap: anywhere; }
.contact__email a:hover { color: var(--line); }

.form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(var(--line-rgb), 0.6); transition: border-color 0.2s; }
.field > .note, .chips legend { color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  border-radius: 0;
}
.field textarea { display: block; min-height: 94px; resize: vertical; }
.field ::placeholder { color: var(--muted-60); opacity: 1; }
.field:focus-within { border-bottom-color: var(--ink); }
.field.is-invalid { border-bottom-color: #ff8fa3; }
.field.is-invalid > .note { color: #ff8fa3; }

.chips legend { margin-bottom: 12px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block;
  padding: 9px 14px;
  border: 1px solid rgba(var(--line-rgb), 0.6);
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}
.chip:hover span { background: rgba(var(--line-rgb), 0.14); }
.chip input:checked + span { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { padding-bottom: 40px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--line-rgb), 0.5);
  font-size: 14px;
  color: var(--muted);
}
.footer__links { display: flex; gap: 24px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--ink); }

/* ─────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about { gap: 48px; }
  .contact { gap: 48px; }
  .contact__copy { width: 340px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts li { flex-direction: row; align-items: baseline; gap: 16px; padding-block: 14px; }
  .facts .note { flex: none; width: 56px; }
  .services, .plans { grid-template-columns: 1fr; }
  .pkg__body { grid-template-columns: 1fr; }
  .pkg__sum { position: static; }
  .pkg__bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 56px 0 0; padding: 12px 14px; border-radius: 2px; background: linear-gradient(146deg, #ac78e8, #4e25ca); color: #fff; box-shadow: 0 12px 30px rgba(9, 7, 23, 0.6); }
  .pkg__bar .note { white-space: nowrap; }
  .pkg__bar strong { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
  /* Narrow screens: steps become a row of tabs attached to the preview,
     so a tap and its result are always on screen together. */
  .process { grid-template-columns: 1fr; gap: 0; }
  .process__steps { margin-bottom: 10px; }
  .psteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .psteps::before { display: none; }
  .pstep {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 12px 4px 14px;
    border: 1px solid rgba(var(--line-rgb), 0.5);
    border-radius: 2px;
    text-align: center;
    overflow: hidden;
    transition: background-color 0.25s, border-color 0.25s;
  }
  .pstep::before { display: none; }
  .pstep.is-active { background: var(--highlight); border-color: var(--highlight); }
  .pstep.is-active .marker-dot { background: #fff; color: var(--highlight); box-shadow: none; }
  .pstep__body { align-items: center; }
  .pstep__title { font-size: 15px; }
  .pstep.is-active .pstep__title { color: #fff; }
  .pstep__desc, .pstep__cue { display: none; }
  .pstep__timer { left: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.2); }
  .pstep__timer i { background: #fff; }
  .process__desc { display: block; margin-top: 14px; min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--muted); }
  .projects { grid-template-columns: 1fr; gap: 48px; }
  .about { flex-direction: column; }
  .portrait { width: min(340px, 100%); height: auto; aspect-ratio: 340 / 420; }
  .contact { flex-direction: column; align-items: stretch; gap: 40px; }
  .contact__copy { width: 100%; }
}

@media (max-width: 560px) {
  .nav .btn { padding: 12px 14px; gap: 12px; font-size: 14px; }
  .head { margin-bottom: 36px; }
  .pstep { padding: 10px 2px 12px; gap: 6px; }
  .pstep__title { font-size: 13px; }
  .preview__stage { aspect-ratio: 4 / 3.4; }
  .gauge small { display: none; }
  .service-card, .plan, .pkg__sum { padding: 22px; }
  .pkg__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
  .pkg-tab { flex: none; }
  .pkg-item { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; padding: 14px 4px; align-items: start; }
  .pkg-item .svc-ico { display: none; }
  .pkg-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-item__price { padding-top: 3px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
  .pkg-item__price s, .pkg-item__offer { margin-right: 0; }
  .addon { flex-direction: column; align-items: flex-start; padding: 22px; }
  .faq__q { font-size: 18px; }
  .field input, .field textarea { font-size: 18px; }
}

/* ─────────────────────────────────────────────
   Motion: smooth scroll, reveal on scroll, cursor
   ───────────────────────────────────────────── */
html.has-smooth { scroll-behavior: auto; } /* JS eases the scroll; native smoothing would fight it */

/* Reveal: keep this selector list in sync with SEL in script.js */
.js-reveal :is(.hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .facts li, .head, .service-card, .pkg__tabs, .pkg__main, .pkg__sum,
  .psteps li, .preview, .project, .plan, .addon, .portrait, .about__lead, .faq__item, .contact__copy, .form > *, .footer__inner) {
  opacity: 0;
  translate: 0 32px;
}
.js-reveal :is(.hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .facts li, .head, .service-card, .pkg__tabs, .pkg__main, .pkg__sum,
  .psteps li, .preview, .project, .plan, .addon, .portrait, .about__lead, .faq__item, .contact__copy, .form > *, .footer__inner):is(.is-in, .is-done) {
  opacity: 1;
  translate: 0 0;
}
.js-reveal .is-in {
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
    translate 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}

/* Headings rise in word by word (JS wraps each word in .w > .w__i) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.03em 0.1em; margin: 0 -0.03em -0.1em; }
.split .w__i { display: inline-block; }
.js-reveal .split .w__i { translate: 0 110%; transition: translate 1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0s) + var(--wi, 0) * 45ms); }
.js-reveal :is(.is-in, .is-done) .split .w__i, .js-reveal .split:is(.is-in, .is-done) .w__i { translate: 0 0; }
.hero__title.split em { background: none; }
.hero__title.split em .w__i {
  background: linear-gradient(to right, #e9ddfb, #888df0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Nav: scroll progress + active-section indicator */
.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--highlight), var(--line));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}
.nav__links { position: relative; }
.nav__links a.is-active { color: var(--ink); }
.nav__ind {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--highlight-bright);
  opacity: 0;
  transition: left 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
}

/* Floating back-to-top with a progress ring */
.totop {
  position: fixed;
  right: clamp(16px, 2.2vw, 32px);
  bottom: clamp(16px, 2.2vw, 32px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(9, 7, 23, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 18px;
  opacity: 0;
  translate: 0 16px;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.4s var(--ease), background-color 0.2s;
}
.totop.is-shown { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop:hover { background: var(--highlight); }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.totop circle { fill: none; stroke-width: 1.5; }
.totop__track { stroke: rgba(var(--line-rgb), 0.3); }
.totop__bar { stroke: var(--highlight-bright); stroke-dasharray: 125.66; stroke-dashoffset: calc(125.66 * (1 - var(--progress, 0))); }
.totop:hover .totop__bar { stroke: #fff; }

/* Grid spotlight that follows the pointer */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  background-image:
    linear-gradient(to right, rgba(var(--line-rgb), 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--line-rgb), 0.45) 1px, transparent 1px),
    linear-gradient(to right, rgba(var(--line-rgb), 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--line-rgb), 0.2) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: calc(50% + 60px) var(--sy, 0px), 0 var(--sy, 0px), calc(50% + 12px) var(--sy, 0px), 0 var(--sy, 0px);
  -webkit-mask-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #000, transparent);
  mask-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #000, transparent);
}
.spotlight.is-on { opacity: 1; }
main, .footer { position: relative; z-index: 1; }

/* Magnetic buttons */
.btn { transition: background-color 0.2s, border-color 0.2s, translate 0.35s var(--ease); }

/* Cards: tilt toward the pointer and a soft spotlight inside */
.service-card { transition: border-color 0.3s, background-color 0.3s, transform 0.6s var(--ease); }
.service-card.is-tilting { transition: border-color 0.3s, background-color 0.3s, transform 0.12s linear; }
.drawing { transition: border-color 0.25s, transform 0.6s var(--ease); }
.drawing.is-tilting { transition: border-color 0.25s, transform 0.12s linear; }
.spot { position: relative; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--px, 50%) var(--py, 50%), rgba(143, 114, 242, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.plan--featured.spot::before { background: radial-gradient(380px circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, 0.22), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* Copy email */
.contact__email-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy { padding: 6px 10px; border: 1px solid rgba(var(--line-rgb), 0.6); border-radius: 2px; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.copy:hover { color: var(--ink); border-color: var(--line); }
.copy.is-done { color: #6ee7a8; border-color: rgba(110, 231, 168, 0.6); }

/* Cursor */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor { position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-out, .cursor.is-view { opacity: 0; }
.cursor__ring, .cursor__pt { position: fixed; top: 0; left: 0; width: 0; height: 0; will-change: transform; }
.cursor__reticle {
  position: absolute;
  top: -24px;
  left: -24px;
  overflow: visible;
  fill: rgba(124, 92, 230, 0);
  stroke: var(--line);
  stroke-width: 1;
  transition: transform 0.45s var(--ease), fill 0.3s, stroke 0.3s, opacity 0.3s;
}
.cursor.is-down .cursor__reticle { transform: scale(0.75); }
.cursor.is-link .cursor__reticle { transform: rotate(45deg) scale(1.3); fill: rgba(124, 92, 230, 0.22); stroke: var(--ink); }
.cursor.is-link.is-down .cursor__reticle { transform: rotate(45deg) scale(1.05); }
.cursor.is-text .cursor__reticle { transform: scale(0.4); opacity: 0; }
.cursor__dot {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--ink);
  box-shadow: 0 0 0 1.5px var(--highlight);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), top 0.25s var(--ease), left 0.25s var(--ease), border-radius 0.25s;
}
.cursor.is-text .cursor__dot { top: -12px; left: -1px; width: 2px; height: 24px; border-radius: 1px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
