/* ==========================================================================
   LogicGigs — public software-house website
   ========================================================================== */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.sec { padding: var(--sec-y) 0; position: relative; }
.sec-dark { background: var(--ink); color: #fff; }
.flash-wrap { padding-top: 130px; margin-bottom: -100px; position: relative; z-index: 5; }
.hero-dark .flash-wrap { position: absolute; left: 0; right: 0; }

.admin-preview-bar { position: relative; z-index: 80; display: flex; justify-content: center; gap: 16px; align-items: center; flex-wrap: wrap; padding: 8px 16px; background: #FFD166; color: #3B2A00; font-size: 13.5px; }
.admin-preview-bar span { display: inline-flex; gap: 8px; align-items: center; }
.admin-preview-bar a { font-weight: 700; text-decoration: underline; }

/* ---------- Topbar ---------- */
.topbar { background: #05080F; color: #C9D0E0; font-size: 13px; position: relative; z-index: 60; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; opacity: .92; transition: opacity .2s, color .2s; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .ic { width: 15px; height: 15px; }
.topbar-l, .topbar-r { display: flex; gap: 22px; align-items: center; }
.topbar-academy { color: var(--lime) !important; font-weight: 600; }
.chip-mini { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--lime); color: var(--ink); padding: 2px 7px; border-radius: 5px; }

/* ---------- Floating pill navigation ---------- */
.nav-shell { position: absolute; left: 0; right: 0; top: 36px; z-index: 70; padding-top: 12px; transition: transform .35s var(--ease); }
.admin-preview-bar ~ .nav-shell { top: 72px; }
.nav-shell.is-fixed { position: fixed; top: 0; padding-top: 10px; animation: navIn .45s var(--ease); }
@keyframes navIn { from { transform: translateY(-110%); } }
.nav-shell.is-hidden { transform: translateY(-120%); }
.nav-pill { display: flex; align-items: center; gap: 18px; height: 58px; padding: 0 8px 0 20px; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(14px); border-radius: 18px; box-shadow: 0 12px 40px -14px rgba(10, 15, 31, .35), 0 0 0 1px rgba(10, 15, 31, .05); }
.nav-brand { flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; }
.brand-word { font: 900 21px/1 var(--f-display); font-stretch: 105%; letter-spacing: -.03em; color: var(--ink); text-transform: lowercase; }
.brand-word b { color: var(--blue); font-weight: 900; }
.brand.is-light .brand-word { color: #fff; }
.brand.is-light .brand-word b { color: var(--cyan); }
.brand-img { height: 34px; width: auto; }
.brand-suffix { font: 700 12px/1 var(--f-body); text-transform: uppercase; letter-spacing: .12em; padding: 5px 8px; border-radius: 6px; background: var(--ink); color: var(--lime); margin-left: 2px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 13px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; position: relative; }
.nav-links a:hover { background: var(--bg-2); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-academy { color: var(--violet) !important; }
.nav-cta { flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--bg-2); place-items: center; }
.nav-toggle .ic { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 15, .6); backdrop-filter: blur(4px); }
.drawer-in { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--ink); color: #fff; padding: 22px 22px 32px; display: flex; flex-direction: column; gap: 24px; animation: drawerIn .4s var(--ease); overflow-y: auto; }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.drawer ul { list-style: none; padding: 0; margin: 0; display: grid; }
.drawer li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 800 22px/1.1 var(--f-display); text-transform: uppercase; font-stretch: 110%; }
.drawer .btn { margin-top: auto; }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-pill { height: 54px; }
}
@media (max-width: 640px) {
  .topbar-l a:not(:first-child), .topbar-r a:not(.topbar-academy):not(.topbar-portal) { display: none; }
  .topbar-in, .topbar-r { gap: 12px; }
  .topbar-l { flex: 1 1 auto; min-width: 0; }
  .topbar-l a { max-width: 100%; min-width: 0; }
  .topbar-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-r { flex: none; }
}
/* Small phones: the contact link keeps its icon (and accessible name); the address is in the footer and contact page. */
@media (max-width: 420px) {
  .topbar-l .topbar-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .topbar-l a { min-width: 30px; min-height: 30px; justify-content: center; }
}

/* ==========================================================================
   HOME HERO — full-bleed scene with floating tool UI (selection box, tokens, panels)
   ========================================================================== */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: var(--hero-top) 0 clamp(56px, 6vw, 88px); min-height: min(92svh, 800px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-mesh { position: absolute; inset: -20%; background:
  radial-gradient(40% 45% at 78% 30%, rgba(31, 107, 255, .55), transparent 70%),
  radial-gradient(30% 35% at 95% 85%, rgba(25, 182, 255, .35), transparent 70%),
  radial-gradient(28% 30% at 10% 90%, rgba(255, 46, 136, .28), transparent 70%),
  radial-gradient(35% 40% at 20% 10%, rgba(108, 77, 255, .3), transparent 70%);
  filter: blur(10px); animation: meshDrift 22s ease-in-out infinite alternate; }
@keyframes meshDrift { to { transform: translate3d(-3%, 2%, 0) scale(1.05); } }
.hero-gridlines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 31, .92) 0%, rgba(10, 15, 31, .55) 45%, rgba(10, 15, 31, 0) 75%), linear-gradient(0deg, rgba(10, 15, 31, .55), transparent 35%); }
.hero-composed .hero-shade { background: linear-gradient(0deg, rgba(10, 15, 31, .9), transparent 30%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-title { font-size: var(--fs-hero); margin: 0; }
.ht-line { display: block; }
.sel-word { position: relative; display: inline-block; padding: 0 .1em; margin: .06em 0 .04em -.1em; background: linear-gradient(100deg, #6FA3FF, var(--cyan) 60%, #7CF0FF); -webkit-background-clip: text; background-clip: text; color: transparent; outline: 2px solid var(--cyan); outline-offset: 2px; }
.sel-word > i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid var(--cyan); }
.sel-word > i:nth-of-type(1) { left: -8px; top: -8px; } .sel-word > i:nth-of-type(2) { right: -8px; top: -8px; } .sel-word > i:nth-of-type(3) { left: -8px; bottom: -8px; } .sel-word > i:nth-of-type(4) { right: -8px; bottom: -8px; }
.sel-word::before { content: attr(data-tag); position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); font: 700 11px/1 var(--f-body); letter-spacing: .02em; text-transform: none; color: #fff; background: var(--cyan); padding: 6px 9px; border-radius: 6px; white-space: nowrap; -webkit-text-fill-color: #fff; }
.sel-word::after { content: ""; position: absolute; left: 50%; top: -30px; width: 2px; height: 22px; background: var(--cyan); display: none; }
.hero-rule { display: block; width: 120px; height: 4px; border-radius: 4px; background: #fff; margin: 24px 0 20px; position: relative; }
.hero-rule::after { content: ""; position: absolute; right: -18px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); border-radius: 50%; border: 2px solid var(--cyan); box-shadow: 0 0 0 5px rgba(25, 182, 255, .18); }
.hero-lede { font-size: var(--fs-lede); line-height: 1.6; color: #C6CEE0; max-width: 520px; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-checks li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.hero-checks .ic { width: 19px; height: 19px; color: var(--cyan); stroke-width: 3; }

.hero-art { position: relative; aspect-ratio: 1 / .86; }
.hero-device { position: absolute; top: 4%; right: -14%; width: 112%; border-radius: 18px; transform: perspective(2000px) rotateY(-16deg) rotateX(7deg) rotateZ(1deg); transform-origin: left center; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px -20px rgba(31, 107, 255, .6); }
.hero-device .vx { border-radius: 18px; background: transparent; }
.hero-device .vx-stage { padding: 0; }
.hero-device .vx-win { border-radius: 18px; }
.hero-code { position: absolute; left: -8%; bottom: 0; width: 48%; border-radius: 14px; transform: perspective(1500px) rotateY(-10deg) rotateX(6deg) rotateZ(-2deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-code .vx { border-radius: 14px; background: transparent; }
.hero-code .vx-stage { padding: 0; }
.hero-code .vx-editor { border-radius: 14px; }

.fc { position: absolute; z-index: 4; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 14px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(10, 15, 31, .06); }
.fc-swatch { top: -4%; right: 16%; padding: 10px 12px 12px; }
.fc-label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.fc-sw { display: flex; gap: 8px; }
.fc-sw i { width: 30px; height: 30px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.fc-sw i:first-child { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.fc-deploy { right: -2%; bottom: 6%; width: 232px; padding: 14px 16px 16px; display: grid; gap: 10px; }
.fc-deploy-h { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.fc-deploy-h b { font-size: 14.5px; }
.fc-deploy-h em { grid-column: 2; font-style: normal; font: 500 11.5px var(--f-mono); color: var(--muted); }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24, 178, 107, .18); }
.fc-meter { display: grid; grid-template-columns: 1fr 90px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.fc-meter i { height: 7px; border-radius: 9px; background: var(--bg-3); position: relative; overflow: hidden; }
.fc-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--green), #5EE2A0); border-radius: 9px; }
.fc-node { left: 30%; top: 50%; width: 38px; height: 38px; border-radius: 50%; background: transparent; box-shadow: none; display: grid; place-items: center; }
.fc-node span { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--cyan); background: rgba(10, 15, 31, .6); box-shadow: 0 0 0 7px rgba(25, 182, 255, .2); position: relative; }
.fc-node span::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.fc-link { position: absolute; left: 33%; top: 3%; width: 42%; height: 48%; z-index: 3; overflow: visible; }
.fc-link path { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.hero-photo .fc-swatch { top: 6%; right: 10%; }
.hero-photo .fc-deploy { bottom: 10%; right: 4%; }
.hero-photo .fc-link, .hero-photo .fc-node { display: none; }

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(560px, 92%); margin: 30px auto 0; }
  .hero-device { right: -6%; width: 104%; }
  .fc-deploy { width: 210px; right: -4%; }
}
@media (max-width: 560px) {
  .sel-word::before { display: none; }
  .fc-deploy { transform: scale(.82); transform-origin: right bottom; }
  .fc-swatch { transform: scale(.85); transform-origin: right top; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Trust strip ---------- */
.trust { padding: 48px 0 8px; text-align: center; }
.trust-title { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 5vw, 64px); }
.logo-item { position: relative; display: grid; place-items: center; height: 56px; min-width: 110px; }
.logo-item img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s; }
.logo-item:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.logo-item .sample-badge { top: -14px; left: 50%; transform: translateX(-50%); }
.logo-word { font: 800 20px var(--f-display); color: #9AA3B8; letter-spacing: -.01em; }
.trust-note { margin-top: 18px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 50s linear infinite; padding: 8px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; color: #8A93A8; font-weight: 700; font-size: 16px; white-space: nowrap; transition: color .25s; }
.marquee-item:hover { color: var(--ink); }
.marquee-item .tech-logo { width: 28px; height: 28px; filter: grayscale(1) opacity(.6); transition: filter .25s; }
.marquee-item:hover .tech-logo { filter: none; }
.tech-mono { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font: 800 14px var(--f-display); text-transform: uppercase; }
.marquee-item .tech-mono { width: 28px; height: 28px; font-size: 11px; }

/* ---------- Service tiles (colour backdrop + subject + label, like product tiles) ---------- */
.sec-services { background: linear-gradient(180deg, #fff, var(--bg-2)); }
.stiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stile { position: relative; display: block; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--a) 12%, #fff); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); isolation: isolate; }
.stile:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px color-mix(in srgb, var(--a) 70%, transparent); }
.stile-art { position: relative; padding: 22px 22px 0; }
.stile-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 100%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%); z-index: -1; }
.stile-art > .vx, .stile-art > img { border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px -20px rgba(10, 15, 31, .35); transition: transform .6s var(--ease); transform-origin: bottom center; }
.stile-art > img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.stile:hover .stile-art > .vx, .stile:hover .stile-art > img { transform: scale(1.035); }
.stile .vx { background: transparent; }
.stile .vx-stage { padding: 3em 3em 0; align-items: end; }
.stile-label { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; position: relative; }
.stile-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--a); color: #fff; }
.stile-label b { display: block; font: 800 16px/1.2 var(--f-display); text-transform: uppercase; font-stretch: 108%; }
.stile-label small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.stile-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); transition: background .3s, color .3s, transform .3s; }
.stile:hover .stile-go { background: var(--a); color: #fff; transform: rotate(45deg); }
@media (max-width: 980px) { .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .stiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Work / bento ---------- */
.sec-work { overflow: hidden; }
.sec-work::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(31, 107, 255, .25), transparent 60%); pointer-events: none; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.work-head .sec-head { margin-bottom: 0; }
.work-head h2 { font-size: var(--fs-h2); line-height: 1.12; margin-top: 10px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento .pcard-lg { grid-column: span 4; grid-row: span 2; }
.bento .pcard-md { grid-column: span 2; }
.bento .pcard-sm { grid-column: span 3; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--ink-2); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .5s var(--ease), box-shadow .5s var(--ease); isolation: isolate; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 60%, transparent), 0 40px 80px -30px color-mix(in srgb, var(--a) 60%, transparent); }
.pcard-media { position: relative; overflow: hidden; flex: 1; min-height: 0; }
.pcard-media > .vx, .pcard-media > img { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.pcard-media > img { object-fit: cover; aspect-ratio: 4/3; }
.pcard-lg .pcard-media > img { aspect-ratio: 16/11; }
.pcard:hover .pcard-media > .vx, .pcard:hover .pcard-media > img { transform: scale(1.04); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 31, .5)); pointer-events: none; }
.pcard-go { position: absolute; z-index: 3; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .45s var(--ease); }
.pcard:hover .pcard-go { transform: none; opacity: 1; }
.pcard-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.pcard-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: color-mix(in srgb, var(--a) 70%, #fff); }
.pcard h3 { font-size: 19px; font-weight: 800; line-height: 1.2; }
.pcard-lg h3 { font-size: clamp(20px, 1.8vw, 26px); }
.pcard p { color: #AEB6CC; margin: 0; font-size: 14.5px; }
.pcard .chip { background: rgba(255, 255, 255, .08); color: #D8DEEE; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .pcard-lg { grid-column: span 2; grid-row: auto; } .bento .pcard-md, .bento .pcard-sm { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento .pcard-lg, .bento .pcard-md, .bento .pcard-sm { grid-column: auto; } }

/* ---------- Capabilities: layered composition ---------- */
.cap-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.cap-art { position: relative; padding: 6% 8% 12% 0; }
.cap-main { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.cap-main .vx { background: linear-gradient(160deg, #F7F9FE, #E4EAF7); }
.cap-float { position: absolute; z-index: 2; }
.cap-f1 { width: 56%; right: -2%; bottom: -2%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 6px #fff; }
.cap-f1 .vx { background: linear-gradient(160deg, #F4F1FF, #E6E0FF); }
.cap-f1 .vx-stage { padding: 4em; }
.cap-f2 { left: -4%; bottom: 4%; }
.mini-panel { background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px; display: grid; gap: 9px; font-size: 13.5px; box-shadow: var(--shadow-lg); min-width: 210px; }
.mini-panel b { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #8A93A8; }
.mini-panel span { display: flex; gap: 8px; align-items: center; color: #C9D0E0; }
.mini-panel span .ic { width: 18px; height: 18px; color: #8A93A8; }
.mini-panel span.ok { color: #fff; }
.mini-panel span.ok .ic { color: var(--lime); stroke-width: 3; }
.cap-blob { position: absolute; z-index: 0; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; background: radial-gradient(circle, rgba(31, 107, 255, .22), transparent 65%); filter: blur(20px); }
.cap-copy h2 { font-size: var(--fs-h2); line-height: 1.12; margin-top: 10px; }
.cap-list { display: grid; gap: 18px; margin: 4px 0 28px; }
.cap-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.cap-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue) 10%, #fff); color: var(--blue); }
.cap-item h3 { font: 800 17px/1.3 var(--f-body); letter-spacing: -.01em; margin-bottom: 4px; }
.cap-item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .cap-grid { grid-template-columns: minmax(0, 1fr); } .cap-art { max-width: 640px; } }

/* ---------- Stats ---------- */
.stats-band { background: var(--blue); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stat b { display: block; font: 900 clamp(32px, 3.4vw, 48px)/1 var(--f-display); font-stretch: 110%; }
.stat span { font-weight: 600; opacity: .85; }

/* ---------- Process flow (illustrated, no cards) ---------- */
.sec-process { background: var(--bg-2); position: relative; overflow: hidden; }
.sec-process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(10, 15, 31, .08) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 50% 58%, #000 25%, transparent 78%); mask-image: radial-gradient(70% 60% at 50% 58%, #000 25%, transparent 78%); }
.sec-process .wrap { position: relative; }
.flow { --gap: 30px; list-style: none; margin: 4px 0 46px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.flow-step { position: relative; display: grid; grid-template-rows: auto auto 1fr; min-width: 0; }
.flow-art { position: relative; aspect-ratio: 560 / 460; margin: 0 -14px; }
.flow-art picture, .flow-art img { display: block; width: 100%; height: 100%; }
.flow-art img { position: relative; z-index: 1; object-fit: contain; animation: flow-float 6s ease-in-out infinite; animation-delay: calc(var(--d, 0s) * 9); transition: scale .5s var(--ease); }
.flow-step:nth-child(even) .flow-art picture { translate: 0 16px; }
.flow-step:hover .flow-art img { scale: 1.045; }
.flow-rail { position: relative; height: 58px; display: flex; align-items: center; margin: 4px 0 16px; }
.flow-node { position: relative; z-index: 2; width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 900 17px/1 var(--f-display); color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--a) 70%, #fff), var(--a)); box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 8px color-mix(in srgb, var(--a) 28%, transparent), 0 16px 28px -10px var(--a); }
.flow-node::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--a); opacity: 0; animation: flow-pulse 3s ease-out infinite; animation-delay: calc(var(--d, 0s) * 7); }
/* dashed gradient rail with an arrow into the next step; the last one fades out ("we stay after go-live") */
.flow-rail::after { content: ""; position: absolute; left: 64px; right: calc(-1 * var(--gap) + 14px); top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: linear-gradient(90deg, var(--a), var(--b)); -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 18px); mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 18px); animation: flow-dash 1.1s linear infinite; }
.flow-step:not(:last-child) .flow-rail::before { content: ""; position: absolute; right: calc(-1 * var(--gap) + 10px); top: 50%; width: 10px; height: 10px; border-top: 3px solid var(--b); border-right: 3px solid var(--b); border-radius: 2px; transform: translateY(-50%) rotate(45deg); }
.flow-step:last-child .flow-rail::after { right: 20%; background: linear-gradient(90deg, var(--a), transparent); }
.flow-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--a); }
.flow-copy h3 { font: 900 22px/1.1 var(--f-display); text-transform: uppercase; font-stretch: 112%; letter-spacing: -.005em; margin: 6px 0 10px; }
.flow-copy p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.flow-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.flow-tags li { font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; color: color-mix(in srgb, var(--a) 75%, #0A0F1F); background: color-mix(in srgb, var(--a) 12%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 18%, transparent); }
@keyframes flow-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes flow-pulse { 0% { transform: scale(.8); opacity: .65; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes flow-dash { to { -webkit-mask-position: 18px 0; mask-position: 18px 0; } }

/* Tablet: vertical timeline — rail | art | copy */
@media (max-width: 1080px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 860px; margin-inline: auto; }
  .flow-step { grid-template-columns: 58px minmax(0, 300px) minmax(0, 1fr); grid-template-rows: auto; column-gap: 22px; align-items: center; padding-bottom: 30px; }
  .flow-art { grid-column: 2; grid-row: 1; margin: 0; }
  .flow-step:nth-child(even) .flow-art picture { translate: none; }
  .flow-rail { grid-column: 1; grid-row: 1; align-self: stretch; height: auto; margin: 0; justify-content: center; }
  .flow-copy { grid-column: 3; grid-row: 1; }
  .flow-rail::after { left: 50%; right: auto; width: 3px; height: auto; margin: 0 0 0 -1.5px; top: calc(50% + 36px); bottom: calc(-50% + 20px); background: linear-gradient(180deg, var(--a), var(--b)); -webkit-mask: repeating-linear-gradient(180deg, #000 0 10px, transparent 10px 18px); mask: repeating-linear-gradient(180deg, #000 0 10px, transparent 10px 18px); animation-name: flow-dash-y; }
  .flow-step:not(:last-child) .flow-rail::before { right: auto; left: 50%; top: auto; bottom: calc(-50% + 16px); transform: translateX(-50%) rotate(135deg); }
  .flow-step:last-child .flow-rail::after { bottom: 10%; background: linear-gradient(180deg, var(--a), transparent); }
}
@keyframes flow-dash-y { to { -webkit-mask-position: 0 18px; mask-position: 0 18px; } }
/* Phone: rail | (art above copy) */
@media (max-width: 640px) {
  .flow-step { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; padding-bottom: 34px; }
  .flow-rail { grid-row: 1 / span 2; align-items: flex-start; }
  .flow-node { width: 44px; height: 44px; font-size: 15px; margin-top: 18px; }
  .flow-art { grid-column: 2; grid-row: 1; max-width: 380px; }
  .flow-copy { grid-column: 2; grid-row: 2; }
  .flow-rail::after { top: 74px; bottom: -10px; }
  .flow-step:not(:last-child) .flow-rail::before { bottom: -8px; }
  .flow-step:last-child .flow-rail::after { bottom: 40%; }
  }
@media (prefers-reduced-motion: reduce) {
  .flow-art img, .flow-node::after, .flow-rail::after { animation: none; }
}

/* ---------- Technology tiles ---------- */
.tech-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.tech-split h2 { font-size: var(--fs-h2); line-height: 1.12; margin-top: 10px; }
.tech-split p { margin-bottom: 18px; }
.tech-cloud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tech-tile { position: relative; display: grid; justify-items: center; gap: 9px; padding: 18px 8px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tech-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent), 0 18px 36px -16px color-mix(in srgb, var(--c) 70%, transparent); }
.tech-tile .tech-logo { width: 34px; height: 34px; object-fit: contain; }
.tech-tile small { font-weight: 600; font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 980px) { .tech-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .tech-cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Reviews band ---------- */
.reviews-band { background: var(--blue); color: #fff; overflow: hidden; }
.reviews-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(25, 182, 255, .6), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(108, 77, 255, .5), transparent 60%); }
.reviews-band .wrap { position: relative; }
.reviews-band .sec-head h2 { font-size: var(--fs-h2); }
.review-lead { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(28px, 4vw, 52px); align-items: center; max-width: 940px; margin: 0 auto 40px; }
.review-photo { position: relative; aspect-ratio: 4/4.4; border-radius: 26px; overflow: hidden; background: linear-gradient(145deg, #0A0F1F, #25306A); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); transform: rotate(-2deg); }
.review-initials { position: absolute; inset: 0; display: grid; place-items: center; font: 900 88px var(--f-display); color: rgba(255, 255, 255, .9); }
.review-quote-ic { position: absolute; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.review-text h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 14px; }
.review-text blockquote { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; font-weight: 500; }
.review-role { margin-top: 16px; opacity: .8; font-weight: 600; }
.review-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.tcard { position: relative; margin: 0; background: #fff; color: var(--ink); border-radius: 18px; padding: 22px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.tcard-stars i { font-style: normal; color: #D6DBE6; font-size: 18px; }
.tcard-stars i.on { color: var(--amber); }
.tcard blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); flex: 1; }
.tcard figcaption { display: flex; gap: 12px; align-items: center; }
.tcard figcaption b { display: block; font-size: 15px; }
.tcard figcaption small { color: var(--muted); font-size: 13px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar b { font-size: 15px; }
@media (max-width: 760px) { .review-lead { grid-template-columns: minmax(0, 1fr); } .review-photo { max-width: 320px; } }

/* ---------- Academy teaser ---------- */
.academy-teaser { background: #120B2E; color: #fff; overflow: hidden; }
.academy-teaser::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 40%, rgba(108, 77, 255, .55), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(198, 244, 50, .12), transparent 70%); }
.at-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }
.at-copy .eyebrow { color: var(--lime); }
.at-copy h2 { font-size: var(--fs-h2); line-height: 1.12; margin: 12px 0 14px; }
.at-copy p { color: #C8C2E6; font-size: 16px; }
.at-courses { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.at-courses a { display: grid; grid-template-columns: 12px 1fr auto 20px; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background .25s, transform .25s; }
.at-courses a:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.at-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 30%, transparent); }
.at-courses small { color: #A79FD0; }
.at-art { position: relative; }
.at-art > .vx { border-radius: 22px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); background: linear-gradient(160deg, #2A1F66, #1A1240); }
.at-cert { position: absolute; left: -6%; bottom: 8%; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); }
.at-cert-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; }
.at-cert b { display: block; }
.at-cert small { color: var(--muted); }
@media (max-width: 980px) { .at-grid { grid-template-columns: minmax(0, 1fr); } .at-cert { left: 4%; } }

/* ---------- Blog cards ---------- */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bcard { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.bcard-media { display: block; overflow: hidden; }
.bcard-media > .vx, .bcard-media > img { transition: transform .7s var(--ease); }
.bcard-media > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.bcard:hover .bcard-media > .vx, .bcard:hover .bcard-media > img { transform: scale(1.05); }
.bcard-body { padding: 16px 18px 20px; display: grid; gap: 8px; }
.bcard-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.bcard-cat { font-weight: 700; color: var(--a); background: color-mix(in srgb, var(--a) 10%, #fff); padding: 3px 9px; border-radius: 6px; }
.bcard h3 { font: 800 18px/1.35 var(--f-body); letter-spacing: -.015em; }
.bcard h3 a:hover { color: var(--blue); }
.bcard p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 980px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bgrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; background: var(--blue); color: #fff; overflow: hidden; padding: clamp(48px, 5.5vw, 76px) 0; }
.cta-band-bg span { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14); }
.cta-band-bg span:nth-child(1) { width: 520px; height: 520px; right: -140px; top: -220px; }
.cta-band-bg span:nth-child(2) { width: 320px; height: 320px; right: 120px; bottom: -200px; border-color: rgba(198, 244, 50, .35); }
.cta-band-bg span:nth-child(3) { width: 120px; height: 120px; left: 42%; top: -60px; background: rgba(255, 46, 136, .5); border: 0; filter: blur(30px); }
.cta-band-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band .eyebrow { color: var(--lime); }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 48px); margin: 10px 0 12px; }
.cta-band p { font-size: 16px; opacity: .9; max-width: 560px; margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.footer { background: #05080F; color: #AEB6CC; padding: 60px 0 24px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 340px; }
.footer h4 { color: #fff; font: 800 14px var(--f-body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 8px; align-items: flex-start; word-break: break-word; }
.footer-contact .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--cyan); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.footer-social a:hover { background: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer v2 — portals, rating, refined links and bottom bar */
.footer { position: relative; padding-top: clamp(52px, 5vw, 72px); background: radial-gradient(60% 50% at 8% 0%, rgba(108, 77, 255, .16), transparent 70%), radial-gradient(45% 40% at 100% 0%, rgba(31, 107, 255, .14), transparent 70%), #05080F; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(198, 244, 50, .45), rgba(31, 107, 255, .45), transparent); }
.ft-portals { padding-bottom: clamp(40px, 4vw, 52px); margin-bottom: clamp(40px, 4vw, 52px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-portals-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.ft-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.ft-kicker .ic { width: 15px; height: 15px; }
.ft-portals-head h2 { font: 800 clamp(24px, 2.4vw, 32px)/1.15 var(--f-display); color: #fff; letter-spacing: -.02em; margin: 10px 0 6px; }
.ft-portals-head p { margin: 0; max-width: 560px; color: #98A2BC; }
.ft-portals-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-portal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ft-portal { --pc: var(--blue); position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 18px 44px 18px 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .25s, transform .25s var(--ease), background .25s; }
.ft-portal:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--pc), 0 22px 44px -24px var(--pc); background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 16%, transparent), rgba(255, 255, 255, .02)); }
.ft-portal:focus-visible { outline: 3px solid var(--pc); outline-offset: 2px; }
.ft-portal-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 18%, transparent); color: var(--pc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 30%, transparent); }
.ft-portal-ic .ic { width: 22px; height: 22px; }
.ft-portal-txt b { display: block; color: #fff; font-size: 15.5px; line-height: 1.3; margin: 2px 0 4px; }
.ft-portal-txt small { display: block; font-size: 13px; line-height: 1.5; color: #98A2BC; }
.ft-portal-go { position: absolute; top: 16px; right: 16px; color: #5E6782; transition: color .25s, transform .25s var(--ease); }
.ft-portal-go .ic { width: 18px; height: 18px; }
.ft-portal:hover .ft-portal-go { color: var(--pc); transform: translate(2px, -2px); }
.ft-rating { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; padding: 10px 16px 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); margin-bottom: 18px; transition: background .2s; }
.ft-rating:hover { background: rgba(255, 255, 255, .09); }
.ft-g { width: 28px; height: 28px; grid-row: span 2; }
.ft-rating span { display: inline-flex; align-items: center; gap: 8px; color: #fff; line-height: 1.2; }
.ft-rating b { font: 800 18px var(--f-display); }
.ft-rating .stars i { color: #3A4460; }
.ft-rating small { font-size: 12.5px; color: #98A2BC; }
.ft-more { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.ft-more .ic { width: 15px; height: 15px; transition: transform .2s; }
.ft-more:hover .ic { transform: translateX(3px); }
.ft-h4-gap { margin-top: 28px; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.footer ul a:hover { color: #fff; transform: translateX(2px); }
.footer .footer-contact a, .footer .footer-contact span { align-items: flex-start; }
.footer-bottom { align-items: center; color: #7E88A3; }
.ft-copy { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.ft-sep { width: 4px; height: 4px; border-radius: 50%; background: #3A4460; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft-legal a:hover { color: #fff; }
.ft-top { display: inline-flex; align-items: center; gap: 5px; }
.ft-top .ic { width: 14px; height: 14px; transform: rotate(-45deg); }
@media (max-width: 1100px) { .ft-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1180px) and (min-width: 981px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ft-portal-grid { grid-template-columns: minmax(0, 1fr); }
  .ft-portals-cta { width: 100%; }
  .ft-portals-cta .btn { flex: 1 1 100%; justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ft-sep { display: none; }
  .ft-copy { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Split-layout headings are narrower: scale down */
.stile { display: flex; flex-direction: column; }
.stile-label { flex: 1; }
.hero-code .vx-stage { font-size: 1.25cqw; }

/* Card media: never stretch generated visuals — centre them on a matching backdrop */
.pcard-media { display: grid; place-items: center; background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--a) 26%, #fff) 0%, transparent 55%), linear-gradient(160deg, #F7F9FE, #E9EEF9); }
.pcard-media > .vx { height: auto; background: transparent; }
.pcard-media > img { height: 100%; align-self: stretch; }
.topbar a { white-space: nowrap; }
@media (max-width: 480px) { .chip-mini { display: none; } }
.admin-preview-bar > span { gap: 6px; }
@media (max-width: 640px) {
  .admin-preview-bar { flex-wrap: nowrap; font-size: 12.5px; padding: 7px 14px; gap: 12px; }
  .admin-preview-bar .apb-long { display: none; }
  .admin-preview-bar ~ .nav-shell { top: 68px; }
}
/* Dark scenes keep a dark backdrop inside cards */
.pcard-media:has(> .vx-map, > .vx-pipeline, > .vx-git, > .vx-notebook) { background: radial-gradient(90% 80% at 80% 0%, color-mix(in srgb, var(--a) 40%, #0A0F1F), transparent 60%), #0A0F1F; }
/* Logo placements */
.nav-brand .lg { transition: transform .3s var(--ease); }
.nav-brand:hover .lg-mark { transform: rotate(-6deg); transition: transform .35s var(--ease); }
.footer-brand .lg { margin-bottom: 4px; }
@media (max-width: 380px) { .nav-brand .lg { --lg-size: 18px !important; } }

/* ---------- Reviews: Google summary + rail ---------- */
.stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; }
.stars i { font-style: normal; position: relative; color: #D6DBE6; }
.stars i::before { content: "★"; position: absolute; inset: 0; width: var(--f); overflow: hidden; color: #FBBC05; }
.stars.lg { font-size: 22px; gap: 2px; }
.g-mark { width: 1em; height: 1em; display: block; }
.rv-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.rv-layout.solo { grid-template-columns: minmax(0, 460px); justify-content: center; }
.rv-summary { background: rgba(10, 15, 31, .38); backdrop-filter: blur(10px); border-radius: 22px; padding: 24px; display: grid; gap: 18px; align-content: start; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.rv-src { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.rv-src .g-mark { font-size: 22px; background: #fff; border-radius: 50%; padding: 4px; box-sizing: content-box; }
.rv-score { display: flex; align-items: center; gap: 14px; }
.rv-score > b { font: 900 58px/1 var(--f-display); letter-spacing: -.03em; }
.rv-score small { display: block; margin-top: 6px; opacity: .8; font-size: 13.5px; }
.rv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rv-bars li { display: grid; grid-template-columns: 26px 1fr 22px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.rv-bars i { height: 7px; border-radius: 9px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.rv-bars em { display: block; height: 100%; background: #FBBC05; border-radius: 9px; }
.rv-bars small { text-align: right; opacity: .8; }
.rv-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-topics small { width: 100%; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.rv-topics span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-actions .ic { width: 15px; height: 15px; }
.rv-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
.rv-rail .tcard { scroll-snap-align: start; }
.rv-rail:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 12px; }
.tcard-top { display: flex; justify-content: space-between; align-items: center; }
.tcard-src { font-size: 20px; }
.tcard blockquote.is-long { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.tcard blockquote.is-long.open { display: block; }
.tcard-more { align-self: flex-start; border: 0; background: none; padding: 0; font-weight: 700; font-size: 13.5px; color: var(--blue); margin-top: -6px; }
.tcard figcaption { position: relative; }
.tcard-link { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.tcard-link:hover { background: var(--bg-2); color: var(--ink); }
.tcard-link .ic { width: 15px; height: 15px; }
@media (max-width: 900px) { .rv-layout { grid-template-columns: minmax(0, 1fr); } .rv-rail { grid-auto-columns: minmax(270px, 85%); } }

/* Hero trust chip */
.hero-rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: 14px; color: #fff; transition: background .2s; }
.hero-rating:hover { background: rgba(255, 255, 255, .14); }
.hero-rating .g-mark { font-size: 16px; background: #fff; border-radius: 50%; padding: 4px; box-sizing: content-box; }
.hero-rating b { font-weight: 800; }
.hero-rating .stars { font-size: 14px; }
.hero-rating small { color: #C6CEE0; }
.tcard blockquote.is-long { flex: none; -webkit-line-clamp: 8; }
.tcard figcaption { margin-top: auto; }
.rail-wrap { position: relative; min-width: 0; }
.rail-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 14px; width: 48px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(31, 107, 255, .55)); border-radius: 0 18px 18px 0; transition: opacity .3s; }
.rail-wrap.at-end::after { opacity: 0; }
.rail-nav { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 10px 24px -8px rgba(10, 15, 31, .45); transform: translateY(-50%); transition: opacity .25s, transform .25s; }
.rail-nav:hover { transform: translateY(-50%) scale(1.06); }
.rail-nav.prev { left: -14px; } .rail-nav.next { right: -14px; }
.rail-nav[disabled] { opacity: 0; pointer-events: none; }
.rail-nav .ic { width: 20px; height: 20px; }
@media (hover: none) { .rail-nav { display: none; } }
.rail-wrap { display: flex; }
.rail-wrap > [data-rail] { flex: 1; min-width: 0; }

/* Top bar portal link */
.topbar-portal { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff !important; font-weight: 600; }
.topbar-portal:hover { background: rgba(255, 255, 255, .16); }
.topbar-portal .ic { width: 14px; height: 14px; }

/* "Your project next" tile — fills the last row of a project grid */
.pcard-cta { background: radial-gradient(120% 90% at 100% 0%, rgba(198, 244, 50, .16), transparent 55%), linear-gradient(160deg, #161D31, #0E1428); justify-content: center; min-height: 240px; }
.pcard-cta-in { padding: 30px 28px; display: grid; gap: 10px; align-content: center; height: 100%; }
.pcard-cta h3 { font-size: clamp(20px, 1.7vw, 24px); max-width: 22ch; }
.pcard-cta p { max-width: 46ch; }
.pcard-cta-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: var(--lime, #C6F432); }
.pcard-cta-go .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.pcard-cta:hover .pcard-cta-go .ic { transform: translateX(4px); }
.proj-grid .pcard.pcard-cta { background: radial-gradient(120% 90% at 100% 0%, rgba(31, 107, 255, .10), transparent 55%), var(--bg-2, #F4F6FB); }
.proj-grid .pcard-cta .pcard-cat { color: #1F6BFF; }
.proj-grid .pcard-cta .pcard-cta-go { color: #1F6BFF; }
.proj-grid .pcard-cta-2 { grid-column: span 2; }
@media (max-width: 620px) { .proj-grid .pcard-cta-2 { grid-column: auto; } .pcard-cta { min-height: 0; } }

/* ==========================================================================
   Phones: shorter home page without dropping content — compact service tiles, swipeable project and blog rows,
   smaller process illustrations.
   ========================================================================== */
@media (max-width: 620px) {
  .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stile-art { padding: 12px 12px 0; }
  .stile-label { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 12px 12px; }
  .stile-ic, .stile-go { display: none; }
  .stile-label b { font-size: 13.5px; overflow-wrap: anywhere; }
  .stile-label small { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  .bento, .bgrid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    gap: 14px; margin: 0 -16px; padding: 4px 16px 16px; scrollbar-width: thin; }
  .bento > *, .bgrid > * { scroll-snap-align: start; scroll-margin-left: 16px; }
  .bento .pcard-lg, .bento .pcard-md, .bento .pcard-sm { grid-row: auto; grid-column: auto; }

  .flow-art { max-width: 230px; }
}
