/* ==========================================================================
   IS Solutions — Corporate Website
   Layout modelled on the Tabler (tabler.io) landing page:
   light-first, centered hero over a framed product preview, card grids,
   alternating split rows, accordion FAQ, gradient CTA band, column footer.

   Palette: enterprise indigo primary + teal/violet/amber data accents on a
   cool slate neutral ramp — readable, calm, and unmistakably "systems software".
   Dark theme is available via the toggle; light is the default.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
	/* Neutrals — cool slate */
	--bg:      #f6f8fc;   /* page */
	--bg-alt:  #ffffff;   /* alternating band */
	--sur:     #ffffff;   /* cards */
	--sur-2:   #eef2f9;   /* subtle fills, inputs on white */
	--bd:      #e3e9f3;
	--bd-2:    #d0dae9;
	--tx:      #0f1a2f;   /* headings */
	--tx-2:    #31405c;   /* strong body */
	--mu:      #566582;   /* body / muted */
	--dim:     #8593ad;   /* labels, meta */

	/* Brand — enterprise indigo */
	--brand:      #2557d6;
	--brand-ink:  #1a3fa6;   /* hover / pressed */
	--brand-soft: #e9eefc;   /* tinted fill */
	--brand-line: #c6d5f7;

	/* Data accents (feature icons, stats, charts) */
	--teal:   #0e8f89;
	--violet: #6247d4;
	--amber:  #c2740a;
	--green:  #0e8a5f;

	--ring: rgba(37, 87, 214, .16);

	/* Orbital panel face — an rgb triplet so it can carry an alpha in the
	   frosted @supports rule. Pale indigo wash against the white hero stage. */
	--orb-face: 223, 230, 249;

	--sh-sm: 0 1px 2px rgba(15, 26, 47, .05);
	--sh:    0 2px 6px rgba(15, 26, 47, .06), 0 1px 2px rgba(15, 26, 47, .04);
	--sh-md: 0 12px 28px rgba(15, 26, 47, .09), 0 2px 6px rgba(15, 26, 47, .05);
	--sh-lg: 0 32px 70px rgba(15, 26, 47, .16), 0 6px 16px rgba(15, 26, 47, .07);

	--maxw:  1280px;
	--r-sm:  6px;
	--r:     10px;
	--r-md:  14px;
	--r-lg:  20px;
	--ease:  cubic-bezier(.22, 1, .36, 1);
}

html.dark {
	--bg:      #0a1120;
	--bg-alt:  #0d1526;
	--sur:     #111c30;
	--sur-2:   #172440;
	--bd:      #1f2c47;
	--bd-2:    #2b3b5b;
	--tx:      #eaf0fb;
	--tx-2:    #cbd6ea;
	--mu:      #94a3be;
	--dim:     #6e7e9c;

	--brand:      #6c9bff;
	--brand-ink:  #8fb4ff;
	--brand-soft: rgba(108, 155, 255, .13);
	--brand-line: rgba(108, 155, 255, .28);

	--teal:   #2dd4bf;
	--violet: #a48bff;
	--amber:  #f0b34a;
	--green:  #35d399;

	--ring: rgba(108, 155, 255, .25);

	/* the same brand tint carried into the dark surface, not the pale wash */
	--orb-face: 28, 43, 73;

	--sh-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--sh:    0 2px 8px rgba(0, 0, 0, .35);
	--sh-md: 0 14px 32px rgba(0, 0, 0, .45);
	--sh-lg: 0 32px 70px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'Inter', 'DM Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	background: var(--bg);
	color: var(--tx-2);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background .25s ease, color .25s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--tx); font-weight: 700; letter-spacing: -.021em; line-height: 1.2; }

::selection { background: var(--brand); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bd-2); border-radius: 6px; border: 3px solid var(--bg); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: .75rem 1.25rem;
	background: var(--brand);
	color: #fff;
	border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* visually hidden, still announced by screen readers */
.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.shell-narrow { max-width: 46rem; }

section { position: relative; }
.band     { padding: 6rem 0; background: var(--bg); }
.band-alt { padding: 6rem 0; background: var(--bg-alt); border-block: 1px solid var(--bd); }
.band-tight { padding: 4.5rem 0; }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: .9rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	font-weight: 600;
	padding: .38rem .85rem .38rem .6rem;
	border-radius: 999px;
	color: var(--brand);
	background: var(--brand-soft);
	border: 1px solid var(--brand-line);
}
.chip b {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: .12rem .45rem;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
}

.h-xl { font-size: clamp(2.3rem, 5.2vw, 3.5rem); line-height: 1.1; letter-spacing: -.03em; }
.h-lg { font-size: clamp(1.85rem, 3.4vw, 2.5rem); letter-spacing: -.026em; }
.h-md { font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -.022em; }

.lead { font-size: 1.075rem; line-height: 1.7; color: var(--mu); }
.muted { color: var(--mu); }

.sec-head { max-width: 40rem; margin: 0 auto 3.25rem; text-align: center; }
.sec-head p { margin-top: 1rem; }
.sec-head-left { text-align: left; margin-inline: 0; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	padding: .78rem 1.4rem;
	border-radius: var(--r);
	border: 1px solid transparent;
	transition: background .18s ease, border-color .18s ease, color .18s ease,
	            box-shadow .18s ease, transform .18s var(--ease);
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--brand-ink); box-shadow: 0 4px 14px var(--ring); }

.btn-outline { background: var(--sur); color: var(--tx); border-color: var(--bd-2); box-shadow: var(--sh-sm); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-quiet { color: var(--mu); padding-inline: .5rem; }
.btn-quiet:hover { color: var(--brand); }

.btn-white { background: #fff; color: var(--brand-ink); }
.btn-white:hover { background: #eef2fd; }

.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-sm { padding: .5rem 1rem; font-size: .875rem; border-radius: var(--r-sm); }
.btn-lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 300;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--bd);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
}
@supports (backdrop-filter: blur(1px)) {
	.nav { background: color-mix(in srgb, var(--bg-alt) 85%, transparent); }
}
.nav-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 1.5rem;
	height: 4.25rem;
	display: flex;
	align-items: center;
	gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand span { font-weight: 700; font-size: 1.05rem; color: var(--tx); letter-spacing: -.02em; }
/* the source logo is a dark mark — invert it only on the dark theme */
html.dark .logo-img { filter: invert(1) brightness(2.1); }

.nav-links { display: flex; align-items: center; gap: .35rem; margin-right: auto; }
.nav-links a:not(.btn) {
	font-size: .92rem;
	font-weight: 500;
	color: var(--mu);
	padding: .45rem .7rem;
	border-radius: var(--r-sm);
	transition: color .18s ease, background .18s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--tx); background: var(--sur-2); }

.nav-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.icon-btn {
	width: 2.25rem; height: 2.25rem;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--r-sm);
	color: var(--mu);
	border: 1px solid var(--bd-2);
	background: var(--sur);
	transition: color .18s ease, border-color .18s ease;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }

.nav-mobile { display: none; align-items: center; gap: .5rem; margin-left: auto; }

.mobile-menu {
	display: none;
	flex-direction: column;
	gap: .15rem;
	padding: 1rem 1.5rem 1.5rem;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--bd);
	position: sticky;
	top: 4.25rem;
	z-index: 299;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
	font-size: .95rem;
	font-weight: 500;
	color: var(--mu);
	padding: .75rem .6rem;
	border-radius: var(--r-sm);
}
.mobile-menu a:not(.btn):hover { color: var(--tx); background: var(--sur-2); }
.mobile-menu .btn { margin-top: .6rem; }

/* --------------------------------------------------------------------------
   7. Hero — centered, Tabler style
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	text-align: center;
	background: var(--bg-alt);
	overflow: hidden;
}
/* soft brand wash bleeding in from above the fold — sits behind the chip
   strip at the top of the hero, before the stage's own background starts */
.hero::before {
	content: '';
	position: absolute;
	top: -22rem; left: 50%;
	width: 72rem; height: 42rem;
	transform: translateX(-50%);
	pointer-events: none;
	background: radial-gradient(ellipse at center, var(--brand-soft), transparent 62%);
}

.hero h1 { margin: 1.1rem 0 1.25rem; }
.hero .lead { max-width: 40rem; margin: 0 auto 2rem; font-size: 1.125rem; }

/* ==========================================================================
   7a. Orbital hero stage
   Ported from the Tooplate "Orbital" template (mainwebsite/orbital/): a ring
   of panels orbiting the centered hero copy, spun by drag / horizontal wheel
   with momentum, parallax-tilted by pointer position.
   Re-themed to the IS palette and namespaced `orb-` so it cannot collide with
   the `.panel` component used in the Approach section.
   ========================================================================== */
.hero-stage {
	position: relative;
	/* Clear space under the orbit. It has to be an inset on .orb-stage, not
	   padding here: .orb-stage is absolutely positioned, so it resolves against
	   this element's *padding box* and would simply cover any padding. */
	--orb-clear: 3rem;
	min-height: clamp(24rem, 46vh, 31rem);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	/* Deliberately transparent. An opaque fill here would paint over the
	   hero's wash and chop it off with a hard edge at the stage's top border,
	   so the stage lets .hero's background and glow carry straight through. */
	background: transparent;
}
/* second, wider wash centred on the ring — overlaps the hero's own glow so
   the two blend into one continuous field rather than meeting at a seam */
.hero-stage::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 68rem; height: 40rem;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: radial-gradient(ellipse at center, var(--brand-soft), transparent 62%);
}

.orb-stage {
	position: absolute;
	/* stops short of the bottom, so the ring centres higher in the band */
	inset: 0 0 var(--orb-clear, 0) 0;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 1300px;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.orb-stage.dragging { cursor: grabbing; }

.orb-parallax {
	position: relative;
	width: 1px; height: 1px;
	transform-style: preserve-3d;
	transition: transform .6s var(--ease);
	/* Raises the whole assembly — ring and centred copy — inside the stage.
	   Must be a margin, not a transform: the rAF loop rewrites this element's
	   transform every frame for the parallax tilt and would overwrite one. */
	margin-top: -4rem;
}

.orb-tilt {
	position: absolute;
	top: 0; left: 0;
	transform-style: preserve-3d;
	transform: rotateX(var(--tiltX, -20deg));
}
.orb-ring {
	position: absolute;
	top: 0; left: 0;
	transform-style: preserve-3d;
	will-change: transform;
}

/* ── module panels ── */
.orb-panel {
	position: absolute;
	top: 0; left: 0;
	width: 158px; height: 105px;
	margin-left: -79px; margin-top: -52px;
	padding: .85rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 18px;
	/* Opaque by default. Panels sweep in front of the headline, so they only
	   go translucent where a backdrop blur exists to keep the label legible
	   against whatever passes behind — see the @supports block below. */
	background: rgb(var(--orb-face));
	box-shadow: 0 10px 26px rgba(15, 26, 47, .10), 0 2px 5px rgba(15, 26, 47, .05);
	transform: rotateY(var(--ry)) translateZ(var(--tz)) rotateZ(var(--rz)) scale(var(--s, 1));
	transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
/* 1px gradient border via a masked pseudo element */
.orb-panel::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(to bottom right, rgba(37, 87, 214, .55), rgba(14, 143, 137, .3));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	transition: background .7s var(--ease);
}

/* Frosted glass only where the browser can actually blur the backdrop.
   The blur is what keeps the label readable at 72% opacity; without it the
   panel stays solid rather than letting the headline read through it. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.orb-panel {
		background: rgba(var(--orb-face), .72);
		-webkit-backdrop-filter: blur(16px) saturate(150%);
		backdrop-filter: blur(16px) saturate(150%);
	}
}
.orb-panel:hover {
	--s: 1.1;
	box-shadow: 0 18px 40px rgba(37, 87, 214, .22), 0 3px 8px rgba(15, 26, 47, .08);
}
.orb-panel:hover::after {
	background: linear-gradient(to bottom right, rgba(37, 87, 214, .9), rgba(14, 143, 137, .55));
}

/* The face follows the theme, so the type can stay on the page tokens. */
.orb-num {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--teal);
}
/* three flex children — number, icon, label group — spread by space-between */
.orb-ico { color: var(--brand); opacity: .55; }
.orb-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .3px;
	line-height: 1.25;
	color: var(--tx);
}
.orb-meta {
	display: block;
	margin-top: .25rem;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--dim);
}

/* ── centered hero copy, floating above the ring ── */
.orb-text {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%) translateZ(60px);
	width: 90vw;
	max-width: 48rem;
	z-index: 2;
	text-align: center;
	/* clicks pass through to the stage so the ring stays draggable behind the copy */
	pointer-events: none;
}
/* type keeps the page's default colours — var(--tx) / var(--mu) */
.orb-text .lead { margin-bottom: 0; }

/* chip above the stage, CTAs and metrics below it */
.hero-above { position: relative; z-index: 2; padding-top: 2.5rem; }
.hero-below { position: relative; padding-bottom: 0; }

/* the ring is decorative — no motion, no drag affordance */
@media (prefers-reduced-motion: reduce) {
	.orb-stage { cursor: default; }
	.orb-panel { transition: none; }
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-bottom: 1rem;
}
.hero-note { font-size: .875rem; color: var(--dim); }
.hero-note a { color: var(--brand); font-weight: 600; }
.hero-note a:hover { text-decoration: underline; }

.hero-metrics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	margin: 2.5rem auto 0;
	max-width: 44rem;
	border: 1px solid var(--bd);
	border-radius: var(--r-md);
	background: var(--sur);
	box-shadow: var(--sh-sm);
	overflow: hidden;
}
.hero-metrics li {
	flex: 1 1 0;
	min-width: 8rem;
	padding: 1.1rem .75rem;
	border-left: 1px solid var(--bd);
}
.hero-metrics li:first-child { border-left: none; }
.hero-metrics b {
	display: block;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	color: var(--tx);
	letter-spacing: -.03em;
}
.hero-metrics span { display: block; margin-top: .3rem; font-size: .8rem; color: var(--dim); }

/* framed product preview */
.hero-preview { position: relative; margin-top: 3.5rem; padding-bottom: 4rem; }
.hero-preview::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	background: linear-gradient(to bottom, transparent, var(--bg));
	pointer-events: none;
	z-index: 2;
}
.frame {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	border-radius: var(--r-lg);
	background: var(--sur);
	border: 1px solid var(--bd-2);
	box-shadow: var(--sh-lg);
	overflow: hidden;
	text-align: left;
}

/* --------------------------------------------------------------------------
   8. App launcher mock (the "product screenshot")
   Mirrors the real IS Platform "Apps → Overview" module grid: top chrome,
   tab strip, breadcrumb, module cards with ribbon + alert count, and the
   Monitoring dropdown hanging from the notification bell.
   -------------------------------------------------------------------------- */

/* ── top chrome ── */
.app-bar {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .7rem 1.1rem;
	background: var(--sur);
	border-bottom: 1px solid var(--bd);
}
.app-logo { display: flex; align-items: baseline; gap: .4rem; }
.app-logo b {
	font-size: 1rem;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -.035em;
	color: var(--tx);
}
.app-logo span { font-size: .82rem; font-weight: 600; color: var(--mu); }

.app-tools { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.app-start {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	font-size: .7rem;
	font-weight: 600;
	color: var(--tx-2);
	padding: .3rem .6rem;
	border-radius: var(--r-sm);
	border: 1px solid var(--bd-2);
	background: var(--bg);
}
.app-ico {
	position: relative;
	width: 1.55rem; height: 1.55rem;
	display: grid; place-items: center;
	border-radius: var(--r-sm);
	color: var(--mu);
}
.app-ico .ping {
	position: absolute;
	top: .1rem; right: .15rem;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: #d94b4b;
	animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }

.app-user { display: flex; align-items: center; gap: .5rem; padding-left: .5rem; }
.app-user .av-lg {
	width: 1.9rem; height: 1.9rem;
	border-radius: var(--r-sm);
	background: var(--sur-2);
	border: 1px solid var(--bd);
	flex-shrink: 0;
}
.app-user b { display: block; font-size: .72rem; color: var(--tx); }
.app-user small { display: block; font-size: .63rem; color: var(--dim); }

/* ── tab strip ── */
.app-tabs {
	display: flex;
	gap: 1.25rem;
	padding: 0 1.1rem;
	background: var(--sur);
	border-bottom: 1px solid var(--bd);
}
.app-tab {
	display: flex;
	align-items: center;
	gap: .35rem;
	padding: .5rem .1rem .45rem;
	font-size: .76rem;
	font-weight: 600;
	color: var(--mu);
	border-bottom: 2px solid transparent;
}
.app-tab.on { color: var(--tx); border-bottom-color: var(--brand); }

/* ── body ── */
.app-body { position: relative; padding: 1rem 1.1rem 1.4rem; background: var(--bg); }
/* fade the last row so the grid reads as "continues below" */
.app-body::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4.5rem;
	background: linear-gradient(to bottom, transparent, var(--bg));
	pointer-events: none;
}

.crumbs { font-size: .72rem; color: var(--dim); margin-bottom: .8rem; }
.crumbs b { color: var(--brand); font-weight: 500; }

.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }

.app-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 6.4rem;
	padding: .75rem .8rem .65rem;
	border-radius: var(--r-sm);
	background: var(--sur);
	border: 1px solid var(--bd);
}
.app-card h4 { font-size: .78rem; padding-right: 1.8rem; margin-bottom: .28rem; }
.app-card p { font-size: .655rem; line-height: 1.45; color: var(--mu); }
.app-card-foot { margin-top: auto; padding-top: .55rem; display: flex; align-items: center; gap: .3rem; }

/* the bookmark ribbon that hangs off the top edge of every module card */
.ribbon {
	position: absolute;
	top: 0; right: .65rem;
	width: 1.5rem; height: 1.8rem;
	display: grid; place-items: center;
	padding-bottom: .3rem;
	color: #fff;
	background: var(--brand);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.avs { display: flex; }
.avs span {
	width: 1.05rem; height: 1.05rem;
	border-radius: 3px;
	background: var(--sur-2);
	border: 1px solid var(--bd);
	margin-right: -.2rem;
}
.avs span:last-child { margin-right: 0; }

.alert {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: .18rem;
	font-size: .655rem;
	font-weight: 600;
	color: #d94b4b;
	font-variant-numeric: tabular-nums;
}
.go {
	width: 1.3rem; height: 1.3rem;
	flex-shrink: 0;
	display: grid; place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--brand);
}
.app-card-foot .go:only-child,
.app-card-foot .alert + .go { margin-left: .15rem; }

/* ── Monitoring dropdown ── */
.monitor-pop {
	position: absolute;
	top: 2.55rem; right: 1.1rem;
	width: 16.5rem;
	z-index: 4;
	border-radius: var(--r-sm);
	background: var(--sur);
	border: 1px solid var(--bd);
	box-shadow: var(--sh-lg);
	overflow: hidden;
}
.monitor-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: .6rem .8rem;
	border-bottom: 1px solid var(--bd);
}
.monitor-head b { font-size: .82rem; color: var(--tx); }
.show-all {
	font-size: .62rem;
	font-weight: 700;
	padding: .15rem .5rem;
	border-radius: var(--r-sm);
	color: var(--green);
	background: var(--sur-2);
	background: color-mix(in srgb, var(--green) 13%, transparent);
}
.monitor-item { padding: .6rem .8rem; border-bottom: 1px solid var(--bd); }
.monitor-item:last-child { border-bottom: none; }
.monitor-item small {
	display: block;
	font-size: .58rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: .15rem;
}
.monitor-n {
	display: flex; align-items: center; gap: .3rem;
	font-size: 1.1rem; font-weight: 700; line-height: 1.15;
	color: var(--tx);
	font-variant-numeric: tabular-nums;
}
.monitor-n svg { color: var(--green); }
.monitor-item p {
	display: flex; align-items: center; justify-content: space-between; gap: .5rem;
	margin-top: .2rem;
	font-size: .655rem;
	color: var(--mu);
}
.monitor-item p svg { color: var(--brand); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   9. Feature cards (3-up)
   -------------------------------------------------------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
	padding: 2rem 1.75rem;
	border-radius: var(--r-md);
	background: var(--sur);
	border: 1px solid var(--bd);
	box-shadow: var(--sh-sm);
	transition: box-shadow .22s ease, transform .22s var(--ease), border-color .22s ease;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: var(--bd-2); }
.card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.card p { font-size: .935rem; color: var(--mu); }

.tile {
	width: 3rem; height: 3rem;
	display: grid; place-items: center;
	border-radius: var(--r);
	margin-bottom: 1.25rem;
	color: var(--accent, var(--brand));
	background: var(--sur-2);
	background: color-mix(in srgb, var(--accent, var(--brand)) 11%, transparent);
	border: 1px solid var(--bd-2);
	border-color: color-mix(in srgb, var(--accent, var(--brand)) 26%, transparent);
}

/* --------------------------------------------------------------------------
   10. Split rows (text + visual)
   -------------------------------------------------------------------------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.split + .split { margin-top: 6rem; }
.split-flip .split-copy { order: 2; }
.split-copy p { margin-top: 1rem; }

.ticks { margin-top: 1.75rem; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .7rem; font-size: .95rem; color: var(--tx-2); }
.ticks li svg { flex-shrink: 0; margin-top: .3rem; color: var(--green); }

.panel {
	border-radius: var(--r-md);
	background: var(--sur);
	border: 1px solid var(--bd);
	box-shadow: var(--sh-md);
	padding: 1.75rem;
}
.panel-head {
	display: flex; align-items: center; justify-content: space-between;
	font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	color: var(--dim); margin-bottom: 1.25rem;
}

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag-list li {
	font-size: .82rem; font-weight: 500; color: var(--mu);
	padding: .4rem .8rem;
	border-radius: 999px;
	background: var(--bg);
	border: 1px solid var(--bd);
}

/* ── before / after: the single clearest way to show what changes ── */
.ba { display: grid; gap: .55rem; }

.ba-stage { padding: 1.05rem 1.15rem; border-radius: var(--r); }
.ba-before { background: var(--bg); border: 1px dashed var(--bd-2); }
.ba-after {
	background: var(--bg);
	background: color-mix(in srgb, var(--brand) 5%, var(--sur));
	border: 1px solid var(--bd-2);
	border-color: var(--brand-line);
}

.ba-tag {
	display: inline-flex; align-items: center; gap: .35rem;
	font-size: .64rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	padding: .2rem .55rem;
	border-radius: 999px;
	margin-bottom: .75rem;
}
.ba-tag.bad  { color: #b23c3c; background: rgba(217, 75, 75, .1); }
.ba-tag.good { color: #fff; background: var(--brand); }

/* the scattered / connected system chips */
.ba-tiles { display: flex; flex-wrap: wrap; gap: .35rem; }
.ba-tiles li {
	font-size: .73rem; font-weight: 500;
	padding: .3rem .6rem;
	border-radius: var(--r-sm);
	color: var(--mu);
	background: var(--sur);
	border: 1px dashed var(--bd-2);
}
.ba-after .ba-tiles li {
	border-style: solid;
	border-color: var(--brand-line);
	color: var(--brand);
	font-weight: 600;
}

/* the "IS Core" bar the connected modules hang off */
.ba-core {
	display: flex; align-items: center; gap: .45rem;
	padding: .45rem .7rem;
	margin-bottom: .55rem;
	border-radius: var(--r-sm);
	background: var(--brand);
	color: #fff;
	font-size: .74rem; font-weight: 700;
}
.ba-core span { margin-left: auto; font-weight: 500; opacity: .85; font-size: .68rem; }

.ba-points { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .8rem; }
.ba-points li { display: flex; align-items: center; gap: .3rem; font-size: .73rem; color: var(--mu); }
.ba-points li svg { flex-shrink: 0; }
.ba-before .ba-points li svg { color: #b23c3c; }
.ba-after  .ba-points li svg { color: var(--green); }

/* connector between the two stages */
.ba-arrow {
	display: flex; align-items: center; gap: .6rem;
	font-size: .64rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--brand);
}
.ba-arrow::before, .ba-arrow::after {
	content: ''; flex: 1; height: 1px; background: var(--bd-2);
}

/* ── deployment options ── */
.deploy-opts { display: grid; gap: .5rem; }
.deploy-opt {
	display: flex; align-items: flex-start; gap: .7rem;
	padding: .8rem .9rem;
	border-radius: var(--r);
	background: var(--bg);
	border: 1px solid var(--bd);
}
.deploy-opt.pick {
	border-color: var(--brand-line);
	background: color-mix(in srgb, var(--brand) 6%, var(--sur));
}
.deploy-opt .ico {
	flex-shrink: 0;
	width: 1.9rem; height: 1.9rem;
	display: grid; place-items: center;
	border-radius: var(--r-sm);
	color: var(--brand);
	background: var(--brand-soft);
}
.deploy-opt b { display: block; font-size: .86rem; }
.deploy-opt p { margin-top: .15rem; font-size: .76rem; line-height: 1.5; color: var(--mu); }
.pill-rec {
	margin-left: auto; flex-shrink: 0;
	font-size: .58rem; font-weight: 700;
	letter-spacing: .07em; text-transform: uppercase;
	padding: .18rem .45rem;
	border-radius: 999px;
	color: #fff; background: var(--brand);
}

.compliance { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--bd); }
.compliance h5 {
	font-size: .64rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--dim); margin-bottom: .65rem;
}
.compliance ul { display: flex; flex-wrap: wrap; gap: .35rem; }
.compliance li {
	display: inline-flex; align-items: center; gap: .28rem;
	font-size: .72rem; font-weight: 500;
	padding: .28rem .55rem;
	border-radius: var(--r-sm);
	color: var(--tx-2);
	background: var(--bg);
	border: 1px solid var(--bd);
}
.compliance li svg { color: var(--green); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   11. Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
	position: relative;
	padding-top: 2.75rem;
}
.step::before {
	content: '';
	position: absolute;
	top: 1.1rem; left: 2.75rem; right: -1.5rem;
	height: 1px;
	background: var(--bd-2);
}
.step:last-child::before { display: none; }
.step-n {
	position: absolute;
	top: 0; left: 0;
	width: 2.25rem; height: 2.25rem;
	display: grid; place-items: center;
	border-radius: 50%;
	font-size: .85rem; font-weight: 700;
	color: var(--brand);
	background: var(--brand-soft);
	border: 1px solid var(--brand-line);
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--mu); }

/* --------------------------------------------------------------------------
   12. FAQ accordion (native <details>)
   -------------------------------------------------------------------------- */
.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: .75rem; }
.faq details {
	border-radius: var(--r-md);
	background: var(--sur);
	border: 1px solid var(--bd);
	box-shadow: var(--sh-sm);
	transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--brand-line); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	font-weight: 600;
	color: var(--tx);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: '';
	flex-shrink: 0;
	width: .6rem; height: .6rem;
	border-right: 2px solid var(--dim);
	border-bottom: 2px solid var(--dim);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .answer { padding: 0 1.35rem 1.35rem; color: var(--mu); font-size: .95rem; }
.faq .answer p + p { margin-top: .75rem; }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	padding: 4.5rem 0;
	text-align: center;
	overflow: hidden;
	background: linear-gradient(135deg, #1e46b4, #2557d6 45%, #0e8f89);
	color: #fff;
}
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: .16;
	background-image:
		linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
	mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.cta-band > .shell { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 1rem auto 2rem; max-width: 36rem; color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.cta-band .hero-actions { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }

.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list .ico {
	width: 2.5rem; height: 2.5rem;
	flex-shrink: 0;
	display: grid; place-items: center;
	border-radius: var(--r);
	color: var(--brand);
	background: var(--brand-soft);
	border: 1px solid var(--brand-line);
}
.contact-list small { display: block; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.contact-list b { font-size: .95rem; font-weight: 600; color: var(--tx); }
.contact-list a:hover b { color: var(--brand); }

.form-card {
	padding: 2rem;
	border-radius: var(--r-md);
	background: var(--sur);
	border: 1px solid var(--bd);
	box-shadow: var(--sh-md);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--tx-2); margin-bottom: .4rem; }
.field label .req { color: #d94b4b; }
.field input, .field select, .field textarea {
	width: 100%;
	padding: .7rem .9rem;
	font-size: .95rem;
	color: var(--tx);
	background: var(--bg);
	border: 1px solid var(--bd-2);
	border-radius: var(--r-sm);
	transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
.field select {
	appearance: none; cursor: pointer; padding-right: 2.4rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238593ad' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .9rem center;
}
html.dark .field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e7e9c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px var(--ring);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note {
	display: flex; align-items: center; justify-content: center; gap: .45rem;
	font-size: .82rem; color: var(--dim); margin-top: .9rem;
}

/* Modal */
.modal {
	position: fixed; inset: 0; z-index: 8000;
	display: none; place-items: center;
	padding: 1.5rem;
	background: rgba(10, 17, 32, .55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.modal.open { display: grid; }
.modal-card {
	position: relative;
	width: 100%; max-width: 24rem;
	padding: 2.25rem 2rem;
	text-align: center;
	border-radius: var(--r-md);
	background: var(--sur);
	border: 1px solid var(--bd);
	box-shadow: var(--sh-lg);
	animation: popIn .28s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: scale(.95) translateY(8px) } to { opacity: 1; transform: none } }
.modal-ico { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.15rem; display: grid; place-items: center; border-radius: var(--r); }
.modal-card h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.modal-card p { font-size: .93rem; color: var(--mu); margin-bottom: 1.4rem; }
.modal-close {
	position: absolute; top: .9rem; right: .9rem;
	width: 1.85rem; height: 1.85rem;
	display: grid; place-items: center;
	border-radius: var(--r-sm);
	color: var(--mu);
	background: var(--sur-2);
	border: 1px solid var(--bd);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--bd); padding: 4rem 0 2rem; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.7fr;
	gap: 3rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--bd);
}
.footer-brand p { margin: 1rem 0 1.25rem; font-size: .92rem; color: var(--mu); max-width: 21rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-badges span {
	font-size: .75rem; font-weight: 600;
	padding: .28rem .6rem;
	border-radius: var(--r-sm);
	color: var(--brand);
	background: var(--brand-soft);
	border: 1px solid var(--brand-line);
}
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .92rem; color: var(--mu); }
.footer-col a:hover { color: var(--brand); }

.subscribe p { font-size: .9rem; color: var(--mu); margin-bottom: .9rem; }
.subscribe form { display: flex; gap: .5rem; }
.subscribe input {
	flex: 1; min-width: 0;
	padding: .65rem .85rem;
	font-size: .92rem;
	color: var(--tx);
	background: var(--bg);
	border: 1px solid var(--bd-2);
	border-radius: var(--r-sm);
}
.subscribe input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }

.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 1rem;
	padding-top: 1.75rem;
	font-size: .87rem;
	color: var(--dim);
}
.footer-bottom nav { display: flex; align-items: center; gap: 1.25rem; }
.footer-bottom a:hover { color: var(--brand); }
.socials { display: flex; gap: .5rem; }
.socials a {
	width: 2rem; height: 2rem;
	display: grid; place-items: center;
	border-radius: var(--r-sm);
	color: var(--mu);
	border: 1px solid var(--bd);
}
.socials a:hover { color: var(--brand); border-color: var(--brand); }

/* --------------------------------------------------------------------------
   16. Scroll-to-top
   -------------------------------------------------------------------------- */
.to-top {
	position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 500;
	width: 2.6rem; height: 2.6rem;
	display: grid; place-items: center;
	border-radius: var(--r);
	color: #fff;
	background: var(--brand);
	box-shadow: var(--sh-md);
	opacity: 0; visibility: hidden;
	transform: translateY(10px);
	transition: all .22s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-ink); }

/* --------------------------------------------------------------------------
   17. Reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s }
.reveal[data-d="2"] { transition-delay: .14s }
.reveal[data-d="3"] { transition-delay: .21s }

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

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
	.split { grid-template-columns: 1fr; gap: 2.5rem; }
	.split-flip .split-copy { order: 0; }
	.split + .split { margin-top: 4rem; }
	.cards-3 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
	.step::before { display: none; }
	.contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
	.footer-brand, .subscribe { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.app-grid { grid-template-columns: repeat(3, 1fr); }
	.monitor-pop { display: none; }
}

@media (max-width: 800px) {
	.nav-links, .nav-actions { display: none; }
	.nav-mobile { display: flex; }
	.band, .band-alt { padding: 4.5rem 0; }
	.hero-stage { min-height: clamp(21rem, 52vh, 26rem); --orb-clear: 2.25rem; }
	.hero-preview { margin-top: 2.5rem; }
}

@media (max-width: 620px) {
	html { font-size: 15px; }
	.shell { padding: 0 1.15rem; }
	.steps { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.form-card { padding: 1.5rem; }
	.app-grid { grid-template-columns: repeat(2, 1fr); }
	.app-body { padding: .85rem .8rem 1.2rem; }
	.app-bar, .app-tabs { padding-inline: .8rem; }
	.app-user > div, .app-start { display: none; }
	.app-tools .app-ico:nth-child(n+4) { display: none; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-stage { min-height: 23rem; --orb-clear: 1.75rem; }
	.orb-parallax { margin-top: -2.5rem; }
	/* smaller cards so the tighter orbit does not swamp the headline */
	.orb-panel { width: 116px; height: 76px; margin-left: -58px; margin-top: -38px; padding: .6rem; }
	.orb-panel .orb-ico { display: none; }
	.orb-label { font-size: 12px; }
	.hero-metrics li { flex-basis: 50%; border-top: 1px solid var(--bd); }
	.hero-metrics li:nth-child(odd) { border-left: none; }
	.hero-metrics li:nth-child(-n+2) { border-top: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
