/* ==========================================================================
   Absolut Cyber — main stylesheet
   ========================================================================== */

@font-face { font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/michroma-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }

:root {
	--bg: #111019;
	--bg-2: #16151f;
	--bg-3: #1c1a29;
	--surface: rgba(255, 255, 255, .035);
	--surface-2: rgba(255, 255, 255, .06);
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--text: #eeedf6;
	--muted: #a09eb5;
	--dim: #6f6d85;

	--purple: #8b2a9b;
	--magenta: #b43fc4;
	--indigo: #4a2f91;
	--violet: #7b52e8;
	--teal: #3ecf8e;
	--blue: #2a6fb5;

	--g-brand: linear-gradient(100deg, #c048d2 0%, #8b3bc7 45%, #5b45d6 100%);
	--g-accent: linear-gradient(120deg, #3ecf8e 0%, #2a8fc4 60%, #2a6fb5 100%);
	--g-full: linear-gradient(110deg, #c048d2 0%, #6d45d6 50%, #3ecf8e 100%);

	--f-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 20px;
	--radius-sm: 12px;
	--container: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 84px;

	color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--violet); color: #fff; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	background: #fff; color: #000; padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Subtle grain + grid backdrop across the whole site */
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(123, 82, 232, .12), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(62, 207, 142, .06), transparent 60%),
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 80px 80px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
	opacity: .55;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 500 12px/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase;
	color: var(--teal); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.hero__eyebrow::before { display: none; }

.grad-text {
	background: var(--g-full); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.muted { color: var(--dim); }

.section { padding-block: clamp(80px, 12vw, 150px); position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-title {
	font-family: var(--f-display);
	font-size: clamp(28px, 4.4vw, 54px);
	letter-spacing: -.01em; line-height: 1.15;
	text-transform: uppercase;
}
.section-title--sm { font-size: clamp(24px, 3vw, 36px); margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
	--pad: 17px 28px;
	position: relative; display: inline-flex; align-items: center; gap: 12px;
	padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
	font: 500 15px/1 var(--f-body); letter-spacing: .02em; cursor: pointer;
	transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .3s;
	will-change: transform; isolation: isolate; overflow: hidden;
}
.btn .ac-icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ac-icon { transform: translateX(4px); }
.btn--sm { --pad: 12px 20px; font-size: 14px; }
.btn--primary { background: var(--g-brand); color: #fff; box-shadow: 0 10px 40px -10px rgba(180, 63, 196, .6); }
.btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--g-accent); opacity: 0; transition: opacity .4s;
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 14px 50px -10px rgba(62, 207, 142, .55); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--teal); background: rgba(62, 207, 142, .08); }

/* ==========================================================================
   Custom cursor (option A: node dot + magnetic ring)
   ========================================================================== */
.cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring {
	position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
	border-radius: 50%; will-change: transform;
}
.cursor__dot {
	width: 8px; height: 8px; margin: -4px 0 0 -4px;
	background: var(--teal); box-shadow: 0 0 12px var(--teal), 0 0 2px #fff;
	transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .25s;
}
.cursor__ring {
	width: 40px; height: 40px; margin: -20px 0 0 -20px;
	border: 1.5px solid rgba(180, 63, 196, .75);
	display: grid; place-items: center;
	transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease),
		border-color .3s, background .3s, opacity .3s;
}
.cursor__label {
	font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
	color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease);
}
.cursor.is-hover .cursor__ring {
	width: 64px; height: 64px; margin: -32px 0 0 -32px;
	border-color: var(--teal); background: rgba(62, 207, 142, .08);
}
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-label .cursor__ring {
	width: 92px; height: 92px; margin: -46px 0 0 -46px;
	border-color: transparent; background: var(--g-brand); mix-blend-mode: normal;
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor.is-text .cursor__ring { width: 4px; height: 30px; margin: -15px 0 0 -2px; border-radius: 2px; background: var(--teal); border: 0; }
.cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: background .4s, border-color .4s, backdrop-filter .4s, transform .5s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(17, 16, 25, .72); backdrop-filter: blur(16px) saturate(1.4);
	border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.ac-lockup { display: inline-flex; align-items: center; gap: 12px; }
.ac-lockup__mark { width: 46px; height: 46px; flex: none; }
.ac-lockup__mark .ac-mark__orbit { opacity: .9; }
.ac-lockup__text { display: flex; flex-direction: column; line-height: 1; }
.ac-lockup__name { font: 400 19px/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; }
.ac-lockup__sub { font: 400 8.5px/1 var(--f-body); letter-spacing: .62em; color: var(--muted); margin-top: 7px; text-transform: uppercase; }
.site-header__brand:hover .ac-mark__orbit { animation: spin 6s linear infinite; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
	position: relative; font-size: 15px; color: var(--muted); transition: color .3s; padding: 6px 0;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--g-full); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__list a:hover, .nav__list .current-menu-item a { color: var(--text); }
.nav__list a:hover::after, .nav__list .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--line-2); background: transparent; cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle__bar { width: 18px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.nav-open .nav-toggle__bar:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.nav-open .nav-toggle__bar:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; position: relative; z-index: 2; }
	.nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 40px;
		background: rgba(17, 16, 25, .97); backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: center; gap: 22px; }
	.nav__list a { font: 400 26px/1 var(--f-display); color: var(--text); text-transform: uppercase; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; min-height: 100svh; display: flex; align-items: center;
	padding: calc(var(--header-h) + 40px) 0 100px; overflow: hidden;
}
.hero__canvas, .page-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__spotlight {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(123, 82, 232, .16), transparent 60%);
	transition: background .1s;
}
.hero__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 60px);
}
.hero__eyebrow { color: var(--muted); letter-spacing: .22em; }
.pulse-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--teal); position: relative;
}
.pulse-dot::after {
	content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--teal);
	animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero__title {
	font-family: var(--f-display); text-transform: uppercase;
	font-size: clamp(30px, 4.5vw, 66px); line-height: 1.06; letter-spacing: -.02em;
	margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }

.hero__lead { max-width: 520px; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); margin-bottom: 38px; }
.hero__eyebrow, .hero__lead, .hero__cta { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.hero__eyebrow { animation-delay: .05s; }
.hero__lead { animation-delay: .45s; }
.hero__cta { animation-delay: .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* 3D tilting mark */
.hero__visual {
	--rx: 0deg; --ry: 0deg;
	position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center;
	transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
	transform-style: preserve-3d; transition: transform .12s linear;
	opacity: 0; animation: markIn 1.4s .3s var(--ease) forwards;
}
@keyframes markIn { from { opacity: 0; scale: .85; filter: blur(12px); } to { opacity: 1; scale: 1; filter: none; } }
.hero__halo {
	position: absolute; inset: 12%; border-radius: 50%; transform: translateZ(-80px);
	background: radial-gradient(circle, rgba(139, 59, 199, .45), rgba(62, 207, 142, .12) 55%, transparent 70%);
	filter: blur(40px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .6; scale: 1.08; } }
.hero__mark-wrap { position: absolute; inset: 0; transform: translateZ(40px); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.hero__mark { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }
.hero__mark .ac-mark__orbit, .hero__mark .ac-mark__a { transition: transform .2s linear; }
.hero__mark .ac-mark__a { filter: drop-shadow(0 0 30px rgba(180, 63, 196, .55)); }
.ac-node { transform-box: fill-box; transform-origin: center; }
.hero__mark .ac-node { animation: nodePulse 3s ease-in-out infinite; }
.hero__mark .ac-node:nth-of-type(2n) { animation-delay: -1.5s; }
@keyframes nodePulse { 50% { scale: 1.5; } }

.hero__chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: 999px; font-size: 13px; white-space: nowrap;
	background: rgba(28, 26, 41, .72); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.hero__chip .ac-icon { width: 16px; height: 16px; color: var(--teal); }
.hero__chip--a { top: 12%; left: -4%; transform: translateZ(110px); }
.hero__chip--b { top: 48%; right: -6%; transform: translateZ(150px); }
.hero__chip--c { bottom: 8%; left: 8%; transform: translateZ(90px); }

.hero__scroll {
	position: absolute; left: 50%; bottom: 30px; z-index: 1; translate: -50% 0;
	width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px;
}
.hero__scroll span {
	position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
	border-radius: 2px; background: var(--teal); animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: none; } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; text-align: left; }
	.hero__visual { max-width: 380px; order: -1; margin-top: 10px; }
	.hero__chip { font-size: 12px; padding: 8px 12px; }
	.hero__chip--b { right: 0; }
	.hero__chip--a { left: 0; }
	.hero__scroll { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; overflow: hidden;
	padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
	border-bottom: 1px solid var(--line);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 1000px; }
.page-hero__title {
	font-family: var(--f-display); text-transform: uppercase;
	font-size: clamp(32px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 26px;
}
.page-hero__lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--muted); max-width: 640px; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
	border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0;
	background: linear-gradient(90deg, rgba(139, 42, 155, .08), rgba(42, 111, 181, .08));
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 400 clamp(18px, 2vw, 26px)/1 var(--f-display); text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee i { width: 10px; height: 10px; flex: none; transform: rotate(45deg); background: var(--g-full); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards
   ========================================================================== */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .focus-grid { grid-template-columns: 1fr; } }

.focus-card, .service-card {
	--mx: 50%; --my: 50%;
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	padding: 34px 30px; border-radius: var(--radius); min-height: 380px;
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	border: 1px solid var(--line);
	transition: border-color .4s, transform .5s var(--ease);
}
.service-card { min-height: 0; }
.focus-card::before, .service-card::before {
	/* gradient border that lights up near the cursor */
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: radial-gradient(260px circle at var(--mx) var(--my), rgba(62, 207, 142, .9), rgba(180, 63, 196, .6) 40%, transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	opacity: 0; transition: opacity .4s;
}
.focus-card__glow {
	position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(360px circle at var(--mx) var(--my), rgba(123, 82, 232, .16), transparent 60%);
}
.focus-card:hover, .service-card:hover { transform: translateY(-6px); }
.focus-card:hover::before, .service-card:hover::before,
.focus-card:hover .focus-card__glow, .service-card:hover .focus-card__glow { opacity: 1; }

.focus-card__tag { position: absolute; top: 28px; right: 30px; font: 400 13px/1 var(--f-display); color: var(--dim); }
.focus-card__icon {
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 30px;
	background: linear-gradient(135deg, rgba(180, 63, 196, .22), rgba(74, 47, 145, .22));
	border: 1px solid rgba(180, 63, 196, .35); color: #e3b5ff;
}
.focus-card__icon .ac-icon { width: 28px; height: 28px; }
.focus-card__title, .service-card__title { font: 400 19px/1.3 var(--f-display); text-transform: uppercase; margin-bottom: 14px; }
.focus-card__text { color: var(--muted); font-size: 15.5px; flex: 1; }
.focus-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--teal); margin-top: 16px; }
.focus-card__more .ac-icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.focus-card:hover .focus-card__more .ac-icon { transform: translateX(5px); }

.focus-card--alt { background: linear-gradient(160deg, rgba(62, 207, 142, .12), rgba(42, 111, 181, .1) 60%, var(--surface)); }
.focus-card--alt .focus-card__icon { background: rgba(62, 207, 142, .12); border-color: rgba(62, 207, 142, .4); color: var(--teal); }
.focus-card--alt .focus-card__tag { font-size: 22px; color: var(--teal); top: 22px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card p { color: var(--muted); font-size: 15.5px; }

.ticks { display: grid; gap: 10px; margin: 8px 0 26px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
	border-left: 1.8px solid var(--teal); border-bottom: 1.8px solid var(--teal); transform: rotate(-45deg);
}

.open-ended {
	margin-top: 60px; padding: clamp(30px, 5vw, 56px); border-radius: var(--radius);
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	background: linear-gradient(120deg, rgba(139, 42, 155, .18), rgba(42, 111, 181, .14));
	border: 1px solid var(--line-2);
}
.open-ended > div { max-width: 640px; }
.open-ended p:last-child { color: var(--muted); margin: 0; }

/* ==========================================================================
   Work list + floating preview
   ========================================================================== */
.work-list { border-top: 1px solid var(--line); }
.work-row { border-bottom: 1px solid var(--line); }
.work-row__link {
	position: relative; display: grid; grid-template-columns: 60px 1fr auto 50px; align-items: center; gap: 24px;
	padding: clamp(26px, 3.4vw, 44px) 8px; overflow: hidden;
}
.work-row__link::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(139, 42, 155, .16), rgba(42, 111, 181, .1), transparent);
	transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.work-row__link:hover::before { transform: scaleY(1); }
.work-row__num { font: 400 14px/1 var(--f-display); color: var(--dim); }
.work-row__title {
	font: 400 clamp(22px, 3.6vw, 48px)/1.1 var(--f-display); text-transform: uppercase;
	transition: transform .5s var(--ease), color .3s;
}
.work-row__link:hover .work-row__title { transform: translateX(16px); }
.work-row__type { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.work-row__arrow {
	display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
	border: 1px solid var(--line-2); transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.work-row__arrow .ac-icon { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.work-row__link:hover .work-row__arrow { background: var(--g-brand); border-color: transparent; }
.work-row__link:hover .work-row__arrow .ac-icon { transform: none; }
@media (max-width: 700px) {
	.work-row__link { grid-template-columns: 1fr auto; gap: 8px 16px; }
	.work-row__num { display: none; }
	.work-row__type { grid-row: 2; }
	.work-row__arrow { grid-row: 1 / span 2; grid-column: 2; }
}

.work-float {
	position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
	width: 340px; height: 230px; margin: -115px 0 0 -170px;
	opacity: 0; scale: .6; transition: opacity .35s, scale .5s var(--ease);
	will-change: transform;
}
.work-float.is-on { opacity: 1; scale: 1; }
.work-float__card {
	position: absolute; inset: 0; border-radius: 18px; overflow: hidden; padding: 22px;
	display: flex; flex-direction: column; justify-content: flex-end;
	opacity: 0; transition: opacity .3s;
	border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.work-float__card.is-active { opacity: 1; }
[data-hue="purple"] { --hue-a: #8b2a9b; --hue-b: #4a2f91; }
[data-hue="teal"] { --hue-a: #1f9e70; --hue-b: #1d5d8f; }
[data-hue="blue"] { --hue-a: #2a6fb5; --hue-b: #5b45d6; }
.work-float__card { background: linear-gradient(135deg, var(--hue-a), var(--hue-b)); }
.work-float__client { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.work-float__title { font: 400 22px/1.15 var(--f-display); text-transform: uppercase; }
.work-float__ui {
	position: absolute; top: 20px; left: 22px; right: 22px; display: grid; gap: 8px;
}
.work-float__ui i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.work-float__ui i:nth-child(1) { width: 40%; background: rgba(255, 255, 255, .5); }
.work-float__ui i:nth-child(2) { width: 85%; }
.work-float__ui i:nth-child(3) { width: 65%; }
.work-float__ui i:nth-child(4) { width: 75%; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }
.process__step { position: relative; padding: 30px 26px 30px 0; border-top: 1px solid var(--line-2); }
.process__step::before {
	content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0;
	background: var(--g-full); transition: width 1.2s var(--ease) var(--d, 0ms);
}
.process__step.is-in::before { width: 100%; }
.process__n {
	display: inline-block; font: 400 42px/1 var(--f-display); margin-bottom: 22px;
	background: var(--g-full); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process__step h3 { font: 400 17px/1.3 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.process__step p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   Why / About split
   ========================================================================== */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why__visual { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.why__visual::before {
	content: ""; position: absolute; inset: 15%; border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 59, 199, .35), transparent 70%); filter: blur(40px);
}
.why__mark { position: relative; width: 100%; height: auto; }
.why__mark .ac-mark__orbit { transform-origin: 50% 50%; transform-box: view-box; animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.why__list { display: grid; gap: 26px; margin-top: 10px; }
.why__list li { display: flex; gap: 18px; }
.why__list .ac-icon { width: 26px; height: 26px; flex: none; color: var(--teal); margin-top: 2px; }
.why__list strong { display: block; font-weight: 600; margin-bottom: 4px; }
.why__list span { color: var(--muted); font-size: 15.5px; }
.prose p { color: var(--muted); }

/* ==========================================================================
   Solutions / Case studies
   ========================================================================== */
.solution, .case {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center;
	padding-block: clamp(40px, 6vw, 80px);
}
.solution + .solution, .case + .case { border-top: 1px solid var(--line); }
.solution--flip .solution__visual, .case--flip .case__visual { order: -1; }
@media (max-width: 900px) {
	.solution, .case { grid-template-columns: 1fr; }
	.solution--flip .solution__visual, .case--flip .case__visual { order: 0; }
}
.solution__copy > p:not(.eyebrow), .case__copy > p:not(.eyebrow) { color: var(--muted); }
.solution { scroll-margin-top: calc(var(--header-h) + 20px); }
.case { scroll-margin-top: calc(var(--header-h) + 20px); }

.badge {
	display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
	font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--teal); background: rgba(62, 207, 142, .1); border: 1px solid rgba(62, 207, 142, .35);
}

.solution__visual, .case__visual {
	position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18), transparent 40%),
		linear-gradient(135deg, var(--hue-a), var(--hue-b));
	border: 1px solid var(--line-2);
	box-shadow: 0 40px 100px -40px var(--hue-a);
	transition: transform .6s var(--ease);
}
.solution__visual:hover, .case__visual:hover { transform: scale(1.02) rotate(-.5deg); }
.solution__icon {
	position: absolute; top: 50%; left: 50%; translate: -50% -60%;
	width: 34%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%;
	background: rgba(17, 16, 25, .35); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25);
}
.solution__icon .ac-icon { width: 50%; height: 50%; color: #fff; }
.mock { position: absolute; left: 8%; right: 8%; bottom: 9%; display: grid; gap: 10px; }
.mock i { height: 10px; width: var(--w); border-radius: 5px; background: rgba(255, 255, 255, .25); }
.case__big {
	position: absolute; top: 10%; left: 8%; right: 8%;
	font: 400 clamp(26px, 3.6vw, 46px)/1.05 var(--f-display); text-transform: uppercase; color: rgba(255, 255, 255, .92);
}
.case__client { color: var(--teal) !important; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 28px; }
.tags li { padding: 7px 14px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line-2); color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band__inner {
	position: relative; overflow: hidden; text-align: center;
	padding: clamp(60px, 9vw, 120px) clamp(24px, 5vw, 80px); border-radius: 32px;
	background: linear-gradient(160deg, #1d1a2e, #13121c);
	border: 1px solid var(--line-2);
}
.cta-band__glow {
	position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; translate: -50% -45%;
	background: radial-gradient(circle, rgba(139, 59, 199, .5), rgba(62, 207, 142, .15) 45%, transparent 70%);
	filter: blur(30px); pointer-events: none;
}
.cta-band__inner > *:not(.cta-band__glow) { position: relative; }
.cta-band__title { font: 400 clamp(28px, 5vw, 64px)/1.1 var(--f-display); text-transform: uppercase; margin-bottom: 22px; }
.cta-band__lead { color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .eyebrow::before { display: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; scroll-margin-top: var(--header-h); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: grid; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.contact__list a { font-size: clamp(17px, 1.6vw, 21px); transition: color .3s; }
.contact__list a:hover { color: var(--teal); }

.contact__form-wrap {
	padding: clamp(24px, 4vw, 48px); border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
	width: 100%; padding: 15px 16px; border-radius: var(--radius-sm);
	background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2);
	transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-3); }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 82, 232, .18);
}
.form .btn { justify-self: start; border: 0; }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 15px; }
.notice--ok { background: rgba(62, 207, 142, .12); border: 1px solid rgba(62, 207, 142, .4); }
.notice--err { background: rgba(230, 80, 110, .12); border: 1px solid rgba(230, 80, 110, .4); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 80px; }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
@media (max-width: 800px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer__brand p { color: var(--muted); max-width: 380px; margin-top: 22px; font-size: 15px; }
.site-footer__col h3 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-family: var(--f-body); font-weight: 500; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { color: var(--muted); transition: color .3s; }
.site-footer__col a:hover { color: var(--text); }
.site-footer__bottom {
	display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim);
}
.to-top:hover { color: var(--teal); }
.site-footer__giant {
	font: 400 clamp(60px, 17vw, 260px)/.8 var(--f-display); letter-spacing: .08em; text-align: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 85%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	margin-top: 10px; user-select: none; white-space: nowrap;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .focus-card.reveal.is-in:hover, .js .service-card.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* backdrop-filter creates a containing block for fixed children — drop it while the mobile nav is open */
.nav-open .site-header { backdrop-filter: none; background: transparent; border-bottom-color: transparent; }

/* ==========================================================================
   Consent checkbox, legal links, cookie bar
   ========================================================================== */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); }
.consent a, .cookie-bar a, .prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.site-footer__legal a:hover, .link-btn:hover { color: var(--text); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }

.cookie-bar {
	position: fixed; z-index: 200; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
	translate: -50% 0; width: min(920px, calc(100% - 32px));
	display: flex; gap: 24px; align-items: center; justify-content: space-between;
	padding: 20px 24px; border-radius: 18px;
	background: rgba(24, 22, 36, .92); backdrop-filter: blur(16px);
	border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
	animation: fadeUp .6s var(--ease);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cookie-bar__text p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.cookie-bar__actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 700px) {
	.cookie-bar { flex-direction: column; align-items: stretch; }
	.cookie-bar__actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   Long-form content (policies, generic pages)
   ========================================================================== */
.prose { max-width: 820px; }
.prose h2 { font: 400 clamp(18px, 2vw, 22px)/1.3 var(--f-display); text-transform: uppercase; margin: 48px 0 16px; color: var(--text); }
.prose h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; display: grid; gap: 6px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose .updated { font-size: 14px; color: var(--dim); }

/* Giant footer wordmark is decorative: never let it cover (and swallow clicks on) the links above it */
.site-footer__giant { pointer-events: none; position: relative; z-index: 0; }
.site-footer__bottom, .site-footer__top { position: relative; z-index: 1; }
.site-footer__legal a, .site-footer__legal .link-btn, .site-footer__col a {
	display: inline-block; padding-block: 6px; text-decoration: underline; text-decoration-color: transparent;
	text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s;
}
.site-footer__legal a:hover, .site-footer__legal .link-btn:hover, .site-footer__col a:hover,
.site-footer__legal a:focus-visible, .site-footer__col a:focus-visible { text-decoration-color: var(--teal); }
.site-footer__col .link-btn { color: var(--muted); padding-block: 6px; text-align: left; }
.site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* Legal hub + related-policy links */
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .legal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-card {
	display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
	transition: border-color .3s, transform .4s var(--ease);
}
.legal-card:hover, .legal-card:focus-visible { border-color: var(--teal); transform: translateY(-4px); }
.legal-card h2 { font: 400 17px/1.3 var(--f-display); text-transform: uppercase; }
.legal-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.legal-card span { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 14px; }
.legal-card .ac-icon { width: 16px; height: 16px; }
.legal-related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-related h2 { margin-top: 0 !important; }
.legal-related ul { list-style: none !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.legal-related a {
	display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2);
	color: var(--text) !important; text-decoration: none !important; font-size: 14px; transition: border-color .3s, background .3s;
}
.legal-related a:hover, .legal-related a:focus-visible { border-color: var(--teal); background: rgba(62, 207, 142, .08); }
.prose .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 24px 20px 44px; }

#top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; outline: none; }

/* ==========================================================================
   Absolut LMS (home spotlight, Solutions, /lms/ page, demo modal)
   ========================================================================== */
/* Device frames around real product screenshots */
.lms-shot { position: relative; padding: 0 6% 8% 0; }
.lms-shot::before {
	content: ""; position: absolute; inset: 10% 10% 0; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(123, 82, 232, .45), rgba(62, 207, 142, .12) 50%, transparent 70%); filter: blur(40px);
}
.lms-laptop { position: relative; }
.lms-laptop__screen {
	padding: 1.2% 1.2% 0; border-radius: 14px 14px 0 0; background: #0b0a12;
	box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.lms-laptop__screen img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; }
.lms-laptop__base {
	height: 14px; margin: 0 -5%; border-radius: 0 0 16px 16px;
	background: linear-gradient(#3a3950, #1d1c2a); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .9);
}
.lms-phone {
	position: absolute; right: 0; bottom: 0; width: 27%;
	padding: 1.3%; border-radius: 13% / 6.2%; background: linear-gradient(145deg, #3b3a52, #151422);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .95);
}
.lms-phone__screen { overflow: hidden; border-radius: 11% / 5.2%; background: #000; }
.lms-phone__screen img { display: block; width: 100%; height: auto; }
.lms-shot:not(.lms-shot--phone) { padding: 0; }
.lms-shot .lms-laptop { transition: transform .6s var(--ease); }
.lms-shot:hover .lms-laptop { transform: translateY(-6px); }

.solution--flip .lms-shot { order: -1; }
@media (max-width: 900px) { .solution--flip .lms-shot { order: 0; } }

/* Hero announcement link */
.hero__news {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 6px 14px 6px 6px;
	border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
	font-size: 14px; color: var(--text); opacity: 0; animation: fadeUp 1s var(--ease) .15s forwards;
	transition: border-color .3s, background .3s;
}
.hero__news span { padding: 4px 10px; border-radius: 999px; background: var(--g-brand); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero__news .ac-icon { width: 16px; height: 16px; color: var(--teal); transition: transform .35s var(--ease); }
.hero__news:hover { border-color: var(--teal); background: rgba(62, 207, 142, .08); }
.hero__news:hover .ac-icon { transform: translateX(4px); }
.hero__eyebrow { margin-bottom: 18px; }

/* Home spotlight */
.lms-spot { overflow: hidden; padding-bottom: clamp(30px, 5vw, 60px); }
.lms-spot::before {
	content: ""; position: absolute; inset: 8% -10% auto auto; width: 60%; height: 80%; pointer-events: none;
	background: radial-gradient(closest-side, rgba(139, 59, 199, .22), transparent); filter: blur(20px);
}
.lms-spot__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 960px) { .lms-spot__inner { grid-template-columns: minmax(0, 1fr); } }
.lms-spot .section-title { margin-bottom: 24px; font-size: clamp(28px, 3.3vw, 44px); }
.lms-spot__lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); margin-bottom: 22px; max-width: 560px; }
.lms-spot__ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-bottom: 34px; }
@media (max-width: 560px) { .lms-spot__ticks { grid-template-columns: minmax(0, 1fr); } }
.lms-spot .badge { display: table; }

/* /lms/ page */
.lms-hero__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 70px); align-items: center;
}
.lms-hero .page-hero__title { font-size: clamp(28px, 3.1vw, 44px); }
.lms-hero .page-hero__lead { margin-bottom: 34px; }
.lms-hero .badge { display: table; }
@media (max-width: 960px) { .lms-hero__inner { grid-template-columns: minmax(0, 1fr); } }
.lms-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .lms-editions { grid-template-columns: minmax(0, 1fr); } }
.lms-edition .focus-card__icon { margin-bottom: 22px; }
.lms-edition__tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.lms-edition--purple .lms-edition__tag { color: #c784e0; }
.lms-edition .ticks { margin-bottom: 0; margin-top: 18px; }
.lms-features { padding-top: 0; }
#book-demo { scroll-margin-top: var(--header-h); }
.muted-text { color: var(--muted); margin-bottom: 30px; }

/* Demo booking modal */
.demo-modal {
	width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0;
	border: 1px solid var(--line-2); border-radius: 24px; color: var(--text);
	background: linear-gradient(160deg, #1d1a2e, #13121c); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
	overflow: auto; overscroll-behavior: contain;
}
.demo-modal:focus, .demo-modal:focus-visible { outline: none; }
.demo-modal::backdrop { background: rgba(10, 9, 16, .72); backdrop-filter: blur(6px); }
.demo-modal[open] { animation: fadeUp .45s var(--ease); }
.demo-modal__inner { position: relative; padding: clamp(24px, 4vw, 44px); }
.demo-modal__lead { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.demo-modal__close {
	position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 42px; height: 42px;
	border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer;
	transition: border-color .3s, background .3s;
}
.demo-modal__close:hover { border-color: var(--teal); background: rgba(62, 207, 142, .08); }
.demo-modal__close .ac-icon { width: 20px; height: 20px; rotate: 45deg; }
/* The dialog sits above the custom cursor, so use the normal pointer inside it. */
html.has-cursor .demo-modal, html.has-cursor .demo-modal * { cursor: auto !important; }
html.has-cursor .demo-modal :is(a, button, select, label.consent, input[type="checkbox"]) { cursor: pointer !important; }
html.has-cursor .demo-modal :is(input:not([type="checkbox"]), textarea) { cursor: text !important; }
body.demo-open { overflow: hidden; }
