/* =========================================================
   MyServices — shared stylesheet
   ========================================================= */
:root {
  --deep: #0b1f3a; --deep-2: #17366a; --deep-rgb: 11, 31, 58; --glow-2: #2f6fd6; --soft: #fdf8ea;
  --shine: linear-gradient(90deg, #f2b705, #fff1b8 25%, #e39b00 50%, #ffd45c 75%, #f2b705);
  --bg: #050505;
  --bg-2: #0e0e0e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f3ee;
  --muted: #a3a09a;
  --a1: #fec00f;
  --a2: #ffd84a;
  --a3: #ff7a00;
  --on-accent: #111;
  --heading: var(--text);
  --a1-rgb: 254, 192, 15;
  --a3-rgb: 255, 122, 0;
  --fg-rgb: 255, 255, 255;
  --particle: 255, 225, 140;
  --nav-bg: rgba(5, 5, 5, 0.72);
  --panel-bg: rgba(14, 14, 14, 0.97);
  --field-bg: rgba(0, 0, 0, 0.25);
  --blob-op: 0.45;
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --grad: linear-gradient(135deg, #ffd84a, #fec00f 45%, #ff9a00);
  --grad-3: linear-gradient(90deg, #fff1b8, #fec00f 35%, #ff8a00 65%, #fff1b8);
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   Site theme — Royal Navy & Gold
   ========================================================= */
/* Royal Navy & Gold — white background, navy text/blocks, antique gold + champagne from the palette */
[data-theme="royal"] {
  --bg: #ffffff; --bg-2: #f5f7fb;
  --surface: #ffffff; --surface-2: rgba(16, 37, 66, 0.05); --border: rgba(16, 37, 66, 0.1);
  --text: #1b2433; --muted: #566175; --heading: #102542;
  --a1: #b99831; --a2: #8a6f1c; --a3: #102542; --on-accent: #102542;
  --a1-rgb: 185, 152, 49; --a3-rgb: 16, 37, 66; --fg-rgb: 16, 37, 66; --particle: 16, 37, 66;
  --ok: #059669; --warn: #b99831; --bad: #dc2626;
  --grad: linear-gradient(135deg, #e6d896, #c9a94a 45%, #b99831);
  --grad-3: linear-gradient(90deg, #102542, #24497a 30%, #b99831 62%, #102542);
  --shadow: 0 20px 50px -24px rgba(16, 37, 66, 0.28);
  --nav-bg: rgba(255, 255, 255, 0.88); --panel-bg: rgba(255, 255, 255, 0.98); --field-bg: #fff;
  --blob-op: 0.06;
  --deep: #102542; --deep-2: #1d3d6b; --deep-rgb: 16, 37, 66; --glow-2: #3a6db5; --soft: #faf6e6;
  --shine: linear-gradient(90deg, #c9a94a, #f3e9b5 25%, #b99831 50%, #dbce85 75%, #c9a94a);
}
[data-theme="royal"] .stat { border-top: 3px solid var(--a1); }
body { transition: background-color 0.4s, color 0.4s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; color: var(--heading); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
::selection { background: var(--a1); color: var(--on-accent); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.grad-text {
  background: var(--grad-3);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--a2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--grad-3); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 200;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: var(--on-accent); font-weight: 800; box-shadow: 0 6px 20px -6px var(--a1);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  position: relative; padding: 8px 14px; border-radius: 999px; color: var(--muted);
  font-weight: 500; font-size: 0.95rem; transition: color 0.2s, background 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav-links a.active:not(.btn) { color: var(--text); background: var(--surface-2); }
.pill {
  font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 4px;
  background: var(--grad); color: var(--on-accent); vertical-align: 2px;
}
.nav-cta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: var(--panel-bg); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: var(--radius);
    transform: translateY(-12px) scale(0.98); opacity: 0; visibility: hidden;
    transition: all 0.3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 12px 16px; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 1px solid var(--border); cursor: pointer; font-family: inherit; color: var(--text);
  background: var(--surface); position: relative; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.25s var(--ease), box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.btn:hover { border-color: rgba(var(--fg-rgb), 0.25); }
.btn-primary { background: var(--grad); border: 0; color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--a1); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s var(--ease);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px var(--a1); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 820px);
  display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 20px; overflow: hidden;
}
.hero.sub { min-height: 0; padding-bottom: 40px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .container { position: relative; z-index: 2; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--blob-op); z-index: 0;
  animation: float 18s ease-in-out infinite alternate; pointer-events: none;
}
.blob.b1 { width: 480px; height: 480px; background: var(--a1); top: -120px; left: -120px; }
.blob.b2 { width: 420px; height: 420px; background: var(--a2); bottom: -140px; right: -100px; animation-delay: -6s; }
.blob.b3 { width: 300px; height: 300px; background: var(--a3); top: 40%; left: 55%; opacity: calc(var(--blob-op) * 0.55); animation-delay: -12s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 50px) scale(0.95); }
}
.grid-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--fg-rgb),0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb),0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 20px;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.5); opacity: 0.5; } }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: clamp(1.02rem, 1.8vw, 1.18rem); max-width: 60ch; margin-bottom: 28px; }
.typed { color: var(--text); border-right: 3px solid var(--a2); padding-right: 4px; animation: caret 0.9s steps(1) infinite; white-space: nowrap; }
@keyframes caret { 50% { border-color: transparent; } }

.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 36px; }
.hero-stats div strong { display: block; font-size: 2rem; font-weight: 800; color: var(--heading); line-height: 1.1; }
.hero-stats div > span { font-size: 0.9rem; color: var(--muted); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--a2); animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; font-size: 1.1rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--a1); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5px 0; position: relative; }
.section.alt { background: var(--bg-2); padding: 18px 0; margin-block: 5px; }
.section-head { max-width: 720px; margin-bottom: 18px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--a2); margin-bottom: 14px;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(var(--a1-rgb), 0.18), transparent 50%);
}
.card:hover { border-color: rgba(var(--a1-rgb), 0.45); }
.card:hover::before { opacity: 1; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(var(--a1-rgb), 0.2), rgba(var(--a3-rgb), 0.2));
  border: 1px solid var(--border); color: var(--a2); transition: transform 0.4s var(--ease);
}
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.card .icon svg { width: 26px; height: 26px; }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.card li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--muted); }
.card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--a2); }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: var(--a2); }
.card .more svg { width: 18px; transition: transform 0.25s; }
.card:hover .more svg { transform: translateX(5px); }
.card .tag { position: absolute; top: 20px; right: 20px; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: var(--on-accent); }

.card.big { padding: 32px; }
.card.big .num { font-size: 4rem; font-weight: 800; line-height: 1; opacity: 0.08; position: absolute; right: 28px; top: 20px; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(52, 211, 153, 0.15); color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.checklist li .ck svg { width: 15px; }
.checklist li strong { display: block; color: var(--text); }
.checklist li span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Visual: orbit ---------- */
.orbit { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.orbit .ring { position: absolute; inset: 0; border: 1px dashed var(--border); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit .ring.r2 { inset: 16%; animation-duration: 28s; animation-direction: reverse; }
.orbit .ring.r3 { inset: 32%; animation-duration: 18s; }
.orbit .core {
  position: absolute; inset: 40%; border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 0 80px -10px var(--a1); color: var(--on-accent); font-weight: 800; font-size: 1.1rem;
}
.orbit .core svg { width: 44%; }
.orbit .sat {
  position: absolute; top: -22px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border); display: grid; place-items: center; color: var(--a2);
  animation: spin 40s linear infinite reverse;
}
.orbit .ring.r2 .sat { animation-duration: 28s; animation-direction: normal; }
.orbit .ring.r3 .sat { animation-duration: 18s; }
.orbit .sat svg { width: 22px; }
.orbit .sat.s-b { top: auto; bottom: -22px; }
.orbit .sat.s-l { top: 50%; left: -22px; margin: -22px 0 0; }
.orbit .sat.s-r { top: 50%; left: auto; right: -22px; margin: -22px 0 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.stat { text-align: center; padding: 34px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat > span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; gap: 18px; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--a1), var(--a2)); transform-origin: top; transform: scaleY(var(--line, 0));
  transition: transform 0.2s linear;
}
.step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.step .bubble {
  counter-increment: step; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--a1); font-weight: 800; position: relative; z-index: 1;
  transition: background 0.4s, box-shadow 0.4s;
}
.step .bubble::after { content: counter(step, decimal-leading-zero); }
.step.in .bubble { background: var(--grad); border-color: transparent; box-shadow: 0 0 30px -6px var(--a1); }
.step .body { padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step .body h3 { margin-bottom: 6px; }
.step .body p { margin: 0; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); width: fit-content; max-width: 100%; margin-bottom: 36px; position: relative; }
.tabs.center { margin-inline: auto; }
.tab {
  position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; border: 0; background: none;
  color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; transition: color 0.3s;
}
.tab[aria-selected="true"] { color: var(--on-accent); }
.tab-ind { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); border-radius: 999px; background: var(--grad); transition: all 0.4s var(--ease); }
@media (max-width: 640px) { .tabs { border-radius: 18px; } .tab-ind { display: none; } .tab[aria-selected="true"] { background: var(--grad); } }
.tab-panel { animation: panelIn 0.5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 0.9rem; font-weight: 600; color: var(--text); transition: all 0.25s;
}
.chip:hover { border-color: var(--a2); transform: translateY(-2px); }

/* ---------- Accordion (FAQ) ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(var(--a1-rgb), 0.45); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); font-size: 1.3rem; font-weight: 400; transition: transform 0.35s var(--ease), background 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); }
.faq .ans { padding: 0 26px 22px; }
.faq .ans p { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  --cx: 50%; --cy: 30%;
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 60px);
  background: linear-gradient(135deg, rgba(var(--a1-rgb), 0.25), rgba(var(--a3-rgb), 0.15));
  border: 1px solid var(--border); text-align: center;
}
/* rotating gold border */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cta::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--a1) 70%, #fffbe8 75%, var(--a1) 80%, transparent 95%);
  -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 exclude, linear-gradient(#000 0 0);
  animation: spinAng 6s linear infinite;
}
@keyframes spinAng { to { --ang: 360deg; } }
/* mouse spotlight */
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--cx) var(--cy), rgba(var(--a1-rgb), 0.28), transparent 60%);
}
.cta > * { position: relative; z-index: 2; }
.cta > .cta-fx { position: absolute; z-index: 1; }
.cta h2 { margin-bottom: 0.4em; }
.cta p { max-width: 56ch; margin: 0 auto 22px; font-size: 1.08rem; }
.cta .btn-row { justify-content: center; }
.cta .shine {
  background: var(--shine);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite;
}
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 14px; border-radius: 99px; font-size: 0.82rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(var(--a1-rgb), 0.45); color: var(--heading); backdrop-filter: blur(6px);
}
.cta-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: dotPing 1.8s infinite; }
@keyframes dotPing { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
.cta .btn-primary { position: relative; overflow: hidden; }
.cta .btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); animation: sweep 3.2s ease-in-out infinite;
}
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.cta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.cta-chips span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 99px; font-size: 0.85rem; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.cta-chips span:hover { transform: translateY(-3px); border-color: var(--a1); background: rgba(var(--a1-rgb), 0.12); }
.cta-chips img { width: 20px; height: 20px; }

/* effects layer (built by main.js) */
.cta-fx { inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.cta-fx .grid {
  position: absolute; inset: -40px; opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 40px 40px; animation: gridMove 12s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
@keyframes gridMove { to { transform: translate(40px, 40px); } }
.cta-fx .blob { position: absolute; width: 340px; height: 340px; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: aurora 14s ease-in-out infinite alternate; }
.cta-fx .b1 { background: rgba(var(--a1-rgb), 0.7); left: -80px; top: -120px; }
.cta-fx .b2 { background: var(--glow-2); right: -100px; bottom: -140px; animation-delay: -5s; opacity: 0.45; }
.cta-fx .b3 { background: var(--a1); left: 40%; bottom: -200px; width: 260px; height: 260px; animation-delay: -9s; opacity: 0.35; }
@keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 30px) scale(1.15); } 100% { transform: translate(-30px, 50px) scale(0.95); } }
.cta-fx .spark { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 8px 2px rgba(var(--a1-rgb), 0.7); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-420px); opacity: 0; } }
.cta-fx .ico { position: absolute; transition: transform 0.4s var(--ease); }
.cta-fx .ico img { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35)); animation: bob 6s ease-in-out infinite; }
.cta-fx .i1 { width: 78px; left: 5%; top: 16%; }
.cta-fx .i2 { width: 56px; left: 11%; bottom: 12%; } .cta-fx .i2 img { animation-delay: -2s; }
.cta-fx .i3 { width: 72px; right: 6%; top: 14%; } .cta-fx .i3 img { animation-delay: -3.5s; }
.cta-fx .i4 { width: 52px; right: 12%; bottom: 14%; } .cta-fx .i4 img { animation-delay: -1s; }
@media (max-width: 900px) { .cta-fx .i1, .cta-fx .i3 { width: 42px; top: 14px; } .cta-fx .i1 { left: 16px; } .cta-fx .i3 { right: 16px; } .cta-fx .i2, .cta-fx .i4 { display: none; } .cta-eyebrow { margin-top: 44px; } }
.cta-ripple { position: absolute; z-index: 1; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--a1); pointer-events: none; animation: ripple 0.9s ease-out forwards; }
@keyframes ripple { to { transform: scale(18); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cta::after, .cta-fx *, .cta .btn-primary::after { animation: none !important; } }

/* ---------- Compare slider (legacy vs modern) ---------- */
.compare {
  --pos: 50%;
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16 / 10; user-select: none; background: #ddd; box-shadow: var(--shadow);
}
@media (max-width: 640px) { .compare { aspect-ratio: 3 / 4; } }
.compare .pane { position: absolute; inset: 0; padding: 18px; overflow: hidden; }
.compare .modern { clip-path: inset(0 0 0 var(--pos)); }
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 5;
}
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 4; pointer-events: none; }
.compare .handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.compare .label { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; z-index: 3; }
.compare .legacy .label { left: 14px; background: #333; color: #ff0; font-family: "Courier New", monospace; }
.compare .modern .label { right: 14px; background: var(--grad); color: var(--on-accent); }

/* legacy mock */
.legacy { background: #c0c0c0; font-family: "Times New Roman", serif; color: #000; }
.legacy .win { background: #d4d0c8; border: 2px outset #fff; height: 100%; display: flex; flex-direction: column; }
.legacy .bar { background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: bold 13px Tahoma, sans-serif; padding: 4px 8px; display: flex; justify-content: space-between; }
.legacy .menu { font: 12px Tahoma, sans-serif; padding: 3px 8px; border-bottom: 1px solid #888; }
.legacy .menu u { text-decoration: underline; }
.legacy .content { padding: 10px; flex: 1; overflow: hidden; }
.legacy marquee, .legacy .blink { color: red; font-weight: bold; font-size: 13px; }
.legacy .blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.legacy table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; background: #fff; }
.legacy td, .legacy th { border: 1px solid #808080; padding: 3px 6px; text-align: left; }
.legacy th { background: #e0e0e0; }
.legacy .oldbtn { display: inline-block; margin-top: 10px; padding: 3px 14px; border: 2px outset #fff; background: #d4d0c8; font: 12px Tahoma, sans-serif; }
.legacy .err { margin-top: 10px; font: 11px "Courier New", monospace; color: #900; }

/* modern mock */
.modern { background: #0b0d1f; --text: #f5f3ee; --muted: #a3a09a; --surface-2: rgba(255,255,255,.08); --border: rgba(255,255,255,.1); color: var(--text); }
.modern .dash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 100%; }
.modern .tile { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); border-radius: 12px; padding: 12px; font-size: 0.8rem; overflow: hidden; }
.modern .tile b { display: block; font-size: 1.4rem; }
.modern .tile small { color: var(--ok); }
.modern .bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; margin-top: 8px; }
.modern .bars i { flex: 1; background: var(--grad); border-radius: 4px 4px 0 0; animation: grow 2.4s var(--ease) infinite alternate; transform-origin: bottom; }
@keyframes grow { from { transform: scaleY(0.4); } }
.modern .chat { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.modern .msg { padding: 8px 12px; border-radius: 12px; max-width: 85%; font-size: 0.78rem; }
.modern .msg.u { background: var(--surface-2); align-self: flex-end; }
.modern .msg.ai { background: linear-gradient(135deg, rgba(var(--a1-rgb),0.35), rgba(var(--a3-rgb),0.25)); }
.modern .typing-dots { display: inline-flex; gap: 3px; }
.modern .typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.modern .typing-dots i:nth-child(2) { animation-delay: 0.2s; }
.modern .typing-dots i:nth-child(3) { animation-delay: 0.4s; }

/* ---------- Health check quiz ---------- */
.quiz { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .quiz { grid-template-columns: 1fr; } }
.q-list { display: grid; gap: 10px; }
.q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: border-color 0.25s, background 0.25s;
}
.q:hover { border-color: rgba(var(--fg-rgb), 0.2); }
.q input { position: absolute; opacity: 0; pointer-events: none; }
.q .sw { flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); position: relative; transition: background 0.3s; }
.q .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform 0.3s var(--ease); }
.q input:checked + .sw { background: var(--grad); }
.q input:checked + .sw::after { transform: translateX(20px); }
.q:has(input:checked) { border-color: rgba(var(--a1-rgb), 0.5); background: rgba(var(--a1-rgb), 0.08); }
.q input:focus-visible + .sw { outline: 2px solid var(--a2); outline-offset: 3px; }

.result { position: sticky; top: calc(var(--nav-h) + 20px); padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.gauge { --val: 0; --col: var(--ok); width: 190px; aspect-ratio: 1; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--col) calc(var(--val) * 1%), var(--surface-2) 0); transition: --val 0.6s; position: relative; }
.gauge::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--bg); }
.gauge strong { position: relative; font-size: 2.6rem; font-weight: 800; }
.gauge strong small { font-size: 1rem; color: var(--muted); }
.result h3 { margin-bottom: 8px; }
@property --val { syntax: "<number>"; inherits: false; initial-value: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 14px; transition: border-color 0.3s, transform 0.3s; }
.info-card:hover { border-color: var(--a2); transform: translateX(6px); }
.info-card .icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); }
.info-card .icon svg { width: 22px; }
.info-card small { display: block; color: var(--muted); }
.info-card strong { word-break: break-word; }

.form { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 10px; border-radius: 12px; background: var(--field-bg);
  border: 1px solid var(--border); color: var(--text); font: inherit; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.field select { padding: 16px; appearance: none; cursor: pointer; }
.field select option { background: var(--bg-2); }
.field label { position: absolute; left: 16px; top: 16px; color: var(--muted); pointer-events: none; transition: all 0.2s var(--ease); font-size: 0.95rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 4px rgba(var(--a1-rgb), 0.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 0.72rem; color: var(--a2); }
.pick-label { font-weight: 700; margin: 6px 0 12px; display: block; }
.pick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 0.88rem; font-weight: 600; transition: all 0.25s; }
.pick input:checked + span { background: var(--grad); border-color: transparent; color: var(--on-accent); transform: scale(1.04); }
.pick input:focus-visible + span { outline: 2px solid var(--a2); outline-offset: 3px; }
.form .note { font-size: 0.82rem; margin: 14px 0 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%); z-index: 300;
  padding: 14px 22px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--a1); box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease); max-width: calc(100% - 32px); font-weight: 600;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
/* layered wave edge + floating contact card (inspired by thewhatbot.pk) */
.footer { --f-bg: var(--bg-2); position: relative; color: var(--text); overflow: clip; }
.footer-wave { height: 150px; line-height: 0; overflow: hidden; margin-bottom: -1px; }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-wave .w { fill: var(--f-bg); transform-origin: 50% 100%; }
.footer-wave .w.gold { fill: var(--a1); }
.footer-wave .w1 { animation: wave 13s ease-in-out infinite alternate; }
.footer-wave .w2 { animation: wave 9s ease-in-out infinite alternate-reverse; }
.footer-wave .w3 { animation: wave 11s ease-in-out infinite alternate; }
.footer-wave .w4 { animation: wave 7s ease-in-out infinite alternate-reverse; }
@keyframes wave { from { transform: translateX(-3%) scaleY(0.92); } to { transform: translateX(3%) scaleY(1.06); } }
.footer-body { position: relative; background: var(--f-bg); display: flow-root; }
.footer-body::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: 30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--a1-rgb), 0.16), transparent 65%); pointer-events: none; }
.footer-body::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%); }
.footer-body::before { top: 120px; }
.footer-body > .container { position: relative; z-index: 1; }

/* floating 3D icons */
.f-float { position: absolute; z-index: 0; pointer-events: none; opacity: 0.9; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35)); animation: bob 7s ease-in-out infinite; }
.ff1 { width: 56px; left: 2.5%; top: -70px; animation-delay: -1s; }
.ff2 { width: 42px; right: 3%; top: -40px; animation-delay: -3s; }
.ff3 { width: 46px; right: 2%; bottom: 90px; animation-delay: -5s; opacity: 0.7; }
@media (max-width: 1360px) { .f-float { display: none; } }

/* contact card that overlaps the wave */
.footer-cta { position: relative; z-index: 2; margin-top: -85px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: var(--deep);
  border-radius: 20px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--deep-rgb), 0.06); overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.fc-item { display: flex; gap: 18px; align-items: flex-start; padding: 30px 34px; transition: background 0.3s; }
.fc-item + .fc-item { border-left: 1px dashed rgba(var(--deep-rgb), 0.15); }
.fc-item:hover { background: var(--soft); }
.fc-ico { width: 60px; height: 60px; flex: none; filter: drop-shadow(0 10px 14px rgba(var(--deep-rgb), 0.22)); transition: transform 0.4s var(--ease); }
.fc-item:hover .fc-ico { transform: translateY(-6px) rotate(-8deg) scale(1.08); }
.fc-item h3 { font-size: 1.25rem; margin: 0 0 4px; color: var(--deep); }
.fc-item p { margin: 0 0 14px; color: #5c5a55; font-size: 0.95rem; }
.fc-item p a { color: var(--deep); font-weight: 700; border-bottom: 2px solid #b99831; }
.fc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 99px; font-weight: 700; font-size: 0.9rem;
  background: #25d366; color: #fff; box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.8); transition: transform 0.25s, box-shadow 0.25s; }
.fc-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -10px rgba(37, 211, 102, 0.9); }
.fc-btn.ghost { background: var(--deep); box-shadow: 0 10px 20px -10px rgba(var(--deep-rgb), 0.7); }
.fc-btn svg { width: 18px; }
@media (max-width: 760px) {
  .footer-cta { grid-template-columns: 1fr; margin-top: -60px; }
  .fc-item { padding: 22px 20px; }
  .fc-item + .fc-item { border-left: 0; border-top: 1px dashed rgba(var(--deep-rgb), 0.15); }
  .footer-wave { height: 120px; }
}

.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding: 50px 0 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer h4 { font-size: 0.95rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--grad); }
.footer h4 img { width: 24px; height: 24px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 0.93rem; transition: color 0.2s, padding 0.2s; position: relative; }
.footer ul a::before { content: "›"; position: absolute; left: -12px; opacity: 0; color: var(--a1); transition: opacity 0.2s, left 0.2s; }
.footer ul a:hover { color: var(--text); padding-left: 12px; }
.footer ul a:hover::before { opacity: 1; left: 0; }
.footer .logo { margin-bottom: 16px; }
.f-brand p { color: var(--muted); max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--muted); transition: all 0.25s; }
.socials a:hover { color: var(--on-accent); background: var(--grad); border-color: transparent; transform: translateY(-3px) rotate(-6deg); }
.socials svg { width: 18px; }
.copy { position: relative; z-index: 1; background: rgba(0, 0, 0, 0.22); border-top: 1px solid var(--border); padding: 16px 0; font-size: 0.85rem; color: var(--muted); }
.copy .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.copy b { color: var(--a1); }
.copy nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.copy nav a { color: var(--muted); transition: color 0.2s; }
.copy nav a:hover { color: var(--a1); }
@media (prefers-reduced-motion: reduce) { .footer-wave .w, .f-float { animation: none; } }

/* ---------- Floating buttons ---------- */
.to-top, .wa {
  position: fixed; right: 20px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; z-index: 90;
  border: 0; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.35s var(--ease), opacity 0.35s;
}
.to-top { bottom: 84px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(10px); opacity: 0; transform: translateY(20px); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg, .wa svg { width: 22px; }
.wa { bottom: 20px; background: #25d366; color: #fff; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ping 2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa:hover { transform: scale(1.1); }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(var(--a1-rgb), 0.12), transparent 60%); transition: opacity 0.3s; opacity: 0;
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(0.9); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* split-word heading reveal */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 0.06s); }
.split-words.in .w > span { transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.notfound .big { font-size: clamp(6rem, 22vw, 14rem); font-weight: 800; line-height: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-words .w > span { opacity: 1; transform: none; }
}

/* =========================================================
   Added components: comparison table, packages, estimator, chat widget
   ========================================================= */

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 0.95rem; background: var(--surface-2); }
.compare-table th.us, .compare-table td.us { background: rgba(var(--a1-rgb), 0.08); text-align: center; }
.compare-table thead th.us { background: var(--grad); color: var(--on-accent); }
.compare-table td.them { text-align: center; }
.compare-table .y, .compare-table .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; }
.compare-table .y { background: rgba(52, 211, 153, 0.15); color: var(--ok); }
.compare-table .n { background: rgba(248, 113, 113, 0.12); color: var(--bad); }
.compare-table tbody tr { transition: background 0.2s; }
.compare-table tbody tr:hover { background: rgba(var(--fg-rgb), 0.03); }

/* ---------- Packages ---------- */
.packages { align-items: stretch; }
.package { display: flex; flex-direction: column; }
.package .price { font-size: 1.05rem; color: var(--muted); margin: 4px 0 18px; }
.package .price b { font-size: 2.2rem; color: var(--text); font-weight: 800; }
.package ul { flex: 1; margin-bottom: 26px; }
.package.popular { border-color: var(--a1); background: linear-gradient(180deg, rgba(var(--a1-rgb), 0.10), var(--surface) 40%); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px); box-shadow: 0 30px 60px -30px rgba(var(--a1-rgb), 0.45); }
.package .btn { width: 100%; }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .estimator { grid-template-columns: 1fr; } }
.est-group { margin-bottom: 26px; }
.est-group > strong { display: block; margin-bottom: 12px; }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { min-width: 64px; text-align: right; font-weight: 800; color: var(--a1); }
input[type="range"].slider { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--a1) var(--fill, 0%), var(--surface-2) var(--fill, 0%)); cursor: pointer; }
input[type="range"].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--a1); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--a1); }
input[type="range"].slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--a1); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--a1); }
.est-total { position: sticky; top: calc(var(--nav-h) + 20px); padding: 32px; border-radius: var(--radius); border: 1px solid var(--a1); background: linear-gradient(180deg, rgba(var(--a1-rgb), 0.10), var(--surface)); }
.est-total .big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; margin: 6px 0 4px; }
.est-total .weeks { color: var(--muted); margin-bottom: 20px; }
.est-total ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; font-size: 0.92rem; color: var(--muted); }
.est-total ul li { display: flex; justify-content: space-between; gap: 10px; }
.est-total .btn { width: 100%; }

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(var(--a1-rgb), 0.6);
  transition: transform 0.3s var(--ease);
}
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); }
.chat-fab svg { width: 26px; }
.chat-fab .badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.chat-fab[aria-expanded="true"] .badge { display: none; }
.chat-box {
  position: fixed; right: 20px; bottom: 90px; z-index: 95; width: min(370px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); box-shadow: var(--shadow);
  transform-origin: bottom right; transform: scale(0.85) translateY(20px); opacity: 0; visibility: hidden; transition: all 0.35s var(--ease);
}
.chat-box.open { transform: none; opacity: 1; visibility: visible; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--grad); color: var(--on-accent); }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--a1); display: grid; place-items: center; }
.chat-head .av svg { width: 22px; }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head small { font-size: 0.78rem; opacity: 0.8; }
.chat-head small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #0a7a32; margin-right: 6px; }
.chat-head .x { margin-left: auto; background: rgba(0,0,0,0.15); border: 0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--on-accent); font-size: 1.1rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.chat-log .m { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; animation: panelIn 0.35s var(--ease); }
.chat-log .m.bot { background: var(--surface-2); border-bottom-left-radius: 4px; }
.chat-log .m.me { align-self: flex-end; background: var(--grad); color: var(--on-accent); border-bottom-right-radius: 4px; font-weight: 600; }
.chat-log .m a { color: var(--a1); text-decoration: underline; }
.chat-log .dots { display: inline-flex; gap: 4px; }
.chat-log .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: pulse 1.1s infinite; }
.chat-log .dots i:nth-child(2) { animation-delay: 0.15s; }
.chat-log .dots i:nth-child(3) { animation-delay: 0.3s; }
.chat-opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 18px; border-top: 1px solid var(--border); }
.chat-opts button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--a1); background: transparent; color: var(--a1); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.chat-opts button:hover { background: var(--a1); color: var(--on-accent); }
/* move WhatsApp + back-to-top above chat button */
.wa { bottom: 90px; }
.to-top { bottom: 154px; }
@media (max-width: 640px) {
  .compare-table th, .compare-table td { padding: 12px 8px; font-size: 0.82rem; }
  .compare-table .y, .compare-table .n { width: 22px; height: 22px; font-size: 0.75rem; }
}
/* keep decorative overflow (orbit satellites, blobs) from widening the page on phones */
.section, .hero { overflow-x: clip; }
.orbit { width: calc(100% - 48px); }
/* typed line: reserve its height so the hero doesn't jump, and keep long phrases on-screen */
.typed { display: inline-block; min-height: 1.15em; vertical-align: top; }
@media (max-width: 640px) { .hero h1 .typed { font-size: 0.6em; } }
.legacy .menu span { margin-right: 12px; }

/* =========================================================
   3D icons & hero illustrations (Fluent 3D Emoji, MIT)
   ========================================================= */
.card .icon.icon3d {
  width: 76px; height: 76px; margin-bottom: 16px; border: 0;
  background: radial-gradient(circle at 50% 62%, rgba(var(--a1-rgb), 0.2), transparent 68%);
}
.icon3d img { width: 64px; height: 64px; filter: drop-shadow(0 10px 12px rgba(var(--fg-rgb), 0.18)); transition: transform 0.5s var(--ease); }
.card:hover .icon.icon3d { transform: none; }
.card:hover .icon3d img { transform: translateY(-6px) rotate(-8deg) scale(1.1); }
.info-card .icon.icon3d { background: rgba(var(--a1-rgb), 0.12); }
.info-card .icon3d img { width: 32px; height: 32px; filter: none; }
.info-card:hover .icon3d img { transform: rotate(-10deg) scale(1.15); }
.chip img { width: 22px; height: 22px; }
.pkg3d { width: 56px; height: 56px; margin-bottom: 12px; filter: drop-shadow(0 8px 10px rgba(var(--fg-rgb), 0.18)); transition: transform 0.5s var(--ease); }
.card:hover .pkg3d { transform: translateY(-5px) rotate(-8deg); }
.card.big .corner3d { position: absolute; right: 24px; top: 24px; width: 84px; height: 84px; animation: bob 5s ease-in-out infinite; }
@media (max-width: 640px) { .card.big .corner3d { width: 56px; height: 56px; right: 16px; top: 16px; } }
.orbit .sat { width: 52px; height: 52px; margin-left: -26px; top: -26px; background: var(--surface); box-shadow: var(--shadow); }
.orbit .sat img { width: 30px; height: 30px; }
.orbit .sat.s-b { top: auto; bottom: -26px; }
.orbit .sat.s-l { top: 50%; left: -26px; margin: -26px 0 0; }
.orbit .sat.s-r { top: 50%; left: auto; right: -26px; margin: -26px 0 0; }
.orbit .core { background: radial-gradient(circle, rgba(var(--a1-rgb), 0.35), transparent 70%); box-shadow: none; inset: 30%; }
.orbit .core img { width: 80%; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.25)); }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { max-width: 340px; margin: 0 auto; }
  .hero-art .badge3d { font-size: 0.75rem; padding: 8px 10px; }
  .hero-art .badge3d img { width: 22px; height: 22px; }
  .hero-art .b-1 { left: 0; } .hero-art .b-2 { right: 0; }
  .scroll-hint { display: none; }
}
.hero-art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-left: auto; }
.hero-art .glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--a1-rgb), 0.35), transparent 66%); }
.hero-art .halo { position: absolute; inset: 4%; border-radius: 50%; border: 1.5px dashed rgba(var(--fg-rgb), 0.14); animation: spin 60s linear infinite; }
.hero-art .halo.h2 { inset: 20%; animation-direction: reverse; animation-duration: 40s; }
.hero-art .layer { position: absolute; transition: transform 0.4s var(--ease); }
.hero-art .layer img { width: 100%; height: auto; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.22)); }
.hero-art .main { width: 48%; left: 26%; top: 24%; }
.hero-art .f1 { width: 22%; left: 4%; top: 6%; }
.hero-art .f2 { width: 20%; right: 4%; top: 2%; }
.hero-art .f3 { width: 20%; left: 0; bottom: 8%; }
.hero-art .f4 { width: 23%; right: 2%; bottom: 4%; }
.hero-art .f1 img { animation-delay: -1.5s; animation-duration: 5s; }
.hero-art .f2 img { animation-delay: -3s; animation-duration: 6.5s; }
.hero-art .f3 img { animation-delay: -2s; animation-duration: 5.5s; }
.hero-art .f4 img { animation-delay: -4s; animation-duration: 7s; }
.hero-art .badge3d {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; white-space: nowrap;
  background: var(--panel-bg); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; font-size: 0.85rem; color: var(--heading);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: bob 7s ease-in-out infinite;
}
.hero-art .badge3d img { width: 28px; height: 28px; }
.hero-art .badge3d small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.hero-art .b-1 { left: -6%; top: 48%; animation-delay: -2s; }
.hero-art .b-2 { right: -4%; top: 66%; animation-delay: -5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
/* call-to-action band: avoid a double gap after the previous section */
.section:has(> .container > .cta) { padding-top: 5px; }
.section.alt:has(> .container > .cta) { padding-top: 18px; }

/* ---------- Royal: white marble + gold veins for CTA band and footer (from support/ marble photo) ---------- */
[data-theme="royal"] .cta, [data-theme="royal"] .footer { --marble: url("../images/marble.svg"); --glow-2: #dbce85; }
[data-theme="royal"] .cta {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.55)), var(--marble) center / cover, #fbfaf7;
  border: 1px solid rgba(var(--a1-rgb), 0.35); box-shadow: 0 30px 60px -30px rgba(16, 37, 66, 0.25);
}
[data-theme="royal"] .cta::before { background: radial-gradient(420px circle at var(--cx) var(--cy), rgba(var(--a1-rgb), 0.22), transparent 60%); }
[data-theme="royal"] .cta p { color: var(--muted); }
[data-theme="royal"] .cta-eyebrow, [data-theme="royal"] .cta-chips span { background: rgba(255, 255, 255, 0.8); border-color: rgba(var(--a1-rgb), 0.4); box-shadow: 0 6px 16px -10px rgba(16, 37, 66, 0.3); }
[data-theme="royal"] .cta .btn:not(.btn-primary) { background: rgba(255, 255, 255, 0.85); }
[data-theme="royal"] .cta-fx .grid { opacity: 0.07; background-image: linear-gradient(rgba(16, 37, 66, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 37, 66, 0.5) 1px, transparent 1px); }
[data-theme="royal"] .cta-fx .blob { opacity: 0.25; }
[data-theme="royal"] .cta-fx .b2 { background: #dbce85; }
[data-theme="royal"] .cta-fx .ico img { filter: drop-shadow(0 12px 14px rgba(16, 37, 66, 0.25)); }

[data-theme="royal"] .footer { --f-bg: #fbfaf7; background: transparent; }
[data-theme="royal"] .footer-wave .w { fill: #cdb873; }
[data-theme="royal"] .footer-wave .w.gold { fill: var(--a1); }
[data-theme="royal"] .footer-wave .w5 { fill: #fbfaf7; }
[data-theme="royal"] .footer-body { background: linear-gradient(#fbfaf7, rgba(251, 250, 247, 0.35) 160px), linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)), var(--marble) center / cover, #fbfaf7; }
[data-theme="royal"] .footer-body::after { display: none; }
[data-theme="royal"] .footer-cta { box-shadow: 0 30px 60px -30px rgba(16, 37, 66, 0.35), 0 0 0 1px rgba(var(--a1-rgb), 0.3); }
[data-theme="royal"] .f-float { filter: drop-shadow(0 12px 16px rgba(16, 37, 66, 0.25)); }
[data-theme="royal"] .copy { background: rgba(255, 255, 255, 0.7); border-top: 1px solid rgba(var(--a1-rgb), 0.35); backdrop-filter: blur(4px); }
[data-theme="royal"] .copy b { color: var(--a2); }
[data-theme="royal"] .socials a { background: rgba(255, 255, 255, 0.8); }
[data-theme="royal"] .cta { --shine: linear-gradient(90deg, #a8852a, #d9bb5c 25%, #8a6f1c 50%, #c9a33a 75%, #a8852a); }

/* particle network canvases in the CTA band and footer */
canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-body > canvas.net { z-index: 0; }


/* =========================================================
   Home hero — code → product beam (js/beam.js)
   Code flows left → right; at the gold beam it becomes a
   website, mobile app or software screen.
   ========================================================= */
.hero-beam { flex-direction: column; align-items: stretch; justify-content: center; padding-top: calc(var(--nav-h) + 12px); padding-bottom: 24px; }
.hero-beam .eyebrow { margin-bottom: 14px; }
.hero-beam .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-beam h1 { max-width: 24ch; margin-bottom: 0.35em; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.hero-beam .lead { margin-bottom: 20px; max-width: 64ch; }
.hero-beam .btn-row { justify-content: center; }
.hero-beam .hero-stats { justify-content: center; margin-top: 18px; }
.hero-beam .hero-stats div { text-align: center; }

.beam-stage { position: relative; z-index: 2; height: 304px; margin: 14px 0 6px; user-select: none; -webkit-user-select: none; }
.beam-track {
  position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center;
  cursor: grab; touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.beam-track.dragging { cursor: grabbing; }
.beam-line { flex: none; display: flex; align-items: center; gap: 46px; padding-right: 46px; will-change: transform; }
.beam-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.beam-labels {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between;
  width: min(1200px, 100% - 32px); margin-inline: auto; pointer-events: none;
  font: 600 0.72rem/1 ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase;
}
.beam-labels span { background: var(--bg); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(var(--a1-rgb), 0.4); color: var(--muted); }
.beam-labels span:last-child { color: var(--heading); display: inline-flex; align-items: center; gap: 6px; }
.beam-labels i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18); animation: pulse 1.8s infinite; }

/* one item in the stream: code layer + product layer, split at --cut */
.bc { --cut: 100%; position: relative; flex: none; font-size: 16px; width: var(--w); height: calc(var(--h) + 30px); margin-top: 18px; }
.bc-code, .bc-prod { position: absolute; inset: 0; }
.bc-code { clip-path: inset(-30px calc(100% - var(--cut)) -30px -30px); }
.bc-prod { clip-path: inset(-30px -30px -30px var(--cut)); }
.bc-shape {
  position: relative; width: 100%; height: var(--h); border-radius: var(--r, 12px); overflow: hidden;
  border: 1px dashed rgba(var(--a1-rgb), 0.6); background: rgba(16, 37, 66, 0.025);
}
.bc-shape pre {
  margin: 0; padding: 8px 10px; white-space: pre; overflow: hidden; height: 100%;
  font: 500 9px/12px ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; color: rgba(16, 37, 66, 0.6);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15), #000 80%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15), #000 80%);
}
.bc-shape pre b { color: var(--a2); font-weight: 700; }
.bc-shape pre i { color: #3a6db5; font-style: normal; }
.bc-cap {
  position: absolute; left: -20px; right: -20px; bottom: 0; height: 22px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700; color: var(--heading); white-space: nowrap;
}
.bc-cap img { width: 20px; height: 20px; }
.bc-code .bc-cap { font: 600 0.72rem ui-monospace, Consolas, monospace; color: var(--muted); }
/* gold sweep when a card first passes the beam */
.bc-prod .mk::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(219, 206, 133, 0.55), transparent);
}
.bc.flash .bc-prod .mk::after { animation: beamSweep 0.7s ease-out; }
@keyframes beamSweep { 0% { opacity: 0; transform: translateX(-100%); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }

/* ---------- product mockups (all sizes in em of .mk) ---------- */
.mk {
  /* .mk text is 0.5em of .bc, so the card's em sizes are doubled here */
  position: relative; width: 100%; height: calc(var(--h) * 2); border-radius: calc(var(--r) * 2); overflow: hidden;
  background: #fff; font-size: 0.5em; color: #1b2433; line-height: 1.25; text-align: left;
  box-shadow: 0 0 0 1px rgba(16, 37, 66, 0.1), 0 22px 40px -22px rgba(16, 37, 66, 0.45);
}
.mk b, .mk strong { font-weight: 700; }
.mk .ln { display: block; height: 0.55em; border-radius: 1em; background: #e3e7ef; margin-top: 0.5em; }
.mk .ln.s { width: 60%; } .mk .ln.xs { width: 35%; }
.mk .pill-btn { display: inline-block; padding: 0.55em 1.2em; border-radius: 2em; font-weight: 700; background: #102542; color: #fff; font-size: 0.95em; }
.mk .pill-btn.gold { background: linear-gradient(135deg, #e6d896, #b99831); color: #102542; }
/* browser chrome */
.mk-bar { display: flex; align-items: center; gap: 0.45em; height: 2.6em; padding: 0 0.9em; background: #f1f3f7; border-bottom: 1px solid #e3e7ef; }
.mk-bar i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #dbce85; }
.mk-bar i:nth-child(2) { background: #b99831; } .mk-bar i:nth-child(3) { background: #102542; opacity: 0.6; }
.mk-bar span { flex: 1; margin-left: 0.6em; background: #fff; border-radius: 2em; padding: 0.3em 0.9em; color: #566175; font-size: 0.95em; }
/* website */
.w-nav { display: flex; align-items: center; gap: 1.4em; padding: 0.9em 1.6em; font-size: 0.95em; color: #566175; }
.w-nav b { color: #102542; font-size: 1.15em; margin-right: auto; display: flex; align-items: center; gap: 0.4em; }
.w-nav b::before { content: ""; width: 1.2em; height: 1.2em; border-radius: 0.35em; background: linear-gradient(135deg, #e6d896, #b99831); }
.w-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1em; align-items: center; padding: 0.6em 1.6em 1em; }
.w-hero h6 { margin: 0 0 0.3em; font-size: 2em; line-height: 1.05; color: #102542; letter-spacing: -0.02em; }
.w-hero h6 em { font-style: normal; color: #b99831; }
.w-hero .pill-btn { margin-top: 0.9em; }
.w-art { aspect-ratio: 1.15; border-radius: 1em; background: radial-gradient(circle at 50% 60%, #faf6e6, #f0e7c4); display: grid; place-items: center; }
.w-art img { width: 62%; filter: drop-shadow(0 0.6em 0.6em rgba(16, 37, 66, 0.2)); }
.w-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; padding: 0 1.6em; }
.w-feat span { border: 1px solid #e3e7ef; border-radius: 0.7em; padding: 0.7em; }
.w-feat span::before { content: ""; display: block; width: 1.4em; height: 1.4em; border-radius: 50%; background: #faf6e6; border: 2px solid #dbce85; }
/* phone */
.mk-phone { border-radius: 2.2em; background: #102542; padding: 0.55em; box-shadow: 0 0 0 1px rgba(16, 37, 66, 0.2), 0 24px 40px -20px rgba(16, 37, 66, 0.55); }
.mk-phone .scr { position: relative; height: 100%; border-radius: 1.75em; background: #f5f7fb; overflow: hidden; display: flex; flex-direction: column; }
.mk-phone .notch { position: absolute; top: 0.5em; left: 50%; transform: translateX(-50%); width: 34%; height: 1.2em; border-radius: 1em; background: #102542; }
.p-top { padding: 2.4em 1.1em 0.6em; }
.p-top small { color: #566175; font-size: 0.95em; }
.p-top b { display: block; font-size: 1.35em; color: #102542; }
.p-card { margin: 0 0.9em; padding: 0.9em 1em; border-radius: 1em; background: linear-gradient(135deg, #102542, #24497a); color: #fff; }
.p-card small { opacity: 0.75; } .p-card strong { display: block; font-size: 1.7em; color: #dbce85; }
.p-card.gold { background: linear-gradient(135deg, #e6d896, #b99831); color: #102542; } .p-card.gold strong { color: #102542; }
.p-chips { display: flex; gap: 0.4em; padding: 0.7em 0.9em 0.2em; }
.p-chips span { flex: 1; text-align: center; padding: 0.4em 0; border-radius: 0.7em; background: #fff; font-weight: 700; font-size: 0.9em; color: #102542; box-shadow: 0 1px 0 #e3e7ef; }
.p-chips span.on { background: #102542; color: #fff; }
.p-list { padding: 0.5em 0.9em; display: grid; gap: 0.45em; }
.p-list div { display: flex; align-items: center; gap: 0.6em; background: #fff; border-radius: 0.8em; padding: 0.5em 0.6em; font-size: 0.95em; }
.p-list img { width: 2em; height: 2em; }
.p-list div span { flex: 1; } .p-list div em { font-style: normal; font-weight: 700; color: #b99831; }
.p-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 0.7em 0 0.9em; background: #fff; }
.p-tab i { width: 1.1em; height: 1.1em; border-radius: 0.35em; background: #cfd6e2; }
.p-tab i:first-child { background: #b99831; }
/* desktop software window */
.mk-win { display: grid; grid-template-columns: 4.2em 1fr; grid-template-rows: 2.6em 1fr; }
.mk-win .mk-bar { grid-column: 1 / -1; }
.mk-win .mk-bar span { background: none; text-align: center; font-weight: 700; color: #102542; margin-right: 3.5em; }
.s-side { background: #102542; display: flex; flex-direction: column; align-items: center; gap: 0.9em; padding-top: 1em; }
.s-side i { width: 1.6em; height: 1.6em; border-radius: 0.45em; background: rgba(255, 255, 255, 0.16); }
.s-side i:first-child { background: linear-gradient(135deg, #e6d896, #b99831); }
.s-main { padding: 0.9em 1.1em; overflow: hidden; }
.s-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.s-kpi div { border: 1px solid #e3e7ef; border-radius: 0.7em; padding: 0.5em 0.7em; font-size: 0.9em; color: #566175; }
.s-kpi strong { display: block; font-size: 1.5em; color: #102542; }
.s-kpi .up { color: #059669; font-weight: 700; }
.s-table { margin-top: 0.8em; border: 1px solid #e3e7ef; border-radius: 0.7em; overflow: hidden; font-size: 0.92em; }
.s-table div { display: grid; grid-template-columns: 1.6fr 1fr 0.9fr; padding: 0.42em 0.8em; border-top: 1px solid #eef1f6; align-items: center; }
.s-table div:first-child { border-top: 0; background: #f5f7fb; font-weight: 700; color: #566175; }
.s-table em { font-style: normal; justify-self: start; padding: 0.15em 0.6em; border-radius: 1em; font-weight: 700; font-size: 0.9em; }
.s-table .ok { background: #e3f6ee; color: #059669; } .s-table .wait { background: #faf3dc; color: #8a6f1c; }
/* dashboard chart */
.d-chart { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0.7em; margin-top: 0.8em; }
.d-bars { border: 1px solid #e3e7ef; border-radius: 0.7em; padding: 0.7em; display: flex; align-items: flex-end; gap: 0.45em; height: 9em; }
.d-bars i { flex: 1; border-radius: 0.3em 0.3em 0 0; background: #cfd9ea; }
.d-bars i:nth-child(odd) { background: #102542; } .d-bars i:last-child { background: linear-gradient(#e6d896, #b99831); }
.d-donut { border: 1px solid #e3e7ef; border-radius: 0.7em; display: grid; place-items: center; }
.d-donut span { width: 6.4em; height: 6.4em; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1em; color: #102542;
  background: radial-gradient(#fff 55%, transparent 56%), conic-gradient(#b99831 0 62%, #102542 0 86%, #dbce85 0); }
/* online store */
.sh-head { display: flex; align-items: center; justify-content: space-between; padding: 0.7em 1.4em; font-weight: 700; color: #102542; font-size: 1.05em; }
.sh-head span { font-size: 0.9em; padding: 0.3em 0.8em; border-radius: 2em; background: #102542; color: #dbce85; }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; padding: 0 1.4em; }
.sh-grid div { border: 1px solid #e3e7ef; border-radius: 0.8em; padding: 0.5em; font-size: 0.9em; }
.sh-grid figure { margin: 0 0 0.4em; aspect-ratio: 1; border-radius: 0.6em; background: #f5f7fb; display: grid; place-items: center; }
.sh-grid figure img { width: 70%; }
.sh-grid b { display: block; color: #102542; } .sh-grid em { font-style: normal; color: #b99831; font-weight: 800; }
.sh-banner { margin: 0.8em 1.4em 0; padding: 0.8em 1em; border-radius: 0.8em; background: linear-gradient(90deg, #102542, #24497a); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.sh-banner b { color: #dbce85; }
/* AI chat */
.c-head { display: flex; align-items: center; gap: 0.6em; padding: 0.8em 1em; background: #102542; color: #fff; }
.c-head img { width: 2.6em; height: 2.6em; background: rgba(255, 255, 255, 0.12); border-radius: 50%; padding: 0.25em; }
.c-head small { display: block; color: #dbce85; font-size: 0.9em; }
.c-body { padding: 0.8em 0.9em; display: flex; flex-direction: column; gap: 0.55em; font-size: 1.02em; }
.c-body p { margin: 0; max-width: 80%; padding: 0.55em 0.8em; border-radius: 1em 1em 1em 0.25em; background: #f1f3f7; }
.c-body p.me { align-self: flex-end; background: linear-gradient(135deg, #e6d896, #c9a94a); color: #102542; border-radius: 1em 1em 0.25em 1em; }
.c-body .dots { display: flex; gap: 0.3em; padding: 0.7em 0.9em; width: max-content; }
.c-body .dots i { width: 0.55em; height: 0.55em; border-radius: 50%; background: #8f9ab0; animation: pulse 1.2s infinite; }
.c-body .dots i:nth-child(2) { animation-delay: 0.2s; } .c-body .dots i:nth-child(3) { animation-delay: 0.4s; }
.c-input { position: absolute; left: 0.9em; right: 0.9em; bottom: 0.8em; display: flex; align-items: center; justify-content: space-between; padding: 0.5em 0.5em 0.5em 1em; border: 1px solid #e3e7ef; border-radius: 2em; color: #8f9ab0; }
.c-input i { width: 1.8em; height: 1.8em; border-radius: 50%; background: #102542; }

@media (max-width: 640px) {
  .beam-stage { height: 250px; margin-top: 10px; }
  .bc { font-size: 12px; }
  .bc { height: calc(var(--h) + 26px); }
  .beam-line { gap: 30px; padding-right: 30px; }
  .beam-labels { font-size: 0.62rem; }
}

/* =========================================================
   "Why choose us" — WE PLAY WITH CODE board (js/play.js)
   ========================================================= */
.play-board {
  position: relative; width: 100%; max-width: 540px; margin-inline: auto; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.pb-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.pb-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dbce85; }
.pb-bar i:nth-child(2) { background: var(--a1); } .pb-bar i:nth-child(3) { background: var(--heading); opacity: 0.6; }
.pb-bar span { margin-left: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.play-svg {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden;
  background-image: radial-gradient(rgba(16, 37, 66, 0.13) 1px, transparent 1.4px); background-size: 22px 22px;
}
.play-svg text { font-family: Outfit, sans-serif; font-weight: 800; font-size: 44px; letter-spacing: -0.5px; }
.pb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--bg-2); }
.pb-foot span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; color: var(--heading); }
.pb-foot img { width: 20px; height: 20px; }
.pb-foot b { margin-left: auto; padding: 6px 14px; border-radius: 999px; background: var(--grad); color: var(--on-accent); font-size: 0.82rem; }
@media (max-width: 480px) { .pb-foot b { margin-left: 0; } }

/* =========================================================
   Home "Digital marketing" — search ranking board (js/seo.js)
   ========================================================= */
@media (min-width: 901px) { .split-rev > :last-child { order: -1; } }
.seo-wrap { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.sb-float { position: absolute; z-index: 4; width: 56px; height: auto; filter: drop-shadow(0 12px 14px rgba(16, 37, 66, 0.22)); animation: bob 6s ease-in-out infinite; pointer-events: none; }
.sb-float.f1 { top: -22px; right: -14px; }
.sb-float.f2 { bottom: 38%; left: -22px; width: 50px; animation-delay: -3s; }
.seo-board { position: relative; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.sb-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.sb-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #dbce85; flex: none; }
.sb-bar > i:nth-child(2) { background: var(--a1); } .sb-bar > i:nth-child(3) { background: var(--heading); opacity: 0.6; }
.sb-search {
  flex: 1; min-width: 0; margin-left: 8px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--heading);
  box-shadow: 0 4px 12px -8px rgba(16, 37, 66, 0.3);
}
.sb-search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.sb-q { white-space: nowrap; overflow: hidden; }
.sb-caret { width: 2px; height: 1.1em; background: var(--a1); flex: none; margin-left: -6px; animation: sbBlink 0.9s steps(1) infinite; }
@keyframes sbBlink { 50% { opacity: 0; } }
.sb-body { position: relative; height: 392px; padding: 10px 14px 14px; }
.sb-meta { display: flex; align-items: center; gap: 4px; font-size: 0.74rem; color: var(--muted); margin-bottom: 8px; opacity: 0; transition: opacity 0.4s; }
.sb-meta img { width: 14px; height: 14px; }
.sb-results { list-style: none; margin: 0; padding: 0; position: relative; }
.sb-results li {
  position: absolute; left: 0; right: 0; top: 0; height: 60px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  transform: translateY(calc(var(--i) * 66px)); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.4s ease calc(var(--i) * 0.08s), box-shadow 0.4s, background 0.4s;
}
.sb-results .fav { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e7ebf2; }
.sb-results li > div { flex: 1; min-width: 0; }
.sb-results small, .sb-results b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-results small { font-size: 0.68rem; color: var(--muted); }
.sb-results b { font-size: 0.88rem; color: #1d3d6b; }
.sb-results .ln { display: block; height: 6px; width: 78%; border-radius: 4px; background: #e9edf3; margin-top: 6px; }
.sb-results .you { z-index: 2; background: #fffdf6; box-shadow: 0 0 0 1px rgba(var(--a1-rgb), 0.55); }
.sb-results .you .fav { background: none; width: 30px; height: 30px; }
.sb-results .you b { color: var(--heading); }
.sb-results .stars { display: block; margin-top: 2px; font-size: 0.74rem; color: #e0a800; letter-spacing: 1px; }
.sb-results .stars em { font-style: normal; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.sb-results .rank { flex: none; min-width: 40px; text-align: center; padding: 6px 10px; border-radius: 999px; background: var(--heading); color: #fff; font-weight: 800; font-size: 0.85rem; transition: background 0.3s, color 0.3s; }
.sb-results .rank.bump { animation: sbBump 0.45s var(--ease); }
@keyframes sbBump { 40% { transform: scale(1.3); } }
/* states set by js/seo.js */
.seo-board.s-loaded .sb-meta, .seo-board.s-loaded .sb-results li { opacity: 1; }
.seo-board.s-top .you { background: linear-gradient(90deg, #fff8e6, #fff); box-shadow: 0 0 0 2px var(--a1), 0 18px 36px -16px rgba(var(--a1-rgb), 0.8); }
.seo-board.s-top .you .rank { background: var(--grad); color: var(--heading); }
.seo-board.s-top .you::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--a1); animation: sbRing 1s ease-out forwards; pointer-events: none; }
@keyframes sbRing { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.08, 1.5); } }
.sb-trophy { position: absolute; right: 64px; top: -16px; width: 34px; opacity: 0; transform: scale(0.3) rotate(-20deg); transition: 0.5s var(--ease); pointer-events: none; filter: drop-shadow(0 6px 8px rgba(16, 37, 66, 0.25)); }
.seo-board.s-top .sb-trophy { opacity: 1; transform: none; }
.sb-chart, .sb-toast { background: #fff; border: 1px solid var(--border); box-shadow: 0 18px 40px -18px rgba(16, 37, 66, 0.45); }
.sb-chart {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; width: calc(48% - 14px); padding: 10px 12px 8px; border-radius: 14px;
  opacity: 0; transform: translateY(18px) scale(0.96); transition: opacity 0.5s, transform 0.5s var(--ease);
}
.sb-chart small { display: block; font-size: 0.72rem; color: var(--muted); }
.sb-chart strong { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--ok); font-weight: 800; }
.sb-chart svg { display: block; width: 100%; height: 56px; margin-top: 4px; }
.sb-chart .line { fill: none; stroke: var(--a1); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.sb-chart .area { opacity: 0; transition: opacity 0.8s 0.9s; }
.seo-board.s-chart .sb-chart { opacity: 1; transform: none; }
.seo-board.s-chart .sb-chart .line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease 0.2s; }
.seo-board.s-chart .sb-chart .area { opacity: 1; }
.sb-toasts { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: calc(52% - 14px); display: flex; flex-direction: column; gap: 8px; }
.sb-toast { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; opacity: 0; transform: translateX(30px); transition: opacity 0.45s, transform 0.45s var(--ease); }
.sb-toast.show { opacity: 1; transform: none; }
.sb-toast img { width: 26px; height: 26px; flex: none; }
.sb-toast div { min-width: 0; }
.sb-toast b, .sb-toast small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-toast b { font-size: 0.8rem; color: var(--heading); }
.sb-toast small { font-size: 0.7rem; color: var(--muted); }
@media (max-width: 520px) {
  .sb-body { height: 372px; padding-inline: 10px; }
  .sb-results li { height: 56px; transform: translateY(calc(var(--i) * 62px)); padding: 6px 8px; }
  .sb-results b { font-size: 0.8rem; }
  .sb-chart { left: 10px; bottom: 10px; width: calc(46% - 10px); }
  .sb-toasts { right: 10px; bottom: 10px; width: calc(54% - 10px); }
  .sb-float.f1 { right: -6px; } .sb-float.f2 { left: -8px; width: 40px; }
}

/* beam mockups — marketing results (SEO, ads, business profile, social, report, modernization) */
.mk .stars { color: #e0a800; letter-spacing: 0.05em; }
.mk .stars i { font-style: normal; color: #566175; letter-spacing: 0; }
.mk-up { display: inline-block; padding: 0.35em 0.9em; border-radius: 2em; background: #e3f6ee; color: #059669; font-weight: 700; font-size: 0.95em; }
.se-body { padding: 1em 1.4em; display: grid; gap: 0.7em; }
.se-res { display: flex; align-items: center; gap: 0.8em; padding: 0.7em 1em; border-radius: 0.9em; border: 1px solid #e3e7ef; }
.se-res > div { min-width: 0; flex: 1; }
.se-res.top { border: 2px solid #b99831; background: linear-gradient(90deg, #fff8e6, #fff); }
.se-res em { font-style: normal; font-weight: 800; font-size: 1.15em; padding: 0.45em 0.7em; border-radius: 2em; background: linear-gradient(135deg, #e6d896, #b99831); color: #102542; }
.se-res small { display: block; color: #566175; }
.se-res b { display: block; color: #1d3d6b; font-size: 1.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-res b.g { height: 0.8em; width: 70%; border-radius: 1em; background: #cfd9ea; margin: 0.35em 0 0; }
.se-body .mk-up { justify-self: start; }
.ad-body { padding: 1em 1.4em; display: grid; gap: 0.9em; }
.ad-prev { border: 1px solid #e3e7ef; border-left: 0.4em solid #b99831; border-radius: 0.8em; padding: 0.8em 1em; }
.ad-prev small { display: block; color: #566175; } .ad-prev small b { color: #102542; }
.ad-prev h6 { margin: 0.2em 0; font-size: 1.4em; color: #1d3d6b; }
.ad-prev span { display: block; color: #566175; margin-bottom: 0.6em; }
.ad-prev .pill-btn { font-style: normal; }
.gb-map { position: relative; height: 12em; overflow: hidden; background: #e8eef6 repeating-linear-gradient(0deg, transparent 0 2.4em, rgba(255, 255, 255, 0.7) 2.4em 2.6em); }
.gb-map .road { position: absolute; height: 1.1em; width: 160%; left: -30%; background: #fff; box-shadow: 0 0 0 1px #d7dfeb; }
.gb-map .r1 { top: 30%; transform: rotate(-12deg); } .gb-map .r2 { top: 64%; transform: rotate(8deg); }
.gb-map .r3 { width: 1.1em; height: 150%; left: 62%; top: -20%; transform: rotate(14deg); }
.gb-map .park { position: absolute; width: 7em; height: 4.5em; left: 6%; top: 8%; border-radius: 1.5em; background: #d5ecd9; }
.gb-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); width: 3.8em; filter: drop-shadow(0 0.4em 0.4em rgba(16, 37, 66, 0.3)); }
.gb-pin img { display: block; width: 100%; height: auto; }
.gb-info { padding: 0.9em 1.1em; }
.gb-info > b { display: block; font-size: 1.35em; color: #102542; }
.gb-info .stars { display: block; margin: 0.15em 0; }
.gb-info small { color: #566175; } .gb-info small em { font-style: normal; color: #059669; font-weight: 700; }
.gb-btns { display: flex; gap: 0.4em; margin-top: 0.7em; }
.gb-btns span { flex: 1; text-align: center; padding: 0.45em 0; border-radius: 2em; border: 1px solid #d7dfeb; color: #1d3d6b; font-weight: 700; font-size: 0.9em; }
.gb-btns span:first-child { background: #102542; color: #fff; border-color: #102542; }
.so-head { display: flex; align-items: center; gap: 0.5em; padding: 2.4em 0.9em 0.6em; }
.so-head i { width: 2em; height: 2em; border-radius: 50%; background: linear-gradient(135deg, #e6d896, #b99831); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #b99831; }
.so-head b { flex: 1; color: #102542; } .so-head span { font-weight: 700; color: #b99831; font-size: 0.9em; }
.so-img { margin: 0 0.6em; height: 11em; border-radius: 0.9em; background: linear-gradient(140deg, #102542, #24497a); color: #fff; display: grid; place-items: center; align-content: center; gap: 0.2em; }
.so-img img { width: 4em; height: auto; }
.so-img b { font-size: 1.6em; color: #dbce85; letter-spacing: 0.08em; } .so-img small { opacity: 0.8; }
.so-meta { padding: 0.6em 0.9em; display: grid; gap: 0.15em; }
.so-meta b { color: #102542; } .so-meta small { color: #566175; } .so-meta em { font-style: normal; font-weight: 700; color: #059669; }
.fu-body { padding: 1em 1.4em; display: grid; gap: 0.75em; }
.fu-body > small { color: #566175; font-weight: 600; }
.fu-row { display: grid; grid-template-columns: 6.5em 1fr 4.8em; align-items: center; gap: 0.7em; }
.fu-row span { color: #566175; font-weight: 600; } .fu-row b { text-align: right; color: #102542; }
.fu-row i { display: block; height: 1.7em; border-radius: 0.5em; background: linear-gradient(90deg, #102542, #24497a); }
.fu-row:nth-child(3) i { background: linear-gradient(90deg, #b99831, #dbce85); }
.fu-row:nth-child(4) i { background: linear-gradient(90deg, #059669, #6ee7b7); }
.fu-roi { display: flex; justify-content: space-between; align-items: center; padding: 0.6em 0.9em; border-radius: 0.8em; background: #f5f7fb; color: #566175; }
.fu-roi strong { font-size: 1.5em; color: #059669; }
.lg-ai { display: flex; align-items: center; gap: 0.7em; margin-top: 0.8em; padding: 0.7em 0.9em; border-radius: 0.9em; background: linear-gradient(90deg, #102542, #24497a); color: #fff; }
.lg-ai img { width: 2.6em; height: 2.6em; flex: none; }
.lg-ai p { margin: 0; color: rgba(255, 255, 255, 0.85); } .lg-ai b { display: block; color: #dbce85; }

/* =========================================================
   Page background — faint grid behind (dot network off since 2026-11-01)
   every section (canvas.page-net from js/main.js).
   The CTA band and the footer use a light see-through tint
   instead of marble so the same background shows there too.
   ========================================================= */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--fg-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
canvas.page-net { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
/* grey sections let the background show through */
[data-theme="royal"] .section.alt, [data-theme="royal"] .marquee { background: rgba(245, 247, 251, 0.3); }
/* the CTA band uses the page grid instead of its own */
.cta-fx .grid { display: none; }
[data-theme="royal"] .cta { background: rgba(255, 255, 255, 0.3); }
[data-theme="royal"] .footer-body { background: rgba(250, 249, 245, 0.35); }
[data-theme="royal"] .footer-wave { margin-bottom: 0; }
[data-theme="royal"] .footer-wave .w5 { fill: rgba(250, 249, 245, 0.35); }

/* =========================================================
   Line icons (replaced the 3D emoji, which read as childish)
   <span class="li" data-icon="…"> rendered by js/main.js
   ========================================================= */
.li { display: inline-grid; place-items: center; flex: none; width: 1.2em; height: 1.2em; color: var(--a2); vertical-align: middle; }
.li svg { width: 100%; height: 100%; }
.card .icon.icon3d {
  width: 54px; height: 54px; margin-bottom: 20px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(var(--a1-rgb), 0.2), rgba(var(--a3-rgb), 0.12));
}
.icon3d .li { width: 26px; height: 26px; }
.info-card .icon.icon3d .li { width: 22px; height: 22px; }
.card:hover .icon.icon3d { transform: none; }
.chip .li { width: 18px; height: 18px; }
.li.pkg3d { width: 50px; height: 50px; padding: 13px; border-radius: 14px; background: rgba(var(--a1-rgb), 0.14); filter: none; }
.footer h4 .li { width: 20px; height: 20px; }
.li.fc-ico { width: 56px; height: 56px; padding: 14px; border-radius: 16px; background: rgba(var(--a1-rgb), 0.14); filter: none; }
.cta-chips .li, .pb-foot .li { width: 17px; height: 17px; }
.sb-meta .li { width: 13px; height: 13px; }
.sb-results .you .li.fav { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: rgba(var(--a1-rgb), 0.16); }
.sb-toast .li { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(var(--a1-rgb), 0.14); }
.li.sb-trophy { width: 26px; height: 26px; right: 68px; top: -14px; color: var(--a1); filter: none; }
.hero-art .badge3d { animation: none; }
.hero-art .badge3d .li { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: rgba(var(--a1-rgb), 0.14); }
.hero-art .layer .li {
  width: 100%; height: auto; aspect-ratio: 1; padding: 26%; border-radius: 26%;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--heading);
}
.hero-art .main .li { padding: 28%; border: 0; background: linear-gradient(135deg, #e6d896, #b99831); color: var(--heading); }
/* inside the hero beam mockups */
.w-art .li { width: 42%; height: auto; aspect-ratio: 1; color: #b99831; }
.p-list .li { width: 2em; height: 2em; padding: 0.4em; border-radius: 0.6em; background: #faf3dc; color: #8a6f1c; }
.c-head .li, .lg-ai .li { width: 2.6em; height: 2.6em; padding: 0.55em; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #dbce85; }
.sh-grid figure .li { width: 42%; height: auto; aspect-ratio: 1; color: #102542; }
.so-img .li { width: 3.4em; height: 3.4em; color: #dbce85; }
.gb-pin .li { width: 100%; height: auto; aspect-ratio: 1; color: #b99831; }
.bc-cap .li { width: 18px; height: 18px; }
/* chips style their child spans; keep icon spans plain */
.cta-chips span.li, .pb-foot span.li { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.cta-chips span.li, .pb-foot span.li { color: var(--a2); }


/* =========================================================
   Tools page — colour palette picker (js/palette.js)
   ========================================================= */
.pal-tool { max-width: 1180px; margin: 0 auto; }
.pal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.pal-tabs button {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 0.88rem; line-height: 1; color: var(--heading); background: var(--surface);
  border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.pal-tabs button:hover { border-color: rgba(var(--a1-rgb), 0.6); }
.pal-tabs button[aria-selected="true"] { background: var(--heading); color: #fff; border-color: var(--heading); box-shadow: 0 10px 22px -12px rgba(16, 37, 66, 0.6); }
.pal-dots { display: inline-flex; }
.pal-dots i { width: 12px; height: 12px; border-radius: 50%; margin-left: -4px; box-shadow: 0 0 0 2px #fff; }
.pal-dots i:first-child { margin-left: 0; }

.pal-board {
  display: flex; height: 440px; border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(var(--a1-rgb), 0.35), 0 30px 60px -30px rgba(16, 37, 66, 0.45);
}
.pal-bar {
  position: relative; flex: 1 1 0; min-width: 0; cursor: pointer; overflow: hidden; outline: none;
  transition: flex-grow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pal-board.in .pal-bar { animation: palIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes palFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes palIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pal-bar:hover, .pal-bar:focus-visible { flex-grow: 1.35; }
.pal-bar:focus-visible { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.85); }
.pal-bar.open { flex-grow: 3.2; cursor: default; }
.pal-content {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 22px 0;
  color: rgba(255, 255, 255, 0.95); text-shadow: 0 0 6px rgba(0, 0, 0, 0.25); text-transform: uppercase; letter-spacing: 0.06em;
}
.pal-bar.dark-text .pal-content, .pal-shade.dark-text { color: rgba(16, 20, 30, 0.88); text-shadow: none; }
.pal-name, .pal-codes b, .pal-codes small { writing-mode: vertical-lr; transform: rotate(180deg); white-space: nowrap; }
.pal-name { font-weight: 700; font-size: 0.92rem; }
.pal-codes { display: flex; align-items: flex-end; gap: 4px; }
.pal-codes b { font: 600 0.8rem ui-monospace, "Cascadia Code", Consolas, monospace; }
.pal-codes small { font: 500 0.66rem ui-monospace, Consolas, monospace; opacity: 0.75; }
.pal-shades { position: absolute; inset: 0; display: none; flex-direction: column; }
.pal-bar.open .pal-content { display: none; }
.pal-bar.open .pal-shades { display: flex; }
.pal-shade {
  flex: 1; border: 0; cursor: copy; font: 600 0.82rem ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95); display: flex; align-items: center; justify-content: center; gap: 6px; position: relative;
  animation: palFade 0.3s ease both; animation-delay: calc(var(--k) * 45ms); transition: transform 0.15s;
}
.pal-shade:hover { transform: scale(1.04); z-index: 1; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45); }
.pal-shade.base::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pal-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 0.86rem; color: var(--muted); text-align: center; }
.pal-hint .li { width: 18px; height: 18px; color: var(--a1); }

.pal-picks {
  margin-top: 18px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(var(--a1-rgb), 0.35); box-shadow: 0 20px 44px -30px rgba(16, 37, 66, 0.45);
}
.pal-picks-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pal-picks-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; }
.pal-picks-head h3 .li { width: 22px; height: 22px; color: var(--a1); }
.pal-picks-head small { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.pal-custom { display: flex; align-items: center; gap: 8px; }
.pal-custom input[type="color"] { width: 40px; height: 38px; padding: 2px; border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; }
.pal-custom input[type="text"] {
  width: 104px; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--field-bg);
  font: 600 0.9rem ui-monospace, Consolas, monospace; color: var(--heading); text-transform: uppercase;
}
.pal-custom input[type="text"]:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 3px rgba(var(--a1-rgb), 0.18); }
.pal-custom input.bad { border-color: var(--bad); }
.pal-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pal-list li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; border: 1px solid var(--border); background: #fff; animation: palIn 0.3s ease both; }
.pal-list li i { flex: none; width: 40px; height: 40px; border-radius: 9px; cursor: copy; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.pal-list li span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pal-list li b { font: 700 0.9rem ui-monospace, Consolas, monospace; color: var(--heading); }
.pal-list li small { font-size: 0.76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-list li button { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface-2); color: var(--muted); font-size: 1.1rem; line-height: 1; }
.pal-list li button:hover { background: rgba(220, 38, 38, 0.1); color: var(--bad); }
.pal-list .pal-empty { grid-column: 1 / -1; justify-content: center; padding: 16px; border-style: dashed; color: var(--muted); font-size: 0.9rem; background: transparent; }
.pal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pal-actions .btn [data-icon] { display: inline-flex; width: 16px; height: 16px; margin-right: 6px; }
.pal-actions .btn [data-icon] svg { width: 100%; height: 100%; }
.pal-actions .pal-clear { margin-left: auto; }
.pal-tool:not(.has-picks) .pal-actions .btn { opacity: 0.55; }

@media (max-width: 760px) {
  .pal-board { flex-direction: column; height: auto; }
  .pal-bar { flex: none; height: 52px; transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
  .pal-bar:hover, .pal-bar:focus-visible { flex-grow: 0; }
  .pal-bar.open { height: 92px; }
  .pal-content { flex-direction: row; padding: 0 16px; }
  .pal-name, .pal-codes b, .pal-codes small { writing-mode: horizontal-tb; transform: none; }
  .pal-codes { align-items: baseline; gap: 10px; }
  .pal-shades { flex-direction: row; }
  .pal-shade { font-size: 0.62rem; letter-spacing: 0; flex-direction: column; gap: 3px; }
  .pal-actions .pal-clear { margin-left: 0; }
}


/* =========================================================
   Home process — glowing cursor panel (js/glow.js)
   Panel on the left, copy on the right (desktop).
   ========================================================= */
.process-split { align-items: center; }
@media (min-width: 901px) { .process-split > .process-copy { order: 2; } }
.glow-panel {
  position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #ffffff, #fbf8ee);
  box-shadow: 0 0 0 1px rgba(var(--a1-rgb), 0.35), 0 30px 60px -30px rgba(16, 37, 66, 0.4);
}
.glow-panel .glow-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.glow-words {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 0.6em;
  padding: 0 28px; pointer-events: none;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em;
}
.glow-words .gw-c { display: flex; gap: 0.5em; }
.glow-words b {
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #102542, #b99831) bottom / 100% 0% no-repeat, linear-gradient(rgba(16, 37, 66, 0.12), rgba(16, 37, 66, 0.12));
  -webkit-background-clip: text; background-clip: text; transition: background-size 0.5s var(--ease);
}
.glow-words b.lit { background-size: 100% 100%, auto; }
.glow-hint {
  position: absolute; left: 50%; bottom: 16px; z-index: 1; transform: translateX(-50%); white-space: nowrap;
  font: 600 0.7rem/1 ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); opacity: 0.7;
}
@media (max-width: 900px) { .glow-panel { order: 2; } }
@media (max-width: 560px) {
  .glow-panel { height: 340px; }
  .glow-words { flex-direction: column; justify-content: center; gap: 0.35em; font-size: 2.3rem; }
  .glow-hint { display: none; }
}

/* heading that stays in view beside a long column (desktop only; on mobile it would slide under the content) */
@media (min-width: 901px) { .sticky-copy { position: sticky; top: 120px; } }


/* =========================================================
   Modernize & AI hero — "AI upgrade" spheres (js/ai-orbs.js)
   ========================================================= */
.ai-board {
  position: relative; width: 100%; max-width: 540px; margin-inline: auto; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.ai-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.ai-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dbce85; }
.ai-bar i:nth-child(2) { background: var(--a1); } .ai-bar i:nth-child(3) { background: var(--heading); opacity: 0.6; }
.ai-bar span { margin-left: 8px; font: 600 0.75rem ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--muted); }
.ai-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--border); transition: 0.4s;
}
.ai-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa5b8; transition: 0.4s; }
.ai-board.is-on .ai-status { color: var(--heading); border-color: rgba(var(--a1-rgb), 0.6); background: #fff8e6; }
.ai-board.is-on .ai-status::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18); animation: pulse 1.8s infinite; }

.ai-stage { position: relative; height: 380px; overflow: hidden; background: linear-gradient(#fcfaf3, #eef2f8); }
.ai-board.hovering .ai-stage { cursor: none; }
.ai-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ai-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; color: var(--heading); pointer-events: none;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 4px rgba(255, 255, 255, 0.8);
}
.ai-copy strong { font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: 0.02em; }
.ai-cap { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.ai-copy em { font-size: 0.86rem; opacity: 0.8; }
.ai-cursor {
  position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; mix-blend-mode: difference;
  pointer-events: none; opacity: 0; transition: opacity 0.2s, width 0.2s, height 0.2s;
}
.ai-board.hovering .ai-cursor { opacity: 1; }
.ai-board.no-gl .ai-stage { background: radial-gradient(circle at 50% 50%, #fff3c4, #eef2f8 70%); }

.ai-foot { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.ai-foot > span { display: inline-flex; align-items: center; gap: 5px; }
.ai-foot .li { width: 16px; height: 16px; color: var(--a1); }
.ai-play {
  margin-right: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 700 0.82rem/1 inherit; font-family: inherit; color: #fff; background: var(--heading); border: 0;
  box-shadow: 0 10px 22px -12px rgba(16, 37, 66, 0.7); transition: transform 0.2s, background 0.3s, color 0.3s;
}
.ai-play:hover { transform: translateY(-1px); }
.ai-ico { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ai-board.is-on .ai-play { background: var(--grad); color: var(--heading); }
.ai-board.is-on .ai-ico { width: 8px; height: 10px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
@media (max-width: 560px) {
  .ai-stage { height: 300px; }
  .ai-foot > span:not(:last-child) { display: none; }
}

/* =========================================================
   Hero boards (seo / play / ai): about as tall as the
   heading → buttons block and level with it, instead of
   standing taller than the text.
   ========================================================= */
/* main.js sets --board-top to the h1 offset so the board starts level with the heading */
@media (min-width: 901px) {
  .hero-grid.board-hero { align-items: start; }
  .hero-grid.board-hero > :last-child { margin-top: var(--board-top, 40px); }
}
/* marketing search board: tighter rows */
.sb-bar { padding: 8px 12px; }
.sb-search { height: 32px; }
.sb-body { height: 318px; padding: 8px 12px 10px; }
.sb-meta { margin-bottom: 6px; }
.sb-results li { height: 52px; padding: 6px 10px; transform: translateY(calc(var(--i) * 56px)); }
.sb-results .ln { display: none; }
.sb-results .stars { margin-top: 0; }
.sb-results .you > div > small { display: none; }
/* development play board: shorter stage, artwork scales to fit */
.play-svg { aspect-ratio: auto; height: 250px; }
/* modernization ai board */
.ai-stage { height: 272px; }
@media (max-width: 560px) { .ai-stage { height: 260px; } .play-svg { height: 230px; } }

/* ---------- Brand logo: ZARIX AI Lab (navy tile, gold X) ---------- */
[data-theme="royal"] .logo-mark { background: #102542; box-shadow: 0 6px 18px -8px rgba(16, 37, 66, .6), inset 0 0 0 1px rgba(219, 206, 133, .35); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-mark .tri { fill: none; stroke: #dbce85; stroke-width: 7; stroke-linejoin: round; }
.logo-mark text { font: 800 31px "Outfit", Arial, sans-serif; text-anchor: middle; fill: #dbce85; }
.logo-word { color: var(--heading); font-weight: 800; letter-spacing: .04em; display: inline-flex; align-items: baseline; }
.logo-word b { font-weight: 800; }
.logo-word small { margin-left: 7px; font-size: .62em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Currency switch (AUD / USD / GBP) ---------- */
.cur-switch { display: inline-flex; gap: 2px; padding: 4px; margin-top: 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.cur-switch button { border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 6px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.cur-switch button:hover { color: var(--heading); }
.cur-switch button[aria-pressed="true"] { background: var(--heading); color: #fff; box-shadow: inset 0 -2px 0 var(--a1); }
.cur-switch.sm { margin: 0 0 14px; }
.cur-switch.sm button { font-size: .78rem; padding: 4px 12px; }
.tax-note { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Contact hero — card deck (js/cards.js, port of templates/Card Animations Showcase) ---------- */
.deck-hero { padding-top: calc(var(--nav-h) + 8px); }
.deck-stage { position: relative; height: clamp(300px, min(52vh, 100vw), 470px); perspective: 2500px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.deck-stage.grabbing { cursor: grabbing; }
.deck-wheel { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.deck-card {
  position: absolute; left: 0; top: 0; width: var(--cw, 160px); height: var(--ch, 226px); border-radius: 14px; opacity: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px 14px; overflow: hidden;
  box-shadow: 0 18px 34px -18px rgba(16, 37, 66, .55), 0 2px 6px rgba(16, 37, 66, .12); will-change: transform, opacity;
  backface-visibility: hidden;
}
.deck-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 18%, rgba(219, 206, 133, .28), transparent 55%); pointer-events: none; }
.deck-card .dc-num { position: absolute; top: 12px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; opacity: .7; }
.deck-card .li { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; display: grid; place-items: center; }
.deck-card .li svg { width: 100%; height: 100%; }
.deck-card strong { position: relative; font-size: 1rem; line-height: 1.15; font-weight: 800; }
.deck-card small { position: relative; font-size: .74rem; opacity: .75; }
.deck-card.navy { background: linear-gradient(160deg, #18335a, #102542 60%); color: #fff; }
.deck-card.navy .li { color: #dbce85; }
.deck-card.ivory { background: linear-gradient(160deg, #fffdf6, #f4eedb); color: #102542; border: 1px solid rgba(185, 152, 49, .35); }
.deck-card.ivory .li { color: #b99831; }
.deck-card.gold { background: linear-gradient(150deg, #e6d896, #c9a94a 55%, #b99831); color: #102542; }
.deck-card.gold .li { color: #102542; }
.deck-card.gold::before { background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, .45), transparent 55%); }
.deck-menu { display: flex; justify-content: center; gap: 2px; width: max-content; max-width: 100%; margin: 6px auto 0; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); overflow-x: auto; scrollbar-width: none; }
.deck-menu::-webkit-scrollbar { display: none; }
.deck-menu button { flex: none; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.deck-menu button:hover { color: var(--heading); }
.deck-menu button[aria-pressed="true"] { background: var(--heading); color: #fff; box-shadow: inset 0 -2px 0 var(--a1); }
.deck-menu button[data-action] { font-size: 1rem; padding: 4px 12px; }
.deck-copy { text-align: center; margin-top: 26px; }
.deck-copy h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.deck-copy .lead { max-width: 56ch; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .deck-menu { justify-content: flex-start; }
  .deck-menu button { padding: 6px 10px; font-size: .72rem; }
}

/* ---------- Tools hero — honeycomb (js/hive.js, port of templates/tools) ---------- */
@property --ripple-factor { syntax: "<number>"; initial-value: 0; inherits: true; }
.hive-board { position: relative; width: 100%; max-width: 540px; margin-inline: auto; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hive-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px 9px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.hive-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dbce85; }
.hive-bar i:nth-child(2) { background: var(--a1); } .hive-bar i:nth-child(3) { background: var(--heading); opacity: .6; }
.hive-bar span { margin-left: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.hive-switch { position: relative; margin-left: auto; display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); cursor: pointer; font: inherit; }
.hive-switch b { position: relative; z-index: 1; padding: 3px 11px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.hive-switch::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: linear-gradient(135deg, #e6d896, #b99831); transition: transform .35s var(--ease), background .35s; }
.hive-switch b:first-child { color: #102542; }
.hive-switch[aria-pressed="true"]::before { transform: translateX(100%); background: var(--heading); }
.hive-switch[aria-pressed="true"] b:first-child { color: var(--muted); }
.hive-switch[aria-pressed="true"] b:last-child { color: #fff; }
.hive-stage { position: relative; height: 300px; overflow: hidden; background: linear-gradient(#fcfaf3, #eef2f8); transition: background .6s ease; }
.hive-stage::before { content: ""; position: absolute; inset: -20%; pointer-events: none; opacity: 0; transition: opacity .6s ease, filter .6s ease; filter: blur(8px);
  background: radial-gradient(circle at 30% 35%, rgba(219, 206, 133, .55), transparent 40%), radial-gradient(circle at 72% 70%, rgba(185, 152, 49, .45), transparent 42%), radial-gradient(circle at 60% 20%, rgba(80, 130, 200, .35), transparent 40%), linear-gradient(160deg, #18335a, #0b1a30); }
.hive-board.glass .hive-stage::before { opacity: 1; filter: blur(0); }
.hive { position: absolute; inset: 0; }
.hex {
  position: absolute; width: calc(var(--hx, 36px) * .95); aspect-ratio: 1; translate: -50% -50%; padding: 0; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--fg); background: var(--bg); transition: background .6s ease, color .6s ease, filter .2s;
  clip-path: polygon(98.66% 45%, 99.4% 46.58%, 99.85% 48.26%, 100% 50%, 99.85% 51.74%, 99.4% 53.42%, 98.66% 55%, 78.66% 89.64%, 77.66% 91.07%, 76.43% 92.3%, 75% 93.3%, 73.42% 94.04%, 71.74% 94.49%, 70% 94.64%, 30% 94.64%, 28.26% 94.49%, 26.58% 94.04%, 25% 93.3%, 23.57% 92.3%, 22.34% 91.07%, 21.34% 89.64%, 1.34% 55%, .6% 53.42%, .15% 51.74%, 0% 50%, .15% 48.26%, .6% 46.58%, 1.34% 45%, 21.34% 10.36%, 22.34% 8.93%, 23.57% 7.7%, 25% 6.7%, 26.58% 5.96%, 28.26% 5.51%, 30% 5.36%, 70% 5.36%, 71.74% 5.51%, 73.42% 5.96%, 75% 6.7%, 76.43% 7.7%, 77.66% 8.93%, 78.66% 10.36%);
}
.hex .li { width: 38%; height: 38%; display: grid; place-items: center; }
.hex .li svg { width: 100%; height: 100%; }
@media (hover: hover) { .hex:hover { filter: brightness(1.15); } }
.hive-board.glass .hex { background: rgba(255, 255, 255, .16); color: #f3e9b5; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (hover: hover) { .hive-board.glass .hex:hover { filter: none; background: rgba(255, 255, 255, .3); } }
@keyframes hive-ripple {
  from { transform: scale(1); opacity: 1; }
  50% { transform: scale(max(.8, calc(var(--ripple-factor) / 100))); opacity: .42; }
  65% { opacity: 1; }
  70% { transform: scale(1.5); filter: blur(2px); }
  to { transform: scale(1); opacity: 1; }
}
.hive.show-ripple { pointer-events: none; }
.hive.show-ripple .hex { --dur: .45s; animation: hive-ripple var(--dur) ease-in-out; animation-duration: max(var(--dur), calc(var(--dur) * var(--ripple-factor) / 100)); animation-delay: calc(var(--ripple-factor) * 8ms); }
@media (max-width: 900px) { .hive-stage { height: 280px; } }

/* ---------- Home — comparison scoreboard (js/vs.js) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs { --c2: 200px; --c3: 150px; position: relative; max-width: 1040px; margin: 34px auto 18px; }
.vs-grid { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.vs-row { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) var(--c2) var(--c3) var(--c3); align-items: center; min-height: 62px; border-bottom: 1px solid var(--border); }
.vs-row:last-child { border-bottom: 0; }
.vs-row > div { padding: 12px 18px; }
.vs-row > div:not(.vs-feat) { display: grid; justify-items: center; text-align: center; }
.vs-feat { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); }
.vs-feat .li { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface-2); color: var(--muted); transition: background .4s, color .4s, transform .4s var(--ease); }
.vs-feat .li svg { width: 100%; height: 100%; }
.vs-row.on .vs-feat .li { background: rgba(var(--a1-rgb), .16); color: var(--a2); transform: scale(1.08); }
/* row flash as the scan line passes */
.vs-row:not(.vs-head):not(.vs-score)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--a1-rgb), .16) 45%, transparent); background-size: 220% 100%; }
.vs-row.on::before { animation: vsFlash .9s ease-out; }
@keyframes vsFlash { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 0; background-position: -60% 0; } }
@media (hover: hover) {
  .vs-row:not(.vs-head):hover { background: rgba(16, 37, 66, .025); }
  .vs-row:not(.vs-head):hover .vs-us .vs-mk { transform: scale(1.12); }
}
/* header */
.vs-head { min-height: 72px; }
.vs-head > div { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs-head .vs-us { display: flex !important; align-items: center; justify-content: center; gap: 9px; text-transform: none; letter-spacing: .02em; font-size: 1rem; color: var(--heading); }
.vs-head .vs-us b { font-weight: 800; }
.vs-head .vs-us b span { color: var(--muted); font-weight: 600; font-size: .78em; }
.vs-head .logo-mark { flex: none; width: 30px; height: 30px; border-radius: 8px; }
/* the lifted ZARIX column */
.vs-lift { position: absolute; z-index: 1; top: -16px; bottom: -16px; right: calc(var(--c3) * 2); width: var(--c2); border-radius: 18px;
  background: linear-gradient(180deg, #fffdf6, #fbf4dc); box-shadow: 0 26px 50px -22px rgba(185, 152, 49, .55), 0 0 0 1px rgba(185, 152, 49, .3);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .6s ease, transform .7s var(--ease), box-shadow .8s; }
.vs.play .vs-lift { opacity: 1; transform: none; }
.vs.done .vs-lift { box-shadow: 0 30px 60px -20px rgba(185, 152, 49, .75), 0 0 0 1px rgba(185, 152, 49, .45), 0 0 40px rgba(219, 206, 133, .35); }
.vs-lift::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--a1) 70%, #fffbe8 75%, var(--a1) 80%, transparent 95%);
  -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 exclude, linear-gradient(#000 0 0); animation: spinAng 5s linear infinite; }
.vs-badge { position: absolute; z-index: 3; top: -15px; left: 50%; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 5px 13px; border-radius: 999px; background: var(--grad); color: #102542; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(185, 152, 49, .8); transform: translate(-50%, 8px) scale(.4); opacity: 0; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.vs-badge [data-icon] { display: inline-grid; width: 13px; height: 13px; }
.vs-badge svg { width: 100%; height: 100%; }
.vs.done .vs-badge { transform: translate(-50%, 0) scale(1); opacity: 1; }
.vs-sparks { position: absolute; top: -2px; left: 50%; width: 0; height: 0; z-index: 2; }
.vs-sparks i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #dbce85; opacity: 0; }
.vs-sparks i:nth-child(3n) { background: var(--a1); width: 4px; height: 4px; }
.vs.done .vs-sparks i { animation: vsSpark .9s ease-out forwards; }
@keyframes vsSpark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(.3); } }
/* scan line */
.vs-scan { position: absolute; z-index: 4; left: -10px; right: -10px; top: -1px; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--a1) 15%, #fff6cf 50%, var(--a1) 85%, transparent);
  box-shadow: 0 0 14px 2px rgba(219, 206, 133, .8); transition: transform .32s var(--ease), opacity .4s; }
/* marks */
.vs-mk { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; opacity: 0; transform: scale(.3);
  transition: opacity .25s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.vs-mk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vs-mk path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .45s ease .12s; }
.vs-mk.y { background: rgba(5, 150, 105, .12); color: var(--ok); }
.vs-mk.n { background: rgba(220, 38, 38, .09); color: var(--bad); }
.vs-us .vs-mk.y { width: 34px; height: 34px; background: var(--grad); color: #102542; box-shadow: 0 6px 16px -6px rgba(185, 152, 49, .9); }
.vs-row.on .vs-mk { opacity: 1; transform: none; }
.vs-row.on .vs-mk path { stroke-dashoffset: 0; }
.vs-row.on .vs-mk.n { animation: vsShake .4s ease .25s; }
@keyframes vsShake { 25% { translate: -3px 0; } 50% { translate: 3px 0; } 75% { translate: -2px 0; } }
/* score row */
.vs-score { min-height: 80px; }
.vs-score .vs-feat { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs-num { font-size: .9rem; font-weight: 600; color: var(--muted); }
.vs-num b { display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--heading); margin-right: 1px; }
.vs-num b.bump { animation: vsBump .35s ease; }
@keyframes vsBump { 50% { transform: scale(1.35); } }
.vs-us .vs-num b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.9rem; }
.vs-bar { display: block; width: 76%; height: 6px; margin-top: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.vs-bar i { display: block; height: 100%; width: var(--fill, 0%); border-radius: inherit; background: #b7c0ce; transition: width .45s var(--ease); }
.vs-us .vs-bar i { background: var(--grad); }
@media (max-width: 760px) {
  .vs { --c2: 84px; --c3: 66px; }
  .vs-row > div { padding: 10px 8px; }
  .vs-row > div.vs-feat { padding-left: 12px; font-size: .86rem; gap: 8px; }
  .vs-feat .li { width: 28px; height: 28px; padding: 6px; }
  .vs-head > div { font-size: .62rem; letter-spacing: .03em; }
  .vs-head .vs-us { flex-direction: column; gap: 4px; font-size: .78rem; }
  .vs-head .vs-us b span { display: none; }
  .vs-row > div.vs-feat[role="columnheader"], .vs-row > div.vs-feat[role="rowheader"] { font-size: .66rem; }
  .vs-mk { width: 26px; height: 26px; }
  .vs-us .vs-mk.y { width: 28px; height: 28px; }
  .vs-num b { font-size: 1.2rem; }
  .vs-us .vs-num b { font-size: 1.4rem; }
  .vs-num { font-size: .72rem; }
  .vs-badge { font-size: .6rem; padding: 4px 8px; }
}
@media (max-width: 420px) { .vs-feat .li { display: none; } }

/* ---------- Home "Why choose us" — five freelancers → one partner (js/team.js) ---------- */
.team-board { position: relative; width: 100%; max-width: 560px; margin-inline: auto; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #ffffff, #fbf8ee); box-shadow: 0 0 0 1px rgba(var(--a1-rgb), .35), 0 30px 60px -30px rgba(16, 37, 66, .4); }
.tm-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px 9px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.tm-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #dbce85; }
.tm-bar > i:nth-child(2) { background: var(--a1); } .tm-bar > i:nth-child(3) { background: var(--heading); opacity: .6; }
.tm-bar > span { margin-left: 8px; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.tm-toggle { margin-left: auto; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.tm-toggle button { border: 0; background: none; font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .03em; color: var(--muted); padding: 4px 11px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.tm-toggle button[aria-pressed="true"] { background: #fde8e8; color: #b42318; }
.team-board.partner .tm-toggle button[aria-pressed="true"] { background: var(--grad); color: #102542; }
.tm-stage { position: relative; height: 420px; overflow: hidden; background: transparent; transition: background .8s ease; }
.team-board.partner .tm-stage { background: radial-gradient(circle at 50% 46%, rgba(255, 242, 196, .9), rgba(251, 248, 238, 0) 62%); }
.tm-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tm-tangle { fill: none; stroke: rgba(220, 38, 38, .38); stroke-width: 1.6; stroke-dasharray: 5 6; animation: tmDash 1.2s linear infinite; transition: opacity .6s; }
.tm-tangle:nth-child(3n) { stroke: rgba(86, 97, 117, .35); }
@keyframes tmDash { to { stroke-dashoffset: -22; } }
.tm-spoke { stroke: var(--a1); stroke-width: 2; stroke-linecap: round; opacity: 0; transition: opacity .6s .5s; }
.tm-pulse { fill: #fff6cf; stroke: var(--a1); stroke-width: 1.5; opacity: 0; transition: opacity .6s .7s; }
.team-board.partner .tm-tangle { opacity: 0; }
.team-board.partner .tm-spoke { opacity: .8; }
.team-board.partner .tm-pulse { opacity: 1; }
/* freelancer cards */
.tm-node { position: absolute; left: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; border-radius: 12px; white-space: nowrap;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 22px -14px rgba(16, 37, 66, .5);
  transform: translate(calc(var(--x, 0px) - 50%), calc(var(--y, 0px) - 50%)) rotate(var(--rot, 0deg)); transition: transform 1.2s cubic-bezier(.65, 0, .25, 1), border-color .6s, box-shadow .6s; }
.tm-node:nth-of-type(odd) { --rot: -4deg; } .tm-node:nth-of-type(even) { --rot: 3deg; }
.tm-node .li { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--surface-2); color: var(--muted); transition: background .6s, color .6s; }
.tm-node .li svg { width: 100%; height: 100%; }
.tm-node b { display: block; font-size: .8rem; color: var(--heading); line-height: 1.2; }
.tm-node small { display: block; font-size: .66rem; font-weight: 600; line-height: 1.3; }
.tm-node .bad { color: #b42318; }
.tm-node .good { display: none; color: var(--a2); }
.team-board:not(.partner) .tm-node { animation: tmWobble 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * -.7s); }
@keyframes tmWobble { 50% { translate: 0 -5px; } }
.team-board.partner .tm-node { --rot: 0deg; border-color: rgba(185, 152, 49, .45); box-shadow: 0 12px 24px -14px rgba(185, 152, 49, .7); }
.team-board.partner .tm-node .li { background: rgba(var(--a1-rgb), .16); color: var(--a2); }
.team-board.partner .tm-node .bad { display: none; }
.team-board.partner .tm-node .good { display: block; }
/* hub */
.tm-hub { position: absolute; left: 50%; top: 45%; z-index: 1; display: grid; justify-items: center; gap: 2px; padding: 12px 14px 10px; border-radius: 18px; text-align: center;
  background: #102542; color: #fff; box-shadow: 0 18px 36px -14px rgba(16, 37, 66, .7); transform: translate(-50%, -50%) scale(0); opacity: 0;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .45s, opacity .4s .45s; }
.team-board.partner .tm-hub { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.tm-hub .logo-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: none; }
.tm-hub b { font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.tm-hub small { font-size: .62rem; color: #dbce85; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tm-ring { position: absolute; inset: -8px; border-radius: 24px; border: 1.5px solid rgba(185, 152, 49, .55); animation: tmRing 2.4s ease-out infinite; pointer-events: none; }
.tm-ring.r2 { animation-delay: 1.2s; }
@keyframes tmRing { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
/* complaint bubble */
.tm-bubble { position: absolute; left: 0; top: 0; z-index: 3; padding: 6px 10px; border-radius: 10px 10px 10px 2px; background: #102542; color: #fff; font-size: .7rem; font-weight: 600; white-space: nowrap;
  transform: translate(calc(var(--x, 0px) - 50%), calc(var(--y, 0px) - 50%)) scale(.6); opacity: 0; pointer-events: none; }
.tm-bubble.show { animation: tmBubble 1.25s ease forwards; }
@keyframes tmBubble { 0% { opacity: 0; transform: translate(calc(var(--x) - 50%), calc(var(--y) - 30%)) scale(.6); } 18%, 75% { opacity: 1; transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) scale(1); } 100% { opacity: 0; transform: translate(calc(var(--x) - 50%), calc(var(--y) - 70%)) scale(.95); } }
.team-board.partner .tm-bubble { display: none; }
/* footer */
.tm-foot { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); display: grid; padding: 7px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(var(--a1-rgb), .3), 0 10px 20px -14px rgba(16, 37, 66, .5); font-size: .8rem; font-weight: 600; text-align: center; }
.tm-foot > span { grid-area: 1 / 1; transition: opacity .5s, transform .5s; }
.tm-foot .bad { color: #b42318; }
.tm-foot .good { color: var(--a2); opacity: 0; transform: translateY(8px); }
.tm-foot b { font-size: 1.05em; font-weight: 800; }
.team-board.partner .tm-foot .bad { opacity: 0; transform: translateY(-8px); }
.team-board.partner .tm-foot .good { opacity: 1; transform: none; }
@media (max-width: 520px) {
  .tm-stage { height: 360px; }
  .tm-node { padding: 5px 8px 5px 5px; gap: 6px; }
  .tm-node .li { width: 24px; height: 24px; padding: 5px; }
  .tm-node b { font-size: .7rem; } .tm-node small { font-size: .6rem; }
  .tm-bar > span { display: none; }
  .tm-foot { font-size: .72rem; }
  .tm-hub { padding: 8px 9px 7px; border-radius: 14px; }
  .tm-hub .logo-mark { width: 24px; height: 24px; border-radius: 7px; }
  .tm-hub b { font-size: .64rem; } .tm-hub small { font-size: .52rem; }
}

/* =========================================================
   Tools page — UI design styles, font pairing, design brief
   (js/tools-extra.js)
   ========================================================= */
.uis-tool { max-width: 1180px; margin: 0 auto; }
.uis-main { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: stretch; }
.uis-stage {
  position: relative; display: grid; place-items: center; min-height: 500px; padding: 34px 20px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(var(--a1-rgb), .35), 0 30px 60px -30px rgba(16, 37, 66, .45); transition: background .6s ease;
}
.uis-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s ease; }
.uis-prev, .uis-prev * { transition: background .5s ease, color .5s ease, border-color .5s ease, border-radius .5s ease, box-shadow .5s ease, font-size .3s, letter-spacing .3s; }
.uis-prev { width: min(100%, 340px); display: grid; gap: 14px; padding: 18px; font-family: Outfit, system-ui, sans-serif; }
.u-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.u-top b { flex: 1; font-size: 1.02rem; }
.u-logo { width: 26px; height: 26px; border-radius: 8px; }
.u-ava { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: .72rem; font-weight: 700; }
.u-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: .86rem; }
.u-search .li { width: 16px; height: 16px; flex: none; }
.u-search .li svg { width: 100%; height: 100%; }
.u-stat { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.u-stat small { display: block; font-size: .74rem; opacity: .8; }
.u-stat strong { font-size: 1.8rem; line-height: 1.1; margin-right: 6px; }
.u-stat em { font-style: normal; font-size: .78rem; font-weight: 700; }
.u-spark { display: flex; align-items: flex-end; gap: 4px; height: 46px; }
.u-spark i { width: 7px; height: var(--h); border-radius: 3px; }
.u-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: .88rem; }
.u-toggle { position: relative; width: 46px; height: 26px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; flex: none; }
.u-toggle i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; transition: transform .35s var(--ease), background .5s, box-shadow .5s; }
.u-toggle[aria-pressed="true"] i { transform: translateX(20px); }
.u-range { -webkit-appearance: none; appearance: none; width: 130px; height: 6px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--rc, #102542) var(--v, 60%), var(--rt, #dde3ec) var(--v, 60%)); }
.u-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--rk, #fff); box-shadow: var(--rks, 0 1px 4px rgba(0,0,0,.35)); border: var(--rkb, 0); }
.u-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--rk, #fff); box-shadow: var(--rks, 0 1px 4px rgba(0,0,0,.35)); border: var(--rkb, 0); }
.u-btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.u-btn { padding: 12px 10px; border: 0; cursor: pointer; font: 700 .9rem Outfit, system-ui, sans-serif; }
.u-btn:active { transform: translateY(1px); }

/* --- 1. Flat --- */
.s-flat { background: #e9f1fb; }
.s-flat .uis-prev { background: #fff; border-radius: 10px; }
.s-flat .u-top { background: #2f80ed; color: #fff; border-radius: 6px; }
.s-flat .u-logo { background: #f2c94c; border-radius: 4px; }
.s-flat .u-ava { background: #27ae60; color: #fff; }
.s-flat .u-search { background: #f1f4f8; color: #6b7a90; border-radius: 6px; }
.s-flat .u-stat { background: #f2994a; color: #fff; border-radius: 6px; }
.s-flat .u-spark i { background: rgba(255,255,255,.85); border-radius: 0; }
.s-flat .u-row { background: #f1f4f8; color: #33415c; border-radius: 6px; }
.s-flat .u-toggle { background: #cfd8e3; } .s-flat .u-toggle[aria-pressed="true"] { background: #27ae60; } .s-flat .u-toggle i { background: #fff; }
.s-flat .u-range { --rc: #2f80ed; --rt: #cfd8e3; --rk: #2f80ed; --rks: none; }
.s-flat .u-btn.pri { background: #2f80ed; color: #fff; border-radius: 6px; } .s-flat .u-btn.sec { background: #eb5757; color: #fff; border-radius: 6px; }

/* --- 2. Material --- */
.s-material { background: #f3f0f8; }
.s-material .uis-prev { background: #fff; border-radius: 4px; box-shadow: 0 8px 18px rgba(0,0,0,.14), 0 2px 5px rgba(0,0,0,.12); padding: 0 0 16px; gap: 12px; font-family: Roboto, Arial, sans-serif; }
.s-material .u-top { background: #6200ee; color: #fff; padding: 14px 16px; box-shadow: 0 3px 6px rgba(0,0,0,.2); }
.s-material .u-top b { font-weight: 500; letter-spacing: .02em; }
.s-material .u-logo { background: #03dac6; border-radius: 50%; }
.s-material .u-ava { background: #3700b3; color: #fff; }
.s-material .u-search, .s-material .u-stat, .s-material .u-row, .s-material .u-btns { margin: 0 16px; }
.s-material .u-search { background: #f5f5f5; border-bottom: 2px solid #6200ee; border-radius: 4px 4px 0 0; color: #666; }
.s-material .u-stat { background: #fff; border-radius: 4px; color: #212121; box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 1px 8px rgba(0,0,0,.08); }
.s-material .u-stat em { color: #018786; }
.s-material .u-spark i { background: #bb86fc; border-radius: 2px; }
.s-material .u-row { color: #212121; padding: 6px 2px; }
.s-material .u-toggle { width: 38px; height: 16px; margin-right: 6px; background: #c9b6f2; } .s-material .u-toggle[aria-pressed="false"] { background: #bdbdbd; }
.s-material .u-toggle i { top: -3px; left: -3px; width: 22px; height: 22px; background: #6200ee; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.s-material .u-toggle[aria-pressed="false"] i { background: #fafafa; }
.s-material .u-range { --rc: #6200ee; --rt: #d7c6f7; --rk: #6200ee; --rks: none; height: 4px; }
.s-material .u-btn { border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: .82rem; font-family: Roboto, Arial, sans-serif; }
.s-material .u-btn.pri { background: #6200ee; color: #fff; box-shadow: 0 3px 5px rgba(0,0,0,.22); } .s-material .u-btn.sec { background: transparent; color: #6200ee; box-shadow: inset 0 0 0 1px #c9c9c9; }

/* --- 3. Skeuomorphism --- */
.s-skeuo { background: #5b3b26; }
.s-skeuo::before { opacity: 1; background: repeating-linear-gradient(92deg, rgba(0,0,0,.08) 0 3px, rgba(255,255,255,.03) 3px 7px), radial-gradient(circle at 30% 20%, #8a5a3a, #3e2616 75%); }
.s-skeuo .uis-prev { background: linear-gradient(#f7f1e3, #e3d6bd); border-radius: 18px; box-shadow: 0 2px 0 #fff inset, 0 -2px 0 rgba(0,0,0,.15) inset, 0 18px 30px rgba(0,0,0,.55), 0 0 0 1px #8b6b45; font-family: Georgia, serif; }
.s-skeuo .u-top { background: linear-gradient(#fdfaf2, #d9caa9); border-radius: 10px; color: #4a3220; text-shadow: 0 1px 0 #fff; box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(0,0,0,.25); }
.s-skeuo .u-logo { background: radial-gradient(circle at 35% 30%, #ffe08a, #b8860b 70%); border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.s-skeuo .u-ava { background: linear-gradient(#a0745a, #6d4630); color: #fbe9d0; box-shadow: 0 0 0 2px #f4e6c8, 0 2px 4px rgba(0,0,0,.4); }
.s-skeuo .u-search { background: #fffdf7; border-radius: 20px; color: #8a7558; box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 0 #fff; }
.s-skeuo .u-stat { background: linear-gradient(#20301f, #142013); color: #9cff7a; border-radius: 8px; font-family: "Courier New", monospace; text-shadow: 0 0 6px rgba(156,255,122,.7); box-shadow: inset 0 3px 8px rgba(0,0,0,.7), 0 1px 0 #fff; border: 3px solid #8b7a5e; }
.s-skeuo .u-spark i { background: #9cff7a; box-shadow: 0 0 6px #9cff7a; border-radius: 1px; }
.s-skeuo .u-row { color: #4a3220; text-shadow: 0 1px 0 #fff; padding: 6px 4px; }
.s-skeuo .u-toggle { background: linear-gradient(#bdbdbd, #e8e8e8); box-shadow: inset 0 2px 4px rgba(0,0,0,.4); } .s-skeuo .u-toggle[aria-pressed="true"] { background: linear-gradient(#3f8f2f, #71c25a); }
.s-skeuo .u-toggle i { background: linear-gradient(#fff, #c8c8c8); box-shadow: 0 2px 3px rgba(0,0,0,.5); }
.s-skeuo .u-range { --rc: #8a5a3a; --rt: #cdbb98; --rk: radial-gradient(circle at 35% 30%, #fff, #a9a9a9); --rks: 0 2px 3px rgba(0,0,0,.55); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.s-skeuo .u-btn { border-radius: 10px; font-family: Georgia, serif; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.s-skeuo .u-btn.pri { background: linear-gradient(#ffd77a, #e0a526 55%, #c98d10); color: #4a2e00; box-shadow: 0 1px 0 #fff6d5 inset, 0 3px 0 #8f5f00, 0 6px 10px rgba(0,0,0,.35); }
.s-skeuo .u-btn.sec { background: linear-gradient(#fdfaf2, #d4c39f); color: #4a3220; box-shadow: 0 1px 0 #fff inset, 0 3px 0 #9c8461, 0 6px 10px rgba(0,0,0,.3); }

/* --- 4. Neumorphism --- */
.s-neumorph { background: #e0e5ec; }
.s-neumorph .uis-prev { background: #e0e5ec; border-radius: 28px; box-shadow: 12px 12px 24px #b8bec7, -12px -12px 24px #ffffff; color: #5a6577; }
.s-neumorph .u-top, .s-neumorph .u-stat, .s-neumorph .u-row { background: #e0e5ec; border-radius: 16px; box-shadow: 5px 5px 10px #bec4cc, -5px -5px 10px #ffffff; }
.s-neumorph .u-top b { color: #44506a; }
.s-neumorph .u-logo { background: #e0e5ec; border-radius: 50%; box-shadow: inset 3px 3px 6px #b8bec7, inset -3px -3px 6px #fff; }
.s-neumorph .u-ava { background: #e0e5ec; color: #6d5dfc; box-shadow: 3px 3px 6px #b8bec7, -3px -3px 6px #fff; }
.s-neumorph .u-search { background: #e0e5ec; border-radius: 16px; color: #8a94a6; box-shadow: inset 4px 4px 8px #bec4cc, inset -4px -4px 8px #ffffff; }
.s-neumorph .u-stat em { color: #6d5dfc; } .s-neumorph .u-stat strong { color: #44506a; }
.s-neumorph .u-spark i { background: #6d5dfc; opacity: .75; border-radius: 4px; }
.s-neumorph .u-toggle { background: #e0e5ec; box-shadow: inset 3px 3px 6px #b8bec7, inset -3px -3px 6px #fff; }
.s-neumorph .u-toggle i { background: #e0e5ec; box-shadow: 2px 2px 4px #b8bec7, -2px -2px 4px #fff; } .s-neumorph .u-toggle[aria-pressed="true"] i { background: #6d5dfc; }
.s-neumorph .u-range { --rc: #6d5dfc; --rt: #d1d7e0; --rk: #e0e5ec; --rks: 2px 2px 4px #b8bec7, -2px -2px 4px #fff; box-shadow: inset 2px 2px 4px #b8bec7, inset -2px -2px 4px #fff; }
.s-neumorph .u-btn { border-radius: 16px; background: #e0e5ec; box-shadow: 6px 6px 12px #bec4cc, -6px -6px 12px #ffffff; }
.s-neumorph .u-btn.pri { color: #6d5dfc; } .s-neumorph .u-btn.sec { color: #5a6577; }
.s-neumorph .u-btn:active { box-shadow: inset 4px 4px 8px #bec4cc, inset -4px -4px 8px #fff; }

/* --- 5. Glassmorphism --- */
.s-glass { background: #1c1240; }
.s-glass::before { opacity: 1; background: radial-gradient(circle at 18% 22%, #ff4fd8 0, transparent 32%), radial-gradient(circle at 85% 30%, #3fd5ff 0, transparent 34%), radial-gradient(circle at 60% 88%, #ffb547 0, transparent 30%), linear-gradient(135deg, #3b1f8f, #1c1240); }
.s-glass .uis-prev { background: rgba(255,255,255,.14); border-radius: 24px; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; box-shadow: 0 20px 40px rgba(10,0,40,.35); }
.s-glass .u-top, .s-glass .u-stat, .s-glass .u-row, .s-glass .u-search { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 14px; }
.s-glass .u-search { color: rgba(255,255,255,.75); }
.s-glass .u-logo { background: linear-gradient(135deg, #ff4fd8, #3fd5ff); border-radius: 8px; }
.s-glass .u-ava { background: rgba(255,255,255,.25); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.s-glass .u-stat em { color: #9dffb0; }
.s-glass .u-spark i { background: linear-gradient(#fff, rgba(255,255,255,.35)); border-radius: 4px; }
.s-glass .u-toggle { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4); } .s-glass .u-toggle[aria-pressed="true"] { background: rgba(63,213,255,.6); }
.s-glass .u-toggle i { background: #fff; top: 2px; }
.s-glass .u-range { --rc: #fff; --rt: rgba(255,255,255,.25); --rk: #fff; }
.s-glass .u-btn { border-radius: 14px; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.s-glass .u-btn.pri { background: rgba(255,255,255,.3); } .s-glass .u-btn.sec { background: rgba(255,255,255,.1); }

/* --- 6. Claymorphism --- */
.s-clay { background: #f3e9ff; }
.s-clay .uis-prev { background: #fff7fb; border-radius: 34px; box-shadow: 16px 16px 32px rgba(160,120,200,.35), inset -8px -8px 16px rgba(190,150,220,.25), inset 8px 8px 16px #fff; color: #4b3a63; font-family: "Trebuchet MS", Outfit, sans-serif; }
.s-clay .u-top, .s-clay .u-row, .s-clay .u-search { border-radius: 22px; box-shadow: 8px 8px 16px rgba(160,120,200,.25), inset -5px -5px 10px rgba(0,0,0,.06), inset 5px 5px 10px rgba(255,255,255,.8); }
.s-clay .u-top { background: #ffd6e8; }
.s-clay .u-logo { background: #ffb347; border-radius: 50%; box-shadow: inset -3px -3px 6px rgba(0,0,0,.15), inset 3px 3px 6px rgba(255,255,255,.6); }
.s-clay .u-ava { background: #9be7c4; color: #2f6b52; box-shadow: inset -3px -3px 6px rgba(0,0,0,.12), inset 3px 3px 6px rgba(255,255,255,.6); }
.s-clay .u-search { background: #e7f0ff; color: #7d7aa5; }
.s-clay .u-stat { background: #c7b8ff; color: #3c2a78; border-radius: 26px; box-shadow: 10px 10px 20px rgba(140,110,220,.35), inset -6px -6px 12px rgba(0,0,0,.1), inset 6px 6px 12px rgba(255,255,255,.55); }
.s-clay .u-stat em { color: #fff; background: #8e6cff; padding: 2px 8px; border-radius: 99px; }
.s-clay .u-spark i { background: #fff; border-radius: 99px; width: 8px; }
.s-clay .u-row { background: #fff2d6; }
.s-clay .u-toggle { background: #ffd6e8; box-shadow: inset 2px 2px 5px rgba(0,0,0,.12); } .s-clay .u-toggle[aria-pressed="true"] { background: #9be7c4; }
.s-clay .u-toggle i { background: #fff; box-shadow: 2px 3px 6px rgba(0,0,0,.18); }
.s-clay .u-range { --rc: #8e6cff; --rt: #eadfff; --rk: #fff; --rks: 2px 3px 6px rgba(0,0,0,.2); height: 10px; }
.s-clay .u-btn { border-radius: 22px; font-family: "Trebuchet MS", Outfit, sans-serif; box-shadow: 6px 8px 16px rgba(140,110,220,.35), inset -4px -4px 8px rgba(0,0,0,.12), inset 4px 4px 8px rgba(255,255,255,.5); }
.s-clay .u-btn.pri { background: #ff8fb8; color: #fff; } .s-clay .u-btn.sec { background: #ffe58f; color: #6b4e00; }

/* --- 7. Neo-Brutalism --- */
.s-brutal { background: #fff3c4; }
.s-brutal .uis-prev { background: #fff; border: 3px solid #000; border-radius: 4px; box-shadow: 8px 8px 0 #000; color: #000; font-family: "Arial Black", Arial, sans-serif; }
.s-brutal .u-top, .s-brutal .u-search, .s-brutal .u-stat, .s-brutal .u-row { border: 3px solid #000; border-radius: 0; box-shadow: 4px 4px 0 #000; }
.s-brutal .u-top { background: #ff6b9d; }
.s-brutal .u-top b { text-transform: uppercase; letter-spacing: .02em; }
.s-brutal .u-logo { background: #ffde59; border: 3px solid #000; border-radius: 0; }
.s-brutal .u-ava { background: #7df9ff; color: #000; border: 3px solid #000; border-radius: 0; }
.s-brutal .u-search { background: #fff; color: #000; font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.s-brutal .u-stat { background: #7df9ff; }
.s-brutal .u-stat em { background: #000; color: #ffde59; padding: 2px 6px; }
.s-brutal .u-spark i { background: #000; border-radius: 0; }
.s-brutal .u-row { background: #ffde59; font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.s-brutal .u-toggle { background: #fff; border: 3px solid #000; border-radius: 0; } .s-brutal .u-toggle[aria-pressed="true"] { background: #00e676; }
.s-brutal .u-toggle i { background: #000; border-radius: 0; top: 2px; left: 2px; width: 16px; height: 16px; }
.s-brutal .u-range { --rc: #000; --rt: #fff; --rk: #ff6b9d; --rks: none; --rkb: 3px solid #000; height: 12px; border: 3px solid #000; border-radius: 0; }
.s-brutal .u-btn { border: 3px solid #000; border-radius: 0; box-shadow: 5px 5px 0 #000; text-transform: uppercase; font-family: "Arial Black", Arial, sans-serif; }
.s-brutal .u-btn.pri { background: #ffde59; color: #000; } .s-brutal .u-btn.sec { background: #fff; color: #000; }
.s-brutal .u-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }

/* --- 8. Minimal --- */
.s-minimal { background: #fafafa; }
.s-minimal .uis-prev { background: #fff; border: 1px solid #ececec; border-radius: 2px; color: #111; gap: 6px; padding: 26px 24px; font-family: "Helvetica Neue", Arial, sans-serif; }
.s-minimal .u-top { padding: 0 0 14px; border-bottom: 1px solid #ececec; }
.s-minimal .u-top b { font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.s-minimal .u-logo { background: #111; border-radius: 0; width: 10px; height: 10px; }
.s-minimal .u-ava { background: transparent; color: #111; border: 1px solid #111; width: 28px; height: 28px; font-weight: 400; }
.s-minimal .u-search { padding: 12px 0; border-bottom: 1px solid #ececec; color: #999; }
.s-minimal .u-stat { padding: 18px 0; border-bottom: 1px solid #ececec; }
.s-minimal .u-stat strong { font-weight: 200; font-size: 2.4rem; }
.s-minimal .u-stat em { color: #111; font-weight: 400; }
.s-minimal .u-spark i { background: #111; width: 2px; border-radius: 0; }
.s-minimal .u-row { padding: 12px 0; border-bottom: 1px solid #ececec; color: #444; }
.s-minimal .u-toggle { width: 36px; height: 18px; background: #e5e5e5; } .s-minimal .u-toggle[aria-pressed="true"] { background: #111; }
.s-minimal .u-toggle i { background: #fff; top: 2px; left: 2px; width: 14px; height: 14px; } .s-minimal .u-toggle[aria-pressed="true"] i { transform: translateX(18px); }
.s-minimal .u-range { --rc: #111; --rt: #e5e5e5; --rk: #111; --rks: none; height: 2px; }
.s-minimal .u-btns { margin-top: 12px; }
.s-minimal .u-btn { border-radius: 0; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; font-family: "Helvetica Neue", Arial, sans-serif; }
.s-minimal .u-btn.pri { background: #111; color: #fff; } .s-minimal .u-btn.sec { background: #fff; color: #111; box-shadow: inset 0 0 0 1px #111; }

/* --- 9. Dark Neon --- */
.s-neon { background: #04050d; }
.s-neon::before { opacity: 1; background: linear-gradient(rgba(0,255,240,.06) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(0,255,240,.06) 1px, transparent 1px) 0 0 / 26px 26px, radial-gradient(circle at 50% 100%, rgba(255,0,170,.25), transparent 60%); }
.s-neon .uis-prev { background: rgba(10,14,32,.92); border: 1px solid rgba(0,255,240,.45); border-radius: 14px; color: #d8fbff; box-shadow: 0 0 24px rgba(0,255,240,.25), inset 0 0 24px rgba(0,255,240,.06); font-family: ui-monospace, Consolas, monospace; }
.s-neon .u-top, .s-neon .u-search, .s-neon .u-stat, .s-neon .u-row { border: 1px solid rgba(0,255,240,.25); border-radius: 8px; background: rgba(0,255,240,.04); }
.s-neon .u-top b { color: #00fff0; text-shadow: 0 0 8px #00fff0; letter-spacing: .08em; text-transform: uppercase; }
.s-neon .u-logo { background: #ff00aa; box-shadow: 0 0 12px #ff00aa; border-radius: 3px; }
.s-neon .u-ava { background: transparent; color: #ff00aa; border: 1px solid #ff00aa; box-shadow: 0 0 10px rgba(255,0,170,.6); }
.s-neon .u-search { color: rgba(216,251,255,.55); }
.s-neon .u-stat strong { color: #fff; text-shadow: 0 0 10px #00fff0; }
.s-neon .u-stat em { color: #39ff14; text-shadow: 0 0 8px #39ff14; }
.s-neon .u-spark i { background: linear-gradient(#ff00aa, #00fff0); box-shadow: 0 0 8px rgba(0,255,240,.6); border-radius: 2px; }
.s-neon .u-toggle { background: #111a33; border: 1px solid rgba(0,255,240,.4); } .s-neon .u-toggle[aria-pressed="true"] { background: rgba(0,255,240,.2); }
.s-neon .u-toggle i { background: #00fff0; box-shadow: 0 0 10px #00fff0; top: 2px; }
.s-neon .u-range { --rc: #ff00aa; --rt: #1b2442; --rk: #00fff0; --rks: 0 0 10px #00fff0; }
.s-neon .u-btn { border-radius: 8px; font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; background: transparent; }
.s-neon .u-btn.pri { color: #00fff0; border: 1px solid #00fff0; box-shadow: 0 0 14px rgba(0,255,240,.5), inset 0 0 10px rgba(0,255,240,.2); text-shadow: 0 0 6px #00fff0; }
.s-neon .u-btn.sec { color: #ff00aa; border: 1px solid #ff00aa; box-shadow: 0 0 14px rgba(255,0,170,.45); }

/* --- 10. Luxury --- */
.s-luxury { background: #0d1b30; }
.s-luxury::before { opacity: 1; background: radial-gradient(circle at 50% 0%, rgba(219,206,133,.25), transparent 55%), linear-gradient(160deg, #13284a, #081324); }
.s-luxury .uis-prev { background: linear-gradient(170deg, #102542, #0b1a31); border: 1px solid rgba(219,206,133,.55); border-radius: 6px; color: #efe6c8; box-shadow: 0 24px 44px rgba(0,0,0,.5); font-family: "Cormorant Garamond", Georgia, serif; }
.s-luxury .u-top { border-bottom: 1px solid rgba(219,206,133,.35); padding: 6px 4px 14px; }
.s-luxury .u-top b { font-size: 1.2rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #dbce85; }
.s-luxury .u-logo { background: linear-gradient(135deg, #f3e9b5, #b99831); transform: rotate(45deg) scale(.7); border-radius: 2px; }
.s-luxury .u-ava { background: transparent; color: #dbce85; border: 1px solid #dbce85; font-family: Georgia, serif; }
.s-luxury .u-search { border: 1px solid rgba(219,206,133,.3); color: rgba(239,230,200,.6); font-style: italic; border-radius: 2px; }
.s-luxury .u-stat { background: rgba(219,206,133,.07); border: 1px solid rgba(219,206,133,.3); border-radius: 2px; }
.s-luxury .u-stat strong { font-weight: 500; color: #f3e9b5; font-size: 2.1rem; }
.s-luxury .u-stat em { color: #dbce85; font-style: italic; font-weight: 500; }
.s-luxury .u-spark i { background: linear-gradient(#f3e9b5, #b99831); width: 4px; border-radius: 0; }
.s-luxury .u-row { border-bottom: 1px solid rgba(219,206,133,.2); padding: 10px 4px; letter-spacing: .04em; }
.s-luxury .u-toggle { background: rgba(219,206,133,.15); border: 1px solid rgba(219,206,133,.5); } .s-luxury .u-toggle[aria-pressed="true"] { background: rgba(219,206,133,.35); }
.s-luxury .u-toggle i { background: linear-gradient(135deg, #f3e9b5, #b99831); top: 2px; }
.s-luxury .u-range { --rc: #dbce85; --rt: rgba(219,206,133,.2); --rk: #f3e9b5; --rks: 0 0 0 3px rgba(219,206,133,.25); height: 2px; }
.s-luxury .u-btn { border-radius: 2px; font-family: "Cormorant Garamond", Georgia, serif; font-size: .95rem; letter-spacing: .08em; white-space: nowrap; text-transform: uppercase; font-weight: 600; }
.s-luxury .u-btn.pri { background: linear-gradient(135deg, #f3e9b5, #b99831); color: #102542; } .s-luxury .u-btn.sec { background: transparent; color: #dbce85; box-shadow: inset 0 0 0 1px #dbce85; }

/* info panel */
.uis-info { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.92); border: 1px solid rgba(var(--a1-rgb), .35); box-shadow: 0 20px 44px -30px rgba(16,37,66,.45); }
.uis-num { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--a1); }
.uis-name { margin: 6px 0 8px; font-size: 1.8rem; }
.uis-desc { margin: 0 0 16px; color: var(--muted); }
.uis-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 20px; font-size: .9rem; }
.uis-info dt { font-weight: 700; color: var(--heading); }
.uis-info dd { margin: 0; color: var(--muted); }
.uis-nav { display: flex; gap: 8px; }
.uis-nav .uis-add { flex: 1; justify-content: center; }
.uis-add.is-added { background: var(--heading); color: #fff; }
.uis-add [data-icon] { display: inline-grid; width: 15px; height: 15px; margin-right: 6px; }
.uis-picks { margin-top: auto; padding-top: 18px; }
.uis-picks h4 { margin: 0 0 10px; font-size: 1rem; }
.uis-picks h4 small { color: var(--muted); font-weight: 500; }
.uis-picks ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.uis-picks li:not(.pal-empty) { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(var(--a1-rgb), .14); border: 1px solid rgba(var(--a1-rgb), .45); }
.uis-picks li .pal-empty { width: 100%; }
.uis-go, .uis-x { border: 0; background: none; cursor: pointer; font: 600 .85rem Outfit, sans-serif; color: var(--heading); }
.uis-go { padding: 6px 4px 6px 12px; } .uis-x { padding: 6px 10px 6px 6px; font-size: 1rem; color: var(--muted); }
.uis-x:hover { color: var(--bad); }

/* font pairing */
.fnt-tool { max-width: 1180px; margin: 0 auto; }
.fnt-input { display: flex; align-items: center; gap: 10px; max-width: 440px; margin: 0 auto 20px; padding: 6px 8px 6px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(var(--a1-rgb), .45); box-shadow: 0 14px 30px -22px rgba(16,37,66,.5); }
.fnt-input .li { width: 18px; height: 18px; color: var(--a1); flex: none; }
.fnt-input input { flex: 1; min-width: 0; padding: 10px 4px; border: 0; outline: none; background: none; font: 600 1rem Outfit, sans-serif; color: var(--heading); }
.fnt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fnt-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 18px; text-align: left; cursor: pointer; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border); box-shadow: 0 18px 36px -28px rgba(16,37,66,.5); color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s; }
.fnt-card:hover { transform: translateY(-3px); border-color: rgba(var(--a1-rgb), .55); }
.fnt-card[aria-checked="true"] { border-color: var(--a1); box-shadow: 0 0 0 2px var(--a1), 0 20px 40px -24px rgba(185,152,49,.7); }
.fnt-mood { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fnt-card strong { font-size: 1.75rem; line-height: 1.1; color: var(--heading); overflow-wrap: anywhere; }
.fnt-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.fnt-card small { margin-top: auto; font-size: .76rem; color: var(--muted); }
.fnt-card small b { color: var(--heading); }
.fnt-tick { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #102542; font-weight: 800; font-size: .8rem; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.fnt-card[aria-checked="true"] .fnt-tick { opacity: 1; transform: none; }

/* design brief */
.brief { max-width: 980px; margin: 0 auto; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.94); border: 1px solid rgba(var(--a1-rgb), .35); box-shadow: 0 24px 50px -32px rgba(16,37,66,.5); }
.brief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.brief-item { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--surface-2); }
.brief-item h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; }
.brief-item h4 .li { width: 18px; height: 18px; color: var(--a1); }
.brief-val { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; }
.brief-val small { color: var(--muted); font-size: .8rem; width: 100%; }
.brief-sw { display: flex; }
.brief-sw i { width: 26px; height: 26px; border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.brief-sw i:first-child { margin-left: 0; }
.brief-chip { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(var(--a1-rgb), .45); font-size: .82rem; color: var(--heading); }
.brief-empty { color: var(--muted); font-size: .86rem; font-style: italic; }
.brief-item > a { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--a2); }
.brief-note { display: grid; gap: 6px; margin: 16px 0 14px; font-weight: 600; color: var(--heading); font-size: .92rem; }
.brief-note small { color: var(--muted); font-weight: 500; }
.brief-note textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: #fff; font: 400 .92rem Outfit, sans-serif; color: var(--text); resize: vertical; }
.brief-note textarea:focus { outline: none; border-color: var(--a1); box-shadow: 0 0 0 3px rgba(var(--a1-rgb), .18); }
@media (max-width: 1000px) { .fnt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .uis-main { grid-template-columns: 1fr; }
  .uis-stage { min-height: 460px; }
}
@media (max-width: 640px) {
  .brief-grid { grid-template-columns: 1fr; }
  .fnt-grid { grid-template-columns: 1fr; }
  .fnt-card { min-height: 0; }
  .uis-stage { padding: 22px 12px; }
  .uis-prev { padding: 14px; }
}

/* ---------- Robot logo + Audiowide wordmark (replaces the triangle-X mark) ---------- */
.logo { gap: 11px; }
img.logo-mark, [data-theme="royal"] img.logo-mark { width: 44px; height: 44px; border-radius: 50%; background: none; box-shadow: 0 0 0 2px #102542, 0 0 0 4px #dbce85; flex: none; }
.logo-word { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.logo-name { font-family: "Audiowide", "Outfit", sans-serif; font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; display: inline-flex; align-items: baseline; }
.logo-name b { font-weight: 400; }
.logo-name small { font-family: "Outfit", sans-serif; margin-left: 7px; font-size: .5em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logo-tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: #b99831; margin-top: 3px; }
.vs-head img.logo-mark { width: 30px; height: 30px; box-shadow: 0 0 0 1.5px #102542, 0 0 0 3px #dbce85; }
.tm-hub img.logo-mark { width: 34px; height: 34px; box-shadow: 0 0 0 1.5px #102542, 0 0 0 3px #dbce85; }
@media (max-width: 520px) { .tm-hub img.logo-mark { width: 24px; height: 24px; } }
@media (max-width: 400px) { .logo-tag { font-size: .62rem; } .logo-name { font-size: 1.1rem; } img.logo-mark, [data-theme="royal"] img.logo-mark { width: 38px; height: 38px; } }

/* ---------- Contact form: spam trap field (hidden from people) ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Brief: circular option wheel (js/wheel.js, faithful port of the "Emoji Circular Select" pen) ---------- */
@property --rotation { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.wsel-q { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.wsel-q .wsel-label { font-weight: 700; font-size: .95rem; color: var(--heading); }
.wsel-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wsel {
  /* colours: navy & gold (chosen 2026-11-01; the pen's dark greys are gone) */
  --w-face: #102542; --w-face-open: #0c1d35; --w-border: #0b1b31; --w-shadow: rgba(16, 37, 66, .45); --w-glow: #b99831;
  --w-ring: #163156; --w-line: rgba(219, 206, 133, .22); --w-text: #fff; --w-ptr: #dbce85;
  --size: 10rem; --gap: 1rem; --padding: 1rem; --outline-w: 6rem; --option-fs: 2.5rem;
  --option-w: calc(var(--outline-w) - var(--padding) * 2);
  --radius: calc(var(--size) / 2 + var(--gap) + var(--outline-w) + 1rem);
  --size-out: calc(var(--size) / 2 + var(--gap) + var(--padding));
  --step: calc(360deg / var(--count));
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  position: relative; width: var(--size); height: var(--size);
}
@supports (transition-timing-function: linear(0, 1)) {
  .wsel { --bounce: linear(0, 0.0464, 0.0915, 0.1353, 0.1779, 0.2193, 0.2595, 0.2986, 0.3364, 0.3731, 0.4087, 0.4432, 0.4765, 0.5088, 0.54, 0.5701, 0.5992, 0.6273, 0.6544, 0.6805, 0.7056, 0.7298, 0.753, 0.7753, 0.7967, 0.8172, 0.8368, 0.8556, 0.8735, 0.8906, 0.9069, 0.9224, 0.9371, 0.9511, 0.9643, 0.9768, 0.9885, 0.9996, 1.01, 1.0197, 1.0288, 1.0372, 1.0451, 1.0523, 1.059, 1.065, 1.0706, 1.0756, 1.08, 1.084, 1.0875, 1.0905, 1.0931, 1.0952, 1.0969, 1.0982, 1.0991, 1.0997, 1.0998, 1.0997, 1.0992, 1.0984, 1.0973, 1.096, 1.0943, 1.0925, 1.0904, 1.0881, 1.0856, 1.0829, 1.0801, 1.0771, 1.074, 1.0708, 1.0675, 1.0641, 1.0606, 1.0571, 1.0535, 1.05, 1.0464, 1.0429, 1.0393, 1.0359, 1.0325, 1.0291, 1.0259, 1.0228, 1.0198, 1.017, 1.0143, 1.0118, 1.0095, 1.0074, 1.0055, 1.0039, 1.0025, 1.0015, 1.0007, 1.0002, 1); }
}
.wheel-navy .wsel {
  --w-face: #102542; --w-face-open: #0c1d35; --w-border: #0b1b31; --w-shadow: rgba(16, 37, 66, .45); --w-glow: #b99831;
  --w-ring: #163156; --w-line: rgba(219, 206, 133, .22); --w-ptr: #dbce85;
}
.wsel.is-open { z-index: 40; }
/* the circle + the ring that grows out of it (the pen's outline trick) */
.wsel-bg {
  position: absolute; inset: 0; border-radius: 50%; background: var(--w-face); border: 2px solid var(--w-border);
  box-shadow: 0 0 1rem var(--w-shadow); outline: var(--w-ring) solid 0; outline-offset: var(--gap);
  transition: outline-width .2s ease .4s, scale .4s var(--bounce), box-shadow .2s ease, background .2s ease;
}
.wsel:not(.is-open):hover .wsel-bg { box-shadow: 0 0 1rem var(--w-glow); }
.wsel.is-open .wsel-bg { outline-width: var(--outline-w); transition: outline-width .4s var(--bounce); background: var(--w-face-open); box-shadow: none; }
.wsel.picked .wsel-bg, .wsel.picked .wsel-btn { animation: wsel-scale .4s ease .1s; }
@keyframes wsel-scale { 50% { scale: .8; } 100% { scale: 1; } }
/* centre button: the chosen emoji, and the ▶ pointer while open */
.wsel-btn { position: absolute; inset: 0; z-index: 3; border: 0; border-radius: 50%; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; font: inherit; }
.wsel-btn:focus-visible { outline: 2px solid var(--w-glow); outline-offset: 4px; }
.wsel-face { font-size: 4rem; line-height: 1; transition: opacity .2s ease; }
.wsel:not(.is-set) .wsel-face { opacity: .55; filter: grayscale(1); }
.wsel.is-open .wsel-face { opacity: .2; }
.wsel-btn::after {
  content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-inline: 1rem;
  color: var(--w-ptr); font-size: 1rem; padding-top: 2px; opacity: 0; rotate: var(--hover-angle, 0deg);
  transition: rotate .2s cubic-bezier(.1, .7, .5, 1), opacity .2s ease;
}
.wsel.is-open .wsel-btn::after { opacity: 1; }
/* the options: wedges from the centre, each with its emoji near the rim */
.wsel-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.wsel.is-open .wsel-ring { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility 0s; }
.wsel-opt {
  --angle: calc(var(--idx) * var(--step));
  position: absolute; left: 0; top: 0; translate: 0 -50%; box-sizing: content-box; border: 0; margin: 0; background: transparent; cursor: pointer; font: inherit;
  clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
  width: var(--option-w); height: calc(2 * var(--radius) * tan(180deg / var(--count)));
  padding: 0 var(--padding) 0 var(--size-out);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--option-fs); line-height: 1; color: var(--w-text);
  transform-origin: 0 50%; transform: rotate(var(--angle)); rotate: var(--rotation);
  opacity: 0; scale: .25;
  transition: transform .4s ease .4s, opacity .2s ease .4s, rotate .4s ease, padding-left .4s ease, scale .4s var(--bounce);
}
.wsel.is-open .wsel-opt { opacity: 1; scale: 1; transition: transform .4s ease, opacity .2s ease, rotate .4s ease, padding-left .4s ease, scale .4s var(--bounce); }
.wsel-opt::after { content: attr(data-emoji); display: block; rotate: calc(-1 * (var(--angle) + var(--rotation))); transition: rotate .4s ease, scale .25s ease; }
.wsel-opt::before {
  content: ""; position: absolute; left: var(--size-out); top: 50%; width: var(--option-w); height: 1px; background: var(--w-line); pointer-events: none;
  transform-origin: left center; transform: translateX(calc(-1 * var(--size-out))) rotate(calc(var(--step) / 2)) translateX(var(--size-out));
  transition: margin .4s ease;
}
.wsel-opt[aria-selected="true"]::after { filter: drop-shadow(0 0 4px #000); }
.wsel-opt:hover, .wsel-opt:focus-visible { --indent: 1rem; padding-left: calc(var(--size-out) + var(--indent)); outline: none; }
.wsel-opt:hover::before, .wsel-opt:focus-visible::before { margin-left: calc(-1 * var(--indent)); }
.wsel-opt:hover::after, .wsel-opt:focus-visible::after {
  scale: 1.25;
  filter: drop-shadow(1px 1px 0 #000) drop-shadow(-1px 1px 0 #000) drop-shadow(1px -1px 0 #000) drop-shadow(-1px -1px 0 #000);
}
/* caption: the hovered option while open, the chosen one after */
.wsel-val { font-size: .88rem; color: var(--muted); min-height: 1.3em; font-weight: 500; }
.wsel-q:has(.is-set) .wsel-val, .wsel-q:has(.is-open) .wsel-val { color: var(--heading); font-weight: 700; }
@media (max-width: 600px) { .wsel { --size: 7.5rem; --gap: .75rem; --padding: .7rem; --outline-w: 4.6rem; --option-fs: 1.9rem; } .wsel-face { font-size: 3rem; } }
@media (prefers-reduced-motion: reduce) { .wsel-bg, .wsel-opt, .wsel-ring, .wsel-btn::after { transition-duration: .01s !important; } }

/* ---------- Brief: icon + text wheel (main service choice, <select class="wheel" data-static>) ---------- */
.wsel-ico { --size: 9.5rem; --gap: .6rem; --padding: .4rem; --outline-w: 8.2rem; }
.wsel-static { margin: calc(var(--gap) + var(--outline-w) + .25rem) auto; }
.wsel-ico .wsel-opt::after { content: none; }
.wsel-in {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 6.2rem; text-align: center;
  color: rgba(255, 255, 255, .8); rotate: calc(-1 * (var(--angle) + var(--rotation)));
  transition: rotate .4s ease, scale .25s ease, color .2s ease;
}
.wsel-in .li, .wsel-face .li { display: block; width: 28px; height: 28px; }
.wsel-in svg, .wsel-face svg { width: 100%; height: 100%; display: block; }
.wsel-in .li { color: #dbce85; }
.wsel-in b { font-size: .74rem; font-weight: 600; line-height: 1.15; }
.wsel-ico .wsel-opt:hover .wsel-in, .wsel-ico .wsel-opt:focus-visible .wsel-in { scale: 1.12; color: #fff; }
.wsel-ico .wsel-opt[aria-selected="true"] .wsel-in { color: #dbce85; }
.wsel-ico .wsel-face { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 72%; font-size: 1rem; color: #dbce85; }
.wsel-ico .wsel-face .li { width: 40px; height: 40px; }
.wsel-ico .wsel-face b { color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.15; }
.wsel-ico:not(.is-set) .wsel-face { opacity: 1; filter: none; }
.wsel-ico:not(.is-set) .wsel-face b { color: rgba(255, 255, 255, .75); font-weight: 600; }
.wsel-static.is-open .wsel-face { opacity: 1; }
.wsel-static:not(.is-set) .wsel-bg { animation: wsel-breathe 2.4s ease-in-out infinite; }
@keyframes wsel-breathe { 50% { box-shadow: 0 0 0 6px rgba(185, 152, 49, .25), 0 0 1.4rem rgba(185, 152, 49, .35); } }
.wsel-q.is-main .wsel-val { font-size: 1rem; }
.wsel-q.shake .wsel { animation: wsel-shake .45s ease; }
@keyframes wsel-shake { 20%, 60% { translate: -8px 0; } 40%, 80% { translate: 8px 0; } }
@media (max-width: 600px) {
  .wsel-ico { --size: 6.6rem; --gap: .4rem; --padding: .3rem; --outline-w: 6rem; }
  .wsel-in { width: 4.6rem; gap: 3px; }
  .wsel-in .li { width: 22px; height: 22px; }
  .wsel-in b { font-size: .62rem; }
  .wsel-ico .wsel-face .li { width: 28px; height: 28px; }
  .wsel-ico .wsel-face b { font-size: .72rem; }
}

/* ---------- Brief: 5-step project brief (js/brief.js) ---------- */
.qb-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 26px; padding: 0; counter-reset: bs; }
.qb-steps li { flex: 1; counter-increment: bs; }
.qb-steps button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 0 0 10px; border: 0; border-bottom: 3px solid var(--border);
  background: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--muted); cursor: default; text-align: left; transition: color .3s, border-color .3s;
}
.qb-steps button::before {
  content: counter(bs); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); font-size: .78rem; font-weight: 700; transition: all .3s;
}
.qb-steps .is-done button { color: var(--heading); border-color: rgba(var(--a1-rgb), .55); cursor: pointer; }
.qb-steps .is-done button::before { content: "✓"; background: rgba(var(--a1-rgb), .16); border-color: transparent; color: var(--a2); }
.qb-steps .is-current button { color: var(--heading); border-color: var(--a1); }
.qb-steps .is-current button::before { background: var(--grad); border-color: transparent; color: var(--on-accent); }
@media (max-width: 600px) { .qb-steps button span { display: none; } .qb-steps button { justify-content: center; } }

.qb-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.qb-step:not(.is-current) { display: none; }
.qb-step.is-current { animation: qb-in .45s var(--ease); }
@keyframes qb-in { from { opacity: 0; transform: translateY(12px); } }
.qb-step > legend { padding: 0; font-size: 1.3rem; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.qb-sub { margin: 0 0 22px; color: var(--muted); font-size: .92rem; }

.bq { margin-bottom: 20px; }
.bq-l { display: block; font-weight: 700; font-size: .95rem; color: var(--heading); margin-bottom: 10px; }
.bq-l small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.bq .pick { margin-bottom: 0; gap: 8px; }
.bq .field { margin-bottom: 0; }
.bq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .bq-grid { grid-template-columns: 1fr; } }
.bq .field select {
  padding: 13px 40px 13px 14px;
  background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b99831' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.bq .field select:invalid, .bq .field select.is-empty { color: var(--muted); }
/* multi-choice chips: a + that turns into a tick */
.pick.multi span::before { content: "+"; display: inline-block; width: 1em; margin-right: 4px; font-weight: 700; color: var(--a2); }
.pick.multi input:checked + span::before { content: "✓"; color: inherit; }
.bq.has-err .bq-l { color: var(--bad); }
.qb-err { color: var(--bad); font-size: .85rem; font-weight: 600; margin: 8px 0 0; text-align: center; }
.qb-err:empty { display: none; }

.qb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.qb-nav .qb-count { font-size: .82rem; color: var(--muted); }
.qb-nav [data-back][hidden] { display: inline-flex; visibility: hidden; }

.qb-review { border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; margin: 4px 0 18px; background: var(--surface-2); }
.qb-review h4 { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 6px; font-size: .9rem; color: var(--heading); }
.qb-review h4 button { border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 600; color: var(--a2); cursor: pointer; text-decoration: underline; }
.qb-review dl { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 4px 14px; margin: 0 0 12px; font-size: .86rem; }
.qb-review dt { color: var(--muted); }
.qb-review dd { margin: 0; color: var(--text); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .qb-step.is-current, .wsel-static:not(.is-set) .wsel-bg { animation: none; } }
.qb-reset { border: 0; background: none; padding: 0; margin-left: 6px; font: inherit; font-size: inherit; color: var(--a2); text-decoration: underline; cursor: pointer; }
.qb-nav button[hidden]:not([data-back]) { display: none; }
.bq .field input.plain { padding: 13px 14px; }
/* brief sent: the steps make way for a thank-you panel (main.js adds .sent after a successful send) */
.qb-done { display: none; text-align: center; padding: 30px 10px 10px; }
.qb.sent > :not(.qb-done) { display: none; }
.qb.sent .qb-done { display: block; animation: qb-in .5s var(--ease); }
.qb-done-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-accent); }
.qb-done-ico .li { width: 30px; height: 30px; }
.qb-done h3 { font-size: 1.4rem; margin: 0 0 8px; }
.qb-done p { color: var(--muted); margin: 0 auto 20px; max-width: 420px; }
