/* ==========================================================================
   Pays.ng — Design System
   Shared by every public page (home, pricing, contact) and intended to be
   reused by login / registration. Page-specific blocks are grouped at the
   bottom of this file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Brand — vermilion, kept from the original identity */
	--brand-50:  #FFF5F0;
	--brand-100: #FFE6DA;
	--brand-200: #FFC9B0;
	--brand-400: #FF7A45;
	--brand:     #E64209;
	--brand-600: #CC3A06;   /* AA-contrast on white: use for text & buttons */
	--brand-700: #A82F04;

	/* Ink — deep navy used for dark surfaces */
	--ink-950: #060B16;
	--ink-900: #0B1220;
	--ink-800: #121B2D;
	--ink-700: #1C2740;
	--ink-600: #2A3654;

	/* Text */
	--text:     #0F172A;
	--text-2:   #475467;
	--text-3:   #667085;
	--text-inv:   #F8FAFC;
	--text-inv-2: #A3AEC2;

	/* Surfaces & lines (warm neutrals) */
	--bg:       #FFFFFF;
	--bg-soft:  #FAF8F5;
	--bg-muted: #F3F0EB;
	--line:     #E8E4DE;
	--line-2:   #F0EDE8;
	--line-inv: rgba(255, 255, 255, .10);

	/* Status */
	--success:    #067647;
	--success-bg: #ECFDF3;
	--success-dot:#17B26A;
	--info:       #175CD3;
	--info-bg:    #EFF8FF;
	--danger:     #B42318;
	--danger-line:#F04438;

	/* Type */
	--font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Radius */
	--r-xs: 6px;
	--r-sm: 8px;
	--r:    12px;
	--r-lg: 16px;
	--r-xl: 24px;
	--r-2xl: 32px;

	/* Elevation */
	--shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
	--shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
	--shadow-md: 0 12px 24px -8px rgba(16, 24, 40, .10), 0 2px 6px -2px rgba(16, 24, 40, .05);
	--shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .18);
	--shadow-xl: 0 48px 96px -24px rgba(11, 18, 32, .30);

	/* Layout */
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 32px);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}


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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
table { border-collapse: collapse; }

::selection { background: var(--brand-100); color: var(--brand-700); }
:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute;
	left: 16px; top: -64px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--r-sm);
	background: var(--ink-900);
	color: #fff;
	font-weight: 600;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

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


/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: inherit;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}
.display {
	font-size: clamp(2.75rem, 5.2vw, 4.25rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.034em;
}
.h2 {
	font-size: clamp(2.1rem, 4vw, 3.25rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.03em;
}

.h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.3; }
.lead {
	font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
	line-height: 1.65;
	color: var(--text-2);
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand-600);
}
.eyebrow::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.text-gradient {
	background: linear-gradient(100deg, var(--brand) 10%, #F7863F 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tabular { font-variant-numeric: tabular-nums; }


/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section { padding-block: clamp(80px, 10vw, 128px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink-900); color: var(--text-inv); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lead { margin-top: 20px; }
.section--dark .lead { color: var(--text-inv-2); }
.section--dark .eyebrow { color: var(--brand-400); }

/* Faint drafting-grid background, faded out with a mask */
.grid-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: center top;
	opacity: .55;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 35%, transparent 100%);
	mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 35%, transparent 100%);
}


/* --------------------------------------------------------------------------
   5. Icons (inline SVG, Lucide-style strokes)
   -------------------------------------------------------------------------- */
.i {
	width: 20px; height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ico-box {
	width: 44px; height: 44px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: var(--r);
	background: var(--brand-50);
	border: 1px solid var(--brand-100);
	color: var(--brand-600);
}
.ico-box .i { width: 22px; height: 22px; }


/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
	--h: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: var(--h);
	padding-inline: 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s, border-color .2s,
	            box-shadow .25s var(--ease), transform .2s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-sm { --h: 38px; padding-inline: 14px; font-size: .875rem; border-radius: 9px; }
.btn-lg { --h: 52px; padding-inline: 24px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary {
	background: var(--brand-600);
	color: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover {
	background: var(--brand-700);
	box-shadow: 0 10px 24px -8px rgba(230, 66, 9, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-secondary {
	background: #fff;
	color: var(--text);
	border-color: var(--line);
	box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--bg-soft); border-color: #D6D0C7; }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: var(--brand-50); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
.btn-text { color: var(--text-2); padding-inline: 12px; }
.btn-text:hover { color: var(--text); background: var(--bg-muted); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--brand-600);
}
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }


/* --------------------------------------------------------------------------
   7. Chips
   -------------------------------------------------------------------------- */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.chip-success { background: var(--success-bg); color: var(--success); }
.chip-success::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--success-dot);
}
.chip-info { background: var(--info-bg); color: var(--info); }
.chip-neutral { background: var(--bg-muted); color: var(--text-2); }


/* --------------------------------------------------------------------------
   8. Brand lockup
   -------------------------------------------------------------------------- */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1;
	color: var(--text);
}
.brand-mark { width: 32px; height: 32px; }
.brand-tld { color: var(--brand); }


/* --------------------------------------------------------------------------
   9. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	border-bottom: 1px solid transparent;
	transition: background-color .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.is-scrolled,
body.menu-open .site-header {
	background: rgba(255, 255, 255, .85);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom-color: var(--line);
}
.site-header .container {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 40px;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
	padding: 8px 12px;
	border-radius: var(--r-sm);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--text-2);
	transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--text); background: rgba(15, 23, 42, .04); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.menu-toggle {
	display: none;
	width: 42px; height: 42px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #fff;
	align-items: center;
	justify-content: center;
	color: var(--text);
}
.menu-toggle .i { width: 20px; height: 20px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu {
	position: fixed;
	top: var(--header-h);
	left: 0; right: 0;
	z-index: 49;
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
	padding: 8px var(--gutter) 24px;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	animation: menu-in .25s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .m-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line-2);
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
}
.mobile-menu .m-link .i { width: 18px; height: 18px; color: var(--text-3); }
.mobile-menu .m-actions { display: grid; gap: 10px; margin-top: 20px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }


/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
	position: relative;
	overflow: hidden;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover {
	border-color: #DED8CF;
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}
.card h3 { margin-top: 20px; font-size: 1.25rem; letter-spacing: -.02em; }
.card p { margin-top: 10px; color: var(--text-2); font-size: .975rem; }

.card--dark {
	background: var(--ink-900);
	border-color: var(--ink-900);
	color: var(--text-inv);
}
.card--dark:hover { border-color: var(--ink-700); }
.card--dark p { color: var(--text-inv-2); }
.card--dark .ico-box {
	background: rgba(255, 255, 255, .06);
	border-color: var(--line-inv);
	color: var(--brand-400);
}

.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.ck {
	width: 22px; height: 22px;
	flex: none;
	margin-top: 1px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--brand-50);
	color: var(--brand-600);
}
.ck .i { width: 13px; height: 13px; stroke-width: 2.75; }


/* --------------------------------------------------------------------------
   11. FAQ accordion (native <details>)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-600); }
.faq .pm {
	width: 30px; height: 30px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--line);
	color: var(--text);
	transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.faq .pm .i { width: 16px; height: 16px; }
.faq details[open] .pm {
	transform: rotate(45deg);
	background: var(--ink-900);
	border-color: var(--ink-900);
	color: #fff;
}
.faq .ans { padding: 0 56px 24px 0; color: var(--text-2); }
.faq .ans a { color: var(--brand-600); font-weight: 600; }
.faq details[open] .ans { animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }


/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: grid;
	grid-template-columns: 1.5fr auto;
	align-items: center;
	gap: 32px;
	padding: clamp(40px, 6vw, 72px);
	border-radius: var(--r-2xl);
	color: #fff;
	background:
		radial-gradient(600px circle at 100% 0%, rgba(255, 168, 120, .45), transparent 60%),
		linear-gradient(135deg, #E64209 0%, #C9370A 55%, #8E2A07 100%);
}
.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.cta-band p { margin-top: 14px; max-width: 540px; font-size: 1.0625rem; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }


/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	padding-top: clamp(64px, 8vw, 96px);
	background: var(--ink-950);
	color: var(--text-inv-2);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.7fr repeat(3, 1fr);
	gap: 48px;
}
.site-footer .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 340px; font-size: .9375rem; }
.footer-col h4 {
	margin-bottom: 16px;
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}
.footer-col a {
	display: block;
	padding: 5px 0;
	font-size: .9375rem;
	color: var(--text-inv-2);
	transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: clamp(48px, 6vw, 72px);
	padding-block: 24px;
	border-top: 1px solid var(--line-inv);
	font-size: .875rem;
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }


/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.label { font-size: .875rem; font-weight: 600; color: var(--text); }
.label .opt { font-weight: 400; color: var(--text-3); }
.input, .select, .textarea {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #D9D3CA;
	border-radius: 10px;
	background: #fff;
	font-size: .9375rem;
	box-shadow: var(--shadow-xs);
	transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: #98A2B3; }
.input:hover, .select:hover, .textarea:hover { border-color: #C6BFB4; }
.input:focus, .select:focus, .textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(230, 66, 9, .12);
}
.textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--danger-line); }
.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(240, 68, 56, .14); }
.error-msg { display: none; font-size: .8125rem; color: var(--danger); }
.field.has-error .error-msg { display: block; }

.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chips label { position: relative; }
.choice-chips input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chips span {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: .875rem;
	font-weight: 500;
	color: var(--text-2);
	cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s;
}
.choice-chips span:hover { border-color: #CFC8BE; color: var(--text); }
.choice-chips input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.choice-chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--text-2); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand-600); }
.checkbox a { color: var(--brand-600); font-weight: 600; }


/* --------------------------------------------------------------------------
   15. Reveal-on-scroll (only when JS is available)
   -------------------------------------------------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }


/* ==========================================================================
   PAGE BLOCKS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	margin-top: calc(var(--header-h) * -1);
	padding-top: var(--header-h);
	background: var(--bg-soft);
}
.hero::after {
	content: "";
	position: absolute;
	right: -10%; top: 0;
	width: 70%; height: 100%;
	pointer-events: none;
	background: radial-gradient(closest-side, rgba(230, 66, 9, .13), transparent);
}
.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	align-items: center;
	gap: clamp(40px, 5vw, 72px);
	padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 112px);
}
.hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 14px 5px 5px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow-xs);
	font-size: .875rem;
	font-weight: 500;
	color: var(--text-2);
	transition: border-color .2s, box-shadow .2s;
}
.hero-pill:hover { border-color: #D6D0C7; box-shadow: var(--shadow-sm); }
.hero-pill-tag {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--brand-50);
	color: var(--brand-700);
	font-size: .75rem;
	font-weight: 700;
}
.hero-pill .i { width: 15px; height: 15px; color: var(--text-3); }
.hero h1 { margin-top: 28px; }
.hero .lead { margin-top: 24px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.hero-points .i { width: 18px; height: 18px; color: var(--success-dot); stroke-width: 2.25; }

/* Product mock-up: the dashboard sits on top, the payslip overlaps only its footer */
.hero-visual { position: relative; padding: 0 0 232px 40px; }
.app-window {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-xl);
}
.app-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 42px;
	padding: 0 14px;
	border-bottom: 1px solid var(--line-2);
	background: #FCFBF9;
}
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3DED7; }
.app-url {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-inline: auto;
	padding: 3px 14px;
	border: 1px solid var(--line-2);
	border-radius: 6px;
	background: #fff;
	font-size: .72rem;
	color: var(--text-3);
}
.app-url .i { width: 11px; height: 11px; color: var(--success-dot); stroke-width: 2.25; }
.app-body { display: grid; grid-template-columns: 56px 1fr; }
.app-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 0;
	border-right: 1px solid var(--line-2);
	background: #FCFBF9;
}
.app-side .brand-mark { width: 28px; height: 28px; margin-bottom: 12px; }
.app-side span {
	width: 34px; height: 34px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	color: var(--text-3);
}
.app-side span .i { width: 17px; height: 17px; }
.app-side span.on { background: var(--brand-50); color: var(--brand-600); }
.app-main { padding: 20px 22px 22px; min-width: 0; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-head small { display: block; font-size: .72rem; font-weight: 500; color: var(--text-3); }
.app-head strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.02em; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.kpi { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.kpi small { display: block; font-size: .7rem; color: var(--text-3); }
.kpi strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.03em; }
.kpi em { font-style: normal; font-size: .68rem; color: var(--text-3); }
.kpi em.up { color: var(--success); font-weight: 600; }

.ptable { margin-top: 14px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; font-size: .78rem; }
.ptable .tr {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr .8fr;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-top: 1px solid var(--line-2);
}
.ptable .tr:first-child {
	padding-block: 8px;
	border-top: 0;
	background: #FCFBF9;
	font-size: .7rem;
	font-weight: 500;
	color: var(--text-3);
}
.ptable .muted { color: var(--text-3); }
.person { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; white-space: nowrap; }
.av {
	width: 24px; height: 24px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: .6rem;
	font-weight: 700;
	color: #fff;
}
.av-1 { background: #E64209; }
.av-2 { background: #2E5BFF; }
.av-3 { background: #0E9384; }
.av-4 { background: #7A5AF8; }
.amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.app-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;

	margin-top: 12px;
	padding: 2px 4px 0;
	font-size: .72rem;
	color: var(--text-3);
}
.app-foot b { font-weight: 600; color: var(--brand-600); }

.float-payslip {
	position: absolute;
	left: 0; bottom: 0;
	width: 256px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow-lg);
	animation: float 7s ease-in-out infinite;
}
.fp-head { display: flex; align-items: center; justify-content: space-between; }
.fp-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.fp-period { font-size: .7rem; color: var(--text-3); }
.fp-name { margin-top: 10px; font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
.fp-role { font-size: .72rem; color: var(--text-3); }
.fp-rows { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .74rem; }
.fp-row { display: flex; justify-content: space-between; color: var(--text-2); }
.fp-row span:last-child { font-variant-numeric: tabular-nums; }
.fp-net {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--bg-soft);
	font-size: .72rem;
	color: var(--text-2);
}
.fp-net strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	margin-top: 10px;
	border-radius: 8px;
	background: var(--ink-900);
	font-size: .74rem;
	font-weight: 600;
	color: #fff;
}
.fp-btn .i { width: 14px; height: 14px; }

.float-secure {
	position: absolute;
	right: 24px; bottom: 120px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow-md);
	animation: float 8s ease-in-out -2s infinite;
}
.float-secure .ico {
	width: 34px; height: 34px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--success-bg);
	color: var(--success);
}
.float-secure .ico .i { width: 18px; height: 18px; }
.float-secure strong { display: block; font-size: .8rem; line-height: 1.3; }
.float-secure small { display: block; font-size: .7rem; color: var(--text-3); }

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}


/* --------------------------------------------------------------------------
   Features bento (home)
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: 1 / -1; }

.feat-payslip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feat-payslip > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.feat-payslip .link-arrow { margin-top: auto; padding-top: 28px; }

.slip-stack { position: relative; min-height: 300px; }
.slip {
	position: absolute;
	left: 50%; top: 50%;
	display: flex;
	flex-direction: column;
	width: 250px;
	height: 208px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow-md);
	transition: transform .5s var(--ease);
}
.slip-3 { transform: translate(-50%, -50%) translate(26px, -22px) rotate(8deg); background: var(--bg-muted); }
.slip-2 { transform: translate(-50%, -50%) translate(13px, -11px) rotate(4deg); background: var(--bg-soft); }
.slip-1 { transform: translate(-50%, -50%); }
.card:hover .slip-3 { transform: translate(-50%, -50%) translate(40px, -30px) rotate(11deg); }
.card:hover .slip-2 { transform: translate(-50%, -50%) translate(20px, -15px) rotate(5.5deg); }
.slip-head { display: flex; align-items: center; justify-content: space-between; }
.slip-head .brand-mark { width: 22px; height: 22px; }
.slip-bars { display: grid; gap: 8px; margin-top: 14px; }
.slip-bars span { display: flex; justify-content: space-between; gap: 12px; }
.slip-bars i, .slip-bars b { display: block; height: 7px; border-radius: 4px; background: var(--bg-muted); }
.slip-bars i { width: 46%; }
.slip-bars b { width: 26%; }
.slip-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--line);
	font-size: .72rem;
	color: var(--text-3);
}
.slip-total strong { font-family: var(--font-display); font-size: .95rem; color: var(--text); font-variant-numeric: tabular-nums; }

.records { display: grid; gap: 8px; margin-top: 24px; }
.records li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--line-2);
	border-radius: 12px;
	background: var(--bg-soft);
	font-size: .85rem;
}
.records li:first-child { background: #fff; border-color: var(--line); box-shadow: var(--shadow-xs); }
.records .i { width: 18px; height: 18px; color: var(--brand-600); }
.records strong { display: block; font-weight: 600; line-height: 1.3; }
.records small { display: block; font-size: .75rem; color: var(--text-3); }
.records .chip { margin-left: auto; }

.feat-support { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.feat-support .row { display: flex; align-items: center; gap: 20px; }
.feat-support h3 { margin-top: 0; }
.feat-support p { margin-top: 4px; }


/* --------------------------------------------------------------------------
   Audience split (home)
   -------------------------------------------------------------------------- */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(32px, 4vw, 48px);
	border-radius: var(--r-2xl);
}
.aud-card--light { background: var(--bg-soft); border: 1px solid var(--line); }
.aud-card--dark { background: var(--ink-900); color: var(--text-inv); }
.aud-card--dark::after {
	content: "";
	position: absolute;
	right: -140px; top: -180px;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(230, 66, 9, .22), transparent);
	pointer-events: none;
}
.aud-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: .8125rem;
	font-weight: 600;
}
.aud-tag .i { width: 16px; height: 16px; color: var(--brand-600); }
.aud-card--dark .aud-tag { background: rgba(255, 255, 255, .06); border-color: var(--line-inv); }
.aud-card--dark .aud-tag .i { color: var(--brand-400); }
.aud-card h3 { margin-top: 24px; font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.aud-card > p { margin-top: 12px; color: var(--text-2); max-width: 460px; }
.aud-card--dark > p { color: var(--text-inv-2); }
.aud-card .checklist { margin-top: 32px; }
.aud-card--dark .ck { background: rgba(230, 66, 9, .2); color: var(--brand-400); }
.aud-card .btn { margin-top: auto; }
.aud-card .checklist + .btn { margin-top: 40px; }


/* --------------------------------------------------------------------------
   Steps (home)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
	position: relative;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: #fff;
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
	font-family: var(--font-display);
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--brand-200);
}
.step h3 { margin-top: 28px; font-size: 1.25rem; letter-spacing: -.02em; }
.step p { margin-top: 10px; color: var(--text-2); font-size: .975rem; }
.step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 54px;
	right: -25px;
	width: 26px;
	border-top: 2px dashed var(--brand-200);
}
.steps-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; }


/* --------------------------------------------------------------------------
   Security (home)
   -------------------------------------------------------------------------- */
.security { overflow: hidden; }
.security::before {
	content: "";
	position: absolute;
	left: -200px; bottom: -300px;
	width: 700px; height: 700px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(230, 66, 9, .11), transparent);
	pointer-events: none;
}
.security-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: clamp(48px, 6vw, 96px);
}
.security .section-head { margin-bottom: 0; }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.sec-item h4 { margin-top: 16px; font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.sec-item p { margin-top: 6px; font-size: .925rem; color: var(--text-inv-2); }
.security .ico-box { background: rgba(255, 255, 255, .05); border-color: var(--line-inv); color: var(--brand-400); }

.shield-viz { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; }
.ring {
	position: absolute;
	inset: 0;
	margin: auto;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
}
.ring-1 { width: 100%; height: 100%; }
.ring-2 { width: 74%; height: 74%; border-style: dashed; border-color: rgba(255, 255, 255, .12); animation: spin 60s linear infinite; }
.ring-3 { width: 48%; height: 48%; background: radial-gradient(closest-side, rgba(230, 66, 9, .22), transparent); border-color: rgba(230, 66, 9, .3); }
.shield-core {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 116px; height: 116px;
	display: grid;
	place-items: center;
	border-radius: 32px;
	background: linear-gradient(150deg, #FF7A45, #E64209 45%, #A82F04);
	color: #fff;
	box-shadow: 0 0 0 10px rgba(230, 66, 9, .1), 0 30px 80px -10px rgba(230, 66, 9, .6);
}
.shield-core .i { width: 52px; height: 52px; stroke-width: 1.5; }
.orbit-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--line-inv);
	border-radius: 999px;
	background: rgba(18, 27, 45, .85);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: .8125rem;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
}
.orbit-chip span {
	width: 26px; height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(23, 178, 106, .16);
	color: #47CD89;
}
.orbit-chip .i { width: 14px; height: 14px; stroke-width: 2.25; }
.orbit-chip.c1 { top: 8%;  left: 4%; }
.orbit-chip.c2 { top: 20%; right: -2%; }
.orbit-chip.c3 { bottom: 18%; left: -4%; }
.orbit-chip.c4 { bottom: 6%; right: 8%; }
@keyframes spin { to { transform: rotate(360deg); } }


/* --------------------------------------------------------------------------
   FAQ layout (home & pricing)
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-help {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 32px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--bg-soft);
	font-size: .9rem;
	color: var(--text-2);
}
.faq-help strong { display: block; color: var(--text); }


/* --------------------------------------------------------------------------
   Form card (for auth pages: login / registration)
   -------------------------------------------------------------------------- */
.form-card {
	position: relative;
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--r-2xl);
	background: #fff;
	box-shadow: var(--shadow-lg);
}
.form-card h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.form-card > p { margin-top: 6px; color: var(--text-2); font-size: .9375rem; }
.form-card form { margin-top: 28px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { font-size: .8125rem; color: var(--text-3); }


/* --------------------------------------------------------------------------
   Auth pages (login, registration, password reset)
   Template: templates/Registration/auth_base.html
   -------------------------------------------------------------------------- */
.auth-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	min-height: 100vh;
	background: var(--bg);
}
.auth-main {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 24px clamp(20px, 5vw, 56px);
}
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.auth-top .back-link { font-size: .875rem; }
.auth-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
	padding-block: clamp(40px, 6vh, 72px);
}
.auth--wide .auth-body { max-width: 540px; }
.auth-head h1 { font-size: clamp(1.85rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.auth-head p { margin-top: 10px; color: var(--text-2); }
.auth-form { display: grid; gap: 20px; margin-top: 32px; }
.auth-form .btn-block { margin-top: 4px; }
.auth-alt { margin-top: 28px; text-align: center; font-size: .9375rem; color: var(--text-2); }
.auth-alt a, .label-row a, .checkbox a { color: var(--brand-600); font-weight: 600; }
.auth-alt a:hover, .label-row a:hover, .checkbox a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.auth-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	font-size: .8125rem;
	color: var(--text-3);
}
.auth-foot nav { display: flex; gap: 20px; }
.auth-foot a:hover { color: var(--text); }
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--text-2);
	transition: color .15s;
}
.back-link .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.back-link:hover { color: var(--text); }
.back-link:hover .i { transform: translateX(-3px); }
.auth-back { margin-top: 28px; text-align: center; }

/* Status pages (email sent, password updated, invalid link) */
.auth-icon {
	width: 56px; height: 56px;
	display: grid;
	place-items: center;
	margin-bottom: 28px;
	border-radius: 16px;
	border: 1px solid var(--brand-100);
	background: var(--brand-50);
	color: var(--brand-600);
}
.auth-icon .i { width: 26px; height: 26px; }
.auth-icon--success { border-color: #ABEFC6; background: var(--success-bg); color: var(--success); }
.auth-icon--danger { border-color: #FECDCA; background: #FEF3F2; color: var(--danger); }
.auth-note { margin-top: 16px; font-size: .9rem; color: var(--text-3); }
.auth-actions { display: grid; gap: 12px; margin-top: 32px; }

/* Django-rendered widgets: style whatever {{ form.field }} outputs */
.field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #D9D3CA;
	border-radius: 10px;
	background: #fff;
	font-size: .9375rem;
	color: var(--text);
	box-shadow: var(--shadow-xs);
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field :is(input, textarea)::placeholder { color: #98A2B3; }
.field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):hover { border-color: #C6BFB4; }
.field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(230, 66, 9, .12);
}
.field.has-error :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border-color: var(--danger-line); }
.field.has-error :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus { box-shadow: 0 0 0 4px rgba(240, 68, 56, .14); }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset, var(--shadow-xs); }

.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-row a { font-size: .85rem; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid .field, .form-grid--3 .field { min-width: 0; }

/* Show / hide password */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 50px !important; }
.pw-toggle {
	position: absolute;
	right: 5px; top: 50%;
	width: 38px; height: 38px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	color: var(--text-3);
	transform: translateY(-50%);
	transition: color .15s, background-color .15s;
}
.pw-toggle:hover { color: var(--text); background: var(--bg-muted); }
.pw-toggle .i { width: 19px; height: 19px; }
.pw-toggle .i-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .i-eye { display: none; }
.pw-toggle[aria-pressed="true"] .i-eye-off { display: block; }

.captcha { min-height: 78px; }
.captcha > * { max-width: 100%; }

/* Alerts (Django messages + form errors) */
.alerts { display: grid; gap: 10px; margin-bottom: 28px; }
.auth-form > .alerts { margin-bottom: 0; }
.alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 14px 14px 16px;
	border: 1px solid;
	border-radius: 12px;
	font-size: .9rem;
	line-height: 1.5;
	animation: fade-in .35s var(--ease);
}
.alert > .i { width: 20px; height: 20px; margin-top: 1px; }
.alert-body { flex: 1; min-width: 0; }
.alert-body strong { display: block; font-weight: 600; }
.alert ul { margin-top: 4px; padding-left: 18px; list-style: disc; }
.alert li + li { margin-top: 2px; }
.alert li span { font-weight: 600; }
.alert-close {
	width: 28px; height: 28px;
	flex: none;
	display: grid;
	place-items: center;
	margin: -4px -4px -4px 0;
	border-radius: 7px;
	color: inherit;
	opacity: .7;
}
.alert-close:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.alert-close .i { width: 16px; height: 16px; }
.alert-error   { background: #FEF3F2; border-color: #FECDCA; color: #912018; }
.alert-success { background: var(--success-bg); border-color: #ABEFC6; color: #05603A; }
.alert-info    { background: var(--info-bg); border-color: #B2DDFF; color: #1849A9; }
.alert-warning { background: #FFFAEB; border-color: #FEDF89; color: #93370D; }

/* Brand panel */
.auth-aside {
	position: sticky;
	top: 12px;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 24px);
	min-height: 600px;
	margin: 12px 12px 12px 0;
	padding: clamp(36px, 4vw, 56px);
	overflow: hidden;
	border-radius: var(--r-2xl);
	background: var(--ink-900);
	color: var(--text-inv);
}
.auth-aside::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	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: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 20%, transparent 100%);
	mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 20%, transparent 100%);
}
.auth-aside::after {
	content: "";
	position: absolute;
	left: 50%; top: 32%;
	z-index: -1;
	width: 560px; height: 560px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(230, 66, 9, .35), transparent);
	transform: translate(-50%, -50%);
}
.aside-visual { position: relative; flex: 1; display: grid; place-items: center; min-height: 300px; }
.aside-stage { position: relative; }
.aside-slip { position: relative; left: auto; bottom: auto; width: 284px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); }
.aside-slip .fp-head, .aside-slip .fp-name, .aside-slip .fp-role, .aside-slip .fp-rows, .aside-slip .fp-net { color: var(--text); }
.aside-slip .fp-label { color: var(--brand-600); }
.aside-slip .fp-period, .aside-slip .fp-role { color: var(--text-3); }
.aside-slip .fp-row { color: var(--text-2); }
.aside-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	border: 1px solid var(--line-inv);
	border-radius: 14px;
	background: rgba(18, 27, 45, .88);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
	white-space: nowrap;
	animation: float 8s ease-in-out infinite;
}
.aside-chip .ico {
	width: 32px; height: 32px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: rgba(23, 178, 106, .16);
	color: #47CD89;
}
.aside-chip .ico .i { width: 17px; height: 17px; }
.aside-chip strong { display: block; font-size: .8rem; line-height: 1.3; color: #fff; }
.aside-chip small { display: block; font-size: .7rem; color: var(--text-inv-2); }
.aside-chip.c1 { top: -26px; right: -96px; }
.aside-chip.c2 { bottom: -26px; left: -104px; animation-delay: -3s; }
.aside-copy { position: relative; max-width: 460px; }
.aside-copy h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; color: #fff; }
.aside-copy p { margin-top: 14px; color: var(--text-inv-2); }
.aside-copy .checklist { margin-top: 24px; gap: 12px; font-size: .95rem; color: #E4E7EC; }
.aside-copy .ck { background: rgba(230, 66, 9, .2); color: var(--brand-400); }

@media (max-width: 1100px) {
	.aside-chip.c1 { right: -40px; }
	.aside-chip.c2 { left: -48px; }

}
@media (max-width: 1024px) {
	.auth-shell { grid-template-columns: 1fr; }
	.auth-aside { display: none; }
	.auth-main { background: var(--bg-soft); }
	.auth-body { padding-block: 32px 48px; }
	.auth-card-sm {
		padding: clamp(24px, 5vw, 40px);
		border: 1px solid var(--line);
		border-radius: var(--r-xl);
		background: #fff;
		box-shadow: var(--shadow-md);
	}
}
@media (max-width: 560px) {
	.form-grid, .form-grid--3 { grid-template-columns: 1fr; }
	.auth-main { padding: 16px 16px 24px; }
	.auth-card-sm { padding: 24px 20px; border-radius: var(--r-lg); }
	.auth-foot { justify-content: center; text-align: center; }
}


/* --------------------------------------------------------------------------
   Status pages (403 / 404 / payment results): templates/status_base.html
   -------------------------------------------------------------------------- */
.status-page { background: var(--bg-soft); }
.status-page .auth-main { position: relative; isolation: isolate; overflow: hidden; }
.status-page .auth-main::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	background-position: center;
	opacity: .5;
	-webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 10%, transparent 100%);
	mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 10%, transparent 100%);
}
.status-body { max-width: 520px; text-align: center; }
.status-card {
	padding: clamp(28px, 5vw, 48px);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: #fff;
	box-shadow: var(--shadow-lg);
}
.status-card .auth-icon { margin-inline: auto; }
.status-card .auth-head p { max-width: 400px; margin-inline: auto; }
.status-code {
	display: block;
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-size: clamp(4.5rem, 12vw, 6.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.06em;
	color: transparent;
	-webkit-text-stroke: 2px var(--brand-200);
}
.status-card .auth-actions { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-copy { max-width: 680px; }
	.hero-visual { max-width: 680px; width: 100%; margin-inline: auto; }
	.security-grid { grid-template-columns: 1fr; }
	.shield-viz { max-width: 420px; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
	.nav, .header-actions .hide-sm { display: none; }
	.menu-toggle { display: inline-flex; }
	.header-actions { gap: 10px; }

	.bento { grid-template-columns: 1fr 1fr; }
	.bento .span-2 { grid-column: 1 / -1; }
	.bento .card--dark { grid-column: 1 / -1; }
	.split-cards { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.step:not(:last-child)::after { top: auto; bottom: -25px; right: auto; left: 56px; width: 0; height: 26px; border-top: 0; border-left: 2px dashed var(--brand-200); }
	.faq-grid { grid-template-columns: 1fr; }
	.faq-grid .section-head { position: static; }
	.cta-band { grid-template-columns: 1fr; }
}

@media (min-width: 961px) {
	.mobile-menu { display: none !important; }
}

@media (max-width: 720px) {
	.bento { grid-template-columns: 1fr; }
	.feat-payslip { grid-template-columns: 1fr; }
	.slip-stack { height: 240px; }
	.feat-support, .feat-support .row { flex-direction: column; align-items: flex-start; }
	.sec-list { grid-template-columns: 1fr; gap: 28px; }
	.form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

	/* Simplify the product mock-up on small screens */
	.hero-visual { padding: 24px 0 236px; }
	.app-body { grid-template-columns: 1fr; }
	.app-side { display: none; }
	.app-main { padding: 16px; }
	.kpis { gap: 8px; }
	.kpi { padding: 10px; }
	.kpi strong { font-size: 1.05rem; }
	.ptable .tr { grid-template-columns: 1.6fr 1fr .9fr; }
	.ptable .col-dept { display: none; }
	.float-payslip { left: 50%; width: 252px; transform: translateX(-50%); animation: none; }
	.float-secure { right: 8px; top: 0; bottom: auto; }
	.slip { width: 230px; }

	.orbit-chip { font-size: .75rem; }
	.faq .ans { padding-right: 0; }
}

@media (max-width: 480px) {
	.hero-ctas .btn, .steps-cta .btn, .cta-actions .btn { width: 100%; }
	.header-actions .btn-primary { display: none; }
	.hero-pill-tag, .hero-pill .i { display: none; }
	.hero-pill { padding: 7px 14px; font-size: .8rem; }

	.kpi em { display: none; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
