/* ==========================================================================
   Ratawa Technologies — SaaS platform layer (loaded after style.css)
   Lead marketplace cards, product-style hero, filters, forms, access tiers.
   ========================================================================== */

:root {
  --ok: #059669; --ok-bg: #ECFDF5;
  --warn: #B45309; --warn-bg: #FFFBEB;
  --info: #1D4ED8; --info-bg: #EFF6FF;
  --ink-3: #8A8A98;
}

/* ---------- Header additions ---------- */
.nav-login { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); padding: .6rem .8rem; border-radius: var(--radius-sm); }
.nav-login:hover, .nav-login[aria-current="page"] { color: var(--primary); background: var(--lavender); }
.nav-mobile-actions { display: none; }
@media (max-width: 1080px) { .nav-link { padding: .6rem .6rem; font-size: .93rem; } }
@media (max-width: 860px) {
  .nav-login { display: none; }
  .nav-mobile-actions { display: grid; gap: .6rem; margin-top: 1.2rem; }
}

.footer-grid-5 { grid-template-columns: 1.6fr 1fr 1.1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 980px) { .footer-grid-5 { grid-template-columns: 1fr 1fr 1fr; } .footer-grid-5 .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .footer-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.2rem; padding-bottom: 2rem; }
  .footer-grid-5 .footer-col:nth-child(3) { grid-row: span 2; }   /* long Services list on the right, Platform + Company stacked on the left */
  .footer-grid-5 .footer-col:last-child { grid-column: 1 / -1; }   /* the email address needs the full width on phones */
  .footer-contact a { overflow-wrap: anywhere; }
}

/* ---------- Pills, badges ---------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .75rem; padding: .3rem .65rem; border-radius: var(--radius-pill); background: var(--lavender); color: var(--primary); white-space: nowrap; }
.pill svg { width: 14px; height: 14px; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-muted { background: #F3F4F6; color: var(--ink-2); }
.hero-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .45rem; border: 1px solid #E3D2F7; background: #fff; border-radius: var(--radius-pill); font-size: .85rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.hero-pill .pill { font-size: .7rem; }

/* ---------- SaaS hero ---------- */
.saas-hero { position: relative; overflow: hidden; padding-block: clamp(2.8rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  background: radial-gradient(900px 480px at 85% -10%, #EBD9FF 0%, rgba(235,217,255,0) 62%), radial-gradient(700px 420px at -5% 110%, #F3E8FF 0%, rgba(243,232,255,0) 60%), #fff; }
.saas-hero .hero-grid { grid-template-columns: 1fr 1fr; }
.saas-hero h1 { margin-top: 1.1rem; font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
.saas-hero .hero-sub { max-width: 540px; }
.hero-micro { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.2rem; font-size: .86rem; color: var(--muted); }
.hero-micro span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-micro svg { width: 16px; height: 16px; color: var(--ok); }

/* product mock */
.mock { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: #FBF9FE; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E5E1EC; display: block; }
.mock-bar .mock-url { margin-left: .6rem; flex: 1; font-size: .75rem; color: var(--ink-3); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: .25rem .7rem; }
.mock-body { padding: 1rem; display: grid; gap: .7rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-stat { border: 1px solid var(--border); border-radius: 12px; padding: .65rem .75rem; }
.mock-stat b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.mock-stat span { font-size: .72rem; color: var(--muted); }
.mock-lead { display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem; align-items: center; border: 1px solid var(--border); border-radius: 12px; padding: .75rem .85rem; }
.mock-lead h4 { font-size: .88rem; line-height: 1.3; }
.mock-lead .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem; }
.mock-lead .meta .pill { font-size: .66rem; padding: .2rem .5rem; }
.score { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--primary);
  background: conic-gradient(var(--accent) calc(var(--s) * 1%), #EFE7FA 0); position: relative; }
.score::before { content: ""; position: absolute; inset: 4px; background: #fff; border-radius: 50%; }
.score span { position: relative; }
.mock-float { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem; font-size: .8rem; }
.mock-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.mock-float .ic svg { width: 18px; height: 18px; }
.mock-float strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--ink); }
.mock-float.f1 { left: -34px; bottom: -48px; }
.mock-float.f2 { right: -22px; top: -26px; }
@media (max-width: 980px) { .saas-hero .hero-grid { grid-template-columns: 1fr; } .saas-hero .hero-media { order: 0; max-width: 620px; } }

/* ---------- Hero engine (3D chip, assets/js/hero-engine.js) ---------- */
/* The whole hero fits one screen under the header, so it is fully visible while the chip animates. */
.saas-hero { padding-block: clamp(.75rem, 2vw, 1.5rem); min-height: calc(100vh - var(--header-h)); display: flex; align-items: flex-start; }
.saas-hero > .container { width: 100%; }
.saas-hero .hero-media { width: 100%; }
.saas-hero .hero-pill { margin-top: 0; }
@media (max-width: 980px) {
  .saas-hero { height: calc(100svh - var(--header-h)); min-height: 540px; padding-block: .8rem .6rem; align-items: stretch; }
  .saas-hero > .hero-grid { display: flex; flex-direction: column; gap: .7rem; height: 100%; }
  .saas-hero .hero-content { flex: none; }
  .saas-hero .hero-pill { font-size: .72rem; }
  .saas-hero h1 { margin-top: .55rem; font-size: clamp(1.55rem, 6.3vw, 2.3rem); }
  .saas-hero .hero-sub { margin-top: .45rem; font-size: .9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .saas-hero .hero-cta { margin-top: .8rem; gap: .5rem; }
  .saas-hero .hero-cta .btn { padding: .7rem 1rem; font-size: .9rem; }
  .saas-hero .hero-micro { display: none; }
  .saas-hero .hero-media { flex: 1; min-height: 0; max-width: none; }
  .saas-hero .rt-engine { height: 100%; max-width: none; aspect-ratio: auto; }
  .saas-hero .eng-feed { right: 70px; width: min(60%, 262px); max-height: 34%; }   /* clear of the floating WhatsApp button */
}
/* Short native pin: the hero holds while the page scrolls --pin, then moves on. JS adds .is-pinned and --stick-top. */
.hero-pin { position: relative; background: #fff; }
.hero-pin.is-pinned::after { content: ""; display: block; height: var(--pin, 45vh); }   /* sticky room must be inside the content box, not padding */
.hero-pin.is-pinned > .saas-hero { position: sticky; top: var(--stick-top, 0px); }
.rt-engine { position: relative; width: 100%; max-width: min(640px, calc((100vh - 150px) * 1.08)); margin-inline: auto; aspect-ratio: 1.08 / 1; isolation: isolate; }   /* always fits the screen height */
.eng-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.rt-engine.is-ready .eng-canvas { opacity: 1; }
/* shown until the 3D is ready (and kept if WebGL is not available) */
.eng-poster { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .9s ease; pointer-events: none; }
.eng-poster::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(157,78,221,.26), rgba(243,232,255,.5) 55%, rgba(243,232,255,0)); }
.eng-chip { position: relative; width: 32%; aspect-ratio: 1; border-radius: 16%; display: grid; place-items: center; font: 800 clamp(1.5rem, 4vw, 2.5rem) var(--font-head); color: #fff; letter-spacing: .02em;
  background: linear-gradient(145deg, #9D4EDD, #6A0DAD 55%, #3F0A66); box-shadow: 0 0 0 10px #2B0F4C, 0 30px 60px rgba(106,13,173,.35); transform: perspective(700px) rotateX(46deg) rotateZ(-6deg); text-shadow: 0 0 18px rgba(240,171,252,.9); }
.rt-engine.is-ready .eng-poster { opacity: 0; }
.eng-live { position: absolute; right: 3%; top: 3%; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; font: 600 .74rem var(--font-head); color: var(--ok); background: #fff; border: 1px solid #D1FAE5; padding: .3rem .7rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.eng-live i { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: engPing 1.8s infinite; }
@keyframes engPing { 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.eng-feed { position: absolute; right: -3%; bottom: 0; z-index: 2; width: min(262px, 47%); display: grid; gap: .55rem; align-content: start; max-height: 60%; overflow: hidden; padding: .5rem .6rem 1.4rem;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.eng-card { display: grid; grid-template-columns: 1fr auto; gap: .35rem .6rem; align-items: center; background: #fff; border: 1px solid #EADCF8; border-radius: 14px; padding: .65rem .75rem; box-shadow: 0 14px 34px rgba(106,13,173,.16); }
.eng-card .ec-top { grid-column: 1; display: flex; flex-wrap: wrap; gap: .3rem; }
.eng-card .ec-top .pill { font-size: .62rem; padding: .15rem .45rem; }
.eng-card .ec-h { grid-column: 1; margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eng-card .score { grid-column: 2; grid-row: 1 / 3; width: 38px; height: 38px; font-size: .76rem; }
.eng-label { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: .5rem; padding: .4rem .7rem; background: #fff; border: 1px solid #EADCF8; border-radius: 10px; box-shadow: var(--shadow);
  font-size: .7rem; line-height: 1.3; color: var(--muted); white-space: nowrap; opacity: 0; pointer-events: none; will-change: transform, opacity;
  transform: translate(46px, -50%) scale(.6); transition: opacity .35s ease, transform .6s cubic-bezier(.3,1.7,.5,1); }
.eng-label.show { opacity: 1; transform: translate(0, -50%) scale(1); }
.eng-label.show i { animation: engDot 1.4s ease-in-out infinite; }
@keyframes engDot { 50% { box-shadow: 0 0 0 6px rgba(157,78,221,.18); } }
/* "scroll to look inside" cue, hidden once the chip has split */
.eng-cue { position: absolute; left: 3%; bottom: 3%; z-index: 3; display: inline-flex; align-items: center; gap: .55rem; font: 600 .74rem var(--font-head); color: var(--primary);
  background: rgba(255,255,255,.92); border: 1px solid #EADCF8; padding: .35rem .8rem .35rem .45rem; border-radius: var(--radius-pill); box-shadow: var(--shadow); opacity: 0; transition: opacity .4s ease; pointer-events: none; animation: engCue 2.2s ease-in-out infinite; }
.eng-cue .mouse { position: relative; width: 16px; height: 24px; border: 2px solid var(--primary); border-radius: 9px; }
.eng-cue .mouse i { position: absolute; left: 50%; top: 4px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--primary); animation: engWheel 1.4s ease-in-out infinite; }
@keyframes engWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
@keyframes engCue { 50% { transform: translateY(-5px); } }
.rt-engine.is-ready .eng-cue { opacity: 1; transition-delay: 2.2s; }
.rt-engine.is-split .eng-cue { opacity: 0; transition-delay: 0s; }
.eng-label strong { display: block; font: 600 .8rem var(--font-head); color: var(--ink); }
.eng-label i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.eng-label::after { content: ""; position: absolute; right: 100%; top: 50%; width: 22px; height: 1.5px; background: linear-gradient(270deg, #B48DE6, rgba(180,141,230,0)); }
.eng-scan { position: absolute; left: 3%; top: 3%; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; font: 600 .74rem var(--font-head); color: var(--primary); background: #fff; border: 1px solid #EADCF8;
  padding: .3rem .75rem .3rem .4rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); overflow: hidden; }
.eng-scan i { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--primary) 0 25%, #E9D5FF 25% 100%); -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px); animation: engSpin 1s linear infinite; }
.eng-scan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(233,213,255,.8) 50%, transparent 70%); transform: translateX(-100%); animation: engShine 2.4s ease-in-out infinite; }
@keyframes engSpin { to { transform: rotate(360deg); } }
@keyframes engShine { 60%, 100% { transform: translateX(100%); } }
.eng-card.is-new { animation: engNew 1.6s ease-out .6s both; }
@keyframes engNew { 0% { box-shadow: 0 0 0 0 rgba(157,78,221,.55), 0 14px 34px rgba(106,13,173,.16); border-color: #C084FC; } 100% { box-shadow: 0 0 0 14px rgba(157,78,221,0), 0 14px 34px rgba(106,13,173,.16); border-color: #EADCF8; } }
.rt-engine.no-webgl .eng-label { display: none; }
@media (max-width: 640px) {
  .rt-engine { aspect-ratio: 1 / 1.04; }
  .eng-feed { width: 64%; right: -2%; max-height: 50%; }
  .saas-hero .eng-feed { width: calc(100% - 70px - 50px); }   /* between the scroll cue (left) and the WhatsApp button (right) */
  .eng-cue { left: 0; padding: .35rem .45rem; }
  .eng-cue .eng-cue-t { display: none; }
  .eng-card { padding: .55rem .65rem; }
  .eng-card .ec-h { font-size: .74rem; }
  .eng-label { font-size: .62rem; padding: .3rem .5rem; }
  .eng-label strong { font-size: .7rem; }
  .eng-label small { display: none; }
  .eng-scan { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) { .eng-live i, .eng-scan i, .eng-scan::after, .eng-card.is-new { animation: none; } }
@media (max-width: 640px) { .mock-float { display: none; } .mock-stats { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.trust-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.2rem .8rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.trust-tile .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; }
.trust-tile .ti svg { width: 22px; height: 22px; }
.trust-tile strong { font-family: var(--font-head); font-size: .95rem; }
.trust-tile span { font-size: .8rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 980px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #E3D2F7; color: var(--ink); }
.cat-card .ci { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-primary); }
.cat-card .ci svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.cat-card p { font-size: .88rem; }
.cat-card .go { margin-top: .5rem; display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: 600; font-size: .83rem; color: var(--primary); }
.cat-card .go svg { width: 14px; height: 14px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Lead cards (marketplace) ---------- */
.lead-list { display: grid; gap: 1rem; }
.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 980px) { .lead-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: .8rem; box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s; }
.lead-card:hover { box-shadow: var(--shadow); border-color: #E3D2F7; }
.lead-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.lead-id { font-size: .75rem; color: var(--ink-3); font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; }
.lead-card h3 { font-size: 1.05rem; line-height: 1.35; margin-top: .25rem; }
.lead-card p.desc { font-size: .9rem; }
.lead-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .9rem; font-size: .84rem; }
.lead-facts div { display: flex; flex-direction: column; }
.lead-facts dt { color: var(--ink-3); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.lead-facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.lead-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.lead-locked { border: 1px dashed #D9C4F2; background: #FBF7FF; border-radius: 12px; padding: .75rem .9rem; display: grid; gap: .35rem; font-size: .84rem; }
.lead-locked .row { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.lead-locked .row svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.blur { filter: blur(4.5px); user-select: none; color: var(--ink); }
.lead-actions { display: flex; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.lead-actions .btn { padding: .65rem 1.1rem; font-size: .88rem; }
.sample-note { display: flex; gap: .6rem; align-items: flex-start; background: var(--warn-bg); border: 1px solid #FDE68A; color: #78350F; padding: .8rem 1rem; border-radius: 12px; font-size: .88rem; }
.sample-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* marketplace category tabs */
.mp-tabs { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.mp-tabs button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.mp-tabs button span { background: var(--lavender); color: var(--primary); border-radius: 99px; padding: 0 .45rem; font-size: .75rem; }
.mp-tabs button:hover { border-color: var(--accent); color: var(--primary); }
.mp-tabs button.on { background: var(--grad); color: #fff; border-color: transparent; }
.mp-tabs button.on span { background: rgba(255,255,255,.25); color: #fff; }

/* marketplace layout */
.mp-layout { display: grid; grid-template-columns: 290px 1fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.mp-filters { position: sticky; top: calc(var(--header-h) + 1rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: 1rem; box-shadow: var(--shadow-sm); }
.mp-filters h2 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.mp-filters h2 svg { width: 18px; height: 18px; color: var(--primary); }
.mp-filters label { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--ink-2); display: block; margin-bottom: .3rem; }
.mp-filters select, .mp-filters input[type=search] { width: 100%; padding: .6rem .75rem; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; font-size: .9rem; }
.mp-filters select:focus, .mp-filters input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(157,78,221,.14); }
.mp-filters .locked-filters { border-top: 1px solid var(--border); padding-top: .9rem; display: grid; gap: .45rem; font-size: .84rem; color: var(--muted); }
.mp-filters .locked-filters span { display: flex; align-items: center; gap: .45rem; }
.mp-filters .locked-filters svg { width: 14px; height: 14px; }
.mp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mp-toolbar .count { font-size: .9rem; color: var(--muted); }
.mp-empty { text-align: center; padding: 2.5rem 1rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
@media (max-width: 900px) { .mp-layout { grid-template-columns: 1fr; } .mp-filters { position: static; } }

/* ---------- 6-step how it works ---------- */
.steps-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: s; }
.step-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.6rem; min-height: 100%; }
.step-card .n { position: absolute; left: 1.2rem; top: 1.3rem; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow-primary); }
.step-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step-card p { font-size: .9rem; }
@media (max-width: 980px) { .steps-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps-6 { grid-template-columns: 1fr; } }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.path-card { border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; gap: 1rem; }
.path-card.dark { background: var(--grad-dark); border: 0; color: #F4ECFF; }
.path-card.dark h3, .path-card.dark h2 { color: #fff; }
.path-card.dark p, .path-card.dark li { color: #E6D6FF; }
.path-card.dark .card-list li::before { background: rgba(255,255,255,.18); }
.path-card.dark .card-list li::after { border-color: #fff; }
.path-card .actions { margin-top: auto; display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Access comparison ---------- */
.access-table td .yes { color: var(--ok); font-weight: 700; }
.access-table td .no { color: #C4C4CC; }
.access-table td .lock { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .85rem; }
.access-table td .lock svg { width: 14px; height: 14px; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.ind-card { padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind-card .ci { width: 42px; height: 42px; border-radius: 11px; background: var(--lavender); color: var(--primary); display: grid; place-items: center; margin-bottom: .8rem; }
.ind-card .ci svg { width: 21px; height: 21px; }
.ind-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.ind-card p { font-size: .86rem; }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- Service blocks ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.svc-card { scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-card .svc-head { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.svc-card .svc-head .icon-badge { margin: 0; width: 50px; height: 50px; }
.svc-card .svc-head h2 { font-size: 1.25rem; }
.svc-card .svc-actions { display: flex; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Forms: multi-step feel ---------- */
.form-shell { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.3rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.45rem; }
.form-section-title { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); padding-top: .4rem; border-top: 1px solid var(--border); margin-top: .4rem; padding-top: 1.1rem; }
.form-section-title:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 640px) { .form-row-3 { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }
.check { display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; border: 1.5px solid var(--border); border-radius: 10px; font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s; font-family: var(--font-body) !important; font-weight: 500 !important; }
.check:hover { border-color: #D9C4F2; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--accent); background: #FBF7FF; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-row .check { flex: 1 1 150px; }
.field.invalid .check-grid .check, .field.invalid .radio-row .check { border-color: #FCA5A5; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: .9rem 1.1rem; background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius-sm); color: #991B1B; font-size: .92rem; }
.form-error.show { display: block; }
.form-success h3 { font-size: 1.1rem; color: #065F46; margin-bottom: .3rem; }
.form-success .ref { font-family: var(--font-head); font-weight: 700; }
.side-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.2rem); }
.side-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; overflow-wrap: anywhere; }
.side-box h3 { font-size: 1rem; margin-bottom: .7rem; }
.side-box ol { list-style: none; counter-reset: sb; display: grid; gap: .7rem; }
.side-box ol li { counter-increment: sb; position: relative; padding-left: 2.1rem; font-size: .9rem; color: var(--ink-2); }
.side-box ol li::before { content: counter(sb); position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .75rem; display: grid; place-items: center; }
.side-box.dark { background: var(--grad-dark); border: 0; color: #fff; }
.side-box.dark h3 { color: #fff; }
.side-box.dark p { color: #E6D6FF; font-size: .9rem; }
@media (max-width: 900px) { .form-shell { grid-template-columns: minmax(0, 1fr); } .side-panel { position: static; } }

/* ---------- Auth (login) ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h) - 120px); display: grid; place-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); background: radial-gradient(800px 400px at 50% -10%, #F3E8FF 0%, rgba(243,232,255,0) 60%), var(--bg-soft); }
.auth-card { width: min(100%, 460px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lg); text-align: center; }
.auth-card .icon-badge { margin: 0 auto 1rem; }
.auth-card h1 { font-size: 1.6rem; }
.auth-card p { margin-top: .6rem; font-size: .95rem; }
.auth-card .actions { display: grid; gap: .6rem; margin-top: 1.5rem; }

/* ---------- Misc ---------- */
.cta-sub { margin-top: 1.1rem !important; font-size: .9rem; }
.cta-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.kpi { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; background: #fff; }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--primary); }
.kpi span { font-size: .88rem; color: var(--ink-2); }
@media (max-width: 860px) { .kpi-row { grid-template-columns: 1fr 1fr; } }
.kpi strong { display: block; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: .2rem; }
.kpi .kpi-ic { width: 26px; height: 26px; margin-bottom: .5rem; color: var(--primary); }
.pillar { display: flex; flex-direction: column; }
.pillar .card-link { margin-top: auto; padding-top: 1rem; }
.pillar-hl { border: 2px solid var(--accent); box-shadow: var(--shadow); }
/* ---------- Password show/hide ---------- */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { width: 100%; padding-right: 2.9rem !important; }
.pw-eye { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--primary); background: var(--lavender); }

/* ---------- Demo slot picker ---------- */
.tz-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .9rem; }
.tz-row label { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); }
.tz-row label svg { width: 16px; height: 16px; color: var(--primary); }
.tz-row select { flex: 1 1 240px; max-width: 360px; padding: .55rem .7rem; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; font-size: .9rem; }
.slot-days { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.slot-day { flex: 0 0 auto; width: 66px; display: grid; justify-items: center; gap: .05rem; padding: .55rem .3rem; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; font-size: .75rem; color: var(--muted); transition: border-color .2s, background .2s; }
.slot-day strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.slot-day:hover { border-color: var(--accent); }
.slot-day.on { background: var(--grad); border-color: transparent; color: #F3E8FF; }
.slot-day.on strong { color: #fff; }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .45rem; margin-top: .4rem; }
.slot-time { padding: .6rem .4rem; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--primary); transition: border-color .2s, background .2s; }
.slot-time:hover { border-color: var(--accent); background: #FBF7FF; }
.slot-time.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.slot-chosen { background: var(--ok-bg); color: #065F46; border-radius: 10px; padding: .7rem .9rem; font-size: .9rem; }
.slot-chosen span { color: #047857; }
.slot-field.invalid .slot-days, .slot-field.invalid .slot-times { outline: 2px solid #FCA5A5; outline-offset: 4px; border-radius: 12px; }

/* ---------- Sign-up email verification ---------- */
.verify-box { border: 1.5px solid var(--accent); background: #FBF7FF; border-radius: var(--radius); padding: 1rem 1.1rem; display: grid; gap: .7rem; }
.form [hidden] { display: none !important; }   /* display:grid on .verify-box/.field/.form-row would otherwise beat the hidden attribute */
.verify-box.has-error { border-color: #FCA5A5; background: #FEF2F2; }
.verify-msg { font-size: .92rem; color: var(--ink-2); }
.verify-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.verify-row .otp-input { flex: 1 1 180px; min-width: 0; max-width: 100%; font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .45em; text-align: center; padding: .6rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); }
.verify-row .otp-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(157,78,221,.14); }
.linkish { color: var(--primary); font: inherit; font-weight: 600; padding: 0; }
.linkish:hover { text-decoration: underline; }

/* ---------- Case studies ---------- */
.case-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.case-index-item { display: grid; gap: .35rem; justify-items: start; padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.case-index-item:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.case-index-item strong { font-family: var(--font-head); font-size: 1.1rem; }
.case-index-item span:last-child { font-size: .88rem; color: var(--muted); }
.case-full { display: grid; gap: 1.6rem; }
.case-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.case-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.case-head .lead { max-width: 60ch; }
.case-shot { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #fff; }
.case-shot img { width: 100%; height: auto; transition: transform .5s ease; }
.case-shot:hover img { transform: scale(1.015); }
.case-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.case-text h3 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; }
.case-text h3:first-child { margin-top: 0; }
.case-built { display: grid; gap: .7rem; }
.case-built li { position: relative; padding-left: 1.7rem; color: var(--ink-2); font-size: .97rem; }
.case-built li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.case-built strong { color: var(--ink); }
.case-side { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.work-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.work-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--border); }
.work-card .wc-body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .4rem; }
.work-card h3 { font-size: 1.08rem; }
.work-card p { font-size: .9rem; }
@media (max-width: 900px) { .case-index, .work-grid { grid-template-columns: 1fr; } .case-body { grid-template-columns: 1fr; } .case-side { position: static; } }

/* 12 services in rows of 4 */
.svc4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.svc4 { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc4:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #E3D2F7; color: var(--ink); }
.svc4 .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-primary); margin-bottom: .3rem; }
.svc4 .ci svg { width: 21px; height: 21px; }
.svc4 h3 { font-size: 1.02rem; }
.svc4 p { font-size: .87rem; }
@media (max-width: 980px) { .svc4-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc4-grid { grid-template-columns: 1fr; } }
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.cat-chips .pill { font-size: .82rem; padding: .45rem .8rem; }
.cat-chips .pill svg { width: 15px; height: 15px; }
.section-head .actions { display: flex; justify-content: center; gap: .7rem; margin-top: 1.4rem; flex-wrap: wrap; }
