/* =====================================================================
   Zairox V2 layer: modern, minimal, white and light grey.
   References (in priority order): x.ai/bot (light), gumloop.com, openai.com.
   Violet replaces black for primary actions; soft lavender gradients are
   the only colour touches. Loaded after site.css, so it re-tunes tokens
   and restyles sections without touching the V1 files.
   ===================================================================== */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-sunken: #F6F6F7;          /* panels, bento cards */
  --panel-2: #EFEFF1;                  /* hover on panels */
  --ink: #0B0B0D;
  --ink-muted: #5F626A;                /* 6.2:1 on white, 5.7:1 on #F6F6F7 */
  --ink-faint: #6E7178;          /* 4.9:1 on white */
  --line: #EAEAED;
  --line-strong: #8E9098;
  --neutral-500: #6E7178;
  --primary-soft: #F2EFFF;
  --primary-ink: #4A29C9;

  /* former dark bands become light: every .zx-night surface turns grey-white */
  --night: #F6F6F7;
  --night-raised: #FFFFFF;
  --night-ink: #0B0B0D;
  --night-muted: #5F626A;
  --night-line: #E4E4E8;

  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-xs: 0 1px 2px rgba(16, 16, 24, .04);
  --shadow-sm: 0 0 0 1px rgba(16, 16, 24, .05), 0 1px 2px rgba(16, 16, 24, .04);
  --shadow-md: 0 0 0 1px rgba(16, 16, 24, .05), 0 12px 28px -14px rgba(36, 32, 80, .18);
  --shadow-lg: 0 0 0 1px rgba(16, 16, 24, .05), 0 28px 64px -28px rgba(36, 32, 80, .30);
  --shadow-glow: 0 8px 20px -10px rgba(24, 20, 60, .35);   /* neutral lift on hover, no coloured halo */

  --lavender: linear-gradient(135deg, #F6F4FF 0%, #EEEAFF 42%, #E2DBFF 100%);
}
::selection { background: #E2DBFF; color: #1A0F4A; }
body { background: var(--bg); }

/* ---------- Type: one family, medium weights, tight but calm ---------- */
.zx-display, .zx-h1, .zx-h2, .zx-h3, .zx-h4, .hero__title, .tagline__text, .final h2, .page-hero h1, .cs-body h2, .zx-stat__num, .zx-price__amount, .zx-case__metric, .step h3, .prose h2, .prose h3, .zx-logo__word, .process__progress b, .notfound .big {
  font-family: var(--font-display);
}
.zx-h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; font-weight: 500; letter-spacing: -0.035em; }
.zx-h3 { font-weight: 500; letter-spacing: -0.03em; }
.zx-h4 { font-weight: 500; }
.zx-lead { font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.zx-logo__word { font-weight: 600; letter-spacing: -0.05em; }
.zx-sechead { gap: 14px; }
.zx-sechead--center .zx-lead { margin-inline: auto; }

/* ---------- Buttons: violet primary pill, soft grey secondary pill ---------- */
.zx-btn { font-weight: 500; }
.zx-btn--primary::before { display: none; }
.zx-btn--secondary { --_bg: rgba(11, 11, 13, .05); --_fg: var(--ink); --_bd: transparent; }
.zx-btn--secondary:hover { --_bg: rgba(11, 11, 13, .09); --_bd: transparent; }
.zx-btn--dark { --_bg: var(--primary); --_fg: var(--on-primary); --_bd: transparent; }
.zx-btn--dark:hover { --_bg: var(--primary-hover); box-shadow: var(--shadow-glow); }
.zx-night .zx-btn--secondary { --_bg: rgba(11, 11, 13, .05); --_fg: var(--ink); --_bd: transparent; }
.zx-night .zx-btn--secondary:hover { --_bg: rgba(11, 11, 13, .09); }
.zx-link { color: var(--primary); }
.zx-badge { background: rgba(11, 11, 13, .045); border-color: transparent; color: var(--ink); }
.zx-badge--brand { background: var(--primary-soft); color: var(--primary-ink); }
.zx-badge--success { background: #E9F7F0; color: #0E6E4E; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--surface-sunken); color: var(--ink); border-bottom: 1px solid var(--line); font-size: 13px; }
.announce a { color: var(--ink); }
.announce .dot { background: var(--primary); box-shadow: none; }
.site-header { background: color-mix(in srgb, #FFFFFF 78%, transparent); border-bottom-color: var(--line); }
.site-header.is-scrolled { background: color-mix(in srgb, #FFFFFF 86%, transparent); }
.site-header::after { display: none; }
.zx-nav__link { color: var(--ink-muted); font-weight: 450; }
.zx-nav__link:hover, .zx-nav__link[aria-expanded="true"] { background: rgba(11, 11, 13, .05); color: var(--ink); }

/* Services menu promo: lavender card instead of dark */
.mega-promo { background: var(--lavender); color: var(--ink); }
.mega-promo::before { background: radial-gradient(closest-side, rgba(116, 82, 248, .28), transparent); }
.mega-promo p { color: var(--ink-muted); }
.mega-promo__ic { background: #FFFFFF; color: var(--primary); box-shadow: var(--shadow-sm); }
.mega { box-shadow: var(--shadow-lg); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; }
.hero__bg--v2 { position: absolute; inset: 0; overflow: hidden; }
.v2-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.v2-glow--a { width: 760px; height: 520px; left: 50%; top: 640px; translate: -10% 0; background: radial-gradient(closest-side, rgba(124, 92, 255, .30), rgba(170, 150, 255, .14) 60%, transparent); }
.v2-glow--b { width: 620px; height: 460px; left: 50%; top: 760px; translate: -95% 0; background: radial-gradient(closest-side, rgba(255, 190, 120, .16), transparent 70%); }
.hero__inner { gap: 26px; }
.zx-announce { background: var(--surface-sunken); color: var(--ink); border: 1px solid var(--line); padding: 5px 6px 5px 14px; font-size: 13px; font-weight: 500; }
.zx-announce span.zx-announce__go { background: #FFFFFF; box-shadow: var(--shadow-sm); width: 22px; height: 22px; }
.zx-announce span.zx-announce__go .zx-icon { width: 13px; height: 13px; }
.hero__title { font-weight: 500; font-size: clamp(46px, 7vw, 92px); line-height: .98; letter-spacing: -0.05em; max-width: 14ch; }
.hero__title .line--2 .w { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); }
.hero__sub { font-size: clamp(17px, 1.4vw, 19px); max-width: 56ch; }
.hero__sub b { font-weight: 500; }
.trust { background: none; border: 0; box-shadow: none; padding: 0; gap: 12px; }
.trust__faces span { border-color: #FFFFFF; }

/* Hero stage: a large, quiet product window */
.stage { margin-top: 64px; }
.stage__browser { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #FFFFFF; }
.browser-bar { height: 42px; background: #FAFAFB; border-bottom: 1px solid var(--line); }
.browser-bar .dots i { background: #E2E2E6; }
.browser-bar .url { background: #FFFFFF; border: 1px solid var(--line); }
.float .card-ui { border-radius: 18px; border: 0; box-shadow: var(--shadow-lg); }
.toast-ui { background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-lg); }
.toast-ui small { color: var(--ink-muted); }
.toast-ui .ic { background: var(--primary-soft); color: var(--primary); }
.bars i { background: #ECE8FF; }
.bars i:nth-last-child(-n+3) { background: var(--primary); }
.mini-chat .zx-bubble--me { background: var(--primary); }
.mini-chat .zx-bubble--bot { background: var(--surface-sunken); border-color: transparent; }
.stage::after { height: 38%; }
.scene-seg i { background: rgba(11, 11, 13, .10); }

/* ---------- Logo band ---------- */
.logos { padding-block: 24px 72px; }
.logos .zx-marquee__item { color: #6E7178; font-weight: 500; font-family: var(--font-display); letter-spacing: -0.03em; }

/* ---------- Sections ---------- */
@media (min-width: 1280px) { .section { padding-block: 120px; } }

/* x.ai style split intro */
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }
.split .zx-h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.045em; line-height: 1.02; max-width: 14ch; }
.split__text { display: grid; gap: 14px; font-size: 17px; line-height: 1.65; color: var(--ink-muted); max-width: 50ch; padding-top: 6px; }

/* Service chips row (playful, like x.ai's bot characters) */
.svc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 56px; }
@media (min-width: 640px) { .svc-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .svc-row { grid-template-columns: repeat(5, 1fr); } }
.svc-chip { display: grid; justify-items: center; gap: 14px; padding: 28px 16px 22px; border-radius: 24px; background: var(--surface-sunken); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; text-align: center; transition: background-color var(--duration-small) var(--ease-out), transform var(--duration-medium) var(--ease-out); }
.svc-chip:hover { background: var(--panel-2); transform: translateY(-3px); }
.svc-chip__ic { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; color: #FFFFFF; transition: transform var(--duration-large) var(--ease-spring); }
.svc-chip:hover .svc-chip__ic { transform: rotate(-6deg) scale(1.06); }
.svc-chip__ic .zx-icon { width: 32px; height: 32px; }
.svc-chip__ic--0 { background: linear-gradient(160deg, #7B5CFF, #5B38EB); border-radius: 50%; }
.svc-chip__ic--1 { background: linear-gradient(160deg, #FF8A5B, #F0603A); border-radius: 22px 22px 22px 6px; }
.svc-chip__ic--2 { background: linear-gradient(160deg, #FFC74D, #F5A300); border-radius: 50% 50% 22px 22px; }
.svc-chip__ic--3 { background: linear-gradient(160deg, #4FD1A5, #1FA77A); border-radius: 26px; }
.svc-chip__ic--4 { background: linear-gradient(160deg, #5BA8FF, #2F7CF6); border-radius: 50% 50% 50% 14px; }

/* Pains as a calm 2x2 grid with hairlines */
.pains2 { display: grid; grid-template-columns: 1fr; margin-top: 72px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .pains2 { grid-template-columns: 1fr 1fr; } .pains2 > :nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; } .pains2 > :nth-child(even) { padding-left: 40px; } }
.pain2 { display: grid; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--line); align-content: start; }
.pain2__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink); }
.pain2__ic .zx-icon { width: 20px; height: 20px; }
.pain2 h3 { font: 500 20px/1.35 var(--font-display); letter-spacing: -0.02em; margin-top: 6px; }
.pain2 p { color: var(--ink-muted); font-size: 15px; line-height: 1.6; max-width: 46ch; }
.pain2__fix { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--primary-ink); }
.pain2__fix .zx-icon { width: 16px; height: 16px; color: var(--primary); }

/* Tagline: calmer, medium weight */
.tagline__text { font-weight: 500; letter-spacing: -0.045em; }
.tagline__text .tw { color: color-mix(in srgb, var(--ink) 18%, transparent); }

/* ---------- Bento services (x.ai feature cards) ---------- */
.bento { gap: 16px; }
.svc { background: var(--surface-sunken); border: 0; box-shadow: none; border-radius: 24px; padding: 28px; gap: 12px; }
a.svc:hover { transform: none; box-shadow: none; background: var(--panel-2); }
.svc__art { order: 9; margin: 18px 0 0; height: 200px; border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: var(--shadow-sm); }
.svc--wide .svc__art { height: 240px; }
.svc .zx-link { order: 8; }
.svc .zx-card__list { display: none; }
.svc .zx-card__title { font: 500 21px/1.3 var(--font-display); letter-spacing: -0.02em; }
.svc__top .zx-card__icon { width: 40px; height: 40px; border-radius: 12px; background: #FFFFFF; color: var(--primary); box-shadow: var(--shadow-sm); }
.svc__top .zx-card__icon .zx-icon { width: 20px; height: 20px; }
.svc__top .zx-badge { background: #FFFFFF; box-shadow: var(--shadow-sm); }
.art-web__metric { background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-md); }
.art-web__metric b { color: var(--primary); }
.art-tiles span:nth-child(3) { background: #0B0B0D; color: #FFFFFF; }

/* ---------- Stats: light row with hairlines ---------- */
.stats-band { background: #FFFFFF; }
.stats { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .zx-stat { border-top: 0; padding: 36px 24px; }
@media (min-width: 1024px) { .stats .zx-stat + .zx-stat { border-left: 1px solid var(--line); } }
.zx-stat__num { font-weight: 500; letter-spacing: -0.05em; }
.zx-stat__num em { color: var(--primary); }

/* ---------- Work ---------- */
.work-grid { gap: 20px; }
.zx-case { background: var(--surface-sunken); border: 0; box-shadow: none; border-radius: 24px; padding: 10px; }
a.zx-case:hover { transform: none; box-shadow: none; background: var(--panel-2); }
.zx-case .zx-media { border-radius: 16px; }
.zx-case__metric { font-weight: 500; letter-spacing: -0.04em; }
.case-art .metric { background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-md); }
.case-art .metric b { color: var(--primary); }
.zx-case__tags .zx-badge { background: #FFFFFF; }

/* ---------- AI section: lavender gradient panel (OpenAI touch) ---------- */
.ai-panel { position: relative; overflow: hidden; border-radius: 32px; background: var(--lavender); padding: 56px; }
.ai-panel::before { content: ""; position: absolute; right: -12%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .30), transparent); pointer-events: none; }
.ai-panel > * { position: relative; }
@media (max-width: 767px) { .ai-panel { padding: 28px 20px; border-radius: 24px; } }
.ai__points .ic { background: #FFFFFF; color: var(--primary); box-shadow: var(--shadow-sm); }
.demo { background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-lg); border-radius: 24px; padding: 16px; }
.demo::before { display: none; }
.demo__tabs { background: var(--surface-sunken); border-color: transparent; }
.demo__tabs .zx-tab { color: var(--ink-muted); }
.demo__tabs .zx-tab:hover { color: var(--ink); }
.demo__tabs .zx-tab[aria-selected="true"] { background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-sm); }
.demo__phone { background: var(--surface-sunken); border: 0; border-radius: 18px; }
.demo__phone-head { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.demo__phone-head .av { background: var(--primary); }
.demo__phone-head small { color: #0E6E4E; }
.demo__thread { background: var(--surface-sunken); }
.msg--in { background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-xs); }
.msg--out { background: var(--primary); color: #FFFFFF; }
.msg--sys { background: #E9F7F0; color: #0E6E4E; }
.msg.typing i { background: #A3A6AD; }
.demo__meta { color: var(--ink-muted); }
.flow { margin-top: 20px; border: 0; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.flow__node { box-shadow: var(--shadow-sm); border: 0; }

/* ---------- Process: hairline rows ---------- */
.steps { gap: 0; border-top: 1px solid var(--line); }
.step { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 28px 8px; }
@media (min-width: 1024px) { .step { opacity: .5; } .step.on { opacity: 1; box-shadow: none; border-color: var(--line); } }
.step h3 { font-weight: 500; }
.step__n { background: var(--surface-sunken); color: var(--ink); }
.step.on .step__n { background: var(--primary); color: #FFFFFF; }
.process__progress b { font-weight: 500; }

/* ---------- Compare ---------- */
.compare-wrap { border-color: var(--line); border-radius: 20px; }
.compare thead th { background: #FAFAFB; font-weight: 500; }
.compare .is-us { background: #F7F5FF; }
.promise { background: var(--surface-sunken); border: 0; border-radius: 20px; }
.promise svg { color: var(--primary); }

/* ---------- Testimonials ---------- */
.zx-quote { background: var(--surface-sunken); border: 0; box-shadow: none; border-radius: 24px; }
.zx-quote--feature { background: var(--lavender); color: var(--ink); --ink: #0B0B0D; --ink-muted: #5F626A; }
.zx-quote--feature::after { background: radial-gradient(closest-side, rgba(124, 92, 255, .25), transparent); }
.zx-quote--feature .zx-quote__text { font-weight: 500; letter-spacing: -0.025em; }
.zx-quote--feature .zx-badge--success { background: #FFFFFF; color: #0E6E4E; }
.zx-avatar { background: #ECE8FF; }
.rating { background: var(--surface-sunken); border: 0; }
.rating__logo { background: #FFFFFF; box-shadow: var(--shadow-sm); }
.video-q { background: var(--surface-sunken); border: 0; box-shadow: none; }

/* ---------- Industries ---------- */
.ind { background: var(--surface-sunken); border: 0; border-radius: 20px; }
.ind:hover { background: var(--panel-2); border-color: transparent; }

/* ---------- Pricing ---------- */
.zx-price { background: var(--surface-sunken); border: 0; box-shadow: none; border-radius: 24px; }
.zx-price--featured { background: #FFFFFF; color: var(--ink); --ink: #0B0B0D; --ink-muted: #5F626A; --line: #EAEAED; box-shadow: 0 0 0 1.5px var(--primary), var(--shadow-lg); position: relative; overflow: hidden; }
.zx-price--featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: var(--lavender); opacity: .9; pointer-events: none; }
.zx-price--featured > * { position: relative; }
.zx-price--featured .zx-card__list { color: var(--ink); }
.zx-price--featured .zx-card__list .zx-icon { color: var(--primary); }
.zx-price__flag.zx-badge--accent { background: var(--primary); color: #FFFFFF; }
.zx-price__amount { font-weight: 500; }
.price-custom { border: 0; background: var(--surface-sunken); border-radius: 20px; }

/* ---------- Guarantee, FAQ, audit ---------- */
.guarantee { background: var(--surface-sunken); border: 0; }
.faq__help { background: var(--surface-sunken); border: 0; }
.zx-acc summary { font-weight: 500; font-family: var(--font-display); letter-spacing: -0.015em; }
.zx-acc details[open] .zx-acc__sign { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.audit { background: var(--lavender); }
.audit::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .22), transparent); pointer-events: none; }
.audit > * { position: relative; }
.form-card { border: 0; box-shadow: var(--shadow-lg); }
.zx-input, .zx-select, .zx-textarea { border-color: #D6D7DC; box-shadow: none; border-radius: 12px; }
.zx-input:hover, .zx-select:hover, .zx-textarea:hover { border-color: var(--line-strong); }

/* ---------- Final CTA: light, centered, soft violet glow ---------- */
.final { background: #FFFFFF; color: var(--ink); }
.final h2 { font-weight: 500; letter-spacing: -0.05em; }
.final p { color: var(--ink-muted); }
.final__glow { background: radial-gradient(closest-side, rgba(124, 92, 255, .26), rgba(180, 160, 255, .12) 55%, transparent); filter: blur(30px); bottom: -70%; }
.final__grid { background-image: linear-gradient(rgba(11, 11, 13, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 13, .05) 1px, transparent 1px); }
.final .hero__note { color: var(--ink-muted); }

/* ---------- Footer: light ---------- */
.zx-footer { background: #FAFAFB; color: var(--ink); border-top: 1px solid var(--line); }
.zx-footer a { color: var(--ink-muted); }
.zx-footer a:hover { color: var(--ink); }
.zx-footer h3 { color: var(--ink); font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.zx-footer .socials a { border-color: var(--line); background: #FFFFFF; }
.zx-footer .newsletter .zx-input { background: #FFFFFF; border-color: #D6D7DC; color: var(--ink); }
.zx-footer .newsletter .zx-input::placeholder { color: var(--ink-muted); }
.zx-footer__bottom { border-top-color: var(--line); color: var(--ink-muted); }
.zx-footer__mark { -webkit-text-stroke: 1px rgba(11, 11, 13, .10); font-weight: 500; }
.zx-footer p.fine { color: var(--ink-muted); }

/* ---------- Floating UI ---------- */
.zx-sticky { background: color-mix(in srgb, #FFFFFF 88%, transparent); color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.zx-sticky__text span { color: var(--ink-muted); }
.zx-chat__head { background: #FFFFFF; color: var(--ink); border-bottom: 1px solid var(--line); }
.zx-chat__head small { color: var(--ink-muted); }
.chat-panel .zx-chat__head .zx-btn { --_fg: var(--ink); }
.chat-panel .zx-chat__head .zx-btn:hover { --_bg: rgba(11, 11, 13, .05); }
.zx-chat { border-color: var(--line); }

/* ---------- Inner pages ---------- */
.page-hero .hero__glow { background: radial-gradient(40% 45% at 50% 55%, rgba(124, 92, 255, .18), transparent 70%), radial-gradient(35% 40% at 30% 40%, rgba(226, 219, 255, .6), transparent 70%); }
.page-hero .hero__grid { display: none; }
.page-hero h1 { font-weight: 500; letter-spacing: -0.05em; }
.page-hero h1 .soft { color: #6E7178; }
.cs-results .zx-stat { background: var(--surface-sunken); border: 0; }
.contact-way { background: var(--surface-sunken); border: 0; }
.contact-way:hover { background: var(--panel-2); }
.zx-blog, .zx-team { background: var(--surface-sunken); border: 0; box-shadow: none; }
a.zx-blog:hover { transform: none; box-shadow: none; background: var(--panel-2); }
.zx-card { border-color: var(--line); }
.deliv h3 svg { color: var(--primary); }
.cs-hero-art, .cs-gallery > div { box-shadow: var(--shadow-md); }
.notfound .big { color: #ECE8FF; }

@media (prefers-reduced-motion: reduce) {
  .svc-chip, .svc-chip__ic { transition: none; }
}

/* Real photos inside case mock sites and video posters */
.case-art .pic { overflow: hidden; }
.case-art .pic::after { display: none; }
.case-art .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-large) var(--ease-out); }
a.zx-case:hover .case-art .pic img { transform: scale(1.04); }
.video-q__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-q__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 11, 13, .35)); }
.video-q__play, .video-q__len { z-index: 1; }
.zx-price--featured > .zx-price__flag { position: absolute; }

/* Icons sit beside their headings, not stacked in tiles above them */
.pain2 { grid-template-columns: 40px 1fr; column-gap: 16px; }
.pain2__ic { grid-row: span 3; }
.pain2 h3 { margin-top: 8px; }
.values .zx-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.values .zx-card .zx-card__icon { width: 44px; height: 44px; grid-row: span 2; }
.values .zx-card .zx-card__title { align-self: center; }

}

.gym__photo2 { display: none; }
.rest__hero { padding-right: 360px; grid-template-columns: 1fr 1fr; }
@media (max-width: 1023px) { .rest__hero { padding-right: 28px; } }

@media (max-width: 640px) { .aw { width: 214px; } .aw__msg--me, .aw__typing { display: none !important; } .aw__head small { display: none; } .aw__body { gap: 6px; } }

/* ---------- Hero window: a clean app window, client site left, its assistant right ---------- */
.stage { height: auto !important; perspective: none; margin-top: 72px; }
.stage::after { display: none; }
.scene-bar { display: none; }
.win { position: relative; max-width: 1180px; margin-inline: auto; border-radius: 28px; background: #FFFFFF; overflow: hidden; box-shadow: 0 0 0 1px rgba(16, 16, 24, .07), 0 2px 4px rgba(16, 16, 24, .03), 0 40px 90px -50px rgba(16, 16, 24, .30); }
.win__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding: 0 20px 0 24px; }
.win__lights { display: flex; gap: 8px; }
.win__lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.win__lights i:nth-child(2) { background: #FEBC2E; } .win__lights i:nth-child(3) { background: #28C840; }
.win__url { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 16, 24, .07), 0 4px 12px -6px rgba(16, 16, 24, .16); font: 500 14px/1 var(--font-sans); color: var(--ink); }
.win__url .zx-icon { width: 14px; height: 14px; color: var(--ink-faint); }
.win__share { justify-self: end; height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(16, 16, 24, .08); font: 500 14px/36px var(--font-sans); color: var(--ink); }
.win__body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: 620px; padding: 0 12px 12px; gap: 12px; }
.win .sites { height: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(16, 16, 24, .06); }
.gym__photo2 { display: none; }

/* Smooth auto rotation: a long, soft crossfade with a slight drift, no blur */
.win .site { transform: scale(1.02); filter: none; transition: opacity 1400ms cubic-bezier(.22, 1, .36, 1), transform 1800ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 1400ms; }
.win .site.is-on { transform: none; transition-delay: 0s; }
.win .site.is-on img { animation: kenburns 11s cubic-bezier(.22, 1, .36, 1) both; }
[data-scene-stage] [data-s] { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); filter: none !important; }
[data-scene-stage].is-swap [data-s] { opacity: 0; transform: translateY(3px); }

/* The assistant, styled like a native chat app */
.cb { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; background: #FAFAFA; box-shadow: 0 0 0 1px rgba(16, 16, 24, .05); overflow: hidden; font-family: var(--font-sans); color: var(--ink); }
.cb__head { display: flex; justify-content: center; padding: 14px 16px 6px; }
.cb__pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 16, 24, .06), 0 4px 12px -6px rgba(16, 16, 24, .16); font: 500 14px/1 var(--font-sans); white-space: nowrap; }
.cb__av { width: 26px; height: 26px; flex: none; }
.cb__mark { width: 26px; height: 26px; display: block; }
.cb__log { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40px); mask-image: linear-gradient(to bottom, transparent, #000 40px); }
.cb__flow { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 8px; transition: opacity 400ms var(--ease-out); }
.cb__time { align-self: center; margin: 4px 0; font-size: 12px; line-height: 16px; color: var(--ink-faint); }
.cb__msg { max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: 14px; line-height: 20px; }
.cb__msg--bot { align-self: flex-start; background: #EFEFF1; color: var(--ink); }
.cb__msg--me { align-self: flex-end; background: var(--primary); color: #FFFFFF; }
.cb__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 14px 14px; border-radius: 20px; background: #EFEFF1; }
.cb__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9A9DA4; animation: zx-typing 1.1s var(--ease-in-out) infinite; }
.cb__typing i:nth-child(2) { animation-delay: .15s; } .cb__typing i:nth-child(3) { animation-delay: .3s; }
.cb__card { align-self: flex-start; width: 88%; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 16, 24, .06), 0 8px 24px -14px rgba(16, 16, 24, .22); }
.cb__card b { font-size: 14px; line-height: 20px; font-weight: 600; }
.cb__card small { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.cb__btns { display: flex; gap: 8px; margin-top: 12px; }
.cb__btns span { height: 32px; padding: 0 14px; border-radius: 999px; font: 600 13px/32px var(--font-sans); white-space: nowrap; }
.cb__ok { background: var(--primary); color: #FFFFFF; }
.cb__alt { box-shadow: 0 0 0 1px rgba(16, 16, 24, .1); color: var(--ink); }
.cb__done { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 20px; background: #EFEFF1; font-size: 14px; line-height: 20px; }
.cb__done .zx-icon { width: 16px; height: 16px; color: #12805C; flex: none; }
.cb__input { display: flex; align-items: center; gap: 10px; margin: 8px 12px 12px; padding: 6px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 16, 24, .08); }
.cb__plus { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #F2F2F4; color: var(--ink-muted); flex: none; }
.cb__plus .zx-icon, .cb__mic .zx-icon { width: 16px; height: 16px; }
.cb__ph { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb__mic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #FFFFFF; flex: none; }

/* Conversation plays in order; collapsed items take no space until they arrive */
.js .cb__flow > :where(:not(.cb__time):not(:nth-child(2))) { display: none; }
.js .cb__flow > .is-in { display: flex; animation: cb-in 520ms cubic-bezier(.22, 1, .36, 1) both; }
.js .cb__flow > .cb__msg.is-in { display: block; }
.js .cb__flow > .cb__card.is-in { display: flex; }
.js .cb.is-fading .cb__flow { opacity: 0; }
@keyframes cb-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.is-static .cb__flow > * { display: flex !important; animation: none !important; }
.is-static .cb__flow > .cb__msg { display: block !important; }
.is-static .cb__typing { display: none !important; }
@media (prefers-reduced-motion: reduce) { .js .cb__flow > * { animation: none !important; } }

@media (max-width: 1100px) { .win__body { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 1023px) { .win__body { height: 560px; } }
@media (max-width: 860px) {
  .win { border-radius: 22px; }
  .win__body { grid-template-columns: 1fr; grid-template-rows: 300px 420px; height: auto; padding: 0 8px 8px; gap: 8px; }
  .win__share { visibility: hidden; }
  .win__bar { height: 56px; padding: 0 14px 0 18px; }
}
@media (max-width: 640px) {
  .stage { margin-top: 48px; }
  .win__body { grid-template-rows: 260px 400px; }
  .win__url { height: 32px; padding: 0 12px; font-size: 13px; }
  .win__lights i { width: 10px; height: 10px; }
  .win__share { display: none; } .win__bar { grid-template-columns: auto 1fr; gap: 12px; } .win__url { justify-self: end; }
  .cb__msg, .cb__done { font-size: 13px; }
}
.win .resto__book span, .win .resto__book b { white-space: nowrap; }
@media (max-width: 640px) { .win__body { grid-template-rows: 280px 400px; } .win .resto__book { display: none; } .win .resto__hero { padding-top: 56px; } }
.win .rest__hero { padding-right: 28px; grid-template-columns: 1.05fr 1fr; }

/* ---------- Hero client sites: minimal, one look per trade ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.win .sites { container-type: size; background: #FFFFFF; }
.win .site img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Restaurant: warm paper, editorial serif, arched photo */
.site--r { background: #F6F0E7; color: #2A1A12; font-family: var(--font-sans); }
.r__nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; font-size: 13px; }
.r__logo { font: 400 24px/1 "Instrument Serif", Georgia, serif; letter-spacing: -0.01em; }
.r__links { display: flex; gap: 24px; color: #6B5A4E; }
.r__cta { padding-bottom: 2px; border-bottom: 1px solid currentColor; font-weight: 500; }
.r__main { display: grid; grid-template-columns: 1fr 0.9fr; gap: 32px; align-items: end; padding: 8px 32px 32px; height: calc(100% - 72px); }
.r__copy { padding-bottom: 8px; }
.r__kicker { font-size: 12px; letter-spacing: .04em; color: #9A5B3A; }
.r__h { margin-top: 12px; font: 400 76px/.92 "Instrument Serif", Georgia, serif; letter-spacing: -0.02em; }
.r__sub { margin-top: 16px; max-width: 30ch; font-size: 14px; line-height: 20px; color: #6B5A4E; }
.r__btn { display: inline-flex; margin-top: 24px; height: 40px; padding: 0 20px; align-items: center; border-radius: 999px; background: #2A1A12; color: #F6F0E7; font-size: 13px; font-weight: 500; }
.r__slots { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid #E4D9CB; font-size: 12px; color: #6B5A4E; }
.r__slots span { margin-right: 4px; }
.r__slots b { padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px #DCCFBF; font-weight: 500; color: #2A1A12; }
.r__slots b.on { background: #B4532A; color: #FFFFFF; box-shadow: none; }
.r__photo { height: 100%; max-height: 470px; border-radius: 999px 999px 18px 18px; overflow: hidden; }

/* Gym: near black, big centred type, one lime accent */
.site--g { background: #0B0B0C; color: #F4F4F2; font-family: var(--font-sans); display: flex; flex-direction: column; }
.g__nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; font-size: 13px; }
.g__logo { display: inline-flex; align-items: center; gap: 6px; font: 700 21px/1 "Bricolage Grotesque", var(--font-sans); letter-spacing: -0.03em; }
.g__logo i { width: 8px; height: 8px; border-radius: 50%; background: #D4FF3A; }
.g__links { display: flex; gap: 24px; color: #8E8E93; }
.g__cta { height: 32px; padding: 0 14px; border-radius: 999px; background: #F4F4F2; color: #0B0B0C; font-weight: 600; line-height: 32px; }
.g__copy { text-align: center; padding: 20px 28px 0; }
.g__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(212, 255, 58, .12); color: #D4FF3A; font-size: 12px; font-weight: 500; }
.g__h { margin-top: 16px; font: 700 64px/.95 "Bricolage Grotesque", var(--font-sans); letter-spacing: -0.045em; }
.g__sub { margin-top: 14px; font-size: 14px; line-height: 20px; color: #8E8E93; }
.g__btns { display: flex; justify-content: center; gap: 8px; margin-top: 22px; font-size: 13px; font-weight: 600; }
.g__btn { height: 40px; padding: 0 20px; border-radius: 999px; background: #D4FF3A; color: #0B0B0C; line-height: 40px; }
.g__ghost { height: 40px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(244, 244, 242, .2); line-height: 40px; }
.g__photo { position: relative; flex: 1; min-height: 0; margin: 28px 16px 16px; border-radius: 16px; overflow: hidden; }
.g__photo img { object-position: 50% 40%; }
.g__chips { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.g__chips span { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: rgba(11, 11, 12, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; color: #B5B5BA; }
.g__chips b { font: 600 14px/1 var(--font-mono); color: #F4F4F2; }
.g__chips .on { background: #D4FF3A; color: #0B0B0C; } .g__chips .on b { color: #0B0B0C; }

/* Restoration: calm white over a full-bleed photo, one blue, a live job card */
.site--x { background: #F7F9FC; color: #0E1B2E; font-family: var(--font-sans); }
.x__photo { position: absolute; inset: 0; }
.x__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #F7F9FC 0%, #F7F9FC 38%, rgba(247, 249, 252, .7) 56%, rgba(247, 249, 252, 0) 78%); }
.x__photo img { object-position: 70% 50%; }
.x__nav, .x__copy, .x__facts, .x__card { position: relative; }
.x__nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; font-size: 13px; }
.x__logo { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.x__logo i { width: 18px; height: 18px; border-radius: 6px; background: #1D4ED8; }
.x__links { display: flex; gap: 20px; color: #51607A; }
.x__cta { height: 32px; padding: 0 14px; border-radius: 999px; background: #1D4ED8; color: #FFFFFF; font-weight: 600; line-height: 32px; }
.x__copy { padding: 44px 28px 0; max-width: 420px; }
.x__open { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px #E3E8F0; font-size: 12px; color: #51607A; }
.x__open i { width: 6px; height: 6px; border-radius: 50%; background: #12A16B; }
.x__h { margin-top: 18px; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.x__sub { margin-top: 14px; max-width: 32ch; font-size: 14px; line-height: 20px; color: #51607A; }
.x__btns { display: flex; gap: 8px; margin-top: 22px; font-size: 13px; font-weight: 600; }
.x__btn { height: 40px; padding: 0 18px; border-radius: 999px; background: #1D4ED8; color: #FFFFFF; line-height: 40px; }
.x__ghost { height: 40px; padding: 0 18px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #DCE3EE; line-height: 40px; }
.x__facts { position: absolute; left: 28px; bottom: 28px; display: flex; gap: 24px; font-size: 12px; color: #51607A; }
.x__facts span { display: flex; flex-direction: column; gap: 2px; }
.x__facts b { font-size: 15px; font-weight: 600; color: #0E1B2E; }
.x__card { position: absolute; right: 20px; bottom: 20px; width: 190px; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(14, 27, 46, .06), 0 12px 32px -16px rgba(14, 27, 46, .35); }
.x__card small { font-size: 12px; color: #51607A; }
.x__card b { font-size: 16px; font-weight: 600; }
.x__bar { margin-top: 10px; height: 4px; border-radius: 4px; background: #E3E8F0; overflow: hidden; }
.x__bar i { display: block; height: 100%; width: 64%; border-radius: 4px; background: #1D4ED8; transform-origin: left; }
.js .site.is-on .x__bar i { animation: x-eta 6s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes x-eta { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.is-static .x__bar i { animation: none !important; }

/* Medium sites */
@container (max-width: 620px) {
  .r__links, .g__links, .x__links { display: none; }
  .r__h { font-size: 60px; } .g__h { font-size: 52px; } .x__h { font-size: 40px; }
  .x__card { display: none; }
}
/* Short sites (the stacked window on tablets and phones) */
@container (max-height: 380px) {
  .r__nav, .g__nav, .x__nav { padding: 16px 18px; }
  .r__main { padding: 0 18px 18px; gap: 18px; height: calc(100% - 56px); grid-template-columns: 1.2fr 0.8fr; }
  .r__h { font-size: 44px; } .r__sub, .r__slots { display: none; } .r__btn { margin-top: 16px; height: 34px; }
  .g__copy { padding-top: 4px; } .g__tag { display: none; } .g__h { margin-top: 0; font-size: 36px; } .g__sub { display: none; }
  .g__btns { margin-top: 14px; } .g__btn, .g__ghost { height: 34px; line-height: 34px; }
  .g__photo { margin: 16px 10px 10px; } .g__chips { display: none; }
  .x__copy { padding: 8px 18px 0; } .x__h { font-size: 32px; } .x__sub, .x__facts { display: none; } .x__open { display: none; }
  .x__photo::after { background: linear-gradient(90deg, #F7F9FC 0%, #F7F9FC 45%, rgba(247, 249, 252, .6) 68%, rgba(247, 249, 252, 0) 90%); }
  .x__btns { margin-top: 16px; } .x__btn, .x__ghost { height: 34px; line-height: 34px; }
}
@container (max-height: 300px) {
  .r__h { font-size: 36px; } .g__h { font-size: 30px; } .x__h { font-size: 28px; }
  .r__kicker { display: none; } .r__h { margin-top: 0; }
  .x__ghost, .g__ghost { display: none; }
}
@media (max-width: 860px) { .win__body { grid-template-rows: 340px 420px; } }
@media (max-width: 640px) { .win__body { grid-template-rows: 280px 400px; } }

/* Service icons in the Zairox style: the Z mark's violet rounded square, solid white shapes, one lavender accent */
.svc-chip__ic, .svc-chip__ic--0, .svc-chip__ic--1, .svc-chip__ic--2, .svc-chip__ic--3, .svc-chip__ic--4 {
  border-radius: 20px; background: linear-gradient(165deg, #7A5CFF 0%, #5B38EB 62%, #4A2AD6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 24px -14px rgba(76, 44, 214, .7);
}
.svc-chip__svg { width: 46px; height: 46px; display: block; }

/* Split section headers: heading and intro start on the same top line */
.zx-sechead--split { align-items: start; }
.zx-sechead--split .zx-h2 { margin-top: -0.08em; }
.zx-sechead--split .zx-lead { margin-top: 0; }

/* Home work grid: four cases, then one button to the full list */
.work-more { display: flex; justify-content: center; margin-top: 8px; }

/* Lead flow: five equal brand tiles on one quiet line, no lift or state changes */
.flow__head { align-items: start; margin-bottom: 40px; }
.flow__track { gap: 24px; }
.flow__track::before, .flow__track::after { top: 32px; left: 10%; right: 10%; height: 2px; z-index: 0; }
.flow__track::before { background: repeating-linear-gradient(90deg, #D9D3F7 0 6px, transparent 6px 12px); }
.flow__track::after { opacity: .55; }
.flow__pulse { top: 27px; z-index: 0; }
.flow__step { gap: 0; }
.flow__node, .flow__step.on .flow__node { width: 64px; height: 64px; border: 0; border-radius: 18px; color: #FFFFFF; transform: none;
  background: linear-gradient(165deg, #7A5CFF 0%, #5B38EB 62%, #4A2AD6 100%);
  box-shadow: 0 0 0 6px #FFFFFF, inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 24px -14px rgba(76, 44, 214, .7); }
.flow__svg { width: 42px; height: 42px; display: block; }
.flow__step b { margin-top: 18px; font-size: 15px; line-height: 20px; font-weight: 600; }
.flow__step > span:last-child { margin-top: 4px; font: 400 13px/18px var(--font-sans); color: var(--ink-muted); text-wrap: balance; max-width: 18ch; }
@media (max-width: 767px) {
  .flow__step { row-gap: 2px; }
  .flow__step .flow__node { width: 52px; height: 52px; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 20px -12px rgba(76, 44, 214, .7); }
  .flow__step .flow__svg { width: 34px; height: 34px; }
  .flow__step b { margin-top: 0; align-self: end; }
  .flow__step > span:last-child { margin-top: 0; max-width: none; align-self: start; }
}
.flow__node .flow__svg { width: 42px; height: 42px; }
.flow__step { align-content: start; }
@media (max-width: 767px) { .flow__step .flow__node .flow__svg { width: 34px; height: 34px; } .flow__step { align-content: center; } }
@media (max-width: 767px) {
  .flow__step { column-gap: 16px; }
  .flow__step .flow__node, .flow__step.on .flow__node { width: 52px; height: 52px; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 20px -12px rgba(76, 44, 214, .7); }
}

/* ---------- Real portraits ---------- */
img.zx-avatar { display: block; flex: none; object-fit: cover; background: #ECE8FF; }
.trust__faces img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #FFFFFF; margin-left: -8px; object-fit: cover; background: #ECE8FF; }
.trust__faces img:first-child { margin-left: 0; }
.zx-team__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-sunken); }
.zx-team__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-large) var(--ease-out); }
.zx-team:hover .zx-team__photo img { transform: scale(1.03); }

/* Primary CTA stays put on hover: no lift, no pull */
.hero__ctas .zx-btn { transform: none !important; }

/* ---------- Book a call page ---------- */
.book { padding: 48px 0 112px; }
.book__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.book__info { position: sticky; top: 112px; display: grid; gap: 24px; }
.book__back { display: inline-flex; align-items: center; gap: 8px; width: max-content; font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.book__back:hover { color: var(--ink); }
.book__back .zx-icon { width: 16px; height: 16px; }
.book__host { display: flex; align-items: center; gap: 12px; }
.book__host-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4px var(--line); }
.book__host b { display: block; font-size: 15px; font-weight: 600; }
.book__host span { font-size: 14px; color: var(--ink-muted); }
.book__title { font-size: clamp(36px, 4vw, 48px); line-height: 1.02; font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.book__lead { font-size: 17px; line-height: 26px; color: var(--ink-muted); text-wrap: pretty; }
.book__facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.book__facts li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface-sunken); font-size: 14px; font-weight: 500; }
.book__facts .zx-icon { width: 16px; height: 16px; color: var(--primary); }
.book__cover { padding: 24px; border-radius: 20px; background: var(--surface-sunken); }
.book__cover b { font-size: 15px; font-weight: 600; }
.book__cover ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.book__cover li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 20px; }
.book__cover li span { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #FFFFFF; color: var(--primary); font: 600 12px/1 var(--font-mono); box-shadow: 0 0 0 1px var(--line); }
.book__quote { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.book__quote blockquote { margin: 0; font-size: 15px; line-height: 23px; }
.book__quote figcaption { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-muted); }
.book__quote figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.book__quote figcaption b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }

.book__card { padding: 32px; border-radius: 28px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 16, 24, .07), 0 30px 80px -50px rgba(16, 16, 24, .35); }
.book__step { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.book__step + .form-grid { margin-top: 0; }
.book__step h2 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.book__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #FFFFFF; font: 600 13px/1 var(--font-sans); }
.book__when { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__month { font-size: 16px; font-weight: 600; }
.cal__nav { display: flex; gap: 4px; }
.cal__btn { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color var(--duration-small) var(--ease-out); }
.cal__btn:hover:not(:disabled) { background: var(--surface-sunken); }
.cal__btn:disabled { color: var(--ink-faint); opacity: .4; cursor: default; }
.cal__btn .zx-icon { width: 16px; height: 16px; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font-size: 12px; line-height: 16px; color: var(--ink-faint); padding-bottom: 6px; }
.cal__day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 50%; background: transparent; font: 500 14px/1 var(--font-sans); color: var(--ink-faint); cursor: default; position: relative; }
.cal__day.is-open { background: var(--primary-soft, #EFEBFF); color: var(--primary-ink, #3B21B5); font-weight: 600; cursor: pointer; transition: background-color var(--duration-small) var(--ease-out), color var(--duration-small) var(--ease-out); }
.cal__day.is-open:hover { background: #E1D9FF; }
.cal__day[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; }
.cal__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.book__times { display: flex; flex-direction: column; min-width: 0; }
.book__day { font-size: 16px; font-weight: 600; line-height: 36px; margin-bottom: 0; }
.book__tz { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 14px; font-size: 13px; color: var(--ink-muted); }
.book__tz .zx-icon { width: 14px; height: 14px; }
.book__slots { grid-template-columns: 1fr 1fr; max-height: 300px; overflow-y: auto; padding-right: 2px; }
.book__slots .slot { border-radius: 12px; border-color: var(--line); font-weight: 500; }
.book__slots .slot:hover { border-color: var(--primary); color: var(--primary); }
.book__slots .slot[aria-pressed="true"] { color: #FFFFFF; }
.book__slots .slot[hidden] { display: none; }
.book__confirm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 16px 16px 16px 20px; border-radius: 20px; background: var(--surface-sunken); }
.book__summary { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 500; }
.book__summary .zx-icon { width: 18px; height: 18px; color: var(--primary); }
.book__summary.is-set { color: var(--ink); }
.book__summary:not(.is-set) { color: var(--ink-muted); }
.book__fine { margin-top: 14px; }
.book__form .form-status { margin-top: 12px; }
.book__done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 56px 16px; }
.book__done[hidden] { display: none; }
.book__done-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(165deg, #7A5CFF, #5B38EB); color: #FFFFFF; box-shadow: 0 12px 24px -14px rgba(76, 44, 214, .7); }
.book__done-ic .zx-icon { width: 28px; height: 28px; }
.book__done h2 { font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.03em; }
.book__done-when { font-size: 17px; font-weight: 500; color: var(--primary); }
.book__done .muted { max-width: 40ch; }
@media (max-width: 1023px) {
  .book__grid { grid-template-columns: 1fr; gap: 40px; }
  .book__info { position: static; }
  .book__quote { display: none; }
}
@media (max-width: 640px) {
  .book { padding: 24px 0 80px; }
  .book__card { padding: 20px; border-radius: 22px; margin-inline: -4px; }
  .book__when { grid-template-columns: 1fr; }
  .book__slots { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .book__confirm { padding: 16px; }
  .book__confirm .zx-btn { width: 100%; }
}
.cal__day.day { width: auto; padding: 0; border: 0; flex: initial; min-width: 0; }
.cal__day.day[aria-pressed="true"] { background: var(--primary); color: #FFFFFF; }
.cal__grid > span { min-height: 0; }
.cal__day.day { aspect-ratio: auto; width: 44px; height: 44px; min-height: 0; justify-self: center; }
@media (max-width: 640px) { .cal__day.day { width: 40px; height: 40px; } }

/* Hero heading: two lines on wide screens */
.hero__title { max-width: 22ch; font-size: clamp(40px, 6.4vw, 84px); text-wrap: balance; }
@media (min-width: 900px) { .hero__title .line { display: block; } }

/* Let the hero window shadow fade out naturally instead of being cut at the section edge */
.hero { overflow-x: clip; overflow-y: visible; }
.win { box-shadow: 0 0 0 1px rgba(16, 16, 24, .07), 0 2px 4px rgba(16, 16, 24, .03), 0 32px 64px -40px rgba(16, 16, 24, .28); }
.logos { position: relative; z-index: 0; background: transparent; }

/* Chat launcher: smaller so the page stays the focus */
.zx-launcher { width: 48px; height: 48px; }
.zx-launcher .zx-icon { width: 22px; height: 22px; }
.zx-launcher__dot { top: 2px; right: 2px; width: 11px; height: 11px; }

}
.book__summary { flex: 1 1 240px; min-width: 0; }

/* ---------- Closing section with the contact form, in the site's own style ---------- */
.final--form { padding-block: 120px 112px; }
.final--form h2 { max-width: 16ch; }
.final__card { position: relative; max-width: 760px; margin: 48px auto 0; padding: 32px; border-radius: 28px; background: #FFFFFF; text-align: left; box-shadow: 0 0 0 1px rgba(16, 16, 24, .06), 0 30px 80px -48px rgba(60, 40, 160, .45); }
.final__form { gap: 20px; }
.final__form .zx-textarea { min-height: 120px; }
.final__send { width: 100%; }
.final--form .hero__note { margin-top: 28px; }
.final__done { display: grid; justify-items: center; gap: 8px; padding: 32px 8px; text-align: center; }
.final__done[hidden] { display: none; }
.final__done-h { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.final__done-h .zx-icon { width: 28px; height: 28px; color: var(--primary); }
.final__done p { margin: 0; font-size: 16px; color: var(--ink-muted); }
@media (max-width: 640px) {
  .final--form { padding-block: 88px 80px; }
  .final__card { margin-top: 36px; padding: 20px; border-radius: 22px; }
}
.final__card p.form-status { grid-column: 1 / -1; margin: 4px 0 0; max-width: none; font-size: 14px; }

/* Closing form, sleeker: section-size heading, soft filled fields, compact footer */
.final--form h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; max-width: 18ch; }
.final--form > .wrap > p { font-size: 17px; margin-top: 16px; }
.final__card { max-width: 680px; margin-top: 40px; padding: 28px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(16, 16, 24, .06), 0 24px 60px -40px rgba(60, 40, 160, .35); }
.final__form { gap: 16px; }
.final__form .zx-label { font-size: 13px; line-height: 16px; font-weight: 500; color: var(--ink-muted); margin-bottom: 6px; }
.final__form .zx-input, .final__form .zx-select, .final__form .zx-textarea { min-height: 48px; border: 1px solid transparent; border-radius: 12px; background-color: #F4F4F6; box-shadow: none; font-size: 15px; transition: background-color var(--duration-small) var(--ease-out), border-color var(--duration-small) var(--ease-out), box-shadow var(--duration-small) var(--ease-out); }
.final__form .zx-input:hover, .final__form .zx-select:hover, .final__form .zx-textarea:hover { background-color: #EFEFF2; }
.final__form .zx-input:focus, .final__form .zx-select:focus, .final__form .zx-textarea:focus { background-color: #FFFFFF; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 56, 235, .12); outline: none; }
.final__form .zx-textarea { min-height: 104px; }
.final__form .is-error .zx-input, .final__form .is-error .zx-select, .final__form .is-error .zx-textarea { border-color: var(--error); background-color: #FFF6F6; }
.final__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.final__fine { font-size: 13px; color: var(--ink-faint); }
.final__send { width: auto; }
@media (max-width: 640px) {
  .final__card { padding: 20px; }
  .final__foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .final__send { width: 100%; }
}

/* Closing form spacing: the section above already gives 120px, so start close and end with an even gap to the footer */
.final--form { padding-block: 24px 96px; }
.final--form h2 { margin-top: 0; }
@media (max-width: 640px) { .final--form { padding-block: 16px 64px; } }

/* Typing dots: their own row at the lower left, just above the message box */
.cb__typing-row { display: flex; align-items: center; height: 30px; padding: 0 16px; flex: none; }
.cb__typing-row .cb__typing { padding: 9px 12px; opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.cb__typing-row .cb__typing.is-on { opacity: 1; transform: none; }
.is-static .cb__typing-row .cb__typing { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .cb__typing-row .cb__typing { transition: none; } }
.final--form { padding-bottom: 128px; }
@media (max-width: 640px) { .final--form { padding-bottom: 80px; } }

/* Typing bubble: always on, same height as a one-line message, dots keep looping */
.cb__typing-row { height: 48px; padding: 4px 16px 0; }
.cb__typing-row .cb__typing, .cb__typing-row .cb__typing.is-on, .is-static .cb__typing-row .cb__typing { opacity: 1 !important; transform: none; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 16px; border-radius: 20px; background: #EFEFF1; }
.cb__typing-row .cb__typing i { width: 7px; height: 7px; }
.is-static .cb__typing-row .cb__typing i { animation: none; opacity: .6; }

/* Testimonial cards: stars with the service they used */
.zx-quote__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zx-quote__svc { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 16, 24, .08); font-size: 12px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.zx-quote--feature .zx-quote__svc { height: 30px; padding: 0 14px; font-size: 13px; background: var(--primary); color: #FFFFFF; box-shadow: none; }

/* ---------- Contact page: shared form card plus an email option ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.contact-layout .final__card { max-width: none; margin: 0; }
.contact-side { display: grid; gap: 16px; position: sticky; top: 112px; }
.contact-mail, .contact-next { padding: 24px; border-radius: 24px; background: var(--surface-sunken); }
.contact-mail { display: grid; gap: 8px; justify-items: start; }
.contact-mail__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FFFFFF; color: var(--primary); box-shadow: 0 0 0 1px var(--line); margin-bottom: 4px; }
.contact-mail__ic .zx-icon { width: 20px; height: 20px; }
.contact-mail b, .contact-next b { font-size: 16px; font-weight: 600; }
.contact-mail p { margin: 0 0 8px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.contact-mail .zx-btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.contact-next ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-next li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 20px; }
.contact-next li span { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #FFFFFF; color: var(--primary); font: 600 12px/1 var(--font-mono); box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 1023px) { .contact-layout { grid-template-columns: 1fr; } .contact-side { position: static; } }
.final__done .final__done-h { margin: 0; color: var(--ink); }
.zx-footer h2.zx-footer__h { margin: 0 0 16px; color: var(--ink); font-family: var(--font-sans); font-size: 13px; line-height: 1.3; letter-spacing: 0; text-transform: none; font-weight: 500; }

/* Header: secondary Contact us beside Get started; phones reach Contact through the menu */
.nav-contact[aria-current="page"] { --_bg: rgba(11, 11, 13, .09); }
@media (max-width: 559px) { .nav-contact { display: none; } }

/* Client logo marks: the sites' own navs and the assistant, which wears the mark of the site on screen */
.x__mark { width: 22px; height: 22px; flex: none; display: block; }
.g__mark { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: #D4FF3A; color: #0B0B0C; font: 800 17px/1 "Bricolage Grotesque", var(--font-sans); padding-bottom: 3px; }
.g__logo { gap: 8px; }
.cb__av { position: relative; }
.cb__av .mk { position: absolute; inset: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; opacity: 0; transition: opacity 300ms var(--ease-out); }
.mk--restaurant { background: #8A2E14; color: #FBF6F1; font: 400 20px/1 "Instrument Serif", Georgia, serif; }
.mk--gym { background: #D4FF3A; color: #0B0B0C; font: 800 18px/1 "Bricolage Grotesque", var(--font-sans); padding-bottom: 3px; }
[data-scene="restaurant"] .mk--restaurant, [data-scene="gym"] .mk--gym, [data-scene="restoration"] .mk--restoration { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cb__av .mk { transition: none; } }

/* ---------- Shared enquiry fields: phone with country picker ---------- */
.zx-phone { display: flex; gap: 8px; min-width: 0; }
.zx-phone > .zx-input { flex: 1; min-width: 0; }
.zx-phone__cc { position: relative; flex: none; display: flex; align-items: center; min-height: 48px; padding: 0 30px 0 12px; border: 1px solid transparent; border-radius: 12px; background-color: #F4F4F6; font-size: 15px; color: var(--ink); transition: background-color var(--duration-small) var(--ease-out), border-color var(--duration-small) var(--ease-out), box-shadow var(--duration-small) var(--ease-out); }
.zx-phone__cc::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid var(--ink-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.zx-phone__cc:hover { background-color: #EFEFF2; }
.zx-phone__cc:focus-within { background-color: #FFFFFF; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 56, 235, .12); }
.zx-phone__show { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zx-phone__flag { font-size: 18px; line-height: 1; }
.zx-phone__select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.is-error .zx-phone__cc { background-color: #FFF6F6; }

/* ---------- Booking: tomorrow is held for review, booked times greyed ---------- */
.cal__day.is-open.is-full { background: #F1F1F4; color: var(--ink-faint); font-weight: 500; }
.cal__day.is-open.is-full:hover { background: #E9E9EE; }
.cal__day.is-full[aria-pressed="true"] { background: #DCDCE3; color: var(--ink-muted); }
.book__slots .slot.is-booked, .book__slots .slot:disabled { background: #F4F4F6; border-color: transparent; color: var(--ink-faint); cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.book__slots .slot:disabled:hover { color: var(--ink-faint); border-color: transparent; }
.book__full { margin: -6px 0 12px; font-size: 13px; color: var(--ink-muted); }
.book__full[hidden] { display: none; }

/* ---------- Form result popup ---------- */
dialog.form-dlg .zx-modal { width: min(480px, calc(100vw - 32px)); padding: 32px; gap: 14px; justify-items: start; border-radius: 24px; }
.form-pop__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(165deg, #7A5CFF, #5B38EB); color: #FFFFFF; }
.form-pop__ic .zx-icon { width: 24px; height: 24px; }
.form-pop.is-error .form-pop__ic { background: #FDECEC; color: var(--error); }
.form-pop__h { margin: 4px 0 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.form-pop__body { display: grid; gap: 12px; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.form-pop__body p { margin: 0; }
.form-pop__body b { color: var(--ink); font-weight: 600; }
.form-pop__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.form-pop__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.form-pop__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--error); }
.form-pop__note { padding: 12px 14px; border-radius: 12px; background: #F4F1FF; color: var(--ink); }
.form-pop .zx-btn { margin-top: 8px; }
.final__form .is-error .zx-phone__cc { border-color: var(--error); }
.book__step h2 { text-wrap: balance; }
.book__summary.is-error, .book__summary.is-error .zx-icon { color: var(--error); }
