/* ==========================================================================
   Antrika — parent-company site (antrika.ai)
   Self-contained design system: ink background, coral brand mark, and a
   six-colour "spectrum" that stands in for the portfolio (one colour per
   product). Does not depend on bootstrap / the shared Teptro base styles.
   ========================================================================== */

:root {
	--bg: #07070c;
	--bg-2: #0d0d16;
	--bg-3: #14141f;
	--surface: rgba(255, 255, 255, 0.035);
	--surface-2: rgba(255, 255, 255, 0.06);
	--line: rgba(255, 255, 255, 0.09);
	--line-2: rgba(255, 255, 255, 0.16);
	--text: #f5f5f9;
	--text-2: rgba(245, 245, 249, 0.78);
	--muted: rgba(245, 245, 249, 0.58);
	--coral: #fe434c;
	--coral-soft: #ff7a80;

	/* One colour per product — also drives the spectrum motif. */
	--c-tablearth: #ff5468;
	--c-medrita: #19c6b8;
	--c-teptro: #6f7bff;
	--c-qrrectly: #ffb04d;
	--c-flostr: #34d27b;
	--c-routeiq: #c27aff;
	--c-arraykit: #3b9eff;
	--spectrum: linear-gradient(90deg, var(--c-tablearth), var(--c-qrrectly), var(--c-flostr), var(--c-medrita), var(--c-arraykit), var(--c-teptro), var(--c-routeiq));

	--font-display: "Sora", "Inter", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: min(1200px, calc(100% - 40px));
	--radius: 22px;
	--radius-sm: 14px;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.an-body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.an-body img, .an-body svg { max-width: 100%; display: block; }
:where(.an-body) a { color: inherit; text-decoration: none; }
.an-body h1, .an-body h2, .an-body h3, .an-body h4 { font-family: var(--font-display); letter-spacing: -0.025em; margin: 0; line-height: 1.12; color: var(--text); }
:where(.an-body) p { margin: 0; }
:where(.an-body) ul { margin: 0; padding: 0; list-style: none; }
.an-body button { font: inherit; color: inherit; }
.an-body :focus-visible { outline: 2px solid var(--coral-soft); outline-offset: 3px; border-radius: 6px; }
.an-body ::selection { background: rgba(254, 67, 76, 0.4); }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Product colour scopes: any element with .p-<name> gets --c / --mark. */
.p-tablearth { --c: var(--c-tablearth); --mark: url(/images/antrika/marks/tablearth.svg); }
.p-medrita { --c: var(--c-medrita); --mark: url(/images/antrika/marks/medrita.svg); }
.p-teptro { --c: var(--c-teptro); --mark: url(/images/antrika/marks/teptro.svg); }
.p-qrrectly { --c: var(--c-qrrectly); --mark: url(/images/antrika/marks/qrrectly.svg); }
.p-flostr { --c: var(--c-flostr); --mark: url(/images/antrika/marks/flostr.svg); }
.p-routeiq { --c: var(--c-routeiq); --mark: url(/images/antrika/marks/routeiq.svg); }
.p-arraykit { --c: var(--c-arraykit); --mark: url(/images/antrika/marks/arraykit.svg); }

.tile {
	flex: none;
	display: grid;
	place-items: center;
	width: var(--tile, 48px);
	height: var(--tile, 48px);
	border-radius: calc(var(--tile, 48px) * 0.3);
	background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 50%, #000));
	box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.tile i {
	display: block;
	width: 52%;
	height: 52%;
	background: #fff;
	-webkit-mask: var(--mark) center / contain no-repeat;
	mask: var(--mark) center / contain no-repeat;
}

/* ---------- Buttons & labels ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px; border-radius: 999px;
	font-weight: 600; font-size: 0.96rem; border: 1px solid transparent; cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--text); color: #0a0a10; box-shadow: 0 10px 40px rgba(255, 255, 255, 0.12); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(255, 255, 255, 0.2); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--spectrum); }
.pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
	border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
	font-size: 0.82rem; color: var(--text-2); backdrop-filter: blur(8px);
}
.pill b { background: var(--coral); color: #fff; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; }
.spectrum-bar { height: 3px; background: var(--spectrum); opacity: 0.9; }

/* ---------- Header ---------- */
.an-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed mobile menu and collapse it. */
.an-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; transition: background 0.3s ease;
	background: rgba(7, 7, 12, 0.6); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.an-header.is-scrolled { border-bottom-color: var(--line); }
.an-header.is-scrolled::before { background: rgba(7, 7, 12, 0.82); }
.an-header .spectrum-bar { position: absolute; left: 0; right: 0; bottom: -1px; opacity: 0; transition: opacity 0.3s; }
.an-header.is-scrolled .spectrum-bar { opacity: 0.8; }
.an-nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.an-logo { display: flex; align-items: center; margin-right: auto; }
.an-logo img { height: 30px; width: auto; }
.an-links { display: flex; align-items: center; gap: 4px; }
.an-links > li:not(.an-mobile-cta) > a, .an-dd-btn {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
	font-size: 0.92rem; font-weight: 500; color: var(--text-2); background: none; border: 0; cursor: pointer;
	transition: color 0.2s, background 0.2s;
}
.an-links > li:not(.an-mobile-cta) > a:hover, .an-dd-btn:hover, .an-dd.is-open .an-dd-btn, .an-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.an-dd { position: relative; }
.an-dd-btn svg { width: 12px; height: 12px; transition: transform 0.25s; }
.an-dd.is-open .an-dd-btn svg { transform: rotate(180deg); }
.an-menu {
	position: absolute; top: calc(100% + 14px); left: 50%; width: 620px; padding: 12px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
	background: rgba(16, 16, 26, 0.96); border: 1px solid var(--line-2); border-radius: 20px;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); backdrop-filter: blur(20px);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.an-dd.is-open .an-menu, .an-dd:hover .an-menu, .an-dd:focus-within .an-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.an-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.an-menu a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background 0.2s; }
.an-menu a:hover { background: var(--surface-2); }
.an-menu .tile { --tile: 40px; }
.an-menu strong { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }
.an-menu small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.an-cta { margin-left: 8px; }
.an-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; place-items: center; }
.an-burger span, .an-burger span::before, .an-burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s, background 0.25s; }
.an-burger span { position: relative; }
.an-burger span::before, .an-burger span::after { content: ""; position: absolute; left: 0; }
.an-burger span::before { top: -6px; }
.an-burger span::after { top: 6px; }
.an-burger[aria-expanded="true"] span { background: transparent; }
.an-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.an-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
	.an-burger { display: grid; }
	.an-cta { display: none; }
	.an-links {
		position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 4px;
		padding: 20px; background: var(--bg); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}
	.an-nav.is-open .an-links { opacity: 1; visibility: visible; transform: none; }
	.an-links > li:not(.an-mobile-cta) > a, .an-dd-btn { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.05rem; }
	.an-menu { position: static; width: 100%; transform: none !important; opacity: 1; visibility: visible; display: none; grid-template-columns: minmax(0, 1fr); background: none; border: 0; box-shadow: none; padding: 4px 0 8px; }
	.an-menu::before { display: none; }
	.an-dd.is-open .an-menu { display: grid; }
	.an-dd:hover .an-menu { display: none; }
	.an-dd.is-open:hover .an-menu { display: grid; }
	.an-links .an-mobile-cta { display: block; margin-top: 12px; }
}
.an-mobile-cta { display: none; }
.an-mobile-cta .btn { width: 100%; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 640px; }
.grad-text { background: linear-gradient(100deg, #fff 10%, var(--coral-soft) 55%, var(--c-qrrectly) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spectrum-text { background: var(--spectrum); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 12s linear infinite alternate; }
@keyframes shift { to { background-position: 100% 0; } }

/* Reveal-on-scroll: only hides content once JS has confirmed it can reveal it. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.hero-bg::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px; opacity: 0.45;
	-webkit-mask: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); mask: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.blob { position: absolute; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: 0.32; animation: drift 22s ease-in-out infinite alternate; }
.blob--a { background: var(--c-tablearth); top: -18%; right: 8%; }
.blob--b { background: var(--c-teptro); top: 20%; right: -10%; animation-delay: -6s; opacity: 0.26; }
.blob--c { background: var(--c-medrita); bottom: -30%; left: 10%; animation-delay: -12s; opacity: 0.16; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; margin-top: 26px; }
.hero-copy .lead { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; color: var(--muted); font-size: 0.86rem; }
.dots { display: inline-flex; }
.dots i { width: 11px; height: 11px; border-radius: 50%; margin-right: -3px; border: 2px solid var(--bg); }

/* Orbit: six product nodes circling the Antrika mark. */
.orbit { position: relative; container-type: inline-size; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.14); inset: calc(50% - var(--r) * 1cqw); animation: spin var(--t) linear infinite; }
.ring--1 { --r: 29; --t: 70s; }
.ring--2 { --r: 45; --t: 110s; animation-direction: reverse; border-style: solid; border-color: rgba(255, 255, 255, 0.07); }
@keyframes spin { to { transform: rotate(360deg); } }
.node { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--r) * 1cqw)) rotate(calc(var(--a) * -1)); }
.ring .node { --r: 0; }
.ring--1 .node { --r: 29; }
.ring--2 .node { --r: 45; }
.node a {
	position: absolute; left: 0; top: 0; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 8px;
	animation: spin var(--t) linear infinite; animation-direction: reverse;
}
.ring--2 .node a { animation-direction: normal; }
.ring--1 .node a { --t: 70s; }
.ring--2 .node a { --t: 110s; }
.node .tile { --tile: clamp(38px, 13cqw, 72px); transition: transform 0.3s, box-shadow 0.3s; }
.node a:hover .tile, .node a:focus-visible .tile { transform: scale(1.14); box-shadow: 0 12px 40px color-mix(in srgb, var(--c) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.node .lbl { font-size: clamp(0.62rem, 2.4cqw, 0.8rem); font-weight: 600; color: var(--text); background: rgba(7, 7, 12, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; backdrop-filter: blur(6px); }
.orbit:hover .ring, .orbit:hover .node a, .orbit:focus-within .ring, .orbit:focus-within .node a { animation-play-state: paused; }
.core { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 24cqw; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #20202e, #0c0c14); border: 1px solid var(--line-2); box-shadow: 0 0 80px rgba(254, 67, 76, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.core img { width: 48%; height: auto; }
.core::before, .core::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(254, 67, 76, 0.35); animation: pulse 3.6s ease-out infinite; }
.core::after { animation-delay: 1.8s; }
@keyframes pulse { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.orbit { width: min(100%, 460px); order: -1; margin-bottom: 8px; }
	.hero h1 { margin-top: 20px; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); overflow: hidden; padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; color: var(--text-2); white-space: nowrap; background: var(--surface); }
.marquee-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Portfolio bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.card {
	position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); overflow: hidden; isolation: isolate;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
	background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 22%, transparent), transparent 62%); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: 0.55; transition: opacity 0.3s; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card-top { display: flex; align-items: center; gap: 16px; }
.card-top h3 { font-size: 1.5rem; font-weight: 700; }
.card-top small { display: block; color: var(--c); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; }
.card-top .go { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s; }
.card-top .go svg { width: 16px; height: 16px; }
.card:hover .go { background: var(--c); border-color: var(--c); color: #0a0a10; transform: rotate(45deg); }
.card > p { color: var(--text-2); font-size: 0.98rem; max-width: 520px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li { padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; color: var(--text-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.card .visit { font-size: 0.86rem; font-weight: 600; color: var(--c); display: inline-flex; gap: 8px; align-items: center; }
.span-7 { grid-column: span 7; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; }
@media (max-width: 900px) { .bento > * { grid-column: span 12; } }

/* ---------- Product vignettes (decorative mini UIs) ---------- */
.vig { position: relative; min-height: 150px; border-radius: var(--radius-sm); padding: 16px; background: rgba(5, 5, 10, 0.55); border: 1px solid var(--line); overflow: hidden; }
.vig::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(5, 5, 10, 0.5)); pointer-events: none; }
.v-q { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--text); }
.v-q::before { content: "✦"; color: var(--c); }
.v-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 14px; }
.v-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--c) 28%, transparent); transform-origin: bottom; animation: grow 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.v-bars i.hi { background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 40%, transparent)); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 45%, transparent); }
@keyframes grow { from { transform: scaleY(0.05); } }
.v-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.v-slots i { height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.v-slots i.on { background: color-mix(in srgb, var(--c) 30%, transparent); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.v-slots i.hi { background: var(--c); border-color: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
.v-chip { display: inline-flex; margin-top: 12px; font-size: 0.74rem; padding: 5px 11px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.v-rows { display: grid; gap: 9px; }
.v-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.v-row b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 0.7rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.v-row i { flex: 1; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--c) var(--w), rgba(255, 255, 255, 0.08) var(--w)); }
.v-chat { display: grid; gap: 9px; }
.v-msg { max-width: 82%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; font-size: 0.8rem; background: rgba(255, 255, 255, 0.07); color: var(--text-2); }
.v-msg.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--c) 30%, transparent); color: var(--text); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.v-inv { display: grid; gap: 9px; }
.v-inv-h { display: flex; justify-content: space-between; align-items: center; font-size: 0.74rem; color: var(--muted); }
.v-inv-h em { font-style: normal; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); }
.v-line { height: 8px; border-radius: 4px; width: var(--w); background: rgba(255, 255, 255, 0.09); }
.v-line.t { height: 11px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, transparent)); margin-top: 4px; }
.v-flow { display: grid; grid-template-columns: auto minmax(10px, 1fr) auto minmax(10px, 1fr) auto; align-items: center; gap: 8px; min-height: 118px; }
.v-node { padding: 8px 12px; border-radius: 10px; font-size: 0.74rem; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); white-space: nowrap; }
.v-node.core-n { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: var(--c); color: #fff; box-shadow: 0 0 22px color-mix(in srgb, var(--c) 40%, transparent); }
.v-wire { height: 2px; background: linear-gradient(90deg, var(--c), transparent); position: relative; }
.v-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-tools i { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; font-style: normal; font-size: 0.76rem; color: var(--text-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.v-tools i::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: color-mix(in srgb, var(--c) 70%, #fff 0%); }
.v-tools i.hi { color: var(--text); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 16%, transparent); }
.v-prov { display: grid; gap: 8px; }
.v-prov i { display: block; padding: 5px 10px; border-radius: 8px; font-style: normal; font-size: 0.7rem; color: var(--text-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.v-prov i.live { color: var(--c); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.v-prov i.fb { border-style: dashed; color: var(--muted); }

/* ---------- Principles / feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.feat { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s, background 0.3s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--surface-2); }
.feat .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 20px; background: color-mix(in srgb, var(--c, var(--coral)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--coral)) 35%, transparent); color: var(--c, var(--coral)); }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.feat p { color: var(--text-2); font-size: 0.94rem; }

/* ---------- Stats / fit diagram ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 720px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat { border-left: 0; border-top: 1px solid var(--line); } .stat:first-child { border-top: 0; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 14px; }
.stack-item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s, border-color 0.3s; }
.stack-item:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.stack-item .tile { --tile: 42px; }
.stack-item strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.stack-item span { color: var(--muted); font-size: 0.86rem; }
.stack-item small { margin-left: auto; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); font-weight: 700; }

/* ---------- Band / CTA ---------- */
.band { position: relative; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius); background: linear-gradient(135deg, rgba(254, 67, 76, 0.1), rgba(111, 123, 255, 0.08)); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.band h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.band p { color: var(--text-2); margin-top: 10px; max-width: 640px; }
@media (max-width: 760px) { .band { grid-template-columns: minmax(0, 1fr); } }
.cta { position: relative; text-align: center; padding: clamp(48px, 7vw, 96px) 24px; border-radius: 32px; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); background: var(--bg-2); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(254, 67, 76, 0.34), transparent 60%), radial-gradient(ellipse at 20% 100%, rgba(111, 123, 255, 0.22), transparent 55%), radial-gradient(ellipse at 85% 90%, rgba(25, 198, 184, 0.18), transparent 55%); }
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 800px; margin: 18px auto 0; }
.cta p { margin: 20px auto 0; max-width: 560px; color: var(--text-2); font-size: 1.1rem; }
.cta .hero-actions { justify-content: center; }


/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--coral-soft); transition: transform 0.3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); max-width: 720px; }
.faq a { color: var(--coral-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Products page ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(28px, 4vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 700; letter-spacing: -0.04em; margin-top: 22px; max-width: 900px; }
.page-hero .lead { margin-top: 22px; max-width: 660px; color: var(--text-2); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.finder { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.finder a { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line); transition: background 0.25s; }
.finder a:first-child { border-top: 0; }
.finder a:hover { background: color-mix(in srgb, var(--c) 9%, transparent); }
.finder .need { font-size: 1.02rem; color: var(--text); }
.finder .arrow { color: var(--muted); }
.finder .who { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; }
.finder .who .tile { --tile: 34px; }
@media (max-width: 700px) { .finder a { grid-template-columns: minmax(0, 1fr); gap: 10px; } .finder .arrow { display: none; } }

.pro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 84px) 0; border-top: 1px solid var(--line); position: relative; }
.pro:nth-child(even) .pro-media { order: -1; }
.pro-head { display: flex; align-items: center; gap: 16px; }
.pro-head .tile { --tile: 56px; }
.pro-head small { display: block; color: var(--c); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.pro-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.pro-copy .lead { margin-top: 22px; color: var(--text-2); font-size: 1.08rem; max-width: 560px; }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); font-size: 0.96rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--c) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10.5 3.2 3.2L15 6.8'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.ticks b { color: var(--text); font-weight: 600; }
.pro-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pro-media { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 20%, transparent), transparent 65%), var(--bg-2); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4); }
.pro-media .vig { min-height: 240px; padding: 22px; background: rgba(5, 5, 10, 0.7); }
.pro-media .v-bars { height: 140px; }
.pro-media .v-msg { font-size: 0.88rem; }
.pro-media .v-slots i { height: 30px; }
.pro-media .v-row { padding: 13px 14px; }
@media (max-width: 900px) { .pro { grid-template-columns: minmax(0, 1fr); } .pro:nth-child(even) .pro-media { order: 0; } }

/* ---------- About ---------- */
.timeline { position: relative; display: grid; gap: 0; max-width: 820px; }
.timeline li { position: relative; padding: 0 0 38px 44px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -2px; width: 2px; background: linear-gradient(var(--c, var(--coral)), transparent); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--c, var(--coral)); box-shadow: 0 0 16px color-mix(in srgb, var(--c, var(--coral)) 60%, transparent); }
.timeline h3 { font-size: 1.2rem; font-weight: 600; }
.timeline p { margin-top: 8px; color: var(--text-2); max-width: 620px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.info-card .ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(254, 67, 76, 0.12); border: 1px solid rgba(254, 67, 76, 0.35); color: var(--coral-soft); }
.info-card .ico svg { width: 20px; height: 20px; }
.info-card h3 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.info-card p, .info-card a { margin-top: 4px; color: var(--text); font-size: 1rem; }
.info-card a { display: inline-block; }
.info-card a:hover { color: var(--coral-soft); }
.support-list { display: grid; gap: 8px; margin-top: 14px; }
.support-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0; border-radius: 12px; font-size: 0.92rem; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.support-list a:hover { background: color-mix(in srgb, var(--c) 10%, transparent); border-color: color-mix(in srgb, var(--c) 35%, transparent); color: var(--text); }
.support-list .tile { --tile: 28px; }
.support-list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 0.78rem; }
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--spectrum); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { margin: 8px 0 22px; color: var(--text-2); }
.form-card .noscript { color: var(--text-2); }
.form-card .noscript a { color: var(--coral-soft); text-decoration: underline; }

/* Hosted Trackwick form (antd inside): restyle for the dark Antrika theme. */
.an-form .trackwick-public-form { min-height: 420px; color: var(--text); }
.an-form .trackwick-public-form :is(.ant-row, .ant-col, .ant-form, .ant-form-item, .ant-spin-container, [class^="trackwick_public_form"]):not(.trackwick_public_form_submit-btn) { background: transparent !important; box-shadow: none !important; }
.an-form .trackwick-public-form :is(.ant-form-item-label > label, label) { color: var(--text-2) !important; }
.an-form .trackwick-public-form :is(.ant-input-affix-wrapper, textarea.ant-input, input.ant-input, .ant-select-selector) {
	background: rgba(255, 255, 255, 0.04) !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; border-radius: 12px !important;
}
.an-form .trackwick-public-form :is(.ant-input-affix-wrapper, textarea.ant-input, input.ant-input):hover { border-color: rgba(254, 67, 76, 0.5) !important; }
.an-form .trackwick-public-form :is(.ant-input-affix-wrapper-focused, .ant-input-affix-wrapper:focus-within, textarea.ant-input:focus, input.ant-input:focus) {
	border-color: var(--coral) !important; background: rgba(254, 67, 76, 0.06) !important; box-shadow: 0 0 0 3px rgba(254, 67, 76, 0.2) !important;
}
.an-form .trackwick-public-form .ant-input-affix-wrapper > input.ant-input { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.an-form .trackwick-public-form :is(input, textarea)::placeholder { color: var(--muted) !important; }
.an-form .trackwick-public-form .ant-form-item-required::before { color: var(--coral-soft) !important; }
.an-form .trackwick-public-form :is(.ant-form-item-explain-error, .ant-form-item-explain) { color: #ff8b92 !important; }
.an-form .trackwick-public-form .trackwick_public_form_submit-btn > .gutter-row { width: 100%; }
.an-form .trackwick-public-form .ant-btn {
	width: 100% !important; min-height: 50px !important; border-radius: 999px !important; border: 0 !important; background: var(--text) !important; color: #0a0a10 !important;
	font-weight: 600 !important; box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1) !important; transition: transform 0.2s !important;
}
.an-form .trackwick-public-form .ant-btn:hover { transform: translateY(-2px); }
.an-form .trackwick-public-form .react-tel-input { font-family: inherit; }
.an-form .trackwick-public-form .react-tel-input .form-control {
	width: 100% !important; height: 50px !important; padding: 0 14px 0 58px !important; background: rgba(255, 255, 255, 0.04) !important; color: var(--text) !important;
	border: 1px solid var(--line-2) !important; border-radius: 12px !important; box-shadow: none !important;
}
.an-form .trackwick-public-form .react-tel-input .form-control:focus { border-color: var(--coral) !important; box-shadow: 0 0 0 3px rgba(254, 67, 76, 0.2) !important; }
.an-form .trackwick-public-form .react-tel-input .flag-dropdown, .an-form .trackwick-public-form .react-tel-input .flag-dropdown.open { background: transparent !important; border: 0 !important; border-right: 1px solid var(--line) !important; border-radius: 12px 0 0 12px !important; }
.an-form .trackwick-public-form .react-tel-input .country-list { background: var(--bg-3); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; width: min(320px, calc(100vw - 60px)); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.an-form .trackwick-public-form .react-tel-input .country-list .country:is(:hover, .highlight) { background: rgba(254, 67, 76, 0.16); }
.an-form .trackwick-public-form .react-tel-input .country-list .search { background: var(--bg-3); }
.an-form .trackwick-public-form .react-tel-input .country-list .search-box { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); color: var(--text); }
@media (max-width: 760px) { .an-form .trackwick-public-form :is(input.ant-input, textarea.ant-input, .react-tel-input .form-control) { font-size: 16px !important; } }

/* ---------- Footer ---------- */
.an-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02)); position: relative; }
.an-footer .spectrum-bar { position: absolute; left: 0; right: 0; top: -2px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0 36px; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { margin-top: 20px; color: var(--muted); max-width: 340px; font-size: 0.94rem; }
.foot-brand address { font-style: normal; margin-top: 18px; color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.foot-brand address a { color: var(--text-2); }
.foot-brand address a:hover { color: var(--coral-soft); }
.foot-col h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.foot-col li + li { margin-top: 11px; }
.foot-col a { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); font-size: 0.94rem; transition: color 0.2s, transform 0.2s; }
.foot-col a:hover { color: var(--text); transform: translateX(3px); }
.foot-col a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s; }
.social a:hover { background: var(--text); color: #0a0a10; transform: translateY(-3px); border-color: var(--text); }
.social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf h1 { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.nf p { margin: 22px auto 0; max-width: 460px; color: var(--text-2); font-size: 1.1rem; }
.nf .hero-actions { justify-content: center; }

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