/* ==========================================================================
   SlideGen AI theme – main stylesheet
   Fonts: Manrope (SIL Open Font License), bundled locally.
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
		url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
	--sg-navy: #0b1020;
	--sg-navy-2: #121936;
	--sg-navy-3: #1b2447;
	--sg-blue: #2563eb;
	--sg-blue-dark: #1d4ed8;
	--sg-purple: #7c3aed;
	--sg-white: #ffffff;
	--sg-gray: #f8fafc;

	--sg-ink: #0b1020;
	--sg-text: #334155;
	--sg-muted: #475569;
	--sg-line: #e2e8f0;
	--sg-line-strong: #cbd5e1;
	--sg-on-dark: #c7d0e6;
	--sg-on-dark-muted: #9aa7c7;
	--sg-accent-blue: #60a5fa;
	--sg-accent-violet: #a78bfa;
	--sg-danger: #b91c1c;

	--sg-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sg-radius: 18px;
	--sg-radius-sm: 12px;
	--sg-shadow-sm: 0 1px 2px rgba(11, 16, 32, 0.05), 0 2px 8px rgba(11, 16, 32, 0.05);
	--sg-shadow: 0 1px 2px rgba(11, 16, 32, 0.06), 0 12px 32px rgba(11, 16, 32, 0.08);
	--sg-container: 1180px;
	--sg-gutter: clamp(16px, 4vw, 32px);
	--sg-header-h: 72px;
	--sg-focus: #2563eb;
}

/* Dark surfaces use a lighter focus ring so it stays visible. */
.sg-header,
.sg-footer,
.sg-hero,
.sg-page-hero,
.sg-section--dark,
.sg-cta,
.sg-plan--featured,
.sg-goals {
	--sg-focus: #93c5fd;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--sg-font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--sg-text);
	background: var(--sg-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	color: var(--sg-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

h1 {
	font-size: clamp(2.25rem, 1.2rem + 4.4vw, 3.75rem);
	letter-spacing: -0.03em;
	line-height: 1.07;
}

h2 {
	font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.5rem);
}

h3 {
	font-size: 1.2rem;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

a {
	color: var(--sg-blue-dark);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--sg-purple);
}

:focus-visible {
	outline: 3px solid var(--sg-focus);
	outline-offset: 3px;
	border-radius: 6px;
}

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

.screen-reader-text:focus,
.skip-link:focus {
	background: var(--sg-white);
	border-radius: 8px;
	box-shadow: var(--sg-shadow);
	clip: auto;
	clip-path: none;
	color: var(--sg-ink);
	display: block;
	font-weight: 700;
	height: auto;
	left: 12px;
	padding: 12px 18px;
	top: 12px;
	width: auto;
	z-index: 100000;
}

/* WordPress core classes */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { font-size: 0.875rem; color: var(--sg-muted); }
.sticky { position: relative; }
.bypostauthor { display: block; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.sg-container {
	width: 100%;
	max-width: calc(var(--sg-container) + var(--sg-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sg-gutter);
}

.sg-container--narrow {
	max-width: calc(800px + var(--sg-gutter) * 2);
}

.sg-main:focus {
	outline: none;
}

.sg-section {
	padding-block: clamp(56px, 8vw, 104px);
}

.sg-section--tight {
	padding-block: clamp(24px, 4vw, 40px) 0;
}

.sg-section--gray {
	background: var(--sg-gray);
	border-block: 1px solid var(--sg-line);
}

.sg-section--dark {
	background: var(--sg-navy);
	color: var(--sg-on-dark);
}

.sg-section--dark h2,
.sg-section--dark h3 {
	color: var(--sg-white);
}

.sg-anchor {
	scroll-margin-top: calc(var(--sg-header-h) + 16px);
}

.sg-section__head {
	max-width: 760px;
	margin: 0 auto clamp(32px, 5vw, 56px);
	text-align: center;
}

.sg-section__head h2 {
	margin-bottom: 0.45em;
}

.sg-section__head--dark .sg-lead {
	color: var(--sg-on-dark);
}

.sg-eyebrow {
	margin: 0 0 14px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sg-blue-dark);
}

.sg-eyebrow--on-dark {
	color: #93b4ff;
}

.sg-lead {
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.6;
	color: var(--sg-muted);
}

.sg-center { text-align: center; }
.sg-small { font-size: 0.875rem; }
.sg-muted { color: var(--sg-muted); }
.sg-spaced { margin-top: 28px; }

.sg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.sg-actions--center {
	justify-content: center;
	margin-top: clamp(28px, 4vw, 44px);
}

.sg-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}

.sg-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--sg-blue-dark);
	text-decoration: none;
}

.sg-link:hover { text-decoration: underline; color: var(--sg-purple); }
.sg-link .sg-icon { width: 18px; height: 18px; transition: transform 0.15s ease; }
.sg-link:hover .sg-icon { transform: translateX(3px); }

.sg-placeholder {
	display: inline-block;
	padding: 4px 10px;
	border: 1.5px dashed var(--sg-line-strong);
	border-radius: 8px;
	background: var(--sg-gray);
	font-weight: 600;
	color: var(--sg-muted);
}

.sg-hint {
	font-size: 0.875rem;
	color: var(--sg-muted);
}

.sg-hint--admin {
	display: block;
	margin-top: 8px;
}

.sg-icon {
	width: 24px;
	height: 24px;
	flex: none;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--sg-radius-sm);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: translateY(1px); }
.btn .sg-icon { width: 18px; height: 18px; }

.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
	background: var(--sg-blue);
	color: var(--sg-white);
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.btn--primary:hover {
	background: var(--sg-blue-dark);
	color: var(--sg-white);
	box-shadow: 0 8px 22px rgba(37, 99, 235, 0.36);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--sg-white);
	background: transparent;
}
.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--sg-white);
}

.btn--outline {
	border-color: var(--sg-line-strong);
	color: var(--sg-ink);
	background: var(--sg-white);
}
.btn--outline:hover {
	border-color: var(--sg-blue);
	color: var(--sg-blue-dark);
}

.btn--dark {
	background: var(--sg-navy);
	color: var(--sg-white);
}
.btn--dark:hover {
	background: var(--sg-navy-3);
	color: var(--sg-white);
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.sg-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 16, 32, 0.94);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-bar .sg-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .sg-header { top: 46px; }
}

.sg-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--sg-header-h);
}

.sg-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--sg-white);
	text-decoration: none;
	font-weight: 800;
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
}
.sg-brand:hover { color: var(--sg-white); }
.sg-brand .custom-logo-link { display: inline-flex; }
.sg-brand .custom-logo { width: auto; max-height: 40px; }
.sg-logo-mark { flex: none; display: block; }

.sg-nav__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
}

.sg-nav__link {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--sg-on-dark);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}
.sg-nav__link:hover {
	color: var(--sg-white);
	background: rgba(255, 255, 255, 0.07);
}
.sg-nav__link[aria-current="page"] {
	color: var(--sg-white);
}
.sg-nav__link[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	border-radius: 2px;
	background: var(--sg-accent-blue);
}

.sg-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: transparent;
	color: var(--sg-white);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease;
}
.sg-nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }

.sg-nav-toggle__bars {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}
.sg-nav-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.sg-nav-toggle__bars span:nth-child(1) { top: 0; }
.sg-nav-toggle__bars span:nth-child(2) { top: 6px; }
.sg-nav-toggle__bars span:nth-child(3) { top: 12px; }
.sg-header.is-open .sg-nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.sg-header.is-open .sg-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.sg-header.is-open .sg-nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.sg-nav__cta { display: none; }

/* Desktop */
@media (min-width: 961px) {
	.sg-nav { flex: 1; display: flex; justify-content: center; }
	.sg-header__cta { margin-left: 0; }
}

/* Tablet and phone: collapsible panel */
@media (max-width: 960px) {
	.sg-header__cta { display: none; }
	.sg-nav-toggle { display: inline-flex; }

	.sg-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 8px var(--sg-gutter) 24px;
		background: var(--sg-navy);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
		max-height: calc(100vh - var(--sg-header-h));
		overflow-y: auto;
	}

	.sg-js .sg-nav { display: none; }
	.sg-js .sg-header.is-open .sg-nav { display: block; }

	.sg-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.sg-nav__link { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.0625rem; }
	.sg-nav__link:hover { background: transparent; }
	.sg-nav__link[aria-current="page"]::after { display: none; }
	.sg-nav__link[aria-current="page"] { color: var(--sg-accent-blue); }
	.sg-nav__cta { display: flex; width: 100%; margin-top: 20px; }
}

/* --------------------------------------------------------------------------
   6. Hero (Home)
   -------------------------------------------------------------------------- */
.sg-hero,
.sg-page-hero {
	position: relative;
	background:
		radial-gradient(60% 80% at 85% 10%, rgba(124, 58, 237, 0.28), transparent 60%),
		radial-gradient(50% 70% at 5% 100%, rgba(37, 99, 235, 0.3), transparent 60%),
		var(--sg-navy);
	color: var(--sg-on-dark);
	overflow: hidden;
}

.sg-hero__grid {
	display: grid;
	gap: 48px;
	align-items: center;
	padding-block: clamp(48px, 7vw, 96px);
}

.sg-hero__title {
	margin-bottom: 0.45em;
	color: var(--sg-white);
}

.sg-gradient-text {
	background: linear-gradient(100deg, var(--sg-accent-blue), var(--sg-accent-violet));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--sg-accent-blue);
}

.sg-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--sg-on-dark);
}
.sg-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sg-accent-blue);
	box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.25);
}

.sg-hero__lead {
	max-width: 560px;
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	color: var(--sg-on-dark);
}

.sg-hero__points {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 28px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--sg-on-dark);
}
.sg-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.sg-hero__points .sg-icon { width: 18px; height: 18px; color: var(--sg-accent-blue); }

.sg-hero__note {
	max-width: 520px;
	margin: 24px 0 0;
	font-size: 0.875rem;
	color: var(--sg-on-dark-muted);
}

@media (min-width: 961px) {
	.sg-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
}

/* Concept device illustration */
.sg-device { margin: 0; }

.sg-device__stage {
	position: relative;
	width: 100%;
	max-width: 440px;
	height: 540px;
	margin-inline: auto;
}

.sg-device__caption {
	margin-top: 4px;
	text-align: center;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sg-on-dark-muted);
}

.sg-phone {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 244px;
	height: 508px;
	margin-left: -122px;
	padding: 9px;
	border-radius: 40px;
	background: linear-gradient(160deg, #2b366a, #151c3d);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.sg-phone__notch {
	position: absolute;
	top: 16px;
	left: 50%;
	width: 74px;
	height: 20px;
	margin-left: -37px;
	border-radius: 12px;
	background: #070b18;
	z-index: 2;
}

.sg-phone__screen {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 44px 16px 18px;
	border-radius: 32px;
	background: linear-gradient(180deg, #0e1530 0%, #0b1020 100%);
	overflow: hidden;
}

.sg-phone__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--sg-on-dark);
}
.sg-phone__rec {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f87171;
}

.sg-wave {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 76px;
}
.sg-wave span {
	display: block;
	width: 5px;
	height: var(--h);
	border-radius: 3px;
	background: linear-gradient(180deg, var(--sg-accent-blue), var(--sg-accent-violet));
	transform-origin: center;
	animation: sg-wave 1.4s ease-in-out infinite;
	animation-delay: calc(var(--i) * -90ms);
}

@keyframes sg-wave {
	0%, 100% { transform: scaleY(0.45); }
	50% { transform: scaleY(1); }
}

.sg-phone__mic {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 12px auto 16px;
	border-radius: 50%;
	background: var(--sg-blue);
	color: var(--sg-white);
	box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.2), 0 0 0 16px rgba(37, 99, 235, 0.1);
}
.sg-phone__mic .sg-icon { width: 24px; height: 24px; }

.sg-outline {
	margin-top: auto;
	padding: 14px;
	border-radius: 16px;
	background: var(--sg-white);
	color: var(--sg-ink);
}
.sg-outline__kicker {
	margin: 0 0 4px;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sg-blue-dark);
}
.sg-outline__title {
	margin: 0 0 8px;
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
}
.sg-outline ul { list-style: none; }
.sg-outline li {
	position: relative;
	padding-left: 14px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.7;
	color: var(--sg-text);
}
.sg-outline li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sg-blue);
}

.sg-float {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 7px;
	width: 132px;
	padding: 12px;
	border-radius: 14px;
	background: var(--sg-white);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}
.sg-float--a { left: -6px; top: 70px; transform: rotate(-6deg); }
.sg-float--b { right: -6px; bottom: 96px; transform: rotate(5deg); }
.sg-float__bar { display: block; width: 58%; height: 9px; border-radius: 5px; background: var(--sg-ink); }
.sg-float__bar--purple { background: var(--sg-purple); }
.sg-float__line { display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--sg-line-strong); }
.sg-float__line--short { width: 64%; }
.sg-float__block { display: block; width: 36%; height: 20px; border-radius: 6px; background: #dbeafe; }
.sg-float__cols { display: flex; gap: 6px; }
.sg-float__cols i { flex: 1; height: 24px; border-radius: 6px; background: #ede9fe; }
.sg-float__cols i:first-child { background: #dbeafe; }

.sg-chip {
	position: absolute;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(27, 36, 71, 0.92);
	font-size: 0.8125rem;
	font-weight: 800;
	color: var(--sg-white);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.sg-chip--1 { right: 6px; top: 40px; }
.sg-chip--2 { left: 6px; bottom: 150px; }
.sg-chip--3 { right: 14px; bottom: 36px; background: var(--sg-purple); border-color: transparent; }

@media (max-width: 560px) {
	.sg-device__stage { height: 520px; }
	.sg-float { display: none; }
	.sg-chip--1 { right: 0; }
	.sg-chip--2 { left: 0; }
	.sg-chip--3 { right: 0; }
}

/* --------------------------------------------------------------------------
   7. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.sg-page-hero {
	padding-block: clamp(48px, 7vw, 88px);
}
.sg-page-hero--compact {
	padding-block: clamp(36px, 5vw, 64px);
}
.sg-page-hero__title {
	max-width: 880px;
	margin-bottom: 0.4em;
	color: var(--sg-white);
	font-size: clamp(2rem, 1rem + 3.6vw, 3.25rem);
}
.sg-page-hero--compact .sg-page-hero__title {
	font-size: clamp(1.75rem, 1rem + 2.6vw, 2.5rem);
}
.sg-page-hero__lead {
	max-width: 680px;
	margin: 0;
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	color: var(--sg-on-dark);
}

/* --------------------------------------------------------------------------
   8. Cards, icon boxes, lists
   -------------------------------------------------------------------------- */
.sg-card {
	padding: 28px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	box-shadow: var(--sg-shadow-sm);
}
.sg-card h3 { margin-bottom: 0.5em; }
.sg-card p:last-child { margin-bottom: 0; }

.sg-card--feature,
.sg-card--layer {
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sg-card--feature:hover,
.sg-card--layer:hover {
	transform: translateY(-3px);
	box-shadow: var(--sg-shadow);
	border-color: var(--sg-line-strong);
}
.sg-card--feature .sg-link { margin-top: auto; padding-top: 6px; }

.sg-card__label {
	margin: 0 0 6px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sg-purple);
}

.sg-card--row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.sg-icon-box {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: rgba(37, 99, 235, 0.1);
	color: var(--sg-blue-dark);
}
.sg-icon-box--sm { width: 44px; height: 44px; margin-bottom: 0; border-radius: 12px; }
.sg-card--row .sg-icon-box { margin-bottom: 0; }

.sg-checklist {
	list-style: none;
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
}
.sg-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 600;
	color: var(--sg-text);
}
.sg-checklist .sg-icon {
	width: 22px;
	height: 22px;
	margin-top: 1px;
	padding: 3px;
	border-radius: 50%;
	background: rgba(37, 99, 235, 0.12);
	color: var(--sg-blue-dark);
	stroke-width: 2.5;
}
.sg-checklist--large { gap: 18px; }
.sg-checklist--large li { font-size: 1.0625rem; }

.sg-crosslist { list-style: none; display: grid; gap: 12px; }
.sg-crosslist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.sg-crosslist__mark {
	flex: none;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: #fee2e2;
	color: var(--sg-danger);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
}

.sg-split { align-items: stretch; }
.sg-card--solution { border-color: rgba(37, 99, 235, 0.3); background: linear-gradient(180deg, #ffffff, #f5f8ff); }

.sg-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid rgba(37, 99, 235, 0.25);
	border-radius: var(--sg-radius-sm);
	background: #eff6ff;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e3a8a;
}
.sg-note .sg-icon { width: 22px; height: 22px; margin-top: 1px; color: var(--sg-blue-dark); }
.sg-note--small { margin-bottom: 20px; padding: 12px 14px; font-size: 0.875rem; }
.sg-note--spaced { max-width: 800px; margin: 32px auto 0; }

/* --------------------------------------------------------------------------
   9. Home sections
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
	.sg-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.sg-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.sg-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.sg-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
	.sg-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
	.sg-grid--2 { grid-template-columns: 1fr; }
}

/* Steps */
.sg-steps {
	list-style: none;
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
	counter-reset: none;
}
.sg-step {
	position: relative;
	padding: 28px;
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius);
	background: var(--sg-white);
	box-shadow: var(--sg-shadow-sm);
}
.sg-step .sg-icon-box { margin-bottom: 18px; }
.sg-step h3 { margin-bottom: 0.45em; }
.sg-step p { margin: 0; }
.sg-step__num {
	position: absolute;
	top: 22px;
	right: 24px;
	font-size: 2.25rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--sg-line-strong);
}
@media (min-width: 640px) {
	.sg-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
	.sg-steps { grid-template-columns: repeat(4, 1fr); gap: 36px; }
	.sg-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50px;
		right: -28px;
		width: 20px;
		height: 2px;
		background: var(--sg-line-strong);
	}
	.sg-step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: 46px;
		right: -29px;
		width: 8px;
		height: 8px;
		border-top: 2px solid var(--sg-line-strong);
		border-right: 2px solid var(--sg-line-strong);
		transform: rotate(45deg);
	}
}

/* About summary + goals */
.sg-about-summary {
	display: grid;
	gap: 40px;
	align-items: center;
}
@media (min-width: 900px) {
	.sg-about-summary { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.sg-about-summary h2 { margin-bottom: 0.5em; }

.sg-goals {
	padding: 28px;
	border-radius: 24px;
	background:
		radial-gradient(70% 70% at 100% 0%, rgba(124, 58, 237, 0.3), transparent 60%),
		var(--sg-navy);
	color: var(--sg-on-dark);
	box-shadow: var(--sg-shadow);
}
.sg-goals__title {
	margin-bottom: 18px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #93b4ff;
}
.sg-goals__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, 1fr);
	margin: 0;
}
.sg-goal {
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
}
.sg-goal dt {
	margin: 0 0 6px;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: linear-gradient(100deg, var(--sg-accent-blue), var(--sg-accent-violet));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--sg-accent-blue);
}
.sg-goal dd {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--sg-on-dark);
}
.sg-goals__note {
	margin: 16px 0 0;
	font-size: 0.8125rem;
	color: var(--sg-on-dark-muted);
}
@media (max-width: 420px) {
	.sg-goals__grid { grid-template-columns: 1fr; }
}

/* Pricing */
.sg-pricing {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
	max-width: 1080px;
	margin-inline: auto;
}
@media (min-width: 900px) {
	.sg-pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
	.sg-plan--featured { transform: translateY(-10px); }
}

.sg-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px 28px;
	border: 1px solid var(--sg-line);
	border-radius: 22px;
	background: var(--sg-white);
	box-shadow: var(--sg-shadow-sm);
}
.sg-plan__badge {
	position: absolute;
	top: -13px;
	left: 28px;
	padding: 5px 14px;
	border-radius: 999px;
	background: linear-gradient(100deg, var(--sg-blue), var(--sg-purple));
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sg-white);
}
.sg-plan__name {
	margin-bottom: 14px;
	font-size: 1.0625rem;
	color: var(--sg-muted);
}
.sg-plan__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 12px;
}
.sg-plan__amount {
	font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--sg-ink);
}
.sg-plan__period { font-size: 0.9375rem; font-weight: 700; color: var(--sg-muted); }
.sg-plan__goal { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--sg-line); font-size: 0.9375rem; }
.sg-plan__list { list-style: none; display: grid; gap: 12px; margin: 0 0 28px; }
.sg-plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; font-weight: 600; }
.sg-plan__list .sg-icon { width: 20px; height: 20px; margin-top: 2px; color: var(--sg-blue); stroke-width: 2.5; }
.sg-plan .btn { margin-top: auto; }

.sg-plan--featured {
	border-color: transparent;
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(124, 58, 237, 0.32), transparent 60%),
		var(--sg-navy);
	box-shadow: 0 24px 60px rgba(11, 16, 32, 0.28);
	color: var(--sg-on-dark);
}
.sg-plan--featured .sg-plan__name { color: #93b4ff; }
.sg-plan--featured .sg-plan__amount { color: var(--sg-white); }
.sg-plan--featured .sg-plan__period { color: var(--sg-on-dark); }
.sg-plan--featured .sg-plan__goal { border-bottom-color: rgba(255, 255, 255, 0.14); color: var(--sg-on-dark); }
.sg-plan--featured .sg-plan__list li { color: var(--sg-white); }
.sg-plan--featured .sg-plan__list .sg-icon { color: var(--sg-accent-blue); }

/* CTA band */
.sg-cta {
	padding-block: clamp(48px, 7vw, 80px);
	background:
		radial-gradient(50% 120% at 90% 0%, rgba(124, 58, 237, 0.4), transparent 60%),
		radial-gradient(50% 120% at 0% 100%, rgba(37, 99, 235, 0.4), transparent 60%),
		var(--sg-navy);
	color: var(--sg-on-dark);
}
.sg-cta__inner {
	display: grid;
	gap: 8px 40px;
	align-items: center;
}
.sg-cta h2 { margin-bottom: 0.35em; color: var(--sg-white); }
.sg-cta p { margin: 0; max-width: 560px; font-size: 1.0625rem; }
@media (min-width: 900px) {
	.sg-cta__inner { grid-template-columns: 1fr auto; }
	.sg-cta .sg-actions { margin-top: 0; }
}

/* Contact preview */
.sg-contact-preview {
	display: grid;
	gap: 32px;
	align-items: center;
}
@media (min-width: 900px) {
	.sg-contact-preview { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.sg-contact-preview__card { display: flex; flex-direction: column; align-items: flex-start; }
.sg-contact-preview__label {
	margin: 0 0 4px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sg-muted);
}
.sg-contact-preview__value { margin: 0 0 20px; font-size: 1.0625rem; font-weight: 700; color: var(--sg-ink); overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   10. Features page
   -------------------------------------------------------------------------- */
.sg-subnav-wrap {
	border-bottom: 1px solid var(--sg-line);
	background: var(--sg-white);
}
.sg-subnav {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-block: 16px;
}
.sg-subnav a {
	display: inline-block;
	padding: 8px 16px;
	border: 1.5px solid var(--sg-line-strong);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--sg-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.sg-subnav a:hover {
	border-color: var(--sg-blue);
	color: var(--sg-blue-dark);
	background: #eff6ff;
}

.sg-feature-row {
	display: grid;
	gap: 36px;
	align-items: center;
}
@media (min-width: 900px) {
	.sg-feature-row { grid-template-columns: 1fr 1fr; gap: 72px; }
	.sg-feature-row--reverse .sg-feature-row__copy { order: 2; }
}
.sg-feature-row__index {
	margin: 0 0 12px;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--sg-purple);
}
.sg-feature-row__copy h2 { margin-bottom: 0.2em; }
.sg-feature-row__subtitle {
	margin-bottom: 16px;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--sg-blue-dark);
}
.sg-feature-row__benefits-title {
	margin: 24px 0 0;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sg-muted);
}
.sg-feature-row__benefits-title + .sg-checklist { margin-top: 12px; }

.sg-illustration {
	padding: clamp(14px, 3vw, 28px);
	border-radius: 24px;
	background:
		radial-gradient(70% 70% at 100% 0%, rgba(124, 58, 237, 0.28), transparent 60%),
		radial-gradient(60% 60% at 0% 100%, rgba(37, 99, 235, 0.3), transparent 60%),
		var(--sg-navy-2);
	box-shadow: var(--sg-shadow);
}
.sg-illustration__svg { display: block; width: 100%; height: auto; font-family: var(--sg-font); }
.sg-illustration__caption {
	margin: 10px 0 0;
	text-align: center;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sg-muted);
}

/* --------------------------------------------------------------------------
   11. How It Works page
   -------------------------------------------------------------------------- */
.sg-flow {
	list-style: none;
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr;
	margin: 0;
	counter-reset: none;
}
.sg-flow__node {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--sg-radius-sm);
	background: var(--sg-navy-2);
	font-weight: 600;
	color: var(--sg-white);
}
.sg-flow__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--sg-blue);
	font-size: 0.875rem;
	font-weight: 800;
	color: var(--sg-white);
}
.sg-flow__node:not(:last-child)::after {
	content: "↓";
	position: absolute;
	left: 50%;
	bottom: -32px;
	transform: translateX(-50%);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
	color: var(--sg-accent-blue);
}
@media (min-width: 700px) {
	.sg-flow { grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
	.sg-flow__node:not(:last-child)::after { content: "→"; left: auto; right: -34px; bottom: auto; top: 50%; transform: translateY(-50%); }
	.sg-flow__node:nth-child(2n)::after { content: none; }
}
@media (min-width: 1000px) {
	.sg-flow { grid-template-columns: repeat(3, 1fr); }
	.sg-flow__node:nth-child(2n)::after { content: "→"; }
	.sg-flow__node:nth-child(3n)::after { content: none; }
	.sg-flow__node:last-child::after { content: none; }
}

/* --------------------------------------------------------------------------
   12. About page
   -------------------------------------------------------------------------- */
.sg-mission {
	margin: 0;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
	line-height: 1.3;
	letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   13. Contact page
   -------------------------------------------------------------------------- */
.sg-contact {
	display: grid;
	gap: 40px;
	align-items: start;
}
@media (min-width: 960px) {
	.sg-contact { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}
.sg-contact__card {
	display: flex;
	gap: 16px;
	align-items: center;
	margin: 28px 0 8px;
}
.sg-contact__card .sg-icon-box { margin-bottom: 0; }
.sg-contact__card .sg-contact-preview__value { margin: 0; }
.sg-contact__list-title { margin: 28px 0 0; font-size: 1rem; }
.sg-contact__form { padding: clamp(22px, 4vw, 36px); box-shadow: var(--sg-shadow); }
.sg-contact__form-title { margin-bottom: 14px; font-size: 1.5rem; }

.sg-form { display: grid; gap: 18px; }
.sg-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--sg-ink);
}
.sg-req { color: var(--sg-danger); }
.sg-field input,
.sg-field select,
.sg-field textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--sg-line-strong);
	border-radius: var(--sg-radius-sm);
	background: var(--sg-white);
	font: inherit;
	font-size: 1rem;
	color: var(--sg-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sg-field textarea { resize: vertical; min-height: 130px; }
.sg-field input:hover,
.sg-field select:hover,
.sg-field textarea:hover { border-color: #94a3b8; }
.sg-field input:focus-visible,
.sg-field select:focus-visible,
.sg-field textarea:focus-visible {
	outline: none;
	border-color: var(--sg-blue);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
.sg-field [aria-invalid="true"] { border-color: var(--sg-danger); }
.sg-field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.15); }
.sg-field__error { margin: 6px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--sg-danger); }

.sg-form__status {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(37, 99, 235, 0.25);
	border-radius: var(--sg-radius-sm);
	background: #eff6ff;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e3a8a;
}
.sg-form__status.is-error {
	border-color: rgba(185, 28, 28, 0.3);
	background: #fef2f2;
	color: var(--sg-danger);
}
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.sg-footer {
	padding-top: clamp(48px, 6vw, 72px);
	background: var(--sg-navy);
	color: var(--sg-on-dark-muted);
}
.sg-footer__grid {
	display: grid;
	gap: 36px;
	grid-template-columns: 1fr 1fr;
	padding-bottom: 40px;
}
.sg-footer__brand { grid-column: 1 / -1; }
@media (min-width: 760px) {
	.sg-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 56px; }
	.sg-footer__brand { grid-column: auto; }
}
.sg-footer__tagline { margin: 18px 0 8px; font-weight: 800; color: var(--sg-white); }
.sg-footer__about { max-width: 420px; margin: 0; font-size: 0.9375rem; }
.sg-footer__heading {
	margin-bottom: 14px;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sg-white);
}
.sg-footer__list { list-style: none; display: grid; gap: 10px; }
.sg-footer__list a {
	color: var(--sg-on-dark-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}
.sg-footer__list a:hover { color: var(--sg-white); text-decoration: underline; }
.sg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.8125rem;
}
.sg-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   15. Generic content (page.php / index.php)
   -------------------------------------------------------------------------- */
.sg-entry { margin-bottom: 48px; }
.sg-entry__title { font-size: 1.5rem; }
.sg-entry__title a { color: var(--sg-ink); text-decoration: none; }
.sg-entry__title a:hover { color: var(--sg-blue-dark); }
.sg-entry__meta { font-size: 0.875rem; color: var(--sg-muted); }
.sg-entry__thumb { margin-bottom: 28px; border-radius: var(--sg-radius); overflow: hidden; }

.sg-prose { font-size: 1.0625rem; line-height: 1.75; }
.sg-prose h2 { margin-top: 1.6em; font-size: 1.75rem; }
.sg-prose h3 { margin-top: 1.4em; }
.sg-prose ul,
.sg-prose ol { margin: 0 0 1em 1.4em; }
.sg-prose li { margin-bottom: 0.4em; }
.sg-prose blockquote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--sg-blue); color: var(--sg-muted); }
.sg-prose img { border-radius: var(--sg-radius-sm); }
.sg-prose table { width: 100%; border-collapse: collapse; }
.sg-prose th,
.sg-prose td { padding: 10px 12px; border: 1px solid var(--sg-line); text-align: left; }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--sg-line-strong);
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--sg-navy); border-color: var(--sg-navy); color: var(--sg-white); }

/* --------------------------------------------------------------------------
   16. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.sg-wave span { transform: none; }
}

@media print {
	.sg-header,
	.sg-nav-toggle,
	.sg-cta,
	.sg-footer { display: none !important; }
	.sg-hero,
	.sg-page-hero { background: none; color: #000; }
	.sg-hero__title,
	.sg-page-hero__title { color: #000; }
}
