/* NATINET Pro — main stylesheet (RTL first) */
:root {
	--bg: #f7f5f1;
	--surface: #ffffff;
	--tint: #efebe4;
	--ink: #0f1222;
	--ink-2: #2a2f45;
	--muted: #5a5f72;
	--line: #e4dfd5;
	--accent: #4f46e5;
	--accent-ink: #4338ca;
	--violet: #7c4ddb;
	--cyan: #22b8d6;
	--dark: #0b0e1c;
	--dark-2: #141833;
	--dark-line: rgba(255, 255, 255, .1);
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(15, 18, 34, .04), 0 8px 30px rgba(15, 18, 34, .06);
	--shadow-lg: 0 30px 80px -20px rgba(15, 18, 34, .35);
	--font: "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-d: "IBM Plex Sans Hebrew", "Assistant", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--fs: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: calc(1.0625rem * var(--fs)); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, var(--accent), var(--violet) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 999; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.shell { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.shell.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section.tint { background: var(--tint); }
.section.dark, .portal-band { background: var(--dark); color: #e9eaf3; position: relative; overflow: hidden; }
.section.dark p, .portal-band p { color: #b9bdd3; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--font-d); font-weight: 600; font-size: .85rem; letter-spacing: .06em; color: var(--accent); margin-bottom: .9rem; }
.eyebrow.light { color: #a5b4fc; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: var(--muted); line-height: 1.75; }
.dark .lead, .portal-band .lead, .hero .lead, .dark-hero .lead { color: #c2c6dc; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; font-family: var(--font-d); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(-4px); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.9rem; font-size: 1.07rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(79, 70, 229, .7); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 16px 40px -12px rgba(79, 70, 229, .8); }
.btn-accent { background: var(--accent); }
.brand-hero .btn-accent { background: color-mix(in srgb, var(--accent) 88%, #000); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.actions.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-d); font-weight: 600; color: var(--accent); }
.dark .link-arrow, .portal-band .link-arrow { color: #a5b4fc; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(-4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-color: var(--line); background: rgba(247, 245, 241, .92); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex: none; }
.brand-word { display: inline-flex; align-items: baseline; gap: .18em; white-space: nowrap; font-family: var(--font); font-weight: 700; letter-spacing: -.01em; line-height: 1; font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.brand-word span:first-child { color: var(--ink); }
.brand-word span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(15, 18, 34, .55); }
.brand.light .brand-word span:first-child { color: #fff; }
.brand.light .brand-word span:last-child { -webkit-text-stroke-color: rgba(255, 255, 255, .6); }
.a11y-contrast .brand-word span:last-child { color: var(--ink); -webkit-text-stroke: 0; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.main-nav a { display: block; padding: .5rem .8rem; border-radius: 999px; font-weight: 600; font-size: .98rem; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav a:hover { background: rgba(15, 18, 34, .06); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.portal-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--muted); padding: .4rem .6rem; border-radius: 999px; }
.portal-link:hover { color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i-close { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem); margin-top: -1px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: #4f46e5; top: -160px; inset-inline-start: -120px; }
.o2 { width: 420px; height: 420px; background: #7c3aed; bottom: -180px; inset-inline-end: 10%; animation-delay: -6s; }
.o3 { width: 300px; height: 300px; background: #0891b2; top: 30%; inset-inline-end: -80px; opacity: .35; animation-delay: -12s; }
.gridlines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero .lead strong { color: #fff; }
.badge { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; font-weight: 600; color: #d6d9ec; margin-bottom: 1.5rem; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #c2c6dc; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .ic { color: #34d399; }
.hero-visual { position: relative; }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.float-card .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #eef2ff; color: var(--accent); }
.float-card small { display: block; color: var(--muted); }
.fc1 { bottom: -22px; inset-inline-start: -18px; }
.fc2 { top: 18%; inset-inline-end: -26px; animation-delay: -3s; }
.fc2 .ic { background: #ecfdf5; color: #059669; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Portal mock */
.mock { border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; color: var(--ink); font-size: .82rem; transform: perspective(1400px) rotateY(6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.mock:hover { transform: none; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f2ef; border-bottom: 1px solid #e8e5df; direction: ltr; }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e0ddd6; }
.mock-bar > span:first-child { background: #ff6159; }
.mock-bar > span:nth-child(2) { background: #ffbd2e; }
.mock-bar > span:nth-child(3) { background: #28c941; }
.mock-url { margin-inline: auto; background: #fff; padding: 3px 14px; border-radius: 6px; font-size: .72rem; color: #6b6f80; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mock-side { background: #fafaf8; border-inline-end: 1px solid #eee; padding: 14px 10px; }
.mock-logo { font-weight: 700; color: var(--accent); margin-bottom: 12px; padding-inline: 6px; }
.mock-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mock-side li { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 8px; color: #555a6b; }
.mock-side li .ic { width: 15px; height: 15px; }
.mock-side li.on { background: #eef2ff; color: var(--accent); font-weight: 700; }
.mock-main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.mock-top { display: flex; justify-content: space-between; align-items: center; }
.pill { background: #ecfdf5; color: #047857; border-radius: 999px; padding: 2px 10px; font-size: .72rem; font-weight: 700; }
.mock-canvas { border: 1px dashed #d8d5ce; border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.mc-hero { position: relative; height: 92px; border-radius: 10px; background: linear-gradient(120deg, #312e81, #6d28d9 60%, #0e7490); display: grid; align-content: center; gap: 6px; padding: 0 14px; }
.mc-hero i { display: block; height: 9px; width: 60%; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.mc-hero i.s { width: 38%; background: rgba(255, 255, 255, .45); }
.mc-hero em { position: absolute; inset-inline-start: 10px; top: 8px; font-style: normal; font-size: .66rem; background: #fff; color: var(--accent); padding: 1px 7px; border-radius: 5px; outline: 2px solid var(--accent); outline-offset: 2px; display: none; }
.mc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc-row div { height: 46px; border-radius: 8px; background: #f1efea; }
.mock-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-panel > div { background: #fafaf8; border: 1px solid #eee; border-radius: 10px; padding: 8px; display: grid; gap: 4px; }
.mock-panel small { color: #8a8e9c; font-size: .68rem; }
.field { font-size: .72rem; background: #fff; border: 1px solid #e6e3dc; border-radius: 6px; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; background: #4f46e5; }
.swatches i:nth-child(2) { background: #7c3aed; }
.swatches i:nth-child(3) { background: #0e7490; }
.swatches i:nth-child(4) { background: #0f1222; }

/* Marquee */
.marquee { background: var(--dark); border-top: 1px solid var(--dark-line); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; direction: ltr; }
.marquee span { font-family: var(--font-d); font-weight: 600; color: #6f7593; font-size: 1.05rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.svc-card, .feat-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card p, .feat-card p { color: var(--muted); }
.svc-num { position: absolute; top: 1.4rem; inset-inline-end: 1.6rem; font-family: var(--font-d); font-weight: 700; color: #d9d4ca; font-size: 1.1rem; }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #eef2ff; color: var(--accent); margin-bottom: 1.3rem; }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-card .more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-d); font-weight: 600; color: var(--accent); }
.svc-card .more .ic { transition: transform .25s var(--ease); }
.svc-card:hover .more .ic { transform: translateX(-5px); }
.svc-card.hot { background: linear-gradient(160deg, #1e1b4b, #312e81 55%, #4c1d95); color: #fff; border-color: transparent; }
.svc-card.hot p { color: #c7c9ea; }
.svc-card.hot .svc-ic { background: rgba(255, 255, 255, .12); color: #fff; }
.svc-card.hot .svc-num { color: rgba(255, 255, 255, .25); }
.svc-card.hot .more { color: #c7d2fe; }
.svc-card.hot .tags li { background: rgba(255, 255, 255, .1); color: #e0e3ff; border-color: transparent; }
.ribbon { position: absolute; top: 1.3rem; inset-inline-end: 3.6rem; background: #34d399; color: #052e1f; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15rem .7rem; }
.feat-card.plain { background: transparent; }
.dark .feat-card { background: var(--dark-2); border-color: var(--dark-line); }
.tags { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .82rem; font-weight: 600; padding: .22rem .7rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.dark .tags li, .portal-band .tags li { background: rgba(255, 255, 255, .06); border-color: var(--dark-line); color: #d3d6ea; }

/* Portal band */
.portal-band { padding-block: clamp(4.5rem, 9vw, 7rem); }
.portal-band::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 70, 229, .45), transparent 65%); top: -250px; inset-inline-end: -200px; pointer-events: none; }
.portal-band h2 { color: #fff; }
.portal-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.module-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.module-list li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); transition: background .3s, border-color .3s; }
.module-list li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(165, 180, 252, .35); }
.module-list li > span { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(129, 140, 248, .16); color: #c7d2fe; }
.module-list b { display: block; color: #fff; font-family: var(--font-d); margin-bottom: .15rem; }
.module-list small { display: block; color: #a9aec8; font-size: .9rem; line-height: 1.55; }
.compare { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1fr 1fr; }
.compare .row > span { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.3rem; border-top: 1px solid var(--dark-line); color: #a9aec8; }
.compare .row > span + span { background: rgba(79, 70, 229, .12); color: #fff; }
.compare .row.head > span { border-top: 0; font-family: var(--font-d); font-weight: 700; color: #fff; }
.compare .row > span .ic { color: #f87171; }
.compare .row > span + span .ic { color: #34d399; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.work-card, .sys-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-card:hover, .sys-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-media, .duo-media { position: relative; aspect-ratio: 16 / 9.5; background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #4f46e5) 22%, #fff), color-mix(in srgb, var(--accent, #4f46e5) 6%, #fff)); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-media img, .duo-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.work-card:hover .work-media img, .sys-card:hover .work-media img, .duo-card:hover .duo-media img { transform: scale(1.04); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; font-size: 1.6rem; color: color-mix(in srgb, var(--accent, #4f46e5) 70%, #000); }
.work-body, .duo-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.work-body p, .duo-body p { color: var(--muted); }
.work-body h3 small { font-family: var(--font); font-weight: 600; font-size: .9rem; color: var(--muted); margin-inline-start: .35rem; }
.cat { font-size: .85rem; font-weight: 700; color: var(--accent); color: color-mix(in srgb, var(--accent, #4f46e5) 80%, #000); margin-bottom: .3rem; }
.work-body .link-arrow, .duo-body .link-arrow { margin-top: auto; padding-top: .9rem; }
.duo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.duo-grid.two { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.duo-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.duo-card h3 { font-size: 1.12rem; }
.duo-card.big h3 { font-size: 1.4rem; }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.sys-grid.two { grid-template-columns: repeat(2, 1fr); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 2rem; }
.jump a { font-weight: 600; padding: .5rem 1.2rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.jump a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { font: inherit; font-weight: 600; padding: .5rem 1.2rem; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-2); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats > div { padding: 2rem 1.6rem; border-inline-start: 1px solid var(--line); }
.stats > div:first-child { border-inline-start: 0; }
.stats b { display: block; font-family: var(--font-d); font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; margin-bottom: .6rem; background: linear-gradient(100deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.dark .steps li { background: var(--dark-2); border-color: var(--dark-line); }
.dark .steps h3 { color: #fff; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--font-d); font-weight: 700; margin-bottom: 1rem; }
.dark .step-n { background: var(--accent); }

/* Why */
.why-grid, .split-2, .incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.align-center { align-items: center; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.why-list li { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.why-list .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #eef2ff; color: var(--accent); }
.why-list b { display: block; font-family: var(--font-d); font-size: 1.08rem; }
.why-list span { color: var(--muted); }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.checklist.single { grid-template-columns: 1fr; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; line-height: 1.5; }
.checklist .ic { color: #059669; margin-top: .1rem; }
.checklist li.star { background: linear-gradient(120deg, #eef2ff, #f5f3ff); border-color: #c7d2fe; color: var(--accent-ink); }
.checklist li.star .ic { color: var(--accent); }

/* Brand strip */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; padding: 1.6rem 1rem; min-height: 150px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.brand-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.brand-tile img { max-height: 46px; width: auto; max-width: 130px; object-fit: contain; }
.brand-tile b { font-family: var(--font-d); letter-spacing: .06em; color: var(--accent); }
.brand-tile span { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Cases */
.case-list { display: grid; gap: 1.2rem; }
.case { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 2rem; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.case h3 { color: #fff; font-size: 1.45rem; margin-bottom: .2rem; }
.case-sub { color: #a5b4fc !important; font-weight: 600; }
.case-n { font-family: var(--font-d); font-size: 2.4rem; font-weight: 700; color: rgba(165, 180, 252, .35); line-height: 1; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.sec-list li { display: flex; gap: .8rem; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--dark-2); border: 1px solid var(--dark-line); color: #d3d6ea; }
.sec-list .ic { color: #34d399; width: 24px; height: 24px; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.4rem; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--font-d); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.plus::before, .plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* CTA */
.cta-band { padding-block: clamp(3rem, 7vw, 5rem); }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2.2rem, 5vw, 3.5rem); border-radius: 28px; background: linear-gradient(120deg, #1e1b4b, #4338ca 55%, #6d28d9); color: #fff; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 184, 214, .45), transparent 65%); inset-inline-start: -120px; bottom: -220px; pointer-events: none; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: .3rem; }
.cta-inner p { color: #d5d8f5; max-width: 560px; margin: 0; font-size: 1.12rem; }
.cta-inner .actions { margin-top: 0; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .glow { position: absolute; width: 700px; height: 500px; inset-inline-end: -180px; top: -260px; background: radial-gradient(closest-side, rgba(124, 77, 219, .22), transparent); pointer-events: none; }
.page-hero .glow::after { content: ""; position: absolute; width: 400px; height: 400px; inset-inline-end: 500px; top: 220px; background: radial-gradient(closest-side, rgba(34, 184, 214, .14), transparent); }
.page-hero .shell { position: relative; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.page-hero.slim { padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.page-hero.slim h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.6rem; display: flex; gap: .45rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent); }
.dark-hero { background: var(--dark); color: #fff; border-bottom: 0; }
.dark-hero h1 { color: #fff; }
.dark-hero .crumbs { color: #8f94b0; }
.dark-hero .glow { background: radial-gradient(closest-side, rgba(79, 70, 229, .5), transparent); }
.brand-hero .glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); }
.brand-hero h1 em { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--accent); }
.brand-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.brand-logo { max-height: 56px; width: auto; }
.brand-head .eyebrow { margin: 0; color: color-mix(in srgb, var(--accent) 85%, #000); }
.shot-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

/* Prose */
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.1rem; }
.prose ul { padding-inline-start: 1.3rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .cards-2 { margin-block: 1.5rem; }
.prose .feat-card p { font-size: 1rem; margin: 0; }
.about-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat-card b { display: block; font-family: var(--font-d); font-size: 2.8rem; line-height: 1; margin-bottom: .5rem; color: var(--accent); }
.stat-card span { color: var(--muted); font-weight: 600; }
.stat-card.accent { background: linear-gradient(150deg, #1e1b4b, #4338ca); border-color: transparent; }
.stat-card.accent b { color: #fff; }
.stat-card.accent span { color: #d5d8f5; }
.meta { color: var(--muted); }
.feature-img { border-radius: var(--radius); margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.lead-form { display: grid; gap: 1rem; }
.lead-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form label { display: grid; gap: .35rem; }
.lead-form label > span { font-weight: 600; font-size: .95rem; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; width: 100%; padding: .8rem 1rem; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.lead-form input[dir="ltr"] { text-align: right; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.lead-form textarea { resize: vertical; }
.lead-form .btn { justify-self: start; }
.lead-form .fine { font-size: .88rem; color: var(--muted); margin: 0; }
.lead-form .fine a { text-decoration: underline; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }
.notice.ok { background: #ecfdf5; color: #065f46; }
.notice.bad { background: #fef2f2; color: #991b1b; }
.contact-side { display: grid; gap: .8rem; }
.c-item { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, transform .2s; }
a.c-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.c-item > .ic { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: #eef2ff; color: var(--accent); }
.c-item small { display: block; color: var(--muted); }
.c-item b { font-family: var(--font-d); font-size: 1.08rem; }
.c-item.portal { background: var(--dark); color: #fff; border-color: transparent; }
.c-item.portal small { color: #a9aec8; }
.c-item.portal > .ic { background: rgba(255, 255, 255, .1); color: #c7d2fe; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card > div { padding: 1.4rem; }
.post-card time { color: var(--muted); font-size: .9rem; }
.post-card h2 { font-size: 1.3rem; margin: .3rem 0 .5rem; }
.post-card p { color: var(--muted); margin: 0; }

/* Blog */
.post-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e0e7ff, #f5f3ff); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media .ph { font-size: 1.1rem; padding: 1rem; text-align: center; color: var(--accent-ink); }
.post-card .more { display: inline-flex; gap: .4rem; align-items: center; margin-top: .8rem; font-family: var(--font-d); font-weight: 600; color: var(--accent); }
.post-meta { color: var(--muted); font-size: .92rem; margin-bottom: .3rem; }
.cats { padding-top: 0; margin-bottom: 2rem; }
.cats a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .ic { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 1rem; }
.empty p { color: var(--muted); }
.pager .nav-links { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pager .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.entry h2 { margin-top: 2.4rem; }
.entry h3 { margin-top: 1.8rem; font-size: 1.35rem; }
.entry img { border-radius: 14px; }
.entry blockquote { margin: 1.8rem 0; padding: 1rem 1.4rem; border-inline-start: 4px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.author-box .avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-d); font-weight: 700; font-size: 1.4rem; }
.author-box p { margin: .2rem 0 .4rem; font-size: 1rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: #b9bdd3; padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.f-brand p { margin-top: 1.2rem; max-width: 360px; }
.f-contact { display: grid; gap: .6rem; margin-top: 1.4rem; }
.f-contact > * { display: inline-flex; align-items: center; gap: .6rem; }
.f-contact a:hover, .site-footer ul a:hover { color: #fff; }
.f-title { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--dark-line); font-size: .92rem; color: #868ba6; }
.footer-bottom a:hover { color: #fff; }

/* Floating */
.wa-float { position: fixed; inset-inline-start: 1.2rem; bottom: 1.2rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
.a11y { position: fixed; inset-inline-end: 1.2rem; bottom: 1.2rem; z-index: 40; }
.a11y-btn { height: 52px; padding: 0 1.1rem 0 .9rem; gap: .45rem; font: inherit; font-weight: 700; border-radius: 999px; border: 2px solid #fff; background: var(--ink); color: #fff; cursor: pointer; display: inline-flex; align-items: center; box-shadow: var(--shadow-lg); background: #1d4ed8; }
.a11y-btn .ic { width: 26px; height: 26px; }
.a11y-panel { position: absolute; bottom: 64px; inset-inline-end: 0; width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: .8rem; box-shadow: var(--shadow-lg); display: grid; gap: .35rem; }
.a11y-panel[hidden] { display: none; }
.a11y-title { font-weight: 700; margin: 0 0 .3rem; padding-inline: .3rem; }
.a11y-panel button { font: inherit; text-align: start; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--ink); }
.a11y-panel button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-panel a { font-size: .9rem; text-decoration: underline; padding: .3rem; }

/* a11y modes */
.a11y-big { --fs: 1.18; }
.a11y-big .lead, .a11y-big p, .a11y-big li { font-size: 115%; }
.a11y-contrast { --muted: #222; --line: #555; --bg: #fff; --tint: #f2f2f2; }
.a11y-contrast .section.dark p, .a11y-contrast .portal-band p, .a11y-contrast .hero .lead { color: #fff; }
.a11y-underline a { text-decoration: underline !important; text-underline-offset: 3px; }
.a11y-readable body, .a11y-readable h1, .a11y-readable h2, .a11y-readable h3 { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: 0 !important; }
.a11y-readable p, .a11y-readable li { line-height: 1.95; }
.a11y-headings h1, .a11y-headings h2, .a11y-headings h3 { outline: 2px dashed #1d4ed8; outline-offset: 4px; }
.a11y-gray { filter: grayscale(1); }
.a11y-cursor, .a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 10-7 1.5L9.5 21z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

/* Responsive */
@media (max-width: 1100px) {
	.main-nav a { padding: .5rem .55rem; font-size: .93rem; }
	.portal-link span:not(.sr-only) { display: none; }
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.duo-grid { grid-template-columns: repeat(2, 1fr); }
	.brand-strip { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-actions .btn, .portal-link { display: none; }
	.main-nav { position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 1.5rem 1.25rem 2rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; margin: 0; }
	.nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open .nav-toggle .i-open { display: none; }
	.nav-open .nav-toggle .i-close { display: block; }
	.nav-open { overflow: hidden; }
	.main-nav ul { flex-direction: column; gap: .2rem; }
	.main-nav a { font-size: 1.35rem; padding: .85rem 1rem; font-family: var(--font-d); }
	.nav-mobile-extra { display: grid; gap: .7rem; margin-top: 1.5rem; }
	.header-actions { margin-inline-start: auto; }
	.hero-inner, .portal-grid, .why-grid, .split-2, .incl-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 560px; }
	.cards-3, .sys-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats > div:nth-child(3) { border-inline-start: 0; }
	.stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.mock { transform: none; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.cards-3, .cards-4, .cards-2, .sys-grid, .sys-grid.two, .work-grid, .duo-grid, .duo-grid.two, .post-grid, .module-list, .checklist, .steps, .steps.three, .about-side { grid-template-columns: 1fr; }
	.brand-strip { grid-template-columns: repeat(2, 1fr); }
	.lead-form .grid-2 { grid-template-columns: 1fr; }
	.compare .row > span { padding: .8rem; font-size: .92rem; }
	.case { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem; }
	.footer-grid { grid-template-columns: 1fr; }
	.mock-body { grid-template-columns: 1fr; }
	.mock-side { display: none; }
	.mock-panel { grid-template-columns: 1fr 1fr; }
	.mock-panel > div:last-child { display: none; }
	.fc1 { inset-inline-start: 0; bottom: -28px; }
	.fc2 { inset-inline-end: 0; top: -24px; }
	.actions .btn { flex: 1 1 auto; }
	.ribbon { position: static; align-self: flex-start; margin-bottom: .8rem; }
	.cta-inner .actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
