/* =====================================================================
   Unifour home page: story-led layout with motion graphics.
   Uses the tokens from unifour.css (light + dark). Motion is switched
   off for visitors who ask for reduced motion.
   ===================================================================== */
.ux-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hm { overflow-x: clip; }
.hm .hm-head { max-width: 780px; margin-bottom: 36px; }
.hm .ux-h2 { letter-spacing: -.015em; }

/* ------------------------------------------------------------ hero */
.hm-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 96px; }
.hm-aurora { position: absolute; inset: -20% -10% -10%; z-index: -2; filter: blur(70px) saturate(140%); opacity: .55; pointer-events: none; }
.hm-aurora i { position: absolute; display: block; border-radius: 50%; animation: hmDrift 18s ease-in-out infinite alternate; }
.hm-aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -6%; background: radial-gradient(circle, #38bdf8 0%, transparent 65%); }
.hm-aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 70%; top: 30%; background: radial-gradient(circle, #2dd4bf 0%, transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.hm-aurora i:nth-child(3) { width: 40vw; height: 40vw; left: -8%; top: 30%; background: radial-gradient(circle, #8b7dff 0%, transparent 65%); animation-duration: 26s; animation-delay: -3s; opacity: .7; }
.hm-aurora i:nth-child(4) { width: 30vw; height: 30vw; left: 30%; top: 55%; background: radial-gradient(circle, #0274b3 0%, transparent 65%); animation-duration: 20s; animation-delay: -9s; }
@keyframes hmDrift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-6%,4%,0) scale(1.12); } 100% { transform: translate3d(5%,-5%,0) scale(.95); } }
.hm-gridbg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--text) 7%, transparent) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hm-hero-in { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 56px; align-items: center; }
.hm-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--glass); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); color: var(--text) !important; text-decoration: none !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 22px; box-shadow: var(--glow); }
.hm-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 var(--brand-2); animation: hmPing 2s infinite; }
@keyframes hmPing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-2) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hm-hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; margin-bottom: 20px; }
html[lang="ne"] .hm-hero h1 { line-height: 1.25; font-size: clamp(32px, 4.6vw, 54px); }
.hm-rotate { display: block; min-height: 1.15em; }
.hm-rotate > span { display: inline-block; transition: opacity .35s, transform .35s, filter .35s; padding-bottom: .06em; }
.hm-rotate.out > span { opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.hm-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 600px; margin-bottom: 28px; }
.hm-play .pl { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 10px; padding-left: 2px; }
.hm-ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hm-ticks li::before { content: "\2713"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 7px; border-radius: 50%; font-size: 11px; color: #fff; background: var(--grad); }

/* animated dashboard */
.hm-hero-vis { position: relative; perspective: 1400px; }
.hm-dash { position: relative; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(2,60,110,.45), var(--shadow); overflow: hidden; transform: rotateY(-9deg) rotateX(5deg); transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.2,1); animation: hmIn .9s cubic-bezier(.2,.7,.2,1) both .1s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hm-hero-vis:hover .hm-dash { transform: rotateY(-3deg) rotateX(2deg); }
@keyframes hmIn { from { opacity: 0; transform: translateY(30px) rotateY(-14deg) rotateX(8deg); } }
.hm-dash-top { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-size: 12px; }
.hm-dots { display: flex; gap: 6px; } .hm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; } .hm-dots i:nth-child(2) { background: #fbbf24; } .hm-dots i:nth-child(3) { background: #34d399; }
.hm-url { flex: 1; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tag { font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.hm-dash-body { padding: 18px; display: grid; gap: 14px; }
.hm-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-dash-head b { display: block; font-size: 16px; } .hm-dash-head small { color: var(--muted); font-size: 12px; }
.hm-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.hm-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: hmPing 1.8s infinite; }
.hm-dash-grid { display: grid; grid-template-columns: 132px 1fr; gap: 12px; }
.hm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.hm-ring { position: relative; display: grid; place-items: center; }
.hm-ring svg { width: 104px; height: 104px; transform: rotate(-90deg); }
.hm-ring .trk { fill: none; stroke: var(--surface-2); stroke-width: 11; }
.hm-ring .val { fill: none; stroke: url(#rg); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: hmRing 1.8s cubic-bezier(.2,.7,.2,1) .6s forwards; }
@keyframes hmRing { to { stroke-dashoffset: 14; } }
.hm-ring-n { position: absolute; text-align: center; line-height: 1.1; } .hm-ring-n b { font-size: 22px; display: block; } .hm-ring-n small { font-size: 11px; color: var(--muted); }
.hm-mini small { font-size: 12px; color: var(--muted); font-weight: 600; }
.hm-minibars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin-top: 10px; }
.hm-minibars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--grad); transform-origin: bottom; animation: hmGrow 1s cubic-bezier(.2,.7,.2,1) both; }
.hm-minibars i:nth-child(2) { animation-delay: .75s; } .hm-minibars i:nth-child(3) { animation-delay: .85s; } .hm-minibars i:nth-child(4) { animation-delay: .95s; } .hm-minibars i:nth-child(5) { animation-delay: 1.05s; } .hm-minibars i:nth-child(6) { animation-delay: 1.15s; }
.hm-minibars i:nth-child(1) { animation-delay: .65s; }
@keyframes hmGrow { from { transform: scaleY(0); } }
.hm-dl { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hm-dl li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; background: var(--surface);
  animation: hmSlide .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(1.2s + var(--i) * .15s); }
@keyframes hmSlide { from { opacity: 0; transform: translateX(24px); } }
.hm-dl b { flex: 1; font-weight: 600; } .hm-dl em { font-style: normal; font-weight: 700; color: var(--ok); font-size: 12px; } .hm-dl em.warn { color: var(--accent); } .hm-dl em.info { color: var(--brand); }
.hm-dl .ic { width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none; }
.hm-dl .ic.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.hm-dl .ic.warn { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.hm-dl .ic.info { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.hm-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 700;
  background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; animation: hmBob 5s ease-in-out infinite; }
.hm-chip i { color: var(--brand); font-size: 15px; }
.hm-chip.c1 { left: -34px; top: 22%; animation-delay: -1s; }
.hm-chip.c2 { right: -20px; bottom: -18px; animation-delay: -3s; } .hm-chip.c2 i { color: var(--brand-3); }
@keyframes hmBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hm-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid color-mix(in srgb, var(--text) 35%, transparent); border-radius: 14px; }
.hm-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brand); animation: hmWheel 1.8s infinite; }
@keyframes hmWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 960px) {
  .hm-hero { padding: 40px 0 80px; }
  .hm-hero-in { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .hm-dash { transform: none; }
  .hm-chip.c1 { left: -6px; top: -18px; } .hm-chip.c2 { right: -6px; }
}
@media (max-width: 420px) { .hm-dash-grid { grid-template-columns: minmax(0,1fr); } .hm-ring svg { width: 92px; height: 92px; } .hm-chip { font-size: 12px; } }

/* ------------------------------------------------------------ stats */
.hm-stats { position: relative; margin-top: -40px; z-index: 2; }
.hm-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.hm-stat { position: relative; background: var(--surface); border-radius: 18px; padding: 22px 22px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.hm-stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.hm-stat:nth-child(2)::before { background: var(--grad-warm); } .hm-stat:nth-child(3)::before { background: linear-gradient(90deg, #0ea5a4, #22c55e); } .hm-stat:nth-child(4)::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.hm-stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-stat p { margin: 6px 0 0 !important; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 860px) { .hm-stats-in { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ------------------------------------------------------------ story */
.hm-story { padding: 96px 0 40px; }
.hm-story-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; }
.hm-sticky { position: sticky; top: 96px; }
.hm-wheel { width: 100%; max-width: 460px; display: block; margin: 0 auto; overflow: visible; }
.hm-wheel-halo { fill: none; stroke: color-mix(in srgb, var(--brand) 18%, transparent); stroke-width: 1; stroke-dasharray: 3 6; transform-origin: 210px 210px; animation: hmSpin 60s linear infinite; }
@keyframes hmSpin { to { transform: rotate(360deg); } }
.hm-wheel-core { fill: var(--surface); stroke: var(--line); }
.hm-seg { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; transition: fill .5s, opacity .5s; }
.hm-seg.on { fill: url(#wg); stroke: transparent; }
.hm-mlab { font: 600 12px var(--font); fill: var(--muted); text-anchor: middle; dominant-baseline: middle; transition: fill .4s; }
html[lang="ne"] .hm-mlab { font-size: 13px; }
.hm-mlab.on { fill: var(--text); font-weight: 800; }
.hm-dot { transition: transform .4s, opacity .4s; transform-box: fill-box; transform-origin: center; }
.hm-dot.vat { fill: #0ea5e9; } .hm-dot.tds { fill: #0ea5a4; } .hm-dot.adv { fill: #f59e0b; } .hm-dot.itr { fill: #8b7dff; }
.hm-seg.on ~ .hm-dot { stroke: #fff; }
.hm-dot.pulse { animation: hmDotPulse 1.4s ease-in-out infinite; }
@keyframes hmDotPulse { 50% { transform: scale(1.5); } }
.hm-wc-num { font: 800 64px var(--font); fill: var(--text); text-anchor: middle; letter-spacing: -.03em; }
.hm-wc-lab { font: 600 14px var(--font); fill: var(--muted); text-anchor: middle; }
.hm-legend { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.hm-legend li { display: inline-flex; align-items: center; gap: 7px; }
.hm-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.hm-legend i.vat { background: #0ea5e9; } .hm-legend i.tds { background: #0ea5a4; } .hm-legend i.adv { background: #f59e0b; border-radius: 2px; transform: rotate(45deg); } .hm-legend i.itr { background: #8b7dff; }
.hm-legend.sm { justify-content: flex-start; margin-top: 12px; font-size: 12px; }
.hm-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.hm-step { position: relative; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 0; opacity: .35; transition: opacity .5s; }
.hm-step.on { opacity: 1; }
.hm-step-n { font: 800 14px var(--font); color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; letter-spacing: .1em; }
.hm-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 6px 0 6px; }
.hm-step h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 18px !important; }
.hm-before, .hm-after { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin: 0 0 12px !important; font-size: 16px; line-height: 1.55; }
.hm-before { color: var(--muted); background: transparent; border: 1px dashed var(--line); }
.hm-before i { color: #ef4444; font-size: 20px; margin-top: 1px; }
.hm-after { background: color-mix(in srgb, var(--brand-2) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand-2) 35%, var(--line)); box-shadow: 0 10px 30px -20px color-mix(in srgb, var(--brand-2) 80%, transparent); }
.hm-after i { color: var(--brand-2); font-size: 20px; margin-top: 1px; }
.hm-before b, .hm-after b { color: var(--text); }
@media (max-width: 900px) {
  .hm-story-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .hm-story-grid { display: block; }
  .hm-story-vis { position: sticky; top: 0; z-index: 3; margin: 0 -16px; padding: 8px 16px 10px; background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .hm-sticky { position: static; display: flex; align-items: center; gap: 14px; }
  .hm-wheel { max-width: 170px; flex: none; margin: 0; }
  .hm-sticky .hm-legend { flex-direction: column; align-items: flex-start; }
  .hm-sticky .hm-legend { margin-top: 6px; font-size: 11px; gap: 4px 12px; }
  .hm-step { min-height: 0; padding: 22px 0; opacity: .5; }
}

/* ------------------------------------------------------------ flow */
.hm-flow-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 260px minmax(0,1fr); gap: 90px; align-items: center; }
.hm-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hm-wires path { fill: none; stroke: color-mix(in srgb, var(--brand) 40%, transparent); stroke-width: 2; stroke-dasharray: 6 8; animation: hmDash 1.2s linear infinite; }
.hm-wires circle { fill: var(--brand-2); filter: drop-shadow(0 0 6px var(--brand-2)); }
@keyframes hmDash { to { stroke-dashoffset: -28; } }
.hm-col { display: grid; gap: 16px; position: relative; z-index: 1; }
.hm-node { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.hm-node:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--glow); }
.hm-node b { display: block; font-size: 16px; } .hm-node small { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: block; }
.hm-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: var(--grad); box-shadow: var(--glow); }
.hm-node.v .hm-ico { background: var(--grad-warm); } .hm-node.t .hm-ico { background: linear-gradient(120deg, #0ea5a4, #22c55e); }
.hm-hub { position: relative; z-index: 1; text-align: center; padding: 28px 20px; background: var(--surface); border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(2,116,179,.5); }
.hm-hub-ring { position: relative; width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.hm-hub-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px; background: conic-gradient(from 0deg, #0ea5e9, #0ea5a4, #8b7dff, #0274b3, #0ea5e9);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hmSpin 6s linear infinite; }
.hm-hub-ring img { width: 84px; height: 84px; border-radius: 22px; }
.hm-hub > b { font-size: 18px; display: block; margin-bottom: 12px; }
.hm-hub ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hm-hub li { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--brand); }
@media (max-width: 960px) {
  .hm-flow-grid { grid-template-columns: minmax(0,1fr); gap: 46px; }
  .hm-wires { display: none; }
  .hm-hub { max-width: 340px; margin: 0 auto; width: 100%; }
  .hm-col.src::after, .hm-hub::after { content: ""; position: absolute; left: 50%; bottom: -40px; width: 2px; height: 34px; margin-left: -1px;
    background: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); animation: hmDown 1s linear infinite; }
  @keyframes hmDown { to { background-position: 0 12px; } }
}

/* ------------------------------------------------------------ benefits + charts */
.hm-bgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.hm-bcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; gap: 20px; }
.hm-bcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: radial-gradient(500px 160px at 0% 0%, color-mix(in srgb, #0ea5e9 18%, transparent), transparent 70%); pointer-events: none; }
.hm-bcard.aud::before { background: radial-gradient(500px 160px at 0% 0%, color-mix(in srgb, #8b7dff 22%, transparent), transparent 70%); }
.hm-bcard > .ux-btn { align-self: flex-start; margin-top: auto; }
.hm-bc-top { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.hm-bc-top h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 800; }
.hm-bc-top .ux-eyebrow { margin-bottom: 4px; }
.hm-bc-ico { width: 52px; height: 52px; border-radius: 15px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; background: var(--grad); box-shadow: var(--glow); }
.hm-bcard.aud .hm-bc-ico { background: var(--grad-warm); }
.hm-bcard.aud .ux-eyebrow { color: var(--brand-3); }
.hm-tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hm-tick li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.hm-tick i { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: var(--grad); }
.hm-bcard.aud .hm-tick i { background: var(--grad-warm); }
.hm-chart { margin: 0; padding: 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.hm-chart figcaption { margin-bottom: 14px; } .hm-chart figcaption b { display: block; font-size: 15px; } .hm-chart figcaption small { color: var(--muted); font-size: 12.5px; }
.hm-bars4 { display: flex; align-items: flex-end; gap: 5px; height: 128px; padding-bottom: 22px; position: relative; border-bottom: 1px solid var(--line); }
.hm-bcol { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; }
.hm-bstack { display: flex; flex-direction: column-reverse; gap: 2px; transform-origin: bottom; transform: scaleY(0); transition: transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 55ms); }
.hm-chart.in .hm-bstack { transform: none; }
.hm-bstack i { display: block; height: 24px; border-radius: 5px; }
.hm-bstack i.vat { background: #0ea5e9; } .hm-bstack i.tds { background: #0ea5a4; } .hm-bstack i.adv { background: #f59e0b; } .hm-bstack i.itr { background: #8b7dff; }
.hm-bcol span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }
html[lang="ne"] .hm-bcol span { font-size: 9.5px; }
@media (max-width: 520px) { .hm-bcol span { transform: translateX(-50%) rotate(-55deg); transform-origin: center; bottom: -24px; } .hm-bars4 { padding-bottom: 30px; } }
.hm-prog { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hm-prog li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 14px; }
.hm-prog li b { font-size: 13px; color: var(--muted); }
.hm-prog li i { grid-column: 1 / -1; height: 9px; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.hm-prog li em { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: var(--grad-warm); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hm-prog li:nth-child(2) em { transition-delay: .12s; } .hm-prog li:nth-child(3) em { transition-delay: .24s; } .hm-prog li:nth-child(4) em { transition-delay: .36s; } .hm-prog li:nth-child(5) em { transition-delay: .48s; }
.hm-chart.in .hm-prog em { transform: none; }
@media (max-width: 900px) { .hm-bgrid { grid-template-columns: minmax(0,1fr); } .hm-bcard { padding: 22px; } }

/* ------------------------------------------------------------ four U's (always a deep band) */
.hm-us { position: relative; isolation: isolate; padding: 96px 0; color: #e8eef6; overflow: hidden;
  background: linear-gradient(135deg, #061a33 0%, #0a2a52 45%, #1b1b4b 100%); }
.hm-us-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 15% 10%, rgba(56,189,248,.28), transparent 70%), radial-gradient(500px 300px at 90% 90%, rgba(139,125,255,.3), transparent 70%); animation: hmGlow 12s ease-in-out infinite alternate; }
@keyframes hmGlow { to { transform: translate3d(2%, -2%, 0) scale(1.05); } }
body.ux .hm-us h2, body.ux .hm-us h3 { color: #fff; }
.hm-us .ux-eyebrow { color: #7dd3fc; } .hm-us .ux-lede { color: #b8c7da; }
.hm-ugrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.hm-u { position: relative; overflow: hidden; padding: 26px 22px 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s, background-color .3s, border-color .3s, box-shadow .3s; }
.hm-u:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(125,211,252,.5); box-shadow: 0 20px 50px -20px rgba(56,189,248,.6); }
.hm-u-letter { position: absolute; right: -6px; top: -26px; font: 900 150px/1 var(--font); color: transparent; -webkit-text-stroke: 1.5px rgba(125,211,252,.35); pointer-events: none; transition: transform .5s; }
.hm-u:hover .hm-u-letter { transform: translateY(8px) rotate(-6deg); -webkit-text-stroke-color: rgba(125,211,252,.7); }
.hm-u-ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: linear-gradient(120deg, #38bdf8, #2dd4bf); margin-bottom: 18px; }
.hm-u:nth-child(2) .hm-u-ico { background: linear-gradient(120deg, #8b7dff, #38bdf8); } .hm-u:nth-child(3) .hm-u-ico { background: linear-gradient(120deg, #2dd4bf, #22c55e); } .hm-u:nth-child(4) .hm-u-ico { background: linear-gradient(120deg, #f59e0b, #f97316); }
.hm-u-lab { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #93a8c2; }
.hm-u h3 { font-size: 26px; font-weight: 800; margin: 4px 0 10px !important; }
.hm-u p { color: #c6d3e3; font-size: 15px; margin: 0 !important; }
@media (max-width: 1000px) { .hm-ugrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .hm-ugrid { grid-template-columns: minmax(0,1fr); } .hm-us { padding: 72px 0; } }

/* ------------------------------------------------------------ services */
.hm-svcgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hm-svc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: 22px; overflow: hidden; text-decoration: none !important; color: #fff !important; isolation: isolate; box-shadow: var(--shadow); }
.hm-svc-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hm-svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,20,40,.05) 0%, rgba(4,20,40,.55) 45%, rgba(4,20,40,.94) 100%); transition: background-color .4s; }
.hm-svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(14,165,233,.0), rgba(109,93,252,.0)); transition: background .4s; }
.hm-svc:hover .hm-svc-img { transform: scale(1.08); }
.hm-svc:hover::after { background: linear-gradient(135deg, rgba(14,165,233,.35), rgba(109,93,252,.35)); }
.hm-svc-body { padding: 22px; display: block; }
.hm-svc-ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 18px; margin-bottom: 12px; }
.hm-svc b { display: block; font-size: 19px; margin-bottom: 6px; }
.hm-svc small { display: block; font-size: 14px; color: #d7e2ef; line-height: 1.5; }
.hm-svc ul { list-style: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s, opacity .4s, margin .4s; font-size: 13.5px; color: #e8f1fb; }
.hm-svc ul li::before { content: "\2192  "; color: #7dd3fc; }
.hm-svc:hover ul, .hm-svc:focus-visible ul { max-height: 120px; opacity: 1; margin-top: 10px; }
@media (max-width: 960px) { .hm-svcgrid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .hm-svcgrid { grid-template-columns: minmax(0,1fr); } .hm-svc { min-height: 250px; } }
@media (hover: none) { .hm-svc ul { max-height: none; opacity: 1; margin-top: 10px; } }

/* ------------------------------------------------------------ pricing, studio, cta */
.hm-plans .ux-plan { transition: transform .25s, box-shadow .25s; }
.hm-plans .ux-plan:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.hm-plans .ux-plan.pop { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-warm) border-box; border: 2px solid transparent; }
.hm-studio-in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.hm-docs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.hm-doc { animation: hmBob 6s ease-in-out infinite; } .hm-doc:nth-child(2) { animation-delay: -2s; margin-top: 28px; } .hm-doc:nth-child(3) { animation-delay: -4s; }
.hm-doc .ux-doc { box-shadow: 0 20px 40px -24px rgba(2,60,110,.55); }
.hm-doc .ux-doc b { color: #0b3b66; }
@media (max-width: 900px) { .hm-studio-in { grid-template-columns: minmax(0,1fr); } }
.hm-cta { position: relative; padding: 88px 0; text-align: center; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #0274b3, #0ea5e9, #0ea5a4, #6d5dfc, #0274b3); background-size: 300% 300%; animation: hmFlowBg 16s ease infinite; }
@keyframes hmFlowBg { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hm-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
body.ux .hm-cta h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.hm-cta p { font-size: 18px; color: rgba(255,255,255,.88); margin-bottom: 28px !important; }
.hm-cta .ux-cta { justify-content: center; }
body.ux .hm-white { background: #fff; color: #0a3d66 !important; border-color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.hm-white:hover { transform: translateY(-2px); }
body.ux .hm-outline { background: rgba(255,255,255,.1); color: #fff !important; border-color: rgba(255,255,255,.6); }
.hm-outline:hover { background: rgba(255,255,255,.2); }

/* dark mode tweaks */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hm-aurora { opacity: .4; } }
:root[data-theme="dark"] .hm-aurora { opacity: .4; }
:root[data-theme="dark"] .hm-us { background: linear-gradient(135deg, #050d1a 0%, #08203f 45%, #15143a 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hm-us { background: linear-gradient(135deg, #050d1a 0%, #08203f 45%, #15143a 100%); } }

@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .hm-ring .val { stroke-dashoffset: 14; }
  .hm-bstack, .hm-prog em { transform: none !important; }
}

/* =====================================================================
   Inner pages (Portal, Pricing, Services, About, Contact) and shared blocks
   ===================================================================== */
.pg-hero { padding: 56px 0 72px; }
.pg-hero:not(.pg-hero-split) .hm-hero-in { grid-template-columns: minmax(0, 860px); }
.pg-hero h1 { font-size: clamp(34px, 4.8vw, 56px); }
.pg-hero .ux-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pg-hero .ux-crumbs a { color: var(--muted); }
.pg-hero .ux-eyebrow { margin-bottom: 12px; }
.pg-hero-vis { position: relative; perspective: 1400px; }

.pg-grid2, .pg-grid3, .pg-grid4 { display: grid; gap: 20px; }
.pg-grid2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.pg-grid3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.pg-grid4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .pg-grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .pg-grid3 { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 620px) { .pg-grid2, .pg-grid4 { grid-template-columns: minmax(0,1fr); } }

.pg-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.pg-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.pg-card.v::after { background: var(--grad-warm); } .pg-card.t::after { background: linear-gradient(90deg, #0ea5a4, #22c55e); } .pg-card.a::after { background: linear-gradient(90deg, #f59e0b, #f97316); }
.pg-card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.pg-card:hover::after { transform: scaleX(1); }
.pg-card.dash { border-style: dashed; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: none; }
.pg-card h3 { font-size: 19px; font-weight: 800; margin: 14px 0 8px !important; }
.pg-card p { color: var(--muted); font-size: 15px; margin: 0 !important; }
.pg-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: var(--grad); box-shadow: var(--glow); }
.pg-ico.v, .pg-card.v .pg-ico { background: var(--grad-warm); }
.pg-ico.t, .pg-card.t .pg-ico { background: linear-gradient(120deg, #0ea5a4, #22c55e); }
.pg-ico.a, .pg-card.a .pg-ico { background: linear-gradient(120deg, #f59e0b, #f97316); }
.pg-card.dash .pg-ico { background: transparent; color: var(--brand); border: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: none; }
.pg-card.dash .pg-ico i { animation: hmPop 2.4s ease-in-out infinite; }
.pg-tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--brand); }
.pg-note { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0 !important; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted);
  background: color-mix(in srgb, var(--brand) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); }
.pg-note i { color: var(--brand); font-size: 18px; margin-top: 2px; } .pg-note b { color: var(--text); }
.hm-node.more { border-style: dashed; box-shadow: none; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.hm-node.more .hm-ico { background: transparent; color: var(--brand); border: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: none; }

.pg-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .pg-split { grid-template-columns: minmax(0,1fr); gap: 32px; } }
.pg-narrow { max-width: 860px; }

/* licence comparison graphic (Portal) */
.pg-lic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-lic-col { position: relative; padding: 22px 18px; border-radius: 20px; border: 1px dashed var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pg-lic-col small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pg-lic-col p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0 !important; }
.pg-lic-col.on { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--glow); }
.pg-lic-row { display: flex; align-items: center; gap: 10px; }
.pg-pc { width: 44px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--muted); font-size: 18px; }
.pg-key { font-size: 18px; animation: hmBob 3s ease-in-out infinite; } .pg-lic-row:nth-child(3) .pg-key { animation-delay: -1s; } .pg-lic-row:nth-child(4) .pg-key { animation-delay: -2s; }
.pg-lic-hub { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; position: relative; }
.pg-lic-hub::before { content: ""; position: absolute; inset: -6px; border-radius: 26px; background: conic-gradient(#0ea5e9, #0ea5a4, #8b7dff, #0ea5e9); animation: hmSpin 5s linear infinite; opacity: .5; filter: blur(6px); }
.pg-lic-hub img { position: relative; width: 64px; height: 64px; border-radius: 18px; }
.pg-lic-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg-lic-people span { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); font-size: 16px; animation: hmPop 2.8s ease-in-out infinite; }
.pg-lic-people span:nth-child(2) { animation-delay: .3s; background: var(--grad-warm); } .pg-lic-people span:nth-child(3) { animation-delay: .6s; background: linear-gradient(120deg, #0ea5a4, #22c55e); } .pg-lic-people span:nth-child(4) { animation-delay: .9s; background: linear-gradient(120deg, #f59e0b, #f97316); }
@keyframes hmPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (max-width: 420px) { .pg-lic { grid-template-columns: minmax(0,1fr); } }

/* tabs (Portal) */
.pg-tabs .ux-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.pg-tabs .ux-tabs button { border: 0; border-radius: 10px; padding: 10px 18px; min-height: 44px; font: inherit; font-weight: 700; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.pg-tabs .ux-tabs button[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
.pg-tabs .ux-panel { animation: hmIn2 .45s cubic-bezier(.2,.7,.2,1); }
.pg-tabs .ux-panel h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; margin-bottom: 8px !important; }
@keyframes hmIn2 { from { opacity: 0; transform: translateY(10px); } }

/* steps */
.pg-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; position: relative; }
.pg-steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--brand) 45%, transparent) 0 8px, transparent 8px 16px); animation: hmDashX 1.2s linear infinite; }
@keyframes hmDashX { to { background-position: 16px 0; } }
.pg-steps li { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pg-step-n { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--grad); box-shadow: 0 0 0 6px var(--bg), var(--glow); }
.ux-sec.alt .pg-step-n { box-shadow: 0 0 0 6px var(--surface), var(--glow); }
.pg-steps li:nth-child(2) .pg-step-n { background: var(--grad-warm); } .pg-steps li:nth-child(3) .pg-step-n { background: linear-gradient(120deg, #0ea5a4, #22c55e); } .pg-steps li:nth-child(4) .pg-step-n { background: linear-gradient(120deg, #f59e0b, #f97316); }
.pg-steps b { display: block; font-size: 17px; margin-bottom: 4px; } .pg-steps p { color: var(--muted); font-size: 15px; margin: 0 !important; }
.pg-steps:has(li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 860px) {
  .pg-steps, .pg-steps:has(li:nth-child(3):last-child) { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .pg-steps::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--brand) 45%, transparent) 0 8px, transparent 8px 16px); animation: none; }
  .pg-steps li { flex-direction: row; align-items: flex-start; }
}

/* FAQ accordion */
.pg-faq { display: grid; gap: 12px; }
.pg-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pg-faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--glow); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16.5px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--brand); transition: transform .3s; }
.pg-faq details[open] summary i { transform: rotate(45deg); }
.pg-faq details > div { padding: 0 20px 18px; color: var(--muted); animation: hmIn2 .35s ease-out; }
.pg-faq details > div p { margin: 0 !important; }

/* pricing */
.pg-bill { position: relative; display: inline-flex; padding: 5px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pg-bill button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-weight: 700; padding: 10px 18px; min-height: 44px; border-radius: 10px; cursor: pointer; color: var(--muted); transition: color .25s; }
.pg-bill button[aria-pressed="true"] { color: #fff; }
.pg-bill button em { font-style: normal; font-size: 12px; opacity: .85; }
.pg-bill > i { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: var(--w, 50%); transform: translateX(var(--x, 5px)); border-radius: 10px; background: var(--grad); box-shadow: var(--glow); transition: transform .35s cubic-bezier(.2,.7,.2,1), width .35s; }
.pg-plans-sec { position: relative; z-index: 2; margin-top: -36px; padding-bottom: 24px; }
.pg-plans { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1060px) { .pg-plans { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; } }
@media (max-width: 600px) { .pg-plans { grid-template-columns: minmax(0,1fr); } }
.pg-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pg-plan:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.pg-plan.pop { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-warm) border-box; }
.pg-plan h3 { font-size: 20px; font-weight: 800; }
.pg-price { display: flex; flex-direction: column; font-size: 18px; font-weight: 700; color: var(--text); }
.pg-price b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; display: inline-block; }
.pg-price b.flip { animation: hmFlip .35s ease-out; }
@keyframes hmFlip { from { opacity: 0; transform: translateY(-10px); } }
.pg-price small { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pg-plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); }
.pg-plan li { display: flex; gap: 8px; } .pg-plan li::before { content: "\2713"; color: var(--ok); font-weight: 800; }
.pg-plan .ux-btn { margin-top: auto; }
.pg-ribbon { position: absolute; top: -12px; left: 22px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; color: #fff; background: var(--grad-warm); box-shadow: var(--glow); }
.pg-ribbon.soft { background: var(--grad); }
.pg-addon { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.pg-fine { margin-top: 18px !important; color: var(--muted); font-size: 14px; text-align: center; }
.pg-table table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 14.5px; }
.pg-table th, .pg-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.pg-table tbody th { text-align: left; font-weight: 600; }
.pg-table thead th { background: var(--surface-2); font-weight: 800; }
.pg-table tbody tr { transition: background-color .2s; } .pg-table tbody tr:hover { background: var(--soft); }
.pg-table tr:last-child th, .pg-table tr:last-child td { border-bottom: 0; }
.pg-yes { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-weight: 800; }
.pg-no { color: var(--muted); }

/* services */
.pg-svcgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
@media (max-width: 860px) { .pg-svcgrid { grid-template-columns: minmax(0,1fr); } }
.pg-svc { display: grid; grid-template-rows: 190px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pg-svc:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.pg-svc-img { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.pg-svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4,20,40,.65)); }
.pg-svc-img .hm-svc-ico { position: absolute; z-index: 1; left: 20px; bottom: 16px; color: #fff; margin: 0; }
.pg-svc-body { padding: 22px; }
body.ux .pg-svc-body h2 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.pg-svc-body > p { color: var(--muted); }

/* about */
.pg-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.pg-facts > div { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pg-facts b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg-facts small { color: var(--muted); font-size: 14px; }
.pg-time { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; position: relative; }
.pg-time::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--grad); opacity: .5; }
.pg-time li { position: relative; padding-top: 34px; }
.pg-time-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px var(--bg); }
.pg-time li:last-child .pg-time-dot { animation: hmPing 2s infinite; }
.pg-time b { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.pg-time h3 { font-size: 19px; font-weight: 800; margin: 4px 0 6px !important; }
.pg-time p { color: var(--muted); font-size: 15px; margin: 0 !important; }
@media (max-width: 860px) {
  .pg-time { grid-template-columns: minmax(0,1fr); }
  .pg-time::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pg-time li { padding: 0 0 0 40px; }
}

/* contact */
.pg-contact-sec { position: relative; z-index: 2; margin-top: -30px; padding-bottom: 40px; }
.pg-contact { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .pg-contact { grid-template-columns: minmax(0,1fr); } }
.pg-form { display: grid; gap: 16px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pg-form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-warm); }
body.ux .pg-form h2 { font-size: 22px; font-weight: 800; }
.pg-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.pg-form input, .pg-form select, .pg-form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.pg-form textarea { min-height: 130px; resize: vertical; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.pg-form .hp { position: absolute; left: -9999px; }
.pg-form .ux-btn { justify-self: start; }
.pg-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .pg-row2 { grid-template-columns: minmax(0,1fr); } }
.pg-ways { display: grid; gap: 14px; }
.pg-way { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text) !important; text-decoration: none !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.pg-way:hover { transform: translateX(4px); box-shadow: var(--glow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.pg-way > span:nth-child(2) { flex: 1; } .pg-way b { display: block; } .pg-way small { color: var(--muted); font-size: 14px; }
.pg-way > .fa-arrow-right { color: var(--brand); transition: transform .25s; } a.pg-way:hover > .fa-arrow-right { transform: translateX(4px); }

/* explore box (bottom of every page) */
.ex-box { position: relative; padding: 36px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, color-mix(in srgb, #0ea5e9 60%, transparent), color-mix(in srgb, #8b7dff 60%, transparent), color-mix(in srgb, #0ea5a4 60%, transparent)) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow); }
.ex-box::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #38bdf8 22%, transparent), transparent 70%); animation: hmDrift 16s ease-in-out infinite alternate; }
.ex-head { margin-bottom: 22px; }
.ex-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
@media (max-width: 1000px) { .ex-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .ex-grid { grid-template-columns: minmax(0,1fr); } .ex-box { padding: 24px 18px; } }
.ex-tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text) !important; text-decoration: none !important; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s, background-color .25s; }
.ex-tile::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; pointer-events: none; }
.ex-tile:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--surface); }
.ex-tile:hover::after { left: 130%; }
.ex-txt b { display: block; font-size: 16.5px; margin-bottom: 4px; } .ex-txt small { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; }
.ex-go { position: absolute; right: 18px; top: 22px; color: var(--brand); transition: transform .25s; }
.ex-tile:hover .ex-go { transform: translateX(4px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ex-tile::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.08), transparent); } }
:root[data-theme="dark"] .ex-tile::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.08), transparent); }
@media (prefers-reduced-motion: reduce) { .pg-steps::before, .ex-box::before, .pg-lic-hub::before { animation: none !important; } }
.pg-amtline { display: flex; align-items: baseline; gap: 6px; }

/* ---- pricing: "Everything in ..., plus:" lead line ---- */
.pg-plan li.pg-plus { color: var(--text); font-weight: 700; }
.pg-plan li.pg-plus::before { content: "+"; color: var(--brand); }
.pg-link { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none !important; }
.pg-link:hover { text-decoration: underline !important; }

/* =====================================================================
   Services: orbit hero, service wheel, lifecycle track
   ===================================================================== */
.sv-orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; }
.sv-oring { position: absolute; inset: 8%; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--brand) 35%, transparent); }
.sv-oring.r2 { inset: 26%; border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); background: radial-gradient(circle, color-mix(in srgb, #38bdf8 14%, transparent), transparent 70%); }
.sv-ospin { position: absolute; inset: 0; animation: hmSpin 48s linear infinite; }
.sv-onode { position: absolute; transform: translate(-50%, -50%); }
.sv-onode-in { display: flex; flex-direction: column; align-items: center; gap: 4px; animation: hmSpin 48s linear infinite reverse; }
.sv-onode-in i { width: 58px; height: 58px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; background: var(--grad); box-shadow: var(--glow); }
.sv-onode-in.v i { background: var(--grad-warm); } .sv-onode-in.t i { background: linear-gradient(120deg, #0ea5a4, #22c55e); } .sv-onode-in.a i { background: linear-gradient(120deg, #f59e0b, #f97316); }
.sv-onode-in small { font-size: 12px; font-weight: 700; color: var(--text); background: var(--glass); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.sv-ocore { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sv-ocore img { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 16px 40px -14px rgba(2,116,179,.7); animation: hmPop 3.2s ease-in-out infinite; }
.sv-ocore b { font-size: 14px; }
@media (max-width: 960px) { .sv-orbit { width: min(340px, 100%); } .sv-onode-in i { width: 48px; height: 48px; font-size: 18px; border-radius: 14px; } }

.sv-explore { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 44px; align-items: center; }
@media (max-width: 960px) { .sv-explore { grid-template-columns: minmax(0,1fr); gap: 28px; } }
.sv-wheel { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin: 0 auto; }
.sv-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-120deg); overflow: visible; }
.sv-track { fill: none; stroke: var(--surface-2); stroke-width: 9; }
.sv-arc { fill: none; stroke: color-mix(in srgb, var(--brand) 22%, transparent); stroke-width: 9; stroke-dasharray: 92 508; stroke-linecap: round; transition: stroke .35s, stroke-width .35s; }
.sv-arc.on { stroke: url(#svg-g); stroke-width: 12; }
.sv-timer { fill: none; stroke: color-mix(in srgb, var(--brand) 50%, transparent); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; }
.sv-wheel.run .sv-timer { animation: svTimer var(--dur, 4.5s) linear forwards; }
@keyframes svTimer { to { stroke-dashoffset: 0; } }
.sv-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sv-core-n { font-size: clamp(40px, 6vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-core small { color: var(--muted); font-weight: 600; }
.sv-wbtn { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; font: inherit; padding: 0; color: var(--text); }
.sv-wbtn i { width: 62px; height: 62px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--brand); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, background .3s, color .3s, border-color .3s, box-shadow .3s; }
.sv-wbtn small { font-size: 12.5px; font-weight: 700; background: var(--surface); padding: 1px 8px; border-radius: 999px; }
.sv-wbtn:hover i { transform: scale(1.08); border-color: var(--brand); }
.sv-wbtn[aria-pressed="true"] i { color: #fff; border-color: transparent; background: var(--grad); transform: scale(1.14); box-shadow: var(--glow); }
.sv-wbtn.v[aria-pressed="true"] i { background: var(--grad-warm); } .sv-wbtn.t[aria-pressed="true"] i { background: linear-gradient(120deg, #0ea5a4, #22c55e); } .sv-wbtn.a[aria-pressed="true"] i { background: linear-gradient(120deg, #f59e0b, #f97316); }
.sv-wbtn:focus-visible { outline: none; } .sv-wbtn:focus-visible i { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 480px) { .sv-wbtn i { width: 48px; height: 48px; font-size: 18px; } .sv-wbtn small { font-size: 11px; } }
.sv-panel { display: grid; grid-template-rows: 200px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); animation: svIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes svIn { from { opacity: 0; transform: translateX(20px); } }
.sv-pimg { position: relative; background-size: cover; background-position: center; }
.sv-pimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4,20,40,.6)); }
.sv-pnum { position: absolute; z-index: 1; right: 16px; bottom: 12px; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .1em; }
.sv-pbody { padding: 24px; }
body.ux .sv-pbody h3 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.sv-pbody > p { color: var(--muted); }
.sv-pbody .hm-tick { margin-bottom: 20px; }

.sv-life { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; position: relative; --p: 0; }
.sv-life::before, .sv-life::after { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 4px; border-radius: 4px; background: var(--line); }
.sv-life::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); transition: transform .2s linear; }
.sv-life li { position: relative; z-index: 1; }
.sv-sdot { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: var(--grad); box-shadow: 0 0 0 6px var(--surface), var(--glow); margin-bottom: 14px; transition: transform .3s; }
.sv-sdot.v { background: var(--grad-warm); } .sv-sdot.t { background: linear-gradient(120deg, #0ea5a4, #22c55e); } .sv-sdot.a { background: linear-gradient(120deg, #f59e0b, #f97316); }
.sv-life li:hover .sv-sdot { transform: scale(1.1) rotate(-6deg); }
.sv-life b { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.sv-life h3 { font-size: 17px; font-weight: 800; margin: 4px 0 6px !important; }
.sv-life p { color: var(--muted); font-size: 14px; margin: 0 !important; }
@media (max-width: 1000px) {
  .sv-life { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .sv-life::before, .sv-life::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 4px; height: auto; }
  .sv-life::after { transform-origin: top; transform: scaleY(var(--p)); }
  .sv-life li { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; }
  .sv-life .sv-sdot { grid-row: span 3; }
}

/* =====================================================================
   About: four-pillar diagram, timeline that fills on scroll
   ===================================================================== */
.ab-venn { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; }
.ab-venn svg { width: 100%; height: 100%; overflow: visible; }
.ab-c { stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100; transform-box: fill-box; transform-origin: center;
  animation: abDraw 1.4s cubic-bezier(.2,.7,.2,1) forwards, abBreathe 6s ease-in-out infinite; animation-delay: calc(var(--i) * .2s), calc(1.4s + var(--i) * .5s); }
.ab-c.acc { fill: color-mix(in srgb, #0ea5e9 16%, transparent); stroke: #0ea5e9; }
.ab-c.fin { fill: color-mix(in srgb, #8b7dff 16%, transparent); stroke: #8b7dff; }
.ab-c.com { fill: color-mix(in srgb, #0ea5a4 16%, transparent); stroke: #0ea5a4; }
.ab-c.tec { fill: color-mix(in srgb, #f59e0b 16%, transparent); stroke: #f59e0b; }
@keyframes abDraw { to { stroke-dashoffset: 0; } }
@keyframes abBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.ab-l { font: 800 15px var(--font); opacity: 0; animation: abFade .6s ease-out forwards; animation-delay: calc(.8s + var(--i) * .2s); }
.ab-l.acc { fill: #0284c7; } .ab-l.fin { fill: #6d5dfc; } .ab-l.com { fill: #0d9488; } .ab-l.tec { fill: #c2410c; }
:root[data-theme="dark"] .ab-l.acc { fill: #7dd3fc; } :root[data-theme="dark"] .ab-l.fin { fill: #b4a9ff; } :root[data-theme="dark"] .ab-l.com { fill: #5eead4; } :root[data-theme="dark"] .ab-l.tec { fill: #fbbf24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ab-l.acc { fill: #7dd3fc; } :root:not([data-theme="light"]) .ab-l.fin { fill: #b4a9ff; } :root:not([data-theme="light"]) .ab-l.com { fill: #5eead4; } :root:not([data-theme="light"]) .ab-l.tec { fill: #fbbf24; } }
@keyframes abFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ab-core { fill: var(--surface); stroke: var(--line); }
.ab-logo { position: absolute; left: 50%; top: 50%; width: 15%; height: auto; transform: translate(-50%, -50%); border-radius: 22%; box-shadow: 0 10px 30px -10px rgba(2,116,179,.7); animation: hmPop 3s ease-in-out 1.6s infinite; }

.pg-time { --p: 0; }
.pg-time::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); transition: transform .2s linear; }
.pg-time::before { opacity: .25; }
.pg-time li.on .pg-time-dot { box-shadow: 0 0 0 5px var(--surface), 0 0 0 9px color-mix(in srgb, var(--brand) 30%, transparent); transform: scale(1.15); }
.pg-time-dot { transition: transform .3s, box-shadow .3s; }
.ux-sec.alt .pg-time-dot { box-shadow: 0 0 0 5px var(--surface); }
@media (max-width: 860px) { .pg-time::after { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--p)); } }
@media (prefers-reduced-motion: reduce) { .sv-ospin, .sv-onode-in, .ab-c, .ab-l, .ab-logo { animation: none !important; } .ab-c { stroke-dashoffset: 0; } .ab-l { opacity: 1; } }
.sv-panel[hidden] { display: none; }
.sv-track { stroke-width: 5; } .sv-arc { stroke-width: 5; stroke-linecap: butt; } .sv-arc.on { stroke-width: 7; }
@media (min-width: 1001px) { .sv-life li { display: flex; flex-direction: column; align-items: flex-start; } }
.ab-venn .ab-logo { position: static; width: 52px; height: 52px; transform: none; border-radius: 0; box-shadow: none; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 8px 14px rgba(2,116,179,.45)); }
