/* Digital Links — Business Central site (light corporate theme) */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f3ff;
  --bg-tint: #eeecfd;
  --ink: #1e1b4b;
  --text: #334155;
  --muted: #5b6678;
  --line: #e7e4f5;
  --line-2: #d4cfee;
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --cyan: #0891b2;
  --accent: #ec4899;
  --accent-dark: #db2777;
  --grad: linear-gradient(110deg, #4f46e5 0%, #6366f1 45%, #06b6d4 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, .06), 0 2px 8px rgba(30, 27, 75, .05);
  --shadow: 0 8px 30px -8px rgba(30, 27, 75, .16);
  --shadow-lg: 0 30px 70px -24px rgba(67, 56, 202, .3);
  --font: "Segoe UI Variable Text", "Segoe UI", "Figtree", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-d: "Segoe UI Variable Display", "Segoe UI", "Figtree", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font-d); color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(79, 70, 229, .18); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 16px; height: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 8px; font: 600 15.5px/1.2 var(--font); border: 1px solid transparent; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s, border-color .2s, color .2s; }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .65); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); background: var(--bg-tint); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }
.eyebrow { display: inline-block; font: 700 13px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 4px 20px -12px rgba(30, 27, 75, .25); }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 50px; width: auto; }
.logo-footer img { width: 250px; height: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list .m-only { display: none; }
.nav-list > li > a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px; font: 500 15.5px var(--font); color: var(--text); background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; transition: color .2s, border-color .2s; }
.nav-list > li > a:hover, .menu-btn:hover, .nav-list > li > a[aria-current], .has-menu.active > .menu-btn { color: var(--brand); border-bottom-color: var(--brand); }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
/* mega menu */
.has-menu { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(30, 27, 75, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 250px minmax(0, 1fr) 280px; gap: 36px; padding-block: 30px 34px; }
.mega-side { display: flex; flex-direction: column; gap: 6px; padding-right: 28px; border-right: 1px solid var(--line); }
.mega-side .eyebrow { margin-bottom: 4px; }
.mega-side p { font-size: 15px; line-height: 1.55; color: var(--text); margin: 0 0 8px; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 14px; align-content: start; }
.mega-grid a { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; transition: background .18s; }
.mega-grid a:hover, .mega-grid a:focus-visible, .mega-grid a[aria-current] { background: var(--bg-alt); }
.mi-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--bg-tint); color: var(--brand); transition: background .18s, color .18s, transform .18s; }
.mi-ic .ic { width: 20px; height: 20px; }
.mega-grid a:hover .mi-ic { background: var(--grad); color: #fff; transform: scale(1.05); }
.mi-thumb { flex: none; width: 42px; }
.ph.mi-photo { aspect-ratio: 1; border-radius: 11px; }
.ph.mi-photo::before { width: 16px; height: 26px; }
.mi-t { display: grid; gap: 3px; min-width: 0; }
.mi-t b { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mega-grid a:hover .mi-t b, .mega-grid a[aria-current] .mi-t b { color: var(--brand); }
.mi-t small { font-size: 13.2px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-feature { position: relative; align-self: start; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--bg-alt); transition: box-shadow .2s, transform .2s; }
.mega-feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ph.mf-photo { border-radius: 0; aspect-ratio: 16 / 10; }
.mf-b { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px 18px; }
.mf-t { font-weight: 600; color: var(--ink); line-height: 1.4; font-size: 15px; }
.has-menu:hover .chev, .has-menu.open .chev { transform: rotate(180deg); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* hero */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 72px; overflow: hidden; background: linear-gradient(180deg, #f3f1ff 0%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.b1 { width: 560px; height: 560px; background: rgba(34, 182, 210, .22); top: -220px; right: -120px; }
.b2 { width: 520px; height: 520px; background: rgba(236, 72, 153, .14); bottom: -300px; right: 22%; }
.b3 { width: 380px; height: 380px; background: rgba(6, 182, 212, .12); top: -140px; left: -160px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-copy { max-width: 720px; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.hero-home h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--muted); margin: 22px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--brand); } .crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 4px; color: var(--line-2); }

.hero-related { align-self: center; justify-self: end; width: 100%; max-width: 400px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.hr-k { display: block; font: 700 12.5px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero-related ul { list-style: none; margin: 0; padding: 0; }
.hero-related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); transition: color .2s; }
.hero-related li:first-child a { border-top: 0; }
.hero-related a .ic { color: var(--brand); transition: transform .2s; }
.hero-related a:hover { color: var(--brand); }
.hero-related a:hover .ic { transform: translateX(3px); }

/* app window mock */
.hero-art { position: relative; width: 100%; max-width: 560px; justify-self: end; padding: 24px 0 40px 30px; }
.mk-window { position: relative; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mk-top { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: var(--grad); }
.mk-dots { display: flex; gap: 6px; } .mk-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.mk-top img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.mk-search { margin-left: auto; width: 34%; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .25); }
.mk-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.mk-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; background: var(--bg-alt); border-right: 1px solid var(--line); color: var(--muted); }
.mk-rail span:first-child { color: var(--brand); }
.mk-rail .ic { width: 20px; height: 20px; }
.mk-main { padding: 18px; }
.mk-head { display: grid; gap: 7px; margin-bottom: 16px; }
.mk-head i, .mk-tile i { display: block; height: 10px; width: 46%; border-radius: 5px; background: #e2e8f0; }
.mk-head i.s, .mk-tile i.s { width: 70%; height: 7px; background: #eef2f7; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mk-tile { display: grid; gap: 8px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.mk-tile i { width: 80%; }
.mk-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bg-tint); color: var(--brand); }
.mk-tile:nth-child(3n+2) .mk-ic { background: #e3f6fa; color: var(--cyan); }
.mk-ic .ic { width: 18px; height: 18px; }
.mk-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.mk-chart { left: 0; bottom: 0; width: 180px; padding: 14px; }
.mk-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.mk-bars b { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #22b6d2, #4f46e5); }
.mk-flow { right: -12px; top: 0; display: flex; gap: 8px; padding: 10px; animation-delay: -3s; }
.mk-flow span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--bg-tint); color: var(--brand); }
.mk-flow span:last-child { background: #e3f6fa; color: var(--cyan); }
.mk-flow .ic { width: 18px; height: 18px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* sticky in-page tabs */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 18px; }
.subnav-k { flex: none; font: 700 12.5px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 16px 12px 13px; font-size: 14.5px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* sections */
.intro { padding: 64px 0 8px; }
.intro-inner { max-width: 900px; font-size: 1.12rem; }
.intro-inner p { color: var(--text); }
.sec { padding: 80px 0; }
.sec:nth-of-type(even) { background: var(--bg-alt); }
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; max-width: 900px; }
.sec-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); font-weight: 700; }
.learn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15.5px; color: var(--brand); }
.learn .ic { transition: transform .2s; }
.learn:hover { text-decoration: underline; }
.learn:hover .ic { transform: translateX(3px); }
.sec-body > p, .sec-body > .checklist.cols-1 { max-width: 900px; }
p.lead-in { color: var(--text); font-weight: 500; }

/* checklist */
.checklist { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; gap: 10px 14px; }
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checklist.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 15.5px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.checklist li:hover { border-color: #bdb4f2; box-shadow: var(--shadow-sm); }
.ic-check { width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; color: #fff; background: var(--brand); stroke-width: 3; }

/* cards */
.cards { display: grid; gap: 20px; margin: 12px 0 28px; }
.cards.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: block; padding: 28px 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfc9f5; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin: 18px 0 10px; }
.card p { font-size: 15.5px; margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card .checklist { grid-template-columns: 1fr; gap: 4px; margin: 8px 0 0; }
.card .checklist li { padding: 5px 0; background: none; border: 0; font-size: 15px; box-shadow: none; }
.card .ic-check { width: 18px; height: 18px; padding: 3px; }
.card-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--brand); background: var(--bg-tint); }
.cards .card:nth-child(3n+2) .card-ic { color: var(--cyan); background: #e3f6fa; }
.card-link .card-more { position: absolute; top: 28px; right: 26px; color: var(--brand); transition: transform .2s; }
.card-link:hover .card-more { transform: translateX(4px); }

/* tabbed explorer */
.tabs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; margin: 12px 0 28px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 4px; }
.tab { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 16px; border-radius: 10px; border: 0; border-left: 3px solid transparent; background: none; font: 500 15.5px/1.35 var(--font); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab .ic { width: 20px; height: 20px; }
.tab:hover { background: rgba(79, 70, 229, .05); color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--brand); border-left-color: var(--brand); box-shadow: var(--shadow-sm); font-weight: 600; }
.tab-panel { min-height: 100%; padding: 36px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: fade .35s ease; }
.tab-panel h3 { font-size: 1.5rem; font-weight: 700; margin: 18px 0 12px; }
.tab-panel p { font-size: 1.05rem; }
.panel-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff; }
.panel-ic .ic { width: 28px; height: 28px; }
@keyframes fade { from { transform: translateY(6px); } to { transform: none; } }

/* subblock */
.subblock { margin: 24px 0; padding: 30px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.sec:nth-of-type(odd) .subblock { background: var(--bg-alt); border-color: transparent; }
.subblock h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.sub-ic { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--bg-tint); color: var(--brand); }
.subblock .checklist.cols-3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* steps: horizontal timeline */
.steps { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px 22px; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step::before { content: ""; position: absolute; top: 23px; left: 56px; right: -18px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.step:last-child::before { display: none; }
.step-n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 700 17px var(--font-d); color: var(--brand); background: #fff; border: 2px solid var(--brand); transition: background .2s, color .2s; }
.step:hover .step-n { background: var(--brand); color: #fff; }
.step-b h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.step-b p { font-size: 15.5px; margin-bottom: .5rem; }
.step-b .checklist { grid-template-columns: 1fr; gap: 6px; }
.step-b .checklist li { padding: 8px 12px; font-size: 14.5px; }

/* flow */
.flow { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.flow-step { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.3; box-shadow: var(--shadow-sm); }
.flow-step + .flow-step::before { content: "›"; position: absolute; left: -19px; top: 50%; transform: translateY(-52%); font-size: 22px; font-weight: 400; color: var(--brand); }
.flow-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 11.5px; color: #fff; background: var(--grad); }

/* table */
.table-wrap { overflow-x: auto; margin: 16px 0 28px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th { text-align: left; font: 700 16px var(--font-d); color: #fff; padding: 18px 24px; background: var(--brand); }
.compare th + th { background: #6366f1; }
.compare td { padding: 14px 24px; border-top: 1px solid var(--line); color: var(--text); font-size: 15.5px; vertical-align: top; width: 50%; }
.compare td + td { border-left: 1px solid var(--line); }
.compare tr:nth-child(even) td { background: #faf9ff; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 20px 0 30px; }
.ind-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind-card h3 { font-size: 1.15rem; font-weight: 600; }
.ind-card p { font-size: 15.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ind-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; }
.link-arrow { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--brand); }
.link-arrow .ic { transition: transform .2s; }
.ind-card:hover .link-arrow .ic { transform: translateX(3px); }
.related { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 10px 16px 10px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.related:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.related .ic { color: var(--brand); transition: transform .2s; }
.related:hover .ic { transform: translateX(3px); }
.related-k { padding: 4px 9px; border-radius: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--bg-tint); }

/* services explorer (home) */
.services { padding: 88px 0 72px; background: #fff; border-bottom: 1px solid var(--line); }
.services-head { text-align: center; margin: 0 auto 30px; }
.services-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; }
.pill-tabs { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0 auto 36px; border-bottom: 1px solid var(--line); width: fit-content; max-width: 100%; }
.pill-tabs .tab { width: auto; padding: 14px 22px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; font-size: 16px; box-shadow: none; }
.pill-tabs .tab[aria-selected="true"] { background: none; border-bottom-color: var(--brand); box-shadow: none; }
.svc-panel { padding: 0; border: 0; box-shadow: none; background: none; min-height: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.svc:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.svc h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.svc .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand); }
.svc .more .ic { transition: transform .2s; }
.svc:hover .more .ic { transform: translateX(3px); }

/* CTA band */
.cta-band { padding: 88px 0; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 22px; background: linear-gradient(120deg, #eeecfd 0%, #fdeef7 100%); border: 1px solid #e5dcf7; }
.cta-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 72, 153, .28), transparent 70%); pointer-events: none; }
.cta-copy { position: relative; }
.cta-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 16px; }
.cta-text p { color: var(--text); }
.cta-card .cta-strong { color: var(--ink); font: 600 clamp(1.08rem, 1.6vw, 1.3rem)/1.4 var(--font-d); margin: 18px 0 0; }
.cta-action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-mark { width: 70px; height: auto; }
.cta-action .btn { padding: 15px 26px; font-size: 16px; }

/* FAQ */
.faq { padding: 88px 0 100px; background: var(--bg-alt); }
.faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 80px); }
.faq-side h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; }
.faq-list { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; cursor: pointer; list-style: none; font: 600 1.06rem/1.45 var(--font); color: var(--ink); transition: background .2s; }
.faq-item summary:hover { background: #faf9ff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; color: var(--brand); background: var(--bg-tint); transition: transform .25s, background .25s, color .25s; }
.faq-toggle .ic { width: 18px; height: 18px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-item[open] summary { color: var(--brand); }
.faq-a { padding: 0 26px 22px; }
.faq-a p { margin-bottom: .6rem; }

/* contact */
.hero-contact { min-height: 100vh; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-form { display: grid; gap: 16px; padding: 34px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact-form label { display: grid; gap: 7px; font: 600 14px var(--font); color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 400 16px var(--font); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-ok { color: var(--brand); margin: 0; font-weight: 500; }

/* footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 0; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.f-tag { margin: 18px 0 22px; max-width: 320px; font-size: 15px; }
.f-col h4 { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-col a { color: var(--muted); font-size: 15px; line-height: 1.4; transition: color .2s; }
.f-col a:hover { color: var(--brand); text-decoration: underline; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.to-top:hover { color: var(--brand); }

/* reveal: content is visible at rest, the motion is only a gentle lift */
.js .reveal { transform: translateY(18px); transition: transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { transform: none; }

/* responsive */
@media (max-width: 1180px) {
  .mega-in { grid-template-columns: 210px minmax(0, 1fr) 230px; gap: 24px; }
  .tabs { grid-template-columns: 250px minmax(0, 1fr); }
  .nav-list > li > a, .menu-btn { padding: 0 10px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .logo img { height: 44px; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 16px 24px 40px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .nav-open { overflow: hidden; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .menu-btn { width: 100%; height: auto; justify-content: space-between; font-size: 17px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav-list > li > a:hover, .menu-btn:hover, .nav-list > li > a[aria-current], .has-menu.active > .menu-btn { border-bottom-color: var(--line); }
  .nav-list .m-only { display: block; margin-top: 18px; }
  .nav-list .m-only .btn { width: 100%; justify-content: center; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
  .mega::before { display: none; }
  .has-menu:hover .mega, .has-menu:focus-within .mega { display: none; }
  .has-menu.open .mega { display: block; }
  .mega-in { grid-template-columns: 1fr; gap: 0; padding: 6px 0 12px; }
  .mega-side, .mega-feature { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-grid a { padding: 10px 6px; }
  .mi-ic, .mi-thumb { width: 36px; height: 36px; }
  .mi-t small { -webkit-line-clamp: 1; }
  .has-menu:hover .chev { transform: none; }
  .has-menu.open .chev { transform: rotate(180deg); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art, .hero-related { justify-self: start; }
  .tabs { grid-template-columns: 1fr; gap: 16px; }
  .tabs > .tab-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
  .tabs > .tab-list::-webkit-scrollbar { display: none; }
  .tabs > .tab-list .tab { width: auto; flex: none; white-space: nowrap; border-left: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; background: #fff; }
  .tabs > .tab-list .tab[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { grid-template-columns: 1fr; gap: 28px; }
  .cta-action { flex-direction: row; justify-content: flex-start; }
  .cta-mark { width: 44px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 52px; }
  .hero-art { padding: 16px 0 30px 16px; }
  .mk-body { min-height: 0; }
  .mk-tiles { grid-template-columns: repeat(2, 1fr); }
  .mk-chart { width: 140px; }
  .mk-bars { height: 50px; }
  .mk-flow { right: 0; }
  .sec { padding: 56px 0; }
  .intro { padding-top: 44px; }
  .cards.g-2, .cards.g-3 { grid-template-columns: 1fr; }
  .checklist.cols-2, .checklist.cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { flex-direction: row; gap: 16px; padding-bottom: 22px; }
  .step::before { top: 50px; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
  .step-n { flex: none; }
  .flow { flex-direction: column; align-items: flex-start; gap: 18px; }
  .flow-step + .flow-step::before { content: "⌄"; left: 22px; top: -16px; transform: none; font-size: 16px; line-height: 1; }
  .tab-panel { padding: 24px 20px; }
  .subblock { padding: 22px 18px; }
  .svc-grid { grid-template-columns: 1fr; }
  .pill-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; }
  .pill-tabs .tab { flex: none; padding: 12px 14px; font-size: 15px; }
  .subnav-k { display: none; }
  .f-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
  .faq-item summary { padding: 18px; font-size: 1rem; }
  .faq-a { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { transform: none; }
}

/* ---------- photos ---------- */
.ph { position: relative; margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; max-width: 100%;
  background: linear-gradient(135deg, #e4e1fc 0%, #d7f3f8 100%); }
.ph::before { content: ""; position: absolute; inset: 0; margin: auto; width: 56px; height: 90px; opacity: .35;
  background: url("logo-icon.png") center / contain no-repeat; }
.ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.ph.img-failed img { display: none; }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 560px; padding: 0 0 34px 28px; }
.hero-photo { border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero-media .mk-chart { left: 0; bottom: 0; }
.hero-badge { position: absolute; right: -14px; top: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); animation: bob 8s ease-in-out infinite; animation-delay: -2s; }
.hero-badge img { width: 22px; height: auto; }
.hero-badge span { display: grid; line-height: 1.25; }
.hero-badge b { font-size: 14.5px; color: var(--ink); }
.hero-badge small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }


/* short lists as tags */
.chips { list-style: none; margin: 10px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line-2); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; transition: border-color .2s, background .2s, color .2s; }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }
.chips li:hover { border-color: var(--brand); color: var(--brand); }
.sec:nth-of-type(even) .chips li { background: #fff; }
.card .chips, .tab-panel .chips, .step-b .chips { gap: 8px; }
.card .chips li, .step-b .chips li { padding: 6px 12px; font-size: 14px; background: var(--bg-alt); border-color: transparent; }

/* read more */
details.more { margin-top: 4px; }
details.more > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; margin: 4px 0 10px;
  padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--brand); background: var(--bg-tint); transition: background .2s; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
details.more[open] > summary::after { transform: rotate(-135deg) translate(-2px, 0); }
details.more > summary:hover { background: #e2defc; }
details.more .more-close, details.more[open] .more-open { display: none; }
details.more[open] .more-close { display: inline; }
details.more[open] > summary { margin-bottom: 18px; }

/* photo cards */
.card-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo { border-radius: 0; aspect-ratio: 16 / 10; }
.card-photo img { transition: transform .6s ease; }
.card-img:hover .card-photo img, .ind-card:hover .card-photo img, .rel-card:hover .rel-photo img { transform: scale(1.05); }
.card-b { padding: 22px 24px 24px; }
.card-img h3 { margin-top: 0; }
.card-img .card-more { top: auto; bottom: 22px; }
.cards.g-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards.g-5 > * { grid-column: span 2; }
.cards.g-5 > :nth-child(4) { grid-column: 2 / span 2; }
.ind-card { padding: 0; overflow: hidden; gap: 0; }
.ind-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ind-grid > * { grid-column: span 2; }
.ind-grid > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 1024px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ind-grid > *, .ind-grid > :nth-child(4) { grid-column: auto; } }
@media (max-width: 720px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-b { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }

/* related services strip */
.related-sec { padding: 20px 0 88px; }
.rel-head { display: flex; flex-direction: column; margin-bottom: 26px; }
.rel-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
.rel-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rel-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 18px; border-radius: 16px; background: var(--bg-alt); scroll-snap-align: start; transition: background .2s, box-shadow .2s; }
.rel-card:hover { background: #fff; box-shadow: var(--shadow); }
.rel-photo { aspect-ratio: 16 / 10; border-radius: 10px; }
.rel-photo img { transition: transform .6s ease; }
.rel-t { padding: 4px 6px 0; font-weight: 600; font-size: 16.5px; color: var(--ink); line-height: 1.35; }
.rel-card .more { margin-top: auto; padding: 0 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--brand); }

/* CTA photo */
.cta-photo { width: 300px; border-radius: 16px; box-shadow: var(--shadow); }
.cta-action { gap: 20px; }

@media (max-width: 1024px) {
  .hero-media { justify-self: start; max-width: 520px; }
  .cards.g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.g-5 > *, .cards.g-5 > :nth-child(4) { grid-column: auto; }
  .cta-photo { display: none; }
}
@media (max-width: 720px) {
  .hero-media { padding: 0 0 26px 12px; }
  .hero-badge { right: 0; top: 12px; padding: 9px 12px; }
  .cards.g-5 { grid-template-columns: 1fr; }
  .sec-photo { aspect-ratio: 16 / 9; }
}

/* amber accent (palette 4) */
.eyebrow { color: var(--brand); }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 4px; background: var(--accent); }
.chips li::before { background: var(--accent); }
.step:hover .step-n { background: var(--brand); border-color: var(--brand); }
.hero-badge { border-left: 4px solid var(--accent); }
.flow-n { background: var(--accent); color: #fff; }

/* homepage photo slots */
.intro-grid { display: block; }
.intro-photo .intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.intro-photo .intro-inner { max-width: none; }
.ph.intro-ph { box-shadow: var(--shadow); }
.ph.banner-photo { aspect-ratio: 21 / 8; margin: 0 0 30px; box-shadow: var(--shadow); }
.tab-panel.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 30px; align-items: center; }
.ph.panel-photo { border-radius: 14px; }
.ph.faq-photo { margin-top: 28px; box-shadow: var(--shadow); }
@media (max-width: 1024px) {
  .intro-photo .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .tab-panel.has-photo { grid-template-columns: 1fr; }
  .ph.panel-photo { order: -1; aspect-ratio: 16 / 9; }
  .ph.faq-photo { display: none; }
}
@media (max-width: 720px) { .ph.banner-photo { aspect-ratio: 16 / 9; } }
.tab-panel[hidden], [hidden] { display: none !important; }
.cards.g-2 .ph.card-photo { aspect-ratio: 2 / 1; }

/* =========================================================
   Modern homepage + refined global details
   ========================================================= */
:root { --font-d: "Manrope", "Segoe UI Variable Display", "Segoe UI", "Figtree", system-ui, sans-serif; --night: #0d0b26; --night-2: #16123a; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.025em; }
.logo .logo-light { display: none; }

/* photo placeholders become designed artwork until the photo loads */
.ph { background:
  radial-gradient(circle at 18% 22%, rgba(79, 70, 229, .55), transparent 46%),
  radial-gradient(circle at 82% 30%, rgba(6, 182, 212, .45), transparent 44%),
  radial-gradient(circle at 60% 88%, rgba(236, 72, 153, .38), transparent 46%),
  linear-gradient(135deg, #e9e6ff, #e0f7fb); }
.ph::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.ph img { z-index: 1; }
.ph::before { opacity: .55; z-index: 0; filter: drop-shadow(0 6px 18px rgba(30, 27, 75, .25)); }

/* ---------- bright hero ---------- */
.page-home .hero-home { position: relative; isolation: isolate; color: var(--ink); padding-top: calc(var(--header-h) + 72px); padding-bottom: 96px;
  background: #fbfaff; }
.page-home .hero-home .hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(rgba(79, 70, 229, .18) 1.2px, transparent 1.3px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
.page-home .hero-home .blob { filter: blur(80px); opacity: 1; animation: drift 16s ease-in-out infinite alternate; }
.page-home .hero-home .b1 { background: rgba(167, 139, 250, .55); width: 560px; height: 560px; top: -200px; left: -160px; right: auto; bottom: auto; }
.page-home .hero-home .b2 { background: rgba(103, 232, 249, .55); width: 520px; height: 520px; top: -120px; right: -100px; left: auto; bottom: auto; animation-delay: -5s; }
.page-home .hero-home .b3 { background: rgba(249, 168, 212, .55); width: 520px; height: 520px; bottom: -280px; left: 40%; top: auto; animation-delay: -10s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 30px) scale(1.12); } }
.page-home .hero-home .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; }
.page-home .hero-home h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; color: #1e1b4b; background: none; -webkit-text-fill-color: currentColor; }
.h1-grad { background: linear-gradient(100deg, #6d28d9 0%, #4f46e5 30%, #06b6d4 62%, #ec4899 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.page-home .hero-home .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; color: #4f46e5;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #8b5cf6, #06b6d4, #ec4899) border-box; border: 1.5px solid transparent; box-shadow: 0 8px 24px -12px rgba(79, 70, 229, .5); }
.page-home .hero-home .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ec4899; box-shadow: 0 0 0 4px rgba(236, 72, 153, .2); }
.page-home .hero-home .hero-lead { color: #475569; font-size: 1.12rem; max-width: 600px; }
.page-home .hero-home .btn-primary { color: #fff; background: linear-gradient(110deg, #6366f1, #a855f7 55%, #ec4899); box-shadow: 0 16px 36px -14px rgba(168, 85, 247, .8); }
.page-home .hero-home .btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
.page-home .hero-home .btn-ghost { background: #fff; color: #312e81; border-color: #ddd6fe; }
.page-home .hero-home .btn-ghost:hover { border-color: #8b5cf6; background: #faf5ff; }

/* stage: framed photo + rotating ring + floating module chips */
.hero-stage { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.stage-ring { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 0deg, #8b5cf6, #06b6d4, #ec4899, #f97316, #8b5cf6);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 24s linear infinite; opacity: .9; }
.stage-dots { position: absolute; inset: 14%; border-radius: 50%; border: 2px dashed rgba(99, 102, 241, .25); animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-photo { position: relative; z-index: 1; width: 74%; padding: 6px; border-radius: 30px; transform: rotate(-3deg);
  background: linear-gradient(135deg, #8b5cf6, #06b6d4 50%, #ec4899); box-shadow: 0 40px 80px -30px rgba(109, 40, 217, .55); }
.stage-photo .hero-photo { border-radius: 25px; aspect-ratio: 4 / 3.4; }
.stage-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.h-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; background: #fff;
  font: 700 14px var(--font-d); color: #1e1b4b; white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(30, 27, 75, .45); animation: bob 7s ease-in-out infinite; }
.h-chip-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; }
.h-chip-ic .ic { width: 17px; height: 17px; }
.h-chip.c1 { top: 6%; left: -2%; } .h-chip.c1 .h-chip-ic { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.h-chip.c2 { top: 16%; right: -4%; animation-delay: -2s; } .h-chip.c2 .h-chip-ic { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.h-chip.c3 { bottom: 20%; left: -6%; animation-delay: -4s; } .h-chip.c3 .h-chip-ic { background: linear-gradient(135deg, #f97316, #ec4899); }
.h-chip.c4 { bottom: 4%; right: 14%; animation-delay: -1s; } .h-chip.c4 .h-chip-ic { background: linear-gradient(135deg, #10b981, #06b6d4); }
.stage-chart { position: absolute; z-index: 3; right: -2%; bottom: 30%; width: 170px; padding: 12px; border-radius: 16px; background: #fff;
  box-shadow: 0 20px 40px -18px rgba(30, 27, 75, .45); animation: bob 8s ease-in-out infinite; animation-delay: -3s; }
.sc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sc-top img { width: 12px; height: auto; } .sc-top i { flex: 1; height: 7px; border-radius: 4px; background: #ede9fe; }
.sc-bars { display: flex; align-items: flex-end; gap: 5px; height: 58px; }
.sc-bars b { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #ec4899, #8b5cf6 60%, #6366f1); }

/* ---------- vibrant keyword strip ---------- */
.kw-strip { display: flex; overflow: hidden; padding: 18px 0; user-select: none; background: linear-gradient(90deg, #6366f1, #a855f7 35%, #ec4899 70%, #f97316); }
.kw-track { display: flex; flex: none; align-items: center; gap: 26px; padding-right: 26px; animation: kw 55s linear infinite; }
.kw-track span { font: 800 clamp(15px, 1.6vw, 19px) var(--font-d); color: #fff; white-space: nowrap; }
.kw-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .95); }
.kw-track i { font-style: normal; color: #fde68a; }
.kw-strip:hover .kw-track { animation-play-state: paused; }
@keyframes kw { to { transform: translateX(-100%); } }

/* ---------- services as a bento grid ---------- */
.page-home .services { padding: 100px 0 90px; background: radial-gradient(circle at 10% 0%, rgba(99, 102, 241, .08), transparent 40%), #fff; }
.page-home .services-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; }
.page-home .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(180px, auto); gap: 16px; }
.page-home .svc { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.page-home .svc::after { content: ""; position: absolute; inset: auto -30% -50% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 70%); opacity: 0; transition: opacity .35s; }
.page-home .svc:hover { transform: translateY(-5px); border-color: rgba(99, 102, 241, .45); box-shadow: 0 24px 50px -24px rgba(79, 70, 229, .45); }
.page-home .svc:hover::after { opacity: 1; }
.page-home .svc-ic { background: linear-gradient(135deg, #eef2ff, #ecfeff); box-shadow: none; }
.page-home .svc:first-child { grid-column: span 2; grid-row: span 2; justify-content: flex-end; color: #fff; border: 0;
  background: radial-gradient(circle at 85% 15%, rgba(34, 211, 238, .55), transparent 45%), radial-gradient(circle at 10% 100%, rgba(236, 72, 153, .45), transparent 50%), linear-gradient(140deg, #312e81, #4f46e5 55%, #7c3aed); }
.page-home .svc:first-child h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; }
.page-home .svc:first-child .svc-ic { position: absolute; top: 26px; left: 26px; width: 58px; height: 58px; background: rgba(255, 255, 255, .16); color: #fff; }
.page-home .svc:first-child .more { color: #fff; }
.page-home .svc:nth-child(7):last-child { grid-column: span 3; }

/* ---------- section rhythm: numbers + zigzag ---------- */
.page-home main { counter-reset: sec; }
.page-home main .sec { counter-increment: sec; }
.page-home main .sec-head h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 10px;
  font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-d); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(79, 70, 229, .55); }
.page-home main .sec-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.page-home .sec-photo { border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(30, 27, 75, .45); }
.page-home .sec-photo { box-shadow: 18px 18px 0 0 rgba(99, 102, 241, .14), 0 30px 60px -28px rgba(30, 27, 75, .45); }
.page-home .sec.has-photo:nth-of-type(odd) .sec-photo { box-shadow: -18px 18px 0 0 rgba(6, 182, 212, .16), 0 30px 60px -28px rgba(30, 27, 75, .45); }
.page-home main .sec { position: relative; z-index: 0; }

/* ---------- bright feature bands ---------- */
.page-home #our-implementation-process, .page-home #erp-solutions-uae-for-connected-business-operations {
  background: radial-gradient(circle at 92% 8%, rgba(103, 232, 249, .35), transparent 40%), radial-gradient(circle at 4% 96%, rgba(249, 168, 212, .4), transparent 42%), linear-gradient(135deg, #f5f3ff, #fdf4ff 50%, #ecfeff); }
.page-home #our-implementation-process .step { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #ede9fe; box-shadow: 0 16px 34px -24px rgba(79, 70, 229, .5); transition: transform .25s, box-shadow .25s; }
.page-home #our-implementation-process .step:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -24px rgba(168, 85, 247, .6); }
.page-home #our-implementation-process .step::before { display: none; }
.page-home #our-implementation-process .step-n { color: #fff; border: 0; background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 8px 18px -8px rgba(236, 72, 153, .7); }
.page-home #our-implementation-process .step:nth-child(3n+2) .step-n { background: linear-gradient(135deg, #06b6d4, #6366f1); }
.page-home #our-implementation-process .step:nth-child(3n) .step-n { background: linear-gradient(135deg, #f97316, #ec4899); }
.page-home #our-implementation-process .banner-photo { border-radius: 24px; }
.page-home #erp-solutions-uae-for-connected-business-operations .tab[aria-selected="true"] { background: #fff; color: #6d28d9; border-left-color: #ec4899; box-shadow: 0 10px 24px -16px rgba(109, 40, 217, .6); }
.page-home #erp-solutions-uae-for-connected-business-operations .tab-panel { border: 0; box-shadow: 0 30px 60px -30px rgba(109, 40, 217, .45); }

/* ---------- why-choose cards with gradient borders ---------- */
.page-home #why-choose-digital-links-for-erp-solutions { background: linear-gradient(180deg, #f5f3ff, #fff); }
.page-home .card-img { border: 0; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(99, 102, 241, .5), rgba(34, 211, 238, .4), rgba(236, 72, 153, .4)) border-box; border: 1.5px solid transparent; border-radius: 22px; }
.page-home .card-img:hover { box-shadow: 0 30px 60px -28px rgba(79, 70, 229, .5); }

/* ---------- closing banner: dark gradient ---------- */
.page-home .cta-card { background: radial-gradient(circle at 85% 10%, rgba(34, 211, 238, .4), transparent 40%), radial-gradient(circle at 10% 90%, rgba(236, 72, 153, .35), transparent 45%), linear-gradient(135deg, #1e1b4b, #4338ca 60%, #6d28d9); border: 0; color: #fff; border-radius: 30px; }
.page-home .cta-card h2, .page-home .cta-card .cta-strong { color: #fff; }
.page-home .cta-card p { color: rgba(238, 242, 255, .85); }
.page-home .cta-card .btn-primary { background: #fff; color: #312e81; }
.page-home .cta-card .btn-primary:hover { background: #eef2ff; }
.page-home .cta-photo { border-radius: 20px; outline: 1px solid rgba(255, 255, 255, .2); }

@media (max-width: 1024px) {
  .hero-media-home { padding: 20px 0 60px 30px; }
  .page-home .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home .svc:first-child { grid-column: span 2; grid-row: span 1; min-height: 240px; }
  .page-home .svc:nth-child(7):last-child { grid-column: span 2; }
  }
@media (max-width: 720px) {
  .page-home .hero-home { padding-top: calc(var(--header-h) + 48px); padding-bottom: 70px; }
  .hero-media-home { padding: 10px 0 60px 10px; }
  .glass-mock { width: 75%; }
  .page-home .svc-grid { grid-template-columns: 1fr; }
  .page-home .svc:first-child, .page-home .svc:nth-child(7):last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .kw-track { animation: none; } }

.page-home .svc:first-child h3 { margin-top: auto; }
.page-home .svc:first-child .more { margin-top: 0; }
.page-home .svc:first-child .svc-ic .ic { width: 28px; height: 28px; }

/* =========================================================
   Alignment pass: consistent section layout everywhere
   ========================================================= */
/* heading across the top, then photo | text aligned at the top */
.sec-head { margin-bottom: 34px; }
.sec-grid { display: block; }
.sec-grid > .sec-body { max-width: none; }
.sec:not(.has-photo) .sec-grid > .sec-body > p, .sec:not(.has-photo) .sec-grid > .sec-body > .chips { max-width: 900px; }
.sec.has-photo .sec-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.sec.has-photo:nth-of-type(odd) .sec-media { order: 2; }
.sec-media { position: sticky; top: calc(var(--header-h) + 76px); }
.ph.sec-photo { margin: 0; width: 100%; border-radius: 20px; box-shadow: 0 24px 50px -26px rgba(30, 27, 75, .45); }
.sec.has-photo .sec-body > :first-child { margin-top: 0; }
.sec.has-photo .sec-body p { font-size: 1.04rem; }
.sec.has-photo .checklist.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec-body > .checklist:last-child, .sec-body > .chips:last-child, .sec-body > p:last-child { margin-bottom: 0; }

/* flow diagrams: evenly spaced numbered steps, arrows never orphaned */
.flow { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; counter-reset: none; margin: 22px 0 28px; }
.flow-step { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; margin-right: 26px; padding: 16px 16px 18px; min-height: 100%;
  border-radius: 14px; font-size: 14.5px; }
.flow-step:last-child { margin-right: 0; }
.flow-step + .flow-step::before { content: none; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%) rotate(45deg);
  border-top: 2.5px solid var(--brand); border-right: 2.5px solid var(--brand); }
.flow-n { width: 28px; height: 28px; font-size: 12px; }

/* step timelines: balanced rows */
.steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.step.row-end::before { display: none; }
.page-home #our-implementation-process .steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }

/* sub-blocks and cards: even edges */
.subblock > :last-child, .card-b > :last-child, .tab-panel .panel-b > :last-child { margin-bottom: 0; }
.cards { align-items: stretch; }
.card-img { height: 100%; }
.compare th, .compare td { width: 50%; }

@media (max-width: 1100px) {
  .flow { grid-template-columns: repeat(min(var(--n, 5), 4), minmax(0, 1fr)); row-gap: 18px; }
  .flow-step:nth-child(4n)::after { display: none; }
  .flow-step:nth-child(4n) { margin-right: 0; }
}
@media (max-width: 1024px) {
  .sec.has-photo .sec-grid { grid-template-columns: 1fr; gap: 26px; }
  .sec.has-photo:nth-of-type(odd) .sec-media { order: 0; }
  .sec-media { position: static; max-width: 640px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-home #our-implementation-process .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::before { display: none; }
}
@media (max-width: 720px) {
  .ph.sec-photo { aspect-ratio: 16 / 10; }
  .flow { grid-template-columns: 1fr; row-gap: 22px; }
  .flow-step { margin-right: 0; flex-direction: row; align-items: center; min-height: 0; }
  .flow-step:not(:last-child)::after { display: block; right: auto; left: 28px; top: auto; bottom: -17px; transform: rotate(135deg); width: 10px; height: 10px; }
  .flow-step:nth-child(4n)::after { display: block; }
  .steps, .page-home #our-implementation-process .steps { grid-template-columns: 1fr; }
  .step::before { display: block; }
  .page-home #our-implementation-process .step::before { display: none; }
  .sec.has-photo .checklist.cols-3 { grid-template-columns: 1fr; }
}
/* related services: wrap into an even grid instead of a clipped scroller */
.rel-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); overflow: visible; scroll-snap-type: none; }
/* tabs: panel fills the height of the tab list */
.tabs { align-items: stretch; }
.tabs > .tab-panels { display: grid; }
.tab-panel { height: 100%; }
.tab-panel:not(.has-photo) { display: flex; flex-direction: column; justify-content: center; }
/* contact hero: align copy with the top of the form */
.contact-grid { align-items: start; }
.contact-grid .hero-copy { padding-top: 40px; }
@media (max-width: 1024px) { .tab-panel { height: auto; } .contact-grid .hero-copy { padding-top: 0; } }

@media (max-width: 1024px) {
  .page-home .hero-home .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { justify-self: center; max-width: 480px; }
}
@media (max-width: 720px) {
  .page-home .hero-home { padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .hero-stage { max-width: 360px; }
  .h-chip { font-size: 12px; padding: 6px 12px 6px 6px; gap: 7px; }
  .h-chip-ic { width: 26px; height: 26px; }
  .h-chip.c1 { left: 0; } .h-chip.c2 { right: 0; } .h-chip.c3 { left: 0; } .h-chip.c4 { right: 6%; }
  .stage-chart { width: 120px; right: 0; padding: 9px; }
  .sc-bars { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .stage-ring, .stage-dots, .h-chip, .stage-chart { animation: none; } }

/* =========================================================
   Hero v3: centred headline + interactive ERP module window
   ========================================================= */
.page-home .hero-x { padding-top: calc(var(--header-h) + 70px); padding-bottom: 80px; text-align: center; background: #fcfbff; overflow: hidden; }
.hero-x .b1 { background: rgba(167, 139, 250, .6) !important; width: 640px !important; height: 640px !important; top: -280px !important; left: -180px !important; }
.hero-x .b2 { background: rgba(103, 232, 249, .55) !important; width: 600px !important; height: 600px !important; top: -260px !important; right: -160px !important; }
.hero-x .b3 { background: rgba(251, 182, 206, .6) !important; width: 760px !important; height: 420px !important; top: 46% !important; bottom: auto !important; left: 50% !important; margin-left: -380px; }
.hx-grid { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; opacity: .55;
  background-image: linear-gradient(rgba(99, 102, 241, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .18) 1px, transparent 1px);
  background-size: 60px 60px; transform: perspective(700px) rotateX(58deg); transform-origin: top;
  mask-image: linear-gradient(transparent, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(transparent, #000 30%, transparent 95%); }
.hx-copy { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 1040px; }
.page-home .hero-x h1 { font-size: clamp(2.4rem, 5.6vw, 4.9rem); max-width: 1000px; margin-inline: auto; }
.page-home .hero-x .hero-lead { max-width: 760px; margin-inline: auto; }
.hero-x .btn-row { justify-content: center; }

/* the window */
.hx-wrap { position: relative; margin: 56px auto 0; max-width: 1120px; perspective: 1800px; }
.hx-wrap::before { content: ""; position: absolute; inset: 8% 6% -6%; border-radius: 40px; filter: blur(50px);
  background: linear-gradient(90deg, rgba(139, 92, 246, .55), rgba(6, 182, 212, .45), rgba(236, 72, 153, .5)); }
.hx-window { position: relative; text-align: left; border-radius: 26px; padding: 10px; background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 50px 100px -40px rgba(49, 46, 129, .55); backdrop-filter: blur(14px);
  transform: rotateX(var(--tilt, 16deg)) scale(var(--sc, .94)); transform-origin: 50% 0; transition: transform .15s linear; }
.hx-top { display: flex; align-items: center; gap: 14px; padding: 6px 10px 12px; }
.hx-dots { display: flex; gap: 7px; } .hx-dots i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.hx-dots i:nth-child(2) { background: #fbbf24; } .hx-dots i:nth-child(3) { background: #34d399; }
.hx-url { flex: 1; display: flex; align-items: center; gap: 9px; max-width: 520px; margin: 0 auto; padding: 7px 14px; border-radius: 999px;
  background: #f1f0fb; font: 600 13px var(--font); color: #4c4a72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-url img { width: 10px; height: auto; flex: none; }
.hx-live { display: inline-flex; align-items: center; gap: 7px; font: 700 12px var(--font-d); letter-spacing: .1em; color: #059669; }
.hx-live b { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }
.hx-body { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7.4; background: #e9e6ff; }
.hx-pics, .hx-pic { position: absolute; inset: 0; }
.hx-pic { opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s ease; }
.hx-pic.on { opacity: 1; transform: none; }
.hx-pic .ph { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.hx-pics::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 27, 75, .55), transparent 55%); pointer-events: none; }
.hx-card { position: absolute; left: 28px; bottom: 28px; z-index: 2; width: min(380px, 60%); padding: 22px 22px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(30, 27, 75, .5); }
.hx-card h3 { font-size: 1.35rem; margin: 12px 0 6px; color: #1e1b4b; }
.hx-card p { margin: 0 0 14px; font-size: 15px; color: #475569; }
.hx-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.hx-prog { display: block; height: 4px; border-radius: 4px; background: #ede9fe; overflow: hidden; }
.hx-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8b5cf6, #06b6d4, #ec4899); }
.hx-prog i.run { animation: prog 5s linear forwards; }
@keyframes prog { to { width: 100%; } }
.hx-card.swap { animation: cardin .45s ease; }
@keyframes cardin { from { transform: translateY(10px); opacity: .3; } to { transform: none; opacity: 1; } }
.hx-tabs { display: flex; gap: 6px; padding: 12px 4px 4px; overflow-x: auto; scrollbar-width: none; }
.hx-tabs::-webkit-scrollbar { display: none; }
.hx-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; border: 0;
  background: transparent; font: 600 14px var(--font); color: #4c4a72; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.hx-tab .ic { width: 18px; height: 18px; }
.hx-tab:hover { background: #f5f3ff; color: #1e1b4b; }
.hx-tab.on { background: #fff; color: #6d28d9; box-shadow: 0 8px 20px -12px rgba(109, 40, 217, .6); }
.hx-tab.on .ic { color: #ec4899; }

@media (max-width: 1024px) { .hx-body { aspect-ratio: 16 / 9; } .hx-tab { flex: 0 0 auto; } }
@media (max-width: 720px) {
  .page-home .hero-x { padding-top: calc(var(--header-h) + 40px); padding-bottom: 50px; }
  .hx-wrap { margin-top: 36px; }
  .hx-window { padding: 6px; border-radius: 18px; }
  .hx-live { display: none; }
  .hx-url { font-size: 11.5px; }
  .hx-body { aspect-ratio: auto; display: flex; flex-direction: column; background: #fff; }
  .hx-pics { position: relative; aspect-ratio: 4 / 3; }
  .hx-pics::after { display: none; }
  .hx-card { position: relative; left: 0; bottom: 0; width: 100%; border-radius: 0 0 14px 14px; box-shadow: none; background: #fff; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hx-window { transform: none; } .hx-pic { transition: none; } }
@media (min-width: 1025px) { .hx-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; }
  .hx-tab { flex-direction: column; gap: 6px; padding: 10px 6px; white-space: normal; text-align: center; font-size: 13px; line-height: 1.25; } .hx-tab .ic { width: 20px; height: 20px; } }
/* hero headline: 50px on desktop, scales down on small screens */
.page-home .hero-x h1 { font-size: 50px; line-height: 1.12; max-width: 900px; }
@media (max-width: 720px) { .page-home .hero-x h1 { font-size: 34px; } }
