:root {
	--ink: #0f172a;
	--ink-2: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--bg: #ffffff;
	--bg-alt: #f8fafc;
	--brand: #4f46e5;
	--brand-2: #7c3aed;
	--brand-ink: #3730a3;
	--ok: #047857;
	--ok-bg: #ecfdf5;
	--warn: #b45309;
	--warn-bg: #fffbeb;
	--bad: #b91c1c;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.narrow-sm { max-width: 460px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inline { display: inline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; border-radius: 10px; padding: .7em 1.2em; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; box-shadow: 0 6px 16px rgba(79, 70, 229, .25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(79, 70, 229, .32); text-decoration: none; }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-sm { padding: .45em .9em; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); box-shadow: none; }
.btn-outline { background: #fff; color: var(--brand-ink); border: 1.5px solid var(--brand); box-shadow: none; }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-danger-ghost { background: transparent; color: var(--bad); border: 1px solid #fecaca; box-shadow: none; }
.full { width: 100%; }
.link { background: none; border: 0; color: var(--ink-2); font: inherit; cursor: pointer; padding: 0; }
.link:hover { color: var(--brand); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-sub { font-size: .7rem; font-weight: 700; color: var(--brand); border: 1px solid #c7d2fe; border-radius: 6px; padding: 1px 6px; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); position: relative; }
.logo::after { content: ""; position: absolute; inset: 8px 7px 7px; border: 2.5px solid #fff; border-top: 0; border-left-color: transparent; border-right-color: transparent; border-radius: 0; transform: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #fff; }
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--ink-2); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 500px at 85% -10%, #ede9fe, transparent 60%), radial-gradient(800px 400px at -10% 20%, #e0e7ff, transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.ticks, .checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .95rem; }
.ticks li::before, .checks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.checks { flex-direction: column; gap: 10px; font-size: 1rem; }
.hero-visual { position: relative; }
.browser { background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(30, 27, 75, .18); border: 1px solid var(--line); overflow: hidden; transform: rotate(-1deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.addr { margin-left: 10px; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-body { padding: 18px; }
.mock-hero { background: linear-gradient(135deg, #1e1b4b, #4338ca); border-radius: 10px; padding: 22px; margin-bottom: 14px; }
.mock-h1 { height: 16px; width: 70%; background: #fff; border-radius: 4px; margin-bottom: 10px; }
.mock-p { height: 8px; width: 90%; background: rgba(255, 255, 255, .5); border-radius: 4px; margin-bottom: 14px; }
.mock-btn { height: 22px; width: 110px; background: #fbbf24; border-radius: 6px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; font-size: .85rem; }
.mock-card i { color: var(--muted); font-style: normal; font-size: .75rem; }
.toast { position: absolute; left: -24px; bottom: -22px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; flex-direction: column; border-left: 4px solid var(--ok); font-size: .9rem; }
.toast span { color: var(--muted); font-size: .8rem; }

/* Band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.band-in div { display: flex; flex-direction: column; }
.band-in strong { font-size: 1.5rem; font-weight: 800; color: var(--brand-ink); }
.band-in span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eef2ff; color: var(--brand-ink); font-weight: 800; margin-bottom: 14px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.ficon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #eef2ff, #f5f3ff); color: var(--brand); margin-bottom: 12px; }
.ficon svg { width: 22px; height: 22px; }
.compare { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.compare .checks { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }

/* Pricing */
.cycle { display: flex; justify-content: center; gap: 4px; margin: 26px auto 30px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: max-content; }
.cycle button { border: 0; background: none; font: inherit; font-weight: 600; padding: .5em 1.1em; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.cycle button.on { background: var(--ink); color: #fff; }
.cycle em { font-style: normal; font-size: .75rem; color: var(--ok); margin-left: 4px; }
.cycle button.on em { color: #a7f3d0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-bottom: 24px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--brand); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(79, 70, 229, .18); }
.flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 18px; }
.price small { font-size: .95rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 9px; color: var(--ink-2); font-size: .95rem; }
.plan-list li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 8px; }

/* FAQ, CTA */
.qa { border-bottom: 1px solid var(--line); padding: 16px 0; }
.qa summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.qa[open] summary::after { content: "–"; }
.qa p { color: var(--ink-2); margin: 10px 0 0; }
.cta-band { background: linear-gradient(135deg, #1e1b4b, #4338ca 60%, #7c3aed); color: #fff; padding: 64px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { margin: 0; max-width: 640px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; background: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.foot nav a { color: var(--ink-2); }

/* Forms, cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.auth { display: flex; flex-direction: column; gap: 14px; }
.auth label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.auth label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=search], select { font: inherit; padding: .65em .8em; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; }
input:focus, select:focus { outline: 2px solid #a5b4fc; outline-offset: 1px; border-color: var(--brand); }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; font-size: .92rem; }
.seg label { flex-direction: row; font-weight: 500; gap: 6px; }
.auth-wrap { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; }
.alert { background: #fef2f2; color: var(--bad); border: 1px solid #fecaca; border-radius: 9px; padding: 10px 12px; margin: 0; }
.notice { background: var(--ok-bg); color: var(--ok); border: 1px solid #a7f3d0; border-radius: 10px; padding: 12px 14px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Account, admin */
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lic-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-off { background: #f1f5f9; color: var(--muted); }
.keybox { background: var(--bg-alt); border: 1px dashed #cbd5e1; border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.keybox label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.key { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0; }
.key code { font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; }
.stats, .kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 10px 0 20px; }
.kpis { grid-template-columns: repeat(6, 1fr); }
.stats div, .kpi { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.kpi { background: #fff; box-shadow: var(--shadow); }
.stats strong, .kpi strong { font-size: 1.5rem; font-weight: 800; }
.stats span, .kpi span { color: var(--muted); font-size: .85rem; }
.kpi em { font-style: normal; color: var(--muted); font-size: .8rem; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); padding: 8px; }
.table td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.bar { display: inline-block; width: 120px; height: 8px; background: #eef2ff; border-radius: 999px; overflow: hidden; vertical-align: middle; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.empty { text-align: center; }
.empty .inline-form { justify-content: center; }
.legal h2 { margin-top: 1.6em; font-size: 1.25rem; }

@media (max-width: 960px) {
	.hero-in, .compare, .auth-wrap, .grid2 { grid-template-columns: 1fr; }
	.features { grid-template-columns: repeat(2, 1fr); }
	.plans, .steps { grid-template-columns: 1fr; }
	.plan.popular { transform: none; }
	.stats, .kpis { grid-template-columns: repeat(2, 1fr); }
	.band-in { grid-template-columns: repeat(2, 1fr); }
	.nav-links { display: none; }
	.toast { left: 8px; }
}
@media (max-width: 560px) {
	.features { grid-template-columns: 1fr; }
	.nav-cta .link { display: none; }
	.table { display: block; overflow-x: auto; }
}
