/*
Theme Name: Insomniac 2030 Dual Mode
Theme URI: https://insomniacbrowser.com/
Author: Shows On Sale
Description: Installable futuristic WordPress landing page theme for Insomniac Browser with dark/light mode switching.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: insomniac-2030-dual
Tags: custom-logo, custom-menu, responsive-layout, landing-page, dark-mode, light-mode
*/

:root {
	--bg: #050814;
	--bg-soft: #08111f;
	--surface: rgba(12, 20, 35, .78);
	--surface-2: rgba(14, 24, 44, .94);
	--surface-3: rgba(255,255,255,.035);
	--border: rgba(120, 162, 255, .18);
	--border-strong: rgba(113, 169, 255, .42);
	--text: #f5f8ff;
	--heading: #ffffff;
	--muted: #a6b4ca;
	--soft: #6f7d93;
	--blue: #2f7dff;
	--blue-2: #66d8ff;
	--amber: #ffb34d;
	--purple: #8d63ff;
	--green: #4ade80;
	--orange: #ff9f2f;
	--shadow: 0 24px 80px rgba(0,0,0,.34);
	--shadow-blue: 0 0 60px rgba(47, 125, 255, .28);
	--radius: 22px;
	--radius-lg: 30px;
	--max: 1220px;
}

body.insomniac-light {
	--bg: #f7fbff;
	--bg-soft: #eef5ff;
	--surface: rgba(255, 255, 255, .82);
	--surface-2: rgba(255, 255, 255, .96);
	--surface-3: rgba(248,251,255,.78);
	--border: rgba(30, 88, 170, .15);
	--border-strong: rgba(47, 125, 255, .30);
	--text: #14213a;
	--heading: #071326;
	--muted: #4d6078;
	--soft: #718096;
	--blue: #1667f2;
	--blue-2: #0076c8;
	--amber: #e18a16;
	--purple: #7c3ff2;
	--green: #0a9950;
	--orange: #f39222;
	--shadow: 0 24px 72px rgba(34, 74, 130, .12);
	--shadow-blue: 0 22px 70px rgba(47, 125, 255, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--text);
	background:
		radial-gradient(circle at 72% 7%, rgba(47, 125, 255, .28), transparent 34%),
		radial-gradient(circle at 18% 16%, rgba(255, 179, 77, .13), transparent 28%),
		radial-gradient(circle at 80% 56%, rgba(141, 99, 255, .14), transparent 28%),
		linear-gradient(180deg, #020511 0%, #07101d 46%, #04070e 100%);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	overflow-x: hidden;
}

body.insomniac-light {
	background:
		radial-gradient(circle at 70% 7%, rgba(47, 125, 255, .16), transparent 34%),
		radial-gradient(circle at 18% 16%, rgba(255, 179, 77, .13), transparent 28%),
		radial-gradient(circle at 80% 56%, rgba(141, 99, 255, .08), transparent 28%),
		linear-gradient(180deg, #ffffff 0%, #f4f8ff 46%, #ffffff 100%);
}

body:before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(116, 161, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(116, 161, 255, .04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.22));
	z-index: -1;
}

body.insomniac-light:before {
	background-image:
		linear-gradient(rgba(21, 94, 234, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(21, 94, 234, .045) 1px, transparent 1px);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.33), rgba(0,0,0,.08));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; }

.skip-link {
	position: absolute;
	top: -100px;
	left: 20px;
	z-index: 100;
	background: var(--blue);
	color: #fff;
	padding: 10px 14px;
	border-radius: 12px;
}
.skip-link:focus { top: 20px; }

.insomniac-shell {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 14px;
	z-index: 30;
	padding-top: 14px;
}
.nav-shell {
	width: min(1320px, calc(100% - 32px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 16px 20px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: rgba(3, 8, 18, .72);
	backdrop-filter: blur(20px);
	box-shadow: var(--shadow);
}
body.insomniac-light .nav-shell {
	background: rgba(255, 255, 255, .78);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--heading);
	font-weight: 800;
	letter-spacing: .26em;
	text-transform: uppercase;
	font-size: 21px;
	white-space: nowrap;
}
.custom-logo-link {
	height: 42px;
	line-height: 42px
}
.custom-logo-link img { 
	max-height: 42px; 
	width: 235px;
	height: 32px;
	line-height: 42px;
	vertical-align: middle;
	margin-left: 20px;
}
.insomniac-dark .custom-logo-link.dark {
	display: none;
}
.insomniac-light .custom-logo-link.light {
	display: none;
}
.brand-mark {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 50%, var(--bg) 0 24%, transparent 25%),
		radial-gradient(circle at 35% 35%, #fff 0 10%, transparent 11%),
		conic-gradient(from 20deg, var(--amber), #fff27a, var(--blue), var(--amber));
	box-shadow: 0 0 22px rgba(255,179,77,.35);
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--text);
	font-size: 15px;
}
.nav-menu a { 
	opacity: .9; 
	transition: opacity .2s ease, color .2s ease;
	font-weight: bold;
	font-size: 15px;
	margin: 0 20px;
}
.nav-menu a:hover, .sign-in:hover { opacity: 1; color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .sign-in { 
	color: var(--text); 
	font-size: 15px;
	font-weight: bold;
	margin: 0 20px;	
	display: inline-block;
}
.header-actions .sign-in svg {
	line-height: 18px;
	vertical-align: middle;
	margin-right: 5px;
}
.insomniac-dark .header-actions .sign-in .dark { 
	display: none;
}
.insomniac-light .header-actions .sign-in .light { 
	display: none;
}
.mode-toggle {
	width: 44px;
	height: 44px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--heading);
	border-radius: 14px;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.mode-toggle:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.mode-toggle .moon { display: none; }
body.insomniac-light .mode-toggle .sun { display: none; }
body.insomniac-light .mode-toggle .moon { display: inline; }
.get-started-button {
	width: 180px;
	margin-right: 15px;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 22px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--heading);
	font-weight: 800;
	letter-spacing: -.01em;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); border-color: var(--border-strong); }
.button-primary,
.gform_button.button {
	color: #fff;
	min-height: 48px;
	background: linear-gradient(135deg, #1457dd 0%, #2f7dff 58%, #66d8ff 125%);
	box-shadow: 0 16px 36px rgba(47,125,255,.28), inset 0 1px 0 rgba(255,255,255,.28);
	border-color: rgba(102,216,255,.48);
}
.button-ghost { background: var(--surface-3); }

.mobile-toggle {
	display: none;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--heading);
	border-radius: 12px;
	min-width: 46px;
	min-height: 42px;
	cursor: pointer;
}
.hero { padding: 55px 0 0 0; }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
	gap: 62px;
	align-items: top;
}
.hero-copy-wrap {
	padding-top: 20px;
}
.badge {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid var(--border-strong);
	background: rgba(47,125,255,.10);
	color: #FFF;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	box-shadow: 0 0 28px rgba(47,125,255,.10);
}
.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--blue);
	box-shadow: 0 0 16px var(--blue);
}
.insomniac-light .badge-dot {
	box-shadow: none;
}
.insomniac-light .badge {
	background: #FFF;
	color: var(--text);
}
.hero h1 {
	margin: 24px 0 8px 0;
	color: var(--heading);
	font-size: 72px;
	line-height: .98;
	letter-spacing: -.075em;
}
.hero h2 {
	margin: 0 0 18px 0;
	color: var(--heading);
	font-size: 62px;
	line-height: .98;
	letter-spacing: -.075em;
}
.gradient-word {
	background: linear-gradient(100deg, #2f7dff 0%, #357dff 38%, #ffb34d 82%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 3px;
}
.hero-copy {
	max-width: 590px;
	color: var(--muted);
	font-size: clamp(17px, 1.45vw, 20px);
	margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }

.micro-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	max-width: 580px;
	padding-top: 14px;
}
.micro {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--text);
	font-size: 13px;
}
.micro-icon, 
.card-icon, 
.feature-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 8px;
	background: rgba(47,125,255,.13);
	border: 1px solid rgba(102,216,255,.22);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
	color: var(--blue);
}
.insomniac-light .micro-icon, 
.insomniac-light .card-icon, 
.insomniac-light .feature-icon {
	background: rgba(22,103,242,.08);
	border: 1px solid rgba(22,103,242,.16);
	box-shadow: none;
}
.micro-icon { width: 38px; height: 38px; }
.micro-icon img { width: 30px; height: 30px; }
.trusted {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--border);
	color: var(--soft);
	font-size: 12px;
}
.logo-row {
	display: flex;
	flex-wrap: wrap;
	gap: 23px;
	margin-top: 14px;
	align-items: center;
	color: var(--text);
	font-weight: 900;
	font-size: 14px;
	letter-spacing: 0;
	filter: grayscale(1);
}
.logo-row span { opacity: .78; }
.product-frame {
	position: relative;
	border-radius: 30px;
	box-shadow: var(--shadow-blue);
}
body.insomniac-light .product-frame {
	background:
		linear-gradient(135deg, rgba(47,125,255,.38), rgba(47,125,255,.08) 36%, rgba(255,179,77,.34)) border-box;
}
.product-frame:before {
	content: "";
	position: absolute;
	inset: -26px;
	background: radial-gradient(circle, rgba(47,125,255,.18), transparent 62%);
	z-index: -1;
}
.dashboard {
	border-radius: 22px;
	border: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(8, 13, 24, .98), rgba(8, 16, 30, .92));
	padding: 18px;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
body.insomniac-light .dashboard {
	background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.92));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 16px 45px rgba(24,58,110,.06);
}
.dash-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	margin-bottom: 16px;
}
.dash-brand {
	color: var(--heading);
	font-weight: 900;
	letter-spacing: .24em;
	font-size: 13px;
}
.status { color: var(--green); font-size: 12px; }
.dash-layout {
	display: grid;
	grid-template-columns: 145px minmax(0, 1fr);
	gap: 16px;
}
.sidebar {
	border-radius: 18px;
	background: var(--surface-3);
	border: 1px solid var(--border);
	padding: 10px;
}
.sidebar span {
	display: block;
	padding: 10px 11px;
	border-radius: 12px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}
.sidebar span.active {
	color: #fff;
	background: linear-gradient(135deg, rgba(47,125,255,.75), rgba(47,125,255,.34));
}
.dash-main { min-width: 0; }
.kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 10px;
	margin-bottom: 12px;
}
.kpi, .panel, .timer-tile {
	border: 1px solid var(--border);
	background: var(--surface-3);
	border-radius: 14px;
}
.kpi { padding: 12px; }
.kpi small { color: var(--soft); display: block; font-size: 11px; }
.kpi strong {
	color: var(--heading);
	font-size: 24px;
	display: block;
	margin-top: 2px;
}
.kpi em { color: var(--green); font-style: normal; font-size: 11px; }
.dash-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px;
	gap: 12px;
}
.panel { padding: 14px; }
.panel-title {
	display:flex;
	justify-content:space-between;
	color: var(--heading);
	font-weight:800;
	font-size:14px;
	margin-bottom:10px;
}
.session-row {
	display: grid;
	grid-template-columns: 22px 1fr auto auto;
	gap: 8px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid rgba(120,162,255,.10);
	color: var(--text);
	font-size: 12px;
}
.session-row:last-child { border-bottom: 0; }
.session-row small { color: var(--muted); }
.site-dot { width: 20px; height:20px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.running { color: var(--green); }
.queued { color: var(--orange); }
.paused { color: var(--soft); }
.donut {
	width: 118px;
	height: 118px;
	border-radius: 50%;
	margin: 12px auto;
	background: conic-gradient(var(--blue) 0 48%, var(--purple) 48% 78%, rgba(120,162,255,.18) 78% 100%);
	display: grid;
	place-items: center;
}
.donut-inner {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--bg-soft);
	text-align: center;
	color: var(--heading);
	font-weight: 900;
}
.donut-inner small { display: block; color: var(--soft); font-size: 10px; font-weight: 600; }
.timer-strip {
	display: grid;
	grid-template-columns: repeat(5, minmax(0,1fr));
	gap: 10px;
	margin-top: 12px;
}
.timer-tile { padding: 10px; font-size: 11px; color: var(--soft); }
.timer-tile strong { display:block; color:var(--heading); font-size: 16px; }

.section { padding: 54px 0; }
#pricing-tables { 
	width: min(1320px, calc(100% - 32px));
	margin: 0 auto;
}
#pricing-tables h2 {
	color: var(--heading);
	font-size: 32px;
	margin-top: 0;
	margin-bottom: 32px;
	text-align: center;
}

#pricing-tables .price-wrapper {
	text-align: center;
	font-size: 28px;
	line-height: 33px;
	padding: 15px;
	background-color: gray;
}

#pricing-tables .price {
	text-align: center;
	font-size: 28px;
	line-height: 33px;
}

#pricing-tables .term {
	font-size: 14px;
	margin: 0;
	vertical-align: middle;
	line-height: 28px;
}
#pricing-tables ul {
	list-style: none;
	padding: 0;
	margin: 24px 20px 0 20px;
}
#pricing-tables ul li {
	padding: 15px 20px;
	border-bottom: 1px solid var(--border);
	font-size: 15px;
}
#pricing-tables ul li a {
	text-decoration: underline;
}
#pricing-tables ul li:last-child { 
	border-bottom: 0; 
}
#partners {
	padding: 10px 0 54px 0;
}
.partner-grid,
.value-grid, 
.future-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 18px;
}
.partner-card, 
.value-card, 
.feature-card, 
.future-card,
.product-card,
.bundle-card {
	border: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(17, 28, 49, .78), rgba(7, 13, 24, .78));
	border-radius: var(--radius);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.insomniac-light .partner-card,
body.insomniac-light .value-card,
body.insomniac-light .feature-card,
body.insomniac-light .future-card,
body.insomniac-light .product-card,
body.insomniac-light .bundle-card {
	background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.78));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 15px 40px rgba(34,74,130,.06);
}
.card-icon { width: 56px; height: 56px; margin-bottom: 18px; font-size: 26px; }
.partner-card, 
.value-card {
	--value-accent: #3f8cff;
	--value-accent-rgb: 63, 140, 255;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 18px;
	min-height: 0;
	position: relative;
	overflow: hidden;
	border-color: rgba(var(--value-accent-rgb), .34);
	background:
		radial-gradient(circle at 84% -20%, rgba(var(--value-accent-rgb), .18), transparent 42%),
		linear-gradient(180deg, rgba(13, 30, 66, 0.92), rgba(5, 11, 25, .92));
	box-shadow:
		inset 0 0 0 1px rgba(var(--value-accent-rgb), .16),
		inset 0 1px 0 rgba(255,255,255,.06),
		0 14px 34px rgba(1, 8, 20, .5);
}
.product-card,
.bundle-card {
	display: flex;
	flex-direction: column;
	padding: 24px 0;
	min-height: 0;
	position: relative;
	overflow: hidden;
	border-color: rgba(var(--value-accent-rgb), .34);
	background:
		radial-gradient(circle at 84% -20%, rgba(var(--value-accent-rgb), .18), transparent 42%),
		linear-gradient(180deg, rgba(8, 18, 39, .92), rgba(5, 11, 25, .92));
	box-shadow:
		inset 0 0 0 1px rgba(var(--value-accent-rgb), .16),
		inset 0 1px 0 rgba(255, 255, 255, .06),
		0 14px 34px rgba(1, 8, 20, .5);
		--value-accent: #ab76ff;
		--value-accent-rgb: 171, 118, 255;
}
#pricing-tables .product-card ul,
#pricing-tables .bundle-card ul {
	flex: 1 1 auto;
}
#pricing-tables .product-card .button,
#pricing-tables .bundle-card .button {
	margin-top: 20px;
	align-self: center;
}
.partner-card {
	display: block;
	padding: 0;
}
.partner-card-link {
	width: 100%;
	min-height: 100%;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 24px 18px;
	color: inherit;
	text-decoration: none;
}
.partner-card:before,
.value-card:before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 48px rgba(var(--value-accent-rgb), .11);
}
.value-card.amber {
	--value-accent: #ffba4c;
	--value-accent-rgb: 255, 186, 76;
}
.value-card.purple {
	--value-accent: #ab76ff;
	--value-accent-rgb: 171, 118, 255;
}
.card-icon {
	width: 64px;
	height: 64px;
	margin-bottom: 0;
	flex: 0 0 64px;
	font-size: 26px;
	border-radius: 50%;
	color: var(--value-accent);
	background: linear-gradient(180deg, rgba(var(--value-accent-rgb), .17), rgba(var(--value-accent-rgb), .08));
	border: 1px solid rgba(var(--value-accent-rgb), .4);
	box-shadow:
		0 0 28px rgba(var(--value-accent-rgb), .28),
		inset 0 0 0 1px rgba(255,255,255,.08);
}
.card-icon img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	display: block;
}
.partner-card .card-icon img {
	width: 40px;
	height: 40px;
}
.sos .card-icon img {
	border-radius: 50%;
}
.partner-card-copy,
.value-card-copy {
	min-width: 0;
	padding-top: 2px;
}
.partner-card h3,
.value-card h3 {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 16px;
	text-shadow: 0 0 22px rgba(var(--value-accent-rgb), .18);
}
.partner-card p,
.value-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.52;
	color: #b8c6de;
}
.insomniac-light .partner-card,
.insomniac-light .value-card,
.insomniac-light .product-card,
.insomniac-light .bundle-card {
	border-color: rgba(var(--value-accent-rgb), .3);
	background:
		radial-gradient(circle at 84% -20%, rgba(var(--value-accent-rgb), .14), transparent 44%),
		linear-gradient(180deg, rgba(255,255,255,.94), rgba(245,250,255,.86));
	box-shadow:
		inset 0 0 0 1px rgba(var(--value-accent-rgb), .18),
		inset 0 1px 0 rgba(255,255,255,.9),
		0 12px 30px rgba(34,74,130,.08);
}
.insomniac-light .partner-card:before,
.insomniac-light .value-card:before,
.insomniac-light .product-card:before,
.insomniac-light .bundle-card:before {
	box-shadow: inset 0 0 34px rgba(var(--value-accent-rgb), .08);
}
.insomniac-light .partner-card p,
.insomniac-light .value-card p,
.insomniac-light .product-card p,
.insomniac-light .bundle-card p {
	color: #4d6078;
}
#features {
	padding-top: 0;
}
.feature-card h3, 
.future-card h3 {
	color: var(--heading);
	margin: 0 0 8px;
	letter-spacing: -.03em;
}
.download-page .feature-card h3 {
	font-size: 24px;
	color:var(--surface-2);
}
.feature-card p, .future-card p { margin: 0; color: var(--muted); font-size: 14px; }

.section-heading {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 34px;
}
.eyebrow {
	color: var(--soft);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 900;
}
.section-heading h2 {
	color: var(--heading);
	margin: 8px 0 8px;
	font-size: 34px;
	line-height: 1.02;
	letter-spacing: -.06em;
}
.section-heading p { color: var(--muted); margin: 0; font-size: 17px; }

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 18px;
}
.product-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 15px;
	margin-bottom: 20px;
}
.bundle-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 110px;
}
.feature-card {
	--feature-accent: #3f8cff;
	--feature-accent-rgb: 63, 140, 255;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 18px;
	position: relative;
	overflow: hidden;
	border-color: rgba(var(--feature-accent-rgb), .28);
	background:
		radial-gradient(circle at 88% -28%, rgba(var(--feature-accent-rgb), .16), transparent 44%),
		linear-gradient(180deg, rgba(7, 16, 36, .92), rgba(5, 11, 25, .9));
	box-shadow:
		inset 0 0 0 1px rgba(var(--feature-accent-rgb), .14),
		inset 0 1px 0 rgba(255,255,255,.05),
		0 14px 34px rgba(1, 8, 20, .44);
}
.feature-card:after {
	content: "";
	position: absolute;
	inset: auto 20px -44px auto;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--feature-accent-rgb), .2), transparent 70%);
}
.feature-icon {
	width: 64px;
	height: 64px;
	margin-bottom: 0;
	flex: 0 0 64px;
	border-radius: 50%;
	color: var(--feature-accent);
	background: radial-gradient(circle at 32% 28%, rgba(var(--feature-accent-rgb), .24), rgba(var(--feature-accent-rgb), .12));
	border: 1px solid rgba(var(--feature-accent-rgb), .36);
	box-shadow: 0 0 24px rgba(var(--feature-accent-rgb), .28), inset 0 0 0 1px rgba(255,255,255,.06);
}
.feature-icon img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	display: block;
}
.feature-card-copy {
	min-width: 0;
}
.feature-card h3 {
	margin-bottom: 6px;
}
.feature-card p {
	line-height: 1.5;
}
.learn { display:inline-flex; margin-top: 18px; color: var(--blue); font-weight: 800; font-size: 13px; }
.feature-card.teal {
	--feature-accent: #5fdad2;
	--feature-accent-rgb: 95, 218, 210;
}
.feature-card.purple {
	--feature-accent: #8a7bff;
	--feature-accent-rgb: 138, 123, 255;
}
.feature-card.amber {
	--feature-accent: #ffb24a;
	--feature-accent-rgb: 255, 178, 74;
}
.feature-card.violet {
	--feature-accent: #b57dff;
	--feature-accent-rgb: 181, 125, 255;
}
body.insomniac-light .feature-card {
	border-color: rgba(var(--feature-accent-rgb), .24);
	background:
		radial-gradient(circle at 88% -28%, rgba(var(--feature-accent-rgb), .1), transparent 46%),
		linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,251,255,.86));
	box-shadow:
		inset 0 0 0 1px rgba(var(--feature-accent-rgb), .12),
		inset 0 1px 0 rgba(255,255,255,.9),
		0 12px 30px rgba(34,74,130,.07);
}
.future-section { padding-bottom: 68px; }
.future-card { overflow: hidden; }
.future-art {
	height: 160px;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(circle at 42% 42%, rgba(102,216,255,.45), transparent 18%),
		radial-gradient(circle at 60% 52%, rgba(47,125,255,.38), transparent 26%),
		linear-gradient(135deg, rgba(47,125,255,.18), rgba(141,99,255,.13)),
		repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,.035) 18px 19px);
	position: relative;
}
body.insomniac-light .future-art {
	background:
		radial-gradient(circle at 42% 42%, rgba(47,125,255,.24), transparent 18%),
		radial-gradient(circle at 60% 52%, rgba(47,125,255,.18), transparent 26%),
		linear-gradient(135deg, rgba(47,125,255,.10), rgba(141,99,255,.06)),
		repeating-linear-gradient(90deg, transparent 0 18px, rgba(47,125,255,.045) 18px 19px);
}
.future-art:before {
	content: attr(data-icon);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 56px;
	filter: drop-shadow(0 0 18px rgba(102,216,255,.85));
}
.future-card-content { padding: 22px; }
.coming { display:inline-flex; margin-top: 18px; color: var(--blue); font-weight: 900; font-size: 13px; }

.cta-band {
	margin: 18px auto 72px;
	padding: 34px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background:
		radial-gradient(circle at 16% 24%, rgba(47,125,255,.25), transparent 30%),
		radial-gradient(circle at 86% 12%, rgba(255,179,77,.16), transparent 28%),
		var(--surface);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}
body.insomniac-light .cta-band {
	background:
		radial-gradient(circle at 16% 24%, rgba(47,125,255,.13), transparent 30%),
		radial-gradient(circle at 86% 12%, rgba(255,179,77,.12), transparent 28%),
		rgba(255,255,255,.84);
}
.cta-band h2 { color: var(--heading); margin: 0 0 8px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.05em; }
.cta-band p { margin: 0; color: var(--muted); }

.site-footer {
	border-top: 1px solid var(--border);
	background: rgba(3, 7, 14, .58);
	padding: 42px 0 22px;
}
body.insomniac-light .site-footer { background: rgba(255,255,255,.76); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(4, 1fr);
	gap: 32px;
}
footer ul.menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-brand p { color: var(--muted); max-width: 280px; }
footer .custom-logo-link img {
	margin-left: 0;
}
.footer-col h4 { color: var(--heading); margin: 0 0 12px; }
.footer-col a {
	display: block;
	color: var(--muted);
	margin: 8px 0;
	font-size: 14px;
}
.footer-col a:hover { color: var(--blue); }
.copyright {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	color: var(--soft);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	font-size: 13px;
}
.credits {
	display: inline-flex;
	gap: 36px;
	color: var(--muted);
	font-weight: bold;
}
.credits a:hover {
	color: var(--blue);
}
.page-template-default .feature-card>div {
	width: 100%;
}
.woocommerce table.shop_table div.product-thumbnail {
	display: inline-block;
	margin-right: 5px;
	line-height: 0;
	vertical-align: middle;
}
.woocommerce table.shop_table div.product-thumbnail img {
	width: 24px;
	height: 24px;
}
.woocommerce table.shop_table .product-name,
.woocommerce table.shop_table .product-name b,
.woocommerce table.shop_table .product-name .product-quantity {
	line-height: 16px;
	vertical-align: middle;
}
.woocommerce table.shop_table .product-name a {
	line-height: 16px;
	display: inline-block;
	vertical-align: middle;
	font-size: 16px;
}
.woocommerce table.shop_table a.remove {
	background-color: #FFF;
}
.woocommerce table.shop_table .actions .button:disabled,
.woocommerce table.shop_table .actions .button:hover:disabled {
	color: #000 !important;
	font-size: 16px;
	vertical-align: middle;
	line-height: 32px;
	background: grey;
}
.woocommerce table.shop_table .actions .button:hover {
	transform: translateY(-1px);
	border-color: var(--border-strong);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover {
	color: #fff !important;
	background: linear-gradient(135deg, #1457dd 0%, #2f7dff 58%, #66d8ff 125%);
	box-shadow: 0 16px 36px rgba(47, 125, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
	border-color: rgba(102, 216, 255, .48);
	border-radius: 8px;
}
.woocommerce table.shop_table .actions .button:disabled svg.update-cart-icon {
	fill: #000 !important;
}
.woocommerce table.shop_table .actions .button svg.update-cart-icon {
	vertical-align: middle;
	line-height: 24px;
	fill: #FFF !important;
}
section.section table.shop_table .order-actions .woocommerce-button {
	margin: 0 5px;
}
.woocommerce-pagination .row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-top: 24px;
	width: 95%;
}
.woocommerce-pagination .row a.button {
	width: 120px;
	text-align: center;
}
body.download-page section.section .fl-tabs-panels {
	border: 1px solid #FFF;
	border-radius: 0 20px 20px 20px;
	background-color: #FFF;
}
body.download-page section.section .fl-tabs-label {
	background-color: #08111f;
	border-radius: 10px 10px 0 0;
	border-bottom: none;
}
body.download-page section.section .fl-tabs-label.fl-tab-active,
body.contact-page .fl-module-content .fl-tabs .fl-tabs-labels>a.fl-tabs-label.fl-tab-active {
	background-color: #FFF;
	color: var(--surface-2);
}
body.download-page .fl-tabs-panel a,
body.download-page .fl-tabs .fl-tabs-labels>a,
body.contact-page .fl-module-content .fl-tabs .fl-tabs-labels>a.fl-tabs-label {
	transition: color .2s ease;
	color: #FFF;
}
body.download-page .fl-tabs-panel a {
	color: var(--surface-2);;
}
body.download-page .fl-tabs-panel a:hover,
body.download-page .fl-tabs .fl-tabs-labels>a:hover,
body.docs-page a:hover,
body.single-docs a:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list>li.current_page_parent li.current_page_item>a:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list>li.current_page_item li.current_page_item>a:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list>li.current_page_ancestor li.current_page_item>a:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li ul.children a:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-open>a>.wedocs-caret:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed>a>.wedocs-caret:hover,
body.download-page section.section .fl-tabs-label.fl-tab-active,
body.contact-page .fl-module-content .fl-tabs .fl-tabs-labels>a.fl-tabs-label:hover {
	color: var(--blue);
}
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-open>a>.wedocs-caret:hover,
.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li.wd-state-closed>a>.wedocs-caret:hover {
	border-color: var(--blue);
}
body.contact-page section.section .fl-tabs-label {
	border-radius: 10px 10px 0 0;
}
.gform-body {
	color: var(--surface-2);
}

body.single-docs .gform-body .gform_fields label,
body.single-docs .gform-body .gform_fields .gfield_description {
	color: var(--text);
}

.required, 
body .gform-body .gform_fields .gfield_required {
	color: var(--orange);
}

@media screen and (min-width: 1900px) {
	body.woocommerce-account .insomniac-shell {
		width: 1800px !important;
		max-width: 1800px !important;
	}
	body.woocommerce-account .nav-shell {
		width: 1800px !important;
		max-width: 1800px !important;
	}
}

@media screen and (max-width: 1300px) {
	.nav-menu { gap: 10px; }
	.nav-menu a { margin: 0 10px;}
	.product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.product-card:nth-child(4),
	.product-card:nth-child(5) {
		grid-column: span 3;
		text-align: center;
	}
	.bundle-grid {
		gap: 15px;
		text-align: center;}
	.footer-grid { 
		gap: 0;
		grid-template-columns: repeat(2, 1fr);
		text-align: center;
	}
	.footer-brand {
		grid-column: span 2;
		text-align: center;
		margin-bottom: 32px;
	}
	.footer-brand p {
		width: 100%;
		max-width: none;
	}
	.footer-col {
		margin-bottom: 32px;
	}
}

@media screen and (max-width: 1080px) {
	.custom-logo-link img { 
		margin-left: 0;
		height: 28px;
	}
	.nav-menu, .header-actions { gap: 0; }
	.nav-menu a {
		margin: 0 5px;
		font-size: 14px;
	}
	.header-actions .sign-in {
		font-size: 14px;
	}
	.header-actions .get-started-button { 
		margin-right: 0;
		width: 120px;
		padding: 0 12px;
		font-size: 14px;
	}
	.hero-grid,
	.value-grid,
	.future-grid,
	.feature-grid,
	.product-grid,
	.bundle-grid {
		grid-template-columns: 1fr;
	}
	.product-card {
		grid-column: span 2;
		text-align: center;
	}
	.product-frame {
		max-width: 900px;
	}
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	body.download-page section.section .fl-tabs-panels {
		border-radius: 0;
	}
	body.download-page.insomniac-dark section.section .fl-tabs-panel {
		border-bottom-color: var(--surface-2);
	}
	body.download-page.insomniac-dark section.section .fl-tabs-label {
		background-color: var(--text);
		color: var(--surface-2);
	}
	body.download-page.insomniac-dark section.section .fl-tabs-label.fl-tab-active {
		background-color: var(--text);
		color: var(--blue);
	}
}

@media screen and (max-width: 780px) {
	.custom-logo-link img {
		margin-left: 0;
		height: 32px;
	}
	.nav-menu, .header-actions { display: none; }
	.mobile-toggle { display: inline-grid; place-items: center; }
	.header-actions .sign-in { margin: 0; }
	.nav-shell.is-open { align-items: flex-start; flex-wrap: wrap; }
	.nav-shell.is-open .nav-menu,
	.nav-shell.is-open .header-actions {
		display: flex;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 22px;
		text-align: start;
	}
	.hero { padding-top: 52px; }
	.kpis, .dash-content, .timer-strip, .feature-grid, .value-grid, .partner-grid, .future-grid { grid-template-columns: 1fr; }
	.dash-layout { grid-template-columns: 1fr; }
	.sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
	.session-row { grid-template-columns: 22px 1fr; }
	.session-row span:nth-child(3), .session-row span:nth-child(4) { display: none; }
	.cta-band { flex-direction: column; align-items: flex-start; }
	.copyright { 
		flex-direction: column; 
		align-items: center;
	}
}

@media screen and (max-width: 520px) {
	body { min-width: 410px; overflow-x: scroll; }
	body.home { text-align: center; }
	.insomniac-shell { width: min(100% - 24px, var(--max)); }
	.nav-shell { width: min(100% - 20px, 1320px); padding: 12px; }
	.brand { font-size: 16px; letter-spacing: .18em; }
	.hero h1 { font-size: 46px; }
	.micro-features { justify-items: center;}
	.product-frame { padding: 8px; border-radius: 22px; }
	.micro { gap: 5px; font-size: 12px; }
	.feature-grid,
	.value-grid,
	.partner-grid,
	.future-grid { text-align: start; }
	.partner-grid { margin-top: 30px; }
	.cta-band { text-align: start; }
	.dashboard { padding: 12px; }
	.section-heading { margin-bottom: 16px; }
	.section-heading h2 { margin-left: 10px; margin-right: 10px; }
}
