/* Shadoweye public site - clean fintech design system.
   White surfaces, logo blue, crisp product cards, calm motion. */

:root {
    --bg: #FFFFFF;
    --bg-soft: #F5F8FC;
    --ink: #0A1A33;
    --text: #475467;
    --muted: #7A8599;
    --line: #E4E9F2;
    --line-2: #D3DBE8;
    --blue: #1B5BE6;
    --blue-600: #1449BF;
    --blue-50: #EEF4FF;
    --blue-100: #DCE8FF;
    --cyan: #19A7F2;
    --green: #0F9F62;
    --green-50: #E7F7EF;
    --amber: #B7791F;
    --amber-50: #FDF4E3;
    --violet: #6247E8;
    --violet-50: #F0EDFF;
    --navy: #0B1A3A;
    --head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --spring: cubic-bezier(.34, 1.4, .64, 1);
    --header: 72px;
    --r: 14px;
    --r-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .1);
    --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 48px -16px rgba(16, 24, 40, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.soft { background: var(--bg-soft); }
.hero-grid > *, .dev-grid > *, .ind-grid > *, .cta-box > *, .foot-grid > *, .svc-hero > *, .catalogue > *, .case-grid > *, .io-grid > *, .bento > * { min-width: 0; }

/* ---------- type ---------- */
h1, h2, h3, .head { font-family: var(--head); color: var(--ink); letter-spacing: -.025em; }
.h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); line-height: 1.06; font-weight: 800; }
.h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--text); }
.grad { background: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.sec-head { max-width: 46rem; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .h2 { margin-top: 12px; }
.sec-head .lead { margin-top: 16px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 12px; font-family: var(--head); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .3s var(--spring), background-color .2s, box-shadow .25s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 8px 20px -6px rgba(27,91,230,.55); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 12px 26px -6px rgba(27,91,230,.6); }
.btn-outline { border: 1px solid var(--line-2); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-50); }
.btn-ghost-w { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost-w:hover { background: rgba(255,255,255,.12); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- small parts ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pill .tag { padding: 3px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 11.5px; font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.tick { width: 15px; height: 15px; flex: none; color: var(--green); }
.ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--blue-50); color: var(--blue); }
.ico svg { width: 22px; height: 22px; }
.ico.t-green { background: var(--green-50); color: var(--green); }
.ico.t-violet { background: var(--violet-50); color: var(--violet); }
.ico.t-amber { background: var(--amber-50); color: var(--amber); }
.ico.t-cyan { background: #E6F6FE; color: #0B87C9; }
.ico.t-slate { background: #EEF1F6; color: #3F4B63; }
.dot-live { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(15,159,98,.45); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(15,159,98,0); } 100% { box-shadow: 0 0 0 0 rgba(15,159,98,0); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
kbd { display: inline-block; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: #fff; font-family: var(--mono); font-size: 11.5px; color: var(--ink); }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal="scale"] { transform: scale(.96) translateY(14px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal].in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease) var(--wd, 0ms); }
.in .w > span { transform: none; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes valIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.tilt { transition: transform .5s var(--ease), box-shadow .4s, border-color .3s; will-change: transform; }
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(27,91,230,.09), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ---------- progress + header ---------- */
#progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.84); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,24,40,.35); }
.hdr { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr-logo img { height: 36px; width: auto; }
@media (min-width: 640px) { .hdr-logo img { height: 42px; } }
.hdr-nav { display: none; align-items: center; gap: 2px; }
.hdr-nav a, .hdr-nav button { display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #344054; transition: background .2s, color .2s; }
.hdr-nav a:hover, .hdr-nav button:hover, .hdr-nav button[aria-expanded="true"] { background: var(--bg-soft); color: var(--ink); }
.hdr-nav button svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.hdr-nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-cta { display: none; align-items: center; gap: 8px; }
.hdr-cta .signin { padding: 9px 14px; font-weight: 600; font-size: 15px; color: #344054; border-radius: 10px; }
.hdr-cta .signin:hover { background: var(--bg-soft); color: var(--ink); }
.menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.menu-btn span { position: relative; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }
@media (min-width: 1080px) { .hdr-nav, .hdr-cta { display: flex; } .menu-btn { display: none; } }

.mega { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); pointer-events: none; padding: 0 16px; }
@media (min-width: 1080px) { .mega { display: block; } }
.mega-in { margin: 0 auto; max-width: 1136px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-8px) scale(.99); transition: opacity .25s, transform .4s var(--ease); }
.mega.open { pointer-events: auto; }
.mega.open .mega-in { opacity: 1; transform: none; }
.mega-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 2px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-head .t { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 17px; }
.mega-head .s { font-size: 13.5px; color: var(--muted); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 8px; }
.mega-grid a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #344054; transition: background .2s, color .2s; }
.mega-grid a:hover { background: var(--blue-50); color: var(--blue); }
.mega-grid a .ico { width: 30px; height: 30px; border-radius: 8px; transition: transform .3s var(--spring); }
.mega-grid a:hover .ico { transform: scale(1.08); }
.mega-grid a .ico svg { width: 16px; height: 16px; }
.mega-grid a .c { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }
.shade { position: fixed; inset: 0; z-index: 50; background: rgba(10,26,51,.18); opacity: 0; pointer-events: none; transition: opacity .3s; }
.shade.open { opacity: 1; pointer-events: auto; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header)); overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu nav { display: grid; padding: 10px 16px 22px; }
.mobile-menu nav > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .mm-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 84px; }
@media (min-width: 960px) { .hero { padding: 72px 0 112px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 500px at 85% -10%, rgba(25,167,242,.14), transparent 60%), radial-gradient(800px 500px at -10% 20%, rgba(27,91,230,.10), transparent 60%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); }
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; } }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 34rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.trust div b { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.trust div span { font-size: 13.5px; color: var(--muted); }

/* live demo console */
.demo-wrap { position: relative; max-width: 540px; width: 100%; margin: 0 auto; }
.demo { position: relative; z-index: 2; overflow: hidden; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo-top .t { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink); }
.demo-top .env { font-family: var(--mono); font-size: 11.5px; color: var(--green); background: var(--green-50); padding: 3px 8px; border-radius: 6px; }
.demo-tabs { display: flex; gap: 6px; padding: 14px 18px 0; overflow-x: auto; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tabs button { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.demo-tabs button:hover { border-color: var(--line-2); color: var(--ink); }
.demo-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-form { display: flex; gap: 10px; padding: 16px 18px; }
.demo-field { flex: 1; min-width: 0; height: 52px; display: flex; flex-direction: column; justify-content: center; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.demo-field.focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,91,230,.12); }
.demo-field small { font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.3; }
.demo-field span { font-family: var(--mono); font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; min-height: 1.4em; white-space: nowrap; overflow: hidden; }
.demo-go { flex: none; height: 52px; padding: 0 18px; border-radius: 12px; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 700; font-size: 14.5px; transition: transform .15s, background .2s; }
.demo-go.press { transform: scale(.94); background: var(--blue-600); }
.demo-go:hover { background: var(--blue-600); }
.demo-res { margin: 0 18px 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.demo-res-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #EEF1F6; color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.status.ok { background: var(--green-50); color: var(--green); }
.status.busy { background: var(--blue-50); color: var(--blue); }
.status .sp { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.demo-rows { padding: 4px 14px 8px; }
.demo-row { display: grid; grid-template-columns: 40% 1fr; gap: 10px; align-items: center; min-height: 41px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.demo-row:last-child { border-bottom: 0; }
.demo-row .k { color: var(--muted); font-size: 13px; }
.demo-row .v { font-weight: 600; color: var(--ink); min-width: 0; }
.demo-row .v .sk { display: block; height: 12px; width: 70%; border-radius: 6px; background: linear-gradient(90deg, #EEF1F6 0%, #F8FAFD 50%, #EEF1F6 100%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.demo-row .v .val { display: inline-flex; align-items: center; gap: 6px; animation: valIn .5s var(--ease); }
.demo-row .v .val svg { width: 16px; height: 16px; color: var(--green); }
@keyframes shimmer { to { background-position: -200% 0; } }
.demo-foot { display: flex; justify-content: space-between; gap: 10px; padding: 0 18px 16px; font-size: 12.5px; color: var(--muted); }
.demo-foot .mono { color: var(--ink); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.float-card small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; }
.float-card .ico svg { width: 18px; height: 18px; }
.fc-1 { left: -44px; top: 300px; animation-delay: -2s; }
.fc-2 { right: -34px; bottom: 70px; animation-delay: -4s; }
.fc-3 { right: 28px; top: -24px; }
@media (max-width: 1240px) { .fc-1 { left: -14px; } .fc-2 { right: -10px; } }
@media (max-width: 640px) { .float-card { display: none; } }
.orbit { position: absolute; inset: -46px; z-index: 0; pointer-events: none; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(27,91,230,.2); animation: spin 70s linear infinite; }
.orbit::after { inset: 70px; animation-duration: 45s; animation-direction: reverse; }

/* ---------- ribbon ---------- */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ribbon .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ribbon .wrap { grid-template-columns: repeat(4, 1fr); } }
.ribbon .it { display: flex; align-items: center; gap: 12px; padding: 22px 12px; }
@media (min-width: 768px) { .ribbon .it + .it { border-left: 1px solid var(--line); padding-left: 24px; } }
@media (max-width: 767px) { .ribbon .it:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .ribbon .it:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; } }
.ribbon .it b { display: block; font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.08rem; line-height: 1.2; }
.ribbon .it span { font-size: 13px; color: var(--muted); }
.ribbon .ico { width: 40px; height: 40px; border-radius: 11px; }
.ribbon .ico svg { width: 20px; height: 20px; }

/* ---------- products bento ---------- */
.bento { margin-top: 52px; display: grid; gap: 18px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento > :nth-child(1), .bento > :nth-child(2) { grid-column: span 3; } .bento > :nth-child(n+3) { grid-column: span 2; } }
@media (min-width: 760px) and (max-width: 1079px) { .bento > :last-child:nth-child(odd) { grid-column: span 2; } }
.pcard { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pcard:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); }
.pcard .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard .n { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pcard h3 { margin-top: 18px; font-size: 1.3rem; font-weight: 800; }
.pcard > p { margin-top: 8px; font-size: 15px; }
.pcard ul { margin-top: 16px; display: grid; gap: 2px; }
.pcard li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; }
.pcard li a svg { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.pcard li a:hover { background: var(--blue-50); color: var(--blue); }
.pcard li a:hover svg { transform: translateX(3px); color: var(--blue); }
.mini { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); padding: 12px 14px; }
.mini-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.mini-row:last-child { border-bottom: 0; }
.mini-row span:first-child { color: var(--muted); }
.mini-row span:last-child { font-weight: 600; color: var(--ink); font-family: var(--mono); font-size: 12.5px; text-align: right; }
.badge-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-50); padding: 3px 10px; border-radius: 999px; font-family: var(--sans); }

/* ---------- flow diagram ---------- */
.flow { margin-top: 56px; padding: 24px; border-radius: var(--r-lg); }
@media (min-width: 900px) { .flow { padding: 36px 40px; } }
.flow svg.diagram { width: 100%; height: auto; overflow: visible; }
.flow .node rect { fill: #fff; stroke: var(--line-2); stroke-width: 1.2; }
.flow .node.hub rect { fill: var(--blue); stroke: var(--blue); }
.flow .node text { font-family: var(--head); font-weight: 700; font-size: 15px; fill: var(--ink); }
.flow .node text.s { font-family: var(--sans); font-weight: 500; font-size: 12.5px; fill: var(--muted); }
.flow .node.hub text { fill: #fff; }
.flow .node.hub text.s { fill: rgba(255,255,255,.82); }
.flow .wire { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.flow .packet { fill: var(--blue); }
.flow .packet.back { fill: var(--green); }
.flow-steps { margin-top: 32px; display: grid; gap: 22px; }
@media (min-width: 800px) { .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.flow-steps li { display: flex; gap: 14px; }
.flow-steps .num { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 14px; }
.flow-steps h3 { font-size: 1.05rem; font-weight: 700; }
.flow-steps p { margin-top: 4px; font-size: 14.5px; }
.flow-mobile { display: grid; gap: 8px; }
.flow-mobile .fm { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.flow-mobile .fm.hub { background: var(--blue); border-color: var(--blue); color: rgba(255,255,255,.85); }
.flow-mobile .fm.hub b { color: #fff; }
.flow-mobile b { display: block; font-family: var(--head); color: var(--ink); }
.flow-mobile small { font-size: 13px; }
.flow-mobile .arr { justify-self: center; width: 2px; height: 20px; background: repeating-linear-gradient(var(--blue) 0 4px, transparent 4px 8px); animation: arr 1s linear infinite; }
@keyframes arr { to { background-position: 0 8px; } }
@media (min-width: 760px) { .flow-mobile { display: none; } }
@media (max-width: 759px) { .flow svg.diagram { display: none; } }

/* ---------- industries ---------- */
.ind-grid { margin-top: 48px; display: grid; gap: 24px; }
@media (min-width: 960px) { .ind-grid { grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: stretch; } }
.ind-list { display: grid; gap: 8px; align-content: start; }
.ind-btn { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; transition: border-color .25s, box-shadow .25s; }
.ind-btn:hover { border-color: var(--line-2); }
.ind-btn b { display: block; font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 16px; }
.ind-btn small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.ind-btn .chev { margin-left: auto; width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.ind-btn[aria-selected="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,91,230,.08); }
.ind-btn[aria-selected="true"] .chev { transform: translateX(3px); color: var(--blue); }
.ind-btn .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.ind-btn[aria-selected="true"] .bar.run { animation: bar var(--t, 6s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.ind-panels { position: relative; }
.ind-panel { display: none; height: 100%; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--navy), #13306B); color: #fff; position: relative; overflow: hidden; }
.ind-panel.active { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.ind-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(25,167,242,.35), transparent 65%); pointer-events: none; }
.ind-panel .lbl { position: relative; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8AD7FF; }
.ind-panel h3 { position: relative; margin-top: 10px; color: #fff; font-size: 1.7rem; font-weight: 800; }
.ind-panel p { position: relative; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 16px; max-width: 34rem; }
.ind-panel .apis { position: relative; margin-top: 24px; display: grid; gap: 10px; }
.ind-panel .apis div { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-weight: 600; opacity: 0; transform: translateY(8px); animation: itemIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 120ms + 150ms); }
@keyframes itemIn { to { opacity: 1; transform: none; } }
.ind-panel .apis svg { width: 18px; height: 18px; flex: none; color: #6EE7B7; }
.ind-panel .apis span { margin-left: auto; font-size: 12px; font-weight: 600; color: #6EE7B7; }
.ind-panel .ind-cta { position: relative; margin-top: 26px; }

/* ---------- developers ---------- */
.dev-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .dev-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; } }
.dev-points { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 640px) { .dev-points { grid-template-columns: 1fr 1fr; } }
.dev-points li { display: flex; gap: 12px; }
.dev-points .tick { margin-top: 4px; }
.dev-points b { display: block; color: var(--ink); font-weight: 600; }
.dev-points span { font-size: 14.5px; color: var(--muted); }
.code { overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--line); }
.code-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.code-tabs::-webkit-scrollbar { display: none; }
.code-tabs button { flex: none; padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.code-tabs button:hover { color: var(--ink); }
.code-tabs button[aria-selected="true"] { background: var(--blue-50); color: var(--blue); }
.code-status { flex: none; font-family: var(--mono); font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: #EEF1F6; color: var(--muted); transition: background .3s, color .3s; }
.code-status.ok { background: var(--green-50); color: var(--green); }
.code-body { display: grid; }
@media (min-width: 720px) { .code-body { grid-template-columns: 1fr 1fr; } }
.code pre { margin: 0; padding: 18px; min-height: 310px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; color: #344054; }
.code pre + pre { border-top: 1px solid var(--line); background: var(--bg-soft); }
@media (min-width: 720px) { .code pre + pre { border-top: 0; border-left: 1px solid var(--line); } }
.code .lbl, .api-card .lbl { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.jk { color: var(--blue); } .jv { color: var(--green); }
.res-line { display: block; opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s var(--ease); }
.res-line.in { opacity: 1; transform: none; }

/* ---------- feature grid ---------- */
.features { margin-top: 52px; display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.feature:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature h3 { margin-top: 18px; font-size: 1.08rem; font-weight: 700; }
.feature p { margin-top: 6px; font-size: 15px; }
.feature .ico { transition: transform .4s var(--spring); }
.feature:hover .ico { transform: rotate(-8deg) scale(1.08); }

/* ---------- CTA ---------- */
.cta-sec { padding: 0 0 96px; }
.cta-box { position: relative; overflow: hidden; display: grid; gap: 32px; align-items: center; padding: 44px 24px; border-radius: 28px; background: linear-gradient(120deg, var(--blue-600), var(--blue) 45%, var(--cyan)); color: #fff; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1.4fr .6fr; padding: 64px; } }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; }
.cta-box p { margin-top: 14px; color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 34rem; }
.cta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-mark { display: none; justify-self: center; width: 200px; height: 200px; border-radius: 50%; background: #fff; box-shadow: 0 30px 60px -20px rgba(10,26,51,.5); align-items: center; justify-content: center; animation: floaty 7s ease-in-out infinite; }
.cta-mark::before, .cta-mark::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: ring 3.2s var(--ease) infinite; }
.cta-mark::after { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.cta-mark img { width: 74%; }
@media (min-width: 900px) { .cta-mark { display: flex; position: relative; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.foot-grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.3fr 1.4fr .8fr; } }
.foot-logo img { height: 40px; width: auto; }
.site-footer h4 { font-family: var(--head); font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 16px; }
.site-footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.site-footer ul.cols { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.site-footer a:hover { color: var(--blue); }
.foot-contact { margin-top: 22px; display: grid; gap: 14px; font-size: 14.5px; }
.foot-contact a { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue); }
.foot-contact address { font-style: normal; max-width: 22rem; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; }
.status-line { display: inline-flex; align-items: center; gap: 8px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; color: var(--blue); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.r { position: absolute; inset: -1px; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top svg.a { width: 18px; height: 18px; }

/* ---------- catalogue page ---------- */
.page-hero { position: relative; overflow: hidden; padding: 36px 0 44px; }
@media (min-width: 900px) { .page-hero { padding: 52px 0 56px; } }
.crumbs { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.svc-hero { position: relative; margin: 26px auto 0; text-align: center; max-width: 820px; }
.svc-hero .h1 { margin-top: 20px; }
.svc-hero .lead { margin: 18px auto 0; max-width: 40rem; }
.search { position: relative; margin: 30px auto 0; max-width: 640px; }
.search input { width: 100%; height: 62px; padding: 0 110px 0 54px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow); font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(27,91,230,.12), var(--shadow); }
.search > svg { position: absolute; left: 19px; top: 50%; width: 21px; height: 21px; transform: translateY(-50%); color: var(--muted); }
.search .count { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: var(--muted); }
.search-hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
.stats3 { margin: 24px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.catalogue { display: grid; gap: 28px; padding-bottom: 96px; }
@media (min-width: 1024px) { .catalogue { grid-template-columns: 250px 1fr; gap: 40px; } }
.cat-nav { position: sticky; top: var(--header); z-index: 20; margin: 0 -16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-nav ol { display: flex; gap: 6px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; }
.cat-nav ol::-webkit-scrollbar { display: none; }
.cat-nav button { flex: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: #344054; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.cat-nav button .c { font-size: 12px; color: var(--muted); font-weight: 500; }
.cat-nav button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-nav button[aria-pressed="true"] .c { color: rgba(255,255,255,.8); }
.cat-nav .title { display: none; }
@media (min-width: 640px) { .cat-nav { margin: 0 -24px; } .cat-nav ol { padding: 10px 24px; } }
@media (min-width: 1024px) {
    .cat-nav { top: calc(var(--header) + 24px); align-self: start; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); max-height: calc(100vh - var(--header) - 48px); overflow: auto; }
    .cat-nav .title { display: block; padding: 8px 10px 10px; font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--ink); }
    .cat-nav ol { display: grid; gap: 1px; padding: 0; overflow: visible; }
    .cat-nav button { width: 100%; height: auto; padding: 9px 10px; border: 0; border-radius: 10px; justify-content: space-between; white-space: normal; text-align: left; font-weight: 500; }
    .cat-nav button:hover { background: var(--bg-soft); }
    .cat-nav button[aria-pressed="true"]:hover { background: var(--blue); }
}
.cat-block { scroll-margin-top: calc(var(--header) + 70px); }
.cat-block + .cat-block { margin-top: 56px; }
.cat-head { display: flex; gap: 16px; align-items: flex-start; }
.cat-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; }
.cat-head p { margin-top: 6px; font-size: 15px; max-width: 46rem; }
.cat-head .ct { margin-left: auto; flex: none; padding: 4px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 12.5px; font-weight: 700; }
@media (max-width: 640px) { .cat-head .ct { display: none; } .cat-head > .ico { display: none; } }
.cards { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.scard { position: relative; display: flex; flex-direction: column; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .3s, transform .4s var(--ease); }
.scard:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.scard .top { display: flex; align-items: center; justify-content: space-between; }
.scard .ico { width: 40px; height: 40px; border-radius: 11px; }
.scard .ico svg { width: 20px; height: 20px; }
.scard .go { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); background: var(--bg-soft); transition: background .25s, color .25s, transform .35s var(--ease); }
.scard .go svg { width: 15px; height: 15px; }
.scard:hover .go { background: var(--blue); color: #fff; transform: rotate(-45deg); }
.scard h3 { margin-top: 16px; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.scard p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { text-align: center; padding: 64px 16px; }
.empty .ico { margin: 0 auto; width: 56px; height: 56px; }
.is-hidden { display: none !important; }

/* ---------- service page ---------- */
.case-hero { position: relative; overflow: hidden; padding: 36px 0 72px; }
@media (min-width: 900px) { .case-hero { padding: 52px 0 96px; } }
.case-grid { position: relative; display: grid; gap: 44px; margin-top: 28px; }
@media (min-width: 1024px) { .case-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; } }
.case-grid h1 { margin-top: 20px; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; font-weight: 800; }
.case-grid .lead { margin-top: 18px; }
.case-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.case-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.api-card { overflow: hidden; }
.api-card .bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--ink); min-width: 0; }
.api-card .bar .path { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-card .m { flex: none; padding: 2px 8px; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 700; font-size: 11.5px; }
.api-card .bar .code-status { margin-left: auto; }
.api-card pre { margin: 0; padding: 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; color: #344054; }
.api-card pre.req { min-height: 136px; }
.api-card pre.res { background: var(--bg-soft); border-top: 1px solid var(--line); min-height: 210px; }
.api-card .note { padding: 0 18px 14px; font-size: 12px; color: var(--muted); background: var(--bg-soft); }
.io-grid { margin-top: 44px; display: grid; gap: 18px; }
@media (min-width: 860px) { .io-grid { grid-template-columns: 1fr 1fr; } }
.io { padding: 28px; }
.io .hd { display: flex; align-items: center; gap: 12px; }
.io h3 { font-size: 1.2rem; font-weight: 800; }
.io ul { margin-top: 18px; display: grid; }
.io li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--line); color: #344054; }
.io li:last-child { border-bottom: 0; }
.io li .tick { margin-top: 4px; }
.navy { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy), #12306A); color: #fff; }
.navy::after { content: ""; position: absolute; right: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(25,167,242,.3), transparent 65%); pointer-events: none; }
.navy .wrap { position: relative; z-index: 1; }
.navy h2 { color: #fff; }
.navy .kicker { color: #8AD7FF; }
.uses { margin-top: 44px; display: grid; gap: 16px; }
@media (min-width: 640px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .uses { grid-template-columns: repeat(4, 1fr); } }
.use { padding: 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .4s var(--ease); }
.use:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.use .n { width: 36px; height: 36px; border-radius: 10px; background: rgba(25,167,242,.2); color: #8AD7FF; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; }
.use h3 { margin-top: 16px; color: #fff; font-size: 1.08rem; font-weight: 700; }
.use p { margin-top: 6px; color: rgba(255,255,255,.72); font-size: 14.5px; }
.steps { position: relative; margin-top: 48px; display: grid; gap: 26px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps .line { display: none; }
@media (min-width: 900px) {
    .steps .line { display: block; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px; background: var(--line); }
    .steps .line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
    .steps.in .line i { transform: scaleX(1); }
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
@media (min-width: 900px) { .step { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.step .num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 1.2rem; color: var(--blue); transition: background .4s, color .4s, border-color .4s; }
.steps.in .step .num { background: var(--blue); color: #fff; border-color: var(--blue); transition-delay: calc(var(--i) * 350ms + 300ms); }
.step h3 { font-size: 1.05rem; font-weight: 700; }
.step p { margin-top: 6px; font-size: 14.5px; max-width: 18rem; }
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.faq summary .pm { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue-50); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--blue); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details > p { padding: 0 20px 20px; animation: valIn .4s var(--ease); }
.pill-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 600; color: #344054; transition: border-color .2s, color .2s, background .2s; }
.pill-links a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.page-nav { margin-top: 48px; display: grid; gap: 12px; }
@media (min-width: 640px) { .page-nav { grid-template-columns: 1fr 1fr; } }
.page-nav a { display: block; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s, transform .35s var(--ease); }
.page-nav a:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.page-nav span { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.page-nav b { display: block; margin-top: 4px; font-family: var(--head); color: var(--ink); }
.page-nav a.next { text-align: right; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.row-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; }

/* =================== extra motion layer =================== */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* header slides in on load */
.js .site-header { animation: hdrIn .8s var(--ease) both; }
@keyframes hdrIn { from { transform: translateY(-100%); opacity: 0; } }

/* hero: drifting blobs + cursor-lit grid */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; will-change: transform; }
.blob-1 { width: 420px; height: 420px; background: #9CC7FF; right: -80px; top: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.blob-2 { width: 360px; height: 360px; background: #B9E8FF; left: -120px; top: 160px; animation: drift2 22s ease-in-out infinite alternate; }
.blob-3 { width: 300px; height: 300px; background: #CFC6FF; right: 30%; bottom: -160px; opacity: .4; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(110px, -60px) scale(.9); } }
.hero-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background-image: linear-gradient(rgba(27,91,230,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(27,91,230,.35) 1px, transparent 1px); background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(220px circle at var(--hx, 50%) var(--hy, 50%), #000, transparent 70%); mask-image: radial-gradient(220px circle at var(--hx, 50%) var(--hy, 50%), #000, transparent 70%); }
.hero:hover .hero-glow, .page-hero:hover .hero-glow, .case-hero:hover .hero-glow { opacity: 1; }
[data-depth] { translate: var(--px, 0) var(--py, 0); transition: translate .5s var(--ease); }

/* gradient text shimmer */
.grad { background-image: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 30%, #7B6CFF 50%, var(--cyan) 70%, var(--blue) 100%); background-size: 220% 100%; animation: shimmerTxt 6s linear infinite; }
@keyframes shimmerTxt { to { background-position: -220% 0; } }

/* primary button shine */
.btn-primary, .btn-white { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-white::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s var(--ease) infinite; }
.btn-white::after { background: linear-gradient(110deg, transparent 30%, rgba(27,91,230,.12) 50%, transparent 70%); }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* rotating gradient border on hover */
.pcard, .scard, .feature, .io { position: relative; }
.pcard::after, .scard::after, .feature::after, .io::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s;
    background: conic-gradient(from var(--ang), transparent 0deg, var(--blue) 70deg, var(--cyan) 120deg, transparent 180deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: angle 3s linear infinite; }
.pcard:hover::after, .scard:hover::after, .feature:hover::after, .io:hover::after { opacity: 1; }
@keyframes angle { to { --ang: 360deg; } }

/* icons draw themselves */
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .draw path, .draw.in path { animation: drawPath 1.2s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes drawPath { to { stroke-dashoffset: 0; } }

/* scramble labels */
[data-scramble] { font-variant-numeric: tabular-nums; }

/* odometer digits */
.odo { display: inline-flex; overflow: hidden; height: 1.2em; line-height: 1.2em; vertical-align: bottom; }
.odo .col { display: flex; flex-direction: column; transition: transform 1.6s var(--ease); transition-delay: calc(var(--k) * 120ms); }
.odo .col span { height: 1.2em; }

/* demo: scan line + spark burst */
.demo-res { position: relative; }
.spark { position: absolute; z-index: 5; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; animation: spark .9s var(--ease) forwards; }
@keyframes spark { from { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; } to { transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(.3); opacity: 0; } }
.status.ok { animation: pop .45s var(--spring); }
@keyframes pop { 40% { transform: scale(1.18); } }

/* product mini rows cascade in */
.pcard .mini-row { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--r) * 120ms + 350ms); }
.pcard.in .mini-row { opacity: 1; transform: none; }
.badge-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: live 2s infinite; box-shadow: 0 0 0 0 rgba(15,159,98,.45); }

/* ecosystem orbit */
.eco { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .eco { grid-template-columns: 1fr 1fr; gap: 64px; } }
.eco > * { min-width: 0; }
.orbit-stage { position: relative; width: min(470px, calc(100vw - 130px)); aspect-ratio: 1; margin: 30px auto; }
.orbit-stage .ring { position: absolute; border-radius: 50%; border: 1px dashed var(--line-2); }
.orbit-stage .r1 { inset: 4%; } .orbit-stage .r2 { inset: 20%; } .orbit-stage .r3 { inset: 34%; border-style: solid; border-color: var(--blue-100); }
.orbit-core { position: absolute; inset: 37%; border-radius: 50%; background: #fff; box-shadow: 0 20px 50px -18px rgba(27,91,230,.55), 0 0 0 10px rgba(27,91,230,.06); display: flex; align-items: center; justify-content: center; z-index: 2; }
.orbit-core img { width: 78%; }
.orbit-core::before, .orbit-core::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid rgba(27,91,230,.3); animation: ring 3s var(--ease) infinite; }
.orbit-core::after { animation-delay: 1.5s; }
.spin { position: absolute; inset: 0; animation: spin var(--dur, 40s) linear infinite; }
.spin.rev { animation-direction: reverse; }
.orbit-stage:hover .spin, .orbit-stage:hover .spin .node-chip { animation-play-state: paused; }
.orbit-stage { --R: 230px; }
.node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--R) * var(--k, 1) * -1)); }
.node-chip { position: absolute; left: 0; top: 0; translate: -50% -50%; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap;
    transform: rotate(calc(var(--a) * -1)); animation: counter var(--dur, 40s) linear infinite; }
.spin.rev .node-chip { animation-direction: reverse; }
.node-chip .ico { width: 26px; height: 26px; border-radius: 999px; }
.node-chip .ico svg { width: 14px; height: 14px; }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }
.orbit-beam { position: absolute; left: 50%; top: 50%; width: 50%; height: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(27,91,230,.5), transparent); animation: spin 6s linear infinite; z-index: 1; }
@media (max-width: 520px) { .node-chip { font-size: 11.5px; padding: 5px 10px 5px 5px; } .node-chip .ico { width: 22px; height: 22px; } }
.eco-list { margin-top: 26px; display: grid; gap: 12px; }
.eco-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.eco-list li:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateX(6px); }
.eco-list b { display: block; font-family: var(--head); color: var(--ink); }
.eco-list span { font-size: 14.5px; }

/* flow hub pulse */
.flow .node.hub rect { animation: hubGlow 2.6s ease-in-out infinite; }
@keyframes hubGlow { 50% { filter: drop-shadow(0 0 14px rgba(27,91,230,.55)); } }

/* industries panel spotlight */
.ind-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--ix, 80%) var(--iy, 10%), rgba(110,231,183,.14), transparent 60%); }

/* CTA spotlight + animated gradient */
.cta-box { background-size: 200% 200%; animation: ctaGrad 12s ease-in-out infinite alternate; }
@keyframes ctaGrad { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.cta-box::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--cx, 70%) var(--cy, 30%), rgba(255,255,255,.22), transparent 60%); }

/* section headings: underline sweep on kickers */
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s; }
.kicker.in::before, .in .kicker::before { transform: scaleX(1); }
.sec-head.center .kicker::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease) .2s; }
.sec-head.center .kicker.in::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
    .draw path { stroke-dashoffset: 0; }
    .pcard .mini-row { opacity: 1; transform: none; }
    .hero-glow, .blob { display: none; }
}

/* =================== lens theme =================== */
:root { --bg-soft: #F1F7FF; --line: #DCE7F5; --line-2: #C9D8EC; --r-lg: 26px; }

/* round everything */
.btn, .btn-sm { border-radius: 999px; }
.ico, .scard .ico, .ribbon .ico, .float-card .ico, .mega-grid a .ico { border-radius: 50%; }
.card, .pcard, .feature, .io, .flow { border-radius: var(--r-lg); }
.scard { border-radius: 22px; }
.demo-field, .demo-go { border-radius: 999px; }
.demo-field { padding: 0 20px; }
.demo-res { border-radius: 20px; }
.step .num { border-radius: 50%; }
.kicker { padding: 6px 14px; border-radius: 999px; background: var(--blue-50); }
.navy .kicker { background: var(--blue-50); color: var(--blue); }
.search input { border-radius: 999px; }
.cat-nav { border-radius: 22px; }
.cta-box { border-radius: 40px; }

/* hero: concentric lens rings instead of a grid */
.hero-bg { background: radial-gradient(900px 520px at 78% 30%, rgba(25,167,242,.16), transparent 62%), radial-gradient(700px 500px at 0% 10%, rgba(27,91,230,.10), transparent 60%), linear-gradient(180deg, #F3F8FF, #FFFFFF 85%); }
.hero-bg::after { background-image: repeating-radial-gradient(circle at 76% 46%, transparent 0 46px, rgba(27,91,230,.10) 46px 47px); background-size: auto; opacity: 1;
    -webkit-mask-image: radial-gradient(circle at 76% 46%, #000 0, #000 30%, transparent 62%); mask-image: radial-gradient(circle at 76% 46%, #000 0, #000 30%, transparent 62%); }
.page-hero .hero-bg::after, .case-hero .hero-bg::after { background-image: repeating-radial-gradient(circle at 50% 0%, transparent 0 46px, rgba(27,91,230,.09) 46px 47px); -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 0%, #000 0, transparent 70%); }
.hero-glow { background-image: repeating-radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), transparent 0 22px, rgba(27,91,230,.32) 22px 23.5px); background-size: auto;
    -webkit-mask-image: radial-gradient(200px circle at var(--hx, 50%) var(--hy, 50%), #000, transparent 72%); mask-image: radial-gradient(200px circle at var(--hx, 50%) var(--hy, 50%), #000, transparent 72%); }

/* demo: lens rings + radar sweep + match ring */
.orbit { inset: -60px; }
.orbit::before { border: 1.5px dashed rgba(27,91,230,.25); }
.orbit::after { inset: 46px; border: 1.5px solid rgba(27,91,230,.14); border-style: solid; }
.radar { position: absolute; inset: -60px; z-index: 0; border-radius: 50%; pointer-events: none; overflow: hidden;
    -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); }
.radar::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(25,167,242,.0) 0deg, rgba(25,167,242,.22) 50deg, transparent 60deg, transparent 360deg); animation: spin 5s linear infinite; }
.score { width: 22px; height: 22px; transform: rotate(-90deg); flex: none; }
.score circle { fill: none; stroke-width: 4; }
.score .bg { stroke: #E3EAF5; }
.score .fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 88; stroke-dashoffset: 88; transition: stroke-dashoffset 1s var(--ease); }
.score.done .fg { stroke-dashoffset: 0; }
.demo-res-h .rt { display: inline-flex; align-items: center; gap: 8px; }


/* decorative lens rings on soft sections */
.soft { position: relative; overflow: hidden; }
.soft > .wrap { position: relative; z-index: 1; }
.ring-deco { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(27,91,230,.16); pointer-events: none; animation: spin 90s linear infinite; }
.ring-deco::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px solid rgba(27,91,230,.10); }

/* lens hover: reveal the endpoint and response hidden under a card */
[data-lens] { position: relative; overflow: hidden; }
.lens-x { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), #F4F9FF, #E4EFFF 80px); border-radius: inherit;
    clip-path: circle(0px at var(--lx, 50%) var(--ly, 50%)); transition: clip-path .35s var(--ease); font-family: var(--mono); }
[data-lens]:hover .lens-x { clip-path: circle(78px at var(--lx, 50%) var(--ly, 50%)); }
.lens-x .lc { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); width: 132px; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 5px; text-align: center; }
.lens-x .lm { padding: 1px 8px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.lens-x .le { font-size: 11.5px; font-weight: 600; color: var(--blue); line-height: 1.35; overflow-wrap: anywhere; }
.lens-x .lv { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--green); }
.lens-x .lv svg { width: 13px; height: 13px; }
.lens-x .lk { font-size: 10.5px; color: var(--muted); }
.lens-ring { position: absolute; z-index: 5; left: 0; top: 0; width: 156px; height: 156px; margin: -78px 0 0 -78px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(var(--lx, 50%), var(--ly, 50%)) scale(.6);
    border: 2.5px solid var(--blue); box-shadow: 0 0 0 5px rgba(255,255,255,.7), 0 12px 30px -10px rgba(27,91,230,.5), inset 0 0 0 1px rgba(25,167,242,.5); transition: opacity .3s, transform .35s var(--ease); }
.lens-ring::after { content: ""; position: absolute; left: 18%; top: 14%; width: 26%; height: 13%; border-radius: 50%; background: rgba(255,255,255,.9); transform: rotate(-30deg); }
[data-lens]:hover .lens-ring { opacity: 1; transform: translate(var(--lx, 50%), var(--ly, 50%)) scale(1); }
.lens-hint { position: absolute; right: 14px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); opacity: .0; transition: opacity .3s; }
[data-lens]:not(:hover) .lens-hint { opacity: .85; }
.pcard .lens-hint { top: 26px; bottom: auto; right: 70px; }
@media (hover: none) { .lens-x, .lens-ring, .lens-hint { display: none; } }

/* flow: pill nodes, hub ring pulse */
.flow .node rect { rx: 60; }
.flow .node.hub rect { rx: 70; }

/* industries: light lens panel */
.ind-panel { background: linear-gradient(160deg, #FFFFFF, #EEF5FF); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ind-panel::after { right: -110px; top: -110px; width: 320px; height: 320px; background: none; border: 1.5px dashed rgba(27,91,230,.22); animation: spin 60s linear infinite; }
.ind-panel::before { background: radial-gradient(260px circle at var(--ix, 80%) var(--iy, 10%), rgba(25,167,242,.14), transparent 60%); }
.ind-panel .lbl { color: var(--blue); }
.ind-panel h3 { color: var(--ink); }
.ind-panel p { color: var(--text); }
.ind-panel .apis div { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); box-shadow: var(--shadow-sm); }
.ind-panel .apis svg, .ind-panel .apis span { color: var(--green); }
.ind-panel .ind-cta .btn-white { background: var(--blue); color: #fff; }
.ind-panel .ind-cta .btn-white:hover { background: var(--blue-600); }
.ind-btn { border-radius: 999px; padding: 12px 18px 12px 12px; }
.ind-btn .bar { left: 24px; right: 24px; width: auto; border-radius: 2px; }

/* service page use cases: light */
.navy { background: linear-gradient(160deg, #EEF5FF, #F8FBFF); color: var(--text); }
.navy::after { display: none; }
.navy > .wrap { position: relative; z-index: 1; }
.navy h2 { color: var(--ink); }
.use { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 24px; }
.use:hover { background: #fff; box-shadow: var(--shadow-lg); }
.use .n { border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.use h3 { color: var(--ink); }
.use p { color: var(--text); }

/* CTA: lens rings */
.cta-box::before { background-image: repeating-radial-gradient(circle at 85% 50%, transparent 0 34px, rgba(255,255,255,.12) 34px 35px); background-size: auto; -webkit-mask-image: radial-gradient(circle at 85% 50%, #000 0, transparent 60%); mask-image: radial-gradient(circle at 85% 50%, #000 0, transparent 60%); }

/* catalogue: lens over the hero */
.page-hero .search input:focus { box-shadow: 0 0 0 6px rgba(27,91,230,.12), var(--shadow); }

@media (prefers-reduced-motion: reduce) {
    .radar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .w > span { transform: none; }
}

/* ---------- showcase: JSON response with the matching document rising over it ---------- */
.sc-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .sc-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.sc-left, .sc-stage { min-width: 0; }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sc-tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px var(--sans); color: var(--text); cursor: pointer; transition: border-color .25s, color .25s, box-shadow .25s, transform .25s var(--spring); }
.sc-tab .ico { width: 28px; height: 28px; border-radius: 999px; }
.sc-tab .ico svg { width: 15px; height: 15px; }
.sc-tab:hover { transform: translateY(-2px); color: var(--ink); }
.sc-tab.on { border-color: var(--blue); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(27,91,230,.55); }
.sc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.sc-tab.on .sc-bar.run { animation: scBar var(--t, 6000ms) linear forwards; }
.sc-paused .sc-tab.on .sc-bar.run { animation-play-state: paused; }
@keyframes scBar { to { transform: scaleX(1); } }
.sc-copy { display: grid; margin-top: 30px; }
.sc-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .45s; }
.sc-text.on { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.sc-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 700 15px var(--head); color: var(--ink); letter-spacing: .02em; text-transform: uppercase; }
.sc-tag .ico { width: 34px; height: 34px; border-radius: 999px; }
.sc-tag .ico svg { width: 18px; height: 18px; }
.sc-text h3 { margin: 14px 0 0; font: 700 clamp(26px, 3.2vw, 38px)/1.15 var(--head); color: var(--ink); letter-spacing: -.02em; }
.sc-text p:not(.sc-tag) { margin: 14px 0 24px; font-size: 17px; max-width: 460px; }

.sc-stage { position: relative; padding-bottom: 150px; perspective: 1400px; }
.sc-code { position: relative; height: 400px; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 90% at 100% 0, #1B2F6B 0, transparent 55%), linear-gradient(160deg, #0F1E4A, #0A1638 70%); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06); }
.sc-code-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07); font: 500 12px var(--mono); color: #8FA3CC; }
.sc-code-top .dots { display: flex; gap: 6px; }
.sc-code-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3B6A; }
.sc-code-top .dots i:first-child { background: #FF6B6B; } .sc-code-top .dots i:nth-child(2) { background: #FFC44D; } .sc-code-top .dots i:nth-child(3) { background: #3DDC97; }
.sc-ep { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-ep b { color: #6FB6FF; font-weight: 700; margin-right: 4px; }
.sc-ok { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: rgba(61,220,151,.14); color: #3DDC97; font-weight: 600; }
.sc-json { position: absolute; inset: 46px 0 0; margin: 0; padding: 14px 0; font: 500 13.5px/1.85 var(--mono); color: #C9D6F2; white-space: pre; overflow: hidden; }
.sc-json .ln { display: block; padding: 0 18px 0 0; opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-6px); transition: opacity .2s, clip-path .38s steps(18), transform .38s var(--ease); }
.sc-json .ln em { display: inline-block; width: 44px; padding-right: 16px; text-align: right; font-style: normal; color: #4C5F8F; user-select: none; }
.sc-json.on .ln { opacity: 1; clip-path: inset(0 0 0 0); transform: none; transition-delay: calc(var(--n) * 75ms); }
.sc-stage.carded .sc-json.on .ln:nth-child(n+8) { opacity: .28; transition: opacity .6s; transition-delay: 0s; }
.j-k { color: #8EC5FF; } .j-s { color: #FFC98B; } .j-n { color: #FF8FB1; } .j-b { color: #7EE2B8; } .j-p { color: #C9D6F2; }

.sc-card { position: absolute; left: 0; right: 0; bottom: 0; width: min(460px, 86%); margin: 0 auto; padding: 12px; border-radius: 22px; background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.75); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 30px 60px -24px rgba(10,22,56,.45), 0 0 0 1px rgba(10,22,56,.06); opacity: 0; visibility: hidden; transform: translateY(90px) rotateX(24deg) scale(.92); transform-origin: 50% 100%; transition: opacity .5s var(--ease), transform .9s var(--spring), visibility 0s .9s; }
.sc-card.on { opacity: 1; visibility: visible; transform: translateY(0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .5s var(--ease), transform .9s var(--spring), visibility 0s; }
.sc-card.out { opacity: 0; visibility: hidden; transform: translateY(-24px) scale(.96); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
.sc-card.on.tilting { transition: opacity .5s, transform .15s linear; }
.sc-card::after { content: "VERIFIED"; position: absolute; top: 22px; right: 22px; padding: 4px 10px; border: 2px solid var(--green); border-radius: 8px; font: 800 11px var(--mono); letter-spacing: .12em; color: var(--green); background: rgba(231,247,239,.9); transform: rotate(-10deg) scale(2.2); opacity: 0; }
.sc-card.on::after { animation: scStamp .5s var(--spring) 1.05s forwards; }
@keyframes scStamp { to { opacity: 1; transform: rotate(-10deg) scale(1); } }

.doc { position: relative; overflow: hidden; border-radius: 12px; padding: 16px 18px 18px; color: var(--ink); background: linear-gradient(135deg, #EAF2FF, #F7FBFF 45%, #E3EEFF); box-shadow: inset 0 0 0 1px rgba(27,91,230,.12); font-family: var(--sans); }
.doc::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(27,91,230,.035) 0 2px, transparent 2px 9px); pointer-events: none; }
.doc > * { position: relative; }
.doc-h { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed rgba(27,91,230,.25); padding-right: 92px; }
.doc-h b { font: 800 12.5px var(--head); letter-spacing: .06em; color: #13347A; }
.doc-h span { font: 600 9.5px var(--mono); letter-spacing: .08em; color: #7A8DB5; }
.doc small { display: block; font: 600 9.5px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #6A7DA6; }
.doc strong { display: block; font: 700 13px var(--sans); color: var(--ink); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc .doc-big { font: 700 17px var(--mono); letter-spacing: .06em; color: #13347A; }
.doc-b { display: grid; grid-template-columns: 64px minmax(0, 1fr) 74px; gap: 14px; align-items: start; }
.doc-ph { width: 64px; height: 72px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(10,22,56,.3); }
.doc-ph svg { width: 100%; height: 100%; }
.doc-qr { width: 74px; height: 74px; padding: 5px; border-radius: 8px; background: #fff; display: grid; grid-template-columns: repeat(11, 1fr); gap: 1px; box-shadow: 0 0 0 1px rgba(10,22,56,.08); }
.doc-qr i { background: #0B1A3A; border-radius: 1px; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .3s var(--spring); transition-delay: calc(var(--q) * 5ms + .6s); }
.doc-qr i.o { background: transparent; }
.sc-card.on .doc-qr i { opacity: 1; transform: none; }
.doc-num { margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(27,91,230,.25); text-align: center; font: 700 20px var(--mono); letter-spacing: .14em; color: #13347A; }
.doc-plate { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border: 2px solid #0B1A3A; border-radius: 8px; background: #fff; font: 800 22px var(--mono); letter-spacing: .1em; color: #0B1A3A; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(10,22,56,.25); }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.doc-grid > div { min-width: 0; }
.doc-gstin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 10px; }
.doc-gstin small { width: 100%; }
.doc-gstin strong { margin: 0; }
.doc-pill { padding: 2px 10px; border-radius: 999px; background: var(--green-50); color: var(--green); font: 700 11px var(--sans); }
.doc-rc { background: linear-gradient(135deg, #EEF0FF, #FAFBFF 45%, #E7EAFF); }
.doc-gst { background: linear-gradient(135deg, #E9F8F1, #F8FDFB 45%, #E1F4EA); }
.doc-gst .doc-h b, .doc-gst .doc-big { color: #0B5C3B; }
@media (max-width: 520px) {
    .sc-code { height: 360px; }
    .sc-json { font-size: 11.5px; }
    .sc-json .ln em { width: 32px; padding-right: 10px; }
    .sc-stage { padding-bottom: 170px; }
    .sc-card { width: 94%; padding: 8px; }
    .doc-b { grid-template-columns: 52px minmax(0, 1fr); }
    .doc-ph { width: 52px; height: 60px; }
    .doc-qr { display: none; }
    .doc-h { padding-right: 84px; }
    .doc .doc-big { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .sc-json .ln, .sc-card, .doc-qr i, .sc-text { transition: none !important; }
    .sc-card.on::after { animation: none; opacity: 1; transform: rotate(-10deg); }
}
