:root
{
	--brand: #ab0505;
	--brand-dark: #8a0404;
	--brand-soft: #f3e6e6;
	--brand-wash: #f8eeee;
	--bg-page: #f6f7f8;
	--bg-panel: #ffffff;
	--bg-menu: #f7f2f2;
	--bg-muted: #f0f1f3;
	--text: #1a1a1a;
	--text-muted: #5c5c5c;
	--border: #d4d6da;
	--border-strong: #2a2a2a;
	--status-yellow: #ffff99;
	--font-body: "Source Sans 3", "Segoe UI", sans-serif;
	--font-display: "Sora", "Source Sans 3", sans-serif;
	--radius: 7px;
	--radius-sm: 5px;
	--shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
	--shadow-hover: 0 12px 28px rgba(26, 26, 26, 0.14), 0 0 0 1px rgba(171, 5, 5, 0.12);
	--focus-ring: 2px solid var(--brand);
	--transition-fast: 0.15s ease;
}

BODY
{
	margin: 0;
	font-family: var(--font-body);
	font-size: 125%;
	line-height: 1.55;
	color: var(--text);
	background-color: var(--bg-page);
}

.site
{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Header: logo links + stretched spacer slice (replaces TitleTable / image-map). */
.site-header
{
	display: flex;
	align-items: flex-start;
	width: 100%;
	background-color: var(--bg-panel);
	line-height: 0;
}

.site-header-logo,
.site-header-brand
{
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.site-header-logo img,
.site-header-brand img
{
	display: block;
	height: 151px;
	width: auto;
	max-width: none;
}

/* 7px slice stretched across the flex gap — same art as the legacy table background. */
.site-header-spacer
{
	flex: 1 1 auto;
	min-width: 0;
	width: 0;
	height: 151px;
	object-fit: fill;
}

.site-body
{
	/* 219px menu face + 3px right border = logo red line at x=219–221 */
	display: grid;
	grid-template-columns: 222px minmax(0, 1fr);
	align-items: stretch;
	flex: 1 1 auto;
}

/* Hidden always; the visible label toggles it. Avoids a desktop tab stop. */
.site-nav-toggle-input
{
	display: none;
}

/* Shared outline / primary CTA pattern (home, menu toggle, license submit). */
.site-nav-toggle,
.home-cta a,
.license-form button[type="submit"]
{
	box-sizing: border-box;
	min-height: 44px;
	border: 1px solid var(--brand);
	border-radius: var(--radius-sm);
	background: var(--bg-panel);
	color: var(--brand);
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast),
		border-color var(--transition-fast);
}

.site-nav-toggle
{
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	margin: 0.5rem 0.75rem 0;
	font-size: 0.95rem;
	line-height: 1.2;
	user-select: none;
}

.site-nav-toggle:hover,
.home-cta a:hover,
.home-cta a:focus-visible,
.license-form button[type="submit"]:hover
{
	background: var(--brand);
	color: #fff;
	outline: none;
}

.site-nav-toggle:focus-visible,
.license-form button[type="submit"]:focus-visible
{
	outline: var(--focus-ring);
	outline-offset: 2px;
}

.Menu
{
	border-right: 3px solid var(--brand);
	border-bottom: 3px solid var(--brand);
	background-color: var(--bg-menu);
	min-height: 100%;
	box-sizing: border-box;
	padding: 0.85rem 0 1rem;
}

.MenuHeading
{
	color: var(--brand);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.85rem 0.85rem 0.35rem 1rem;
}

.MenuHeading:first-child
{
	padding-top: 0.35rem;
}

.MenuItem,
.MenuItemSelected
{
	display: block;
	box-sizing: border-box;
	padding: 0.45rem 0.75rem 0.45rem 1.15rem;
	font-size: 0.95rem;
	line-height: 1.35;
	text-decoration: none;
	border-radius: 0;
	transition: background-color var(--transition-fast), color var(--transition-fast);
}

.MenuItem
{
	color: var(--text);
	background-color: transparent;
}

.MenuItem:hover,
.MenuItem:focus-visible
{
	color: var(--text);
	background-color: var(--brand-wash);
	outline: none;
}

.MenuItemSelected
{
	color: #fff;
	background-color: var(--brand);
	font-weight: 600;
}

.MenuItemSelected:focus-visible
{
	outline: 2px solid var(--brand-soft);
	outline-offset: -2px;
}

.site-main
{
	min-width: 0;
	padding: 0 1.25rem 1.5rem;
	box-sizing: border-box;
	background-color: var(--bg-panel);
}

.site-content
{
	font-size: 1.05rem;
	line-height: 1.6;
	margin-top: 1.25rem;
	margin-inline: auto;
	max-width: 1100px;
}

.site-footer
{
	font-size: 0.9rem;
	color: var(--text-muted);
	padding: 0.85rem 1rem 1.1rem;
	background-color: var(--bg-page);
	border-top: 1px solid var(--border);
}

A IMG
{
	border-style: none;
}

.SubTitle
{
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 1.5rem 0 1rem;
	padding: 0.55rem 0.9rem 0.55rem 0.85rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--brand);
	background-color: var(--brand-soft);
	border-left: 4px solid var(--brand);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	text-align: left;
}

.site-content > .SubTitle:first-child,
.site-content > h1.SubTitle:first-child
{
	margin-top: 0;
}

.site-divider
{
	height: 1px;
	margin: 1.25rem 0;
	background-color: var(--border);
	border: 0;
}

/* License forms only (Activate / Retrieve / Email update / Upgrade / UserSearch). */
.license-form
{
	margin: 0.75rem 0 1rem;
}

.license-form-fields
{
	display: grid;
	gap: 1rem;
	margin: 0 0 1rem;
	max-width: 52rem;
	padding: 0;
	border: 0;
}

.license-form-row
{
	display: grid;
	gap: 0.35rem 1.25rem;
	align-items: start;
}

.license-form-label
{
	font-weight: 600;
	padding-top: 0.35rem;
}

.license-form-required
{
	color: var(--brand);
	font-weight: 700;
}

.license-form-control
{
	min-width: 0;
}

.license-form input[type="text"]
{
	box-sizing: border-box;
	width: 100%;
	max-width: 16rem;
	padding: 0.45rem 0.6rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font: inherit;
	background: var(--bg-panel);
	color: var(--text);
}

.license-form input[type="radio"]
{
	margin-right: 0.35rem;
}

.license-form .license-form-choice
{
	display: block;
	margin: 0.15rem 0;
}

.license-form-hint
{
	font-style: italic;
	color: var(--text-muted);
}

.license-form button[type="submit"]
{
	padding: 0.45rem 1.1rem;
	font-size: 1rem;
	line-height: 1.2;
}

.license-form button[type="submit"]:disabled
{
	opacity: 0.65;
	cursor: wait;
}

.license-form input[type="text"]:focus-visible,
.license-form input[type="radio"]:focus-visible
{
	outline: var(--focus-ring);
	outline-offset: 2px;
}

.license-form-busy,
.license-form-status
{
	background-color: var(--status-yellow);
	padding: 0.45rem 0.65rem;
	margin: 0.75rem 0;
	border-radius: var(--radius-sm);
}

.license-form-status
{
	color: var(--brand);
}

.license-form-status--pre
{
	white-space: pre-line;
}

@media (min-width: 800px)
{
	.license-form-row
	{
		grid-template-columns: minmax(10rem, 14rem) minmax(12rem, 16rem) minmax(0, 1fr);
	}

	.license-form-row--simple
	{
		grid-template-columns: minmax(10rem, 14rem) minmax(12rem, 16rem);
	}
}

.feature-list
{
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0;
}

.feature-list li
{
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	padding: 0.45rem 0;
	line-height: 1.55;
}

.feature-list li > img
{
	flex: 0 0 auto;
	margin-top: 0.35em;
}

.overview-copy
{
	text-align: justify;
	line-height: 1.65;
}

.overview-copy p
{
	margin: 0 0 1rem;
}

.overview-copy img
{
	float: right;
	margin: 0 0 1.25rem 1.5rem;
	max-width: min(42%, 22rem);
	width: auto;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.license-types
{
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.85rem 1.25rem;
	margin: 0;
}

.license-types dt
{
	font-weight: 600;
	white-space: nowrap;
}

.license-types dd
{
	margin: 0;
	color: var(--text);
}

.download-list
{
	list-style: none;
	margin: 0;
	padding: 0;
}

.download-row
{
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem 1rem;
	align-items: center;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--border);
}

.download-row:last-child
{
	border-bottom: 0;
}

.download-row-icon
{
	text-align: center;
}

.versions-table,
.pricing-table
{
	border-collapse: collapse;
	font-size: 100%;
	width: 100%;
	max-width: 40rem;
}

.versions-table th,
.versions-table td
{
	padding: 0.5rem 0.65rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--border);
}

.pricing-table
{
	width: fit-content;
	min-width: min(100%, 22rem);
	max-width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	overflow: hidden;
	background-color: var(--bg-panel);
	box-shadow: 0 1px 0 rgba(26, 26, 26, 0.04);
}

.pricing-table th,
.pricing-table td
{
	padding: 0.55rem 1rem;
	border: 0;
	vertical-align: middle;
}

.pricing-table tbody tr + tr th,
.pricing-table tbody tr + tr td
{
	border-top: 1px solid var(--border);
}

.pricing-table .pricing-label
{
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
}

.pricing-table .pricing-value
{
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	padding-left: 2rem;
	color: var(--text);
}

.pricing-table thead th
{
	background-color: var(--bg-muted);
	border-bottom: 1px solid var(--border);
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-align: left;
	color: var(--text-muted);
}

.pricing-table thead th:last-child
{
	text-align: right;
}

.pricing-table th + th,
.pricing-table td + td,
.pricing-table th + td
{
	border-left: 1px solid var(--border);
}

.pricing-note
{
	max-width: 40rem;
	margin: 0.85rem 0 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.buy-paypal-heading
{
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.buy-paypal-heading h2
{
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.buy-paypal-field
{
	margin: 0 0 0.75rem;
}

.review-list
{
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0.25rem 0 0;
	display: grid;
	gap: 1.35rem;
}

.review-list li
{
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.15rem;
	align-items: center;
}

.review-list i,
.review-list em
{
	color: var(--text-muted);
	font-style: italic;
	line-height: 1.55;
}

.award-row
{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1.25rem;
	padding: 0.75rem 0 0.25rem;
	margin: 0;
	list-style: none;
}

.RedBorder
{
	border: 1px solid var(--brand);
	border-radius: var(--radius-sm);
}

/* Screenshot lightbox (same behavior as help/help.css). */
html.screenshot-lightbox-open,
html.screenshot-lightbox-open body {
	overflow: hidden;
}

.screenshot-gallery {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.35rem;
}

.screenshot-gallery li {
	display: grid;
	grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
	gap: 0.85rem 1.15rem;
	align-items: start;
}

.screenshot-gallery li p {
	margin: 0;
	line-height: 1.55;
	color: var(--text);
}

.screenshot-gallery img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	cursor: zoom-in;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.screenshot-gallery img:hover,
.screenshot-gallery img:focus-visible {
	border-color: var(--brand);
	box-shadow: var(--shadow);
	outline: none;
}

.screenshot-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.78);
}

.screenshot-lightbox.is-open {
	display: flex;
}

.screenshot-lightbox img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border: 1px solid #fff;
	background: #fff;
	cursor: zoom-out;
}

.screenshot-lightbox-close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	margin: 0;
	padding: 0.15rem 0.55rem;
	border: none;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.92);
	color: #222;
	font: 1.4rem/1 var(--font-body);
	cursor: pointer;
}

/* Home intro + quick-link CTAs. */
.home-intro {
	margin: 0 0 1.15rem;
}

.home-intro > .SubTitle {
	margin-top: 0;
}

.home-lead {
	margin: 0 0 0.85rem;
	max-width: 42rem;
	line-height: 1.45;
}

.home-version {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.42rem 0.8rem 0.3rem;
	border: 1px solid var(--brand);
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand);
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.15;
}

.home-promo {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 1.15rem 1.5rem;
	margin-bottom: 0.75rem;
}

.home-cta {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	align-self: flex-start;
	gap: 0.6rem;
	width: 11.25rem;
	margin: 0;
}

.home-cta a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 0.95rem;
	font-size: 0.95rem;
	line-height: 1.2;
	text-align: center;
}

.home-cta a:visited {
	background: var(--bg-panel);
	color: var(--brand);
}

.home-cta a:hover,
.home-cta a:focus-visible {
	background: var(--brand);
	color: #fff;
	outline: none;
}

/* Home product shot: window chrome + soft shadow. */
.home-hero {
	display: block;
	flex: 0 1 720px;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	position: relative;
}

.home-hero-frame {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border-radius: var(--radius);
	background: var(--bg-muted);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	overflow: hidden;
	cursor: zoom-in;
	font: inherit;
	text-align: left;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
	/* Reset UA button chrome so the framed shot matches a plain img wrapper. */
	-webkit-appearance: none;
	appearance: none;
}

.home-hero-chrome {
	display: flex;
	align-items: center;
	height: 22px;
	padding: 0 10px;
	background: linear-gradient(180deg, #fafafa 0%, #e8e9eb 100%);
	border-bottom: 1px solid var(--border);
}

.home-hero-caption {
	overflow: hidden;
	color: var(--text-muted);
	font: 600 0.68rem/1 var(--font-body);
	letter-spacing: 0.02em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-hero-shot {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	vertical-align: top;
	pointer-events: none;
}

.home-hero-frame:hover,
.home-hero-frame:focus-visible {
	border-color: var(--brand);
	box-shadow: var(--shadow-hover);
	outline: none;
}

/* Narrow viewports: collapse sidebar into a top disclosure. */
@media (max-width: 800px)
{
	.site-header-logo img,
	.site-header-brand img,
	.site-header-spacer
	{
		height: 96px;
	}

	.site-header-logo img,
	.site-header-brand img
	{
		width: auto;
		max-width: none;
	}

	.site-body
	{
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr;
	}

	.site-nav-toggle
	{
		display: flex;
		grid-column: 1;
		grid-row: 1;
	}

	.site-nav
	{
		display: none;
		grid-column: 1;
		grid-row: 2;
		border-right: none;
		min-height: 0;
		margin: 0 0.75rem 0.5rem;
		border-radius: var(--radius-sm);
	}

	.site-nav-toggle-input:checked ~ .site-nav
	{
		display: block;
	}

	.MenuItem,
	.MenuItemSelected
	{
		display: flex;
		align-items: center;
		min-height: 44px;
		padding-top: 0.55rem;
		padding-bottom: 0.55rem;
		font-size: 1.05rem;
	}

	.MenuHeading
	{
		padding-top: 0.85rem;
		padding-bottom: 0.35rem;
	}

	.site-main
	{
		grid-column: 1;
		grid-row: 3;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	.site-content
	{
		max-width: none;
	}

	.home-promo
	{
		flex-direction: column;
		align-items: stretch;
	}

	.home-hero
	{
		flex: 1 1 auto;
		width: 100%;
	}

	.home-cta
	{
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
		gap: 0.5rem;
	}

	.home-cta a
	{
		flex: 1 1 8rem;
	}

	.screenshot-gallery li,
	.review-list li,
	.download-row,
	.license-types
	{
		grid-template-columns: 1fr;
	}

	.overview-copy img
	{
		float: none;
		display: block;
		margin: 0.75rem auto;
		max-width: 100%;
		height: auto;
	}
}
