/* =========================================================================
   SiteVirtue — Design System
   Modern, mobile-first, zero third-party dependencies.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
	/* Color — monochrome ink & gray; photography carries the color */
	--ink: #171717;
	--ink-2: #3f3f46;
	--ink-3: #71717a;
	--line: #e5e5e5;
	--bg: #ffffff;
	--bg-soft: #f7f7f8;
	--bg-dark: #1a1918;
	--brand: #5a3169;
	--brand-dark: #432650;
	--brand-ghost: #f4eef7;
	--accent: #8b6aa0;
	--grad: linear-gradient(150deg, #333230, #191817);
	--grad-brand: linear-gradient(150deg, #5a3169, #8b6aa0);
	--ok: #16a34a;
	--ok-soft: #e8f7ee;
	--err: #dc2626;
	--err-soft: #fdecec;
	--warn: #d97706;
	--warn-soft: #fdf3e4;

	/* Type */
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fs-0: 0.8125rem;
	--fs-1: 0.9375rem;
	--fs-2: 1.0625rem;
	--fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
	--fs-h3: 1.1875rem;
	--fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.625rem);
	--fs-h1: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
	--fs-hero: clamp(2.5rem, 1.7rem + 3.8vw, 4.25rem);

	/* Shape & depth */
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.05);
	--shadow-md: 0 6px 20px -6px rgba(10, 10, 10, 0.12);
	--shadow-lg: 0 24px 48px -16px rgba(10, 10, 10, 0.18);
	--ring: 0 0 0 3px rgba(17, 24, 39, 0.28);

	/* Rhythm */
	--container: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2rem);
	--section: clamp(4rem, 3rem + 4.5vw, 7rem);
	--header-h: 72px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-2);
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Never allow stray horizontal scroll (off-canvas drawer, long tables). */
html, body { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: rgba(17, 24, 39, 0.22); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.skip-link {
	position: fixed;
	top: -100px; left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff !important;
	border-radius: 8px;
	transition: top 0.2s;
}
.skip-link:focus { top: 12px; clip-path: none; width: auto; height: auto; }

/* ---------- Layout primitives ---------- */
.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 780px; }

.section { padding-block: var(--section); }
.section--tint { background: var(--bg-soft); }
.section--first { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--flush { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 2rem + 2vw, 3.5rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .lead { font-size: var(--fs-lead); color: var(--ink-3); margin: 0.75em 0 0; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: var(--brand-ghost);
	color: var(--brand-dark);
	font-size: var(--fs-0);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.text-gradient {
	background: linear-gradient(120deg, #906fb6 0%, #906fb6 20%, #624f7f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	font: 600 var(--fs-1) / 1.2 var(--font);
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
	will-change: transform;
}
.btn .icon { flex: 0 0 auto; width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--grad);
	color: #fff;
	box-shadow: 0 8px 20px -8px rgba(17, 24, 39, 0.65);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(17, 24, 39, 0.75); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #27272a; color: #fff; }

.btn--outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.btn--white:hover { color: var(--brand-dark); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--sm { padding: 9px 16px; font-size: var(--fs-0); }
.btn--lg { padding: 15px 30px; font-size: var(--fs-2); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 10, 10, 0.35); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--brand);
	flex-shrink: 0;
}
.site-brand__name {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ink);
}
.site-brand__name em { font-style: normal; color: var(--brand); }
.site-brand--light .site-brand__name { color: #fff; }
.site-brand--light { color: #d4d4d8; }

.site-nav { margin-inline: auto; }
.site-nav__list {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	color: var(--ink-2);
	font-weight: 550;
	font-size: var(--fs-1);
}
.site-nav__list a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: var(--brand-dark); background: var(--brand-ghost); }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.header-account,
.header-cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 10px;
	border-radius: 8px;
	color: var(--ink-2);
	font-weight: 550;
	font-size: var(--fs-1);
}
.header-account:hover,
.header-cart:hover { color: var(--ink); background: var(--bg-soft); }

.header-cart { position: relative; }
.header-cart__count {
	position: absolute;
	top: 1px; right: 0;
	min-width: 18px; height: 18px;
	padding-inline: 5px;
	display: grid;
	place-items: center;
	background: var(--line);
	color: var(--ink-3);
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	line-height: 1;
}
.header-cart__count.has-items { background: var(--brand); color: #fff; }

.header-cta { margin-left: 8px; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	color: var(--ink);
	cursor: pointer;
	border-radius: 8px;
}
.nav-toggle__close { display: none; }

/* Mobile nav */
@media (max-width: 900px) {
	/* backdrop-filter would make the header the containing block for the
	   fixed drawer below — solid header on mobile instead. */
	.site-header {
		background: #fff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: #fff;
		padding: 20px var(--gutter) 40px;
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.28s;
		overflow-y: auto;
		z-index: 99;
	}
	body.nav-open .site-nav { transform: none; visibility: visible; transition-delay: 0s; }
	body.nav-open { overflow: hidden; }

	.site-nav__list { flex-direction: column; gap: 2px; }
	.site-nav__list a { font-size: 1.25rem; padding: 14px 10px; border-radius: 10px; }

	.nav-toggle { display: inline-flex; }
	body.nav-open .nav-toggle__open { display: none; }
	body.nav-open .nav-toggle__close { display: block; }

	.header-account__label { display: none; }
	.header-cta { display: none; }
	body.nav-open .site-header { background: #fff; }

	/* The nav drawer is out of flow here, so push the actions to the right
	   edge ourselves. */
	.site-header__actions { margin-left: auto; }
}

/* ---------- Hero (front page) ---------- */
.hero {
	position: relative;
	background: var(--bg-dark);
	color: #cfcfd4;
	overflow: hidden;
}

/* Front page: the hero fills the viewport below the sticky header, at any
   window size, so content only appears once you scroll. */
.sv-front .hero {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
}
.admin-bar.sv-front .hero { min-height: calc(100svh - var(--header-h) - 32px); }
.sv-front .hero__inner {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	width: 100%;
	/* Flex centering replaces the big editorial padding; keep a slim guard so
	   the copy never touches the header or stats bar on short windows. */
	padding-block: 2rem;
}

/* Full-bleed hero photo, blended into the navy background */
.hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 46%;
	filter: saturate(0.95);
}

/* Front page, desktop: the photo is a contained block on the right half —
   never behind the copy — with feathered edges melting into the navy.
   The source is a pre-cropped landscape frame (face + laptop + bean bag). */
@media (min-width: 901px) {
	.sv-front .hero__bg {
		inset: 0 0 0 auto;
		width: 55%;
	}
	.sv-front .hero__bg img {
		width: 100%;
		height: calc(100% + 120px);
		margin-top: -120px;
		object-fit: cover;
		/* Bias left-of-center so the laptop stays fully in frame. */
		object-position: 42% 0;
		filter: saturate(1.18) contrast(1.03);
		will-change: transform;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%);
		mask-image: linear-gradient(90deg, transparent 0, #000 26%);
	}
	.sv-front .hero__bg::after {
		background:
			linear-gradient(to top, var(--bg-dark) 0%, rgba(26, 25, 24, 0) 22%),
			linear-gradient(90deg, var(--bg-dark) 0%, rgba(26, 25, 24, 0.28) 26%, rgba(26, 25, 24, 0.08) 60%, rgba(26, 25, 24, 0.16) 100%);
	}
}
/* In-flow hero photo used by the mobile layout only. */
.hero__figure { display: none; }

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, var(--bg-dark) 0%, rgba(26, 25, 24, 0.05) 12%, rgba(26, 25, 24, 0.12) 100%),
		linear-gradient(97deg, var(--bg-dark) 26%, rgba(26, 25, 24, 0.45) 44%, rgba(26, 25, 24, 0.1) 60%, rgba(26, 25, 24, 0.04) 100%);
}

.hero__glow {
	position: absolute;
	width: 560px; height: 560px;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.5;
	pointer-events: none;
}
.hero__glow--a { top: -220px; left: -120px; background: rgba(139, 106, 160, 0.34); }
.hero__glow--b { bottom: -260px; right: -140px; background: rgba(139, 106, 160, 0.2); }

.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 75%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	padding-block: clamp(4rem, 3rem + 5vw, 7.5rem) clamp(3rem, 2.5rem + 3vw, 5.5rem);
}
.hero__copy { max-width: 560px; }

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #e7e7ea;
	font-size: var(--fs-0);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.hero__title {
	color: #fff;
	font-size: var(--fs-hero);
	font-weight: 800;
	margin-bottom: 0.45em;
}

.hero__lead {
	font-size: var(--fs-lead);
	max-width: 54ch;
	color: #a6a6ad;
	margin-bottom: 1.75em;
}

.hero__search {
	position: relative;
	display: flex;
	gap: 8px;
	padding: 8px;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	max-width: 560px;
}
.hero__search-icon { position: absolute; left: 20px; top: 50%; translate: 0 -50%; color: var(--ink-3); }
.hero__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 12px 12px 12px 44px;
	font: 500 var(--fs-2) var(--font);
	color: var(--ink);
	background: transparent;
}
.hero__search input:focus-visible { box-shadow: none; }
.hero__search input::placeholder { color: var(--ink-3); }

.hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	list-style: none;
	margin: 1.5em 0 0;
	padding: 0;
	font-size: var(--fs-1);
	font-weight: 550;
	color: #c9c9cf;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: #d4d4d8; }

.pulse-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #a37cc4;
	box-shadow: 0 0 0 0 rgba(163, 124, 196, 0.55);
	animation: pulse 2.2s infinite;
	display: inline-block;
	flex: 0 0 auto;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(163, 124, 196, 0.55); }
	70% { box-shadow: 0 0 0 9px rgba(163, 124, 196, 0); }
	100% { box-shadow: 0 0 0 0 rgba(163, 124, 196, 0); }
}

/* Hero stats band */
.hero__stats { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.hero__stats-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding-block: 26px;
}
.stat { text-align: center; }
.stat strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; }
.stat span { font-size: var(--fs-0); color: #8e8e96; }

@media (max-width: 900px) {
	.hero__inner,
	.sv-front .hero__inner { padding-top: 3.5rem; }
	/* Top-anchor the copy here: the corner photo is pinned to the hero, so a
	   vertically-centered copy block would drift away from it. */
	.sv-front .hero__inner { align-items: flex-start; }
	.hero__stats-inner { grid-template-columns: repeat(2, 1fr); }

	/* Mobile: the corner vignette gives way to a full-width in-flow photo
	   below the lead, its faded top edge tucking under the text. */
	.sv-front .hero__bg { display: none; }
	/* Center the copy block so the figure's 50vw break-out really spans the
	   viewport (it is left-of-center on tablets otherwise). */
	.sv-front .hero__copy { margin-inline: auto; }
	.sv-front .hero__lead { position: relative; z-index: 1; }
	.sv-front .hero__figure {
		display: block;
		margin-block: -42px 10px;
		margin-inline: calc(50% - 50vw);
	}
	.sv-front .hero__figure picture { display: contents; }
	.sv-front .hero__figure img {
		display: block;
		width: 100%;
		height: auto;
		filter: saturate(1.15) contrast(1.02);
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 84%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 84%, transparent 100%);
	}
}

@media (max-width: 520px) {
	.hero__search { flex-direction: column; padding: 10px; }
	.hero__search input { padding-left: 44px; width: 100%; }
	.hero__search .btn { width: 100%; }
	.hero__search-icon { top: 33px; }
	.domain-search-panel .input-group { flex-direction: column; }
	.domain-search-panel .input-group-btn { width: 100% !important; }
	.domain-search-panel button#Submit { width: 100%; }
	.domain-search-panel .callout,
	.domain-search-panel .wdc-domain-result__button { flex-wrap: wrap; }
}

/* ---------- Interior page hero ---------- */
.page-hero {
	position: relative;
	background: var(--bg-dark);
	color: #a6a6ad;
	overflow: hidden;
	text-align: center;
}
.page-hero__inner {
	position: relative;
	padding-block: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	max-width: 860px;
}
.page-hero--compact .page-hero__inner { padding-block: clamp(1.25rem, 1rem + 0.75vw, 1.5rem); }
.page-hero--tall .page-hero__inner { padding-block: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem); }
.page-hero--legal .page-hero__inner {
	padding-top: clamp(2.5rem, 2rem + 1.5vw, 3.25rem);
	padding-bottom: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
}
.page-hero h1 { color: #fff; font-size: var(--fs-h1); }
.page-hero .hero__lead { margin-inline: auto; margin-bottom: 0.75em; }
.page-hero .crumb { display: inline-block; margin-bottom: 18px; color: #8e8e96; font-size: var(--fs-1); font-weight: 550; }
.page-hero .crumb:hover { color: #fff; }

/* ---------- Plans ---------- */
.plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}
@media (max-width: 980px) { .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.plan-card.is-featured {
	border: 2px solid transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		var(--grad-brand) border-box;
	box-shadow: var(--shadow-lg);
}

.plan-card__badge {
	position: absolute;
	top: -14px; left: 50%;
	translate: -50% 0;
	padding: 5px 16px;
	background: var(--grad-brand);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	box-shadow: 0 6px 16px -6px rgba(90, 49, 105, 0.6);
	white-space: nowrap;
}

.plan-card__name { font-size: 1.3rem; margin-bottom: 2px; }
.plan-card__tagline { color: var(--ink-3); font-size: var(--fs-1); margin: 0 0 18px; }

.plan-card__discount {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	min-height: 24px;
}
.plan-card__price { display: flex; align-items: baseline; gap: 8px; }
.plan-card__amount { font-size: 2.9rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.plan-card__amount sup { font-size: 0.5em; font-weight: 700; vertical-align: super; margin-right: 1px; }
.plan-card__amount small { font-size: 0.45em; font-weight: 700; }
.plan-card__per { color: var(--ink-3); font-weight: 550; }
.plan-card__was { color: var(--ink-3); font-size: var(--fs-1); }

.save-pill {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--brand-ghost);
	color: var(--brand-dark);
	border: 1px solid rgba(90, 49, 105, 0.25);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
	align-self: center;
}

.plan-card__billing { color: var(--ink-3); font-size: var(--fs-0); margin: 6px 0 20px; }

.plan-card__features {
	list-style: none;
	margin: 0 0 26px;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 11px;
	flex: 1;
}
.plan-card__features li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-1); }
.plan-card__features .icon { color: var(--ok); flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; }

.plans-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 26px 0 0;
	color: var(--ink-3);
	font-size: var(--fs-1);
	text-align: center;
}
.plans-note .icon { color: var(--brand); flex: 0 0 auto; }

/* ---------- Feature cards ---------- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid, .feature-grid--2 { grid-template-columns: 1fr; } }

.feature-card {
	padding: 28px 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
	display: inline-grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--brand-ghost);
	color: var(--brand-dark);
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; color: var(--ink-3); font-size: var(--fs-1); }

/* ---------- Split section ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split__copy h2 { margin-bottom: 0.5em; }
.split__copy > p { color: var(--ink-3); }

.split__img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	width: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}

.split__panel {
	position: relative;
	display: grid;
	place-items: center;
	gap: 12px;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius-lg);
	background: var(--bg-dark);
	color: #d4d4d8;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.split__panel p { margin: 0; font-weight: 650; letter-spacing: 0.02em; }
.split__panel-glow {
	position: absolute;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: rgba(139, 106, 160, 0.4);
	filter: blur(80px);
	opacity: 0.55;
	top: -30%; right: -20%;
}

.checklist {
	list-style: none;
	margin: 1.25em 0 1.75em;
	padding: 0;
	display: grid;
	gap: 10px;
}
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--ink-2); }
.checklist .icon { color: var(--ok); flex: 0 0 auto; }

/* ---------- Blog cards ---------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__fallback {
	display: block;
	width: 100%; height: 100%;
	background: linear-gradient(120deg, var(--brand-ghost), #f2f2f4);
}

.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex: 1; }
.post-card__body time { color: var(--ink-3); font-size: var(--fs-0); font-weight: 550; }
.post-card__body h2, .post-card__body h3 { font-size: 1.15rem; margin: 0; }
.post-card__body h2 a, .post-card__body h3 a { color: var(--ink); }
.post-card__body h2 a:hover, .post-card__body h3 a:hover { color: var(--brand-dark); }
.post-card__body p { margin: 0; color: var(--ink-3); font-size: var(--fs-1); flex: 1; }
.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--brand-dark);
	font-weight: 650;
	font-size: var(--fs-1);
	margin-top: 4px;
}

/* ---------- Article ---------- */
.article__hero { position: relative; background: var(--bg-dark); overflow: hidden; }
.article__hero-inner { position: relative; max-width: 820px; padding-block: clamp(3rem, 2.5rem + 2.5vw, 4.75rem); }
.article__hero h1 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); }
.article__hero .crumb { display: inline-block; margin-bottom: 16px; color: #8e8e96; font-weight: 550; font-size: var(--fs-1); }
.article__hero .crumb:hover { color: #fff; }
.article__meta { color: #8e8e96; font-size: var(--fs-1); margin: 0; display: flex; gap: 10px; }

.article__figure { max-width: 980px; margin-top: -34px; position: relative; }
.article__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

.article__body { max-width: 780px; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1rem; }

.entry-content h2 { font-size: 1.65rem; margin-top: 1.6em; }
.entry-content h3, .entry-content h4 { margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--brand);
	color: var(--ink-2);
	font-style: italic;
}
.entry-content :is(ul, ol) li { margin-bottom: 0.4em; }

.article__footer { max-width: 780px; padding-bottom: var(--section); }
.article-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	flex-wrap: wrap;
	padding: 28px 30px;
	margin-block: 2.5rem;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.article-cta h2 { font-size: 1.25rem; margin-bottom: 4px; }
.article-cta p { margin: 0; color: var(--ink-3); font-size: var(--fs-1); }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-weight: 600;
}
.post-nav__next { margin-left: auto; text-align: right; }

.pagination-nav { margin-top: 2.5rem; text-align: center; }
.pagination-nav .nav-links { display: inline-flex; gap: 6px; }
.pagination-nav .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px; height: 42px;
	padding-inline: 10px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink-2);
	font-weight: 600;
}
.pagination-nav .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination-nav a.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	background: var(--bg-dark);
	color: #a6a6ad;
	overflow: hidden;
	text-align: center;
}
.cta-band__glow {
	position: absolute;
	width: 700px; height: 700px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 106, 160, 0.3), transparent 65%);
	top: 50%; left: 50%;
	translate: -50% -50%;
	pointer-events: none;
}
.cta-band__inner { position: relative; padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.cta-band h2 { color: #fff; margin-bottom: 0.25em; }
.cta-band p { font-size: var(--fs-lead); margin-bottom: 1.5em; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 12px; margin-top: 1.5rem; }
.contact-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.contact-card .icon { color: var(--brand); flex: 0 0 auto; }
.contact-card strong { display: block; color: var(--ink); font-size: var(--fs-1); }
.contact-card span { color: var(--ink-3); font-size: var(--fs-1); }

/* Contact form (sitevirtue-core) */
.sv-form {
	display: grid;
	gap: 16px;
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}
.sv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .sv-form__row { grid-template-columns: 1fr; } }

.sv-form label { font-weight: 600; font-size: var(--fs-1); color: var(--ink); display: block; margin-bottom: 6px; }
.sv-form label .req { color: var(--err); }

.sv-form input[type="text"],
.sv-form input[type="email"],
.sv-form input[type="tel"],
.sv-form textarea,
.search-form input[type="search"],
.own-domain-form input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font: 500 var(--fs-2) var(--font);
	color: var(--ink);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.sv-form textarea { resize: vertical; min-height: 130px; }
.sv-form input:focus,
.sv-form textarea:focus,
.own-domain-form input:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: var(--ring);
}

.sv-form__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.sv-form__status { display: none; padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 550; font-size: var(--fs-1); }
.sv-form__status.is-ok { display: block; background: var(--ok-soft); color: #14532d; }
.sv-form__status.is-err { display: block; background: var(--err-soft); color: #7f1d1d; }

.sv-form .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Configurator (product page) ---------- */
.configurator {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(1.75rem, 3vw, 3rem);
	align-items: start;
}
@media (max-width: 900px) { .configurator { grid-template-columns: 1fr; } }

.step-label {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--ink);
	font-size: 1.15rem;
	margin-bottom: 18px;
}
.step-label span {
	display: inline-grid;
	place-items: center;
	width: 30px; height: 30px;
	background: var(--grad);
	color: #fff;
	border-radius: 50%;
	font-size: var(--fs-1);
}

.tabs__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 18px;
}
@media (max-width: 640px) { .tabs__list { grid-template-columns: 1fr; } }

.tabs__tab {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 16px 18px;
	background: #fff;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	font: 650 var(--fs-1) var(--font);
	color: var(--ink-2);
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.tabs__tab .icon { color: var(--ink-3); margin-bottom: 4px; }
.tabs__tab small { font-weight: 500; color: var(--ink-3); font-size: var(--fs-0); }
.tabs__tab:hover { border-color: var(--brand); }
.tabs__tab.is-active {
	border-color: var(--brand);
	background: var(--brand-ghost);
	color: var(--brand-dark);
	box-shadow: inset 0 0 0 1px var(--brand);
}
.tabs__tab.is-active .icon { color: var(--brand-dark); }

.tabs__panel[hidden] { display: none; }

.own-domain-form__row { display: flex; gap: 10px; }
@media (max-width: 560px) { .own-domain-form__row { flex-direction: column; } }
.own-domain-form__hint { color: var(--ink-3); font-size: var(--fs-1); margin: 12px 0 0; }

.order-summary {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	position: sticky;
	top: calc(var(--header-h) + 20px);
}
.order-summary__title { font-size: 1.35rem; margin-bottom: 2px; }
.order-summary__tagline { color: var(--ink-3); font-size: var(--fs-1); margin-bottom: 14px; }
.order-summary .plan-card__features { margin-bottom: 18px; }
.order-summary__note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--ink-3);
	font-size: var(--fs-0);
}
.order-summary__note .icon { color: var(--brand); flex: 0 0 auto; }

.order-summary__switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 16px;
	padding: 14px 4px;
	color: var(--ink-3);
	font-size: var(--fs-1);
}
.order-summary__switch a { font-weight: 650; }

/* ---------- Domain search (sitevirtue-core widget) ---------- */
.svds { max-width: 640px; margin-inline: auto; }

.svds__form {
	display: flex;
	gap: 8px;
	padding: 8px;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
}
.svds__field { display: block; flex: 1; min-width: 0; margin: 0; }
.svds__input {
	width: 100%;
	border: 0;
	border-radius: 10px;
	padding: 12px 16px;
	font: 500 var(--fs-2) var(--font);
	color: var(--ink);
	background: transparent;
}
.svds__input:focus-visible { box-shadow: none; outline: none; }
.svds__input::placeholder { color: var(--ink-3); }
.svds__submit { flex: 0 0 auto; }

@media (max-width: 520px) {
	.svds__form { flex-direction: column; padding: 10px; }
	.svds__submit { width: 100%; }
}

/* Inside the plan configurator tabs the widget sits on a light surface —
   match the "I already have a domain" form instead of the hero pill. */
.tabs__panel .svds { max-width: none; }
.tabs__panel .svds__form {
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	gap: 10px;
}
.tabs__panel .svds__input {
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.tabs__panel .svds__input:focus {
	border-color: var(--brand);
	box-shadow: var(--ring);
}
.tabs__panel .svds__results { text-align: left; }
@media (max-width: 520px) {
	.tabs__panel .svds__form { padding: 0; }
}

.svds__results { margin-top: 14px; text-align: left; }
.svds__group + .svds__group { margin-top: 16px; }
.svds__alts-title {
	margin: 0 0 8px;
	font-size: var(--fs-0);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.page-hero .svds__alts-title { color: #8e8e96; }

.svds__row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 13px 16px;
	margin-bottom: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	font-size: var(--fs-1);
	color: var(--ink-2);
}
.svds__row--available { border-left: 4px solid var(--ok); }
.svds__row--taken { border-left: 4px solid var(--err); }
.svds__row--unknown { border-left: 4px solid var(--warn); }
.svds__row--pending { border-left: 4px solid var(--line); color: var(--ink-3); }

.svds__name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.svds__row--available .svds__label { color: var(--ok); font-weight: 650; }
.svds__row--taken .svds__label { color: var(--err); font-weight: 600; }

.svds__action { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.svds__badge {
	font-size: var(--fs-0);
	color: var(--ink-3);
}
.svds__select { padding: 8px 16px; font-size: var(--fs-0); }

@media (max-width: 560px) {
	.svds__action { width: 100%; margin-left: 0; justify-content: space-between; }
}

/* TLD strip on domains page */
.tld-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
}
.tld-strip li {
	padding: 7px 16px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #c9c9cf;
	font-weight: 650;
	font-size: var(--fs-1);
	background: rgba(255, 255, 255, 0.05);
}

/* Page-hero variant of the search panel (dark surround) */
.page-hero .domain-search-panel { margin-top: 26px; }

/* ---------- WooCommerce reskin ---------- */
.sv-commerce .site-main { min-height: 55vh; }

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--grad);
	color: #fff;
	border: 0;
	border-radius: var(--radius-sm);
	padding: 12px 22px;
	font: 600 var(--fs-1) var(--font);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover { background: var(--grad); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(17, 24, 39, 0.7); }

.woocommerce .button.alt:disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] { background: var(--line); color: var(--ink-3); }

.woocommerce table.shop_table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--bg-soft); color: var(--ink); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line) !important; padding: 14px 16px; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text {
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font: 500 var(--fs-1) var(--font);
	color: var(--ink);
	background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.woocommerce form .form-row label { font-weight: 600; color: var(--ink); font-size: var(--fs-1); }

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border-top-color: var(--brand);
	background: var(--bg-soft);
	border-radius: var(--radius-sm);
	color: var(--ink-2);
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before { color: var(--brand); }
.woocommerce .woocommerce-error { border-top-color: var(--err); }
.woocommerce .woocommerce-error::before { color: var(--err); }

.woocommerce .cart_totals h2,
.woocommerce #order_review_heading,
.woocommerce-billing-fields h3 { font-size: 1.3rem; }

.woocommerce #payment {
	background: var(--bg-soft);
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.woocommerce #payment div.payment_box { background: #fff; border-radius: var(--radius-sm); }
.woocommerce #payment div.payment_box::before { display: none; }

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 4px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 16px;
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	font-weight: 550;
	border: 1px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--brand-ghost); color: var(--brand-dark); }

/* Domain line item meta in cart/checkout */
.woocommerce td.product-name dl.variation,
.woocommerce td.product-name .wc-item-meta { font-size: var(--fs-0); color: var(--ink-3); }

/* Cart actions row — tidy coupon field + update button */
.woocommerce-cart table.cart .cart-qty { font-weight: 600; color: var(--ink); }
.woocommerce-cart table.cart td.actions { padding: 16px; }
.woocommerce-cart table.cart td.actions .coupon {
	display: flex;
	align-items: stretch;
	gap: 10px;
	float: none;
}
.woocommerce-cart table.cart td.actions .coupon label { display: none; }
/* The id selector outguns Woo core's "#content ... .input-text" width. */
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-cart table.cart td.actions .coupon input#coupon_code {
	width: 260px;
	max-width: 48vw;
	padding: 11px 14px;
	margin: 0;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font: 500 var(--fs-1) var(--font);
	color: var(--ink);
	background: #fff;
	float: none;
}
.woocommerce-cart table.cart td.actions .coupon .input-text:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: var(--ring);
}
.woocommerce-cart table.cart td.actions > .button {
	float: right;
}
@media (max-width: 560px) {
	.woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
	.woocommerce-cart table.cart td.actions .coupon .input-text,
	.woocommerce-cart table.cart td.actions .coupon input#coupon_code { width: 100%; max-width: none; }
	.woocommerce-cart table.cart td.actions .coupon .button { width: 100%; }
}

/* ---------- Search form ---------- */
.search-form__row { display: flex; gap: 8px; max-width: 460px; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--bg-dark);
	color: #a0a0a8;
	padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 1.75rem;
	font-size: var(--fs-1);
}
.site-footer__grid {
	display: grid;
	/* Brand soaks up the free space so the three link columns sit flush
	   right, evenly gapped; text inside each stays left-aligned. */
	grid-template-columns: 1fr auto auto auto;
	gap: clamp(2.5rem, 4.5vw, 5rem);
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__tagline { margin: 14px 0 10px; max-width: 36ch; }
.site-footer__meta { display: flex; align-items: center; gap: 8px; margin: 0; color: #7f7f88; font-size: var(--fs-0); }
.site-footer__meta .icon { color: #d4d4d8; }

.site-footer__title {
	color: #fff;
	font-size: var(--fs-0);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__menu a { color: #a0a0a8; }
.site-footer__menu a:hover { color: #fff; }

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding-top: 1.6rem;
	font-size: var(--fs-0);
	color: #7f7f88;
}
.site-footer__bottom p { margin: 0; }
.site-footer__uptime { display: inline-flex; align-items: center; gap: 9px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Misc ---------- */
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { margin-inline: auto; }

/* ---------- Vivid photography against the mono UI ---------- */
.post-card__media img,
.split__img,
.article__img { filter: saturate(1.12); }

/* ---------- Interior hero topic photos (veiled) ---------- */
.page-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.15);
}
.page-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, var(--bg-dark) 0%, rgba(26, 25, 24, 0.66) 30%, rgba(26, 25, 24, 0.72) 100%),
		radial-gradient(90% 120% at 50% 10%, rgba(26, 25, 24, 0.3), rgba(26, 25, 24, 0.62) 80%);
}
/* Content and overlays paint above the veiled photo (bg is first in DOM). */
.page-hero .page-hero__inner { position: relative; z-index: 1; }

/* <picture> wrappers around hero images are layout-transparent */
.hero__bg picture,
.page-hero__bg picture { display: contents; }

/* ---------- Formidable Forms, dressed in the design system ---------- */
.frm_forms {
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}
.frm_forms fieldset { border: 0; padding: 0; margin: 0; }
.frm_forms .frm_form_field { margin-bottom: 16px; }
.frm_forms label.frm_primary_label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: var(--fs-1);
	color: var(--ink);
}
.frm_forms .frm_required { color: var(--err); }
/* Fields with a hidden label (the "Last" half of Name) still print the
   required star; drop that whole row and bottom-align the grid so the
   side-by-side inputs stay level. */
.frm_forms .frm_hidden_container .frm_primary_label { display: none; }
.frm_forms .frm_fields_container { align-items: end; }
.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms input[type="tel"],
.frm_forms input[type="url"],
.frm_forms input[type="number"],
.frm_forms select,
.frm_forms textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font: 500 var(--fs-2) var(--font);
	color: var(--ink);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.frm_forms textarea { resize: vertical; min-height: 130px; }
.frm_forms input:focus,
.frm_forms select:focus,
.frm_forms textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: var(--ring);
}
.frm_forms .frm_submit { margin-top: 6px; }
.frm_forms .frm_submit button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 30px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--grad);
	color: #fff;
	font: 600 var(--fs-2) var(--font);
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.frm_forms .frm_submit button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(17, 24, 39, 0.6); }
.frm_forms .frm_error_style,
.frm_forms .frm_error {
	background: var(--err-soft);
	color: #7f1d1d;
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	font-size: var(--fs-1);
	margin-bottom: 12px;
}
.frm_forms .frm_error { background: none; padding: 4px 0 0; }
.frm_message {
	background: var(--ok-soft);
	color: #14532d;
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	font-weight: 550;
}
.frm_forms .frm_description { color: var(--ink-3); font-size: var(--fs-0); }

/* ---------- Packaged logo: compact mark + prominent wordmark ----------
   (Prefixed selectors so WooCommerce page img rules cannot inflate it.) */
.site-header .site-brand__mark-img,
.site-footer .site-brand__mark-img { display: block; height: 28px; width: auto; max-width: none; }
.site-footer .site-brand__mark-img { height: 26px; }
@media (max-width: 900px) { .site-header .site-brand__mark-img { height: 24px; } }

.site-brand--light .site-brand__name em { color: #c9b8d8; }

/* ---------- My Account guest login, styled like the login screen ---------- */
.woocommerce-account:not(.logged-in) .woocommerce > h2,
.woocommerce-account:not(.logged-in) #customer_login h2 {
	text-align: center;
	font-size: 1.6rem;
}
.woocommerce-account:not(.logged-in) form.login,
.woocommerce-account:not(.logged-in) form.register {
	max-width: 420px;
	margin: 0 auto 2rem;
	padding: 26px 26px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}
.woocommerce-account:not(.logged-in) form.login .button,
.woocommerce-account:not(.logged-in) form.register .button {
	width: 100%;
	margin-top: 4px;
}
.woocommerce-account:not(.logged-in) .woocommerce-LostPassword {
	text-align: center;
	font-size: var(--fs-1);
}
.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2 { float: none; width: 100%; }

/* Guest account page: login and register side by side on wide screens */
@media (min-width: 900px) {
	.woocommerce-account:not(.logged-in) .u-columns {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 28px;
		max-width: 920px;
		margin-inline: auto;
		align-items: start;
	}
	.woocommerce-account:not(.logged-in) .u-columns::before,
	.woocommerce-account:not(.logged-in) .u-columns::after { display: none; }
}

/* Footer bottom legal links */
.site-footer__legal { display: inline-flex; gap: 10px; align-items: center; }
.site-footer__legal a { color: #a0a0a8; }
.site-footer__legal a:hover { color: #fff; }
