/**
 * OptiForge — Core Design System
 *
 * Design tokens, reset, flex/grid scaffolding, and component styles.
 * Pure CSS: no frameworks, no external fonts, no runtime dependencies.
 *
 * @package OptiForge
 * @since   1.0.0
 */

/* -------------------------------------------------------------------------
 * 1. Design tokens
 * ---------------------------------------------------------------------- */
:root {
	/* Brand */
	--of-primary: #0284c7;
	--of-primary-strong: #075985;
	--of-primary-glow: rgba(2, 132, 199, 0.25);
	--of-accent-cyan: #06b6d4;
	--of-accent-emerald: #10b981;
	--of-accent-violet: #8b5cf6;

	/* Surfaces */
	--of-bg: #f8fafc;
	--of-surface: #ffffff;
	--of-surface-subtle: #f1f5f9;
	--of-border: #e2e8f0;
	--of-text-heading: #0f172a;
	--of-text-body: #334155;
	--of-text-muted: #64748b;

	/* Typography */
	--of-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--of-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

	/* Shape & depth */
	--of-radius-sm: 10px;
	--of-radius-md: 16px;
	--of-radius-lg: 24px;
	--of-radius-pill: 999px;
	--of-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
	--of-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
	--of-shadow-lg: 0 24px 60px rgba(2, 132, 199, 0.16);
	--of-shadow-glow: 0 10px 32px var(--of-primary-glow);

	/* Layout */
	--of-container: 1240px;
	--of-gutter: clamp(1.25rem, 4vw, 2.25rem);
	--of-header-height: 74px;

	/* Motion */
	--of-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--of-speed: 200ms;

	/* Footer (dark surface overrides) */
	--of-footer-bg: #0b1220;
	--of-footer-text: #94a3b8;
	--of-footer-heading: #f1f5f9;
	--of-footer-border: rgba(148, 163, 184, 0.16);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--of-header-height) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

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

img,
svg,
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

figure {
	margin: 0;
}

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

p {
	margin: 0 0 1em;
}

a {
	color: var(--of-primary);
	text-decoration: none;
	transition: color var(--of-speed) var(--of-ease);
}

a:hover {
	color: var(--of-primary-strong);
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

::selection {
	background: rgba(6, 182, 212, 0.25);
}

:focus-visible {
	outline: 3px solid var(--of-accent-cyan);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Screen-reader helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: 0;
	left: -9999px;
	z-index: 100000;
}

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	overflow: visible;
	background: var(--of-text-heading);
	color: #ffffff;
	border-radius: var(--of-radius-sm);
	clip: auto;
	clip-path: none;
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * 3. Layout scaffolding
 * ---------------------------------------------------------------------- */
.of-container {
	width: 100%;
	max-width: var(--of-container);
	margin-inline: auto;
	padding-inline: var(--of-gutter);
}

.of-main {
	display: block;
}

.of-section {
	padding-block: clamp(4rem, 9vw, 7rem);
}

.of-grid {
	display: grid;
	gap: var(--of-gutter);
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.of-col-3 { grid-column: span 3; }
.of-col-4 { grid-column: span 4; }
.of-col-6 { grid-column: span 6; }
.of-col-8 { grid-column: span 8; }
.of-col-12 { grid-column: span 12; }

.of-section__head {
	max-width: 720px;
	margin: 0 auto 3.5rem;
	text-align: center;
}

.of-section__title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.of-section__sub {
	max-width: 640px;
	margin: 0 auto;
	color: var(--of-text-muted);
	font-size: 1.05rem;
}

.of-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	color: var(--of-primary);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.of-eyebrow__bolt {
	display: inline-flex;
}

.of-eyebrow__bolt svg {
	width: 13px;
	height: 13px;
	color: var(--of-accent-cyan);
}

/* -------------------------------------------------------------------------
 * 4. Buttons
 * ---------------------------------------------------------------------- */
.of-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.72rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--of-radius-pill);
	background: var(--of-surface);
	color: var(--of-text-heading);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease), background-color var(--of-speed) var(--of-ease), border-color var(--of-speed) var(--of-ease), color var(--of-speed) var(--of-ease);
}

.of-btn:hover {
	transform: translateY(-2px);
	color: var(--of-text-heading);
}

.of-btn:active {
	transform: translateY(0);
}

.of-btn--primary {
	background-image: linear-gradient(135deg, var(--of-primary) 0%, var(--of-accent-cyan) 100%);
	color: #ffffff;
	box-shadow: var(--of-shadow-glow);
}

.of-btn--primary:hover {
	color: #ffffff;
	box-shadow: 0 14px 34px var(--of-primary-glow);
}

.of-btn--ghost {
	border-color: var(--of-border);
	background: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.of-btn--ghost:hover {
	border-color: var(--of-accent-cyan);
	box-shadow: var(--of-shadow-md);
}

.of-btn--lg {
	padding: 0.95rem 2rem;
	font-size: 1.02rem;
}

/* -------------------------------------------------------------------------
 * 5. Live edge status pill
 * ---------------------------------------------------------------------- */
.of-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid rgba(16, 185, 129, 0.28);
	border-radius: var(--of-radius-pill);
	background: rgba(16, 185, 129, 0.08);
	color: #047857;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color var(--of-speed) var(--of-ease), border-color var(--of-speed) var(--of-ease);
}

.of-status-pill:hover {
	background: rgba(16, 185, 129, 0.14);
	color: #047857;
}

.of-status-pill__dot {
	position: relative;
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--of-accent-emerald);
}

.of-status-pill__dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.35);
	animation: of-pulse 2.4s var(--of-ease) infinite;
}

@keyframes of-pulse {
	0% {
		transform: scale(0.6);
		opacity: 1;
	}

	70%,
	100% {
		transform: scale(1.9);
		opacity: 0;
	}
}

/* -------------------------------------------------------------------------
 * 6. Header — glassmorphism navbar
 * ---------------------------------------------------------------------- */
.of-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(226, 232, 240, 0.7);
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(12px) saturate(160%);
	backdrop-filter: blur(12px) saturate(160%);
	transition: background-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-header.is-scrolled {
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.of-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--of-header-height);
}

/* Brand */
.of-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.6rem;
	color: var(--of-text-heading);
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.of-brand:hover {
	color: var(--of-text-heading);
}

.of-brand__mark {
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.35));
}

.of-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.of-header .custom-logo-link img {
	width: auto;
	height: 40px;
}

/* Header actions */
.of-header__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.9rem;
	margin-left: auto;
}

/* -------------------------------------------------------------------------
 * 7. Navigation
 * ---------------------------------------------------------------------- */
.of-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
}

.of-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.of-menu a {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border-radius: var(--of-radius-sm);
	color: var(--of-text-body);
	font-size: 0.93rem;
	font-weight: 500;
	transition: color var(--of-speed) var(--of-ease), background-color var(--of-speed) var(--of-ease);
}

.of-menu a:hover {
	color: var(--of-primary);
	background: var(--of-surface-subtle);
}

.of-menu .current-menu-item > a,
.of-menu .current_page_item > a {
	color: var(--of-primary);
	font-weight: 600;
}

.of-menu .menu-item-has-children {
	position: relative;
}

.of-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 220px;
	padding: 0.4rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--of-speed) var(--of-ease), transform var(--of-speed) var(--of-ease), visibility var(--of-speed) var(--of-ease);
}

.of-menu .menu-item-has-children:hover > .sub-menu,
.of-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.of-menu .sub-menu a {
	display: block;
}

/* Mobile drawer CTA row (hidden on desktop) */
.of-nav__actions {
	display: none;
}

/* Hamburger toggle */
.of-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--of-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.7);
}

.of-nav-toggle__bars {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
}

.of-nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--of-text-heading);
	transition: transform var(--of-speed) var(--of-ease), opacity var(--of-speed) var(--of-ease);
}

.of-nav-toggle.is-open .of-nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.of-nav-toggle.is-open .of-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.of-nav-toggle.is-open .of-nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
 * 8. Hero — command deck
 * ---------------------------------------------------------------------- */
.of-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
	background:
		radial-gradient(52rem 30rem at 82% -10%, rgba(6, 182, 212, 0.14), transparent 60%),
		radial-gradient(44rem 26rem at 8% 6%, rgba(139, 92, 246, 0.12), transparent 60%),
		radial-gradient(40rem 24rem at 55% 110%, rgba(16, 185, 129, 0.12), transparent 65%),
		var(--of-bg);
}

.of-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(2, 132, 199, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000000 0%, transparent 100%);
	mask-image: radial-gradient(70% 60% at 50% 30%, #000000 0%, transparent 100%);
	pointer-events: none;
}

.of-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3.5rem;
	align-items: center;
}

.of-hero__copy {
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}

.of-hero__eyebrow {
	padding: 0.5rem 1rem;
	border: 1px solid rgba(2, 132, 199, 0.18);
	border-radius: var(--of-radius-pill);
	background: rgba(2, 132, 199, 0.07);
}

.of-hero__title {
	margin-bottom: 1.25rem;
	font-size: clamp(2.3rem, 6vw, 4rem);
	letter-spacing: -0.03em;
}

.of-hero__title-accent {
	background: linear-gradient(92deg, var(--of-primary) 0%, var(--of-accent-cyan) 45%, var(--of-accent-emerald) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.of-hero__subtitle {
	max-width: 680px;
	margin: 0 auto 2.25rem;
	color: var(--of-text-muted);
	font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.of-hero__cta-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	margin-bottom: 2rem;
}

/* Glassmorphism Feature Strip Pills */
.of-hero__badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 3rem;
}

.of-hero__badge-item.of-feature-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.5rem 1.15rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: var(--of-radius-pill);
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #1e293b;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	transition: all var(--of-dur-fast) ease;
}

.of-hero__badge-item.of-feature-pill:hover {
	background: rgba(255, 255, 255, 0.95);
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.of-feature-pill__icon {
	font-size: 1rem;
	line-height: 1;
}

.of-feature-pill__text {
	color: #0f172a;
	font-weight: 600;
}

.of-hero__deck {
	width: 100%;
	max-width: 980px;
	margin-inline: auto;
}

/* Command deck window */
.of-deck {
	padding: 1rem;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: var(--of-radius-lg);
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--of-shadow-lg);
}

.of-deck__bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.35rem 0.5rem 0.8rem;
}

.of-deck__dots {
	display: inline-flex;
	gap: 6px;
}

.of-deck__dots span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
}

.of-deck__dots span:nth-child(1) { background: #f87171; }
.of-deck__dots span:nth-child(2) { background: #fbbf24; }
.of-deck__dots span:nth-child(3) { background: #34d399; }

.of-deck__url {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.35rem 0.9rem;
	overflow: hidden;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-pill);
	background: var(--of-surface-subtle);
	color: var(--of-text-muted);
	font-family: var(--of-mono);
	font-size: 0.8rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.of-deck__live {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.7rem;
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: var(--of-radius-pill);
	background: rgba(16, 185, 129, 0.12);
	color: #047857;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.of-deck__live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--of-accent-emerald);
}

/* Before/after comparator */
.of-ba {
	width: 100%;
}

.of-ba__stage {
	position: relative;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	border-radius: var(--of-radius-md);
	background: var(--of-surface-subtle);
	--of-ba-pos: 62%;
	touch-action: none;
}

.of-ba__stage.has-focus {
	outline: 3px solid var(--of-accent-cyan);
	outline-offset: 2px;
}

.of-ba__layer {
	position: absolute;
	inset: 0;
}

.of-ba__layer--before {
	-webkit-clip-path: inset(0 calc(100% - var(--of-ba-pos)) 0 0);
	clip-path: inset(0 calc(100% - var(--of-ba-pos)) 0 0);
}

.of-ba__img {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 1rem;
}

.of-ba__img--after {
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 34px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 34px),
		radial-gradient(120% 90% at 72% 12%, #bae6fd 0%, transparent 55%),
		radial-gradient(90% 70% at 12% 92%, #a7f3d0 0%, transparent 60%),
		linear-gradient(152deg, #38bdf8 0%, #10b981 100%);
}

.of-ba__img--after::after {
	content: "AVIF";
	position: absolute;
	right: 1.25rem;
	bottom: 1rem;
	color: rgba(255, 255, 255, 0.35);
	font-family: var(--of-mono);
	font-size: clamp(2rem, 6vw, 4rem);
	font-weight: 700;
	letter-spacing: 0.06em;
}

.of-ba__img--before {
	background:
		radial-gradient(120% 90% at 70% 18%, rgba(148, 163, 184, 0.4) 0%, transparent 55%),
		radial-gradient(100% 80% at 18% 88%, rgba(2, 6, 23, 0.55) 0%, transparent 62%),
		linear-gradient(160deg, #475569 0%, #1e293b 55%, #0f172a 100%);
}

.of-ba__img--before::after {
	content: "JPEG";
	position: absolute;
	right: 1.25rem;
	bottom: 1rem;
	color: rgba(255, 255, 255, 0.16);
	font-family: var(--of-mono);
	font-size: clamp(2rem, 6vw, 4rem);
	font-weight: 700;
	letter-spacing: 0.06em;
}

.of-ba__tag {
	position: relative;
	z-index: 1;
	padding: 0.4rem 0.8rem;
	border-radius: var(--of-radius-pill);
	font-family: var(--of-mono);
	font-size: 0.78rem;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.of-ba__img--after .of-ba__tag {
	background: rgba(15, 23, 42, 0.55);
	color: #e0f2fe;
}

.of-ba__img--before .of-ba__tag {
	background: rgba(255, 255, 255, 0.14);
	color: #e2e8f0;
}

.of-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--of-ba-pos);
	width: 2px;
	background: #ffffff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15), 0 2px 12px rgba(15, 23, 42, 0.25);
	transform: translateX(-1px);
	pointer-events: none;
}

.of-ba__handle-bar {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
	transform: translate(-50%, -50%);
}

.of-ba__handle-bar::before,
.of-ba__handle-bar::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -4px;
}

.of-ba__handle-bar::before {
	left: 13px;
	border-top: 2px solid var(--of-text-heading);
	border-left: 2px solid var(--of-text-heading);
	transform: rotate(-45deg);
}

.of-ba__handle-bar::after {
	right: 13px;
	border-top: 2px solid var(--of-text-heading);
	border-right: 2px solid var(--of-text-heading);
	transform: rotate(45deg);
}

.of-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}

/* Deck metrics */
.of-deck__metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 1rem;
	overflow: hidden;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-md);
	background: var(--of-border);
}

.of-deck__metric {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0.9rem 1rem;
	background: var(--of-surface);
	text-align: center;
}

.of-deck__metric-value {
	color: var(--of-text-heading);
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.of-deck__metric-label {
	color: var(--of-text-muted);
	font-size: 0.78rem;
	font-weight: 500;
}

/* -------------------------------------------------------------------------
 * 9. Product suite — bento grid
 * ---------------------------------------------------------------------- */
.of-products {
	border-top: 1px solid var(--of-border);
	background: linear-gradient(180deg, var(--of-bg) 0%, #eef5fc 100%);
}

.of-bento {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.of-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: 2rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-sm);
	scroll-margin-top: calc(var(--of-header-height) + 24px);
	transition: transform var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease), border-color var(--of-speed) var(--of-ease);
}

.of-card:hover {
	transform: translateY(-6px);
	border-color: rgba(2, 132, 199, 0.35);
	box-shadow: var(--of-shadow-lg);
}

.of-card__icon {
	display: inline-flex;
	width: 54px;
	height: 54px;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	color: #ffffff;
	box-shadow: var(--of-shadow-md);
}

.of-card__icon svg {
	width: 26px;
	height: 26px;
}

.of-card[data-accent="cyan"] .of-card__icon {
	background: linear-gradient(135deg, var(--of-primary), var(--of-accent-cyan));
	box-shadow: 0 10px 24px var(--of-primary-glow);
}

.of-card[data-accent="emerald"] .of-card__icon {
	background: linear-gradient(135deg, #059669, var(--of-accent-emerald));
	box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);
}

.of-card[data-accent="violet"] .of-card__icon {
	background: linear-gradient(135deg, #7c3aed, var(--of-accent-violet));
	box-shadow: 0 10px 24px rgba(139, 92, 246, 0.28);
}

.of-card__kicker {
	margin: 0;
	color: var(--of-primary);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.of-card[data-accent="emerald"] .of-card__kicker { color: #059669; }
.of-card[data-accent="violet"] .of-card__kicker { color: #7c3aed; }

.of-card__title {
	margin: 0;
	font-size: 1.35rem;
}

.of-card__copy {
	margin: 0;
	color: var(--of-text-muted);
	font-size: 0.96rem;
}

.of-card__features {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 0;
	padding-top: 1.1rem;
	border-top: 1px dashed var(--of-border);
}

.of-card__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: var(--of-text-body);
	font-size: 0.93rem;
	line-height: 1.45;
}

.of-card__check {
	display: inline-flex;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
}

.of-card__check svg {
	width: 11px;
	height: 11px;
}

.of-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	color: var(--of-primary);
	font-size: 0.93rem;
	font-weight: 600;
}

.of-card__link .of-card__arrow {
	transition: transform var(--of-speed) var(--of-ease);
}

.of-card__link:hover .of-card__arrow {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
 * 10. Footer
 * ---------------------------------------------------------------------- */
.of-footer {
	background: var(--of-footer-bg);
	color: var(--of-footer-text);
}

.of-footer a {
	color: var(--of-footer-text);
	transition: color var(--of-speed) var(--of-ease), padding-left var(--of-speed) var(--of-ease);
}

.of-footer a:hover {
	color: #ffffff;
}

.of-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
	padding-block: 4.5rem 3.5rem;
}

.of-footer__brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.1rem;
	color: #ffffff;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.of-footer__brand-lockup .of-brand__mark {
	width: 34px;
	height: 34px;
}

.of-footer__pitch {
	max-width: 34ch;
	margin-bottom: 1.4rem;
	font-size: 0.93rem;
	line-height: 1.7;
}

.of-footer__status {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.95rem;
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: var(--of-radius-pill);
	background: rgba(16, 185, 129, 0.1);
	color: #6ee7b7;
	font-size: 0.82rem;
	font-weight: 600;
	scroll-margin-top: calc(var(--of-header-height) + 24px);
}

.of-footer__status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--of-accent-emerald);
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.of-footer__heading {
	margin: 0 0 1.1rem;
	color: var(--of-footer-heading);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.of-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.of-footer__menu a {
	font-size: 0.93rem;
}

.of-footer__menu a:hover {
	padding-left: 4px;
}

.of-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.6rem;
	border-top: 1px solid var(--of-footer-border);
	font-size: 0.85rem;
}

.of-footer__bottom p {
	margin: 0;
}

/* -------------------------------------------------------------------------
 * 11. Blog fallback (index.php)
 * ---------------------------------------------------------------------- */
.of-main__inner {
	padding-block: 4rem;
}

.of-page-header {
	margin-bottom: 2.5rem;
}

.of-page-title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.of-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 1.5rem;
}

.of-post-card {
	padding: 1.75rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-sm);
}

.of-post-card .entry-title {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
}

.of-post-card .entry-title a {
	color: var(--of-text-heading);
}

.of-post-card .entry-title a:hover {
	color: var(--of-primary);
}

.entry-meta {
	margin-bottom: 1rem;
	color: var(--of-text-muted);
	font-size: 0.82rem;
}

.entry-summary p {
	margin: 0;
	color: var(--of-text-body);
	font-size: 0.95rem;
}

/* -------------------------------------------------------------------------
 * 12. Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.of-menu a {
		padding-inline: 0.55rem;
		font-size: 0.88rem;
	}

	.of-status-pill {
		padding-inline: 0.7rem;
	}
}

@media (max-width: 1023px) {
	.of-nav-toggle {
		display: inline-flex;
	}

	.of-header__actions .of-status-pill,
	.of-header__cta {
		display: none;
	}

	.of-nav {
		position: fixed;
		top: var(--of-header-height);
		right: 0;
		left: 0;
		display: none;
		max-height: calc(100vh - var(--of-header-height));
		padding: 1rem var(--of-gutter) 1.5rem;
		overflow-y: auto;
		border-bottom: 1px solid var(--of-border);
		background: rgba(248, 250, 252, 0.97);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
		box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
	}

	.of-nav.is-open {
		display: block;
		animation: of-slide-down var(--of-speed) var(--of-ease);
	}

	.of-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
	}

	.of-menu a {
		display: block;
		padding: 0.8rem 0.9rem;
		font-size: 1rem;
	}

	.of-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 1rem;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.of-nav__actions {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
		margin-top: 1.25rem;
		padding-top: 1.25rem;
		border-top: 1px solid var(--of-border);
	}

	.of-nav__actions .of-btn {
		width: 100%;
	}
}

@keyframes of-slide-down {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 960px) {
	.of-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}

	.of-footer__brand {
		grid-column: 1 / -1;
	}

	.of-col-3,
	.of-col-4,
	.of-col-6,
	.of-col-8 {
		grid-column: span 12;
	}
}

@media (max-width: 720px) {
	.of-hero__cta-row .of-btn {
		width: 100%;
	}

	.of-ba__stage {
		aspect-ratio: 4 / 3;
	}

	.of-deck__url {
		display: none;
	}

	.of-deck__metric {
		padding: 0.7rem 0.4rem;
	}

	.of-deck__metric-value {
		font-size: 1rem;
	}

	.of-footer__grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
	}

	.of-footer__brand {
		grid-column: auto;
	}
}

/* -------------------------------------------------------------------------
 * 13. Motion preferences
 * ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}

	.of-status-pill__dot::after {
		animation: none;
	}
}

/* =========================================================================
 * Phase 2 — Web Vitals, Comparison Matrix, Pricing Deck, FAQ
 * ========================================================================= */

/* --- Section anchors --- */
.of-compare,
.of-pricing,
.of-faq,
.of-vitals {
	scroll-margin-top: calc(var(--of-header-height) + 20px);
}

/* --- Core Web Vitals showcase --- */
.of-vitals {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(40rem 20rem at 85% 0%, rgba(6, 182, 212, 0.16), transparent 60%),
		radial-gradient(36rem 22rem at 10% 100%, rgba(16, 185, 129, 0.14), transparent 60%),
		#0b1220;
	color: #94a3b8;
}

.of-section__head--dark .of-section__title {
	color: #f1f5f9;
}

.of-section__head--dark .of-section__sub {
	color: #94a3b8;
}

.of-vitals__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.of-vital {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 1.75rem 1.25rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: var(--of-radius-lg);
	background: rgba(255, 255, 255, 0.04);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	text-align: center;
}

.of-dial {
	--of-dial: 100;
	position: relative;
	display: flex;
	width: 128px;
	height: 128px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: conic-gradient(var(--of-accent-emerald) calc(var(--of-dial) * 1%), rgba(148, 163, 184, 0.15) 0);
}

.of-dial--85 {
	--of-dial: 85;
}

.of-dial::after {
	content: "";
	position: absolute;
	inset: 10px;
	border-radius: 50%;
	background: #0f1b30;
}

.of-dial__value {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.1;
}

.of-dial__value strong {
	color: #f8fafc;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.of-dial__value span {
	color: #6ee7b7;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.of-vital__title {
	margin: 0;
	color: #f1f5f9;
	font-size: 1rem;
}

.of-vital__desc {
	margin: 0;
	color: #94a3b8;
	font-size: 0.85rem;
	line-height: 1.6;
}

.of-vital__desc code {
	padding: 0.1em 0.35em;
	border-radius: 6px;
	background: rgba(6, 182, 212, 0.12);
	color: #a5f3fc;
	font-family: var(--of-mono);
	font-size: 0.8em;
}

.of-vital--score {
	justify-content: center;
}

.of-vital__score-label {
	margin: 0;
	color: #94a3b8;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.of-vital__scores {
	display: flex;
	gap: 1rem;
}

.of-vital__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.75rem 1.1rem;
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: var(--of-radius-md);
	background: rgba(16, 185, 129, 0.12);
	color: #6ee7b7;
	font-size: 0.75rem;
	font-weight: 700;
}

.of-vital__score strong {
	color: #f8fafc;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

/* --- Comparison matrix --- */
.of-compare {
	background: var(--of-bg);
}

.of-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--of-radius-lg);
}

.of-matrix {
	width: 100%;
	min-width: 940px;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--of-surface);
}

.of-matrix th,
.of-matrix td {
	padding: 1.1rem 1.25rem;
	border-bottom: 1px solid var(--of-border);
	font-size: 0.93rem;
	text-align: left;
	vertical-align: middle;
}

.of-matrix thead th {
	padding-block: 1.25rem;
	background: var(--of-surface);
	color: var(--of-text-heading);
	font-weight: 700;
}

.of-matrix tbody tr:last-child th,
.of-matrix tbody tr:last-child td {
	border-bottom: 0;
}

.of-matrix tbody tr:nth-child(even) td:not(.of-matrix__of-cell) {
	background: rgba(241, 245, 249, 0.55);
}

.of-matrix__feature-head,
.of-matrix__feature {
	position: sticky;
	left: 0;
	z-index: 2;
	background: var(--of-surface);
	box-shadow: 1px 0 0 var(--of-border);
	color: var(--of-text-heading);
	font-weight: 600;
}

.of-matrix tbody tr:nth-child(even) .of-matrix__feature {
	background: #fdfdfe;
}

.of-matrix__of-head,
.of-matrix__of-cell {
	border-left: 1px solid rgba(2, 132, 199, 0.35);
	border-right: 1px solid rgba(2, 132, 199, 0.35);
	background: linear-gradient(180deg, rgba(2, 132, 199, 0.08), rgba(6, 182, 212, 0.04));
	box-shadow: inset 0 0 40px var(--of-primary-glow);
}

.of-matrix__of-head {
	text-align: center;
}

.of-matrix__of-brand {
	display: block;
	color: var(--of-primary-strong);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.of-matrix__badge {
	display: inline-block;
	margin-top: 0.4rem;
	padding: 0.28rem 0.75rem;
	border-radius: var(--of-radius-pill);
	background: linear-gradient(135deg, var(--of-primary), var(--of-accent-cyan));
	color: #ffffff;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.of-matrix__of-cell .of-matrix__label {
	color: var(--of-text-heading);
	font-weight: 600;
}

.of-matrix__label {
	color: var(--of-text-muted);
}

.of-mark {
	display: inline-flex;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	margin-right: 0.6rem;
	border-radius: 50%;
	vertical-align: middle;
}

.of-mark svg {
	width: 12px;
	height: 12px;
}

.of-mark--yes {
	background: rgba(16, 185, 129, 0.14);
	color: #059669;
}

.of-mark--partial {
	background: rgba(245, 158, 11, 0.14);
	color: #b45309;
}

.of-mark--no {
	background: rgba(244, 63, 94, 0.1);
	color: #be123c;
}

/* --- Pricing deck --- */
.of-pricing {
	background: linear-gradient(180deg, #eef5fc 0%, var(--of-bg) 100%);
}

.of-billing-toggle {
	display: inline-flex;
	gap: 4px;
	margin-top: 1.75rem;
	padding: 4px;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-pill);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-sm);
}

.of-billing-toggle__btn {
	padding: 0.6rem 1.25rem;
	border-radius: var(--of-radius-pill);
	color: var(--of-text-muted);
	font-size: 0.9rem;
	font-weight: 600;
	transition: color var(--of-speed) var(--of-ease), background-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-billing-toggle__btn[aria-checked="true"] {
	background: linear-gradient(135deg, var(--of-primary), var(--of-accent-cyan));
	color: #ffffff;
	box-shadow: var(--of-shadow-glow);
}

.of-pricing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
	margin-top: 3.5rem;
}

.of-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: 2.25rem 2rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-sm);
	transition: transform var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease), border-color var(--of-speed) var(--of-ease);
}

.of-tier:hover {
	transform: translateY(-4px);
	box-shadow: var(--of-shadow-md);
}

.of-tier--featured {
	border-color: rgba(2, 132, 199, 0.4);
	background: linear-gradient(180deg, rgba(2, 132, 199, 0.06), rgba(6, 182, 212, 0.02) 40%), var(--of-surface);
	box-shadow: var(--of-shadow-lg);
}

.of-tier--featured:hover {
	border-color: rgba(2, 132, 199, 0.55);
}

.of-tier__badge {
	position: absolute;
	top: -14px;
	left: 50%;
	padding: 0.4rem 1.1rem;
	border-radius: var(--of-radius-pill);
	background: linear-gradient(135deg, var(--of-primary), var(--of-accent-emerald));
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: var(--of-shadow-glow);
	transform: translateX(-50%);
	white-space: nowrap;
}

.of-tier__name {
	margin: 0;
	font-size: 1.05rem;
}

.of-tier__price {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
}

.of-tier__amount {
	color: var(--of-text-heading);
	font-size: 2.7rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.of-tier__term {
	color: var(--of-text-muted);
	font-weight: 500;
}

.of-tier__note {
	margin: -0.55rem 0 0;
	min-height: 1.2em;
	color: var(--of-text-muted);
	font-size: 0.82rem;
}

.of-tier__desc {
	margin: 0;
	color: var(--of-text-muted);
	font-size: 0.95rem;
}

.of-tier__features {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
	padding-top: 1.1rem;
	border-top: 1px dashed var(--of-border);
}

.of-tier__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: var(--of-text-body);
	font-size: 0.93rem;
	line-height: 1.45;
}

.of-tick {
	display: inline-flex;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
}

.of-tick svg {
	width: 11px;
	height: 11px;
}

.of-tier__cta {
	width: 100%;
	margin-top: auto;
}

/* --- FAQ accordion --- */
.of-faq {
	border-top: 1px solid var(--of-border);
	background: var(--of-surface);
}

.of-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	max-width: 800px;
	margin-inline: auto;
}

.of-faq__item {
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-md);
	background: var(--of-surface);
	transition: border-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-faq__item.is-open {
	border-color: rgba(2, 132, 199, 0.4);
	box-shadow: var(--of-shadow-md);
}

.of-faq__question {
	margin: 0;
}

.of-faq__trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	color: var(--of-text-heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

.of-faq__trigger-text {
	flex: 1 1 auto;
}

.of-faq__chevron {
	display: inline-flex;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--of-surface-subtle);
	color: var(--of-primary);
	transition: transform var(--of-speed) var(--of-ease), background-color var(--of-speed) var(--of-ease);
}

.of-faq__chevron svg {
	width: 14px;
	height: 14px;
}

.of-faq__item.is-open .of-faq__chevron {
	background: var(--of-primary-glow);
	transform: rotate(180deg);
}

.of-faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	visibility: hidden;
	transition: grid-template-rows 300ms var(--of-ease), opacity 260ms var(--of-ease), visibility 300ms;
}

.of-faq__item.is-open .of-faq__panel {
	grid-template-rows: 1fr;
	opacity: 1;
	visibility: visible;
}

.of-faq__panel-inner {
	min-height: 0;
	overflow: hidden;
}

.of-faq__panel-inner p {
	margin: 0;
	padding: 0 1.35rem 1.35rem;
	color: var(--of-text-muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* --- Phase 2 responsive --- */
@media (max-width: 1023px) {
	.of-vitals__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.of-pricing__grid {
		grid-template-columns: 1fr;
		max-width: 520px;
		margin-top: 3rem;
		margin-inline: auto;
	}
}

@media (max-width: 640px) {
	.of-vitals__grid {
		grid-template-columns: 1fr;
	}

	.of-dial {
		width: 108px;
		height: 108px;
	}

	.of-billing-toggle {
		flex-direction: column;
		width: 100%;
		max-width: 340px;
	}

	.of-billing-toggle__btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.of-vital__scores {
		flex-direction: column;
	}
}

/* =========================================================================
 * Phase 3 — Interactive Tools, Docs Knowledge Base, Breadcrumbs
 * ========================================================================= */

/* --- Breadcrumbs --- */
.of-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	color: var(--of-text-muted);
	font-size: 0.85rem;
}

.of-breadcrumbs a {
	color: var(--of-text-muted);
}

.of-breadcrumbs a:hover {
	color: var(--of-primary);
}

.of-breadcrumbs__current {
	color: var(--of-text-heading);
	font-weight: 600;
}

/* --- Page lede --- */
.of-page-lede {
	max-width: 720px;
	margin: 0;
	color: var(--of-text-muted);
	font-size: 1.05rem;
}

/* --- Server rules generator tool --- */
.of-tool__wrap {
	padding-block: 3rem 5rem;
}

.of-tool__head {
	margin-bottom: 2.5rem;
}

.of-tool {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.of-tool__controls {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.75rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-sm);
}

.of-tool__group {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.of-tool__group legend {
	margin-bottom: 0.35rem;
	padding: 0;
	color: var(--of-text-heading);
	font-size: 0.85rem;
	font-weight: 700;
}

.of-tool__input,
.of-tool__select {
	width: 100%;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	background: var(--of-surface);
	color: var(--of-text-heading);
	font-family: var(--of-mono);
	font-size: 0.9rem;
	transition: border-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-tool__input:focus,
.of-tool__select:focus {
	border-color: var(--of-accent-cyan);
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
	outline: none;
}

.of-toggle-pills {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-pill);
	background: var(--of-surface-subtle);
}

.of-toggle-pill {
	padding: 0.55rem 1rem;
	border-radius: var(--of-radius-pill);
	color: var(--of-text-muted);
	font-size: 0.88rem;
	font-weight: 600;
	transition: color var(--of-speed) var(--of-ease), background-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-toggle-pill[aria-checked="true"] {
	background: var(--of-surface);
	color: var(--of-primary);
	box-shadow: var(--of-shadow-sm);
}

.of-check {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--of-text-body);
	font-size: 0.92rem;
	cursor: pointer;
}

.of-check input {
	width: 17px;
	height: 17px;
	accent-color: var(--of-primary);
}

.of-tool__output {
	min-width: 0;
}

.of-tool__terminal {
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: var(--of-radius-md);
	background: #0b1220;
	box-shadow: var(--of-shadow-lg);
}

.of-tool__terminal-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.of-tool__dots {
	display: inline-flex;
	gap: 6px;
}

.of-tool__dots span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
}

.of-tool__dots span:nth-child(1) { background: #f87171; }
.of-tool__dots span:nth-child(2) { background: #fbbf24; }
.of-tool__dots span:nth-child(3) { background: #34d399; }

.of-tool__terminal-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: #94a3b8;
	font-family: var(--of-mono);
	font-size: 0.8rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.of-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid rgba(6, 182, 212, 0.4);
	border-radius: var(--of-radius-pill);
	background: rgba(6, 182, 212, 0.12);
	color: #67e8f9;
	font-size: 0.82rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease), border-color var(--of-speed) var(--of-ease), color var(--of-speed) var(--of-ease), transform var(--of-speed) var(--of-ease);
}

.of-copy-btn:hover {
	background: rgba(6, 182, 212, 0.22);
	border-color: rgba(6, 182, 212, 0.6);
	box-shadow: 0 0 18px rgba(6, 182, 212, 0.25);
	transform: translateY(-1px);
}

.of-copy-btn.is-copied {
	border-color: rgba(16, 185, 129, 0.5);
	background: rgba(16, 185, 129, 0.15);
	color: #6ee7b7;
}

.of-copy-btn.is-error {
	border-color: rgba(244, 63, 94, 0.5);
	background: rgba(244, 63, 94, 0.12);
	color: #fda4af;
}

.of-copy-btn svg {
	width: 15px;
	height: 15px;
}

.of-code {
	margin: 0;
	padding: 1.25rem 1.4rem;
	overflow-x: auto;
	color: #cbd5e1;
	font-family: var(--of-mono);
	font-size: 0.85rem;
	line-height: 1.65;
	white-space: pre;
	tab-size: 4;
}

.of-code--inline {
	margin: 1.25rem 0;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	background: var(--of-surface-subtle);
	color: var(--of-text-heading);
	font-size: 0.82rem;
}

.of-tool__note {
	margin: 1rem 0 0;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--of-accent-emerald);
	border-radius: 0 var(--of-radius-sm) var(--of-radius-sm) 0;
	background: rgba(16, 185, 129, 0.08);
	color: var(--of-text-body);
	font-size: 0.92rem;
}

.of-tool__note strong {
	color: #047857;
}

/* --- Docs knowledge base --- */
.of-docs__wrap {
	padding-block: 3rem 5rem;
}

.of-docs-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}

.of-docs-sidebar {
	position: sticky;
	top: calc(var(--of-header-height) + 24px);
	max-height: calc(100vh - var(--of-header-height) - 48px);
	overflow-y: auto;
}

.of-docs-nav__list {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.of-docs-nav__link {
	display: block;
	margin-left: -2px;
	padding: 0.45rem 0.9rem;
	border-left: 2px solid transparent;
	color: var(--of-text-muted);
	font-size: 0.9rem;
	font-weight: 500;
	transition: color var(--of-speed) var(--of-ease), border-color var(--of-speed) var(--of-ease), background-color var(--of-speed) var(--of-ease);
}

.of-docs-nav__link:hover {
	color: var(--of-primary);
}

.of-docs-nav__link.is-active {
	border-left-color: var(--of-primary);
	background: rgba(2, 132, 199, 0.06);
	color: var(--of-primary);
	font-weight: 600;
}

.of-docs-nav__select-wrap {
	display: none;
}

.of-docs-nav__select {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	background: var(--of-surface);
	color: var(--of-text-heading);
	font-size: 0.95rem;
}

.of-docs-content {
	min-width: 0;
}

.of-docs-section {
	padding-block: 1.5rem 2.25rem;
	border-bottom: 1px solid var(--of-border);
	scroll-margin-top: calc(var(--of-header-height) + 24px);
}

.of-docs-section:first-of-type {
	padding-top: 0;
}

.of-docs-section:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.of-docs-section h2 {
	font-size: 1.6rem;
}

.of-docs-section h3 {
	margin-top: 1.75rem;
	font-size: 1.1rem;
}

.of-docs-section p {
	max-width: 72ch;
	color: var(--of-text-body);
	font-size: 0.97rem;
}

.of-docs-section ul {
	margin: 1rem 0;
	padding-left: 1.4rem;
	list-style: disc;
	color: var(--of-text-body);
	font-size: 0.95rem;
}

.of-docs-section li {
	margin-bottom: 0.5rem;
}

.of-callout {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border: 1px solid;
	border-radius: var(--of-radius-sm);
	font-size: 0.93rem;
}

.of-callout p {
	margin: 0;
	font-size: 0.93rem;
}

.of-callout--tip {
	border-color: rgba(6, 182, 212, 0.35);
	background: rgba(6, 182, 212, 0.08);
	color: #155e75;
}

.of-callout--warning {
	border-color: rgba(245, 158, 11, 0.4);
	background: rgba(245, 158, 11, 0.1);
	color: #92400e;
}

/* --- Footer CDN hostname line --- */
.of-footer__cdn {
	margin: 1rem 0 0;
	color: var(--of-footer-text);
	font-size: 0.85rem;
}

.of-footer__cdn-label {
	margin-right: 0.4rem;
	color: var(--of-footer-heading);
	font-weight: 600;
}

.of-footer__cdn a {
	font-family: var(--of-mono);
	font-size: 0.82rem;
}

/* --- Phase 3 responsive --- */
@media (max-width: 1023px) {
	.of-tool {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 959px) {
	.of-docs-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.of-docs-sidebar {
		position: static;
		max-height: none;
		overflow-y: visible;
	}

	.of-docs-nav__list {
		display: none;
	}

	.of-docs-nav__select-wrap {
		display: block;
		margin-bottom: 0.5rem;
	}
}

/* =========================================================================
 * Phase 4 — Page, Single, Archive, Search, 404, Comments
 * ========================================================================= */

/* --- Default page template (contained 900px) --- */
.of-page-entry {
	max-width: 900px;
	margin-inline: auto;
}

.of-page-entry__thumb {
	margin: 0 0 2rem;
}

.of-page-entry__thumb img {
	border-radius: var(--of-radius-lg);
	box-shadow: var(--of-shadow-md);
}

/* --- Prose typography --- */
.of-prose {
	color: var(--of-text-body);
	font-size: 1.02rem;
}

.of-prose::after {
	content: "";
	display: table;
	clear: both;
}

.of-prose h2 {
	margin-top: 2.25rem;
	font-size: 1.5rem;
}

.of-prose h3 {
	margin-top: 1.75rem;
	font-size: 1.2rem;
}

.of-prose a {
	text-decoration: underline;
	text-decoration-color: rgba(2, 132, 199, 0.35);
	text-underline-offset: 3px;
}

.of-prose a:hover {
	text-decoration-color: var(--of-primary);
}

.of-prose ul {
	margin: 1rem 0;
	padding-left: 1.5rem;
	list-style: disc;
}

.of-prose ol {
	margin: 1rem 0;
	padding-left: 1.5rem;
	list-style: decimal;
}

.of-prose li {
	margin-bottom: 0.5rem;
}

.of-prose blockquote {
	margin: 1.75rem 0;
	padding: 1rem 1.5rem;
	border-left: 4px solid var(--of-accent-cyan);
	border-radius: 0 var(--of-radius-sm) var(--of-radius-sm) 0;
	background: rgba(6, 182, 212, 0.06);
	color: var(--of-text-heading);
	font-style: italic;
}

.of-prose blockquote p:last-child {
	margin-bottom: 0;
}

.of-prose code {
	padding: 0.1em 0.4em;
	border: 1px solid var(--of-border);
	border-radius: 6px;
	background: var(--of-surface-subtle);
	font-family: var(--of-mono);
	font-size: 0.88em;
}

.of-prose pre {
	padding: 1.25rem;
	overflow-x: auto;
	border-radius: var(--of-radius-sm);
	background: #0b1220;
	color: #cbd5e1;
	font-family: var(--of-mono);
	font-size: 0.85rem;
	line-height: 1.65;
}

.of-prose pre code {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
}

.of-prose img {
	border-radius: var(--of-radius-md);
}

.of-prose .aligncenter {
	display: block;
	margin-inline: auto;
}

.of-prose .alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.of-prose .alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.of-prose .alignwide {
	margin-inline: -2rem;
	max-width: calc(100% + 4rem);
}

.of-prose table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: 0.93rem;
}

.of-prose th,
.of-prose td {
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--of-border);
	text-align: left;
}

.of-prose th {
	background: var(--of-surface-subtle);
	color: var(--of-text-heading);
}

.page-links {
	margin-top: 2rem;
	color: var(--of-text-muted);
	font-size: 0.9rem;
}

.page-links .post-page-numbers {
	display: inline-flex;
	min-width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	margin: 0 0.2rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	color: var(--of-text-body);
}

.page-links .post-page-numbers.current {
	border-color: transparent;
	background: linear-gradient(135deg, var(--of-primary), var(--of-accent-cyan));
	color: #ffffff;
}

/* --- Single post --- */
.of-single-entry {
	max-width: 860px;
	margin-inline: auto;
}

.of-post-hero {
	margin-bottom: 2.5rem;
	text-align: center;
}

.of-post-hero__category {
	display: inline-block;
	margin-bottom: 1.1rem;
	padding: 0.35rem 0.95rem;
	border: 1px solid rgba(2, 132, 199, 0.2);
	border-radius: var(--of-radius-pill);
	background: rgba(2, 132, 199, 0.08);
	color: var(--of-primary);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.of-post-hero__category:hover {
	background: rgba(2, 132, 199, 0.14);
	color: var(--of-primary);
}

.of-post-hero__title {
	margin-bottom: 1.25rem;
	font-size: clamp(1.9rem, 4.5vw, 2.9rem);
}

.of-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	color: var(--of-text-muted);
	font-size: 0.9rem;
}

.of-post-hero__author {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.of-post-hero__author img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.of-post-hero__byline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.25;
}

.of-post-hero__by {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.of-post-hero__byline a {
	color: var(--of-text-heading);
	font-weight: 600;
}

.of-single-entry__thumb {
	margin: 0 0 2.5rem;
}

.of-single-entry__thumb img {
	width: 100%;
	border-radius: var(--of-radius-lg);
	box-shadow: var(--of-shadow-lg);
}

.of-single-entry__footer {
	margin-top: 2.5rem;
}

.of-post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.of-post-tags__label {
	margin-right: 0.25rem;
	color: var(--of-text-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.of-post-tags a {
	padding: 0.3rem 0.85rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-pill);
	background: var(--of-surface-subtle);
	color: var(--of-text-body);
	font-size: 0.82rem;
	transition: border-color var(--of-speed) var(--of-ease), color var(--of-speed) var(--of-ease);
}

.of-post-tags a:hover {
	border-color: var(--of-accent-cyan);
	color: var(--of-primary);
}

/* --- Author box --- */
.of-author-box {
	display: flex;
	gap: 1.25rem;
	margin-top: 3rem;
	padding: 1.75rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	background: var(--of-surface);
	box-shadow: var(--of-shadow-sm);
}

.of-author-box img {
	width: 72px;
	height: 72px;
	flex: 0 0 auto;
	border-radius: 50%;
}

.of-author-box__label {
	margin: 0 0 0.15rem;
	color: var(--of-primary);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.of-author-box__name {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}

.of-author-box__name a {
	color: var(--of-text-heading);
}

.of-author-box__bio {
	margin: 0;
	color: var(--of-text-muted);
	font-size: 0.93rem;
}

/* --- Post navigation --- */
.of-post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 3rem;
}

.of-post-nav .nav-links > div:only-child {
	grid-column: 1 / -1;
}

.of-post-nav a {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1.1rem 1.35rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-md);
	background: var(--of-surface);
	color: var(--of-text-body);
	transition: border-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease), color var(--of-speed) var(--of-ease);
}

.of-post-nav a:hover {
	border-color: var(--of-accent-cyan);
	box-shadow: var(--of-shadow-md);
	color: var(--of-primary);
}

.of-post-nav .nav-next {
	text-align: right;
}

.of-post-nav__label {
	color: var(--of-text-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.of-post-nav__title {
	font-weight: 600;
}

/* --- Archive & search grids --- */
.of-archive__header,
.of-search__header {
	text-align: center;
}

.of-archive__description {
	max-width: 720px;
	margin: 0 auto 2.5rem;
	color: var(--of-text-muted);
}

.of-archive__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.of-post-card__thumb {
	display: block;
	margin: -1.75rem -1.75rem 1.25rem;
	overflow: hidden;
	border-radius: var(--of-radius-lg) var(--of-radius-lg) 0 0;
}

.of-post-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.of-search__count {
	margin-bottom: 2rem;
	color: var(--of-text-muted);
	text-align: center;
}

.of-search__empty {
	text-align: center;
	color: var(--of-text-muted);
}

/* --- Search form --- */
.of-search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 560px;
	margin: 1.5rem auto 0;
}

.of-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.8rem 1.2rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-pill);
	background: var(--of-surface);
	color: var(--of-text-heading);
	font-size: 0.95rem;
	transition: border-color var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-search-form__field:focus {
	border-color: var(--of-accent-cyan);
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
	outline: none;
}

.of-search-form__submit {
	padding: 0.8rem 1.6rem;
	border: 0;
	border-radius: var(--of-radius-pill);
	background-image: linear-gradient(135deg, var(--of-primary), var(--of-accent-cyan));
	color: #ffffff;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--of-shadow-glow);
	transition: transform var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-search-form__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px var(--of-primary-glow);
}

/* --- Comments --- */
.of-comments {
	max-width: 860px;
	margin: 3.5rem auto 0;
}

.of-comments__title {
	font-size: 1.35rem;
}

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

.of-comment-list .comment {
	margin-bottom: 1.25rem;
}

.of-comment-list .comment-body {
	display: flex;
	gap: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-md);
	background: var(--of-surface);
}

.of-comment-list .avatar {
	flex: 0 0 auto;
	border-radius: 50%;
}

.of-comment-list .comment-author {
	color: var(--of-text-heading);
	font-weight: 700;
}

.of-comment-list .comment-author .says {
	display: none;
}

.of-comment-list .comment-meta {
	margin-bottom: 0.5rem;
	color: var(--of-text-muted);
	font-size: 0.8rem;
}

.of-comment-list .comment-meta a {
	color: var(--of-text-muted);
}

.of-comment-list .comment-content p {
	margin: 0 0 0.75rem;
	color: var(--of-text-body);
	font-size: 0.95rem;
}

.of-comment-list .comment-content p:last-child {
	margin-bottom: 0;
}

.of-comment-list .reply a {
	color: var(--of-primary);
	font-size: 0.82rem;
	font-weight: 600;
}

.of-comment-list .children {
	margin: 1rem 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

.of-comments .comment-respond {
	margin-top: 2.5rem;
}

.of-comments__reply-title {
	font-size: 1.25rem;
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--of-text-heading);
	font-size: 0.9rem;
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.7rem 0.95rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	background: var(--of-surface);
	color: var(--of-text-heading);
	font: inherit;
}

.comment-form textarea {
	min-height: 140px;
}

.comment-form .form-submit {
	margin: 0;
}

.comment-form .submit.of-btn {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.of-comments__closed {
	color: var(--of-text-muted);
	font-style: italic;
}

/* --- Pagination --- */
.pagination {
	margin-top: 2rem;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0 0.6rem;
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-sm);
	background: var(--of-surface);
	color: var(--of-text-body);
	font-size: 0.9rem;
	font-weight: 600;
	transition: border-color var(--of-speed) var(--of-ease), color var(--of-speed) var(--of-ease);
}

.pagination .page-numbers.current {
	border-color: transparent;
	background: linear-gradient(135deg, var(--of-primary), var(--of-accent-cyan));
	color: #ffffff;
	box-shadow: var(--of-shadow-glow);
}

.pagination .page-numbers:hover:not(.current) {
	border-color: var(--of-accent-cyan);
	color: var(--of-primary);
}

/* --- 404 --- */
.of-404 {
	max-width: 720px;
	margin-inline: auto;
	padding-block: 4rem;
	text-align: center;
}

.of-404__emblem {
	display: inline-flex;
	margin-bottom: 1.5rem;
}

.of-404__emblem .of-brand__mark {
	width: 56px;
	height: 56px;
}

.of-404__code {
	margin: 0 0 0.5rem;
	background: linear-gradient(92deg, var(--of-primary), var(--of-accent-cyan) 45%, var(--of-accent-emerald));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(4.5rem, 14vw, 8rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.of-404__title {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.of-404__copy {
	max-width: 480px;
	margin: 0 auto 2rem;
	color: var(--of-text-muted);
}

.of-404 .of-search-form {
	margin-bottom: 2rem;
}

.of-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
}

/* --- Phase 4 responsive --- */
@media (max-width: 767px) {
	.of-archive__grid {
		grid-template-columns: 1fr;
	}

	.of-post-nav .nav-links {
		grid-template-columns: 1fr;
	}

	.of-prose .alignwide {
		margin-inline: 0;
		max-width: 100%;
	}
}

/* -------------------------------------------------------------------------
 * 12. SaaS Pro Pages, Quota Calculator & Checkout Additions (v2.0.0)
 * ---------------------------------------------------------------------- */

/* Dropdown navigation menus */
.of-menu .menu-item-has-children {
	position: relative;
}

.of-menu .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.of-menu__caret {
	font-size: 0.75rem;
	opacity: 0.7;
	transition: transform var(--of-speed) var(--of-ease);
}

.of-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	margin: 0.5rem 0 0;
	padding: 0.6rem;
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--of-radius-md);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--of-speed) var(--of-ease), transform var(--of-speed) var(--of-ease), visibility var(--of-speed);
	z-index: 100;
}

.of-menu .menu-item-has-children:hover > .sub-menu,
.of-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.of-menu .sub-menu .menu-item a {
	display: block;
	padding: 0.6rem 0.9rem;
	color: #cbd5e1;
	font-size: 0.9rem;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none;
	transition: background var(--of-speed) var(--of-ease), color var(--of-speed) var(--of-ease);
}

.of-menu .sub-menu .menu-item a:hover,
.of-menu .sub-menu .menu-item a:focus {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
}

/* Footer Trust Badges */
.of-footer__trust-badges {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.of-footer__trust-label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
}

.of-footer__trust-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.of-trust-pill {
	display: inline-block;
	padding: 0.25rem 0.55rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--of-radius-pill);
	font-size: 0.72rem;
	font-weight: 600;
	color: #cbd5e1;
}

/* Quota Calculator Component */
.of-quota-calc {
	max-width: 680px;
	margin: 2rem auto 0;
	padding: 1.25rem 1.75rem;
	background: #0f172a;
	border: 1px solid rgba(16, 185, 129, 0.25);
	border-radius: var(--of-radius-lg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.of-quota-calc__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.of-quota-calc__title {
	font-size: 0.85rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.of-quota-calc__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: #e2e8f0;
}

.of-quota-calc__sep {
	color: #475569;
}

.of-quota-calc__rec strong {
	color: #10b981;
}

.of-quota-calc__track {
	margin: 0.5rem 0;
}

.of-quota-slider {
	width: 100%;
	height: 8px;
	background: #1e293b;
	border-radius: var(--of-radius-pill);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.of-quota-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	background: #10b981;
	border: 3px solid #0f172a;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
	transition: transform var(--of-speed) var(--of-ease);
}

.of-quota-slider::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.of-quota-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	background: #10b981;
	border: 3px solid #0f172a;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.of-quota-calc__ticks {
	display: flex;
	justify-content: space-between;
	margin-top: 0.6rem;
	font-size: 0.72rem;
	color: #64748b;
}

/* Quota Badges & Telemetry Pills - High Contrast Solid Dark */
.of-tier__quotas {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 1.25rem 0;
	padding: 1rem;
	background: #0F172A !important;
	border: 1px solid #1E293B !important;
	border-radius: var(--of-radius-md);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.of-quota-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--of-radius-sm);
	font-size: 0.8125rem;
	color: #F8FAFC !important;
	margin: 0;
	transition: background var(--of-dur-fast) ease;
}

.of-quota-pill:hover {
	background: rgba(255, 255, 255, 0.08);
}

.of-quota-pill__icon {
	color: #10B981;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.of-quota-pill__val {
	color: #10B981 !important;
	font-weight: 700 !important;
	font-size: 0.9rem;
	font-family: var(--of-mono);
}

.of-quota-pill__lbl {
	color: #F8FAFC !important;
	font-weight: 600 !important;
}

.of-quota-pill--traffic .of-quota-pill__val,
.of-quota-pill--traffic .of-quota-pill__icon {
	color: #38BDF8 !important;
}

.of-quota-pill--cname .of-quota-pill__val,
.of-quota-pill--cname .of-quota-pill__icon {
	color: #A78BFA !important;
}

/* 4-Column and 3-Column Pricing Grids */
.of-pricing__grid--4col {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	align-items: stretch;
	margin-top: 2.5rem;
}

.of-pricing__grid--3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: stretch;
	margin-top: 2.5rem;
}

@media (max-width: 1200px) {
	.of-pricing__grid--4col {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.of-pricing__grid--4col,
	.of-pricing__grid--3col {
		grid-template-columns: 1fr;
	}
}

/* Combo Banners */
.of-combo-banners {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

@media (max-width: 860px) {
	.of-combo-banners {
		grid-template-columns: 1fr;
	}
}

.of-combo-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.75rem;
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--of-radius-lg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
}

.of-combo-card--featured {
	border-color: rgba(16, 185, 129, 0.4);
	background: linear-gradient(135deg, #0f172a 0%, #064e3b 140%);
}

.of-combo-card__badge {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	background: rgba(139, 92, 246, 0.2);
	color: #c4b5fd;
	border-radius: var(--of-radius-pill);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

.of-combo-card__badge--glow {
	background: rgba(16, 185, 129, 0.2);
	color: #6ee7b7;
	border: 1px solid rgba(16, 185, 129, 0.4);
}

.of-combo-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	color: #f8fafc;
}

.of-combo-card__desc {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #94a3b8;
}

.of-combo-card__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.of-combo-card__price strong {
	font-size: 1.85rem;
	color: #f8fafc;
	font-weight: 800;
}

.of-combo-card__price span {
	font-size: 0.85rem;
	color: #94a3b8;
}

.of-combo-card__strikethrough {
	font-size: 1.1rem;
	text-decoration: line-through;
	color: #64748b;
	margin-right: 0.35rem;
}

/* Guarantee callout */
.of-pricing__guarantee {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 800px;
	margin: 2.5rem auto 0;
	padding: 1.25rem 1.5rem;
	background: rgba(16, 185, 129, 0.06);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: var(--of-radius-md);
	font-size: 0.9rem;
	color: #334155;
}

.of-pricing__guarantee-icon {
	font-size: 1.75rem;
	flex-shrink: 0;
}

.of-pricing__guarantee strong {
	display: block;
	color: #0f172a;
	margin-bottom: 0.2rem;
}

/* Product Hero & Pipeline Section */
.of-product-page .of-product-hero {
	padding: calc(var(--of-header-height) + 2rem) 0 3.5rem;
	background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.of-version-tag {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #10b981;
	border-radius: var(--of-radius-pill);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.of-version-tag--ai {
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.3);
	color: #a78bfa;
}

.of-product-hero__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.of-product-hero__title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--of-text-heading);
	margin: 0 0 1.25rem;
}

.of-product-hero__lede {
	max-width: 780px;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.6;
	color: var(--of-text-muted);
	margin: 0 0 2rem;
}

.of-product-hero__cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.of-product-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-size: 0.85rem;
	color: var(--of-text-muted);
}

/* Pipeline Architecture Flowchart */
.of-pipeline-card {
	margin-top: 3rem;
	padding: 1.5rem;
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--of-radius-lg);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.of-pipeline-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.of-pipeline-card__title {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
}

.of-pipeline-card__status {
	font-size: 0.8rem;
	color: #10b981;
	font-weight: 600;
}

.of-pipeline-steps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
}

.of-pipeline-step {
	flex: 1;
	min-width: 140px;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 0.9rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--of-radius-md);
}

.of-pipeline-step--edge {
	border-color: rgba(16, 185, 129, 0.4);
	background: rgba(16, 185, 129, 0.08);
}

.of-pipeline-step__num {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1e293b;
	color: #38bdf8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 800;
	flex-shrink: 0;
}

.of-pipeline-step__info strong {
	display: block;
	font-size: 0.8rem;
	color: #f1f5f9;
}

.of-pipeline-step__info span {
	font-size: 0.7rem;
	color: #94a3b8;
}

.of-pipeline-arrow {
	color: #475569;
	font-weight: 800;
	font-size: 1.1rem;
}

/* Feature Grid */
.of-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

@media (max-width: 1024px) {
	.of-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.of-features-grid {
		grid-template-columns: 1fr;
	}
}

.of-feature-box {
	padding: 1.75rem;
	background: var(--of-surface);
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	box-shadow: var(--of-shadow-sm);
	transition: transform var(--of-speed) var(--of-ease), box-shadow var(--of-speed) var(--of-ease);
}

.of-feature-box:hover {
	transform: translateY(-4px);
	box-shadow: var(--of-shadow-md);
}

.of-feature-box__icon {
	width: 44px;
	height: 44px;
	border-radius: var(--of-radius-md);
	background: rgba(16, 185, 129, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.of-feature-box__title {
	font-size: 1.15rem;
	margin: 0 0 0.75rem;
	color: var(--of-text-heading);
}

.of-feature-box__desc {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--of-text-muted);
	margin: 0 0 1.25rem;
}

.of-feature-box__bullets {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.85rem;
	color: var(--of-text-body);
}

.of-feature-box__bullets li {
	margin-bottom: 0.4rem;
}

/* Specs & Requirements Card */
.of-specs-card {
	padding: 2rem;
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--of-radius-lg);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.of-specs-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.of-specs-card__title {
	margin: 0;
	font-size: 1.2rem;
	color: #f8fafc;
}

.of-specs-card__badge {
	padding: 0.25rem 0.6rem;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #10b981;
	border-radius: var(--of-radius-pill);
	font-size: 0.75rem;
	font-weight: 700;
}

.of-specs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

@media (max-width: 860px) {
	.of-specs-grid {
		grid-template-columns: 1fr;
	}
}

.of-spec-item {
	padding: 1rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--of-radius-md);
}

.of-spec-item__label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 0.3rem;
}

.of-spec-item__value {
	display: block;
	font-size: 0.95rem;
	color: #f1f5f9;
}

/* AI Vision Simulator Card */
.of-product-hero--ai .of-product-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2.5rem;
	align-items: center;
}

@media (max-width: 992px) {
	.of-product-hero--ai .of-product-hero__grid {
		grid-template-columns: 1fr;
	}
}

.of-ai-sim__card {
	padding: 1.5rem;
	background: #0f172a;
	border: 1px solid rgba(139, 92, 246, 0.35);
	border-radius: var(--of-radius-lg);
	box-shadow: 0 16px 40px rgba(139, 92, 246, 0.15);
}

.of-ai-sim__header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.of-ai-sim__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #a78bfa;
	box-shadow: 0 0 8px #a78bfa;
}

.of-ai-sim__title {
	font-size: 0.8rem;
	font-weight: 700;
	color: #cbd5e1;
	flex: 1;
}

.of-ai-sim__speed {
	font-size: 0.75rem;
	color: #10b981;
}

.of-ai-sim__media {
	margin-bottom: 1rem;
}

.of-ai-sim__img-placeholder {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.15);
	border-radius: var(--of-radius-md);
	color: #94a3b8;
	font-size: 0.85rem;
}

.of-ai-sim__detected {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.of-ai-pill {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	background: rgba(139, 92, 246, 0.2);
	color: #c4b5fd;
	border-radius: var(--of-radius-pill);
	font-size: 0.7rem;
	font-weight: 600;
}

.of-ai-field {
	margin-bottom: 0.75rem;
}

.of-ai-field__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: #94a3b8;
	margin-bottom: 0.25rem;
}

.of-ai-field__val code {
	display: block;
	padding: 0.5rem 0.75rem;
	background: #1e293b;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	color: #38bdf8;
	font-size: 0.8rem;
	line-height: 1.45;
}

/* Instant Checkout Page Styles */
.of-checkout-page {
	padding: calc(var(--of-header-height) + 2rem) 0 4rem;
}

.of-checkout-wrap {
	max-width: 720px;
	margin: 1.5rem auto 0;
}

.of-checkout-card {
	padding: 2.5rem;
	background: #0f172a;
	border: 1px solid rgba(16, 185, 129, 0.35);
	border-radius: var(--of-radius-lg);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.of-checkout-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1.5rem;
	margin-bottom: 1rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.of-checkout-title {
	margin: 0.5rem 0 0;
	font-size: 1.65rem;
	color: #f8fafc;
	font-weight: 800;
}

.of-checkout-price-amount {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.35);
	border-radius: var(--of-radius-md);
	font-size: 1.4rem;
	font-weight: 800;
	color: #10b981;
}

.of-checkout-desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #94a3b8;
	margin-bottom: 1.75rem;
}

.of-checkout-quotas {
	margin-bottom: 2rem;
	padding: 1.25rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--of-radius-md);
}

.of-checkout-quotas__heading {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #cbd5e1;
}

.of-checkout-quotas__list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.9rem;
	color: #cbd5e1;
}

.of-checkout-quotas__list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.of-checkout-action-box {
	text-align: center;
	margin-bottom: 2rem;
}

.of-checkout-btn {
	width: 100%;
	justify-content: center;
	font-size: 1.1rem;
	padding: 1rem 2rem;
}

.of-checkout-action-note {
	margin: 0.6rem 0 0;
	font-size: 0.78rem;
	color: #64748b;
}

.of-checkout-trust-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
	.of-checkout-trust-grid {
		grid-template-columns: 1fr;
	}
}

.of-checkout-trust-item {
	display: flex;
	gap: 0.75rem;
	font-size: 0.82rem;
	color: #94a3b8;
}

.of-checkout-trust-item strong {
	display: block;
	color: #f1f5f9;
	margin-bottom: 0.15rem;
}

.of-checkout-trust-icon {
	font-size: 1.4rem;
	flex-shrink: 0;
}

/* Changelog Timeline */
.of-changelog-page {
	padding: calc(var(--of-header-height) + 2rem) 0 4rem;
}

.of-changelog-timeline {
	max-width: 860px;
	margin: 2.5rem auto 0;
	position: relative;
	padding-left: 2rem;
}

.of-changelog-timeline::before {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 6px;
	width: 2px;
	background: var(--of-border);
}

.of-changelog-entry {
	position: relative;
	margin-bottom: 3rem;
}

.of-changelog-entry::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -2rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #10b981;
	border: 3px solid #f8fafc;
	box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.of-changelog-entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.of-changelog-entry__version {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--of-text-heading);
}

.of-changelog-entry__date {
	font-size: 0.85rem;
	color: var(--of-text-muted);
}

.of-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: var(--of-radius-pill);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

.of-badge--emerald {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
}

.of-badge--slate {
	background: #e2e8f0;
	color: #475569;
}

.of-changelog-entry__body {
	padding: 1.5rem;
	background: var(--of-surface);
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	box-shadow: var(--of-shadow-sm);
}

.of-changelog-entry__summary {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--of-text-body);
	margin: 0 0 1.25rem;
	font-weight: 500;
}

.of-changelog-item {
	margin-bottom: 0.9rem;
	padding-left: 0.9rem;
	border-left: 2px solid #10b981;
}

.of-changelog-item__title {
	margin: 0 0 0.2rem;
	font-size: 0.92rem;
	color: var(--of-text-heading);
}

.of-changelog-item__desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--of-text-muted);
}

/* Legal Pages */
.of-legal-page {
	padding: calc(var(--of-header-height) + 2rem) 0 4rem;
}

.of-legal-content {
	max-width: 820px;
	margin: 2rem auto 0;
	padding: 2.5rem;
	background: var(--of-surface);
	border: 1px solid var(--of-border);
	border-radius: var(--of-radius-lg);
	box-shadow: var(--of-shadow-sm);
}

.of-legal-content h2 {
	margin: 2rem 0 0.75rem;
	font-size: 1.25rem;
	color: var(--of-text-heading);
}

.of-legal-content h2:first-of-type {
	margin-top: 0;
}

.of-legal-content p,
.of-legal-content li {
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--of-text-body);
}

.of-legal-content ul,
.of-legal-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}

/* Flagship Cards in Bento */
.of-bento--flagship {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-top: 2.5rem;
}

@media (max-width: 860px) {
	.of-bento--flagship {
		grid-template-columns: 1fr;
	}
}

.of-card--flagship {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2.25rem;
}

.of-card__header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.25rem;
}

.of-card__version-pill {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	background: rgba(16, 185, 129, 0.12);
	color: #10b981;
	border-radius: var(--of-radius-pill);
	font-size: 0.72rem;
	font-weight: 700;
}

.of-card__version-pill--ai {
	background: rgba(139, 92, 246, 0.12);
	color: #8b5cf6;
}

.of-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
