/* ==========================================================================
   Toxum website
   Brand colours come from the logo: blue, red, green, yellow on deep navy.
   ========================================================================== */

:root {
	--navy-950: #060e22;
	--navy-900: #0b1a3a;
	--navy-800: #12254f;
	--navy-700: #1b3366;
	--ink: #0f172a;
	--text: #3b4659;
	--muted: #667085;
	--line: #e4e9f2;
	--surface: #f5f8fd;
	--white: #fff;

	--blue: #2f6fec;
	--blue-600: #1f58d0;
	--blue-50: #eef4ff;
	--red: #e5533f;
	--red-50: #fdf0ee;
	--green: #1f9d5c;
	--green-50: #eaf7f0;
	--yellow: #f5b014;
	--yellow-ink: #a86f00;
	--yellow-50: #fff7e3;

	--font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--shadow: 0 12px 32px -12px rgba(15, 30, 70, .18);
	--shadow-lg: 0 30px 60px -20px rgba(11, 26, 58, .35);
	--container: 1240px;
	--gutter: 24px;
	--header-h: 76px;
}

/* Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(47, 111, 236, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-head); font-size: .8rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
	margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--red) 25% 50%, var(--green) 50% 75%, var(--yellow) 75%); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
	transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn .bi { transition: transform .2s; }
.btn:hover .bi-arrow-right { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 111, 236, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { color: var(--blue); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--blue); }
.btn-outline { background: transparent; color: var(--blue); border-color: rgba(47, 111, 236, .4); }
.btn-outline:hover { background: var(--blue-50); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* Top bar ------------------------------------------------------------- */
.topbar { background: var(--navy-950); color: #b9c4dc; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-note .bi { color: var(--yellow); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: #dbe3f3; display: inline-flex; align-items: center; gap: 7px; }
.topbar-links a:hover { color: #fff; }

/* Header + navigation ------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(15, 30, 70, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { width: auto; height: 40px; }
.main-nav { flex: 1; }
.nav-list { display: flex; justify-content: center; gap: 2px; }
.nav-link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border: 0; background: none; border-radius: 8px;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
}
.nav-caret { font-size: .7rem; transition: transform .2s; }
.nav-item.is-active > .nav-link { color: var(--blue); }
.nav-item:hover > .nav-link, .nav-item.is-open > .nav-link { color: var(--blue); background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }
.nav-mobile-cta { display: none; }

.mega {
	--tx: -50%;
	position: absolute; left: 50%; top: calc(100% - 6px);
	width: min(calc(var(--cols) * 250px + 48px), calc(100vw - 32px));
	transform: translate(calc(var(--tx) + var(--shift, 0px)), 8px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .2s, transform .2s, visibility .2s;
}
.mega-wide { width: min(1180px, calc(100vw - 32px)); }
.nav-list { position: relative; }
.nav-item { position: relative; }
.nav-item.is-wide { position: static; }
.nav-item:not(.is-wide):nth-child(-n+2) > .mega { --tx: 0%; left: 0; }
.nav-item:not(.is-wide):nth-last-child(-n+2) > .mega { --tx: 0%; left: auto; right: 0; }
.nav-item:hover > .mega, .nav-item.is-open > .mega, .nav-item:focus-within > .mega {
	opacity: 1; visibility: visible; pointer-events: auto; transform: translate(calc(var(--tx) + var(--shift, 0px)), 0);
}
.mega-inner {
	display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px 24px;
	margin-top: 12px; padding: 24px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}
.mega-title { margin: 0 0 8px; padding: 0 10px; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mega-title a { color: var(--muted); }
.mega-title a:hover { color: var(--blue); }
.mega-col a:not(.mega-title a) { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 500; line-height: 1.3; }
.mega-col li a .bi { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--surface); color: var(--blue); font-size: .95rem; transition: background .2s, color .2s; }
.mega-col li a:hover, .mega-col li a[aria-current] { background: var(--blue-50); color: var(--blue); }
.mega-col li a:hover .bi, .mega-col li a[aria-current] .bi { background: var(--blue); color: #fff; }
.mega-promo { padding: 20px; border-radius: 12px; background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #c9d4ea; font-size: .9rem; }
.mega-promo-title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: 6px; }

/* Sections ------------------------------------------------------------ */
.section { padding: clamp(64px, 6vw + 24px, 112px) 0; }
.section.tight { padding: clamp(48px, 4vw + 16px, 72px) 0; }
.section.alt { background: var(--surface); }
.section.dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(47, 111, 236, .35), transparent 60%), var(--navy-900); color: #c3cee5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .section-lead { color: #a9b6d2; }
.section-head { max-width: 760px; margin: 0 auto 48px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.left { margin-left: 0; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.prose { max-width: 820px; }
.prose p { font-size: 1.05rem; }
.prose.center { margin: 0 auto; text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* Home hero ----------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; color: #c9d4ea;
	background:
		radial-gradient(900px 480px at 85% 10%, rgba(47, 111, 236, .45), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(229, 83, 63, .18), transparent 60%),
		var(--navy-900);
	padding: clamp(64px, 7vw, 112px) 0 clamp(72px, 8vw, 120px);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4rem); }
.hero .eyebrow { color: #8fb3ff; }
.hero .lead { color: #b4c1dc; max-width: 600px; }
.rotator { display: inline-grid; color: var(--yellow); }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(.4em); transition: opacity .45s, transform .45s; white-space: nowrap; }
.rotator > span.is-on { opacity: 1; transform: none; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .9rem; color: #c9d4ea; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .bi { color: var(--green); font-size: 1.05rem; }
.hero .btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.hero .btn-light:hover { background: rgba(255, 255, 255, .16); }

/* Product mock in the hero */
.mock { position: relative; }
.mock-float {
	position: absolute; display: flex; align-items: center; gap: 12px;
	background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
	font-size: .85rem; line-height: 1.3; animation: float 6s ease-in-out infinite;
}
.mock-float strong { display: block; font-family: var(--font-head); }
.mock-float small { color: var(--muted); }
.mock-float .bi { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 1.1rem; color: #fff; background: var(--green); }
.mock-float.one { left: -36px; bottom: 36px; }
.mock-float.two { right: -24px; top: -22px; animation-delay: -3s; }
.mock-float.two .bi { background: var(--red); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Screenshot frame */
.shot { margin: 0; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.shot-bar i:nth-child(2) { background: var(--yellow); }
.shot-bar i:nth-child(3) { background: var(--green); }
.shot-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; }
.page-hero-art .shot { max-width: 520px; margin-left: auto; }

.module-badge {
	display: grid; justify-items: start; gap: 6px; max-width: 360px; margin-left: auto; padding: 32px;
	border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #a9b6d2;
}
.module-badge .bi { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 16px; background: var(--blue); color: #fff; font-size: 1.8rem; }
.module-badge span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.module-badge strong { font-family: var(--font-head); font-size: 1.4rem; color: #fff; line-height: 1.25; }

/* Inner page hero ----------------------------------------------------- */
.page-hero {
	position: relative; overflow: hidden; color: #c3cee5;
	background:
		radial-gradient(800px 380px at 90% 0%, rgba(47, 111, 236, .45), transparent 60%),
		radial-gradient(500px 300px at 0% 100%, rgba(31, 157, 92, .15), transparent 60%),
		var(--navy-900);
	padding: clamp(48px, 5vw, 80px) 0 clamp(56px, 6vw, 96px);
}
.page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero-grid { position: relative; }
.page-hero.has-side .page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero-copy { max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); }
.page-hero .eyebrow { color: #8fb3ff; }
.page-hero .lead { color: #b4c1dc; }
.page-hero .btn-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.page-hero .btn-light:hover { background: rgba(255, 255, 255, .16); }
.page-hero-art img { width: 100%; max-width: 440px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .85rem; color: #8d9bbb; }
.crumbs a { color: #c3cee5; }
.crumbs a:hover { color: #fff; }
.crumbs .bi { font-size: .65rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #dbe3f3; font-size: .95rem; }
.hero-points .bi { color: var(--green); }

/* Trust strip --------------------------------------------------------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 32px; padding: 26px 0; }
.trust-label { flex: none; margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.marquee { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
.stat { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tone); }
.stat dd { margin: 0; order: -1; font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat dt { color: var(--muted); font-weight: 500; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stats.on-dark .stat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.stats.on-dark dd { color: #fff; }
.stats.on-dark dt { color: #a9b6d2; }

/* Tones --------------------------------------------------------------- */
.tone-blue { --tone: var(--blue); --tone-soft: var(--blue-50); --tone-ink: var(--blue); }
.tone-red { --tone: var(--red); --tone-soft: var(--red-50); --tone-ink: var(--red); }
.tone-green { --tone: var(--green); --tone-soft: var(--green-50); --tone-ink: var(--green); }
.tone-yellow { --tone: var(--yellow); --tone-soft: var(--yellow-50); --tone-ink: var(--yellow-ink); }

/* Cards --------------------------------------------------------------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
	position: relative; display: flex; flex-direction: column;
	padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
	color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card.is-link:hover, .card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.card.is-link { color: var(--text); }
.card-icon {
	width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px;
	border-radius: 14px; background: var(--tone-soft); color: var(--tone-ink); font-size: 1.4rem;
	transition: background .25s, color .25s;
}
.card:hover .card-icon { background: var(--tone); color: #fff; }
.card-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--tone-ink); margin-bottom: 18px; opacity: .9; }
.card--plain { padding: 24px; }
.card--tile { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px; }
.card--tile .card-icon { width: 44px; height: 44px; margin: 0; flex: none; font-size: 1.15rem; }
.card--tile h3 { font-size: 1.02rem; }
.card--tile p { font-size: .92rem; }
.card--tile .card-more { display: none; }
.card--tile.is-link h3 { transition: color .2s; }
.card--tile.is-link:hover h3 { color: var(--blue); }
.card-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--blue); }
.card-more .bi { transition: transform .2s; }
.card:hover .card-more .bi { transform: translateX(4px); }
.mini-list { margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; }
.mini-list li { position: relative; padding-left: 18px; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.section.dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #c3cee5; }
.section.dark .card p { color: #a9b6d2; }
.section.dark .card:hover { background: rgba(255, 255, 255, .07); }
.section.dark .card-icon { background: rgba(255, 255, 255, .08); color: #fff; }

/* Lists --------------------------------------------------------------- */
.checklist { display: grid; gap: 12px 28px; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); }
.checklist.cols-3 { grid-template-columns: repeat(3, 1fr); }
.checklist.cols-4 { grid-template-columns: repeat(4, 1fr); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.checklist .bi { color: var(--green); font-size: 1.1rem; margin-top: 1px; flex: none; }
.section.dark .checklist li { color: #dbe3f3; }
.checklist-box { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s; }
.chips li:hover { border-color: var(--blue); color: var(--blue); }
.chips.center { justify-content: center; }

/* Steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::after { content: ""; position: absolute; top: 47px; right: -23px; width: 22px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--tone); color: #fff; font-family: var(--font-head); font-weight: 800; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Logos + tech -------------------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo-wall li { display: grid; place-items: center; height: 92px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .2s, border-color .2s; }
.logo-wall li:hover { border-color: transparent; box-shadow: var(--shadow); }
.logo-wall img { max-height: 58px; width: auto; object-fit: contain; }
.tech-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.tech-tiles li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: .88rem; font-weight: 600; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.tech-tiles li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-tiles img { height: 46px; width: auto; object-fit: contain; }

/* Tabs ---------------------------------------------------------------- */
.tabs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.tabs-nav button { padding: 10px 20px; border: 0; border-radius: 10px; background: transparent; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted); }
.tabs-nav button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* Split --------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 6vw, 96px); }
.split.reverse .split-copy { order: 2; }
.split-copy p { color: var(--muted); font-size: 1.04rem; }
.split-copy .checklist { margin-top: 20px; }
.split-art img { width: 100%; max-width: 520px; margin: 0 auto; }
.art-panel { position: relative; padding: 32px; border-radius: 22px; background: linear-gradient(150deg, var(--blue-50), #fff 60%); border: 1px solid var(--line); }

/* Segments (home) ----------------------------------------------------- */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.segment { position: relative; padding: 34px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.segment::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--tone-soft); transition: transform .4s; }
.segment:hover::after { transform: scale(1.4); }
.segment > * { position: relative; z-index: 1; }
.segment .card-icon { background: var(--tone); color: #fff; }

/* Industries ---------------------------------------------------------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px;
	padding: 24px; border-radius: 18px; overflow: hidden; color: #fff; isolation: isolate;
	background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
}
.industry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px 180px at 100% 0%, var(--tone), transparent 70%); opacity: .55; transition: opacity .3s; }
.industry:hover::before { opacity: .95; }
.industry .bi-ind { position: absolute; top: 22px; left: 24px; font-size: 1.8rem; color: #fff; }
.industry h3 { color: #fff; margin: 0 0 4px; }
.industry p { margin: 0; font-size: .88rem; color: #c3cee5; }
.industry .go { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.industry:hover { color: #fff; }
.industry:hover .go { background: #fff; color: var(--ink); transform: rotate(-45deg); }

/* Why / feature rows -------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { padding: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.why .chips { margin-top: 18px; }
.why .chips li { padding: 5px 12px; font-size: .82rem; background: var(--surface); border: 0; }

/* Pricing ------------------------------------------------------------- */
.billing { display: flex; justify-content: center; margin-bottom: 36px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.price-card.is-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-sub { color: var(--muted); font-size: .92rem; margin: 0 0 20px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; font-family: var(--font-head); color: var(--ink); }
.price .cur { font-size: 1.3rem; font-weight: 700; }
.price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price-term { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }
.price-list { display: grid; gap: 11px; margin-bottom: 28px; font-size: .94rem; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; }
.price-list .bi-check-circle-fill { color: var(--green); }
.price-list .is-off { color: #a0a9ba; }
.price-list .is-off .bi { color: #c5ccd8; }
.price-card .btn { margin-top: auto; }
.price-extra { margin: -12px 0 22px; padding: 12px 14px; border-radius: 10px; background: var(--surface); font-size: .85rem; color: var(--muted); }
.price-extra strong { color: var(--ink); }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.module-col { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.module-col h3 { display: flex; justify-content: space-between; font-size: 1rem; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.module-col h3 span { color: var(--tone-ink); }
.module-col li { padding: 5px 0; font-size: .92rem; }

/* Forms --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; }
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #d4dbe7; background: #fff;
	font: inherit; font-size: .96rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 111, 236, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--muted); }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-status.is-ok { display: block; background: var(--green-50); color: #13693d; }
.form-status.is-err { display: block; background: var(--red-50); color: #a5321f; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.info-stack { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.info-card .card-icon { margin: 0; flex: none; width: 46px; height: 46px; font-size: 1.15rem; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p, .info-card a { margin: 0; font-size: .95rem; color: var(--muted); }
.info-card a:hover { color: var(--blue); }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: 20px; }

/* CTA band ------------------------------------------------------------ */
.cta-band { padding: clamp(56px, 6vw, 88px) 0; }
.cta-inner {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: clamp(32px, 4vw, 56px); border-radius: 26px; overflow: hidden; color: #c9d4ea;
	background: radial-gradient(500px 300px at 100% 0%, rgba(245, 176, 20, .25), transparent 60%), linear-gradient(120deg, var(--blue-600), var(--navy-900) 70%);
}
.cta-inner::after { content: ""; position: absolute; right: 32px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .06); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { margin: 0; max-width: 620px; }
.cta-inner .btn-row { margin: 0; flex: none; }
.cta-inner .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-inner .btn-primary:hover { background: var(--yellow); color: var(--ink); }
.cta-inner .btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-inner .btn-light:hover { background: rgba(255, 255, 255, .1); }

/* Quote / callout ----------------------------------------------------- */
.callout { display: flex; gap: 20px; align-items: flex-start; padding: 28px 32px; border-radius: 18px; background: var(--blue-50); border-left: 4px solid var(--blue); }
.callout .bi { font-size: 1.6rem; color: var(--blue); }
.callout p { margin: 0; color: var(--ink); font-size: 1.05rem; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #9aa7c4; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 72px 0 48px; }
.footer-logo { display: inline-block; padding: 8px 12px; margin-bottom: 18px; border-radius: 10px; background: #fff; }
.footer-logo img { height: 32px; width: auto; }
.footer-brand p { max-width: 360px; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .bi { color: var(--yellow); margin-top: 2px; }
.footer-contact a { color: #c9d4ea; }
.footer-contact a:hover { color: #fff; }
.footer-title { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #9aa7c4; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { color: #9aa7c4; }
.footer-bottom a:hover { color: #fff; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: var(--blue-600); }

/* 404 */
.not-found { text-align: center; padding: 120px 0; }
.not-found .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 12vw, 9rem); line-height: 1; background: linear-gradient(90deg, var(--blue), var(--red), var(--green), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Reveal on scroll ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
	.nav-link { padding: 10px 10px; font-size: .92rem; }
	.header-contact { display: none; }
	.footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
	.footer-brand { grid-row: span 2; }
}

@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.topbar-note { display: none; }
	.topbar-inner { justify-content: center; }

	.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
	.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	/* backdrop-filter would make the header the containing block of the fixed drawer */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.header-actions { margin-left: auto; }
	.header-actions .btn-primary { display: none; }

	.main-nav {
		position: fixed; inset: var(--drawer-top, var(--header-h)) 0 0 0; z-index: 99;
		background: #fff; overflow-y: auto; padding: 12px 20px 32px;
		transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-item { border-bottom: 1px solid var(--line); }
	.nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
	.nav-item:hover > .nav-link { background: none; }
	.nav-item.is-open .nav-caret { transform: rotate(180deg); }
	.mega, .mega-wide { position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; transition: none; }
	.nav-item:hover > .mega, .nav-item:focus-within > .mega, .nav-item.is-open > .mega { transform: none; }
	.nav-item.is-open > .mega { display: block; }
	.mega-inner { grid-template-columns: 1fr 1fr; margin: 0 0 16px; padding: 4px 0; border: 0; box-shadow: none; }
	.mega-promo { grid-column: 1 / -1; }
	.nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }

	.hero-grid, .page-hero.has-side .page-hero-grid, .split, .two-col, .contact-grid { grid-template-columns: 1fr; }
	.split.reverse .split-copy { order: 0; }
	.mock { max-width: 560px; margin: 24px auto 0; }
	.page-hero-art img { margin: 0 auto; max-width: 320px; }
	.card-grid.cols-4, .industry-grid, .modules { grid-template-columns: repeat(2, 1fr); }
	.card-grid.cols-3, .why-grid, .segments, .price-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.checklist.cols-3, .checklist.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.steps li::after { display: none; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
	:root { --gutter: 16px; }
	body { font-size: 15.5px; }
	.topbar-links { gap: 16px; font-size: .8rem; }
	.topbar-links li:nth-child(2) { display: none; }
	.brand img { height: 34px; }
	.mega-inner { grid-template-columns: 1fr; }
	.card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .why-grid, .segments, .price-grid, .industry-grid, .modules { grid-template-columns: 1fr; }
	.checklist.cols-2, .checklist.cols-3, .checklist.cols-4 { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.trust-inner { flex-direction: column; align-items: stretch; gap: 16px; }
	.trust-label { text-align: center; }
	.mock-float { display: none; }
	.mock-body { grid-template-columns: 1fr; }
	.mock-side { display: none; }
	.tabs-nav { width: 100%; }
	.tabs-nav button { flex: 1; padding: 10px 12px; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 56px; }
	.footer-brand { grid-column: 1 / -1; grid-row: auto; }
	.card { padding: 22px; }
	.btn-row .btn { flex: 1 1 auto; }
}

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

.section-head + .chips { justify-content: center; max-width: 1000px; margin: 0 auto; }

/* Smart Freight CRM dashboard preview (sample data) ------------------- */
.fd { --fd-line: #e6ebf3; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); font-size: 13px; line-height: 1.4; text-align: left; }
.fd-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--fd-line); }
.fd-dots { display: flex; gap: 6px; }
.fd-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.fd-dots i:nth-child(2) { background: var(--yellow); }
.fd-dots i:nth-child(3) { background: var(--green); }
.fd-url { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-sample { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--yellow-50); color: var(--yellow-ink); font-size: 11px; font-weight: 600; }
.fd-body { display: grid; grid-template-columns: 190px 1fr; }
.fd-compact .fd-body { grid-template-columns: 1fr; }
.fd-side { display: grid; align-content: start; gap: 2px; padding: 16px 12px; background: #0f2a4f; }
.fd-brand { display: flex; align-items: center; gap: 8px; margin: 0 6px 14px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.fd-brand img { width: 30px; height: 30px; padding: 2px; border-radius: 8px; background: #fff; }
.fd-nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #b8c6dd; }
.fd-nav.on { background: rgba(255, 255, 255, .1); color: #fff; }
.fd-main { display: grid; gap: 14px; padding: 18px; background: #f7f9fc; min-width: 0; }
.fd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fd-head strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.fd-head small { color: var(--muted); }
.fd-filter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--fd-line); border-radius: 8px; background: #fff; color: var(--ink); white-space: nowrap; }
.fd-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fd-kpi { position: relative; display: grid; gap: 2px; padding: 14px; background: #fff; border: 1px solid var(--fd-line); border-radius: 12px; }
.fd-kpi small { color: var(--muted); padding-right: 30px; }
.fd-kpi strong { font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.fd-kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.fd-kpi-ic { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-50); color: var(--blue); }
.fd-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.fd-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fd-row-wide { grid-template-columns: 1.7fr 1fr; }
.fd-compact .fd-row { grid-template-columns: 1fr 1fr; }
.fd-compact .fd-row:last-child { grid-template-columns: 1fr; }
.fd-compact .fd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fd-card { min-width: 0; padding: 14px; background: #fff; border: 1px solid var(--fd-line); border-radius: 12px; }
.fd-title { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.fd-title small { font-weight: 400; color: var(--muted); }
.fd-donut-wrap { display: flex; align-items: center; gap: 16px; }
.fd-donut { position: relative; flex: none; width: 112px; height: 112px; border-radius: 50%; }
.fd-donut::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: #fff; }
.fd-donut span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; }
.fd-donut strong { font-family: var(--font-head); font-size: 20px; color: var(--ink); line-height: 1; }
.fd-donut small { color: var(--muted); }
.fd-legend { flex: 1; display: grid; gap: 6px; }
.fd-legend li { position: relative; display: flex; align-items: center; gap: 8px; color: var(--text); }
.fd-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.fd-legend b { margin-left: auto; color: var(--ink); }
.fd-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--fd-line); }
.fd-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.fd-bar span { position: relative; width: 100%; max-width: 26px; background: var(--blue); border-radius: 4px 4px 0 0; }
.fd-bar span b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 3px; font-size: 11px; color: var(--ink); white-space: nowrap; }
.fd-bar small { position: absolute; top: 100%; padding-top: 4px; color: var(--muted); }
.fd-meter { position: relative; display: grid; gap: 5px; margin-bottom: 10px; }
.fd-meter span { display: flex; justify-content: space-between; color: var(--text); }
.fd-meter b { color: var(--ink); }
.fd-meter i { display: block; height: 8px; border-radius: 4px; background: #edf1f7; }
.fd-meter em { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.fd-table { width: 100%; border-collapse: collapse; }
.fd-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 0 8px 8px 0; border-bottom: 1px solid var(--fd-line); }
.fd-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--fd-line); color: var(--ink); white-space: nowrap; }
.fd-table tr:last-child td { border-bottom: 0; }
.fd-table td .bi { color: var(--muted); }
.fd-status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12px; }
.fd-list { display: grid; gap: 10px; }
.fd-list li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--fd-line); }
.fd-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fd-list span { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.fd-list small { color: var(--muted); padding-left: 22px; }
.fd [data-tip]:hover::after {
	content: attr(data-tip); position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
	padding: 5px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none;
}
.fd-card-scroll { overflow-x: auto; }
.page-hero-art .fd { max-width: 560px; margin-left: auto; }

@media (max-width: 1024px) {
	.fd-body { grid-template-columns: 1fr; }
	.fd-side { display: none; }
	.fd-row, .fd-row-3, .fd-row-wide { grid-template-columns: 1fr; }
	.page-hero-art .fd { margin: 0 auto; }
}
@media (max-width: 680px) {
	.fd-kpis { grid-template-columns: 1fr 1fr; }
	.fd-compact .fd-row { grid-template-columns: 1fr; }
	.fd-main { padding: 12px; }
	.fd-donut-wrap { flex-direction: column; align-items: stretch; }
	.fd-donut { margin: 0 auto; }
	.fd-table td, .fd-table th { font-size: 12px; }
}

/* FAQ ----------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Product branding ---------------------------------------------------- */
.product-logo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 18px; border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.product-logo img { width: 36px; height: 36px; }
.feature-icon-img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; }

/* Compact dashboard: tighter donut + legend so the two charts fit side by side */
.fd-compact .fd-donut { width: 82px; height: 82px; }
.fd-compact .fd-donut::after { inset: 16px; }
.fd-compact .fd-donut strong { font-size: 16px; }
.fd-compact .fd-donut-wrap { gap: 10px; }
.fd-compact .fd-legend { gap: 4px; font-size: 12px; }
.fd-compact .fd-legend li { white-space: nowrap; gap: 6px; }
.fd-compact .fd-legend b { padding-left: 6px; }
.fd-compact .fd-bars { height: 110px; gap: 6px; }

/* Let grid children shrink below their content width (wide tables/dashboards scroll inside instead) */
.page-hero-grid > *, .split > *, .hero-grid > *, .two-col > * { min-width: 0; }
