/* Zenito license portal */

:root {
	--blue: #1f5bb5;
	--blue-dark: #174a96;
	--blue-soft: #eaf1fb;
	--navy: #0d1b33;
	--navy-2: #14264a;
	--navy-line: rgba(255, 255, 255, .08);
	--orange: #f08c00;
	--orange-soft: #fff4e2;
	--green: #16794c;
	--green-soft: #e6f4ec;
	--red: #c2312b;
	--red-soft: #fcebea;
	--amber: #a35c00;
	--amber-soft: #fff4dc;
	--violet: #5b45b8;
	--violet-soft: #efecfa;

	--text: #1b2333;
	--text-2: #4a5568;
	--muted: #6b7686;
	--line: #e2e7ee;
	--line-2: #eef1f5;
	--bg: #f4f6f9;
	--card: #fff;

	--radius: 10px;
	--radius-sm: 7px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .05);
	--shadow-lg: 0 10px 30px -12px rgba(16, 24, 40, .22);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Sora", "Inter", system-ui, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
small, .small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
code, .mono { font-family: var(--mono); font-size: .9em; }
code { background: var(--line-2); padding: 1px 6px; border-radius: 5px; }

.icon { width: 18px; height: 18px; flex: none; fill: currentColor; vertical-align: -3px; }
.icon--sm { width: 15px; height: 15px; vertical-align: -2px; }
.icon--lg { width: 24px; height: 24px; }

.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt { margin-top: 20px; } .mb { margin-bottom: 20px; }
.stack > * + * { margin-top: 20px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }

/* ------------------------------------------------ buttons */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	height: 40px; padding: 0 16px;
	font: 500 14px/1 var(--font);
	color: var(--text); background: #fff;
	border: 1px solid #d3dae4; border-radius: var(--radius-sm);
	cursor: pointer; white-space: nowrap; text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; background: #f7f9fc; border-color: #c2cbd8; }
.btn:focus-visible { outline: 3px solid rgba(31, 91, 181, .3); outline-offset: 1px; }
.btn--primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn--accent { color: #fff; background: var(--orange); border-color: var(--orange); }
.btn--accent:hover { background: #d97e00; border-color: #d97e00; }
.btn--danger { color: var(--red); border-color: #efc4c1; }
.btn--danger:hover { background: var(--red-soft); border-color: #e4a29d; }
.btn--danger-solid { color: #fff; background: var(--red); border-color: var(--red); }
.btn--danger-solid:hover { background: #a8261f; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn--ghost:hover { background: rgba(16, 24, 40, .05); border-color: transparent; }
.btn--light { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.btn--light:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); }
.btn--sm { height: 32px; padding: 0 11px; font-size: 13px; gap: 5px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn--danger { color: var(--red); }

/* ------------------------------------------------ forms */

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.label .optional { font-weight: 400; color: var(--muted); }
.hint { margin-top: 6px; font-size: 13px; color: var(--muted); }

.input, .select, .textarea {
	display: block; width: 100%;
	height: 42px; padding: 0 12px;
	font: 400 14.5px/1.4 var(--font); color: var(--text);
	background: #fff;
	border: 1px solid #cfd7e2; border-radius: var(--radius-sm);
	transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.textarea--code { font-family: var(--mono); font-size: 13px; }
.select {
	appearance: none; padding-right: 34px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7686' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 91, 181, .15); }
.input::placeholder, .textarea::placeholder { color: #9aa4b2; }
.input--mono { font-family: var(--mono); letter-spacing: .02em; }
.input--code { height: 54px; font: 600 24px/1 var(--mono); letter-spacing: .4em; text-align: center; }
.input-group { display: flex; }
.input-group .input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-left: 0; height: 42px; }
.input-prefix { display: flex; align-items: center; }
.input-prefix span { height: 42px; display: flex; align-items: center; padding: 0 12px; background: var(--line-2); border: 1px solid #cfd7e2; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); font-size: 14px; }
.input-prefix .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { width: 17px; height: 17px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.check strong { display: block; font-weight: 600; }
.check span { color: var(--text-2); }
.check + .check { margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.form-actions--end { justify-content: flex-end; }

.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.radio-card:hover { border-color: #b9c6d8; }
.radio-card input { margin: 3px 0 0; accent-color: var(--blue); }
.radio-card:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 91, 181, .12); }
.radio-card strong { display: block; font-weight: 600; }
.radio-card small { color: var(--muted); }
.radio-card.is-disabled { opacity: .55; cursor: not-allowed; }

/* ------------------------------------------------ alerts and badges */

.alert {
	display: flex; gap: 11px; align-items: flex-start;
	padding: 12px 14px; margin-bottom: 18px;
	font-size: 14px; border-radius: var(--radius-sm);
	border: 1px solid; background: #fff;
}
.alert .icon { margin-top: 1px; }
.alert p:last-child { margin-bottom: 0; }
.alert--success { color: #0f5a38; background: var(--green-soft); border-color: #bfe3cf; }
.alert--error { color: #8f1f1a; background: var(--red-soft); border-color: #f3c5c2; }
.alert--info { color: #17437f; background: var(--blue-soft); border-color: #c8daf3; }
.alert--warning { color: #7a4600; background: var(--amber-soft); border-color: #f4dba9; }
.alert .grow > strong { display: block; margin-bottom: 2px; }
.alert .btn { margin-left: auto; }

.badge {
	display: inline-flex; align-items: center; gap: 5px;
	height: 23px; padding: 0 9px;
	font: 600 12px/1 var(--font); letter-spacing: .01em;
	border-radius: 999px; white-space: nowrap;
	color: var(--text-2); background: var(--line-2);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge--plain::before { display: none; }
.badge--green { color: var(--green); background: var(--green-soft); }
.badge--red { color: var(--red); background: var(--red-soft); }
.badge--amber { color: var(--amber); background: var(--amber-soft); }
.badge--blue { color: var(--blue); background: var(--blue-soft); }
.badge--violet { color: var(--violet); background: var(--violet-soft); }
.badge--gray { color: #5b6574; background: #eceff3; }

.count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; font: 700 11px/1 var(--font); color: #fff; background: var(--orange); border-radius: 999px; }
.count--red { background: var(--red); }

/* ------------------------------------------------ cards, tables */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: 15.5px; }
.card-head .sub { font-size: 13px; color: var(--muted); }
.card-head > :last-child:not(:first-child) { margin-left: auto; }
.card-body { padding: 20px; }
.card-body--tight { padding: 14px 20px; }
.card-foot { padding: 13px 20px; border-top: 1px solid var(--line); background: #fafbfd; border-radius: 0 0 var(--radius) var(--radius); }
.card--danger { border-color: #f0cdcb; }
.card--danger .card-head { background: #fdf6f5; border-color: #f0cdcb; border-radius: var(--radius) var(--radius) 0 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 10px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-align: left; color: var(--muted); background: #f8fafc; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafcff; }
.table .cell-main { font-weight: 600; color: var(--text); }
.table .cell-sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.table .actions { text-align: right; white-space: nowrap; }
.table--compact td { padding: 9px 16px; }
.table a.cell-main { color: var(--text); }
.table a.cell-main:hover { color: var(--blue); }

.dl { display: grid; grid-template-columns: minmax(130px, 34%) minmax(0, 1fr); margin: 0; font-size: 14px; }
.dl dt, .dl dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.dl dt { color: var(--muted); padding-right: 14px; }
.dl dd { font-weight: 500; overflow-wrap: anywhere; }
.dl dt:last-of-type, .dl dd:last-of-type { border-bottom: 0; }

.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.empty .icon { width: 38px; height: 38px; color: #a9b4c3; margin-bottom: 10px; }
.empty h3 { color: var(--text); margin-bottom: 4px; }
.empty p { max-width: 420px; margin: 0 auto 16px; }

.keybox { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #f6f8fb; border: 1px dashed #c9d3e0; border-radius: var(--radius-sm); }
.keybox code { flex: 1; min-width: 0; background: none; padding: 0; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--navy); overflow-wrap: anywhere; }
.key-inline { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--text-2); }

.copy-btn.is-copied { color: var(--green); border-color: #bfe3cf; background: var(--green-soft); }

.pagination { display: flex; gap: 6px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.pagination .pages { display: flex; gap: 4px; flex-wrap: wrap; }
.pagination a, .pagination span.current, .pagination span.gap { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-2); background: #fff; }
.pagination a:hover { text-decoration: none; border-color: #b9c6d8; }
.pagination span.current { color: #fff; background: var(--blue); border-color: var(--blue); font-weight: 600; }
.pagination span.gap { border: 0; background: none; }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.toolbar .input, .toolbar .select { height: 38px; width: auto; font-size: 14px; }
.toolbar .search { flex: 1 1 240px; position: relative; }
.toolbar .search .input { width: 100%; padding-left: 36px; }
.toolbar .search .icon { position: absolute; left: 11px; top: 10px; color: var(--muted); }
.toolbar .btn { height: 38px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; margin-bottom: -1px; font: 500 14px/1.2 var(--font); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs a:hover, .tabs button:hover { color: var(--text); text-decoration: none; }
.tabs .is-active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.pills a:hover { text-decoration: none; border-color: #b9c6d8; }
.pills a.is-active { color: #fff; background: var(--navy-2); border-color: var(--navy-2); }
.pills a .num { font-size: 12px; opacity: .7; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 17px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .when { display: block; font-size: 12.5px; color: var(--muted); }

.progress { height: 6px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--blue); border-radius: inherit; }

/* ------------------------------------------------ page structure */

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.page-head { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--main { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

.stat { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.stat-label .icon { color: var(--blue); }
.stat-value { margin-top: 8px; font: 600 28px/1.1 var(--display); letter-spacing: -.02em; color: var(--text); }
.stat-foot { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.stat--alert .stat-label .icon { color: var(--red); }
.stat--alert .stat-value { color: var(--red); }
a.stat { display: block; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.stat:hover { text-decoration: none; border-color: #b9c6d8; box-shadow: var(--shadow-lg); }

/* ------------------------------------------------ public site */

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font: 600 18px/1 var(--display); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand small { font: 500 12px/1 var(--font); color: var(--muted); letter-spacing: 0; padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--text-2); border-radius: 6px; }
.site-nav a:hover { color: var(--text); background: rgba(16, 24, 40, .04); text-decoration: none; }
.site-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.nav-toggle { display: none; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(31, 91, 181, .55), transparent 60%), linear-gradient(160deg, #0d1b33 0%, #10244a 55%, #0d1b33 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; font-size: 13px; font-weight: 500; color: #cfe0fa; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; }
.eyebrow b { color: #ffb84d; font-weight: 600; }
.hero h1 { font-size: 44px; line-height: 1.12; letter-spacing: -.03em; color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ffb84d; }
.hero p.lead { font-size: 17.5px; line-height: 1.6; color: #b9c8de; max-width: 560px; margin-bottom: 28px; }
.hero .row { gap: 12px; }
.hero-meta { display: flex; gap: 22px; margin-top: 30px; font-size: 13.5px; color: #93a6c3; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { color: #7fb0ff; }

.hero-card { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); overflow: hidden; }
.hero-card-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f8fafc; font-size: 13px; color: var(--muted); }
.hero-card-head i { width: 10px; height: 10px; border-radius: 50%; background: #dfe4ea; }
.hero-card-body { padding: 20px; }
.hero-card .lic-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.hero-card .lic-row:last-child { border-bottom: 0; }
.hero-card .lic-row strong { display: block; font-weight: 600; }
.hero-card .lic-row small { color: var(--muted); }

.section { padding: 80px 0; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.section-head h2 { font-size: 30px; letter-spacing: -.02em; }
.section-head p { color: var(--text-2); font-size: 16px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 16px; font: 600 15px/1 var(--display); color: var(--blue); background: var(--blue-soft); border-radius: 9px; }
.step h3 { font-size: 17px; }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feature { padding: 26px 24px; background: #fff; }
.feature .icon { width: 22px; height: 22px; color: var(--blue); margin-bottom: 14px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 14.5px; color: var(--text-2); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.product:hover { border-color: #c4d0e0; box-shadow: var(--shadow-lg); }
.product--core { border-color: #bcd0ef; background: linear-gradient(180deg, #f5f9ff, #fff 45%); }
.product-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 10px; color: #fff; background: var(--blue); }
.product--addon .product-icon { color: var(--blue); background: var(--blue-soft); }
.product h3 { font-size: 17px; margin-bottom: 4px; }
.product p { flex: 1; font-size: 14px; color: var(--text-2); margin-bottom: 18px; }
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq details + details { margin-top: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px 44px; color: #fff; background: linear-gradient(120deg, var(--blue) 0%, #1a4d9a 60%, #163f80 100%); border-radius: 16px; }
.cta h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta p { margin: 0; color: #cfe0fa; }

.site-footer { color: #93a3ba; background: var(--navy); font-size: 14px; }
.site-footer .container { padding-top: 54px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-line); }
.footer-grid h4 { color: #fff; font: 600 13px/1 var(--font); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 9px; }
.footer-grid a { color: #93a3ba; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: #6f819c; }

.page { padding: 44px 0 70px; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }

.public-flash { padding-top: 20px; }

/* ------------------------------------------------ auth */

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; background: #fff; }
.auth-brand { position: relative; display: flex; flex-direction: column; padding: 44px 56px; color: #fff; background: radial-gradient(800px 400px at 100% 0%, rgba(31, 91, 181, .6), transparent 60%), linear-gradient(170deg, #0d1b33, #12284f); overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .brand { color: #fff; }
.auth-brand .brand small { color: #a9bbd6; border-color: rgba(255, 255, 255, .18); }
.auth-pitch { margin: auto 0; max-width: 440px; }
.auth-pitch h2 { color: #fff; font-size: 30px; letter-spacing: -.02em; margin-bottom: 14px; }
.auth-pitch p { color: #b3c3da; font-size: 16px; }
.auth-points { list-style: none; margin: 26px 0 0; padding: 0; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: #d6e2f3; font-size: 14.5px; }
.auth-points li + li { margin-top: 14px; }
.auth-points .icon { color: #ffb84d; margin-top: 2px; }
.auth-foot { font-size: 13px; color: #7d90ad; }
.auth-foot a { color: #a9c5f0; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 44px 24px; }
.auth-box { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-box h1 { font-size: 26px; margin-bottom: 6px; }
.auth-box .lead { color: var(--muted); margin-bottom: 26px; }
.auth-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }
.auth-mobile-brand { display: none; margin-bottom: 28px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 13px; }
.strength { display: flex; gap: 4px; margin-top: 8px; }
.strength i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.strength[data-level="1"] i:nth-child(-n+1) { background: var(--red); }
.strength[data-level="2"] i:nth-child(-n+2) { background: var(--orange); }
.strength[data-level="3"] i:nth-child(-n+3) { background: #4d9b3a; }
.strength[data-level="4"] i { background: var(--green); }
.hp { position: absolute; left: -9999px; }

/* ------------------------------------------------ account and admin shells */

.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
.sidebar-brand { display: flex; align-items: center; height: 66px; padding: 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-nav .group { margin: 18px 10px 6px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8a95a5; }
.sidebar-nav .group:first-child { margin-top: 2px; }
.sidebar-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2); border-radius: 7px; }
.sidebar-nav a + a { margin-top: 2px; }
.sidebar-nav a:hover { color: var(--text); background: #f2f5f9; text-decoration: none; }
.sidebar-nav a.is-active { color: var(--blue); background: var(--blue-soft); }
.sidebar-nav a .icon { color: #8794a6; }
.sidebar-nav a.is-active .icon { color: var(--blue); }
.sidebar-nav a .count { margin-left: auto; }
.sidebar-foot { padding: 14px 16px; border-top: 1px solid var(--line); flex: none; }
.user-chip { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; font: 600 14px/1 var(--display); color: #fff; background: linear-gradient(135deg, var(--blue), #3b7ad6); border-radius: 50%; text-transform: uppercase; }
.avatar--lg { width: 56px; height: 56px; font-size: 20px; }
.user-chip .who { min-width: 0; }
.user-chip strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 32px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .title { font-weight: 600; font-size: 15px; color: var(--text-2); }
.topbar .actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.topbar .menu-btn { display: none; }
.topbar .mobile-title { display: none; }
.content { padding: 30px 32px 60px; width: 100%; max-width: 1240px; }

/* admin uses a dark sidebar */
.shell--admin .sidebar { background: var(--navy); border-right-color: var(--navy); }
.shell--admin .sidebar-brand { border-bottom-color: var(--navy-line); }
.shell--admin .brand { color: #fff; }
.shell--admin .brand small { color: #ffcf8a; border-color: rgba(240, 140, 0, .45); background: rgba(240, 140, 0, .12); }
.shell--admin .sidebar-nav .group { color: #5f7393; }
.shell--admin .sidebar-nav a { color: #b4c1d6; }
.shell--admin .sidebar-nav a .icon { color: #6f86a8; }
.shell--admin .sidebar-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.shell--admin .sidebar-nav a.is-active { color: #fff; background: rgba(77, 140, 230, .22); }
.shell--admin .sidebar-nav a.is-active .icon { color: #8dbaff; }
.shell--admin .sidebar-foot { border-top-color: var(--navy-line); }
.shell--admin .user-chip strong { color: #fff; }
.shell--admin .user-chip small { color: #7f93b2; }
.shell--admin .sidebar-foot .btn--ghost { color: #9fb0c9; }
.shell--admin .sidebar-foot .btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.topbar-search { position: relative; width: 360px; max-width: 100%; }
.topbar-search .input { height: 38px; padding-left: 36px; background: #f4f6f9; border-color: transparent; }
.topbar-search .input:focus { background: #fff; }
.topbar-search .icon { position: absolute; left: 11px; top: 10px; color: var(--muted); }

.backdrop { display: none; }

/* ------------------------------------------------ account pages */

.welcome { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px 26px; margin-bottom: 22px; color: #fff; background: radial-gradient(600px 200px at 100% 0%, rgba(77, 140, 230, .5), transparent 60%), linear-gradient(140deg, #0f2143, #163a73); border-radius: 12px; }
.welcome h1 { color: #fff; margin: 0 0 4px; font-size: 23px; }
.welcome p { margin: 0; color: #b6c7e0; }
.welcome .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.license-list { display: grid; gap: 14px; }
.license-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; transition: border-color .15s, box-shadow .15s; }
a.license-item:hover { text-decoration: none; border-color: #b9c6d8; box-shadow: var(--shadow-lg); }
.license-item .product-icon { margin: 0; width: 44px; height: 44px; }
.license-item h3 { margin: 0 0 3px; font-size: 16px; }
.license-item .meta { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.license-item .meta span { display: inline-flex; align-items: center; gap: 5px; }
.license-item .side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.license-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px; }
.license-hero h1 { font-size: 22px; margin: 0 0 6px; }
.license-hero .domain { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--text-2); }

.version-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.version-row:last-child { border-bottom: 0; }
.version-row h4 { margin: 0 0 2px; font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.version-row .meta { font-size: 13px; color: var(--muted); }
.version-row details { margin-top: 6px; font-size: 13.5px; }
.version-row details summary { cursor: pointer; color: var(--blue); }
.changelog { margin-top: 8px; padding: 12px 14px; background: #f8fafc; border-radius: 7px; white-space: pre-line; color: var(--text-2); font-size: 13.5px; }

.notice-list .notice { padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.notice-list .notice:last-child { border-bottom: 0; }
.notice h4 { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; font-size: 14.5px; }
.notice p { margin: 0; font-size: 14px; color: var(--text-2); white-space: pre-line; }
.notice .when { font-size: 12.5px; color: var(--muted); }

.qr-box { display: inline-flex; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.qr-box canvas, .qr-box img { display: block; width: 168px; height: 168px; }

/* ------------------------------------------------ admin pieces */

.chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.chart .bar { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.chart .bar i { display: block; border-radius: 3px 3px 0 0; background: var(--blue); }
.chart .bar i.alt { background: var(--orange); border-radius: 0; }
.chart .bar:hover::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 6px; padding: 5px 8px; font-size: 12px; color: #fff; background: var(--navy); border-radius: 5px; white-space: nowrap; z-index: 2; }
.chart-axis { display: flex; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--muted); }
.chart-axis span { flex: 1; text-align: center; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--blue); }
.legend i.alt { background: var(--orange); }

.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list .grow strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .grow small { color: var(--muted); }

.action-list { display: grid; gap: 10px; }
.action-list form { margin: 0; }

.danger-zone > * + * { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.danger-zone h4 { margin: 0 0 4px; font-size: 14.5px; }
.danger-zone p { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }

.probe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.probe div { padding: 12px 14px; background: #f8fafc; border-radius: 8px; font-size: 13.5px; }
.probe strong { display: block; font-size: 15px; margin-top: 2px; }

.audit-details { font-family: var(--mono); font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }

/* ------------------------------------------------ installer, errors, print */

.center-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 16px; background: radial-gradient(900px 400px at 50% -10%, rgba(31, 91, 181, .12), transparent 70%), var(--bg); }
.center-box { width: 100%; max-width: 720px; }
.center-box > .brand { display: flex; justify-content: center; margin-bottom: 24px; }
.req-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 14px; }
.req-list li { display: flex; gap: 8px; align-items: center; }
.req-list .ok { color: var(--green); }
.req-list .bad { color: var(--red); }

.error-page { padding: 90px 0; text-align: center; }
.error-page .code { font: 700 72px/1 var(--display); letter-spacing: -.04em; color: var(--blue); opacity: .18; }
.error-page h1 { margin-top: 10px; }
.error-page p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }

.certificate { max-width: 820px; margin: 30px auto; padding: 56px 60px; background: #fff; border: 1px solid var(--line); position: relative; }
.certificate::before { content: ""; position: absolute; inset: 12px; border: 2px solid var(--blue); border-radius: 4px; pointer-events: none; opacity: .25; }
.certificate-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.certificate h1 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 4px; }
.certificate .seal { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; border: 2px dashed var(--orange); color: var(--orange); font: 700 12px/1.2 var(--display); text-align: center; text-transform: uppercase; letter-spacing: .06em; flex: none; }
.certificate .dl { font-size: 15px; }
.certificate .dl dt, .certificate .dl dd { padding: 13px 0; }
.certificate-foot { margin-top: 40px; font-size: 12.5px; color: var(--muted); }
.print-bar { max-width: 820px; margin: 20px auto 0; display: flex; gap: 10px; justify-content: flex-end; }

@media print {
	body { background: #fff; }
	.print-bar { display: none; }
	.certificate { margin: 0; border: 0; }
}

/* ------------------------------------------------ responsive */

@media (max-width: 1100px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--main { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.shell { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 50; width: 272px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: none; }
	.nav-open .sidebar { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .25); }
	.nav-open .backdrop { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(13, 27, 51, .45); }
	.topbar { padding: 0 16px; }
	.topbar .menu-btn { display: inline-flex; }
	.topbar-search { display: none; }
	.topbar .mobile-title { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.content { padding: 22px 16px 50px; }

	.hero .container { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 64px; }
	.hero-card { display: none; }
	.hero h1 { font-size: 34px; }
	.steps, .features, .grid--3 { grid-template-columns: minmax(0, 1fr); }
	.site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
	.nav-open .site-nav { display: flex; }
	.nav-toggle { display: inline-flex; margin-left: auto; }
	.site-actions { margin-left: 0; }
	.site-actions .hide-sm { display: none; }

	.auth { grid-template-columns: minmax(0, 1fr); }
	.auth-brand { display: none; }
	.auth-mobile-brand { display: flex; }
}

@media (max-width: 680px) {
	body { font-size: 14.5px; }
	.site-header .container { gap: 8px; }
	.site-header .brand small { display: none; }
	.site-actions .btn { height: 36px; padding: 0 12px; font-size: 13.5px; }
	.site-actions .btn .icon { display: none; }
	.nav-toggle { padding: 0 8px; }
	.container { padding: 0 16px; }
	h1 { font-size: 22px; }
	.grid--2, .form-grid, .probe, .req-list { grid-template-columns: minmax(0, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.grid--3 { gap: 12px; }
	.stat { padding: 14px 16px; }
	.stat-value { font-size: 23px; margin-top: 6px; }
	.stat-label { font-size: 12.5px; }
	.stat-foot { font-size: 12px; }
	.form-grid .span-2 { grid-column: auto; }
	.section { padding: 56px 0; }
	.section-head h2 { font-size: 24px; }
	.hero h1 { font-size: 29px; }
	.hero p.lead { font-size: 16px; }
	.cta { padding: 28px 22px; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.license-item { grid-template-columns: minmax(0, 1fr); }
	.license-item .product-icon { display: none; }
	.license-item .side { flex-direction: row; align-items: center; justify-content: space-between; }
	.license-hero { grid-template-columns: minmax(0, 1fr); }
	.version-row { grid-template-columns: minmax(0, 1fr); }
	.dl { grid-template-columns: minmax(0, 1fr); }
	.dl dt { padding-bottom: 0; border-bottom: 0; font-size: 13px; }
	.dl dd { padding-top: 2px; }
	.page-head { align-items: flex-start; }
	.welcome { padding: 20px; }
	.welcome .actions { margin-left: 0; }
	.card-head { flex-wrap: wrap; padding: 14px 16px; }
	.card-body { padding: 16px; }
	.toolbar .input, .toolbar .select { flex: 1 1 140px; }
	.certificate { padding: 34px 24px; }
	.certificate-head { flex-direction: column; }
	.topbar .hide-sm { display: none; }
	.table th, .table td { padding-left: 12px; padding-right: 12px; }

	/* tables turn into stacked rows */
	.table--stack thead { display: none; }
	.table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
	.table--stack tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.table--stack tr:last-child { border-bottom: 0; }
	.table--stack td { padding: 4px 16px; border: 0; }
	.table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
	.table--stack td.actions { text-align: left; padding-top: 8px; }
	.table--stack tbody tr:hover td { background: none; }
}
