/* =========================================================
   HazelAd — site styles
   Layout follows the agreed reference; colours, type and
   artwork are HazelAd's own.
   ========================================================= */

@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-Heavy.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nexa"; src: url("../fonts/Nexa-ExtraLight.ttf") format("truetype"); font-weight: 200; font-display: swap; }

:root {
    --indigo: #535bd0;
    --indigo-700: #3f46b6;
    --indigo-50: #eef0ff;
    --violet: #9163dd;
    --pink: #ff68c6;
    --pink-700: #e64aa9;
    --pink-50: #ffeaf6;
    --ink: #0a0d12;
    --ink-2: #1f1f1f;
    --text: #575757;
    --muted: #8a8a99;
    --lav: #f5f5ff;
    --card: #f4f3fd;
    --line: rgba(10, 13, 18, 0.1);
    --dark: #0a0d12;
    --dark-2: #15171f;
    --ok: #18a058;
    --warn: #e08a00;
    --due: #e5484d;

    --f-display: "Nexa", "Plus Jakarta Sans", "Noto Sans Bengali", system-ui, sans-serif;
    --f-head: "Plus Jakarta Sans", "Noto Sans Bengali", system-ui, sans-serif;
    --f-body: "Inter", "Noto Sans Bengali", system-ui, sans-serif;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Smooth wheel scrolling (Lenis): it does its own easing, so native smooth scroll must be off */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[data-lenis-prevent] { overscroll-behavior: contain; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.625;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-family: var(--f-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
/* Normal system cursors: arrow by default, hand over anything clickable */
a, button, select, summary, label[for], [role="button"], .btn, .faq-q, .product-tile, input[type="submit"], input[type="checkbox"], input[type="radio"] {
    cursor: pointer;
}
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea { cursor: text; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    --flair: var(--navy, #17133f);   /* colour of the circle that grows on hover */
    --flair-text: #fff;              /* text colour while the circle covers the button */
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; gap: 14px;
    height: 50px; padding: 0 26px;
    border-radius: 100px; border: 0;
    font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1;
    cursor: pointer; white-space: nowrap;
    transition: box-shadow .45s ease;
}
.btn > span:not(.btn-flair) { position: relative; z-index: 1; }
.btn-arrow { padding: 0 5px 0 25px; }
.btn-dot {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; color: var(--ink);
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

/* Hover "flair": a circle grows from where the mouse enters. JS puts a second copy of the label inside
   .btn-flair, in the "hover" colours, and the circle is a clip-path on that layer, so every letter changes
   colour exactly where the circle reaches it (no black text on a dark fill). */
.btn { -webkit-font-smoothing: antialiased; }
.btn-flair {
    position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
    display: flex; align-items: center; justify-content: inherit; gap: inherit; padding: inherit; box-sizing: border-box;
    font: inherit; white-space: nowrap;
    background: var(--flair); color: var(--flair-text);
    clip-path: circle(0px at var(--x, 50%) var(--y, 50%));
    visibility: hidden; /* fully hidden at rest: phones can draw a hairline of an empty clip-path, which showed as a dark ring */
    transition: clip-path .8s cubic-bezier(.22,.61,.36,1), visibility 0s linear .8s;
}
/* Once the fill has covered the button, the button's own colour becomes the fill colour. Two antialiased edges on top of each other
   leave a faint fringe; with one colour underneath there is none, and nothing has to be drawn outside the button (the old
   1px ring leaked out of the shape while the fill shrank away). It switches back instantly when the mouse leaves. */
html .btn.flair-on { background-color: var(--flair); transition: box-shadow .45s ease, background-color 0s linear .8s; }
.btn.flair-set .btn-flair { transition: none !important; }
.btn.flair-on .btn-flair { visibility: visible; clip-path: circle(220% at var(--x, 50%) var(--y, 50%)); transition-delay: 0s; }
/* touch screens have no real hover: never show the fill there */
@media (hover: none) { .btn-flair { display: none; } }
.btn:hover { box-shadow: 0 14px 26px -14px rgba(23, 19, 63, .5); }
.btn:hover .btn-dot { transform: rotate(-45deg); }

/* Click: the button presses in clearly, then springs back with a little overshoot */
.btn.clicked { animation: btn-pop .55s cubic-bezier(.3, .7, .3, 1); }
@keyframes btn-pop { 0% { scale: 1; } 20% { scale: .88; } 55% { scale: 1.045; } 78% { scale: .985; } 100% { scale: 1; } }
/* while it animates, the button's clickable area stays as big as the resting button, so the pointer never "falls off" the edge mid-click */
.btn.clicked::after { content: ""; position: absolute; inset: -16px; }
.btn.clicked .btn-dot { animation: btn-dot-kick .55s cubic-bezier(.3, .7, .3, 1); }
@keyframes btn-dot-kick { 0%, 100% { translate: 0 0; } 25% { translate: -3px 0; } 55% { translate: 5px 0; } }
/* ...and a wave spreads from the click point */
.btn > i.btn-ripples { position: absolute; inset: 0; z-index: 3; border-radius: inherit; overflow: hidden; pointer-events: none; }
.btn-ripple { position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(0);
    background: color-mix(in srgb, var(--flair-text) 34%, transparent);
    animation: btn-ripple .7s cubic-bezier(.2, .6, .3, 1) forwards; }
@keyframes btn-ripple { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
/* touch screens have no hover fill, so the wave uses the button's own text colour */
@media (hover: none) { .btn-ripple { background: color-mix(in srgb, currentColor 28%, transparent); } }
/* no scaling on touch screens: iOS draws the rounded clip of a scaled button wrongly */
@media (hover: none) { .btn.clicked, .btn.clicked .btn-dot { animation: none; } }
@media (prefers-reduced-motion: reduce) { .btn.clicked, .btn.clicked .btn-dot { animation: none; } .btn-ripple { display: none; } }

.btn-primary { background: var(--indigo); color: #fff; }
.btn-pink { background: var(--pink); color: #fff; --flair: var(--indigo); }
.btn-dark { background: var(--ink); color: #fff; --flair: var(--indigo); }
.btn-light { background: #fff; color: var(--ink); --flair: var(--indigo); }
.btn-light .btn-dot { background: var(--ink); color: #fff; }
.btn-light .btn-flair .btn-dot { background: #fff; color: var(--indigo); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); --flair: #fff; --flair-text: var(--ink); }
.btn-ghost .btn-dot { background: #fff; }
.btn-ghost .btn-flair .btn-dot { background: var(--ink); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--ink); --flair: var(--ink); }
.btn-outline .btn-dot { background: var(--ink); color: #fff; }
.btn-outline .btn-flair .btn-dot { background: #fff; color: var(--ink); }
/* smaller button: still a full pill, with the arrow circle seated at the edge exactly like the large one */
.btn-sm { height: 44px; padding: 0 22px; border-radius: 100px; font-size: 15px; gap: 12px; }
.btn-sm.btn-arrow { padding: 0 4px 0 20px; }
.btn-sm .btn-dot { width: 36px; height: 36px; }
.btn-block { width: 100%; justify-content: space-between; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; color: var(--indigo); }
.text-link:hover { color: var(--indigo-700); }

/* ---------- Tags / section heads ---------- */
.tag {
    display: inline-flex; align-items: center; height: 38px; padding: 0 20px;
    border: 1px solid var(--line); border-radius: 50px;
    font-family: var(--f-body); font-size: 16px; color: var(--ink); background: #fff;
}
.tag-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; }
.section-head.align-center { text-align: center; }
.section-head .tag { margin-bottom: 20px; }
.section-head h2, .faq-intro h2, .cta-copy h2, .footer-top h2, .includes h2 {
    font-family: var(--f-display); font-weight: 800;
    font-size: 48px; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink-2);
}
.section-head p { margin-top: 18px; font-size: 18px; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-head.is-dark h2 { color: #fff; }
.section-head.is-dark p { color: rgba(255,255,255,.72); }
.section-head.is-dark .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

/* ---------- Header ---------- */
/* Open header: no bar at the top of a page, just the logo, links and the button over the hero.
   Once the page scrolls it settles into a plain full-width bar with a thin line under it. */
.site-header {
    --head-h: 78px;
    /* fixed (not sticky) so shrinking it never moves the page underneath */
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: transparent; border-bottom: 1px solid transparent;
    transition: background-color .3s ease, border-color .3s ease;
}
.header-bar {
    height: var(--head-h);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    transition: height .3s ease;
}
.site-header.scrolled { --head-h: 66px; background: #fff; border-bottom-color: #ececf5; }
.brand { display: flex; align-items: center; }
.brand img { width: 118px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a {
    position: relative; font-size: 15px; font-weight: 500; color: #5d5d6a;
    padding: 8px 0;
    transition: color .2s ease;
}
.main-nav > a::before { display: none !important; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 2px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.main-nav > a:hover { color: var(--ink); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a.active { color: var(--ink); font-weight: 600; }
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-head { height: 46px; font-size: 14.5px; gap: 10px; padding: 0 4px 0 20px; }
.btn-head .btn-dot { width: 38px; height: 38px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); cursor: pointer; }
.nav-toggle .i-close { display: none; }

/* Pages start under the floating header */
.hero-inner { padding-top: 180px !important; }
.page-hero .hero-inner { padding-top: 190px !important; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
/* tinted top that melts into the page colour instead of ending in a hard line */
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--lav) 0%, var(--lav) 55%, color-mix(in srgb, var(--lav) 0%, transparent) 100%); }
.hero .hero-bg { bottom: 0; background: linear-gradient(180deg, var(--lav) 0%, var(--lav) 38%, color-mix(in srgb, var(--lav) 0%, transparent) 78%); }
.dots {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle, #1b1d29 1.2px, transparent 1.6px),
        radial-gradient(circle, #1b1d29 1px, transparent 1.4px);
    background-size: 340px 300px, 520px 410px;
    background-position: 40px 60px, 230px 180px;
    opacity: .55;
    -webkit-mask-image: linear-gradient(#000 40%, transparent 85%);
            mask-image: linear-gradient(#000 40%, transparent 85%);
}
.hero-field {
    position: absolute; inset: 0; display: block;
    -webkit-mask-image: linear-gradient(#000 55%, transparent 98%);
            mask-image: linear-gradient(#000 55%, transparent 98%);
}
.has-field .dots { display: none; }
.cursor-tag { will-change: transform; }
.cursor-tag > * { animation: tag-float 5s ease-in-out infinite; }
.ct-right > *, .ct-cta2 > * { animation-delay: -2.5s; animation-duration: 6s; }
@keyframes tag-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .cursor-tag > * { animation: none; } }
.hero-inner { position: relative; text-align: center; padding-top: 100px; }
.page-hero .hero-inner { padding: 110px 24px 130px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #4e4b7e; margin-bottom: 26px; }
.eyebrow-pill { background: var(--pink); color: #fff; padding: 4px 12px; border-radius: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.hero h1, .page-hero h1 {
    font-family: var(--f-display); font-weight: 800;
    font-size: 78px; line-height: 1.12; letter-spacing: -0.035em;
    color: var(--ink); max-width: 980px; margin: 0 auto;
}
.page-hero h1 { font-size: 68px; }
.hero-sub { font-size: 21px; line-height: 1.6; max-width: 720px; margin: 26px auto 0; color: var(--text); }
.hero-ctas { display: flex; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-ctas.left { justify-content: flex-start; }

.cursor-tag { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; pointer-events: none; }
.cursor-tag b { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #fff; padding: 4px 11px; border-radius: 6px; margin-left: 10px; }
.ct-left { left: 8%; top: 46%; color: var(--indigo); }
.ct-left b { background: var(--indigo); }
.ct-right { right: 12%; top: 22%; color: var(--pink); }
.ct-right b { background: var(--pink); }
.hero .ct-left { top: 360px; }
.hero .ct-right { top: 112px; }   /* above the headline, in the clear gap under the menu bar */

/* ---------- Hero: three projects as offer-style cards, in a gentle fan ---------- */
.hero { padding-bottom: 96px; }
.hero-offer { display: flex; justify-content: center; align-items: flex-end; max-width: 1180px; margin: 64px auto 0; }
.hero-offer .oc {
    --r: 0deg; --y: 0px; --s: 1;
    flex: 0 1 360px; min-width: 0; height: 392px; margin: 0 6px;
    box-shadow: 0 34px 60px -34px rgba(40, 36, 110, .5), 0 2px 8px rgba(40, 36, 110, .06);
    transform: translateY(var(--y)) rotate(var(--r)) scale(var(--s));
    transition: transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .7s ease;
    animation: hw-in .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero-offer .oc:nth-child(1) { --r: -4deg; --y: 28px; animation-delay: .4s; }
.hero-offer .oc:nth-child(2) { --y: -10px; --s: 1.03; z-index: 2; animation-delay: .52s; }
.hero-offer .oc:nth-child(3) { --r: 4deg; --y: 28px; animation-delay: .64s; }
.hero-offer .oc:only-child { --r: 0deg; --y: 0px; --s: 1; }
.hero-offer .oc:hover, .hero-offer .oc:focus-visible { --r: 0deg; --y: -18px; --s: 1.04; z-index: 3; box-shadow: 0 44px 70px -34px rgba(40, 36, 110, .55), 0 2px 8px rgba(40, 36, 110, .1); }
/* cards drift with the pointer at different depths (--mx / --my are set by the hero script) */
.hero-offer .oc.oc { translate: calc(var(--mx, 0) * var(--d, 10) * 1px) calc(var(--my, 0) * var(--d, 10) * .6px); }
.hero-offer .oc:nth-child(1) { --d: -9; }
.hero-offer .oc:nth-child(2) { --d: 14; }
.hero-offer .oc:nth-child(3) { --d: -5; }
.hero-offer .oc h3 { max-width: 15ch; margin: 12px 0 0; }
/* the project's logo image, tinted in the card's own accent colour (never black) */
.oc-logo { position: relative; z-index: 2; display: block; width: 150px; height: 30px; background: var(--indigo);
    -webkit-mask: var(--logo) left center / contain no-repeat; mask: var(--logo) left center / contain no-repeat; }
.oc-violet .oc-logo { background: #7c4fd0; }
.oc-indigo .oc-logo { background: var(--indigo); }
.oc-pink .oc-logo { background: #e0479f; }
/* the arrow sits in the top-right corner so it never covers the screen below */
.hero-offer .oc-go { position: absolute; top: 26px; right: 26px; }
.hero-offer .oc-art { left: 18px; top: auto; bottom: -22px; width: 272px; transform: rotate(-4deg); }
.hero-offer .oc:hover .oc-art { transform: rotate(-2deg) translateY(-6px); }
[data-theme="dark"] .hero-offer .oc { box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255,255,255,.05); }
@keyframes hw-in { from { opacity: 0; top: 44px; } to { opacity: 1; top: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-offer .oc { animation: none; } }
/* tablets: a tidy grid instead of a fan */
@media (max-width: 991px) {
    .hero-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    .hero-offer .oc, .hero-offer .oc:nth-child(n) { --r: 0deg; --y: 0px; --s: 1; margin: 0; }
    .hero-offer .oc-art, .hero-offer .oc:nth-child(3) .oc-art { left: 18px; width: 262px; }
    .hero-offer .oc:nth-child(3) { grid-column: 1 / -1; }
    .hero-offer .oc:hover { --y: -6px; --s: 1; }
}
/* phones: a swipeable row */
@media (max-width: 640px) {
    .hero { padding-bottom: 64px; }
    .hero-offer { display: flex; justify-content: flex-start; gap: 14px; margin: 44px -24px 0; padding: 4px 24px 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .hero-offer::-webkit-scrollbar { display: none; }
    .hero-offer .oc, .hero-offer .oc:nth-child(3) { flex: 0 0 82vw; max-width: 340px; height: 372px; scroll-snap-align: center; }
    .hero-offer .oc-art, .hero-offer .oc:nth-child(3) .oc-art { left: 16px; top: auto; bottom: -20px; width: 240px; }
}

/* the three project screens inside the mini window */
.chip-green { background: #e3f6ec; color: var(--ok); }
.mchat { display: flex; flex-direction: column; gap: 7px; }
.mchat p { margin: 0; padding: 7px 10px; border-radius: 10px; font-size: 12px; line-height: 1.4; max-width: 90%; color: var(--ink); }
.mchat .in { align-self: flex-end; background: var(--indigo-50); border-bottom-right-radius: 3px; }
.mchat .out { align-self: flex-start; background: #fff; border: 1px solid #eceef3; border-bottom-left-radius: 3px; }
.mroute { list-style: none; margin: 0; padding: 0; }
.mroute li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 12px; margin-bottom: 7px; padding: 8px 10px; border: 1px solid #e3ece6; border-radius: 9px; }
.mroute li:last-child { margin-bottom: 0; }
.mroute li.on { background: #eaf7ef; border-color: #0f8a49; }
.mroute b { color: var(--ink); }
.mroute span { color: #7b8a81; }
.mroute em { font-style: normal; font-weight: 700; color: #0f8a49; }
.mroute small { grid-column: 1 / -1; font-size: 10.5px; color: #8a8a99; }
.morders { list-style: none; margin: 0; padding: 0; }
.morders li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #eceef3; }
.morders li:last-child { border-bottom: 0; }
.morders b { color: var(--ink); font-size: 12px; }
.morders span { color: #6b6c7a; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.morders .st { font-style: normal; }

.device {
    margin: 72px auto 0; max-width: 1180px;
    background: #111318; border-radius: 26px; padding: 14px;
    box-shadow: 0 40px 80px -30px rgba(40, 36, 110, .35);
}
.device-screen { background: #fff; border-radius: 16px; overflow: hidden; }

/* ---------- App window (hero dashboard) ---------- */
.app-window { font-family: var(--f-body); font-size: 13px; color: #3c3d48; text-align: left; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #eceef3; }
.app-top-l { display: flex; align-items: center; gap: 10px; }
.app-top-l strong { font-family: var(--f-head); color: var(--ink); font-size: 14px; }
.app-crumb { color: #9a9aa8; }
.app-search { flex: 0 1 340px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #f5f6fa; border-radius: 8px; color: #9a9aa8; }
.app-top-r { display: flex; align-items: center; gap: 12px; }
.app-icon { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #eceef3; border-radius: 8px; }
.app-icon i { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; background: var(--pink); border-radius: 50%; }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.app-body { display: grid; grid-template-columns: 210px 1fr; min-height: 470px; }
.app-side { border-right: 1px solid #eceef3; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.app-side-h { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #a3a3b2; margin: 8px 10px 6px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #555665; }
.app-side a.on { background: var(--indigo-50); color: var(--indigo); font-weight: 600; }
.app-side-card { margin-top: auto; background: var(--lav); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side-card span { color: #7b7b8b; font-size: 12px; }
.app-side-card strong { font-family: var(--f-head); color: var(--ink); }
.meter { height: 6px; border-radius: 6px; background: #e3e2f6; overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; background: var(--indigo); border-radius: 6px; }
.app-main { padding: 20px 22px; background: #fbfbfe; }
.app-main-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.app-main-head h5 { font-size: 18px; }
.app-main-head p { color: #8a8a99; font-size: 13px; }
.chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip-indigo { background: var(--indigo); color: #fff; }
.chip-pink { background: var(--pink-50); color: var(--pink-700); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid #eceef3; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.stat span { color: #8a8a99; font-size: 12px; }
.stat strong { font-family: var(--f-head); font-size: 22px; color: var(--ink); margin: 2px 0; }
.stat em { font-style: normal; font-size: 11.5px; color: #8a8a99; }
.stat em.up { color: var(--ok); }
.stat em.down { color: var(--due); }
.app-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.panel { background: #fff; border: 1px solid #eceef3; border-radius: 12px; padding: 14px; }
.panel-h { display: flex; justify-content: space-between; margin-bottom: 10px; }
.panel-h b { font-family: var(--f-head); color: var(--ink); font-size: 13.5px; }
.panel-h span { color: #9a9aa8; font-size: 12px; }
.bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 180px; padding: 18px 0 0 26px; }
.bars-grid { position: absolute; left: 0; right: 0; top: 18px; bottom: 24px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.bars-grid i { position: relative; display: block; height: 0; border-top: 1px dashed #eceef5; }
.bars-grid i:last-child { border-top-style: solid; }
.bars-grid b { position: absolute; left: 0; top: -7px; font: 500 10px/1 var(--f-body, inherit); color: #b4b5c4; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar { position: relative; z-index: 1; width: 100%; max-width: 32px; height: calc((100% - 24px) * var(--h, .5)); background: linear-gradient(180deg, var(--indigo), #8087e6); border-radius: 8px 8px 4px 4px; transition: height .8s cubic-bezier(.2, .7, .2, 1); }
.bar-col:nth-child(5) .bar { background: linear-gradient(180deg, var(--pink), #ff9ad8); }
.bar span { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); font: 600 10.5px/1 var(--f-head); color: #6b6c80; }
.bar-col:nth-child(5) .bar span { color: #d6409c; }
.bar-col small { color: #9a9aa8; font-size: 11px; }
.list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #eceef3; }
.list li:last-child { border-bottom: 0; }
.list div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.list b { color: var(--ink); font-weight: 600; font-size: 13px; }
.list small { color: #9a9aa8; font-size: 11.5px; }
.list em { font-style: normal; font-weight: 600; color: var(--ink); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.av-1 { background: #e7e8ff; color: var(--indigo); }
.av-2 { background: var(--pink-50); color: var(--pink-700); }
.av-3 { background: #efe6fd; color: var(--violet); }
.av-4 { background: #e3f6ec; color: var(--ok); }

/* ---------- Industries strip ---------- */
.industries { padding: 20px 0 40px; }
.industries-title { text-align: center; font-size: 18px; color: var(--ink); margin-bottom: 34px; }
/* one endless line of sectors */
.ind-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ind-track { display: flex; width: max-content; animation: ind-scroll 50s linear infinite; }
.ind-marquee:hover .ind-track { animation-play-state: paused; }
.ind-group { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.ind-group li { padding-right: 52px; }
.ind-item { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border: 0; border-radius: 40px; background: none; white-space: nowrap; font-family: var(--f-head); font-weight: 700; font-size: 19px; color: #9b9ba8; letter-spacing: -0.01em; cursor: pointer; transition: color .3s ease, opacity .3s ease, background-color .3s ease; }
.ind-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #b4b4c0; background: transparent; transition: background-color .3s ease, color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.ind-item:hover, .ind-item:focus-visible { color: var(--ink); }
.ind-item:hover .ic, .ind-item:hover .ind-ic, .ind-item:focus-visible .ind-ic { background: var(--indigo-50); color: var(--indigo); transform: scale(1.08); }
/* while one is hovered, the rest step back a little */
.ind-track:has(.ind-item:hover) .ind-item:not(:hover) { opacity: .5; }
.ind-item.on { color: var(--ink); background: var(--indigo-50); }
.ind-item.on .ind-ic { background: var(--indigo); color: #fff; }
.ind-marquee { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ind-marquee.dragging, .ind-marquee.dragging .ind-item { cursor: grabbing; }
.ind-marquee.ind-js .ind-track { animation: none; will-change: transform; }
@keyframes ind-scroll { to { transform: translateX(-50%); } }
.ind-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2,.7,.2,1); }
.ind-panel.open { grid-template-rows: 1fr; }
.ind-panel-inner { overflow: hidden; min-height: 0; }
.ind-card { position: relative; display: flex; align-items: center; gap: 22px; max-width: 860px; margin: 26px auto 0; padding: 22px 56px 22px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 26px 50px -34px rgba(30, 28, 80, .35); opacity: 0; transform: translateY(10px); transition: opacity .4s ease .08s, transform .5s cubic-bezier(.2,.7,.2,1) .08s; }
.ind-panel.open .ind-card { opacity: 1; transform: none; }
.ind-card-ic { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--indigo-50); color: var(--indigo); }
.ind-card-body { flex: 1; min-width: 0; }
.ind-card-body small { font-size: 12.5px; color: var(--muted); }
.ind-card-body h3 { font-size: 22px; margin: 2px 0 6px; color: var(--ink); }
.ind-card-body p { font-size: 15.5px; line-height: 1.55; color: var(--text); }
.ind-card-actions { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ind-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s; }
.ind-close:hover { background: var(--indigo-50); color: var(--indigo); }
.ind-rule { border-bottom: 1px solid var(--line); padding-top: 28px; }
@media (prefers-reduced-motion: reduce) {
    .ind-track { animation: none; width: auto; justify-content: center; }
    .ind-group:nth-child(2), .ind-group li:nth-child(n+9) { display: none; }
    .ind-panel, .ind-card { transition: none; }
    .ind-group { flex-wrap: wrap; justify-content: center; row-gap: 22px; }
    .ind-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Process ---------- */
.process { padding-top: 110px; }
.process .section-head { margin-bottom: 0; }
.process-lines { position: relative; height: 120px; max-width: 980px; margin: 0 auto; }
.pl-stem { position: absolute; left: 50%; top: 10px; height: 60px; width: 1px; background: #cfd2dc; }
.pl-cross { position: absolute; left: 16.66%; right: 16.66%; top: 70px; height: 1px; background: #cfd2dc; border-radius: 20px; }
.pl-drop { position: absolute; top: 70px; width: 1px; height: 50px; background: #cfd2dc; }
.pl-drop::before { content: ""; position: absolute; top: -1px; left: -12px; width: 24px; height: 3px; border-radius: 3px; background: var(--indigo); }
.d1 { left: 16.66%; } .d2 { left: 50%; } .d3 { left: 83.33%; }
.d2::before { background: var(--pink); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card { background: var(--card); border-radius: var(--r-md); padding: 36px 32px 0; text-align: center; overflow: hidden; display: flex; flex-direction: column; }
.process-tag { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--indigo); }
.process-card h3 { font-size: 22px; line-height: 1.35; margin: 10px auto 14px; max-width: 280px; }
.process-card p { font-size: 16px; max-width: 320px; margin: 0 auto; }
.step-visual { position: relative; margin-top: 34px; min-height: 210px; display: flex; align-items: flex-end; justify-content: center; }
.note { width: 100%; max-width: 300px; background: #fff; border-radius: 16px 16px 0 0; padding: 18px 18px 22px; text-align: left; box-shadow: 0 -10px 30px -18px rgba(40, 36, 110, .25); }
.note small { display: block; font-size: 12px; color: #9a9aa8; margin-bottom: 10px; }
.note li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); padding: 6px 0; }
.note li .icon { color: var(--ok); }
.note li.dim { color: #8a8a99; }
.note li.dim .icon { color: var(--pink); }
.float-chip { position: absolute; top: -14px; right: 6%; display: inline-flex; align-items: center; gap: 6px; background: var(--indigo); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 30px; transform: rotate(4deg); box-shadow: 0 10px 20px -10px rgba(83,91,208,.6); }
.float-chip.pink { background: var(--pink); transform: rotate(-4deg); }
.mod { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 14px; color: var(--ink); border-bottom: 1px dashed #eceef3; }
.mod:last-child { border-bottom: 0; }
.mod-r { font-size: 12.5px; font-weight: 600; color: var(--indigo); text-align: right; }
.toggle { width: 32px; height: 18px; border-radius: 20px; background: #dcdde6; position: relative; flex-shrink: 0; }
.toggle i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
.toggle.on { background: var(--indigo); }
.toggle.on i { left: 16px; }
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; font-size: 14px; line-height: 1.45; border-radius: 14px; }
.msg.in { background: var(--lav); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.seen { text-align: right; margin: 0 !important; }

/* ---------- Services (alternating cards) ---------- */
.services { padding-top: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
    display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; align-items: center;
    background: #fff; border: 1px solid #ececf3; border-radius: var(--r-lg);
    padding: 34px; box-shadow: 0 20px 50px -40px rgba(30, 28, 80, .35);
}
.service-wide { grid-column: 1 / -1; grid-template-columns: 1fr 1.15fr; padding: 40px 48px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 32px; border: 1px solid var(--line); border-radius: 20px; font-size: 13px; color: var(--ink); margin-bottom: 18px; }
.service-copy h3 { font-size: 22px; line-height: 1.3; margin-bottom: 14px; }
.service-copy p { font-size: 15.5px; }
.service-copy .btn { margin-top: 28px; }
.checks { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks .icon { color: var(--indigo); }
.service-visual { position: relative; background: var(--lav); border-radius: var(--r-md); padding: 22px; min-height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-visual.is-dark { background: radial-gradient(120% 120% at 80% 0%, #2b2f6b 0%, #12131c 55%); min-height: 300px; }
.sv-hospital, .sv-hr { background: var(--pink-50); }
.sv-dental { background: #f0eafc; }

/* Mini screens */
.mini { width: 100%; max-width: 330px; background: #fff; border-radius: 14px; padding: 14px; font-size: 12.5px; color: #3c3d48; box-shadow: 0 18px 40px -22px rgba(30, 28, 80, .35); text-align: left; }
.mini-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.mini-h b { font-family: var(--f-head); color: var(--ink); font-size: 13.5px; }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th { text-align: left; font-weight: 500; color: #9a9aa8; font-size: 11.5px; padding: 0 0 6px; }
.mini-table td { padding: 7px 0; border-top: 1px dashed #eceef3; color: var(--ink); }
.st { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.st-ok { background: #e3f6ec; color: var(--ok); }
.st-warn { background: #fff3dc; color: var(--warn); }
.st-due { background: #fde8e8; color: var(--due); }
.st-new { background: var(--indigo-50); color: var(--indigo); }
.mini-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eceef3; color: #8a8a99; }
.mini-foot b { color: var(--ink); }
.queue-now { background: var(--indigo); color: #fff; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; margin-bottom: 8px; }
.queue-now small { opacity: .75; font-size: 11px; }
.queue-now strong { font-family: var(--f-head); font-size: 22px; line-height: 1.2; }
.queue-now span { font-size: 12px; opacity: .9; }
.queue li { display: flex; align-items: center; gap: 10px; padding: 7px 2px; border-bottom: 1px dashed #eceef3; }
.queue li:last-child { border-bottom: 0; }
.queue b { width: 28px; height: 28px; display: grid; place-items: center; background: var(--lav); border-radius: 8px; color: var(--ink); font-size: 12px; }
.queue span { flex: 1; color: var(--ink); }
.queue em { font-style: normal; font-size: 11px; color: #8a8a99; }
.teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin: 6px 0 10px; }
.tooth { height: 30px; border: 1.5px solid #dcdde6; border-radius: 8px 8px 12px 12px; display: grid; place-items: center; font-size: 10px; color: #9a9aa8; }
.tooth.fill { background: var(--indigo-50); border-color: var(--indigo); color: var(--indigo); }
.tooth.plan { background: var(--pink-50); border-color: var(--pink); color: var(--pink-700); border-style: dashed; }
.tooth.done { background: #efe6fd; border-color: var(--violet); color: var(--violet); }
.legend { display: flex; gap: 12px; font-size: 11px; color: #8a8a99; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.lg-fill { background: var(--indigo); } .lg-plan { background: var(--pink); } .lg-done { background: var(--violet); }
.orders li, .leave li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #eceef3; }
.orders li:last-child, .leave li:last-child { border-bottom: 0; }
.orders div, .leave div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.orders b, .leave b { color: var(--ink); font-size: 12.5px; }
.orders small, .leave small { color: #9a9aa8; font-size: 11px; }
.thumb { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.t1 { background: linear-gradient(135deg, #c9cdf7, #8f95e6); }
.t2 { background: linear-gradient(135deg, #f3d3b7, #b98458); }
.t3 { background: linear-gradient(135deg, #ffd0ec, #ff8fd2); }
.mini-btns { display: flex; gap: 5px; }
.mini-btns i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; }
.mini-btns .ok { background: #e3f6ec; color: var(--ok); }
.mini-btns .no { background: #fde8e8; color: var(--due); }
.payslip { margin-top: 10px; background: var(--ink); color: #fff; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; line-height: 1.35; }
.payslip span { font-size: 11px; opacity: .7; }
.payslip b { font-family: var(--f-head); font-size: 18px; }
.payslip small { font-size: 11px; color: var(--pink); }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.kanban > div { background: var(--lav); border-radius: 9px; padding: 7px; display: flex; flex-direction: column; gap: 5px; min-height: 120px; }
.kanban small { font-size: 10.5px; color: #8a8a99; font-weight: 600; }
.card-k { background: #fff; border-radius: 6px; padding: 6px 7px; font-size: 11px; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.card-k.hl { border-left: 3px solid var(--pink); }
.card-k.won { border-left: 3px solid var(--ok); }
.mini-dark { background: #1a1c27; color: #fff; max-width: 470px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.player { position: relative; height: 170px; border-radius: 10px; background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 60%, var(--pink) 130%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.player::before, .player::after { content: ""; position: absolute; border-radius: 30px; }
.player::before { width: 160px; height: 34px; background: rgba(255,255,255,.18); right: -30px; top: 28px; }
.player::after { width: 110px; height: 34px; background: rgba(255,255,255,.28); right: -10px; top: 72px; }
.player-play { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.player-title { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 600; z-index: 1; }
.timeline { position: relative; margin-top: 10px; display: flex; flex-direction: column; gap: 6px; padding: 6px 0; }
.track { position: relative; height: 16px; background: #262938; border-radius: 5px; }
.track i { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
.c1 { background: var(--indigo); } .c2 { background: var(--violet); } .c3 { background: var(--pink); } .c4 { background: #3d4157; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 2px; background: #fff; transform: rotate(45deg); }

/* ---------- Dark product showcase ---------- */
.products-dark { background: var(--dark); color: #fff; overflow: hidden; padding-bottom: 110px; }
.glow-arc {
    position: absolute; left: 50%; top: 210px; transform: translateX(-50%);
    width: 1500px; height: 1500px; border-radius: 50%;
    border-top: 2px solid rgba(124, 130, 240, .95);
    box-shadow: 0 -30px 80px -10px rgba(83, 91, 208, .55), inset 0 40px 80px -30px rgba(83, 91, 208, .45);
    pointer-events: none;
}
.products-dark .section-head { position: relative; }
.marquee { position: relative; overflow: hidden; padding: 10px 0 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
.product-tile { width: 400px; flex-shrink: 0; background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 18px; transition: border-color .2s ease, transform .2s ease; }
.product-tile:hover { border-color: rgba(124,130,240,.6); transform: translateY(-4px); }
.product-screen { background: linear-gradient(160deg, #22264f, #191b28); border-radius: 14px; height: 280px; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; }
.product-screen .mini { max-width: 300px; }
.product-tile h4 { color: #fff; font-size: 19px; margin: 18px 4px 4px; }
.product-tile h4 span { display: block; font-family: var(--f-body); font-weight: 400; font-size: 14px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ---------- Why (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 24px; }
.bento-card { border-radius: var(--r-md); padding: 36px 32px; display: flex; flex-direction: column; min-height: 250px; position: relative; overflow: hidden; }
.bento-card h3 { font-size: 22px; margin: 34px 0 12px; }
.bento-card p { font-size: 15.5px; }
.b-indigo { background: var(--indigo); color: rgba(255,255,255,.85); }
.b-indigo h3, .b-indigo .icon { color: #fff; }
.b-dark { grid-row: span 2; background: var(--dark); color: rgba(255,255,255,.72); }
.b-dark h3, .b-dark .icon { color: #fff; }
.b-dark p { margin-top: auto; position: relative; z-index: 1; }
.b-dark .btn { margin-top: 26px; align-self: flex-start; position: relative; z-index: 1; }
.b-arc { position: absolute; left: 50%; top: 52%; transform: translateX(-50%); width: 520px; height: 520px; border-radius: 50%; border-top: 2px solid rgba(124,130,240,.9); box-shadow: 0 -20px 60px -10px rgba(83,91,208,.55), inset 0 30px 60px -20px rgba(83,91,208,.45); }
.b-light { background: var(--card); }
.b-light .icon { color: var(--ink); }
.b-pink { background: var(--pink); color: rgba(255,255,255,.9); }
.b-pink h3, .b-pink .icon { color: #fff; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, transparent 0, var(--lav) 140px, var(--lav) calc(100% - 140px), transparent 100%); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { position: relative; background: #fff; border-radius: var(--r-md); padding: 40px 32px; border: 1px solid #ececf3; }
.price-card.featured { border: 2px solid var(--indigo); margin-top: -20px; padding-top: 58px; padding-bottom: 58px; box-shadow: 0 30px 60px -40px rgba(83,91,208,.6); }
.price-flag { position: absolute; top: 0; right: 24px; background: var(--pink); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 0 0 8px 8px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount strong { font-family: var(--f-display); font-weight: 800; font-size: 54px; line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; }
.price-amount span { font-size: 15px; color: var(--muted); }
.price-note { display: inline-block; margin-top: 14px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--indigo); background: var(--indigo-50); padding: 5px 12px; border-radius: 20px; }
.price-card.featured .price-note { color: var(--pink-700); background: var(--pink-50); }
.price-note + .price-tagline { margin-top: 16px; }
.price-card h3 { font-size: 22px; margin: 18px 0 6px; }
.price-tagline { font-size: 15px; margin-bottom: 26px; }
.price-card h4 { font-size: 18px; margin: 34px 0 4px; }

/* ---------- Promises / testimonials ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise-card { border: 1px solid #ececf3; border-radius: var(--r-md); padding: 26px; background: #fff; }
.promise-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.promise-top h4 { font-size: 18px; }
.promise-top small { color: var(--muted); }
.promise-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; flex-shrink: 0; font-weight: 700; }
.promise-card:nth-child(3n+2) .promise-icon { background: var(--pink-50); color: var(--pink-700); }
.promise-card:nth-child(3n) .promise-icon { background: #efe6fd; color: var(--violet); }
.promise-quote { background: var(--lav); border-radius: 12px; padding: 16px 18px; font-size: 16px; line-height: 1.6; color: #2e2c5c; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { background: var(--dark); color: rgba(255,255,255,.7); overflow: hidden; }
.glow-arc.arc-left { left: 18%; top: 280px; width: 1100px; height: 1100px; }
.faq-inner { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.faq-intro .tag { margin-bottom: 22px; }
.faq-intro h2 { color: #fff; font-size: 52px; }
.faq-intro p { margin: 20px 0 34px; font-size: 18px; max-width: 420px; }
.faq-item { background: rgba(21, 23, 31, .9); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; margin-bottom: 14px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 22px 24px; text-align: left; cursor: pointer; color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.faq-arrow { transition: transform .25s ease; color: rgba(255,255,255,.8); }
.faq-item.open .faq-arrow { transform: rotate(-90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > p { overflow: hidden; padding: 0 24px; font-size: 15.5px; color: rgba(255,255,255,.7); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 22px; }

/* ---------- CTA card ---------- */
.cta-wrap { padding: 120px 0; }
.cta-card { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; background: var(--dark); border-radius: 28px; padding: 64px 64px; overflow: hidden; }
.cta-card::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,104,198,.35), transparent 65%); pointer-events: none; }
.cta-copy { position: relative; z-index: 1; color: rgba(255,255,255,.72); }
.cta-copy .tag { margin-bottom: 22px; }
.cta-copy h2 { color: #fff; font-size: 46px; }
.cta-copy p { margin-top: 18px; font-size: 17px; max-width: 470px; }
.cta-copy .hero-ctas { margin-top: 34px; }
.cta-visual { position: relative; z-index: 1; height: 380px; }
.cta-screens { position: relative; height: 100%; }
.cta-s1, .cta-s2 { position: absolute; width: 300px; }
.cta-s1 { left: 6%; top: 30px; transform: rotate(-3deg); }
.cta-s2 { right: 4%; bottom: 10px; transform: rotate(3deg); }
.ct-cta1 { left: 0; top: 0; color: var(--pink); z-index: 2; }
.ct-cta1 b { background: var(--pink); }
.ct-cta2 { right: 2%; top: 40%; color: var(--indigo); z-index: 2; }
.ct-cta2 b { background: var(--indigo); }

/* ---------- Includes strip ---------- */
.includes { padding: 90px 0; background: linear-gradient(180deg, transparent 0, var(--lav) 120px, var(--lav) calc(100% - 120px), transparent 100%); }
.includes-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.includes h2 { font-size: 40px; }
.includes ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.includes li { background: #fff; border-radius: var(--r-md); padding: 22px 20px; display: flex; flex-direction: column; border: 1px solid #ececf3; }
.includes strong { font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--indigo); line-height: 1.2; }
.includes li:nth-child(2n) strong { color: var(--pink); }
.includes span { font-size: 15px; color: var(--ink-2); }

/* ---------- Products page ---------- */
.product-list { padding-top: 0; margin-top: -40px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid #ececf3; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 50px -40px rgba(30,28,80,.35); scroll-margin-top: 110px; }
.product-card-screen { background: var(--lav); height: 344px; display: flex; align-items: center; justify-content: center; padding: 28px 22px; overflow: hidden; }
/* on phones the cards stack one per row, so the area can simply grow with its mockup */
@media (max-width: 991px) { .product-card-screen { height: auto; min-height: 300px; } }
.product-card:nth-child(3n+2) .product-card-screen { background: var(--pink-50); }
.product-card:nth-child(3n) .product-card-screen { background: #f0eafc; }
.product-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 22px; margin-bottom: 10px; }
.product-card-body p { font-size: 15.5px; }
.product-card-body .checks { margin: 20px 0 26px; }
.product-card-body .text-link { margin-top: auto; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; margin-top: -40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid #ececf3; border-radius: var(--r-md); padding: 22px; }
/* ---------- Portfolio ---------- */
.work { padding-top: 40px; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.work-head .section-head { margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid #ececf3; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(30,28,80,.45); }
.work-visual { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.work-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s ease; }
.work-card:hover .work-visual > img { transform: scale(1.04); }
.theme-jaatra { background: #0b3d26; }
.theme-xzora { background: #24262b; }
.theme-xzora > img { object-position: center 40%; }
.theme-hibee { background: #4338a8; }
.theme-hibee > img { object-position: center 30%; }
.theme-care { background: linear-gradient(150deg, #e6f2ef, #eef0ff); }
.work-drawn { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.work-logo { position: absolute; left: 18px; bottom: 18px; background: rgba(10,13,18,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 14px; }
.work-logo img { height: 22px; width: auto; }
.theme-xzora .work-logo { background: rgba(255,255,255,.9); }
.work-body { padding: 26px 28px 30px; }
.work-cat { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--indigo); }
.work-body h3 { display: flex; align-items: center; justify-content: space-between; font-size: 26px; margin: 6px 0 6px; letter-spacing: -0.01em; }
.work-arrow { color: var(--muted); transition: color .2s, transform .2s; }
.work-card:hover .work-arrow { color: var(--pink); transform: translate(2px, -2px); }
.work-body p { font-size: 16px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.work-tags li { font-size: 13px; color: var(--ink-2); background: var(--lav); border: 1px solid #e6e5f5; padding: 4px 11px; border-radius: 20px; }

/* care home mini screen */
.care-mini { max-width: 360px; }
.chip-care { background: #dff1ec; color: #1d7a63; }
.av-care { background: #dff1ec; color: #1d7a63; }
.care-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #eceef3; }
.care-list li:last-child { border-bottom: 0; }
.care-list div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.care-list b { color: var(--ink); font-size: 12.5px; }
.care-list small { color: #9a9aa8; font-size: 11px; }

/* case studies */
.cases { padding-top: 0; margin-top: -40px; }
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.case:last-child { border-bottom: 0; }
.case:nth-child(even) .case-visual { order: 2; }
.case-visual { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: 0 40px 70px -45px rgba(30,28,80,.5); }
.case-visual > img { object-position: center top; }
.case-visual .work-logo { display: none; }
.case-visual .care-mini { max-width: 400px; font-size: 14px; padding: 20px; }
.case-visual .care-mini .mini-h b { font-size: 16px; }
.case-visual .care-mini b { font-size: 14px; }
.case-visual .care-mini small { font-size: 12.5px; }
.case-visual.theme-xzora > img { object-position: center 35%; }
.case-copy h2 { font-family: var(--f-display); font-weight: 800; font-size: 46px; line-height: 1.1; letter-spacing: -0.02em; margin: 10px 0 8px; }
.case-tagline { font-family: var(--f-head); font-weight: 600; font-size: 19px; color: var(--ink-2); }
.case-summary { margin-top: 18px; font-size: 16.5px; line-height: 1.7; }
.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 0; }
.case-stats div { background: var(--lav); border-radius: 14px; padding: 14px 12px; }
.case-stats dt { font-family: var(--f-display); font-weight: 800; font-size: 26px; color: var(--indigo); line-height: 1.2; }
.case-stats div:nth-child(2n) dt { color: var(--pink); }
.case-stats dd { margin: 2px 0 0; font-size: 13px; color: var(--text); }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.case-foot .work-tags { margin-top: 0; }

.info-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; flex-shrink: 0; }
.info-card:nth-child(2n) .info-icon { background: var(--pink-50); color: var(--pink-700); }
.info-card h4 { font-size: 17px; }
.info-card a, .info-card p { font-size: 15.5px; color: var(--text); }
.info-card a:hover { color: var(--indigo); }
.info-note { background: var(--dark); color: rgba(255,255,255,.75); border-radius: var(--r-md); padding: 26px; }
.info-note h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.info-note ol { counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.info-note li { counter-increment: step; display: flex; gap: 12px; font-size: 15px; }
.info-note li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.contact-form-card { background: #fff; border: 1px solid #ececf3; border-radius: var(--r-lg); padding: 44px; box-shadow: 0 30px 60px -45px rgba(30,28,80,.4); }
.contact-form-card h3 { font-size: 28px; margin-bottom: 28px; letter-spacing: -0.01em; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #dfe0e8; border-radius: 12px; padding: 14px 16px; background: #fbfbfe; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(83,91,208,.12); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--due); }
.err { color: var(--due); font-size: 13px; }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-success { display: flex; gap: 14px; background: #e9f8f0; border: 1px solid #bfe8d1; color: #135f37; border-radius: 14px; padding: 18px; margin-bottom: 24px; }
.form-success strong { color: #0e4a2b; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 100px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-bottom: 80px; border-bottom: 1px solid var(--line); }
.footer-top p { margin-top: 14px; font-size: 16px; }
.field-pill { display: flex; align-items: center; gap: 8px; background: var(--lav); border-radius: 100px; padding: 5px 5px 5px 22px; border: 1px solid #e6e5f5; }
.field-pill input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; height: 44px; }
.footer-checks { display: flex; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.footer-checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.footer-checks .icon { color: var(--indigo); }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 80px 0 60px; }
.footer-about img { width: 150px; height: auto; margin-bottom: 22px; }
.footer-about p { max-width: 360px; font-size: 15.5px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.footer-col h4 { font-size: 20px; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15.5px; color: var(--text); transition: color .2s; }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: 14.5px; }
.footer-slogan { font-family: var(--f-head); font-weight: 600; color: var(--ink); }

/* =========================================================
   Agency sections (About, Roadmap, Numbers, Offer, Platform, Showcase)
   ========================================================= */
:root { --navy: #17133f; --navy-2: #221c55; --violet-50: #f1eafd; }

/* Mixed-weight headings: light words + heavy words */
.mix { font-family: var(--f-display); font-weight: 200; font-size: 46px; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
.mix b { font-weight: 800; }
.mix.center { text-align: center; }
.tag-soft { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 800px; background: var(--indigo-50); color: var(--indigo); font-family: var(--f-head); font-weight: 700; font-size: 13.5px; margin-bottom: 18px; }
.tag-dim { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 800px; background: rgba(255,255,255,.1); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 13.5px; margin-bottom: 18px; }

/* --- About --- */
.about-x { padding-top: 60px; }
.about-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--lav); border-radius: 32px; padding: 28px; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.at { border-radius: 22px; padding: 26px; position: relative; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
.at p { font-size: 14.5px; line-height: 1.5; }
.at-indigo { background: var(--indigo); color: rgba(255,255,255,.85); text-align: center; align-items: center; }
.at-indigo strong { font-family: var(--f-display); font-weight: 800; font-size: 60px; color: #fff; line-height: 1; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.at-arrow { font-family: var(--f-body); font-weight: 300; font-size: 46px; }
/* About tile with phone (replaces the old cropped poster) */
.at-phone { background: linear-gradient(155deg, #6a71e0 0%, var(--indigo) 45%, var(--violet) 100%); padding: 0; justify-content: flex-end; align-items: center; }
.at-phone .at-orbit { left: auto; right: -30px; top: -26px; width: 78%; opacity: .9; }
.at-phone .at-chip { left: 12px; right: auto; bottom: 14px; z-index: 2; }
.phone-sm { position: relative; width: 148px; height: 250px; margin-bottom: -46px; border-radius: 28px; padding: 7px; transform: rotate(-5deg); transition: transform .45s ease; }
.at-phone:hover .phone-sm { transform: rotate(-2deg) translateY(-8px); }

/* Drawn phone (default app screen) */
.phone { background: #111318; border-radius: 34px; padding: 9px; box-shadow: 0 30px 50px -25px rgba(20,18,60,.55); }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #f6f6fd; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; }
.pa { padding: 8px 10px; font-size: 9.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 7px; height: 100%; }
.pa-status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 8.5px; color: var(--ink); }
.pa-notch { width: 46px; height: 12px; border-radius: 10px; background: #111318; }
.pa-sig { display: flex; gap: 1.5px; align-items: flex-end; }
.pa-sig i { width: 2.5px; background: var(--ink); border-radius: 1px; }
.pa-sig i:nth-child(1) { height: 4px; } .pa-sig i:nth-child(2) { height: 6px; } .pa-sig i:nth-child(3) { height: 8px; }
.pa-top { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.pa-top small { display: block; color: var(--muted); font-size: 8.5px; }
.pa-top b { font-family: var(--f-head); font-size: 13px; color: var(--ink); }
.pa-bell { position: relative; width: 24px; height: 24px; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--ink); }
.pa-bell i { position: absolute; top: 4px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.pa-child { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 10px; padding: 7px; }
.pa-av { width: 24px; height: 24px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); font-weight: 700; font-size: 8.5px; display: grid; place-items: center; flex-shrink: 0; }
.pa-child b, .pa-att b { display: block; font-size: 9.5px; color: var(--ink); }
.pa-child small, .pa-att small { color: var(--muted); font-size: 8px; }
.pa-att { display: flex; align-items: center; gap: 7px; background: #e3f6ec; border-radius: 10px; padding: 7px; color: var(--ok); }
.pa-fee { display: flex; justify-content: space-between; align-items: center; background: var(--indigo); color: #fff; border-radius: 12px; padding: 8px 9px; }
.pa-fee small { display: block; font-size: 8px; opacity: .8; }
.pa-fee b { display: block; font-family: var(--f-head); font-size: 14px; line-height: 1.2; }
.pa-pay { background: var(--pink); color: #fff; font-weight: 700; font-size: 9px; padding: 5px 10px; border-radius: 14px; }
.pa-h { font-weight: 700; font-size: 9px; color: var(--ink); margin-top: 2px; }
.pa-list li { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 6px 7px; margin-bottom: 4px; font-size: 8.5px; }
.pa-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pa-dot.d1 { background: var(--indigo); } .pa-dot.d2 { background: var(--pink); }
.pa-tabs { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 12px; padding: 7px; }
.pa-tabs i { width: 14px; height: 4px; border-radius: 4px; background: #dcdde6; }
.pa-tabs i.on { background: var(--indigo); }
.oc-phone .pa { font-size: 11px; gap: 9px; padding: 10px 12px; }
.oc-phone .pa-top b { font-size: 15px; }
.oc-phone .pa-fee b { font-size: 17px; }

.at-photo { padding: 0; }
.at-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.at-chip { position: absolute; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 6px; background: #fff; color: var(--ink-2); font-size: 12.5px; padding: 8px 12px; border-radius: 12px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.35); }
.at-chip .icon { color: var(--ok); }
.at-orbit { position: absolute; left: -20px; top: 10px; width: 90%; pointer-events: none; }
.at-dark { background: var(--navy); color: rgba(255,255,255,.75); align-items: center; text-align: center; }
.ring { --p: 70; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
    background: conic-gradient(var(--pink) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.ring span { width: 98px; height: 98px; border-radius: 50%; background: var(--navy); display: grid; place-content: center; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1.05; }
.ring small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: rgba(255,255,255,.6); }
.at-pills { min-height: 0; background: transparent; align-items: center; gap: 12px; }
.at-pills span { padding: 10px 18px; border-radius: 30px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; }
.pill-dark { background: var(--navy); transform: rotate(-4deg) translateX(-14px); }
.pill-pink { background: var(--pink); transform: rotate(3deg) translateX(10px); }
.pill-indigo { background: var(--indigo); transform: rotate(-2deg); }
.about-card { background: #fff; border-radius: 24px; padding: 44px 40px; }
.about-card .mix { font-size: 40px; }
.about-points { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.about-points li { display: flex; gap: 18px; align-items: flex-start; }
.ap-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lav); color: var(--indigo); display: grid; place-items: center; flex-shrink: 0; }
.about-points li:nth-child(2) .ap-icon { background: var(--pink-50); color: var(--pink-700); }
.about-points li:nth-child(3) .ap-icon { background: var(--violet-50); color: var(--violet); }
.about-points h4 { font-size: 18px; margin-bottom: 4px; }
.about-points p { font-size: 15px; }

/* --- Roadmap --- */
.c-indigo { background: var(--indigo); }
.c-soft { background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.c-violet { background: var(--violet); }
.c-pink { background: var(--pink); }

/* --- Numbers --- */
.numbers-x { padding: 20px 0 110px; }
.numbers-x .mix { margin-bottom: 44px; }
.np-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; max-width: 1060px; margin: 0 auto; }
.np { border-radius: 200px; padding: 26px 34px; display: flex; align-items: center; gap: 18px; min-height: 140px; }
.np strong { font-family: var(--f-display); font-weight: 200; font-size: 58px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.np strong i { font-style: normal; font-size: 40px; color: #7df2a8; }
.np > span { font-size: 14px; line-height: 1.45; max-width: 190px; }
.np-fill { background: var(--indigo); color: #fff; }
.np-fill > span { color: rgba(255,255,255,.82); }
.np-line { background: #fff; border: 1px solid #e7e6f3; color: var(--indigo); }
.np-line > span { color: var(--text); }
.np-stack { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
.np-grid > :nth-child(1) { grid-column: span 3; }
.np-grid > :nth-child(2) { grid-column: span 5; }
.np-grid > :nth-child(3) { grid-column: span 4; }
.np-grid > :nth-child(4) { grid-column: span 4; }
.np-grid > :nth-child(5) { grid-column: span 3; }
.np-grid > :nth-child(6) { grid-column: span 5; }
.np-line:nth-child(3) strong { color: var(--pink); }

/* --- Offer bento --- */
.offer-x { padding-top: 40px; }
.offer-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.offer-head p { font-size: 16.5px; max-width: 420px; justify-self: end; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 310px; gap: 22px; }
.oc { position: relative; overflow: hidden; border-radius: 24px; padding: 30px; display: block; transition: transform .25s ease; }
.oc:hover { transform: translateY(-4px); }
.oc-tall { grid-row: span 2; }
.oc-label { font-family: var(--f-head); font-weight: 600; font-size: 13.5px; color: var(--pink-700); }
.oc h3 { font-size: 24px; line-height: 1.25; margin: 10px 0 18px; letter-spacing: -0.01em; }
.oc-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--indigo); transition: transform .25s ease; position: relative; z-index: 2; }
.oc:hover .oc-go { transform: rotate(45deg); }
.oc-go.is-solid { background: var(--indigo); color: #fff; }
.oc-go.is-pink { background: var(--pink); color: #fff; }
.oc-go.is-light { background: #fff; color: var(--ink); }
.oc-label, .oc h3 { position: relative; z-index: 2; }
.oc-art { position: absolute; left: 46%; top: 128px; width: 290px; transform: rotate(-6deg); transition: transform .35s ease; }
.oc:hover .oc-art { transform: rotate(-3deg) translateY(-6px); }
.oc-art .mini { max-width: none; }
.oc-lav { background: var(--card); }
.oc-indigo { background: #e9ebff; }
.oc-violet { background: var(--violet-50); }
.oc-violet .oc-label { color: var(--violet); }
.oc-pink { background: var(--pink-50); }
.oc-dark { background: var(--navy); }
.oc-dark h3 { color: #fff; }
.oc-dark .oc-label { color: #b6b9ff; }
.oc-dark .oc-art { width: 330px; left: 40%; top: 120px; }
.oc-phone { position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%) rotate(-4deg); width: 230px; height: 440px; border-radius: 34px; background: #111318; padding: 10px; box-shadow: 0 40px 60px -30px rgba(40,36,110,.6); transition: transform .35s ease; }
.oc-tall:hover .oc-phone { transform: translateX(-50%) rotate(-2deg) translateY(-8px); }
.oc-phone-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #0b3d26; }
.oc-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.9); transform-origin: 50% 62%; }
.oc-float { left: auto; top: auto; right: -24px; bottom: 120px; width: 250px; transform: rotate(5deg); z-index: 1; }
.oc-tall:hover .oc-float { transform: rotate(3deg) translateY(-6px); }

/* --- Platform tabs --- */
.platform-x { background: linear-gradient(180deg, var(--lav), #fff); }
.pf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.pf-head p { margin-top: 18px; font-size: 16.5px; max-width: 470px; }
.pf-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.pf-tabs { display: flex; flex-direction: column; gap: 6px; }
.pf-tab { text-align: left; background: transparent; border: 0; border-left: 3px solid transparent; border-radius: 0 16px 16px 0; padding: 20px 26px; transition: background .25s, border-color .25s, box-shadow .25s; }
.pf-t { display: block; font-family: var(--f-head); font-weight: 600; font-size: 19px; color: var(--ink-2); }
.pf-d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.pf-d > span { overflow: hidden; font-size: 15px; color: var(--text); }
.pf-tab.on { background: #fff; border-left-color: var(--indigo); box-shadow: 0 20px 40px -30px rgba(30,28,80,.4); }
.pf-tab.on .pf-t { color: var(--indigo); }
.pf-tab.on .pf-d { grid-template-rows: 1fr; }
.pf-tab.on .pf-d > span { padding-top: 10px; }
.pf-visual { position: relative; padding: 0 0 50px 40px; }
.pf-screen { position: relative; z-index: 0; isolation: isolate; border-radius: 22px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 40px 70px -40px rgba(30,28,80,.45); background: #fff; }
.pf-screen .app-window { font-size: 11px; }
.pf-screen .app-body { min-height: 380px; grid-template-columns: 1fr; }
.pf-screen .app-side, .pf-screen .app-search { display: none; }
.pf-card { position: absolute; z-index: 2; left: 0; bottom: 0; width: 320px; opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.pf-card.on { opacity: 1; transform: none; }
.pf-card .step-visual { min-height: 0; margin: 0; display: block; }
.pf-card .note { max-width: none; border-radius: 16px; box-shadow: 0 30px 50px -25px rgba(30,28,80,.45); }
.pf-card .float-chip { display: none; }
.import-note .imp-bar { height: 8px; border-radius: 8px; background: #e6e6f2; overflow: hidden; margin-bottom: 10px; }
.import-note .imp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--indigo), var(--pink)); border-radius: 8px; }
.pf-badge { position: absolute; top: -14px; right: 22px; background: var(--pink); color: #fff; font-size: 13px; padding: 8px 14px; border-radius: 12px; box-shadow: 0 12px 24px -12px rgba(255,104,198,.7); }
.pf-badge b { font-family: var(--f-head); }

/* --- Showcase (dark carousel) --- */
.showcase-x { background: var(--navy); padding: 110px 0 90px; overflow: hidden; }
.sc-head { text-align: center; margin-bottom: 54px; }
.sc-head .mix { color: #fff; }
.sc-marquee { overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sc-run { display: flex; width: max-content; animation: sc-scroll 70s linear infinite; }
.sc-marquee:hover .sc-run { animation-play-state: paused; }
.sc-group { display: flex; flex: none; }
.sc-card { flex: 0 0 420px; margin-right: 24px; color: #fff; -webkit-user-drag: none; }
.sc-marquee.sc-js .sc-run { animation: none; will-change: transform; }
.sc-marquee.dragging, .sc-marquee.dragging .sc-card { cursor: grabbing; }
.sc-marquee.dragging .sc-card { pointer-events: none; }
/* reduced motion: a plain row to scroll by hand, without the repeated copy */
.sc-marquee.sc-still { overflow-x: auto; cursor: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
.sc-marquee.sc-still .sc-run { animation: none; padding: 0 24px; }
.sc-marquee.sc-still .sc-group[aria-hidden] { display: none; }
@keyframes sc-scroll { to { transform: translateX(-50%); } }
.sc-visual { position: relative; aspect-ratio: 4 / 3.3; border-radius: 24px; overflow: hidden; }
.sc-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s ease; }
.sc-card:hover .sc-visual > img { transform: scale(1.05); }
.sc-visual.theme-xzora > img { object-position: center 40%; }
.sc-go { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .25s ease, background .25s; }
.sc-card:hover .sc-go { transform: rotate(45deg); background: var(--pink); color: #fff; }
.sc-cat { display: block; margin-top: 20px; font-size: 13.5px; color: #b6b9ff; font-family: var(--f-head); font-weight: 600; }
.sc-card h3 { color: #fff; font-size: 24px; margin: 4px 0 4px; }
.sc-card p { color: rgba(255,255,255,.6); font-size: 15px; }
.sc-foot { display: flex; justify-content: center; margin-top: 44px; }

@media (max-width: 1240px) {
    .np strong { font-size: 46px; }
}
@media (max-width: 991px) {
    .about-panel, .offer-head, .pf-body { grid-template-columns: 1fr; }
    .offer-head p { justify-self: start; }
    .offer-grid { grid-template-columns: 1fr 1fr; }
    .oc-tall { grid-row: span 2; }
    .oc-art, .oc-dark .oc-art { left: 8%; top: 150px; width: min(300px, 84%); }
    .oc-float { display: none; }
    .oc-go { position: absolute; top: 24px; right: 24px; }
    .oc h3 { margin-bottom: 0; max-width: 16ch; }
    .np-grid { grid-template-columns: 1fr 1fr; }
    .np-grid > * { grid-column: span 1 !important; }
    .pf-head { flex-direction: column; align-items: flex-start; }
    .pf-visual { padding-left: 0; }
    .mix { font-size: 38px; }
}
@media (max-width: 640px) {
    .about-panel { padding: 14px; border-radius: 24px; }
    .about-tiles { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .at-dark { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 18px; text-align: left; min-height: 0; }
    .at-dark .ring { margin-bottom: 0; flex-shrink: 0; }
    .at { min-height: 180px; padding: 18px; }
    .at-indigo strong { font-size: 44px; }
    .at-arrow { font-size: 34px; }
    .ring { width: 96px; height: 96px; }
    .ring span { width: 78px; height: 78px; font-size: 20px; }
    .at-chip { font-size: 11px; right: 8px; left: 8px; }
    .at-pills { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .pill-dark, .pill-pink, .pill-indigo { transform: none; }
    .about-card { padding: 28px 22px; }
    .about-card .mix, .mix { font-size: 30px; }
    .mix br { display: none; }
    .np-grid { grid-template-columns: 1fr; }
    .np { border-radius: 26px; min-height: 0; padding: 22px 24px; }
    .np-stack { flex-direction: row; text-align: left; justify-content: flex-start; }
    .np strong { font-size: 40px; }
    .offer-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
    .oc { min-height: 320px; padding: 26px; }
    .oc-tall { grid-row: auto; min-height: 500px; }
    .oc-art, .oc-dark .oc-art { left: 7%; top: 150px; width: min(280px, 82%); }
    .oc-float { display: none; }
    .oc-phone { width: 210px; height: 400px; bottom: -70px; }
    /* the arrow sits in the corner so it never covers the screen below */
    .oc-go { position: absolute; top: 24px; right: 24px; }
    .oc h3 { margin-bottom: 0; max-width: 16ch; }
    .pf-tab { padding: 16px 18px; }
    .pf-card { position: relative; width: 100%; margin-top: -40px; }
    .pf-card:not(.on) { display: none; }
    .pf-visual { padding-bottom: 0; }
    .pf-screen .app-body { min-height: 300px; }
    .showcase-x { padding: 80px 0 70px; }
    .sc-card { flex-basis: 82vw; }
}

/* ---------- Motion ---------- */
/* Reveal on scroll (JS adds .reveal only to things below the fold, plus a small stagger delay) */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; translate: 0 0; }

/* Roadmap circles pop in one after another */

/* Hero entrance on page load */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-inner > .eyebrow, .hero-inner > h1, .hero-inner > .hero-sub, .hero-inner > .hero-ctas, .hero .device {
    animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero-inner > h1 { animation-delay: .08s; }
.hero-inner > .hero-sub { animation-delay: .16s; }
.hero-inner > .hero-ctas { animation-delay: .24s; }
.hero .device { animation-delay: .36s; animation-duration: 1s; }

/* Progress ring fills when it comes into view */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring[data-ring] { transition: --p 1.6s cubic-bezier(.2,.7,.2,1); }
.ring[data-ring].is-off { --p: 0 !important; }


/* Buttons: press feedback and visible keyboard focus */
.pf-tab:focus-visible, .faq-q:focus-visible, a:focus-visible {
    outline: 3px solid rgba(83,91,208,.45); outline-offset: 3px; border-radius: 12px;
}
.btn:focus-visible { outline: 3px solid rgba(83,91,208,.45); outline-offset: 3px; } /* keep the button's own rounded shape */
.btn-primary:hover { box-shadow: 0 12px 24px -12px rgba(83,91,208,.75); }
.btn-pink:hover { box-shadow: 0 12px 24px -12px rgba(255,104,198,.8); }

/* Showcase can be dragged with the mouse */

/* Platform tab progress bar while tabs auto-advance */
.pf-tab { position: relative; overflow: hidden; }
.pf-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--indigo); transform: scaleX(0); transform-origin: left; opacity: .35; }
.pf-body.auto .pf-tab.on::after { animation: tabbar 6s linear forwards; }
@keyframes tabbar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
    .hero-inner > *, .hero .device { animation: none !important; }
    .ring[data-ring].is-off { --p: 75 !important; }
    .pf-body.auto .pf-tab.on::after { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Polish: progress line, theme toggle, card reveal, 404
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--indigo), var(--violet), var(--pink)); transform: scaleX(0); transform-origin: left; border-radius: 0 3px 3px 0; }

.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s ease; }
.theme-toggle:hover { background: rgba(83,91,208,.08); transform: rotate(-15deg); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* Project cards: tags and "View case study" slide up over the image on hover */
.sc-reveal { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; display: flex; flex-direction: column; gap: 10px;
    background: linear-gradient(transparent, rgba(12,10,40,.82)); opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.sc-card:hover .sc-reveal, .sc-card:focus-visible .sc-reveal { opacity: 1; transform: none; }
.sc-reveal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* glossy look without backdrop-filter: a blur can't render while the panel is fading in, so it popped in late */
.sc-reveal-tags i { font-style: normal; font-size: 12px; color: #fff; padding: 3px 10px; border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
    border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 12px -6px rgba(0,0,0,.35); }
.sc-reveal b { font-family: var(--f-head); font-size: 15px; color: #fff; display: flex; align-items: center; gap: 6px; }
.sc-reveal b::after { content: "→"; transition: transform .25s ease; }
.sc-card:hover .sc-reveal b::after { transform: translateX(4px); }

/* 404: the logo's staircase with a missing step */
.nf .hero-inner { padding-bottom: 150px; }
.nf-steps { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; width: 120px; margin: 0 auto 30px; }
.nf-steps span { height: 22px; border-radius: 22px; }
.nf-steps .s1 { width: 120px; background: var(--indigo); order: 3; }
.nf-steps .s2 { width: 84px; background: var(--violet); order: 2; }
.nf-steps .s3 { width: 52px; order: 1; border: 2px dashed var(--pink); animation: nf-blink 1.6s ease-in-out infinite; }
@keyframes nf-blink { 50% { opacity: .35; } }

/* =========================================================
   Meeting scheduler
   ========================================================= */
.booking { padding-top: 0; margin-top: -40px; }
.tz-note { font-style: normal; font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cal-head h3 { margin-bottom: 0; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s, opacity .15s; }
.cal-nav button:hover:not(:disabled) { background: var(--indigo-50); border-color: var(--indigo); color: var(--indigo); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-title { font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--ink); margin: 14px 0 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-day { position: relative; aspect-ratio: 1; max-height: 52px; display: grid; place-items: center; border-radius: 12px; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--muted); }
.cal-day.off { opacity: .45; font-weight: 500; }
a.cal-day { background: var(--indigo-50); color: var(--indigo); transition: background-color .15s, color .15s, transform .15s, box-shadow .15s; }
a.cal-day:hover { background: var(--indigo); color: #fff; transform: translateY(-1px); }
a.cal-day.on { background: var(--indigo); color: #fff; box-shadow: 0 10px 20px -10px rgba(83, 91, 208, .9); }
.cal-day.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.times { background: var(--lav); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.times h3 { margin-bottom: 6px; }
.times-day { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--ink); margin: 14px 0 12px; }
.times .slot-grid { grid-template-columns: 1fr 1fr; align-content: start; }
.times .slot span { background: var(--card, #fff); }
.tz-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--muted); }
.tz-line .icon { color: var(--indigo); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; min-height: 52px; }
.slot-grid.loading { opacity: .45; pointer-events: none; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: block; text-align: center; padding: 12px 8px; border: 1px solid #dfe0ea; border-radius: 12px; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.slot:hover span { border-color: var(--indigo); color: var(--indigo); }
.slot input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: 0 10px 20px -12px rgba(83,91,208,.8); }
.slot input:focus-visible + span { outline: 3px solid rgba(83,91,208,.45); outline-offset: 2px; }
.book-empty { grid-column: 1 / -1; color: var(--muted); font-size: 15px; padding: 10px 0; }
.book-empty a { color: var(--indigo); text-decoration: underline; }
.book-err { margin-top: 10px; }

.book-done .hero-inner { padding-bottom: 130px; }
.done-check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 16px 30px -14px rgba(24,160,88,.7); animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.done-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 30px auto 0; text-align: left; }
.done-card > div { background: #fff; border: 1px solid #ececf3; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 3px; }
.done-card small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.done-card b { color: var(--ink); font-family: var(--f-head); font-size: 16px; }
.done-card span { font-size: 13px; color: var(--muted); word-break: break-all; }
.done-card a b { color: var(--indigo); }
.book-done .hero-ctas form { display: inline-flex; }

[data-theme="dark"] .done-card > div { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .slot span { border-color: var(--border); }
[data-theme="dark"] .times, [data-theme="dark"] .cal-nav button { border-color: var(--border); }
[data-theme="dark"] .times { background: var(--surface-2); }
[data-theme="dark"] .times .slot span { background: var(--surface); }
[data-theme="dark"] a.cal-day:not(.on) { color: #b4b8ff; }

@media (max-width: 760px) {
    .times .slot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .cal-grid { gap: 4px; }
    .cal-day { border-radius: 10px; font-size: 14px; }
    .done-card { grid-template-columns: 1fr; }
    .times .slot-grid { gap: 8px; }
    .slot span { padding: 11px 4px; font-size: 14px; white-space: nowrap; }
}

/* =========================================================
   Dark mode
   ========================================================= */
[data-theme="dark"] {
    --ink: #f2f1ff; --ink-2: #e7e6f8; --text: #aeadc9; --muted: #8d8caa;
    --lav: #141231; --card: #1c1a3e; --line: rgba(255,255,255,.1);
    --indigo-50: #262563; --pink-50: #3a1c3d; --violet-50: #2a2052;
    --surface: #18163a; --surface-2: #201e47; --border: #2c2a57;
    --dot-rgb: 205, 205, 255;
    color-scheme: dark;
}
[data-theme="dark"] body { background: #0e0d24; }

/* Product screens and phone mockups stay light, like real screenshots */
[data-theme="dark"] .mini, [data-theme="dark"] .app-window, [data-theme="dark"] .note,
[data-theme="dark"] .phone-screen, [data-theme="dark"] .device-screen {
    --ink: #0a0d12; --ink-2: #1f1f1f; --text: #575757; --muted: #8a8a99;
    --lav: #f5f5ff; --card: #f4f3fd; --line: rgba(10,13,18,.1);
    --indigo-50: #eef0ff; --pink-50: #ffeaf6; --violet-50: #f1eafd;
    color: #3c3d48;
}
[data-theme="dark"] .mini-dark { --ink: #fff; color: #fff; }

/* Surfaces that were plain white */
[data-theme="dark"] .site-header.scrolled { background: #0e0d24; border-bottom-color: var(--border); }
[data-theme="dark"] .main-nav > a { color: #b9b8d6; }
[data-theme="dark"] .main-nav > a:hover { color: #fff; background: rgba(255,255,255,.06); }
[data-theme="dark"] .main-nav > a.active { color: #fff; }
[data-theme="dark"] .main-nav > a::after { background: #8e95ff; }
@media (max-width: 991px) { [data-theme="dark"] .main-nav > a.active { background: rgba(83,91,208,.35); } }
[data-theme="dark"] .nav-toggle { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .tag { background: var(--surface); border-color: var(--border); color: var(--ink); }
[data-theme="dark"] .service-card, [data-theme="dark"] .price-card, [data-theme="dark"] .promise-card,
[data-theme="dark"] .product-card, [data-theme="dark"] .info-card, [data-theme="dark"] .contact-form-card,
[data-theme="dark"] .work-card, [data-theme="dark"] .about-card, [data-theme="dark"] .np-line,
[data-theme="dark"] .includes li, [data-theme="dark"] .pf-tab.on {
    background: var(--surface); border-color: var(--border); box-shadow: none;
}
[data-theme="dark"] .promise-quote { background: var(--surface-2); color: var(--text); }
[data-theme="dark"] .sv-dental, [data-theme="dark"] .product-card:nth-child(3n) .product-card-screen { background: var(--violet-50); }
[data-theme="dark"] .oc-indigo { background: #1f2058; }
[data-theme="dark"] .platform-x { background: linear-gradient(180deg, var(--lav), #0e0d24); }
[data-theme="dark"] .pf-screen { border-color: var(--surface-2); }
[data-theme="dark"] .work-tags li { background: var(--surface-2); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .field-pill { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: var(--surface-2); border-color: var(--border); color: var(--ink); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field select:focus, [data-theme="dark"] .field textarea:focus { background: var(--surface-2); }
[data-theme="dark"] .form-success { background: #12352a; border-color: #1f5c46; color: #b9f0d6; }
[data-theme="dark"] .form-success strong { color: #e2fff1; }
[data-theme="dark"] .cta-card, [data-theme="dark"] .faq, [data-theme="dark"] .info-note { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
[data-theme="dark"] .products-dark, [data-theme="dark"] .faq { background: #0a0920; }
[data-theme="dark"] .ind-item, [data-theme="dark"] .ind-ic { color: #77769a; }
[data-theme="dark"] .ind-item:hover, [data-theme="dark"] .ind-item.on, [data-theme="dark"] .ind-item:focus-visible { color: #fff; }
[data-theme="dark"] .ind-item:hover .ind-ic, [data-theme="dark"] .ind-item:focus-visible .ind-ic { color: #a9aef7; }
[data-theme="dark"] .ind-card { box-shadow: none; }
[data-theme="dark"] .dots { filter: invert(1); opacity: .35; }

[data-theme="dark"] .at-chip, [data-theme="dark"] .sc-go { color: #1f1f1f; }
[data-theme="dark"] .sc-card:hover .sc-go { color: #fff; }
[data-theme="dark"] .pill-dark { background: #34317a; }
[data-theme="dark"] .at-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }

/* Buttons that relied on dark text */
[data-theme="dark"] .btn-dark { background: #fff; color: #0a0d12; --flair: var(--indigo); }
[data-theme="dark"] .btn-dark .btn-dot { background: #0a0d12; color: #fff; }
[data-theme="dark"] .btn-dot { color: #0a0d12; }
[data-theme="dark"] .btn-light, [data-theme="dark"] .btn-light .btn-dot { color: #0a0d12; }
[data-theme="dark"] .btn-light .btn-dot { color: #fff; }
[data-theme="dark"] .btn-outline { background: transparent; color: var(--ink); border-color: var(--border); --flair: #fff; --flair-text: #0a0d12; }
[data-theme="dark"] .btn-outline .btn-dot { background: #fff; color: #0a0d12; }
[data-theme="dark"] .btn-outline .btn-flair .btn-dot { background: #0a0d12; color: #fff; }
[data-theme="dark"] .btn-light .btn-flair .btn-dot { background: #fff; color: var(--indigo); }

/* Indigo text needs a lighter tint on dark backgrounds */
[data-theme="dark"] .process-tag, [data-theme="dark"] .work-cat, [data-theme="dark"] .text-link,
[data-theme="dark"] .checks .icon, [data-theme="dark"] .tag-soft, [data-theme="dark"] .footer-checks .icon,
[data-theme="dark"] .case-stats dt, [data-theme="dark"] .includes strong, [data-theme="dark"] .np-line strong,
[data-theme="dark"] .pf-tab.on .pf-t, [data-theme="dark"] .ap-icon, [data-theme="dark"] .info-icon, [data-theme="dark"] .promise-icon {
    color: #a7acff;
}
[data-theme="dark"] .np-line:nth-child(3) strong, [data-theme="dark"] .includes li:nth-child(2n) strong, [data-theme="dark"] .case-stats div:nth-child(2n) dt { color: #ff8fd6; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
    .main-nav > a { padding: 8px 12px; font-size: 14.5px; }
    .hero h1 { font-size: 66px; }
    .page-hero h1 { font-size: 58px; }
    .service-card { grid-template-columns: 1fr; }
    .service-wide { grid-template-columns: 1fr 1.1fr; }
    .ct-left { left: 3%; }
    .ct-right { right: 4%; }
}

@media (max-width: 991px) {
    .section { padding: 90px 0; }
    .nav-toggle { display: grid; }
    .header-bar { position: relative; }
    .main-nav { gap: 2px; }
    .main-nav {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
        background: #fff; border: 1px solid #ececf5; border-radius: 24px;
        box-shadow: 0 30px 50px -25px rgba(30,28,80,.35);
        transform: translateY(-10px) scale(.98); transform-origin: top center; opacity: 0; visibility: hidden;
        transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.2,1), visibility .2s;
    }
    .main-nav > a { padding: 13px 16px; font-size: 16px; border-radius: 14px; }
    .main-nav > a::after { display: none; }
    .main-nav > a.active { background: var(--indigo-50); color: var(--indigo); }
    .nav-mobile-actions { display: block; padding: 10px 4px 4px; }
    .nav-mobile-actions .btn { width: 100%; justify-content: center; }
    body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    body.nav-open .nav-toggle .i-open { display: none; }
    body.nav-open .nav-toggle .i-close { display: block; }

    .hero h1 { font-size: 52px; }
    .page-hero h1 { font-size: 48px; }
    .hero-sub { font-size: 18px; }
    .cursor-tag.ct-left, .cursor-tag.ct-right { display: none; }
    .app-body { grid-template-columns: 1fr; }
    .app-side { display: none; }
    .process-lines { display: none; }
    .process .section-head { margin-bottom: 48px; }
    .process-grid, .price-grid, .promise-grid, .product-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
    .price-card.featured { margin-top: 0; padding-top: 48px; padding-bottom: 48px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-wide { grid-template-columns: 1fr; padding: 34px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .b-dark { grid-row: auto; grid-column: 1 / -1; min-height: 380px; }
    .faq-inner, .cta-card, .contact-grid, .footer-top, .includes-inner { grid-template-columns: 1fr; }
    .faq-inner { gap: 40px; }
    .work-head { flex-direction: column; align-items: flex-start; }
    .case { grid-template-columns: 1fr; gap: 36px; }
    .case:nth-child(even) .case-visual { order: 0; }
    .case-visual { aspect-ratio: 4 / 4.2; max-width: 560px; }
    .cta-card { padding: 48px 36px; }
    .cta-visual { height: 340px; }
    .includes ul { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .section-head h2, .faq-intro h2, .cta-copy h2, .footer-top h2 { font-size: 40px; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .site-header { --head-h: 64px; }
    .site-header.scrolled { --head-h: 58px; }
    .brand img { width: 106px; }
    .btn-head { display: none; }
    .section { padding: 72px 0; }
    .hero-inner { padding-top: 120px !important; }
    .page-hero .hero-inner { padding: 130px 16px 90px !important; }
    .hero h1 { font-size: 38px; letter-spacing: -0.03em; }
    .page-hero h1 { font-size: 36px; }
    .hero h1 br, .page-hero h1 br, .section-head h2 br { display: none; }
    .eyebrow { flex-wrap: wrap; justify-content: center; font-size: 14px; }
    .hero-sub { font-size: 16.5px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { justify-content: space-between; }
    .hero .hero-bg { bottom: 0; }
    .device { margin-top: 48px; padding: 8px; border-radius: 18px; }
    .device-screen { border-radius: 12px; }
    .app-search, .app-crumb { display: none; }
    .app-main { padding: 14px; }
    .app-main-head .chip { display: none; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .app-grid { grid-template-columns: 1fr; }
    .ind-rule { padding-top: 50px; }
    .ind-item { font-size: 16px; }
    .ind-ic { width: 36px; height: 36px; }
    .ind-group li { padding-right: 30px; }
    .ind-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; margin-left: 0; margin-right: 0; }
    .ind-card-actions { flex-direction: column-reverse; align-items: stretch; gap: 14px; width: 100%; }
    .ind-card-actions .btn { justify-content: space-between; }
    .ind-card-actions .text-link { justify-content: center; white-space: nowrap; }
    .ind-track { animation-duration: 40s; }
    .section-head { margin-bottom: 44px; }
    .section-head h2, .faq-intro h2, .cta-copy h2, .footer-top h2, .includes h2 { font-size: 31px; }
    .section-head p { font-size: 16px; }
    .service-card, .service-wide { padding: 22px; }
    .service-visual { padding: 14px; min-height: 220px; }
    .bento { grid-template-columns: 1fr; }
    .bento-card { padding: 28px 24px; min-height: 0; }
    .bento-card h3 { margin-top: 22px; }
    .product-tile { width: 300px; }
    .work-grid { grid-template-columns: 1fr; gap: 22px; }
    .work-body { padding: 22px; }
    .work-body h3 { font-size: 22px; }
    .case { padding: 40px 0; }
    .case-copy h2 { font-size: 34px; }
    .case-stats { grid-template-columns: repeat(2, 1fr); }
    .case-visual .care-mini { font-size: 12.5px; padding: 14px; }
    .case-visual .care-mini .mini-h b { font-size: 14px; }
    .case-visual .care-mini b { font-size: 12.5px; }
    .case-visual .care-mini small { font-size: 11px; }
    .product-screen { height: 240px; padding: 10px; }
    .price-card { padding: 32px 24px; }
    .price-amount strong { font-size: 44px; }
    .faq-q { font-size: 16px; padding: 18px; }
    .faq-a > p { padding: 0 18px; }
    .cta-wrap { padding: 72px 0; }
    .cta-card { padding: 36px 22px; border-radius: 22px; }
    .cta-visual { height: 290px; }
    .cta-s1 { width: 280px; max-width: 100%; left: 50%; top: 10px; transform: translateX(-50%) rotate(-2deg); }
    .cta-s2, .ct-cta1, .ct-cta2 { display: none; }
    .includes ul { grid-template-columns: 1fr 1fr; }
    .includes strong { font-size: 22px; }
    .contact-form-card { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .field-pill { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 10px; }
    .field-pill input { padding: 0 10px; }
    .field-pill .btn { justify-content: space-between; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}

.info-book { transition: border-color .2s, transform .2s; }
.info-book:hover { border-color: var(--indigo); transform: translateY(-2px); }
.info-book p { color: var(--indigo) !important; font-weight: 600; }

/* =========================================================
   Interactions: gentle card tilt and word-by-word headings
   ========================================================= */

/* 3D tilt + a soft light that follows the mouse */
.tilt { transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tilt.tilting { transition: transform .12s linear; }
.tilt::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.1), transparent 45%);
    opacity: 0; transition: opacity .4s ease;
}
.tilt.tilting::after { opacity: 1; }
.price-card.tilt, .promise-card.tilt, .service-card.tilt { position: relative; }

/* Headings rise in word by word */
.wr { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wr > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 55ms); }
.words-in .wr > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .wr > span { transform: none !important; transition: none; }
    .tilt { transform: none !important; }
}


/* =========================================================
   Two offers: custom software page, pricing for custom work
   ========================================================= */
.cx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 8px; }
.cx-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid #ececf3; box-shadow: 0 20px 50px -42px rgba(30, 28, 80, .4); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease; }
.cx-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--indigo) 35%, #ececf3); box-shadow: 0 30px 60px -40px rgba(30, 28, 80, .5); }
.cx-card small { font-size: 13px; font-weight: 600; color: var(--indigo); }
.cx-card h3 { font-size: 24px; }
.cx-card p { color: var(--text); line-height: 1.55; flex: 1; }
.cx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--f-head); font-weight: 600; color: var(--indigo); }

.cx-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: cx; }
.cx-step { counter-increment: cx; position: relative; padding: 30px 28px 28px; border-radius: var(--r-md); background: #fff; border: 1px solid #ececf3; }
.cx-step::before { content: counter(cx, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.03em; background: linear-gradient(135deg, var(--indigo), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-step h3 { font-size: 20px; margin-bottom: 8px; }
.cx-step p { color: var(--text); line-height: 1.55; }

.cx-note { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 32px; background: var(--lav); }
.cx-note h2 { font-size: 32px; line-height: 1.2; margin: 14px 0 12px; }
.cx-note p { color: var(--text); line-height: 1.6; margin-bottom: 24px; }
.cx-note .hero-ctas { margin-top: 0; }
.cx-aside { padding: 28px; border-radius: var(--r-md); background: #fff; border: 1px solid #ececf3; }
.cx-aside h3 { font-size: 20px; margin-bottom: 8px; }
.cx-aside p { margin-bottom: 14px; }
.cx-motion-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 32px; background: var(--navy, #17133f); color: rgba(255,255,255,.78); }
.cx-motion-card h2 { color: #fff; font-size: 32px; line-height: 1.2; margin: 14px 0 12px; }
.cx-motion-card p { line-height: 1.6; margin-bottom: 24px; }
.cx-motion-card .checks li { color: #fff; }
.cx-either { padding: 10px 0 40px; text-align: center; }
.cx-either p { color: var(--text); font-size: 17px; }
.cx-either a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.cx-price-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 900px; margin: 8px auto 0; padding: 44px; border-radius: 28px; background: #fff; border: 1px solid #ececf3; box-shadow: 0 30px 60px -44px rgba(30, 28, 80, .45); }
.cx-price-card h3 { font-size: 32px; margin-bottom: 8px; }
.cx-price-card p { color: var(--text); line-height: 1.55; margin-bottom: 22px; }
.cx-price-card .text-link { margin-left: 18px; }
.price-card.is-custom .price-flag { background: var(--indigo); }

[data-theme="dark"] .cx-card, [data-theme="dark"] .cx-step, [data-theme="dark"] .cx-aside, [data-theme="dark"] .cx-price-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .cx-note { background: var(--surface-2); }
[data-theme="dark"] .cx-card small, [data-theme="dark"] .cx-more { color: #a9aef7; }
@media (max-width: 991px) {
    .cx-steps { grid-template-columns: 1fr 1fr; }
    .cx-note, .cx-motion-card, .cx-price-card { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
}
@media (max-width: 640px) {
    .cx-steps { grid-template-columns: 1fr; }
    .cx-note, .cx-motion-card, .cx-price-card { padding: 26px 22px; border-radius: 24px; }
    .cx-note h2, .cx-motion-card h2 { font-size: 26px; }
    .cx-price-card .text-link { display: inline-flex; margin: 16px 0 0; }
}

/* two plans: centred pair instead of two cards beside an empty column */
.price-grid:has(> .price-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 991px) { .price-grid:has(> .price-card:nth-child(2):last-child) { grid-template-columns: minmax(0, 520px); } }

/* =========================================================
   Project page: /portfolio/{slug}
   ========================================================= */
.case-copy h2 a { color: inherit; }
.case-copy h2 a:hover { color: var(--indigo); }
.pj-hero { padding: 150px 0 70px; background: radial-gradient(60% 80% at 100% 0%, rgba(83, 91, 208, .1), transparent 62%); }
.pj-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pj-back { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 26px; font-family: var(--f-head); font-weight: 600; font-size: 14.5px; color: var(--text); }
.pj-back:hover { color: var(--indigo); }
.pj-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: 68px; line-height: 1.05; letter-spacing: -.025em; margin: 12px 0 10px; }
.pj-tagline { font-family: var(--f-head); font-weight: 600; font-size: 21px; color: var(--ink-2); }
.pj-hero .work-tags { margin-top: 22px; }
.pj-visit { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 13px 22px; border-radius: 40px; background: var(--indigo); color: #fff; font-family: var(--f-head); font-weight: 600; transition: background-color .25s ease; }
.pj-visit:hover { background: var(--indigo-700); color: #fff; }
.pj-visual { aspect-ratio: 4 / 4.4; max-height: 560px; width: 100%; border-radius: var(--r-lg); box-shadow: 0 40px 70px -45px rgba(30, 28, 80, .55); }
.pj-visual > img { object-position: center top; }
.pj-visual.theme-xzora > img { object-position: center 35%; }
.pj-visual .work-logo { display: none; }
.pj-visual .care-mini { max-width: 400px; font-size: 14px; padding: 20px; }

.pj-start { padding: 30px 0 70px; }
.pj-lead { max-width: 860px; margin-top: 18px; font-family: var(--f-head); font-weight: 600; font-size: 32px; line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.pj-summary { max-width: 760px; margin-top: 24px; font-size: 17px; line-height: 1.75; }
.pj-stats { padding-bottom: 70px; }

.pj-steps-wrap { padding-top: 90px; background: var(--lav); }
.pj-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 0; }
.pj-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 34px; }
.pj-steps li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 6px; border-left: 3px dotted rgba(83, 91, 208, .4); }
.pj-n { z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 16px; }
.pj-steps li:nth-child(2n) .pj-n { background: var(--violet); }
.pj-steps h3 { margin: 4px 0 6px; font-size: 21px; }
.pj-steps p { font-size: 16.5px; line-height: 1.65; }

.pj-inside { padding: 0 0 80px; background: var(--lav); }
.pj-inside-card { max-width: 820px; margin: 0 auto; padding: 36px 40px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.pj-inside-card h2 { font-size: 24px; margin-bottom: 16px; }

.pj-more { padding: 70px 0 20px; }
.pj-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pj-more a { display: block; padding: 26px 30px; border-radius: 20px; border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease; }
.pj-more a:hover { border-color: var(--indigo); transform: translateY(-3px); }
.pj-more small { display: block; font-size: 13px; color: var(--muted); }
.pj-more b { display: block; margin-top: 4px; font-family: var(--f-display); font-weight: 800; font-size: 26px; color: var(--ink); }
.pj-more .is-next { text-align: right; }

@media (max-width: 991px) {
    .pj-hero { padding: 120px 0 50px; }
    .pj-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .pj-hero h1 { font-size: 52px; }
    .pj-visual { max-width: 560px; }
    .pj-lead { font-size: 26px; }
}
@media (max-width: 640px) {
    .pj-hero h1 { font-size: 42px; }
    .pj-lead { font-size: 22px; }
    .pj-steps li { grid-template-columns: 44px 1fr; gap: 16px; }
    .pj-n { width: 44px; height: 44px; font-size: 14px; }
    .pj-steps li:not(:last-child)::before { left: 21px; top: 44px; }
    .pj-inside-card { padding: 26px 22px; }
    .pj-more-grid { grid-template-columns: 1fr; }
    .pj-more .is-next { text-align: left; }
}


/* =========================================================
   Custom quote wizard: /custom/quote
   ========================================================= */
.qw-head { padding: 150px 0 40px; background: radial-gradient(60% 90% at 100% 0%, rgba(83, 91, 208, .1), transparent 62%); }
.qw-head h1 { font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 14px; }
.qw-head p { max-width: 560px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
/* the heading sits in the same column as the form card, centred over it */
.qw-head .container, .qw-wrap .container { max-width: calc(880px + 48px); }
.qw-title { text-align: center; padding-top: 6px; }
.qw-title .tag-soft { margin-bottom: 16px; }
.qw-head .pj-back { margin-bottom: 18px; }
.qw-head { background: radial-gradient(60% 90% at 50% 0%, rgba(83, 91, 208, .1), transparent 66%); }
.qw-done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); margin-bottom: 18px; }
.qw-wrap { padding: 20px 0 100px; }
.qw { max-width: 880px; margin: 0 auto; padding: 34px 38px 38px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 70px -50px rgba(30, 28, 80, .4); }
.qw .hp { position: absolute; left: -9999px; }
.qw-top { margin-bottom: 30px; }
.qw-dots { list-style: none; margin: 0 0 14px; padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.qw-dots li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.qw-dots li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lav); color: var(--muted); font-family: var(--f-head); font-weight: 700; font-size: 12.5px; }
.qw-dots li.on { color: var(--ink); font-weight: 600; }
.qw-dots li.on span { background: var(--indigo); color: #fff; }
.qw-dots li.done span { background: var(--indigo-50); color: var(--indigo); }
.qw:not(.qw-js) .qw-dots, .qw:not(.qw-js) .qw-bar { display: none; }
.qw-bar { height: 4px; border-radius: 4px; background: var(--lav); overflow: hidden; }
.qw-bar i { display: block; height: 100%; width: 25%; border-radius: 4px; background: linear-gradient(90deg, var(--indigo), var(--violet), var(--pink)); transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.qw-errors { margin-bottom: 22px; padding: 14px 18px; border-radius: 14px; background: #fff1f4; color: #a3203f; font-size: 15px; }
.qw-errors ul { margin: 6px 0 0 18px; list-style: disc; }
.qw-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.qw-step + .qw-step { margin-top: 36px; }
.qw.qw-js .qw-step + .qw-step { margin-top: 0; }
.qw-step[hidden], .qw-feat[hidden] { display: none; }
.qw-step legend { padding: 0; margin-bottom: 8px; font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.015em; color: var(--ink); }
.qw-sub { margin-bottom: 18px; color: var(--muted); font-size: 15.5px; }
.qw-q, .qw-also { margin: 26px 0 12px; font-size: 18px; }
.qw-also { margin-top: 24px; }
.qw-grid { display: grid; gap: 12px; margin-top: 18px; }
.qw-types { grid-template-columns: repeat(4, 1fr); }
.qw-checks { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.qw-rows { grid-template-columns: 1fr; margin-top: 0; }
.qw-opt { position: relative; cursor: pointer; }
.qw-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qw-type { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); transition: border-color .2s ease, background-color .2s ease, transform .25s ease; }
.qw-type:hover { border-color: color-mix(in srgb, var(--indigo) 50%, var(--line)); transform: translateY(-2px); }
.qw-type b { font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--ink); }
.qw-type small { font-size: 13px; color: var(--muted); }
.qw-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: var(--indigo-50); color: var(--indigo); transition: background-color .2s ease, color .2s ease; }
.qw-type:has(input:checked) { border-color: var(--indigo); background: var(--indigo-50); }
.qw-type:has(input:checked) .qw-ic { background: var(--indigo); color: #fff; }
.qw-check, .qw-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); font-size: 16px; color: var(--ink); background: var(--card); transition: border-color .2s ease, background-color .2s ease; }
.qw-check:hover, .qw-row:hover { border-color: color-mix(in srgb, var(--indigo) 50%, var(--line)); }
.qw-check:has(input:checked), .qw-row:has(input:checked) { border-color: var(--indigo); background: var(--indigo-50); }
.qw-tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9c9dc; color: transparent; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.qw-check input:checked + .qw-tick { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.qw-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c9c9dc; transition: border-color .2s ease, box-shadow .2s ease; }
.qw-row input:checked + .qw-radio { border-color: var(--indigo); box-shadow: inset 0 0 0 5px var(--indigo); }
.qw-opt:has(input:focus-visible) { outline: 3px solid rgba(83, 91, 208, .45); outline-offset: 2px; }
.qw-nav { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.qw-nav .btn { margin-left: auto; }
.qw-nav [hidden] { display: none; }
.qw:not(.qw-js) [data-next], .qw:not(.qw-js) [data-back] { display: none; }
.qw-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font-family: var(--f-head); font-weight: 600; font-size: 15.5px; color: var(--text); cursor: pointer; }
.qw-back:hover { color: var(--indigo); }
.qw-msg { font-size: 14.5px; color: #c0305a; }
.qw-alt { margin-top: 22px; text-align: center; font-size: 15px; color: var(--muted); }
.qw-alt a { color: var(--indigo); font-weight: 600; }

.qw-done-head { padding-bottom: 20px; }
.qw-summary, .qw-next { max-width: 880px; margin: 0 auto 24px; padding: 32px 38px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.qw-summary h2, .qw-next h2 { font-size: 24px; margin-bottom: 18px; }
.qw-summary dl { display: grid; gap: 0; margin: 0; }
.qw-summary dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.qw-summary dt { font-size: 14.5px; color: var(--muted); }
.qw-summary dd { margin: 0; font-weight: 600; color: var(--ink); }
.qw-est { margin-top: 22px; padding: 22px 24px; border-radius: 18px; background: var(--indigo-50); }
.qw-est small { display: block; font-size: 13.5px; color: var(--muted); }
.qw-est b { display: block; margin: 4px 0 6px; font-family: var(--f-display); font-weight: 800; font-size: 34px; color: var(--indigo); }
.qw-est p { font-size: 14.5px; }
.qw-next ol { margin: 0 0 24px; padding-left: 22px; display: grid; gap: 10px; list-style: decimal; }
.qw-next-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

@media (max-width: 991px) {
    .qw-types { grid-template-columns: repeat(2, 1fr); }
    .qw-head { padding: 120px 0 30px; }
    .qw-head h1 { font-size: 44px; }
    .qw-dots li b { display: none; }
    .qw-dots li.on b { display: inline; }
}
@media (max-width: 640px) {
    .qw { padding: 24px 18px 26px; border-radius: 22px; }
    .qw-head h1 { font-size: 36px; }
    .qw-step legend { font-size: 25px; }
    .qw-checks { grid-template-columns: 1fr; }
    .qw-types { gap: 10px; }
    .qw-type { padding: 16px 14px; }
    .qw-summary, .qw-next { padding: 24px 20px; }
    .qw-summary dl > div { grid-template-columns: 1fr; gap: 2px; }
    .qw-nav { flex-wrap: wrap; }
    .qw-msg { order: 3; width: 100%; }
}


/* =========================================================
   About page: /about
   ========================================================= */
.about-more { margin-top: 26px; }
.ab-story { padding-bottom: 60px; }
.ab-story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.ab-big { font-family: var(--f-display); font-weight: 800; font-size: 50px; line-height: 1.08; letter-spacing: -.025em; margin-top: 20px; }
.ab-text { display: grid; gap: 18px; padding-top: 8px; }
.ab-text p { font-size: 17.5px; line-height: 1.75; }
.ab-text p:first-child { font-family: var(--f-head); font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--ink); }
.ab-values { background: var(--lav); }
.ab-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ab-value { padding: 34px 30px 36px; border-radius: 24px; background: var(--card-solid, #fff); border: 1px solid var(--line); }
.ab-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 14px; margin-bottom: 22px; }
.ab-value:nth-child(2) .ab-n { background: var(--violet); }
.ab-value:nth-child(3) .ab-n { background: var(--pink); }
.ab-value h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.ab-value p { font-size: 16px; line-height: 1.7; }
.ab-do-grid { grid-template-columns: repeat(3, 1fr); }
.ab-work-grid { grid-template-columns: repeat(4, 1fr); }
[data-theme="dark"] .ab-value { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .ab-values { background: transparent; }
@media (max-width: 991px) {
    .ab-story-grid { grid-template-columns: 1fr; gap: 30px; }
    .ab-big { font-size: 40px; }
    .ab-value-grid, .ab-do-grid { grid-template-columns: 1fr; }
    .ab-work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .ab-big { font-size: 33px; }
    .ab-work-grid { grid-template-columns: 1fr; }
    .ab-value { padding: 26px 22px 28px; }
}
.grad { background: linear-gradient(90deg, var(--indigo), var(--violet) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* Back to top: a round arrow in the corner, shown after scrolling down */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 50px; height: 50px; border: 0; border-radius: 50%; display: grid; place-items: center;
    background: var(--indigo); color: #fff; box-shadow: 0 14px 28px -12px rgba(83, 91, 208, .85), 0 0 0 4px rgba(255, 255, 255, .85);
    opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), background-color .2s ease; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--indigo-700); }
.to-top svg { transition: transform .25s ease; }
.to-top:hover svg { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid rgba(83, 91, 208, .5); outline-offset: 4px; }
[data-theme="dark"] .to-top { box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .8), 0 0 0 4px rgba(13, 12, 36, .9); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top svg { transition: none; } }


/* ---------- Scroll performance ---------- */
/* The reading-progress line follows the scroll position by itself in the browser (no JavaScript per frame). */
@supports (animation-timeline: scroll()) {
    .scroll-progress span { animation: sp-grow linear both; animation-timeline: scroll(root block); }
    @keyframes sp-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* With the mobile menu open the page behind it stays still (this used to be done by Lenis, which no longer runs on phones) */
@media (max-width: 991px) {
    body.nav-open { overflow: hidden; }
}

/* ---------- Phone: arrow buttons ---------- */
/* On phones every arrow button runs the full width, with the label on the left and the arrow circle at the far end
   (the hero buttons always did this; the others stopped at the end of their text). */
@media (max-width: 640px) {
    .btn-arrow { width: 100%; justify-content: space-between; }
    .qw-nav .btn-arrow { width: auto; }          /* the wizard keeps Back and Next side by side */
}

/* ---------- About tile with the phone ---------- */
/* One composition at every size: the phone rises from the bottom edge, straight and uncropped at the sides,
   and the "Works on any phone" note sits in the free corner on one line instead of covering the screen. */
.at-phone { justify-content: flex-end; align-items: center; min-height: 300px; }
.at-phone .phone-sm { width: 176px; height: 292px; margin-bottom: -84px; border-radius: 32px; padding: 8px; transform: none; box-shadow: 0 30px 50px -22px rgba(10, 8, 50, .6); }
.at-phone:hover .phone-sm { transform: translateY(-8px); }
.at-phone .at-chip { top: 16px; left: 16px; right: auto; bottom: auto; white-space: nowrap; font-size: 12.5px; padding: 8px 13px; }
.at-phone { overflow: hidden; }
.at-phone::before { content: ""; position: absolute; left: 50%; bottom: -60px; width: 300px; height: 300px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.38), rgba(255,255,255,0) 66%); pointer-events: none; }
.at-phone .phone-sm { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 5px rgba(255,255,255,.1), 0 34px 50px -20px rgba(10, 8, 50, .65); -webkit-mask-image: linear-gradient(#000 58%, transparent 96%); mask-image: linear-gradient(#000 58%, transparent 96%); }
.at-phone .at-chip { z-index: 2; }
.at-phone .at-chip2 { top: auto; left: auto; right: 12px; bottom: 6px; z-index: 2; position: absolute; display: flex; align-items: center; gap: 7px; background: #fff; color: var(--ink-2); font-size: 11.5px; font-weight: 600; padding: 5px 10px 5px 6px; border-radius: 12px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); animation: chip-bob 4s ease-in-out infinite; }
.at-phone .at-chip2 i { width: 22px; height: 22px; border-radius: 50%; background: #e6f6ec; color: var(--ok); display: grid; place-items: center; font-style: normal; font-size: 12px; }
@keyframes chip-bob { 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .at-phone .at-chip2 { animation: none; } }
@media (max-width: 640px) {
    /* the phone gets a full-width tile on phones (two narrow columns were too small for it); the two stat tiles share the row above */
    .at-indigo { order: 1; }
    .at-dark { order: 2; grid-column: auto; flex-direction: column; justify-content: center; text-align: center; gap: 0; }
    .at-dark .ring { margin-bottom: 12px; width: 96px; height: 96px; }
    .at-phone { order: 3; grid-column: 1 / -1; min-height: 330px; }
    .at-phone .phone-sm { width: 184px; height: 306px; }
    .at-phone .at-chip { left: 16px; right: auto; font-size: 12.5px; }
    .at-pills { order: 4; }
}
/* the booking and menu buttons centred their text with older, more specific rules: same layout as the others */
@media (max-width: 991px) { .nav-mobile-actions .btn { justify-content: space-between; } }

/* =========================================================
   Roadmap: a project timeline, drawn like the app it will become
   ========================================================= */
.roadmap-x { padding: 20px 0 100px; }
.rm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.rm-head h2 { font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 1.08; letter-spacing: -.02em; margin: 16px 0 14px; }
.rm-head p { max-width: 540px; font-size: 17px; line-height: 1.6; color: var(--text); }
.rm-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rm-note { font-size: 14px; color: var(--muted); }
.rm-note b { margin-right: 4px; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--ink); }

/* the soft stage the window sits on */
.rm-stage { position: relative; padding: 56px 72px 76px; border-radius: 32px; background:
    radial-gradient(55% 80% at 100% 0%, rgba(145, 99, 221, .16), transparent 62%),
    radial-gradient(50% 70% at 0% 100%, rgba(83, 91, 208, .13), transparent 62%), var(--lav); }
.rm-window { display: grid; grid-template-columns: 252px 1fr; background: #fff; border: 1px solid #ececf5; border-radius: 26px; overflow: hidden;
    box-shadow: 0 44px 80px -50px rgba(30, 28, 80, .5), 0 2px 6px rgba(30, 28, 80, .05); }

/* tones: one set of colours per phase */
.t-indigo { --c: #535bd0; --c-50: #eef0ff; --bar: linear-gradient(135deg, #6f77ec, #535bd0); }
.t-violet { --c: #9163dd; --c-50: #f3edfd; --bar: linear-gradient(135deg, #ad8be9, #9163dd); }
.t-pink { --c: #ff68c6; --c-50: #ffeaf6; --bar: linear-gradient(135deg, #ff8fd4, #ff68c6); }

/* left: the phases */
.rm-side { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 28px; background: #fcfcff; border-right: 1px solid #f0f0f8; }
.rm-side-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.rm-side h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.rm-side > p { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.rm-team { display: flex; align-items: center; gap: 12px; margin: 2px 0 8px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.rm-avs { display: flex; flex: none; }
.rm-avs i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; font: 700 10.5px var(--f-head); font-style: normal; color: #fff; }
.rm-avs i.a { background: var(--indigo); }
.rm-avs i.b { margin-left: -9px; background: var(--pink); }
.rm-phase { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1px 8px; padding: 14px 16px 16px; border-radius: 16px; background: var(--c-50); }
.rm-phase b { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--ink); }
.rm-phase em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--c); }
.rm-phase small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.rm-phase i { grid-column: 1 / -1; position: relative; display: block; height: 5px; margin-top: 10px; border-radius: 5px; background: rgba(10, 13, 18, .07); overflow: hidden; }
.rm-phase i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 5px; background: var(--c); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .9s; }

/* right: the timeline */
.rm-main { min-width: 0; padding: 22px 26px 20px 24px; }
.rm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rm-crumb { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.rm-chip { padding: 5px 12px; border-radius: 20px; background: var(--pink-50); color: #d6409c; font: 600 12px var(--f-head); }
.rm-time { --label: 196px; --at: .3; position: relative; padding-bottom: 38px; }
.rm-weeks { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; height: 34px; margin-left: var(--label); }
.rm-weeks span { padding-left: 10px; font: 600 12px var(--f-head); color: var(--muted); }
.rm-lines { position: absolute; z-index: 0; left: var(--label); right: 0; top: 0; bottom: 38px; display: grid; grid-template-columns: 2fr 2fr 2fr 2fr 4fr; pointer-events: none; }
.rm-lines i { border-left: 1px dashed #e3e4f1; }
.rm-lines i:last-child { border-radius: 0 0 14px 0; background: linear-gradient(180deg, rgba(255, 104, 198, .09), rgba(255, 104, 198, .02)); }
.rm-rows { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.rm-row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; height: 52px; }
.rm-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rm-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--c-50); color: var(--c); }
.rm-label b { display: block; font: 600 14px/1.2 var(--f-head); color: var(--ink); white-space: nowrap; }
.rm-label small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.rm-lane { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; height: 100%; }
.rm-bar { grid-column: var(--from) / var(--to); display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 12px; background: var(--bar); color: #fff;
    font: 600 12.5px var(--f-head); white-space: nowrap; overflow: hidden; box-shadow: 0 12px 20px -14px var(--c); transition: transform .25s ease, box-shadow .25s ease; }
.rm-bar > span { overflow: hidden; text-overflow: ellipsis; }
.rm-bar.is-now > span { text-shadow: 0 1px 3px rgba(55, 30, 130, .45); }
.rm-row:hover .rm-bar { transform: translateY(-2px); box-shadow: 0 16px 24px -14px var(--c); }
/* the step in progress is striped, like the reference */
.rm-bar.is-now { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .13) 0 8px, rgba(255, 255, 255, 0) 8px 16px), var(--bar); box-shadow: 0 12px 20px -14px var(--c), 0 0 0 3px rgba(145, 99, 221, .16); }

/* "you are here" */
.rm-now { position: absolute; z-index: 2; left: calc(var(--label) + (100% - var(--label)) * var(--at)); top: 6px; bottom: 38px; width: 2px; margin-left: -1px; border-radius: 2px;
    background: linear-gradient(180deg, var(--pink), rgba(255, 104, 198, .3)); pointer-events: none; transform-origin: top center; transition: transform .9s cubic-bezier(.2, .7, .2, 1) 1.1s; }
.rm-now::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 104, 198, .22); }
.rm-now em { position: absolute; top: 100%; left: 50%; margin-top: 7px; padding: 4px 11px; border-radius: 20px; background: var(--pink); color: #fff; font: 600 11.5px var(--f-head); font-style: normal; white-space: nowrap; transform: translateX(-50%); }

/* two small cards that overhang the window */
.rm-float { position: absolute; z-index: 3; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #ececf5; box-shadow: 0 34px 56px -30px rgba(30, 28, 80, .55);
    transition: opacity .6s ease 1.3s, transform .7s cubic-bezier(.2, .7, .2, 1) 1.3s; }
.rm-f-go { top: 152px; right: 30px; width: 236px; }
.rm-f-demo { left: 30px; bottom: 8px; width: 226px; }
.rm-float p { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--text); }
.rm-f-h { display: flex; align-items: center; gap: 10px; }
.rm-f-h b { display: block; font: 700 14px/1.2 var(--f-head); color: var(--ink); }
.rm-f-h small { display: block; font-size: 12px; color: var(--muted); }
.rm-f-h em { margin-left: auto; font-style: normal; font: 700 13px var(--f-head); color: var(--c, var(--indigo)); }
.rm-f-demo .rm-f-h em { color: #7a4fd0; }
.rm-f-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--c-50); color: var(--c); }
.rm-f-bar { position: relative; height: 6px; margin: 12px 0 10px; border-radius: 6px; background: rgba(10, 13, 18, .07); overflow: hidden; }
.rm-f-bar i { position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #ad8be9, #9163dd); }
.rm-f-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-f-tags span { padding: 3px 10px; border-radius: 20px; background: var(--c-50, #f3edfd); color: #7a4fd0; font: 600 11.5px var(--f-head); }
.rm-f-demo .rm-f-tags span { background: #f3edfd; }

/* entrance: the bars slide in one after another when the section scrolls into view */
.rm-bar { transition: transform .25s ease, box-shadow .25s ease, opacity .5s ease calc(var(--i, 0) * .09s + .15s), translate .7s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * .09s + .15s); }
.js-motion .roadmap-panel:not(.drawn) .rm-bar { opacity: 0; translate: -18px 0; }
.js-motion .roadmap-panel:not(.drawn) .rm-now { transform: scaleY(0); }
.js-motion .roadmap-panel:not(.drawn) .rm-float { opacity: 0; transform: translateY(14px); }
.js-motion .roadmap-panel:not(.drawn) .rm-phase i::after { transform: scaleX(0); }

/* dark mode: the window stays a calm light surface in a darker room */
[data-theme="dark"] .rm-window { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .rm-side { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .rm-float { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .rm-phase, [data-theme="dark"] .rm-ic, [data-theme="dark"] .rm-f-ic { background: color-mix(in srgb, var(--c) 18%, transparent); }
[data-theme="dark"] .rm-lines i { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .rm-phase i, [data-theme="dark"] .rm-f-bar { background: rgba(255, 255, 255, .1); }
[data-theme="dark"] .rm-f-tags span, [data-theme="dark"] .rm-f-demo .rm-f-tags span { background: rgba(145, 99, 221, .2); color: #c2a2f5; }
[data-theme="dark"] .rm-avs i { border-color: var(--surface-2); }

/* short bars have no room for their caption on narrower screens (it is also written under each step name) */
@media (max-width: 1280px) { .rm-bar.is-short > span { display: none; } }
@media (max-width: 1100px) {
    .rm-float { display: none; }
    .rm-stage { padding: 44px 40px 52px; }
}
@media (max-width: 991px) {
    .rm-head h2 { font-size: 42px; }
    .rm-window { grid-template-columns: 1fr; }
    .rm-side { display: none; }
    .rm-time { --label: 176px; }
}
/* phones: a plain list. Each step shows its week as a badge, with one slim progress-style track under it */
.rm-wk, .rm-tabs, .rm-desc { display: none; }
@media (max-width: 640px) {
    /* header: plain text tabs with a sliding underline, then a week scrubber that lights up where the current step sits */
    .rm-tabbed .rm-tabs { display: block; margin-bottom: 8px; }
    .rm-tablist { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #ececf6; }
    .rm-tablist button { padding: 10px 4px 12px; border: 0; background: none; color: #9a9bb3; font: 600 14.5px var(--f-head); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .45s ease; }
    .rm-tablist button.is-on { color: var(--ink); }
    .rm-ink { position: absolute; left: 0; bottom: -1px; height: 3px; width: var(--iw, 33%); border-radius: 3px; background: var(--wc, var(--violet)); transform: translateX(var(--ix, 0px)); transition: transform .6s cubic-bezier(.65, 0, .2, 1), width .6s cubic-bezier(.65, 0, .2, 1), background-color .6s ease; }
    .rm-scrub { padding: 14px 2px 4px; }
    .rm-scrub-track { position: relative; height: 8px; border-radius: 8px; background: #f0f0f8; }
    .rm-scrub-win { position: absolute; top: 0; bottom: 0; left: var(--wl, 0%); width: var(--ww, 20%); border-radius: 8px; background: var(--wc, var(--violet)); transition: left .7s cubic-bezier(.65, 0, .2, 1), width .7s cubic-bezier(.65, 0, .2, 1), background-color .7s ease; }
    .rm-scrub-weeks { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 7px; font: 600 10.5px var(--f-head); letter-spacing: .02em; color: #9a9bb3; }
    .rm-scrub-weeks span { padding-left: 1px; }
    .rm-tabbed .rm-time[data-phase="understand"] .rm-row:not([data-phase="understand"]),
    .rm-tabbed .rm-time[data-phase="build"] .rm-row:not([data-phase="build"]),
    .rm-tabbed .rm-time[data-phase="launch"] .rm-row:not([data-phase="launch"]) { display: none; }
    .rm-tabbed .rm-time { min-height: 352px; }
    /* the tour spotlights one step at a time and explains it */
    .rm-tabbed .rm-row { border-radius: 16px; transition: background .6s ease, opacity .6s ease, padding .6s ease, margin .6s ease; }
    .rm-time.is-tour .rm-row:not(.is-active) { opacity: .45; }
    .rm-tabbed .rm-row.is-active { opacity: 1; margin: 0 -10px; padding-left: 10px; padding-right: 10px; background: linear-gradient(180deg, var(--c-50), rgba(255, 255, 255, 0)); border-top-color: transparent; }
    .rm-tabbed .rm-desc { display: block; max-height: 0; margin: -10px 0 0; opacity: 0; overflow: hidden; font-size: 13.5px; line-height: 1.5; color: var(--text); transition: max-height .7s cubic-bezier(.4, 0, .2, 1), margin .7s cubic-bezier(.4, 0, .2, 1), opacity .6s ease; }
    .rm-tabbed .rm-row.is-active .rm-desc { max-height: 84px; margin-top: 0; opacity: 1; }
    .rm-tabbed .rm-row.is-active .rm-bar { height: 12px; box-shadow: 0 6px 14px -6px var(--c); }
    .rm-tabbed .rm-row.is-active .rm-lane { height: 12px; }
    .rm-tabbed .rm-time .rm-row[data-phase] { animation: rm-in .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k, 0) * .14s); }
    .rm-tabbed .rm-time.rm-leaving .rm-row { opacity: 0 !important; transform: translateY(-8px); transition: opacity .24s ease, transform .24s ease; }
    .rm-tabbed .rm-row .rm-bar { animation: rm-grow 1s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k, 0) * .14s + .2s); transform-origin: left center; }
    .rm-tabbed .rm-row .rm-wk { animation: rm-in .5s ease backwards; animation-delay: calc(var(--k, 0) * .14s + .3s); }
    @keyframes rm-grow { from { transform: scaleX(0); opacity: 0; } }
    .rm-tabbed .rm-time .rm-row:nth-child(n) { border-top: 1px solid #f0f0f8; }
    @keyframes rm-in { from { opacity: 0; transform: translateY(8px); } }
    [data-theme="dark"] .rm-tablist { border-color: rgba(255, 255, 255, .1); }
    [data-theme="dark"] .rm-scrub-track { background: rgba(255, 255, 255, .08); }
    [data-theme="dark"] .rm-tablist button.is-on { color: #fff; }
    .rm-head h2 { font-size: 36px; }
    .rm-stage { padding: 12px; border-radius: 24px; }
    .rm-window { border-radius: 20px; }
    .rm-main { padding: 14px 16px 6px; }
    .rm-time { --label: 0px; padding-bottom: 4px; }
    .rm-weeks, .rm-lines, .rm-now { display: none; }
    .rm-row { grid-template-columns: 1fr; gap: 10px; height: auto; padding: 14px 0; border-top: 1px solid #f0f0f8; }
    .rm-row:first-child { border-top: 0; }
    .rm-label { gap: 12px; }
    .rm-label > div { flex: 1; min-width: 0; }
    .rm-label b { font-size: 15px; }
    .rm-wk { display: inline-block; flex: none; padding: 4px 10px; border-radius: 20px; background: var(--c-50); color: var(--c); font: 600 11.5px var(--f-head); white-space: nowrap; }
    .rm-lane { height: 10px; border-radius: 10px; background: #f1f1f9; }
    .rm-bar { height: 10px; padding: 0; border-radius: 10px; box-shadow: none; }
    .rm-bar.is-now { box-shadow: 0 0 0 3px rgba(145, 99, 221, .18); }
    .rm-row:hover .rm-bar { transform: none; box-shadow: none; }
    .rm-bar > span { display: none; }
    [data-theme="dark"] .rm-lane { background: rgba(255, 255, 255, .08); }
    [data-theme="dark"] .rm-row { border-color: var(--border); }
}
@media (prefers-reduced-motion: reduce) {
    .rm-tabbed .rm-row, .rm-tabbed .rm-row .rm-bar, .rm-tabbed .rm-row .rm-wk { animation: none !important; }
    .rm-bar, .rm-now, .rm-float, .rm-phase i::after { transition: none; }
}

/* ---------- Home: the two ways to work with us ---------- */
.paths { padding: 44px 0 8px; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { position: relative; display: flex; flex-direction: column; min-height: 560px; padding: 40px 40px 0; border-radius: 32px; overflow: hidden; }
.path-no { display: inline-flex; align-items: center; gap: 10px; font: 600 13px var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.path-no b { font-weight: 800; }
.path-card .mix { font-size: 42px; margin: 18px 0 14px; }
.path-card > p { max-width: 380px; font-size: 16.5px; line-height: 1.6; }
.path-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.path-ready { background: #f2f2fd; }
.path-ready .path-no { color: var(--indigo); }
.path-ready > p { color: var(--text); }
.path-custom { background: var(--navy, #17133f); color: #fff; }
.path-custom .path-no { color: var(--pink); }
.path-custom .mix { color: #fff; }
.path-custom > p { color: rgba(255, 255, 255, .72); }
.path-custom .text-link { color: #fff; }

/* the picture in each card rises from the bottom edge, like the phone tile above */
.path-art { position: relative; flex: 1; min-height: 210px; margin: 24px -40px 0; }
.pm { position: absolute; bottom: -18px; width: 31%; padding: 16px 16px 40px; border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -14px 34px -18px rgba(30, 28, 80, .4); display: grid; gap: 2px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.pm i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px; background: var(--indigo-50); color: var(--indigo); }
.pm b { font: 700 15px var(--f-head); color: var(--ink); }
.pm small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.pm em { position: absolute; right: 14px; top: 14px; font: 600 11px var(--f-head); font-style: normal; color: #139a5b; }
.pm em::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #1fbf75; }
.pm-1 { left: 5%; height: 176px; transform: rotate(-3deg); }
.pm-2 { left: 36%; height: 196px; z-index: 1; }
.pm-2 i { background: var(--violet-50); color: var(--violet); }
.pm-3 { left: 67%; height: 170px; transform: rotate(3deg); }
.pm-3 i { background: var(--pink-50); color: #e04aaa; }
.path-ready:hover .pm-1 { transform: rotate(-3deg) translateY(-8px); }
.path-ready:hover .pm-2 { transform: translateY(-12px); }
.path-ready:hover .pm-3 { transform: rotate(3deg) translateY(-8px); }

.bp { position: absolute; left: 9%; right: 9%; top: 6px; bottom: -30px; border: 2px dashed rgba(255, 255, 255, .3); border-bottom: 0; border-radius: 22px 22px 0 0;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 22px); }
.bp i { position: absolute; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .18); }
.bp-bar { left: 5%; right: 5%; top: 14px; height: 26px; }
.bp-a { left: 5%; top: 54px; width: 38%; height: 70px; background: rgba(255, 104, 198, .22) !important; border-color: rgba(255, 104, 198, .5) !important; }
.bp-b { right: 5%; top: 54px; width: 49%; height: 32px; }
.bp-c { right: 5%; top: 96px; width: 49%; height: 80px; }
.bp-chip { position: absolute; left: 3%; top: -2px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; background: #fff; color: var(--ink); font: 600 13px var(--f-head); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); }
.bp-chip .icon { color: var(--indigo); }
/* the cursor "draws" the layout: site.js drags it across each block in turn (the blocks are hidden until then) */
.bp-tag { position: absolute; z-index: 3; left: 76%; top: 150px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--pink); pointer-events: none; }
.bp-tag b { margin-left: 10px; padding: 4px 11px; border-radius: 6px; background: var(--pink); color: #fff; font: 600 13px var(--f-head); white-space: nowrap; }
.js-motion .bp i { clip-path: inset(0 100% 100% 0); }
.js-motion .bp-tag { left: 0; top: 0; opacity: 0; will-change: transform; }
.js-motion .bp-chip { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js-motion .is-built .bp-chip { opacity: 1; transform: none; transition-delay: .1s; }
@media (prefers-reduced-motion: reduce) { .pm { transition: none; } }
[data-theme="dark"] .path-ready { background: var(--surface-2); }
[data-theme="dark"] .path-ready .mix { color: #fff; }
[data-theme="dark"] .pm { background: var(--surface); }
[data-theme="dark"] .pm b { color: #fff; }
@media (max-width: 900px) { .paths-grid { grid-template-columns: 1fr; } .path-card { min-height: 0; padding: 32px 26px 0; } .path-card .mix { font-size: 36px; } .path-art { margin: 26px -26px 0; min-height: 250px; }
    .path-ready .path-art { min-height: 168px; } }
@media (max-width: 640px) {
    .path-card .mix { font-size: 31px; }
    .path-actions { flex-direction: column; align-items: stretch; }
    .path-actions .text-link { justify-content: center; }
    .pm { padding: 12px 10px 30px; }
    .pm small { display: none; }
    .pm em { display: none; }
    .pm i { width: 34px; height: 34px; margin-bottom: 8px; }
    .pm b { font-size: 13.5px; }
    .pm-1, .pm-2, .pm-3 { height: 120px; }
    .pm-2 { height: 138px; }
}

/* ---------- Pricing: monthly / yearly switch ---------- */
.bill-toggle { display: flex; width: fit-content; margin: -8px auto 40px; padding: 5px; border-radius: 40px; background: var(--indigo-50, #eef0ff); }
.bill-toggle button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: 30px; background: none; color: var(--muted); font: 700 14.5px var(--f-head); cursor: pointer; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.bill-toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(30, 28, 80, .45); }
.bill-toggle em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: var(--pink-50); color: #d6409c; }
[data-theme="dark"] .bill-toggle { background: rgba(255, 255, 255, .06); }
[data-theme="dark"] .bill-toggle button.on { background: var(--surface-2); color: #fff; }
.price-amount strong span { font-size: inherit; color: inherit; }

/* ---------- Quote wizard: white card so the option boxes stand out, evenly spaced steps ---------- */
.qw { background: #fff; border-color: #e8e8f4; padding: 36px 40px 40px; }
[data-theme="dark"] .qw { background: var(--surface); border-color: var(--border); }
.qw-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qw-dots li { min-width: 0; }
.qw-dots li b { font-weight: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qw-dots li span { background: #eeeefa; }
.qw-bar { background: #eeeefa; height: 5px; }
.qw-type { background: #f7f7fe; border-color: #e6e6f4; padding: 22px 18px; }
.qw-type:hover { background: #fff; }
.qw-check, .qw-row { background: #f7f7fe; border-color: #e6e6f4; }
[data-theme="dark"] .qw-type, [data-theme="dark"] .qw-check, [data-theme="dark"] .qw-row { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .qw-dots li span, [data-theme="dark"] .qw-bar { background: rgba(255, 255, 255, .08); }
@media (max-width: 640px) {
    .qw { padding: 26px 20px 28px; }
    .qw-dots { grid-template-columns: auto repeat(3, 1fr); }
    .qw-dots li:not(.on) b { display: none; }
}

/* ---------- Custom page: core services ---------- */
.cs-wrap { padding-top: 56px; }
.cs { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.cs-tabs { display: grid; gap: 10px; }
.cs-tabs button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1.5px solid #e6e6f4; border-radius: 18px; background: #fff; color: var(--ink); font: 700 15.5px/1.25 var(--f-head); text-align: left; cursor: pointer; transition: border-color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.cs-tabs button:hover { border-color: color-mix(in srgb, var(--indigo) 45%, #e6e6f4); transform: translateX(3px); }
.cs-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--indigo-50); color: var(--indigo); transition: background-color .25s ease, color .25s ease; }
.cs-name { flex: 1; }
.cs-go { flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease; }
.cs-tabs button.is-on { border-color: var(--indigo); background: var(--indigo-50); box-shadow: 0 18px 30px -22px rgba(83, 91, 208, .7); }
.cs-tabs button.is-on .cs-ic { background: var(--indigo); color: #fff; }
.cs-tabs button.is-on .cs-go { opacity: 1; transform: none; color: var(--indigo); }
.cs-panels { min-width: 0; }
.cs-panel { padding: 38px 40px 34px; border-radius: 28px; background: #fff; border: 1px solid #e8e8f4; box-shadow: 0 40px 70px -56px rgba(30, 28, 80, .5); }
.cs-js .cs-panel { animation: cs-in .5s cubic-bezier(.2, .7, .2, 1); }
.cs:not(.cs-js) .cs-panel + .cs-panel { margin-top: 20px; }
@keyframes cs-in { from { opacity: 0; transform: translateY(12px); } }
.cs-panel h3 { font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 10px; }
.cs-lead { max-width: 560px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 28px; padding-top: 26px; border-top: 1px solid #efeff8; }
.cs-cols h4 { font: 700 16px var(--f-head); margin-bottom: 14px; color: var(--ink); }
.cs-cols h4 span { font-weight: 500; font-size: 13px; color: var(--muted); }
.cs-cols .checks li { font-size: 15px; }
.cs-q { margin: 0 0 9px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.cs-q:not(:first-of-type) { margin-top: 18px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chip { position: relative; cursor: pointer; }
.cs-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cs-chip span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 20px; border: 1.5px solid #e3e3f2; background: #f7f7fe; font: 600 13.5px var(--f-head); color: var(--ink); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.cs-chip:hover span { border-color: color-mix(in srgb, var(--indigo) 50%, #e3e3f2); }
.cs-chip input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.cs-chip input:focus-visible + span { outline: 3px solid rgba(83, 91, 208, .45); outline-offset: 2px; }
.cs-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #efeff8; }
.cs-or { font-size: 14.5px; color: var(--muted); }
.cs-or a { color: var(--indigo); font-weight: 600; }
[data-theme="dark"] .cs-tabs button, [data-theme="dark"] .cs-panel { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .cs-tabs button.is-on { background: color-mix(in srgb, var(--indigo) 22%, var(--surface)); }
[data-theme="dark"] .cs-chip span { background: var(--surface-2); border-color: var(--border); color: #fff; }
[data-theme="dark"] .cs-cols, [data-theme="dark"] .cs-foot { border-color: var(--border); }
@media (max-width: 991px) {
    .cs { grid-template-columns: 1fr; gap: 18px; }
    .cs-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 4px 24px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
    .cs-tabs::-webkit-scrollbar { display: none; }
    .cs-tabs button { flex: none; width: auto; padding: 12px 16px 12px 12px; border-radius: 40px; scroll-snap-align: start; white-space: nowrap; }
    .cs-tabs button:hover { transform: none; }
    .cs-ic { width: 34px; height: 34px; border-radius: 50%; }
    .cs-ic svg { width: 18px; height: 18px; }
    .cs-go { display: none; }
}
@media (max-width: 700px) {
    .cs-panel { padding: 26px 22px 24px; border-radius: 24px; }
    .cs-panel h3 { font-size: 26px; }
    .cs-cols { grid-template-columns: 1fr; gap: 26px; }
    .cs-foot { flex-direction: column; align-items: stretch; }
    .cs-or { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .cs-js .cs-panel { animation: none; } }
@media (max-width: 700px) { .cs-tabs { margin: 0 -16px; padding: 4px 16px 8px; } }

/* ---------- Booking: one question per screen ---------- */
.bk { max-width: 760px; margin: 0 auto; padding: 30px 40px 36px; background: #fff; border: 1px solid #e8e8f4; border-radius: 28px; box-shadow: 0 40px 70px -56px rgba(30, 28, 80, .45); }
.bk .hp { position: absolute; left: -9999px; }
.bk-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bk-host { display: flex; align-items: center; gap: 12px; }
.bk-host img { width: 38px; height: auto; }
.bk-host b { display: block; font: 700 15px var(--f-head); color: var(--ink); }
.bk-host small { display: block; margin-top: 1px; font-size: 13px; color: var(--muted); }
.bk-count { font: 600 13px var(--f-head); color: var(--muted); }
.bk:not(.bk-js) .bk-count, .bk:not(.bk-js) .bk-bar { display: none; }
.bk-bar { height: 3px; margin-bottom: 34px; border-radius: 3px; background: #eeeef8; overflow: hidden; }
.bk-bar i { display: block; height: 100%; width: 25%; background: var(--indigo); border-radius: 3px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.bk-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.bk-step[hidden] { display: none; }
.bk:not(.bk-js) .bk-step + .bk-step { margin-top: 44px; padding-top: 34px; border-top: 1px solid #eeeef8; }
.bk-js .bk-step { animation: bk-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes bk-in { from { opacity: 0; transform: translateY(10px); } }
.bk-step legend { padding: 0; margin-bottom: 8px; font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); outline: none; }
.bk-sub { margin: 0 0 24px; font-size: 16px; color: var(--muted); }
.bk-step legend + .bk-when { margin-top: 22px; }
.bk-rows { display: grid; gap: 10px; }
.bk-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid #e6e6f2; border-radius: 14px; font-size: 16.5px; color: var(--ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.bk-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c8c9dc; transition: border-color .2s ease, box-shadow .2s ease; }
.bk-row:hover { border-color: color-mix(in srgb, var(--indigo) 45%, #e6e6f2); }
.bk-row:has(input:checked) { border-color: var(--indigo); background: var(--indigo-50); }
.bk-row input:checked ~ .bk-radio { border-color: var(--indigo); box-shadow: inset 0 0 0 5px var(--indigo); }
.bk-row:has(input:focus-visible) { outline: 3px solid rgba(83, 91, 208, .4); outline-offset: 2px; }
.bk-note { margin-top: 22px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.bk-note a, .bk .book-empty a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bk-err { margin-top: 12px; color: #c0305a; font-size: 14.5px; }
.bk-when { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; }
.cal { min-width: 0; }
.bk .cal-title { margin: 0; font: 700 17px var(--f-head); }
.bk .times { padding: 0; background: none; border: 0; }
.bk .times-day { margin: 0 0 14px; min-height: 22px; }
.bk .times .slot span { background: #fff; }
.bk .times .slot input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.bk-sum { display: grid; gap: 0; margin: 26px 0 0; border-top: 1px solid #eeeef8; }
.bk-sum > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid #eeeef8; }
.bk-sum dt { font-size: 14px; color: var(--muted); }
.bk-sum dd { margin: 0; font: 600 15.5px var(--f-head); color: var(--ink); overflow-wrap: anywhere; }
.bk-msg { margin: 22px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff1f4; color: #a3203f; font-size: 14.5px; }
.bk-nav { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #eeeef8; }
.bk-nav .btn { margin-left: auto; }
.bk-nav [hidden] { display: none !important; }
.bk:not(.bk-js) [data-bk-next], .bk:not(.bk-js) [data-bk-back] { display: none; }
.bk-back { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 15.5px var(--f-head); color: var(--text); cursor: pointer; }
.bk-back:hover { color: var(--indigo); }
.bk .form-row { margin-bottom: 4px; }
[data-theme="dark"] .bk { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .bk-bar { background: rgba(255, 255, 255, .1); }
[data-theme="dark"] .bk-row { border-color: var(--border); }
[data-theme="dark"] .bk-row:has(input:checked) { background: color-mix(in srgb, var(--indigo) 22%, var(--surface)); }
[data-theme="dark"] .bk-sum, [data-theme="dark"] .bk-sum > div, [data-theme="dark"] .bk-nav { border-color: var(--border); }
[data-theme="dark"] .bk .times .slot span { background: var(--surface-2); }
[data-theme="dark"] .bk .times .slot input:checked + span { background: var(--indigo); color: #fff; }
@media (max-width: 760px) {
    .bk { padding: 22px 20px 26px; border-radius: 24px; }
    .bk-step legend { font-size: 26px; }
    .bk-when { grid-template-columns: 1fr; gap: 26px; }
    .bk-sum > div { grid-template-columns: 70px 1fr; }
}
@media (max-width: 640px) { .bk-nav .btn { flex: 1; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .bk-js .bk-step { animation: none; } }

/* looping animations pause while their section is off screen (see site.js) */
.is-offscreen .cursor-tag > *, .is-offscreen .at-chip2 { animation-play-state: paused; }
.form-errors { margin-bottom: 22px; padding: 14px 18px; border-radius: 14px; background: #fff1f4; color: #a3203f; font-size: 15px; }

/* ---------- Core services: a little more finish ---------- */
.cs-tabs button { padding: 14px 16px; align-items: center; }
.cs-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cs-txt .cs-name { font: 700 15.5px/1.25 var(--f-head); color: var(--ink); }
.cs-txt small { font: 500 13px/1.3 var(--f-body, inherit); color: var(--muted); }
.cs-tabs button.is-on .cs-txt small { color: color-mix(in srgb, var(--indigo) 70%, var(--muted)); }
.cs-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.cs-ic-lg { width: 58px; height: 58px; border-radius: 17px; background: var(--indigo); color: #fff; box-shadow: 0 16px 26px -16px rgba(83, 91, 208, .9); }
.cs-no { display: block; margin-bottom: 4px; font: 700 12px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.cs-head h3 { margin: 0; }
.cs-lead { margin-bottom: 4px; }
.cs-gets { padding: 22px 22px 18px; border-radius: 20px; background: #f6f6fe; border: 1px solid #ececf8; align-self: start; }
.cs-gets .checks { display: grid; gap: 14px; }
.cs-gets .checks li { align-items: flex-start; }
.cs-chip span .icon { width: 0; margin-right: -7px; opacity: 0; transition: width .2s ease, margin .2s ease, opacity .2s ease; }
.cs-chip input:checked + span .icon { width: 13px; margin-right: 0; opacity: 1; }
.cs-picked { flex: 1 1 100%; order: 3; font-size: 14px; color: var(--muted); }
.cs-foot .btn { order: 1; }
.cs-or { order: 2; }
.cs-foot { align-items: center; }
.cs-js .cs-panel .cs-head, .cs-js .cs-panel .cs-lead, .cs-js .cs-panel .cs-cols, .cs-js .cs-panel .cs-foot { animation: cs-rise .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.cs-js .cs-panel .cs-lead { animation-delay: .06s; }
.cs-js .cs-panel .cs-cols { animation-delay: .12s; }
.cs-js .cs-panel .cs-foot { animation-delay: .18s; }
@keyframes cs-rise { from { opacity: 0; transform: translateY(14px); } }
[data-theme="dark"] .cs-gets { background: var(--surface-2); border-color: var(--border); }
@media (max-width: 991px) { .cs-txt small { display: none; } .cs-tabs button { padding: 12px 16px 12px 12px; } }
@media (max-width: 700px) { .cs-ic-lg { width: 48px; height: 48px; border-radius: 14px; } .cs-gets { padding: 18px 18px 14px; } }
@media (prefers-reduced-motion: reduce) { .cs-js .cs-panel .cs-head, .cs-js .cs-panel .cs-lead, .cs-js .cs-panel .cs-cols, .cs-js .cs-panel .cs-foot { animation: none; } }

/* ---------- About phone tile: a slimmer, more realistic handset ---------- */
.at-phone .phone-sm { width: 158px; height: 336px; margin-bottom: -104px; padding: 5px; border-radius: 34px; background: #0b0c12; border: 0;
    -webkit-mask-image: none; mask-image: none;
    box-shadow: inset 0 0 0 1.5px #2a2c3a, 0 0 0 1px rgba(255, 255, 255, .22), 0 40px 60px -26px rgba(8, 6, 44, .75), 0 14px 24px -12px rgba(8, 6, 44, .5); }
.at-phone .phone-sm .phone-screen { border-radius: 29px; }
/* side buttons: volume on the left, power on the right */
.at-phone .phone-sm::before { content: ""; position: absolute; left: -2px; top: 82px; width: 2px; height: 24px; border-radius: 2px 0 0 2px; background: #2a2c3a; box-shadow: 0 34px 0 #2a2c3a; }
.at-phone .phone-sm::after { content: ""; position: absolute; right: -2px; top: 112px; width: 2px; height: 40px; border-radius: 0 2px 2px 0; background: #2a2c3a; }
/* a soft sheen across the glass */
.at-phone .phone-sm .phone-screen { position: relative; }
.at-phone .phone-sm .phone-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%); }
.at-phone .pa { padding: 10px 11px 8px; font-size: 9px; }
.at-phone .pa-notch { width: 40px; height: 11px; }
.at-phone:hover .phone-sm { transform: translateY(-6px); }
@media (max-width: 640px) { .at-phone .phone-sm { width: 166px; height: 352px; margin-bottom: -110px; } }

/* ---------- Footer legal links and the one-line notes under forms ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal a { color: inherit; opacity: .8; transition: opacity .2s ease, color .2s ease; }
.footer-legal a:hover { opacity: 1; color: var(--indigo); }
.consent { margin: 18px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.consent a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-form .consent { margin: 0 0 18px; }

/* ---------- Privacy Policy and Terms ---------- */
.legal-head { padding: 150px 0 34px; background: radial-gradient(60% 90% at 50% 0%, rgba(83, 91, 208, .08), transparent 66%); }
.legal-head .container { max-width: calc(980px + 48px); }
.legal-head h1 { font-family: var(--f-display); font-weight: 800; font-size: 52px; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 12px; }
.legal-meta { font: 600 14px var(--f-head); color: var(--muted); margin-bottom: 14px; }
.legal-intro { max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--text); }
.legal-body { padding: 24px 0 110px; }
.legal-grid { max-width: calc(980px + 48px); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; font-size: 14.5px; }
.legal-toc > p { margin: 0 0 12px; font: 700 12px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid #e8e8f4; counter-reset: l; }
.legal-toc li { counter-increment: l; }
.legal-toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text); transition: color .2s ease, border-color .2s ease; }
.legal-toc li a::before { content: counter(l) ". "; color: var(--muted); }
.legal-toc li a:hover { color: var(--indigo); border-left-color: var(--indigo); }
.legal-other { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font: 600 14px var(--f-head); color: var(--indigo); }
.legal-doc { min-width: 0; max-width: 700px; }
.legal-doc section { scroll-margin-top: 110px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid #eeeef8; }
.legal-doc section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-doc h2 { font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; color: var(--ink); }
.legal-doc h3 { font: 700 17px var(--f-head); margin: 22px 0 8px; color: var(--ink); }
.legal-doc p, .legal-doc li { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal-doc li { margin-bottom: 8px; padding-left: 4px; }
.legal-doc li::marker { color: var(--indigo); }
.legal-doc a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-doc strong { color: var(--ink); }
[data-theme="dark"] .legal-toc ol, [data-theme="dark"] .legal-doc section { border-color: var(--border); }
@media (max-width: 900px) {
    .legal-head { padding-top: 130px; }
    .legal-head h1 { font-size: 40px; }
    .legal-grid { grid-template-columns: 1fr; gap: 28px; }
    .legal-toc { position: static; padding: 20px; border: 1px solid #e8e8f4; border-radius: 18px; background: #fafaff; }
    .legal-toc ol { border-left: 0; columns: 2; column-gap: 20px; }
    .legal-toc li a { padding-left: 0; border-left: 0; margin-left: 0; }
    [data-theme="dark"] .legal-toc { background: var(--surface); border-color: var(--border); }
}
@media (max-width: 560px) {
    .legal-head h1 { font-size: 34px; }
    .legal-toc ol { columns: 1; }
    .legal-doc h2 { font-size: 23px; }
    .legal-doc p, .legal-doc li { font-size: 16px; }
}
@media (max-width: 700px) { .legal-toc > p, .legal-toc ol { display: none; } .legal-toc { padding: 14px 18px; } .legal-other { margin-top: 0; } }
.product-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }

/* ---------- Hero: the changing word (after Motion Brew's "Flip words", rebuilt without React) ----------
   The outgoing word tips away, the new one flips up letter by letter, and the line reflows as the width changes. */
.flip { position: relative; display: inline-block; vertical-align: bottom; white-space: nowrap; perspective: 600px; transition: width .45s cubic-bezier(.22, 1, .36, 1); }
.flip-word { display: inline-block; white-space: pre; color: var(--indigo); }
.flip-word i { display: inline-block; font-style: normal; transform-origin: 50% 100%; animation: flip-in .5s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i) * 32ms); }
.flip-word.out { position: absolute; left: 0; top: 0; animation: flip-out .32s cubic-bezier(.22, 1, .36, 1) forwards; }
.flip-word.out i { animation: none; }
@keyframes flip-in { from { opacity: 0; transform: translateY(.42em) rotateX(-80deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes flip-out { to { opacity: 0; transform: translateY(-.4em) rotateX(70deg); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { .flip { transition: none; } .flip-word i, .flip-word.out { animation: none; } }

