/* ==========================================================================
   Anodyne Dark — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),
	     url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
body.anodyne-dark {
	--bg: #05070c;
	--bg-2: #090d16;
	--bg-3: #0e1422;
	--surface: rgba(255, 255, 255, .035);
	--surface-2: rgba(255, 255, 255, .06);
	--border: rgba(255, 255, 255, .08);
	--border-2: rgba(255, 255, 255, .14);
	--text: #e9eef6;
	--text-2: #b6c0d1;
	--muted: #8390a5;
	--mint: #2de1c2;
	--sky: #38bdf8;
	--violet: #7c5cff;
	--pink: #e05cff;
	--grad: linear-gradient(120deg, var(--mint) 0%, var(--sky) 45%, var(--violet) 100%);
	--grad-loop: linear-gradient(110deg, var(--mint) 0%, var(--sky) 25%, var(--violet) 50%, var(--sky) 75%, var(--mint) 100%);
	--grad-soft: linear-gradient(120deg, rgba(45, 225, 194, .16), rgba(124, 92, 255, .16));
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--font: "Vazirmatn", "Vazir", Tahoma, system-ui, sans-serif;
	--wrap: 1200px;

	/* Astra palette → dark, so blocks/pages rendered by Astra follow the theme. */
	--ast-global-color-0: #2de1c2;
	--ast-global-color-1: #38bdf8;
	--ast-global-color-2: #e9eef6;
	--ast-global-color-3: #b6c0d1;
	--ast-global-color-4: #0b1019;
	--ast-global-color-5: #070a11;
	--ast-global-color-6: #e9eef6;
	--ast-global-color-7: #1b2333;
	--ast-global-color-8: #05070c;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; background: #05070c; }

html body.anodyne-dark,
html body.anodyne-dark.ast-separate-container,
html body.anodyne-dark.ast-plain-container {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.9;
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.anodyne-dark h1, body.anodyne-dark h2, body.anodyne-dark h3,
body.anodyne-dark h4, body.anodyne-dark h5, body.anodyne-dark h6,
body.anodyne-dark .entry-title, body.anodyne-dark button,
body.anodyne-dark input, body.anodyne-dark select, body.anodyne-dark textarea {
	font-family: var(--font);
	color: var(--text);
	letter-spacing: 0;
}

body.anodyne-dark a { color: var(--mint); text-decoration: none; transition: color .25s var(--ease); }
body.anodyne-dark a:hover { color: #7ff3de; }
body.anodyne-dark ::selection { background: rgba(45, 225, 194, .3); color: #fff; }
body.anodyne-dark :focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
body.anodyne-dark img { max-width: 100%; height: auto; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; position: relative; }
.wrap--narrow { --wrap: 820px; }
.wrap--mid { --wrap: 980px; }

.screen-reader-text:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; right: 12px; z-index: 1000; padding: 10px 16px;
	background: var(--mint); color: #001; border-radius: 10px;
}

/* ---------- Background scene ---------- */
.bg-scene { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-aurora {
	position: absolute; inset: -20%;
	background:
		radial-gradient(40% 35% at 80% 10%, rgba(45, 225, 194, .16), transparent 70%),
		radial-gradient(35% 30% at 15% 25%, rgba(124, 92, 255, .18), transparent 70%),
		radial-gradient(45% 40% at 60% 90%, rgba(56, 189, 248, .10), transparent 70%);
	filter: blur(20px);
	animation: aurora 26s var(--ease) infinite alternate;
}
.bg-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-noise {
	position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes aurora {
	0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
	50% { transform: translate3d(3%, 2%, 0) rotate(8deg) scale(1.08); }
	100% { transform: translate3d(-3%, -1%, 0) rotate(-6deg) scale(1.02); }
}

.cursor-glow {
	position: fixed; top: 0; left: 0; width: 520px; height: 520px; z-index: 0; pointer-events: none;
	border-radius: 50%; opacity: 0; transition: opacity .6s;
	background: radial-gradient(circle, rgba(45, 225, 194, .08), transparent 60%);
	transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0) translate(-50%, -50%);
}
.has-pointer .cursor-glow { opacity: 1; }

#page { position: relative; z-index: 1; }
body.anodyne-dark .site-content { background: transparent; }

/* ---------- Buttons ---------- */
.btn {
	--b-bg: var(--surface-2);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.5em; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1.4;
	color: var(--text) !important; background: var(--b-bg); border: 1px solid var(--border-2);
	isolation: isolate; overflow: hidden; white-space: nowrap; cursor: pointer;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(-4px); }
.btn--sm { padding: .55em 1.15em; font-size: .9rem; }
.btn--lg { padding: .95em 1.8em; font-size: 1.04rem; }
.btn--primary {
	color: #031015 !important; border: 0;
	background: var(--grad-loop); background-size: 200% 100%;
	box-shadow: 0 10px 40px -10px rgba(45, 225, 194, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
	animation: grad-shift 6s linear infinite;
}
.btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
	transform: translateX(120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(-120%); }
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(45, 225, 194, .75); }
.btn--ghost { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(45, 225, 194, .5); background: rgba(45, 225, 194, .08); }
@keyframes grad-shift { to { background-position: 200% 0; } }

/* ---------- Header / nav ---------- */
.nav {
	position: fixed; inset: 14px 0 auto; z-index: 100;
	transition: inset .4s var(--ease);
}
.admin-bar .nav { top: 46px; }
@media (min-width: 783px) { .admin-bar .nav { top: 46px; } }
.nav__inner {
	width: min(1240px, 100% - 28px); margin-inline: auto;
	display: flex; align-items: center; gap: 18px;
	padding: 10px 12px 10px 18px; border-radius: 20px;
	background: rgba(8, 11, 19, .55); border: 1px solid var(--border);
	backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
	transition: background .4s, box-shadow .4s, padding .4s var(--ease);
}
.nav.is-scrolled .nav__inner { background: rgba(6, 9, 15, .82); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(45, 225, 194, .07); border: 1px solid rgba(45, 225, 194, .2); }
.brand__mark svg { width: 28px; height: 28px; }
.brand__pulse { stroke-dasharray: 60; stroke-dashoffset: 60; animation: pulse-draw 3.2s var(--ease) infinite; }
@keyframes pulse-draw { 0% { stroke-dashoffset: 60; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; }
.brand__text small { font-size: .62rem; letter-spacing: .28em; color: var(--muted); font-weight: 600; }

.nav__menu { margin-inline-start: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list li { position: relative; margin: 0; }
.nav__list a {
	display: block; padding: 8px 14px; border-radius: 12px; font-size: .95rem; font-weight: 500;
	color: var(--text-2) !important; transition: color .25s, background .25s;
}
.nav__list a:hover, .nav__list .current-menu-item > a { color: var(--text) !important; background: var(--surface-2); }
.nav__list .sub-menu {
	position: absolute; top: 100%; right: 0; min-width: 200px; list-style: none; margin: 0; padding: 8px;
	background: rgba(8, 11, 19, .95); border: 1px solid var(--border); border-radius: 14px;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease);
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle {
	display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2);
	background: var(--surface-2); position: relative; cursor: pointer; padding: 0;
}
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.read-progress { position: absolute; inset: auto 0 -14px; height: 3px; width: min(1240px, 100% - 28px); margin-inline: auto; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(var(--p, 0)); background: var(--grad); border-radius: 3px; box-shadow: 0 0 12px rgba(45, 225, 194, .6); }
body:not(.single-post) .read-progress { display: none; }

@media (max-width: 960px) {
	.nav__toggle { display: block; }
	.nav__actions .btn { display: none; }
	.nav__menu {
		position: fixed; inset: 84px 14px auto; margin: 0; padding: 14px; border-radius: 20px;
		background: rgba(6, 9, 15, .96); border: 1px solid var(--border);
		backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top;
		transition: .4s var(--ease);
	}
	.nav-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 14px 16px; font-size: 1.05rem; }
	.nav-open .nav__list li { animation: slide-in .5s var(--ease) both; }
	.nav-open .nav__list li:nth-child(2) { animation-delay: .04s; }
	.nav-open .nav__list li:nth-child(3) { animation-delay: .08s; }
	.nav-open .nav__list li:nth-child(4) { animation-delay: .12s; }
	.nav-open .nav__list li:nth-child(5) { animation-delay: .16s; }
	.nav-open .nav__list li:nth-child(6) { animation-delay: .2s; }
	.nav-open .nav__list li:nth-child(7) { animation-delay: .24s; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 12px 0 0; }
}
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* ---------- Generic pieces ---------- */
.pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
	font-size: .85rem; font-weight: 500; color: var(--text-2) !important;
	background: rgba(255, 255, 255, .04); border: 1px solid var(--border-2);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill .ico { width: 28px; height: 28px; padding: 5px; border-radius: 50%; color: #031015; background: var(--grad); }
.pill:hover { border-color: rgba(45, 225, 194, .45); color: var(--text) !important; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
	font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--mint);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

.grad-text {
	font-style: normal; background: var(--grad-loop); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
	animation: grad-shift 8s linear infinite;
}

.tag {
	display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px;
	font-size: .75rem; font-weight: 600; line-height: 1.8; vertical-align: middle;
	color: var(--mint) !important; background: rgba(45, 225, 194, .1); border: 1px solid rgba(45, 225, 194, .25);
}
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .88rem;
	color: var(--text-2) !important; background: var(--surface); border: 1px solid var(--border); transition: .3s var(--ease);
}
.chip:hover, .chip.is-active { color: #031015 !important; background: var(--mint); border-color: var(--mint); }
.chip--ok { color: var(--mint) !important; background: rgba(45, 225, 194, .1); border-color: rgba(45, 225, 194, .3); }
.chip--ok:hover { color: var(--mint) !important; background: rgba(45, 225, 194, .1); }

/* Cards with cursor spotlight + gradient border */
.card {
	position: relative; border-radius: var(--radius); padding: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
	border: 1px solid var(--border); isolation: isolate;
	transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.card--spot::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 225, 194, .12), transparent 45%);
}
.card--spot::after {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; pointer-events: none;
	background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 225, 194, .8), rgba(124, 92, 255, .4) 40%, transparent 70%);
	-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);
}
.card--spot:hover::before, .card--spot:hover::after { opacity: 1; }
.card--spot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; line-height: 1.6; }
.card p { color: var(--text-2); margin: 0; font-size: .98rem; }
.card__icon {
	width: 52px; height: 52px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 15px;
	color: var(--mint); background: var(--grad-soft); border: 1px solid rgba(45, 225, 194, .2);
	transition: transform .6s var(--ease-spring);
}
.card__icon .ico { width: 26px; height: 26px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section--flush { padding-top: 10px; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.35; margin: 0 0 18px; }
.section__lead { color: var(--text-2); font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 0; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 110px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; z-index: 2; }
.hero__title { font-size: clamp(2.3rem, 4.6vw, 4.1rem); font-weight: 900; line-height: 1.3; margin: 26px 0 22px; }
.hero__title em { white-space: nowrap; padding-inline: .06em; }
.hero__title > span { display: block; }
.hero__brand { font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 500; color: var(--muted); margin-top: 14px; letter-spacing: .01em; }
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 560px; margin: 0 0 34px; }
.hero__lead strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 0; list-style: none; padding: 0; margin: 46px 0 0; }
.hero__stats li { padding: 0 26px; border-inline-start: 1px solid var(--border-2); display: flex; flex-direction: column; }
.hero__stats li:first-child { padding-inline-start: 0; border: 0; }
.hero__stats b { text-align: right; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.3; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats small { color: var(--muted); font-size: .85rem; }

/* entrance animation (CSS only — never hides LCP content without JS) */
.load-in { animation: load-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes load-in { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

.hero__visual { position: relative; perspective: 1200px; }
.scan-card {
	position: relative; border-radius: 26px; padding: 14px; background: rgba(10, 15, 26, .7);
	border: 1px solid var(--border-2); box-shadow: 0 50px 120px -40px rgba(45, 225, 194, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset;
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform .6s var(--ease);
	animation: float 7s ease-in-out infinite;
}
.scan-card::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--mint) 80%, var(--violet) 90%, transparent 100%);
	-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: beam 5s linear infinite;
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --ang: 360deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.scan-card__bar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; font-size: .78rem; color: var(--muted); direction: ltr; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3242; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:last-child { background: #28c840; }
.scan-card__name { font-family: ui-monospace, Menlo, monospace; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-weight: 700; letter-spacing: .1em; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(45, 225, 194, .7); animation: ping 1.6s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(45, 225, 194, 0); } }
.scan-card__screen { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.xray { display: block; width: 100%; height: auto; }
.xray__teeth { animation: xray-flicker 6s infinite; }
@keyframes xray-flicker { 0%, 100% { opacity: .95; } 50% { opacity: .8; } }
.xray__laser { fill: var(--mint); filter: drop-shadow(0 0 6px var(--mint)); animation: laser 3.6s var(--ease) infinite; }
@keyframes laser { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(168px); opacity: 0; } }
.det rect { fill: rgba(45, 225, 194, .08); stroke: var(--mint); stroke-width: 1.4; stroke-dasharray: 150; stroke-dashoffset: 150; }
.det text { fill: var(--mint); font: 700 8px ui-monospace, Menlo, monospace; opacity: 0; }
.det--2 rect { stroke: #fbbf24; fill: rgba(251, 191, 36, .08); } .det--2 text { fill: #fbbf24; }
.det--3 rect { stroke: var(--sky); fill: rgba(56, 189, 248, .08); } .det--3 text { fill: var(--sky); }
.det rect { animation: det-draw 7.2s var(--ease) infinite; }
.det text { animation: det-text 7.2s var(--ease) infinite; }
.det--2 rect, .det--2 text { animation-delay: .5s; }
.det--3 rect, .det--3 text { animation-delay: 1s; }
@keyframes det-draw { 0%, 18% { stroke-dashoffset: 150; } 32%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes det-text { 0%, 28% { opacity: 0; } 36%, 88% { opacity: 1; } 100% { opacity: 0; } }
.scan-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 6px 4px; }
.meter { flex: 1; font-size: .78rem; color: var(--muted); }
.meter__bar { height: 6px; margin-top: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.meter__bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; transform-origin: right; animation: meter 7.2s var(--ease) infinite; }
@keyframes meter { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.scan-card__foot .chip { font-size: .78rem; animation: chip-pop 7.2s var(--ease) infinite; }
@keyframes chip-pop { 0%, 66% { opacity: 0; transform: scale(.9); } 74%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.float-chip {
	position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
	font-size: .85rem; font-weight: 600; background: rgba(10, 15, 26, .78); border: 1px solid var(--border-2);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow);
	animation: float 6s ease-in-out infinite;
}
.float-chip .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: var(--mint); background: rgba(45, 225, 194, .1); }
.float-chip small { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); }
.float-chip--a { top: -6%; left: -6%; animation-delay: -1s; }
.float-chip--b { bottom: 14%; left: -12%; animation-delay: -3s; }
.float-chip--c { bottom: -7%; right: 8%; animation-delay: -2s; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--border-2); z-index: 3; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--mint); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1024px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 560px; margin: 30px auto 0; width: 100%; }
	.float-chip--b { left: -2%; }
	.float-chip--a { left: 0; }
}
@media (max-width: 600px) {
	.hero { padding-top: 120px; }
	.hero__stats li { padding: 0 14px; }
	.float-chip { font-size: .75rem; padding: 8px 10px; }
	.float-chip--b { display: none; }
	.scroll-hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
	position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .015);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	direction: ltr;
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: 1.15rem; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--mint); opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento__xl { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento__wide { grid-column: span 2; }
.bento__xl h3 { font-size: 1.6rem; }
.bento__xl p { font-size: 1.05rem; max-width: 560px; }
.kpis { display: flex; gap: 12px; list-style: none; padding: 0; margin: 26px 0 0; flex-wrap: wrap; }
.kpis li { flex: 1; min-width: 110px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.kpis b { display: block; text-align: right; font-size: 1.6rem; font-weight: 800; color: var(--mint); line-height: 1.3; }
.kpis span { color: var(--muted); font-size: .85rem; }
.mini-scan { margin-top: auto; padding-top: 28px; display: flex; align-items: end; gap: 8px; height: 120px; }
.mini-scan i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(45, 225, 194, .7), rgba(124, 92, 255, .15)); height: 30%; transform-origin: bottom; animation: bars 2.8s var(--ease) infinite alternate; }
.mini-scan i:nth-child(2) { animation-delay: -.4s; } .mini-scan i:nth-child(3) { animation-delay: -.9s; }
.mini-scan i:nth-child(4) { animation-delay: -1.3s; } .mini-scan i:nth-child(5) { animation-delay: -.2s; }
.mini-scan i:nth-child(6) { animation-delay: -1.7s; } .mini-scan i:nth-child(7) { animation-delay: -.7s; }
.mini-scan i:nth-child(8) { animation-delay: -2.1s; }
@keyframes bars { 0% { height: 22%; } 100% { height: 100%; } }
.card h3 .tag { margin-inline-start: 6px; font-size: .68rem; color: #fbbf24 !important; background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .3); }
@media (max-width: 900px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.bento__xl { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 620px) {
	.bento { grid-template-columns: 1fr; }
	.bento__xl, .bento__wide { grid-column: auto; }
}

/* ---------- Flow ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.flow::before {
	content: ""; position: absolute; top: 58px; right: 16%; left: 16%; height: 2px;
	background: linear-gradient(90deg, transparent, rgba(45, 225, 194, .5), rgba(124, 92, 255, .5), transparent);
	background-size: 200% 100%; animation: grad-shift 4s linear infinite reverse;
	transform: scaleX(var(--flow, 0)); transform-origin: right; transition: transform 1.6s var(--ease);
}
.flow.is-in::before { --flow: 1; }
.flow__step { position: relative; text-align: center; padding: 0 12px; margin: 0; }
.flow__num { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; letter-spacing: .1em; }
.flow__icon {
	position: relative; width: 74px; height: 74px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%;
	color: var(--mint); background: var(--bg-2); border: 1px solid rgba(45, 225, 194, .35);
	box-shadow: 0 0 0 8px var(--bg), 0 0 40px -6px rgba(45, 225, 194, .45);
}
.flow__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(45, 225, 194, .35); animation: spin 14s linear infinite; }
.flow__icon .ico { width: 30px; height: 30px; }
.flow__step h3 { font-size: 1.2rem; margin: 0 0 8px; }
.flow__step p { color: var(--text-2); margin: 0 auto; max-width: 280px; font-size: .96rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
	.flow { grid-template-columns: 1fr; gap: 40px; }
	.flow::before { display: none; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { padding-top: 34px; min-height: 270px; }
.service__idx { position: absolute; top: 20px; left: 24px; font-size: 2.6rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); }
@media (max-width: 1024px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.about__intro { position: sticky; top: 120px; }
.scrub { font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 2; font-weight: 500; margin: 0 0 36px; }
.scrub .w { opacity: .18; transition: opacity .3s linear, color .3s; }
.scrub .w.on { opacity: 1; }
.no-js .scrub .w, .reduced .scrub .w { opacity: 1; }
.about__counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about__counters > div { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.about__counters b { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.3; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__counters span { font-size: .85rem; color: var(--muted); }

.timeline { position: relative; list-style: none; margin: 0; padding: 0 44px 0 0; }
.timeline__line { position: absolute; top: 8px; bottom: 8px; right: 13px; width: 2px; margin: 0; background: rgba(255, 255, 255, .07); border-radius: 2px; }
.timeline__line span { display: block; width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--tl, 0)); background: var(--grad); background-size: 100% 200%; border-radius: inherit; box-shadow: 0 0 14px rgba(45, 225, 194, .6); }
.timeline__item { position: relative; margin: 0 0 22px; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .4s, background .4s; }
.timeline__item.is-active { border-color: rgba(45, 225, 194, .35); background: rgba(45, 225, 194, .04); }
.timeline__dot { position: absolute; top: 28px; right: -38px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border-2); transition: .5s var(--ease-spring); }
.timeline__item.is-active .timeline__dot { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 6px rgba(45, 225, 194, .15), 0 0 20px var(--mint); transform: scale(1.1); }
.timeline__when { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--mint); margin-bottom: 4px; }
.timeline__item h3 { font-size: 1.15rem; margin: 0 0 6px; }
.timeline__item p { margin: 0; color: var(--text-2); font-size: .95rem; }
.timeline__item--hl { background: linear-gradient(135deg, rgba(45, 225, 194, .1), rgba(124, 92, 255, .1)); border-color: rgba(45, 225, 194, .3); }
.timeline__item--future { border-style: dashed; }
@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__intro { position: static; }
}
@media (max-width: 520px) { .about__counters { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .about__counters > div { padding: 12px; } .about__counters b { font-size: 1.35rem; } }

/* ---------- Letter ---------- */
.letter { padding: clamp(30px, 5vw, 60px); margin: 0; overflow: hidden; background: linear-gradient(160deg, rgba(124, 92, 255, .1), rgba(45, 225, 194, .04) 60%, rgba(255, 255, 255, .02)); }
.letter__quote { position: absolute; top: -40px; left: 20px; font-size: 14rem; line-height: 1; font-weight: 900; color: rgba(45, 225, 194, .1); pointer-events: none; }
.letter__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 18px; }
.letter blockquote { margin: 0; padding: 0; border: 0; font-style: normal; }
.letter blockquote p { color: var(--text-2); font-size: 1.05rem; margin: 0 0 14px; }
.letter figcaption { margin-top: 20px; color: var(--muted); }
.letter figcaption strong { color: var(--text); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why__item { text-align: center; padding: 38px 28px; }
.why__item .card__icon { margin-inline: auto; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* ---------- Posts grid / cards ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card, body.anodyne-dark .post-card.ast-article-post, body.anodyne-dark.ast-separate-container .post-card.ast-article-post { padding: 0 !important; margin: 0 !important; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)) !important; border: 1px solid var(--border); border-radius: var(--radius); width: auto; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img, .post-card:hover .post-card__cover { transform: scale(1.06); }
.post-card__cover {
	position: absolute; inset: 0; display: grid; place-items: center; transition: transform 1s var(--ease);
	background:
		radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 60%),
		radial-gradient(90% 80% at 10% 100%, color-mix(in srgb, var(--c2) 90%, transparent), transparent 70%),
		linear-gradient(var(--ang), #0a1220, #0b0a1d);
}
.post-card__cover::before {
	content: ""; position: absolute; inset: 0; opacity: .35;
	background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 18px 18px;
	mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000);
}
.post-card__glyph { position: relative; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 26px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transition: transform .8s var(--ease-spring); }
.post-card__glyph .ico { width: 44px; height: 44px; stroke-width: 1.3; }
.post-card:hover .post-card__glyph { transform: rotate(-8deg) scale(1.08); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post-card__meta > span::before, .post-card__meta > time + span::before { content: "•"; margin-inline-end: 10px; opacity: .5; }
.post-card__title { font-size: 1.12rem !important; line-height: 1.7 !important; margin: 0 0 10px !important; }
.post-card__title a { color: var(--text) !important; background: linear-gradient(var(--mint), var(--mint)) no-repeat right bottom / 0 1px; transition: background-size .5s var(--ease), color .3s; }
.post-card:hover .post-card__title a { background-size: 100% 1px; color: #fff !important; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__meta .tag { position: relative; z-index: 2; }
.post-card__excerpt { font-size: .92rem !important; color: var(--text-2); margin-bottom: 18px !important; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--mint); }
.post-card__more .ico { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.post-card:hover .post-card__more .ico { transform: translateX(-5px); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(45, 225, 194, .3); background: rgba(45, 225, 194, .03); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.7; }
.faq__plus { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--surface-2); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--mint); border-radius: 2px; transition: transform .4s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__a { padding: 0 24px 22px; color: var(--text-2); }
.faq__a p { margin: 0; }
.faq__item[open] .faq__a { animation: faq-open .5s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta__box {
	position: relative; overflow: hidden; text-align: center; padding: clamp(50px, 8vw, 100px) clamp(22px, 5vw, 60px);
	border-radius: 34px; border: 1px solid var(--border-2);
	background: radial-gradient(80% 120% at 50% 0%, rgba(45, 225, 194, .18), transparent 60%), linear-gradient(160deg, #0c1424, #0a0817);
}
.cta__box .eyebrow { justify-content: center; }
.cta__orb { position: absolute; width: 520px; height: 520px; left: 50%; bottom: -380px; translate: -50% 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--mint), var(--sky), var(--violet), var(--pink), var(--mint)); filter: blur(70px); opacity: .45; animation: spin 18s linear infinite; }
.cta__title { position: relative; font-size: clamp(1.8rem, 4.4vw, 3.3rem); font-weight: 900; line-height: 1.4; margin: 0 auto 16px; max-width: 820px; }
.cta__box p { position: relative; color: var(--text-2); font-size: 1.08rem; margin: 0 auto 34px; max-width: 560px; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.cta__phone { font-size: 1.3rem; font-weight: 700; color: var(--text) !important; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 90px 0 30px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(45, 225, 194, .03)); }
.footer__glow { position: absolute; top: -200px; right: 10%; width: 500px; height: 400px; background: radial-gradient(closest-side, rgba(124, 92, 255, .14), transparent); pointer-events: none; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 40px; }
.footer__brand p { color: var(--text-2); font-size: .95rem; margin: 16px 0; max-width: 340px; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--text) !important; font-weight: 600; }
.footer__phone .ico { color: var(--mint); }
.footer__title { font-size: 1rem !important; font-weight: 700; margin: 0 0 16px !important; color: var(--text); }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin: 0 0 10px; }
.footer__col a:not(.btn) { color: var(--text-2) !important; font-size: .93rem; transition: color .25s, padding .3s var(--ease); }
.footer__col a:not(.btn):hover { color: var(--mint) !important; padding-inline-start: 6px; }
.footer__cta p { color: var(--text-2); font-size: .93rem; margin: 0 0 18px; }
.footer__mega {
	margin: 60px 0 10px; text-align: center; font-weight: 900; line-height: .9; letter-spacing: .04em; direction: ltr; user-select: none;
	font-size: clamp(3.5rem, 13vw, 11.5rem); color: transparent; white-space: nowrap; overflow: hidden;
	background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text;
}
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.to-top {
	padding: 0; box-sizing: border-box;
	position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 48px; height: 48px; display: grid; place-items: center;
	border-radius: 50%; border: 1px solid var(--border-2); background: rgba(10, 15, 26, .8); color: var(--mint); cursor: pointer;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s var(--ease);
}
.to-top .ico { transform: rotate(90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--mint); color: #031015; }
#ast-scroll-top { display: none !important; }

/* ---------- Page hero (listing, 404) ---------- */
.page-hero { padding: 160px 0 50px; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.3; margin: 10px 0 14px; }
.page-hero__lead { color: var(--text-2); font-size: 1.1rem; max-width: 640px; margin: 0; }
.listing__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search { position: relative; display: flex; align-items: center; flex: 0 1 340px; }
.search .ico { position: absolute; right: 16px; color: var(--muted); pointer-events: none; }
body.anodyne-dark .search input {
	width: 100%; padding: 12px 46px 12px 18px; border-radius: 999px; font-size: .95rem;
	color: var(--text); background: var(--surface); border: 1px solid var(--border-2); transition: border-color .3s, box-shadow .3s;
}
body.anodyne-dark .search input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(45, 225, 194, .12); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "‹"; opacity: .6; }
.crumbs a { color: var(--text-2) !important; }
.crumbs a:hover { color: var(--mint) !important; }
.crumbs [aria-current] span { color: var(--muted); display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.pager, .navigation.pagination { margin-top: 50px; display: flex; justify-content: center; }
.pager .nav-links, .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers, .pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px;
	color: var(--text-2) !important; background: var(--surface); border: 1px solid var(--border); transition: .3s;
}
.pager .page-numbers.current, .pager .page-numbers:hover, .pagination .page-numbers.current, .pagination .page-numbers:hover { color: #031015 !important; background: var(--mint); border-color: var(--mint); }

.empty { text-align: center; padding: 60px 20px; }

.nf__hero { text-align: center; min-height: 80vh; display: flex; align-items: center; }
.nf__code { font-size: clamp(6rem, 22vw, 13rem); font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 60px rgba(45, 225, 194, .3)); }
.nf__hero .page-hero__lead { margin: 0 auto 26px; }
.nf__hero .search { margin: 0 auto 26px; max-width: 420px; }
.nf__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Single post ---------- */
.article__hero { padding: 150px 0 34px; }
.article__title { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 900; line-height: 1.45; margin: 18px 0 20px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.article__meta .ico { width: 1em; height: 1em; vertical-align: -2px; }
.article__meta .sep { opacity: .4; }
.avatar { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-weight: 800; color: #031015; background: var(--grad); }
.avatar--lg { width: 58px; height: 58px; font-size: 1.4rem; }
.article__cover { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article__cover img { width: 100%; display: block; }

.article__layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 50px; padding-bottom: 40px; }
.article__layout.has-toc { grid-template-columns: 260px minmax(0, 760px); }
.toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); font-size: .9rem; }
.toc summary { font-weight: 700; cursor: pointer; margin-bottom: 10px; color: var(--text); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 12px 6px 0; border-right: 2px solid var(--border); color: var(--text-2) !important; line-height: 1.7; transition: .3s; }
.toc .toc__l3 a { padding-right: 24px; font-size: .85rem; }
.toc a:hover, .toc a.is-active { color: var(--mint) !important; border-color: var(--mint); }
@media (max-width: 1060px) {
	.article__layout.has-toc { grid-template-columns: minmax(0, 760px); }
	.toc { position: static; max-height: none; }
	.toc details:not([open]) { margin: 0; }
}

.prose { font-size: 1.08rem; line-height: 2.1; color: #d3dbe8; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0 0 1.2em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); font-weight: 800; line-height: 1.6; scroll-margin-top: 110px; }
.prose h2 { font-size: 1.65rem; margin: 2em 0 .7em; padding-right: 16px; border-right: 4px solid; border-image: var(--grad) 1; }
.prose h3 { font-size: 1.3rem; margin: 1.7em 0 .6em; }
.prose a { color: var(--mint); background: linear-gradient(rgba(45, 225, 194, .35), rgba(45, 225, 194, .35)) no-repeat 0 100% / 100% 1px; transition: background-size .3s; }
.prose a:hover { background-size: 100% 100%; color: #fff; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-right: 1.4em; padding-left: 0; }
.prose li { margin-bottom: .5em; }
.prose ul li::marker { color: var(--mint); }
.prose ol li::marker { color: var(--mint); font-weight: 700; }
.prose blockquote, .prose .wp-block-quote {
	margin: 1.6em 0; padding: 20px 24px; border: 0; border-right: 3px solid var(--mint); border-radius: 0 14px 14px 0;
	background: rgba(45, 225, 194, .05); color: var(--text); font-style: normal;
}
.prose img, .prose figure img { border-radius: 16px; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { color: var(--muted); font-size: .88rem; text-align: center; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: .95rem; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: right; }
.prose th { background: var(--surface-2); color: var(--text); }
.prose tr:last-child td { border-bottom: 0; }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: #7ff3de; font-size: .9em; direction: ltr; unicode-bidi: embed; }
.prose pre { direction: ltr; text-align: left; padding: 20px; border-radius: 14px; background: #070b13; border: 1px solid var(--border); overflow: auto; }
.prose pre code { padding: 0; background: none; }
.prose hr { border: 0; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.prose .callout { padding: 20px 24px; border-radius: 16px; background: var(--grad-soft); border: 1px solid rgba(45, 225, 194, .25); }
.prose strong { color: var(--text); }

.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0; padding: 18px 0; border-block: 1px solid var(--border); font-size: .9rem; color: var(--muted); }
.share a, .share button { padding: 6px 14px; border-radius: 999px; font-size: .85rem; color: var(--text-2) !important; background: var(--surface); border: 1px solid var(--border); cursor: pointer; font-family: var(--font); transition: .3s; }
.share a:hover, .share button:hover { color: #031015 !important; background: var(--mint); border-color: var(--mint); }
.author-box { display: flex; gap: 18px; align-items: center; padding: 22px 24px; }
.author-box strong { display: block; margin-bottom: 4px; }
.author-box p { font-size: .92rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.post-nav__link { padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.post-nav__link small { color: var(--muted); }
.post-nav__link span { color: var(--text); font-weight: 600; line-height: 1.7; }
.post-nav__link--next { text-align: left; grid-column: 2; }
.post-nav__link:hover { border-color: rgba(45, 225, 194, .4); transform: translateY(-3px); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: auto; } }
.related { border-top: 1px solid var(--border); }

/* Comments (Astra markup) */
body.anodyne-dark .comments-wrap { margin-top: 40px; }
body.anodyne-dark .comments-area, body.anodyne-dark .comment-respond,
body.anodyne-dark.ast-separate-container .comment-respond,
body.anodyne-dark.ast-separate-container .ast-comment-list li { background: transparent !important; padding: 0 !important; border: 0; }
body.anodyne-dark .comments-title, body.anodyne-dark .comment-reply-title { color: var(--text); font-size: 1.3rem; }
body.anodyne-dark .ast-comment-list .comment, body.anodyne-dark .comment-list .comment { background: var(--surface) !important; border: 1px solid var(--border); border-radius: 16px; padding: 18px !important; margin-bottom: 14px; }
body.anodyne-dark input[type="text"], body.anodyne-dark input[type="email"], body.anodyne-dark input[type="url"],
body.anodyne-dark input[type="tel"], body.anodyne-dark input[type="password"], body.anodyne-dark textarea, body.anodyne-dark select {
	background: var(--surface) !important; color: var(--text) !important; border: 1px solid var(--border-2) !important; border-radius: 14px !important; padding: 12px 16px;
}
body.anodyne-dark input:focus, body.anodyne-dark textarea:focus { border-color: var(--mint) !important; box-shadow: 0 0 0 4px rgba(45, 225, 194, .12); outline: 0; }
body.anodyne-dark .form-submit input[type="submit"], body.anodyne-dark .wp-block-button__link,
body.anodyne-dark button.wp-element-button, body.anodyne-dark input[type="submit"] {
	border: 0 !important; border-radius: 999px !important; padding: .8em 1.8em !important; font-weight: 700;
	color: #031015 !important; background: var(--grad) !important; font-family: var(--font);
	box-shadow: 0 10px 34px -12px rgba(45, 225, 194, .6); transition: transform .3s var(--ease), box-shadow .3s;
}
body.anodyne-dark .wp-block-button__link:hover, body.anodyne-dark input[type="submit"]:hover { transform: translateY(-2px); }

/* ---------- Regular pages rendered by Astra ---------- */
body.anodyne-dark .site-content--page { padding: 130px 0 60px; }
body.anodyne-dark.ast-separate-container .ast-article-single,
body.anodyne-dark.ast-separate-container .ast-article-post,
body.anodyne-dark.ast-separate-container .ast-author-box,
body.anodyne-dark.ast-separate-container .comments-area .comment-respond,
body.anodyne-dark.ast-separate-container .ast-comment-list li,
body.anodyne-dark .ast-separate-container .ast-article-single,
body.anodyne-dark .ast-page-builder-template .site-main > article,
body.anodyne-dark.ast-plain-container .site-main > article {
	background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)) !important;
	border: 1px solid var(--border); border-radius: var(--radius);
}
body.anodyne-dark .entry-content, body.anodyne-dark .entry-content p, body.anodyne-dark .entry-content li { color: #d3dbe8; }
body.anodyne-dark .entry-title, body.anodyne-dark .entry-title a { color: var(--text) !important; font-weight: 800; }
body.anodyne-dark .entry-meta, body.anodyne-dark .entry-meta * { color: var(--muted) !important; }
body.anodyne-dark .wp-block-cover .wp-block-cover__background.has-background-gradient { opacity: .9; }
body.anodyne-dark .widget, body.anodyne-dark .widget-title { color: var(--text); }
body.anodyne-dark .wp-block-separator { border-color: var(--border-2); }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js [data-reveal] {
	opacity: 0; transform: translateY(34px); filter: blur(6px);
	transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.split .w-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w-in { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
.split.is-in .w-in { transform: none; opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; filter: none; }
	.split .w-in { transform: none; opacity: 1; }
	.marquee__track { animation: none; }
	.hero__canvas, .cursor-glow { display: none; }
	.det rect { stroke-dashoffset: 0; } .det text { opacity: 1; }
}

/* Astra adds padding/background to these article wrappers — neutralise inside our own templates. */
body.anodyne-dark .single .article.ast-article-single,
body.anodyne-dark.ast-separate-container .single .article.ast-article-single {
	padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; border-radius: 0;
}

/* ==========================================================================
   v2 — Zero-gravity layer & modern motion
   ========================================================================== */

/* ---------- Cross-page view transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px); transform: translateY(14px) scale(1.01); } }

/* ---------- Drifting background orbs (whole site, parallax via --sy) ---------- */
.bg-orbs i {
	position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform;
	animation: orb-drift 38s ease-in-out infinite alternate;
}
.bg-orbs .o1 { width: 420px; height: 420px; top: 8%; right: -6%; background: radial-gradient(circle at 30% 30%, rgba(45, 225, 194, .55), transparent 65%); translate: 0 calc(var(--sy, 0) * -0.08px); }
.bg-orbs .o2 { width: 520px; height: 520px; top: 55%; left: -10%; background: radial-gradient(circle at 60% 40%, rgba(124, 92, 255, .5), transparent 65%); animation-duration: 46s; animation-delay: -12s; translate: 0 calc(var(--sy, 0) * -0.04px); }
.bg-orbs .o3 { width: 300px; height: 300px; top: 120%; right: 25%; background: radial-gradient(circle, rgba(56, 189, 248, .45), transparent 65%); animation-duration: 30s; animation-delay: -20s; translate: 0 calc(var(--sy, 0) * -0.12px); }
@keyframes orb-drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	33% { transform: translate3d(40px, -60px, 0) scale(1.08); }
	66% { transform: translate3d(-50px, 30px, 0) scale(.95); }
	100% { transform: translate3d(20px, 50px, 0) scale(1.04); }
}

/* ---------- Hero zero-gravity objects ---------- */
.hero__canvas { opacity: .35; }
.zg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.zg__item { position: absolute; top: 0; left: 0; display: block; will-change: transform; opacity: 0; transition: opacity 1.4s var(--ease); }
.zg.is-live .zg__item { opacity: var(--o, .9); }
.zg__orb {
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 18%),
		radial-gradient(circle at 70% 75%, rgba(124, 92, 255, .55), transparent 55%),
		radial-gradient(circle at 40% 40%, rgba(45, 225, 194, .7), rgba(14, 40, 60, .35) 60%, rgba(5, 7, 12, 0) 72%);
	box-shadow: inset -10px -14px 30px rgba(0, 0, 0, .45), inset 6px 8px 18px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(45, 225, 194, .35);
}
.zg__orb--a { width: 92px; height: 92px; --o: .85; }
.zg__orb--b { width: 46px; height: 46px; --o: .75; }
.zg__orb--c { width: 150px; height: 150px; --o: .35; filter: blur(2px); }
.zg__ring { width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(45, 225, 194, .35); box-shadow: 0 0 30px rgba(45, 225, 194, .15), inset 0 0 20px rgba(124, 92, 255, .2); --o: .7; }
.zg__ring--sm { width: 54px; height: 54px; border-color: rgba(124, 92, 255, .5); }
.zg__cube {
	width: 64px; height: 64px; border-radius: 18px; --o: .7;
	background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.zg__tooth { width: 58px; height: 58px; color: rgba(45, 225, 194, .75); filter: drop-shadow(0 0 12px rgba(45, 225, 194, .45)); --o: .8; }
.zg__tooth svg { width: 100%; height: 100%; }
.zg__tooth--sm { width: 34px; height: 34px; color: rgba(167, 139, 250, .8); filter: drop-shadow(0 0 10px rgba(124, 92, 255, .5)); }
.zg__plus { width: 30px; height: 30px; --o: .75; }
.zg__plus::before, .zg__plus::after { content: ""; position: absolute; inset: 40% 0; border-radius: 4px; background: linear-gradient(90deg, var(--mint), var(--sky)); box-shadow: 0 0 14px rgba(45, 225, 194, .6); }
.zg__plus::after { inset: 0 40%; }
.zg__plus--sm { width: 18px; height: 18px; }
.zg__dot { width: 6px; height: 6px; border-radius: 50%; background: #c9fff4; box-shadow: 0 0 12px 3px rgba(45, 225, 194, .7); --o: .9; }
.hero__grid { z-index: 2; }
@media (max-width: 760px) {
	.zg__orb--c, .zg__ring, .zg__cube { display: none; }
}

/* ---------- Weightless hero visual: chips drift on independent axes ---------- */
.float-chip { animation: zg-drift 9s ease-in-out infinite; }
.float-chip--a { animation-duration: 11s; animation-delay: -2s; }
.float-chip--b { animation-duration: 13s; animation-delay: -5s; }
.float-chip--c { animation-duration: 10s; animation-delay: -7s; }
@keyframes zg-drift {
	0%, 100% { translate: 0 0; rotate: 0deg; }
	25% { translate: 8px -16px; rotate: 2.5deg; }
	50% { translate: -6px -24px; rotate: -1.5deg; }
	75% { translate: -10px -8px; rotate: 1.5deg; }
}
.scan-card { animation: zg-float 10s ease-in-out infinite; }
@keyframes zg-float {
	0%, 100% { translate: 0 0; }
	30% { translate: 4px -14px; }
	60% { translate: -5px -6px; }
}

/* ---------- Anti-gravity reveal: rise from below with a soft spring ---------- */
.js [data-reveal] {
	opacity: 0; filter: blur(8px);
	transform: perspective(900px) translate3d(0, 70px, 0) rotateX(14deg) scale(.96);
	transform-origin: 50% 100%;
	transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.3s var(--ease-spring);
	transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; filter: none; transform: perspective(900px) translate3d(0, 0, 0) rotateX(0) scale(1); }

/* ---------- Cards: idle levitation + 3D tilt toward the cursor ---------- */
.js .card--spot.settled {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
	transition: transform .6s var(--ease), border-color .4s, box-shadow .5s var(--ease), opacity 1s, filter 1s;
	transition-delay: 0s;
}
.js .card--spot.settled:hover { --lift: -8px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift), 0); }
@media (hover: hover) and (min-width: 900px) {
	.card--spot.is-in { animation: levitate 7s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1.3s); }
	.card--spot.is-in:hover { animation-play-state: paused; }
}
@keyframes levitate { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.card--spot.is-in:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(45, 225, 194, .12), 0 20px 60px -20px rgba(45, 225, 194, .25); }

/* ---------- Headings: words assemble from a weightless scatter ---------- */
.split .w-wrap { overflow: visible; }
.split .w-in {
	transform: translate3d(var(--tx, 0), var(--ty, 40px), 0) rotate(var(--tr, 0deg)) scale(.9);
	opacity: 0; filter: blur(10px);
	transition: transform 1.5s var(--ease-spring), opacity 1s var(--ease), filter 1.1s var(--ease);
	transition-delay: calc(var(--wi) * 60ms);
}
.split.is-in .w-in { transform: none; opacity: 1; filter: none; }

/* ---------- Hero title: subtle weightless bob after entrance ---------- */
.hero__title .grad-text { display: inline-block; animation: grad-shift 8s linear infinite, title-bob 6s ease-in-out 1.6s infinite; }
@keyframes title-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- Footer: floating letters ---------- */
.footer__mega { background: none; display: flex; justify-content: center; gap: .02em; }
.footer__mega span {
	display: inline-block; color: transparent;
	background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 85%);
	-webkit-background-clip: text; background-clip: text;
	animation: letter-float 7s ease-in-out infinite; animation-delay: calc(var(--li) * -0.9s);
	transition: color .5s, text-shadow .5s;
}
.footer__mega:hover span { background-image: linear-gradient(180deg, rgba(45, 225, 194, .35), rgba(124, 92, 255, 0) 90%); }
@keyframes letter-float {
	0%, 100% { translate: 0 0; rotate: 0deg; }
	30% { translate: 0 -14px; rotate: -2deg; }
	65% { translate: 0 6px; rotate: 1.5deg; }
}

/* ---------- Scroll-driven extras (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
	.post-card__media img, .post-card__cover { animation: media-parallax linear both; animation-timeline: view(); animation-range: cover; }
	@keyframes media-parallax { from { transform: scale(1.12) translateY(-4%); } to { transform: scale(1.12) translateY(4%); } }
	.section__title { animation: title-track linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
	@keyframes title-track { from { letter-spacing: .02em; } to { letter-spacing: 0; } }
}

/* ---------- Glow ring behind buttons ---------- */
.btn--primary { box-shadow: 0 10px 40px -10px rgba(45, 225, 194, .55), 0 0 0 0 rgba(45, 225, 194, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(45, 225, 194, .75), 0 0 0 6px rgba(45, 225, 194, .12), inset 0 1px 0 rgba(255, 255, 255, .35); }

@media (prefers-reduced-motion: reduce) {
	.zg, .bg-orbs { display: none; }
	.js [data-reveal], .split .w-in { opacity: 1 !important; transform: none !important; filter: none !important; }
	.card--spot.is-in, .footer__mega span, .float-chip, .scan-card, .hero__title .grad-text { animation: none !important; }
}

/* ==========================================================================
   v3 — Company homepage components
   ========================================================================== */

/* Zero-g glyphs (code / heart) */
.zg__glyph { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--mint); --o: .8;
	background: rgba(45, 225, 194, .06); border: 1px solid rgba(45, 225, 194, .25); filter: drop-shadow(0 0 14px rgba(45, 225, 194, .35)); }
.zg__glyph .ico { width: 28px; height: 28px; }
.zg__glyph--sm { width: 38px; height: 38px; border-radius: 12px; color: #c4b5fd; border-color: rgba(124, 92, 255, .35); background: rgba(124, 92, 255, .08); }
.zg__glyph--sm .ico { width: 20px; height: 20px; }

/* Hero dashboard card */
.dash {
	position: relative; border-radius: 26px; padding: 14px; background: rgba(10, 15, 26, .72);
	border: 1px solid var(--border-2); box-shadow: 0 50px 120px -40px rgba(45, 225, 194, .35);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform .6s var(--ease);
	animation: zg-float 10s ease-in-out infinite;
}
.dash::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--mint) 80%, var(--violet) 90%, transparent 100%);
	-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: beam 5s linear infinite;
}
.dash__grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.dash__panel { position: relative; border-radius: 16px; padding: 30px 14px 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); overflow: hidden; min-height: 120px; }
.dash__label { position: absolute; top: 9px; left: 12px; font: 600 .68rem ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); direction: ltr; }
.dash__panel--pulse { grid-column: 1 / -1; min-height: 110px; }
.dash__panel--pulse svg { width: 100%; height: 70px; }
.dash__ecg { stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(45, 225, 194, .8));
	stroke-dasharray: 520; stroke-dashoffset: 520; animation: ecg 3.4s linear infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 520; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -520; } }
.dash__panel--code { display: flex; flex-direction: column; gap: 9px; }
.dash__panel--code i { display: block; height: 7px; width: var(--w); margin-left: calc(var(--ind, 0) * 14px); border-radius: 4px;
	background: linear-gradient(90deg, rgba(56, 189, 248, .55), rgba(124, 92, 255, .35)); transform-origin: left;
	animation: type-line 4.8s var(--ease) infinite; }
.dash__panel--code i:nth-child(3) { animation-delay: .25s; } .dash__panel--code i:nth-child(4) { animation-delay: .5s; }
.dash__panel--code i:nth-child(5) { animation-delay: .75s; } .dash__panel--code i:nth-child(6) { animation-delay: 1s; } .dash__panel--code i:nth-child(7) { animation-delay: 1.25s; }
@keyframes type-line { 0% { transform: scaleX(0); opacity: .4; } 25%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .2; } }
.dash__panel--bars .mini-scan { height: 76px; padding-top: 0; margin-top: 0; }
.dash__panel--ai { grid-column: 1 / -1; min-height: 100px; color: rgba(45, 225, 194, .35); }
.dash__panel--ai svg { width: 100%; height: 64px; }
.dash__net path { stroke-dasharray: 4 6; animation: net-flow 1.6s linear infinite; }
@keyframes net-flow { to { stroke-dashoffset: -20; } }
.dash__nodes circle { fill: var(--mint); filter: drop-shadow(0 0 6px var(--mint)); animation: node-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.dash__nodes circle:nth-child(2n) { fill: var(--violet); animation-delay: -.8s; filter: drop-shadow(0 0 6px var(--violet)); }
.dash__nodes circle:nth-child(4) { fill: #fff; animation-delay: -1.2s; }
@keyframes node-pulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.35); opacity: 1; } }
.dash__grid { grid-template-areas: "pulse pulse" "code bars" "ai ai"; }
.dash__panel--pulse { grid-area: pulse; } .dash__panel--code { grid-area: code; } .dash__panel--bars { grid-area: bars; } .dash__panel--ai { grid-area: ai; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.intro__grid .section__head { margin-bottom: 0; }
.intro__pillars { display: grid; gap: 14px; }
.pillar { padding: 22px 26px; }
.pillar__k { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--mint); margin-bottom: 6px; }
.pillar p { font-size: 1rem; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }

/* Services detail */
.service__list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.service__list li { position: relative; margin: 0; padding-right: 20px; font-size: .9rem; color: var(--text-2); }
.service__list li::before { content: ""; position: absolute; right: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(45, 225, 194, .6); }
.services__more { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 16px 22px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--border-2); color: var(--text-2); }
.services__more .ico { color: var(--mint); width: 26px; height: 26px; }

/* Health focus */
.health__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.health__copy .section__lead { margin-bottom: 24px; }
.checks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; margin: 0; padding-right: 34px; color: var(--text); }
.checks li::before { content: "✓"; position: absolute; right: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .75rem; font-weight: 800; color: #031015; background: var(--grad); }
.orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-inline: auto; }
.orbit__core { position: absolute; inset: 38%; display: grid; place-items: center; border-radius: 50%; color: #031015; background: var(--grad); box-shadow: 0 0 60px rgba(45, 225, 194, .5), 0 0 0 10px rgba(45, 225, 194, .08); animation: core-beat 2.4s ease-in-out infinite; }
.orbit__core .ico { width: 40%; height: 40%; }
@keyframes core-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(.98); } 45% { transform: scale(1.05); } }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(45, 225, 194, .25); animation: spin 22s linear infinite; }
.orbit__ring--1 { inset: 26%; animation-duration: 14s; }
.orbit__ring--2 { inset: 13%; animation-duration: 22s; animation-direction: reverse; border-color: rgba(124, 92, 255, .3); }
.orbit__ring--3 { inset: 0; animation-duration: 32s; border-color: rgba(56, 189, 248, .2); }
.orbit__ring span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; display: grid; place-items: center; border-radius: 14px;
	color: var(--mint); background: rgba(10, 15, 26, .9); border: 1px solid var(--border-2); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7);
	animation: spin 22s linear infinite reverse; }
.orbit__ring span .ico { width: 22px; height: 22px; }
.orbit__ring span:nth-child(1) { top: 0; }
.orbit__ring--1 span { animation-duration: 14s; animation-direction: reverse; }
.orbit__ring--2 span { animation-duration: 22s; animation-direction: normal; }
.orbit__ring--2 span:nth-child(2) { top: 100%; }
.orbit__ring--3 span { animation-duration: 32s; animation-direction: reverse; }
.orbit__ring--3 span:nth-child(2) { top: 75%; left: 7%; }
.orbit__ring--3 span:nth-child(3) { top: 75%; left: 93%; }
@media (max-width: 900px) { .health__grid { grid-template-columns: 1fr; } .health__orbit { max-width: 340px; margin-inline: auto; width: 100%; } }

/* Projects */
.projects { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project__media { height: 170px; display: grid; place-items: center; position: relative; overflow: hidden; }
.project__media .ico { width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); position: relative; z-index: 1; animation: levitate 5s ease-in-out infinite; }
.project__media--health { background: radial-gradient(120% 100% at 80% 0%, rgba(45, 225, 194, .55), transparent 60%), radial-gradient(90% 90% at 0% 100%, rgba(124, 92, 255, .5), transparent 70%), #0a1220; }
.project__media--data { background: radial-gradient(120% 100% at 20% 0%, rgba(56, 189, 248, .5), transparent 60%), radial-gradient(90% 90% at 100% 100%, rgba(224, 92, 255, .35), transparent 70%), #0b0a1d; }
.project__media::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .45) 1px, transparent 1px); background-size: 16px 16px; opacity: .3; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }
.project__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__body .tag { align-self: flex-start; }
.project__body h3 { margin: 4px 0 0; }
.project--cta { justify-content: center; background: linear-gradient(160deg, rgba(45, 225, 194, .12), rgba(124, 92, 255, .1)); border-style: dashed; }
.project--cta .btn { align-self: flex-start; margin-top: 10px; }
@media (max-width: 1000px) { .projects { grid-template-columns: 1fr 1fr; } .project--cta { grid-column: 1 / -1; } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }

/* 4-step process */
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow--4::before { right: 12%; left: 12%; }
@media (max-width: 1000px) { .flow--4 { grid-template-columns: 1fr 1fr; gap: 40px 22px; } .flow--4::before { display: none; } }
@media (max-width: 560px) { .flow--4 { grid-template-columns: 1fr; } }

/* Why: 6 items */
@media (min-width: 861px) { .why { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 860px) { .why { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
	.dash, .dash__ecg, .dash__panel--code i, .dash__net path, .dash__nodes circle, .orbit__ring, .orbit__ring span, .orbit__core, .project__media .ico { animation: none !important; }
	.dash__ecg { stroke-dashoffset: 0; }
}
