/* SparkLoom Digital · sparkloom.digital
   Dark "starlit" system tuned to the SparkLoom violet (#7d30e5).
   Surfaces lift with inset rim-light, never drop shadows. One accent. Medium-weight display type. */

:root {
  --void: #060014;
  --surface: #0b0619;
  --raised: #160a3a;
  --text: #f4f0ff;
  --ash: #a8a6b7;
  --fog: #918ea0;
  --line: rgba(244, 240, 255, 0.08);
  --line-2: rgba(244, 240, 255, 0.14);

  --brand: #7d30e5;
  --brand-hi: #9150f2;
  --accent: #a98cff;

  --cosmic: linear-gradient(90deg, #e59cff 0%, #ba9cff 50%, #9cb2ff 100%);
  --aurora: linear-gradient(90deg, rgba(183, 164, 251, 0) 0%, #b7a4fb 50%, rgba(133, 98, 255, 0) 100%);

  --rim: inset 0 0 24px rgba(255, 255, 255, 0.04);
  --rim-2: inset 0 0 24px rgba(255, 255, 255, 0.06);
  --glow: inset 0 -7px 11px rgba(164, 143, 255, 0.12);

  --display: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  background: var(--void);
  color: var(--ash);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: "cv10", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(125, 48, 229, 0.5); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7.2vw, 4.9rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 500; }

.grad { background: var(--cosmic); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 5px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sky: star field and glow behind the hero ---------- */
.sky {
  position: absolute; top: 0; left: 0; right: 0; height: 1150px;
  pointer-events: none; z-index: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.sky canvas { width: 100%; height: 100%; display: block; }
.sky::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 1300px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(125, 48, 229, 0.34), rgba(125, 48, 229, 0.08) 55%, transparent 75%);
}
.sky::after {
  content: ""; position: absolute; left: 50%; top: 380px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(156, 178, 255, 0.12), transparent 70%);
}
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Navigation pill ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 50; display: flex; justify-content: center; padding: 0 16px; margin-top: 14px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(100%, 820px); height: 54px; padding: 6px 6px 6px 20px;
  border-radius: 999px;
  background: rgba(11, 6, 25, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--rim), 0 0 0 1px var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(11, 6, 25, 0.82); box-shadow: var(--rim-2), 0 0 0 1px var(--line-2); }
.logo { display: block; flex: none; }
.logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { color: var(--ash); text-decoration: none; font-size: 15px; padding: 8px 13px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(244, 240, 255, 0.06); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Buttons, links, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.3s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 30px -10px rgba(125, 48, 229, 0.85);
}
.btn-primary:hover { background: var(--brand-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 36px -8px rgba(145, 80, 242, 0.9); }
.btn-ghost { background: transparent; color: var(--ash); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { color: var(--text); background: rgba(244, 240, 255, 0.05); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; border-radius: 999px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font: 500 15px/1.2 var(--sans); text-decoration: none; transition: color 0.2s; }
.link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link:hover { color: var(--text); }
.link:hover svg { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 32px;
  background: var(--surface); border: 1px solid rgba(125, 48, 229, 0.6); box-shadow: var(--glow);
  color: var(--text); font: 500 13px/1.2 var(--sans);
}
.badge img { width: 14px; height: 14px; }
.badge .live { width: 8px; height: 8px; margin: 0 2px 0 4px; border-radius: 50%; background: #7ef0b0; box-shadow: 0 0 0 0 rgba(126, 240, 176, 0.55); animation: live 2.2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(126, 240, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 240, 176, 0); } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 24px; text-align: center; }
.hero .wrap { max-width: 980px; }
.hero h1 { margin: 26px auto 22px; }
.hero h1 .line { display: block; }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.22rem); line-height: 1.6; color: var(--ash); max-width: 38em; margin: 0 auto; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.hero .meta { margin: 20px 0 0; font-size: 13px; color: var(--fog); }

.js .hero .badge, .js .hero h1 .line, .js .hero .lede, .js .hero .actions, .js .hero .meta {
  opacity: 0; transform: translateY(18px); filter: blur(8px);
  animation: rise 1.1s var(--ease) forwards;
}
.js .hero .badge { animation-delay: 0.05s; }
.js .hero h1 .line:nth-child(1) { animation-delay: 0.15s; }
.js .hero h1 .line:nth-child(2) { animation-delay: 0.3s; }
.js .hero .lede { animation-delay: 0.45s; }
.js .hero .actions { animation-delay: 0.58s; }
.js .hero .meta { animation-delay: 0.7s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Showcase: browser frame that cycles through client types ---------- */
.showcase { max-width: 1120px; margin: 70px auto 0; padding: 0 24px; text-align: center; }
.tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin: 0 auto 22px; max-width: 100%; overflow-x: auto;
  border-radius: 999px; background: rgba(11, 6, 25, 0.7); box-shadow: var(--rim), 0 0 0 1px var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; appearance: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: transparent;
  color: var(--fog); font: 500 14px/1 var(--sans); transition: color 0.25s, background 0.25s;
}
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { color: var(--text); background: var(--raised); box-shadow: var(--glow), 0 0 0 1px rgba(169, 140, 255, 0.18); }
.tab-bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 1px; border-radius: 1px; background: var(--cosmic); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tab[aria-pressed="true"] .tab-bar { opacity: 0.9; animation: tabfill 6s linear forwards; }
.showcase:hover .tab-bar, .showcase:focus-within .tab-bar, .showcase.paused .tab-bar { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }

.stage { position: relative; perspective: 1800px; text-align: left; }
.lean { transform-origin: 50% 0; transition: transform 1.5s var(--ease), opacity 1.2s var(--ease); }
.js .showcase:not(.in) .lean { transform: rotateX(16deg) translateY(40px) scale(0.96); opacity: 0; }
.frame {
  position: relative; border-radius: 16px; overflow: hidden; container-type: inline-size;
  background: var(--surface);
  box-shadow: var(--rim-2), 0 0 0 1px var(--line-2), 0 50px 140px -50px rgba(125, 48, 229, 0.6);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
}
.frame-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; width: 60px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 240, 255, 0.13); }
.url {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  flex: 1; max-width: 340px; height: 26px; margin: 0 auto; border-radius: 999px;
  background: rgba(244, 240, 255, 0.05); color: var(--fog); font-size: 12.5px;
}
.url svg { width: 12px; height: 12px; }
.bar-end { width: 60px; }
/* Desktop browser viewport proportions (about 1440 × 820) */
.scenes { position: relative; aspect-ratio: 44 / 25; }

/* Chips floating around the frame */
.chip, .toast {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px;
  padding: 9px 15px 9px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(11, 6, 25, 0.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--rim-2), 0 0 0 1px var(--line-2);
  color: var(--text); font: 500 13px/1 var(--sans);
}
.chip { animation: bob 7s ease-in-out infinite; }
.chip .ic, .toast .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(169, 140, 255, 0.16); color: var(--accent); }
.chip .ic svg, .toast .ic svg { width: 12px; height: 12px; }
.chip-a { bottom: -19px; left: 7%; }
.chip-b { top: -17px; left: 9%; animation-delay: -2.4s; }
.chip-c { top: -17px; right: 7%; animation-delay: -4.6s; }
.toast { bottom: -19px; right: 7%; opacity: 0; transform: translateY(10px) scale(0.97); }
.toast.pop { animation: toast 0.7s var(--ease) 0.55s forwards; }
.toast .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(169, 140, 255, 0.6); animation: pulse 2s infinite; margin-left: 4px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes toast { to { opacity: 1; transform: none; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(169, 140, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(169, 140, 255, 0); } }
@media (max-width: 760px) { .chip { display: none; } .toast { right: 12px; bottom: -15px; font-size: 11.5px; padding: 7px 12px 7px 9px; } }

/* ---------- Mock client sites inside the frame (sized in em, scaled by the frame width) ---------- */
.scene {
  position: absolute; inset: 0; overflow: hidden;
  font-size: 1.42cqi; line-height: 1.45; font-family: var(--sans);
  opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.scene.is-active { opacity: 1; visibility: visible; }
:where(.scene) p { margin: 0; }
.scene img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.scene.is-active .rv { animation: mIn 0.9s var(--ease) both; }
.scene.is-active .d1 { animation-delay: 0.08s; }
.scene.is-active .d2 { animation-delay: 0.16s; }
.scene.is-active .d3 { animation-delay: 0.24s; }
.scene.is-active .d4 { animation-delay: 0.32s; }
.scene.is-active .d5 { animation-delay: 0.4s; }
@keyframes mIn { from { opacity: 0; transform: translateY(1.2em); } to { opacity: 1; transform: none; } }
.serif { font-family: "Instrument Serif", Georgia, serif; }

/* 1 · Wellness studio (photo-led, uppercase, pill filters) */
.s-well { background: #fff; color: #121212; font-family: var(--display); }
.w-nav { display: flex; align-items: center; gap: 2.2em; height: 4.6em; padding: 0 2.8em; font-size: 0.78em; font-weight: 500; letter-spacing: 0.07em; }
.w-logo { display: flex; align-items: center; gap: 0.55em; margin-right: 0.6em; font-size: 1.3em; font-weight: 700; letter-spacing: 0.3em; }
.w-logo svg { width: 1.5em; height: 1.5em; }
.w-mine { display: flex; align-items: center; gap: 0.6em; padding-right: 2.2em; border-right: 1px solid #d9d9d9; }
.w-mine svg { width: 1.4em; height: 1.4em; }
.w-tools { display: flex; align-items: center; gap: 1.5em; margin-left: auto; }
.w-tools svg { width: 1.5em; height: 1.5em; }
.w-tools i { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: #ececec; font-style: normal; font-size: 0.85em; font-weight: 600; letter-spacing: 0; }
.w-hero { position: relative; height: 23.4em; overflow: hidden; }
.w-hero img { position: absolute; inset: 0; object-position: 50% 26%; transform: scale(1.09); transition: transform 7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.scene.is-active .w-hero img { transform: scale(1); }
.w-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 52%, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.12)); }
.w-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 9em; text-align: center; color: #fff; }
.w-title { margin-bottom: 0.35em; font: 600 2.85em/1.05 var(--display); letter-spacing: -0.005em; text-shadow: 0 0.1em 0.8em rgba(0, 0, 0, 0.25); }
.w-sub { max-width: 38em; margin-bottom: 1.5em; font: 400 0.98em/1.5 var(--sans); }
.w-btn { background: #fff; color: #121212; padding: 1.3em 2.8em; font-size: 0.74em; font-weight: 600; letter-spacing: 0.12em; }
.w-dots { position: absolute; z-index: 1; left: 50%; bottom: 1.3em; display: flex; gap: 0.5em; transform: translateX(-50%); }
.w-dots i { width: 0.42em; height: 0.42em; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.w-dots i.on { background: #fff; }
.w-chips { display: flex; align-items: center; gap: 1.1em; height: 5.4em; padding: 0 3.5em; font-size: 0.78em; font-weight: 500; letter-spacing: 0.07em; white-space: nowrap; }
.w-chips span { padding: 0.8em 1.8em; border-radius: 99em; box-shadow: inset 0 0 0 1px #2a2a2a; }
.w-chips .w-next { margin-left: auto; width: 3.2em; height: 3.2em; padding: 0; display: grid; place-items: center; box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.14); }
.w-next svg { width: 1.3em; height: 1.3em; }
.w-sched { padding: 0.3em 2.7em 0; }
.w-sched-head { display: flex; justify-content: space-between; margin-bottom: 1em; font-size: 0.72em; font-weight: 600; letter-spacing: 0.12em; }
.w-sched-head span + span { color: #707070; }
.w-classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; font-family: var(--sans); }
.w-class { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1em; align-items: start; padding: 1.1em 1.2em; border: 1px solid #e6e6e6; }
.w-class b { grid-row: span 3; font: 600 1.45em/1 var(--display); letter-spacing: -0.01em; }
.w-class p { font-size: 0.88em; font-weight: 600; line-height: 1.2; }
.w-class small { color: #707070; font-size: 0.76em; }
.w-class em { justify-self: start; margin-top: 0.7em; padding: 0.45em 0.9em; border-radius: 99em; box-shadow: inset 0 0 0 1px #1d1d1d; font-style: normal; font-size: 0.6em; font-weight: 600; letter-spacing: 0.12em; }
.w-class em.full { color: #707070; box-shadow: inset 0 0 0 1px #c9c9c9; }

/* 2 · D2C store (search-led header, promo band, product rail) */
.s-shop { background: #fff; color: #1d2621; }
.g-nav { display: flex; align-items: center; gap: 1.4em; height: 3.9em; padding: 0 2.4em; border-bottom: 1px solid #eceeec; }
.g-burger { display: grid; gap: 0.24em; }
.g-burger i { width: 1.2em; height: 0.14em; border-radius: 1em; background: #1d2621; }
.g-logo { display: flex; align-items: center; gap: 0.35em; color: #123f2f; font: 700 1.5em/1 var(--display); letter-spacing: -0.045em; }
.g-logo svg { width: 1.15em; height: 1.15em; }
.g-search { flex: 1; display: flex; align-items: center; gap: 0.7em; height: 2.7em; margin: 0 1.6em; padding: 0 1.2em; border-radius: 99em; background: #f2f3f1; color: #6c746f; font-size: 0.86em; }
.g-search svg { width: 1.15em; height: 1.15em; }
.g-ghost, .g-cta { padding: 0.7em 1.4em; border-radius: 99em; font-size: 0.84em; font-weight: 600; }
.g-ghost { box-shadow: inset 0 0 0 1px #d6dad7; }
.g-cta { background: #108a36; color: #fff; }
.g-cats { display: flex; align-items: center; gap: 2em; height: 3.2em; padding: 0 2.4em; border-bottom: 1px solid #eceeec; color: #4b544e; font-size: 0.8em; font-weight: 500; white-space: nowrap; }
.g-cats .on { color: #1d2621; font-weight: 700; box-shadow: inset 0 -0.18em 0 #108a36; padding: 1em 0; }
.g-cats .g-deliv { margin-left: auto; color: #6c746f; }
.g-cats .g-deliv b { color: #108a36; }
.g-hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 2.4em; align-items: center; height: 14.2em; margin: 1.1em 2.4em 0; padding: 1.1em 1.1em 1.1em 2.8em; border-radius: 1.1em; background: #0f3d2c; color: #fff; }
.g-title { max-width: 10em; margin-bottom: 0.4em; font: 600 2.5em/1.04 var(--display); letter-spacing: -0.035em; }
.g-sub { max-width: 24em; margin-bottom: 1.2em; color: rgba(255, 255, 255, 0.75); font-size: 0.9em; }
.g-btn { display: inline-block; padding: 0.85em 1.6em; border-radius: 99em; background: #52d273; color: #0b2e21; font-size: 0.88em; font-weight: 700; }
.g-fine { margin-top: 0.8em; color: rgba(255, 255, 255, 0.66); font-size: 0.7em; }
.g-photo { height: 100%; border-radius: 0.75em; overflow: hidden; }
.g-head { display: flex; align-items: center; justify-content: space-between; margin: 0.95em 2.4em 0.65em; }
.g-head b { font: 600 1.28em/1 var(--display); letter-spacing: -0.025em; }
.g-arrows { display: flex; gap: 0.5em; }
.g-arrows i { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; background: #f1f2f0; color: #9aa19c; font-style: normal; font-weight: 700; }
.g-arrows i.on { background: #1d2621; color: #fff; }
.g-prods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4em; padding: 0 2.4em; }
.g-prod { position: relative; font-size: 0.86em; line-height: 1.35; }
.g-img { position: relative; aspect-ratio: 1.32; margin-bottom: 0.55em; border-radius: 0.8em; overflow: hidden; background: #f3f3f1; }
.g-add { position: absolute; right: 0.5em; bottom: 0.5em; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #108a36; font-size: 1.05em; font-weight: 700; box-shadow: 0 0.15em 0.6em rgba(0, 0, 0, 0.18); }
.g-add.on { background: #108a36; color: #fff; }
.g-prod b { font-size: 1.08em; }
.g-prod p { font-weight: 500; }
.g-prod small { color: #6c746f; font-size: 0.9em; }
.g-prod em { position: absolute; top: 0.5em; left: 0.5em; padding: 0.25em 0.55em; border-radius: 0.3em; background: #ffe066; color: #3b3000; font-style: normal; font-size: 0.74em; font-weight: 700; }

/* 3 · Online academy (dark editorial magazine) */
.s-edu { --red: #e0212f; background: #141414; color: #fff; }
.a-nav { position: relative; display: flex; align-items: center; gap: 1.9em; height: 4.4em; padding: 0 2.8em; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.86em; font-weight: 600; }
.a-burger { display: grid; place-content: center; gap: 0.26em; width: 2.5em; height: 2.5em; border-radius: 0.2em; box-shadow: inset 0 0 0 1px var(--red); }
.a-burger i { width: 1.05em; height: 0.12em; background: #fff; }
.a-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; line-height: 1; }
.a-logo i { font: italic 400 2.2em/0.9 "Instrument Serif", Georgia, serif; letter-spacing: -0.01em; }
.a-logo small { display: block; margin-top: 0.3em; color: rgba(255, 255, 255, 0.65); font-size: 0.48em; letter-spacing: 0.32em; }
.a-social { display: flex; gap: 1em; margin-left: auto; }
.a-social i { width: 0.95em; height: 0.95em; border-radius: 0.28em; background: rgba(255, 255, 255, 0.85); }
.a-social i:nth-child(2) { border-radius: 50%; }
.a-btn { padding: 0.7em 1.5em; border-radius: 0.2em; box-shadow: inset 0 0 0 1px var(--red); }
.a-flag { display: flex; align-items: center; justify-content: center; gap: 1.1em; margin: 1.3em 0 0.55em; }
.a-flag::before, .a-flag::after { content: ""; width: 4.5em; height: 1px; background: rgba(255, 255, 255, 0.22); }
.a-flag span { padding: 0.4em 0.75em; border-radius: 0.2em; background: var(--red); font-size: 0.6em; font-weight: 700; letter-spacing: 0.08em; }
.a-head { margin-bottom: 0.5em; text-align: center; font: 400 3.1em/1.05 "Instrument Serif", Georgia, serif; letter-spacing: -0.01em; }
.a-grid { display: grid; grid-template-columns: 1fr 1.42fr 1fr; gap: 1.6em; align-items: start; padding: 0 5.6em; }
.a-img { position: relative; overflow: hidden; }
.a-card .a-img { height: 14.2em; }
.a-main .a-img { height: 21.5em; }
.a-more { margin-top: 1.1em; padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.a-more small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.6em; font-weight: 700; letter-spacing: 0.1em; }
.a-more .a-t { margin-top: 0.4em; font-size: 1.12em; }
.a-img em { position: absolute; top: 0.7em; left: 0.7em; padding: 0.35em 0.6em; border-radius: 0.15em; background: var(--red); font-style: normal; font-size: 0.58em; font-weight: 700; letter-spacing: 0.07em; }
.a-t { margin: 0.7em 0 0.35em; font: 400 1.25em/1.12 "Instrument Serif", Georgia, serif; }
.a-main .a-t { text-align: center; font-size: 1.62em; }
.a-by { color: var(--red); font-size: 0.64em; font-weight: 700; letter-spacing: 0.08em; }
.a-meta { display: flex; justify-content: center; gap: 1.4em; color: rgba(255, 255, 255, 0.6); font-size: 0.72em; }

/* 4 · Consultancy (warm cream booking funnel) */
.s-pro { display: grid; grid-template-columns: 17.5em 1fr; background: #fbf3e7; color: #2e2b27; }
.p-side { display: flex; flex-direction: column; padding: 1.7em 1.5em 1.5em; background: #fffaf2; border-right: 1px solid rgba(46, 43, 39, 0.1); }
.p-logo { display: flex; align-items: center; gap: 0.4em; font: 400 1.6em/1 "Instrument Serif", Georgia, serif; }
.p-logo svg { width: 0.85em; height: 0.85em; }
.p-steps { list-style: none; display: grid; gap: 1.1em; margin: 1.8em 0 0; padding: 0; }
.p-steps li { position: relative; display: grid; grid-template-columns: 1.9em 1fr; column-gap: 0.85em; font-size: 0.8em; line-height: 1.3; }
.p-steps li:not(:last-child)::after { content: ""; position: absolute; left: 0.95em; top: 2.15em; height: 1.05em; width: 1px; background: rgba(46, 43, 39, 0.2); }
.p-steps i { grid-row: span 2; width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.85em; color: #8a8279; box-shadow: inset 0 0 0 1px rgba(46, 43, 39, 0.25); }
.p-steps .done i { background: #2e2b27; color: #fff; box-shadow: none; }
.p-steps .now i { color: #2e2b27; font-weight: 700; box-shadow: inset 0 0 0 1.5px #2e2b27; }
.p-steps b { font-weight: 600; }
.p-steps li:not(.done):not(.now) b { color: #8a8279; }
.p-steps small { color: #8a8279; font-size: 0.86em; }
.p-quote { margin-top: auto; padding: 1.1em; border-radius: 0.8em; background: #f4e7d3; }
.p-stars { color: #f2804f; font-size: 0.78em; letter-spacing: 0.12em; }
.p-quote p { margin: 0.45em 0 0.8em; font: italic 400 1.02em/1.32 "Instrument Serif", Georgia, serif; }
.p-who { display: flex; align-items: center; gap: 0.6em; font-size: 0.72em; line-height: 1.25; }
.p-who i { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #2e2b27; color: #fff; font-style: normal; font-size: 0.9em; }
.p-who b { display: block; }
.p-who small { color: #8a8279; }
.p-main { display: flex; flex-direction: column; padding: 1.8em 3em 1.8em 7.4em; }
.p-top { display: flex; align-items: center; gap: 1.2em; color: #8a8279; font-size: 0.78em; }
.p-bar { width: 16em; height: 0.35em; border-radius: 1em; background: rgba(46, 43, 39, 0.1); overflow: hidden; }
.p-bar i { display: block; width: 62%; height: 100%; border-radius: inherit; background: #f2804f; }
.p-top span:last-child { margin-left: auto; text-decoration: underline; text-underline-offset: 0.25em; }
.p-body { margin: auto 0; }
.p-foot { display: flex; gap: 2.2em; color: #8a8279; font-size: 0.74em; }
.p-title { margin-bottom: 0.25em; font: 400 2.85em/1.1 "Instrument Serif", Georgia, serif; letter-spacing: -0.01em; }
.p-sub { margin-bottom: 1.5em; color: #6f685f; font-size: 0.92em; }
.p-opt { display: grid; grid-template-columns: 2.6em 1fr auto; align-items: center; gap: 1em; max-width: 34em; margin-bottom: 0.8em; padding: 1.15em 1.3em; border-radius: 0.9em; background: #fffdf9; box-shadow: inset 0 0 0 1px rgba(46, 43, 39, 0.14); }
.p-opt.on { background: #34302b; color: #fff; box-shadow: none; }
.p-ic { width: 2.6em; height: 2.6em; border-radius: 0.55em; display: grid; place-items: center; background: #f3e9da; font-size: 0.95em; }
.p-opt.on .p-ic { background: #4a463f; color: #d9f26b; }
.p-opt b { display: block; font: 400 1.25em/1.2 "Instrument Serif", Georgia, serif; }
.p-opt small { color: #7a736a; font-size: 0.78em; }
.p-opt.on small { color: rgba(255, 255, 255, 0.7); }
.p-check { width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; background: #d9f26b; color: #2e2b27; font-size: 0.8em; font-weight: 700; }
.p-radio { width: 1.4em; height: 1.4em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(46, 43, 39, 0.3); }
.p-actions { display: flex; align-items: center; justify-content: space-between; max-width: 33em; margin-top: 1.3em; font-size: 0.9em; }
.p-btn { padding: 0.85em 1.8em; border-radius: 99em; background: #f2804f; color: #fff; font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee { margin: 96px 0 0; text-align: center; }
.marquee > p { margin: 0 0 24px; font-size: 13px; color: var(--fog); letter-spacing: 0.02em; }
/* About six logos in view at once */
.marquee-mask { max-width: 1060px; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; align-items: center; gap: 64px; margin: 0; padding: 0 32px; list-style: none; }
.marquee-track li { display: flex; align-items: center; flex: none; }
.marquee-track img { display: block; height: 30px; width: auto; max-width: none; opacity: 0.5; transition: opacity 0.3s; }
.marquee-track li:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0 0; }
.head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.head .badge { margin-bottom: 22px; }
.head p { max-width: 36em; margin: 0 auto; font-size: 18px; color: var(--fog); }
.divider { height: 1px; max-width: 900px; margin: 128px auto 0; background: var(--aurora); opacity: 0.45; }
@media (max-width: 800px) { .section { padding-top: 96px; } .divider { margin-top: 96px; } }

/* Cards with cursor-following light */
.card {
  position: relative; overflow: hidden; border-radius: 16px; padding: 30px;
  background: var(--surface); box-shadow: var(--rim), 0 0 0 1px var(--line);
}
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.45s; }
.spot::before { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 48, 229, 0.16), transparent 45%); }
.spot::after {
  padding: 1px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 170, 255, 0.6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
.card > * { position: relative; }
.ico { width: 26px; height: 26px; margin-bottom: 22px; color: var(--text); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 15px; color: var(--fog); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

/* Industry cards get a faint index number and a small sector label */
.card .idx { position: absolute; top: 26px; right: 28px; font: 500 13px/1 var(--sans); color: rgba(244, 240, 255, 0.28); }
.card .kicker { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
.card h3 + p { margin-top: 0; }

/* Journal cards (home page teaser and /blog) */
.head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }
.head-split h2 { margin: 22px 0 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 16px; text-decoration: none;
  background: var(--surface); box-shadow: var(--rim), 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--rim-2), 0 0 0 1px var(--line-2); }
.post-card > * { position: relative; }
.post-body { padding: 22px 24px 26px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; color: var(--fog); font-size: 13px; }
.post-cat { padding: 4px 10px; border-radius: 32px; background: rgba(169, 140, 255, 0.12); color: var(--accent); font-weight: 500; }
.post-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.post-card p.post-ex { margin: 0; color: var(--fog); font-size: 15px; }
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0d0724; }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .cover-tag { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 8px; color: rgba(244, 240, 255, 0.85); font: 500 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.cover .cover-tag img { width: 14px; height: 14px; }
.cv-0 { background: radial-gradient(70% 90% at 15% 10%, rgba(125, 48, 229, 0.75), transparent 60%), radial-gradient(60% 80% at 95% 100%, rgba(156, 178, 255, 0.4), transparent 60%), #0d0724; }
.cv-1 { background: radial-gradient(70% 90% at 85% 0%, rgba(229, 156, 255, 0.55), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(125, 48, 229, 0.6), transparent 60%), #0c0620; }
.cv-2 { background: radial-gradient(80% 90% at 50% 120%, rgba(145, 80, 242, 0.75), transparent 60%), radial-gradient(50% 60% at 10% 0%, rgba(156, 178, 255, 0.35), transparent 60%), #0a0619; }
.cv-3 { background: radial-gradient(60% 80% at 0% 50%, rgba(156, 178, 255, 0.5), transparent 60%), radial-gradient(70% 90% at 100% 30%, rgba(125, 48, 229, 0.6), transparent 62%), #0b0720; }
.cv-4 { background: radial-gradient(70% 80% at 70% 20%, rgba(186, 156, 255, 0.55), transparent 58%), radial-gradient(60% 70% at 20% 110%, rgba(229, 156, 255, 0.35), transparent 60%), #0d0622; }
.cv-5 { background: radial-gradient(90% 70% at 50% 0%, rgba(125, 48, 229, 0.7), transparent 60%), radial-gradient(40% 60% at 90% 90%, rgba(126, 240, 176, 0.18), transparent 60%), #090518; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } .head-split { flex-direction: column; align-items: flex-start; } }

/* Service blocks */
.block {
  position: relative; overflow: hidden; border-radius: 24px; padding: 44px;
  background: linear-gradient(180deg, rgba(22, 10, 58, 0.6), rgba(11, 6, 25, 0.75));
  box-shadow: var(--rim-2), 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.block > * { position: relative; }
.block .label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--accent); font: 500 13px/1 var(--sans); letter-spacing: 0.02em; }
.block .label svg { width: 18px; height: 18px; }
.block h3 { font-size: clamp(1.7rem, 2.8vw, 2.15rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 14px; }
.block > p { color: var(--ash); font-size: 16.5px; max-width: 30em; }
.ticks { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; color: var(--text); font-size: 15px; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.block-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.block-foot strong { font: 500 18px/1.2 var(--display); letter-spacing: -0.01em; }
.block-orb { position: absolute; width: 420px; height: 420px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(125, 48, 229, 0.28), transparent 70%); pointer-events: none; }
@media (max-width: 600px) { .block { padding: 30px 24px; } }

/* Feature grid: no surfaces, icons float on the canvas */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 36px; }
.feat .ico { margin-bottom: 18px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { margin: 0; font-size: 15px; color: var(--fog); }
@media (max-width: 1020px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; gap: 36px; } }

/* Process with a line that fills as you scroll */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before, .steps-fill { content: ""; position: absolute; top: 21px; left: 21px; right: 21px; height: 1px; }
.steps::before { background: var(--line-2); }
.steps-fill { background: var(--cosmic); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step .dot {
  position: relative; z-index: 1; width: 42px; height: 42px; margin-bottom: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); box-shadow: var(--rim-2), 0 0 0 1px var(--line-2);
  color: var(--fog); font: 500 13px/1 var(--sans); transition: box-shadow 0.5s, color 0.5s, background 0.5s;
}
.step.on .dot { color: var(--text); background: var(--raised); box-shadow: var(--glow), 0 0 0 1px rgba(169, 140, 255, 0.7), 0 0 28px rgba(125, 48, 229, 0.55); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--fog); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 40px; padding-left: 64px; }
  .steps::before, .steps-fill { top: 21px; bottom: 21px; left: 21px; right: auto; width: 1px; height: auto; }
  .steps-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step .dot { position: absolute; left: -64px; top: 0; margin: 0; }
  .step { position: relative; min-height: 42px; }
  .step h3 { padding-top: 9px; }
}

/* Principles */
.principle h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 12px; }

/* Care plans */
.care { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 16px; }
.price-panel {
  position: relative; overflow: hidden; border-radius: 24px; padding: 46px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(125, 48, 229, 0.38), transparent 60%), var(--surface);
  box-shadow: var(--rim-2), 0 0 0 1px var(--line-2);
  display: flex; flex-direction: column;
}
.price-panel .eyebrow { margin: 0; color: var(--ash); font-size: 15px; }
.price-panel .price { margin: 8px 0 18px; font: 500 clamp(2.9rem, 5.4vw, 3.9rem)/1 var(--display); letter-spacing: -0.04em; color: var(--text); }
.price span { margin-left: 8px; font: 400 16px var(--sans); letter-spacing: 0; color: var(--fog); }
.price-panel > p { color: var(--ash); max-width: 27em; }
.factors { list-style: none; margin: 10px 0 30px; padding: 0; display: grid; gap: 10px; }
.factors li { display: flex; gap: 12px; color: var(--text); font-size: 15px; }
.factors li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.price-panel .btn { align-self: flex-start; margin-top: auto; }
.incl { border-radius: 24px; padding: 46px; background: var(--surface); box-shadow: var(--rim), 0 0 0 1px var(--line); }
.incl h3 { font-size: 22px; margin-bottom: 26px; }
.incl .ticks { grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0 0 28px; }
.incl .small { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fog); }
@media (max-width: 900px) { .care { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .price-panel, .incl { padding: 32px 24px; } .incl .ticks { grid-template-columns: 1fr; } }

/* Testimonials (hidden until real quotes are in) */
.quote p { margin: 0 0 22px; color: var(--text); font-size: 16px; line-height: 1.6; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--text); font: 500 14px/1 var(--sans); box-shadow: var(--glow); }
.quote cite { font-style: normal; color: var(--text); font-size: 15px; font-weight: 500; display: block; }
.quote small { color: var(--fog); font-size: 14px; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { margin-top: 22px; }
.contact-copy > p { color: var(--ash); font-size: 17px; }
.next { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.next li { counter-increment: n; display: flex; gap: 14px; color: var(--ash); font-size: 15px; }
.next li::before { content: counter(n); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--rim-2), 0 0 0 1px var(--line-2); color: var(--text); font: 500 12px/1 var(--sans); }
.next strong { display: block; margin-bottom: 2px; }
.contact-copy .mail { color: var(--fog); font-size: 15px; }
.contact-copy .mail a { color: var(--accent); text-decoration: none; }
.contact-copy .mail a:hover { color: var(--text); }

.form-card { border-radius: 24px; padding: 38px; background: var(--surface); box-shadow: var(--rim-2), 0 0 0 1px var(--line); }
form { display: grid; gap: 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
label { color: var(--text); font-size: 14px; font-weight: 500; }
label .opt { color: var(--fog); font-weight: 400; }
input, textarea, select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: rgba(244, 240, 255, 0.03); border: 1px solid var(--line-2); border-radius: 5px;
  padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input, select { height: 48px; }
input::placeholder, textarea::placeholder { color: #6f6c80; }
input:hover, textarea:hover, select:hover { border-color: rgba(244, 240, 255, 0.22); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); background: rgba(125, 48, 229, 0.06); box-shadow: 0 0 0 3px rgba(125, 48, 229, 0.25); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a8a6b7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select option { background: #0b0619; color: var(--text); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.ts { min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { margin: 0; font-size: 14px; color: var(--ash); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #e59cff; }
.form-note { margin: 0; font-size: 13px; color: var(--fog); }
.form-note a { color: var(--accent); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .form-card { padding: 28px 22px; } .row-2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 140px; padding: 0 0 48px; }
.site-footer::before { content: ""; display: block; height: 1px; max-width: var(--wrap); margin: 0 auto 56px; background: var(--aurora); opacity: 0.35; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin: 14px 0 0; color: var(--fog); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; }
.footer-nav a { color: var(--ash); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }
.legal { margin-top: 44px; color: var(--fog); font-size: 13px; }
.legal p { margin: 0; }
.legal p + p { margin-top: 4px; }

/* ---------- Inner pages: New websites, Care plans ---------- */
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(244, 240, 255, 0.06); }
.page-hero { padding-bottom: 0; }
.page-hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.3rem); }
.page-hero .lede { max-width: 34em; }

/* Build packages */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg { display: flex; flex-direction: column; padding: 32px; }
.pkg h3 { font-size: 23px; margin-bottom: 10px; }
.pkg h3 + p { min-height: 3.1em; }
.pkg-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pkg-price strong { font: 500 30px/1 var(--display); letter-spacing: -0.03em; }
.pkg-price small { margin-right: 7px; color: var(--fog); font: 400 14px var(--sans); letter-spacing: 0; }
.pkg-price span { color: var(--fog); font-size: 14px; white-space: nowrap; }
.pkg .ticks { margin: 22px 0 26px; gap: 11px; }
.pkg .ticks li { font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 22px; padding: 0; list-style: none; }
.chips li { padding: 5px 11px; border-radius: 999px; background: rgba(169, 140, 255, 0.1); color: var(--ash); font-size: 12.5px; }
.pkg .link { align-self: flex-start; }
.pkg-note { margin: 26px auto 0; text-align: center; color: var(--fog); font-size: 14px; }
.pkg-note a { color: var(--accent); }
@media (max-width: 1020px) { .pkgs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pkgs { grid-template-columns: 1fr; } .pkg { padding: 26px 22px; } }

/* Checklist panel that stands on its own */
.incl.solo { max-width: 1040px; margin: 0 auto; }
.incl.solo .ticks { grid-template-columns: repeat(3, 1fr); margin: 0; }
@media (max-width: 900px) { .incl.solo .ticks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .incl.solo .ticks { grid-template-columns: 1fr; } }

/* Care plan tiers */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 40px; border-radius: 24px; }
.plan.featured { background: radial-gradient(120% 90% at 0% 0%, rgba(125, 48, 229, 0.38), transparent 60%), var(--surface); box-shadow: var(--rim-2), 0 0 0 1px rgba(169, 140, 255, 0.45); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { margin: 0; font-size: 24px; }
.plan-tag { padding: 5px 11px; border-radius: 999px; background: rgba(169, 140, 255, 0.16); color: var(--accent); font-size: 12.5px; font-weight: 500; }
.price b { font-weight: inherit; }
.plan .price { margin: 24px 0 12px; font: 500 clamp(2.6rem, 4.6vw, 3.3rem)/1 var(--display); letter-spacing: -0.04em; color: var(--text); }
.plan .ticks { margin: 26px 0 32px; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plans-note { max-width: 980px; margin: 22px auto 0; text-align: center; color: var(--fog); font-size: 14px; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .plan { padding: 30px 24px; } }

/* Three-step version of the process line */
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps.steps-3 { grid-template-columns: 1fr; } }

/* Questions */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; color: var(--text); font: 500 18px/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { max-width: 42em; margin: 0 4px 24px; color: var(--ash); font-size: 16px; }
.faq details a { color: var(--accent); }

/* Currency switch (USD by default; main.js swaps every [data-usd] amount) */
.cur { display: none; gap: 2px; padding: 3px; margin: 26px auto 0; border-radius: 999px; background: rgba(11, 6, 25, 0.7); box-shadow: var(--rim), 0 0 0 1px var(--line); }
.js .cur { display: inline-flex; }
.cur button { appearance: none; border: 0; cursor: pointer; padding: 7px 14px; border-radius: 999px; background: transparent; color: var(--fog); font: 500 13px/1 var(--sans); letter-spacing: 0.03em; transition: color 0.2s, background 0.2s; }
.cur button:hover { color: var(--text); }
.cur button[aria-pressed="true"] { color: var(--text); background: var(--raised); box-shadow: var(--glow), 0 0 0 1px rgba(169, 140, 255, 0.25); }
.head .cur { margin-top: 26px; }

/* Platform lab: pick a platform, watch a slice of a real build type itself, run, and render.
   main.js sets --n / --d / --t on each code line and adds .typing → .building → .live to the pane.
   Hidden "before" states only apply under .lab.anim, so no-JS and reduced-motion visitors see the finished state. */
.lab { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; max-width: 1140px; margin: 0 auto; }
.lab-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.lab-tab { appearance: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--surface); box-shadow: var(--rim), 0 0 0 1px var(--line); transition: box-shadow 0.3s, background 0.3s; }
.lab-tab img { height: 20px; width: auto; max-width: none; opacity: 0.45; transition: opacity 0.3s; }
.lab-tab:hover img { opacity: 0.85; }
.lab-tab[aria-pressed="true"] { background: var(--raised); box-shadow: var(--glow), 0 0 0 1px rgba(169, 140, 255, 0.55), 0 10px 30px -12px rgba(125, 48, 229, 0.8); }
.lab-tab[aria-pressed="true"] img { opacity: 1; }

.ide { position: relative; overflow: hidden; border-radius: 18px; background: #0a0618; box-shadow: var(--rim-2), 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(125, 48, 229, 0.6); }
.ide-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(22, 10, 58, 0.45); }
.ide-title { margin: 0 auto; padding-right: 60px; color: var(--fog); font: 500 12.5px/1 var(--sans); }
.pane { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 440px; }
.js .pane:not(.on) { display: none; }
.pane + .pane { border-top: 1px solid var(--line-2); }
.ed { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.ed-tab { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--text); font: 500 12.5px/1 var(--mono); }
.ed-tab::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(169, 140, 255, 0.7); }
.ed-tab .lang { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(169, 140, 255, 0.12); color: var(--accent); font: 500 11px/1 var(--sans); letter-spacing: 0.04em; }
.code { flex: 1; padding: 16px 0; overflow-x: auto; counter-reset: ln; color: #d6d2e8; font: 400 13px/1.75 var(--mono); scrollbar-width: none; }
.code::-webkit-scrollbar { display: none; }
.row { display: flex; padding-right: 18px; }
.row::before { counter-increment: ln; content: counter(ln); flex: none; width: 46px; padding-right: 16px; text-align: right; color: #48425f; }
.cl { white-space: pre; overflow: hidden; }
.code .k { color: #c4a7ff; }
.code .s { color: #9fe3c1; }
.code .f { color: #8ec5ff; }
.code .v { color: #ffcf8a; }
.code .c { color: #6f6889; font-style: italic; }
.code .t { color: #ff9ecf; }
.code .p { color: #9d9ab0; }
.code .n { color: #ffb38a; }
.code .a { color: #ffe08a; }
.caret { display: inline-block; width: 7px; height: 15px; margin-left: 62px; vertical-align: -2px; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term { min-height: 92px; padding: 12px 18px 14px; border-top: 1px solid var(--line); background: #07040f; font: 400 12.5px/1.75 var(--mono); }
.term p { margin: 0; color: var(--ash); }
.term .pr { margin-right: 8px; color: var(--accent); }
.term .ok { color: #7ef0b0; }

.lab.anim .cl { width: 0; }
.lab.anim .pane.typing .cl { animation: type var(--t, 0.3s) steps(var(--n, 20), end) var(--d, 0s) forwards; }
@keyframes type { to { width: calc(var(--n) * 1ch + 3px); } } /* +3px: glyph widths round slightly above 1ch */
.lab.anim .pane.building .cl { width: auto; animation: none; }
.lab.anim .caret { opacity: 0; }
.lab.anim .pane.building .caret { opacity: 1; }
.lab.anim .term p { opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s; }
.lab.anim .pane.building .term p:first-child, .lab.anim .pane.live .term p { opacity: 1; transform: none; }
.lab.anim .pane.live .term p:nth-child(2) { transition-delay: 0.1s; }
.lab.anim .pane.live .term p:nth-child(3) { transition-delay: 0.3s; }

/* Preview column */
.view { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 18px; background: radial-gradient(90% 70% at 70% 10%, rgba(125, 48, 229, 0.22), transparent 60%), #0c0720; }
.view-label { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; color: var(--fog); font: 500 12px/1 var(--sans); }
.view-label i { width: 7px; height: 7px; border-radius: 50%; background: #4a4466; transition: background 0.3s, box-shadow 0.3s; }
.pane.live .view-label i { background: #7ef0b0; box-shadow: 0 0 0 4px rgba(126, 240, 176, 0.15); }
.pv { position: relative; flex: 1; min-height: 300px; overflow: hidden; border-radius: 10px; background: #fff; color: #1d1a2b; font: 400 12px/1.4 var(--sans); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.85); }
.pv p { margin: 0; }
.pv-url { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid #ecebf1; background: #f8f7fb; color: #8a8798; font-size: 10.5px; }
.pv-url::before { content: ""; flex: none; width: 6px; height: 6px; margin-right: 22px; border-radius: 50%; background: #d9d7e2; box-shadow: 10px 0 0 #d9d7e2, 20px 0 0 #d9d7e2; }
.pv-in { padding: 16px; }
.pv-wait { display: none; position: absolute; inset: 28px 0 0; place-items: center; background: #fff; color: #9a97a8; font-size: 11.5px; transition: opacity 0.45s; }
.lab.anim .pv-wait { display: grid; }
.pv-wait span { display: flex; align-items: center; gap: 8px; }
.pv-wait span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #e4e2ec; border-top-color: #7d30e5; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lab.anim .pane.live .pv-wait { opacity: 0; pointer-events: none; }

/* WordPress: blocks drop in one at a time, each flashing the block editor's blue outline */
.wpb { position: relative; margin-bottom: 11px; border-radius: 4px; }
.wpb::after { content: attr(data-b); position: absolute; top: -9px; left: 6px; padding: 1px 6px; border-radius: 3px; background: #3858e9; color: #fff; font-size: 9px; font-weight: 600; opacity: 0; }
.wp-kick { margin-bottom: 3px !important; color: #3858e9; font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; }
.wp-h { font: 600 18px/1.15 var(--display); letter-spacing: -0.02em; }
.wp-img { height: 96px; background: linear-gradient(135deg, #efe2d0, #c9a888 55%, #8a6a52); }
.wp-lines i { display: block; height: 6px; margin-bottom: 6px; border-radius: 3px; background: #e7e5ee; }
.wp-lines i:last-child { width: 62%; }
.wp-cta { display: flex; align-items: center; gap: 10px; }
.wp-btn { padding: 7px 12px; border-radius: 4px; background: #1d1a2b; color: #fff; font-size: 11px; font-weight: 600; }
.wp-meta { color: #8a8798; font-size: 10.5px; }
.lab.anim .wpb { opacity: 0; transform: translateY(10px); }
.lab.anim .pane.live .wpb { animation: wpIn 0.55s var(--ease) forwards, wpFlash 1.2s ease-out forwards; }
.lab.anim .pane.live .wpb::after { animation: wpTag 1.2s ease-out forwards; }
.lab.anim .pane.live .wpb:nth-child(2), .lab.anim .pane.live .wpb:nth-child(2)::after { animation-delay: 0.35s; }
.lab.anim .pane.live .wpb:nth-child(3), .lab.anim .pane.live .wpb:nth-child(3)::after { animation-delay: 0.7s; }
.lab.anim .pane.live .wpb:nth-child(4), .lab.anim .pane.live .wpb:nth-child(4)::after { animation-delay: 1.05s; }
@keyframes wpIn { to { opacity: 1; transform: none; } }
@keyframes wpFlash { 0%, 45% { box-shadow: 0 0 0 2px #3858e9; } 100% { box-shadow: 0 0 0 2px rgba(56, 88, 233, 0); } }
@keyframes wpTag { 0%, 50% { opacity: 1; } 100% { opacity: 0; } }

/* WooCommerce: a second item lands, the free-delivery bar fills, the notice flips */
.woo-h { margin-bottom: 8px !important; font: 600 15px/1 var(--display); }
.woo-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #efeef3; }
.woo-th { width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #e7dccb, #cbb89c); }
.woo-new .woo-th { background: linear-gradient(135deg, #d9c2a3, #9b7a57); }
.woo-row b { display: block; font-size: 12px; }
.woo-row small { color: #8a8798; font-size: 10.5px; }
.woo-row em { font-style: normal; font-weight: 600; }
.woo-note { position: relative; margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #f4f0ff; color: #5a2bb3; font-size: 11.5px; font-weight: 600; }
.woo-msg { display: block; transition: opacity 0.4s; }
.woo-msg.b { position: absolute; top: 10px; left: 12px; opacity: 0; color: #0f7a43; }
.woo-bar { display: block; height: 5px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: rgba(90, 43, 179, 0.15); }
.woo-bar i { display: block; width: 76%; height: 100%; border-radius: inherit; background: #7f54b3; transition: width 0.8s var(--ease) 0.6s, background 0.3s 1.2s; }
.woo-total { display: flex; justify-content: space-between; font-weight: 600; }
.woo-total b { position: relative; }
.woo-tot { transition: opacity 0.3s 0.7s; }
.woo-tot.b { position: absolute; right: 0; opacity: 0; }
.woo-new { overflow: hidden; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), max-height 0.5s var(--ease), padding 0.5s; max-height: 60px; }
.lab.anim .woo-new { opacity: 0; transform: translateX(18px); max-height: 0; padding: 0; border-bottom-width: 0; }
.lab.anim .pane.live .woo-new { opacity: 1; transform: none; max-height: 60px; padding: 8px 0; border-bottom-width: 1px; }
.pane.live .woo-bar i { width: 100%; background: #0f7a43; }
.pane.live .woo-msg.a, .pane.live .woo-tot.a { opacity: 0; }
.pane.live .woo-msg.b { opacity: 1; transition-delay: 1.2s; }
.pane.live .woo-tot.b { opacity: 1; }

/* Shopify: the swatch moves, the product recolours, the cart drawer slides in */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.shop-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: #d9c7a8; }
.shop-img i { position: relative; width: 46%; height: 50%; margin-top: 14%; border-radius: 6px 6px 12px 12px; background: rgba(255, 255, 255, 0.28); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
.shop-img i::before { content: ""; position: absolute; left: 24%; right: 24%; top: -30%; height: 34%; border: 3px solid rgba(255, 255, 255, 0.5); border-bottom: 0; border-radius: 20px 20px 0 0; }
.shop-t { font: 600 15px/1.2 var(--display); }
.shop-p { margin: 4px 0 10px !important; color: #5d5a6c; }
.shop-sw { position: relative; display: flex; gap: 8px; margin-bottom: 12px; }
.shop-sw i { width: 18px; height: 18px; border-radius: 50%; background: #d9c7a8; }
.shop-sw i:nth-child(2) { background: #2f3a33; }
.shop-sw i:nth-child(3) { background: #b4563b; }
.sw-ring { position: absolute; top: -3px; left: -3px; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px #1d1a2b; }
.shop-btn { display: block; padding: 8px 0; border-radius: 6px; background: #1d1a2b; color: #fff; text-align: center; font-size: 11.5px; font-weight: 600; }
.bag { position: relative; margin-left: auto; width: 12px; height: 11px; border: 1.5px solid #8a8798; border-radius: 2px 2px 3px 3px; }
.bag b { position: absolute; top: -8px; right: -9px; display: grid; place-items: center; min-width: 13px; height: 13px; border-radius: 7px; background: #1d1a2b; color: #fff; font-size: 8px; transform: scale(0); }
.shop-drawer { position: absolute; top: 28px; right: 0; bottom: 0; width: 60%; padding: 14px; background: #fff; box-shadow: -24px 0 40px -14px rgba(0, 0, 0, 0.3); transform: translateX(105%); }
.shop-drawer > b { display: block; margin-bottom: 10px; font-size: 12.5px; }
.shop-line { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #efeef3; font-size: 11px; }
.shop-line i { width: 30px; height: 30px; border-radius: 5px; background: #b4563b; }
.shop-line em { display: block; font-style: normal; font-weight: 600; }
.shop-co { display: block; margin-top: 12px; padding: 8px 0; border-radius: 6px; background: #008060; color: #fff; text-align: center; font-size: 11px; font-weight: 600; }
.pane.live .sw-ring { animation: swPick 1.2s var(--ease) forwards; }
.pane.live .shop-img { animation: swImg 1.2s var(--ease) forwards; }
.pane.live .shop-btn { animation: press 0.32s ease 1.4s; }
.pane.live .shop-drawer { transform: none; transition: transform 0.6s var(--ease) 1.75s; }
.pane.live .bag b { transform: scale(1); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) 2s; }
@keyframes swPick { 40% { transform: translateX(26px); } 100% { transform: translateX(52px); } }
@keyframes swImg { 40% { background: #2f3a33; } 100% { background: #b4563b; } }
@keyframes press { 50% { transform: scale(0.95); } }

/* Webflow: select, restyle, move to the button, publish */
.pv-wf { background: #f5f5f7; }
.wf-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px 0 12px; background: #1e1e1e; color: #bdbdbd; font-size: 10.5px; }
.wf-bar .wf-dev { display: flex; gap: 5px; margin-left: 10px; }
.wf-bar .wf-dev i { width: 12px; height: 9px; border: 1.5px solid #6a6a6a; border-radius: 2px; }
.wf-bar .wf-dev i:first-child { border-color: #146ef5; }
.wf-pub { margin-left: auto; padding: 4px 10px; border-radius: 4px; background: #146ef5; color: #fff; font-weight: 600; }
.wf-main { display: grid; grid-template-columns: minmax(0, 1fr) 96px; height: calc(100% - 30px); }
.wf-canvas { position: relative; overflow: hidden; background: #fff; }
.wf-h1 { position: absolute; top: 26px; left: 18px; font: 700 20px/1.1 var(--display); letter-spacing: -0.03em; transform-origin: 0 50%; }
.wf-sub { position: absolute; top: 60px; left: 18px; right: 18px; color: #6b6878; font-size: 11px; }
.wf-cta { position: absolute; top: 96px; left: 18px; padding: 8px 14px; border-radius: 999px; background: #1d1a2b; color: #fff; font-size: 11px; font-weight: 600; }
.wf-cards { position: absolute; left: 18px; right: 18px; top: 146px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wf-cards i { height: 64px; border-radius: 6px; background: #f1f0f5; }
.wf-sel { position: absolute; top: 20px; left: 12px; width: 150px; height: 34px; border: 1.5px solid #146ef5; pointer-events: none; }
.wf-sel::before, .wf-sel::after { position: absolute; top: -17px; left: -1.5px; padding: 2px 6px; border-radius: 3px 3px 3px 0; background: #146ef5; color: #fff; font-size: 9px; font-weight: 600; transition: opacity 0.2s; }
.wf-sel::before { content: "Heading"; }
.wf-sel::after { content: "Button"; opacity: 0; }
.wf-side { padding: 10px 8px; border-left: 1px solid #e6e5ea; background: #fafafa; font-size: 9.5px; color: #6b6878; }
.wf-side b { display: block; margin-bottom: 8px; color: #1d1a2b; font-size: 10px; }
.wf-prop { display: flex; justify-content: space-between; padding: 5px 6px; margin-bottom: 5px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #e6e5ea; }
.wf-prop em { position: relative; font-style: normal; color: #1d1a2b; font-weight: 600; }
.wf-prop .b { position: absolute; right: 0; opacity: 0; }
.wf-toast { position: absolute; left: 50%; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: #1e1e1e; color: #fff; font-size: 10.5px; white-space: nowrap; opacity: 0; transform: translate(-50%, 14px); }
.wf-toast::before { content: "✓ "; color: #7ef0b0; }
.pane.live .wf-sel { animation: wfSel 2.2s var(--ease) forwards; }
.pane.live .wf-sel::before { opacity: 0; transition-delay: 1.15s; }
.pane.live .wf-sel::after { opacity: 1; transition-delay: 1.15s; }
.pane.live .wf-h1 { animation: wfGrow 0.6s var(--ease) 0.4s forwards; }
.pane.live .wf-prop .a { opacity: 0; transition: opacity 0.2s 0.4s; }
.pane.live .wf-prop .b { opacity: 1; transition: opacity 0.2s 0.4s; }
.pane.live .wf-cta { background: #146ef5; transition: background 0.4s 1.6s; }
.pane.live .wf-pub { animation: press 0.32s ease 2.4s; }
.pane.live .wf-toast { opacity: 1; transform: translate(-50%, 0); transition: opacity 0.4s 2.7s, transform 0.5s var(--ease) 2.7s; }
@keyframes wfSel { 0%, 45% { top: 20px; left: 12px; width: 168px; height: 36px; } 65%, 100% { top: 90px; left: 12px; width: 118px; height: 40px; } }
@keyframes wfGrow { to { transform: scale(1.12); } }

/* Next.js: skeletons shimmer, then each widget streams in */
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nx-card, .nx-chart { position: relative; padding: 12px; border-radius: 8px; border: 1px solid #ecebf1; }
.nx-card { min-height: 64px; }
.nx-chart { grid-column: 1 / -1; height: 120px; }
.nx-chart > small { color: #8a8798; font-size: 10.5px; }
.sk { position: absolute; inset: 10px; border-radius: 5px; background: linear-gradient(90deg, #f0eff5 25%, #e2e0ea 50%, #f0eff5 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; transition: opacity 0.3s; }
@keyframes shimmer { to { background-position: -200% 0; } }
.nx-v small { display: block; color: #8a8798; font-size: 10.5px; }
.nx-v b { font: 600 19px/1.25 var(--display); letter-spacing: -0.02em; }
.nx-v b span { margin-left: 6px; color: #0f7a43; font: 600 10.5px var(--sans); }
.nx-v, .nx-chart > small, .nx-bars { opacity: 0; transition: opacity 0.4s; }
.nx-bars { position: absolute; left: 12px; right: 12px; bottom: 12px; top: 34px; display: flex; align-items: flex-end; gap: 7px; }
.nx-bars i { flex: 1; height: 50%; border-radius: 3px 3px 0 0; background: #111; transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.nx-bars i:nth-child(1) { height: 38%; } .nx-bars i:nth-child(2) { height: 52%; } .nx-bars i:nth-child(3) { height: 46%; }
.nx-bars i:nth-child(4) { height: 70%; } .nx-bars i:nth-child(5) { height: 62%; } .nx-bars i:nth-child(6) { height: 84%; } .nx-bars i:nth-child(7) { height: 100%; }
.pane.live .nx-card:nth-child(1) .sk { opacity: 0; transition-delay: 0.2s; }
.pane.live .nx-card:nth-child(1) .nx-v { opacity: 1; transition-delay: 0.3s; }
.pane.live .nx-card:nth-child(2) .sk { opacity: 0; transition-delay: 0.8s; }
.pane.live .nx-card:nth-child(2) .nx-v { opacity: 1; transition-delay: 0.9s; }
.pane.live .nx-chart .sk { opacity: 0; transition-delay: 1.4s; }
.pane.live .nx-chart > small, .pane.live .nx-bars { opacity: 1; transition-delay: 1.5s; }
.pane.live .nx-bars i { transform: none; transition-delay: 1.55s; }
.pane.live .nx-bars i:nth-child(2) { transition-delay: 1.61s; } .pane.live .nx-bars i:nth-child(3) { transition-delay: 1.67s; }
.pane.live .nx-bars i:nth-child(4) { transition-delay: 1.73s; } .pane.live .nx-bars i:nth-child(5) { transition-delay: 1.79s; }
.pane.live .nx-bars i:nth-child(6) { transition-delay: 1.85s; } .pane.live .nx-bars i:nth-child(7) { transition-delay: 1.91s; }

/* Astro: the static page is there at once; one island wakes up */
.as-h { margin-bottom: 6px !important; font: 600 15px/1 var(--display); }
.as-l { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #efeef3; font-size: 11.5px; }
.as-l::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #ff5d01; }
.as-island { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 12px; border: 1.5px dashed #c9c4d9; border-radius: 8px; transition: border-color 0.4s, box-shadow 0.6s; }
.as-island p { font-weight: 600; }
.as-tag { position: absolute; top: -8px; left: 10px; padding: 1px 6px; border-radius: 4px; background: #fff; color: #8a8798; font: 500 9.5px/1.4 ui-monospace, Menlo, monospace; transition: color 0.3s, background 0.3s; }
.as-btn { padding: 6px 10px; border-radius: 6px; background: #e4e2ec; color: #8a8798; font-size: 11px; font-weight: 600; transition: background 0.4s, color 0.4s; }
.as-meter { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #8a8798; font-size: 10.5px; }
.as-meter i { flex: 1; height: 5px; overflow: hidden; border-radius: 3px; background: #efeef3; }
.as-meter b { display: block; width: 0; height: 100%; background: #8c37ff; transition: width 0.6s var(--ease) 1.2s; }
.as-meter em { font-style: normal; color: #1d1a2b; font-weight: 600; }
.lab.anim .as-l { opacity: 0; }
.lab.anim .pane.live .as-l { opacity: 1; transition: opacity 0.25s; }
.pane.live .as-island { border-style: solid; border-color: #8c37ff; box-shadow: 0 0 0 4px rgba(140, 55, 255, 0.12); transition-delay: 0.9s; }
.pane.live .as-tag { background: #8c37ff; color: #fff; transition-delay: 0.9s; }
.pane.live .as-btn { background: linear-gradient(90deg, #ff5d01, #8c37ff); color: #fff; transition-delay: 1s; }
.pane.live .as-meter b { width: 9%; }

/* What the visitor actually needs to know, per platform */
.lab-facts { margin-top: 16px; }
.lab-fact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.js .lab-fact:not(.on) { display: none; }
.lab-fact + .lab-fact { margin-top: 16px; }
.js .lab-fact + .lab-fact { margin-top: 0; }
.lab-fact > div { padding: 20px 22px; border-radius: 14px; background: var(--surface); box-shadow: var(--rim), 0 0 0 1px var(--line); }
.lab-fact .fk { margin: 0 0 6px; color: var(--accent); font-size: 12.5px; font-weight: 500; }
.lab-fact p { margin: 0; color: var(--ash); font-size: 14.5px; }
.lab-fact p a { color: var(--accent); }
.lab-fact .used { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lab-fact .used a { padding: 4px 10px; border-radius: 999px; background: rgba(169, 140, 255, 0.1); color: var(--ash); font-size: 12px; text-decoration: none; }
.lab-fact .used a:hover { color: var(--text); }
.lab-fact.on > div { animation: factIn 0.5s var(--ease) both; }
.lab-fact.on > div:nth-child(2) { animation-delay: 0.06s; }
.lab-fact.on > div:nth-child(3) { animation-delay: 0.12s; }
.lab-fact.on > div:nth-child(4) { animation-delay: 0.18s; }
@keyframes factIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .pane { grid-template-columns: minmax(0, 1fr); }
  .ed { border-right: 0; border-bottom: 1px solid var(--line); }
  .lab-fact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lab-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -24px 18px; padding: 2px 24px; scrollbar-width: none; }
  .lab-tabs::-webkit-scrollbar { display: none; }
  .lab-tab { flex: none; height: 44px; padding: 0 16px; }
  .lab-tab img { height: 17px; }
  .code { font-size: 11.5px; }
  .row::before { width: 34px; padding-right: 12px; }
  .ide-title { display: none; }
  .lab-fact { grid-template-columns: minmax(0, 1fr); }
}

/* Closing call to action */
.page-cta {
  max-width: 980px; margin: 0 auto; padding: 64px 40px; border-radius: 28px; text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(125, 48, 229, 0.45), transparent 65%), var(--surface);
  box-shadow: var(--rim-2), 0 0 0 1px var(--line-2);
}
.page-cta h2 { margin-bottom: 14px; }
.page-cta p { max-width: 32em; margin: 0 auto; color: var(--ash); font-size: 18px; }
.page-cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
@media (max-width: 600px) { .page-cta { padding: 44px 24px; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.doc { max-width: 740px; margin: 0 auto; padding: 88px 24px 40px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin-top: 2.2em; }
.doc p, .doc li { color: var(--ash); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.5em; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); }
.doc .updated { color: var(--fog); font-size: 14px; margin-bottom: 2.4em; }

/* ---------- Reduced motion: everything visible, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero .badge, .js .hero h1 .line, .js .hero .lede, .js .hero .actions, .js .hero .meta,
  .js [data-reveal], .js [data-stagger] > *, .js .showcase:not(.in) .lean, .toast { opacity: 1; transform: none; filter: none; }
}
