/* =========================================================================
   Saving Grace AI — landing page sections
   Ported from artifacts/saving-grace/src/pages/Home.tsx (React + Tailwind 4).

   Every value here is lifted from the source, not estimated. Tailwind
   arbitrary values like py-[56px] and rounded-[20px] become real declarations
   so the page renders identically without shipping Tailwind.
   ====================================================================== */

:root {
	/* Radii from the Replit theme block. */
	--sgr-r-sm: 14px;
	--sgr-r-md: 20px;
	--sgr-r-lg: 28px;
	--sgr-r-xl: 36px;
	--sgr-max: 1200px;
}

/* Section rhythm: py-[56px] md:py-[82px] */
.sgr-sec { padding: 56px 0; }
@media (min-width: 768px) { .sgr-sec { padding: 82px 0; } }

.sgr-sec--warm   { background: var(--sg-grey-warm); border-top: 1px solid rgba(38,53,140,.05); }
.sgr-sec--white  { background: #fff; }
.sgr-sec--hair   { border-top: 1px solid rgba(38,53,140,.05); }
.sgr-sec--navy   { background: var(--sg-navy); color: #fff; position: relative; overflow: hidden; padding: 60px 0; }
@media (min-width: 768px) { .sgr-sec--navy { padding: 80px 0; } }
.sgr-sec--cyan   { background: var(--sg-cyan-soft); }
.sgr-sec--tight  { padding-bottom: 0; }
@media (min-width: 768px) { .sgr-sec--tight { padding-bottom: 0; } }

.sgr-wrap { max-width: var(--sgr-max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .sgr-wrap { padding-inline: 32px; } }

/* ---------------------------------------------------------- typography -- */

.sgr-h2 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: clamp(28px, 3.5vw, 44px);
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--sg-navy);
	text-wrap: balance;
	margin: 0;
}
.sgr-h2 .accent { color: var(--sg-red); }
.sgr-h2 .nowrap { white-space: nowrap; }

.sgr-lede {
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--sg-ink-mid);
	margin: 14px 0 0;
}

.sgr-head { max-width: 680px; margin-bottom: 44px; }

/* ------------------------------------------------------------- buttons -- */

.sgr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 15px;
	padding: 14px 26px;
	border-radius: 9999px;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.sgr-btn:hover { transform: translateY(-2px); text-decoration: none; }

.sgr-btn--red   { background: var(--sg-red); color: #fff; box-shadow: 0 10px 26px rgba(227,26,81,.28); }
.sgr-btn--red:hover { color: #fff; }

.sgr-btn--navy  {
	background: var(--sg-navy); color: #fff;
	font-size: 16px; letter-spacing: -.01em; padding: 16px 30px;
	box-shadow: 0 10px 28px rgba(38,53,140,.28);
}
.sgr-btn--navy:hover { box-shadow: 0 14px 32px rgba(38,53,140,.36); color: #fff; }

.sgr-btn--ghost {
	background: transparent; color: var(--sg-navy);
	border: 1.6px solid rgba(38,53,140,.2);
}
.sgr-btn--onDark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.sgr-btn--onDark:hover { background: rgba(255,255,255,.1); color: #fff; }

/* --------------------------------------------------------- utility bar -- */

.sgr-util { display: none; background: var(--sg-navy-deep); color: rgba(255,255,255,.8); font-size: 13px; }
@media (min-width: 768px) { .sgr-util { display: block; } }
.sgr-util__in {
	max-width: var(--sgr-max); margin-inline: auto; padding-inline: 32px;
	height: 42px; display: flex; align-items: center; justify-content: space-between;
}
.sgr-util__left  { display: flex; gap: 22px; align-items: center; }
.sgr-util__right { display: flex; gap: 20px; align-items: center; }
.sgr-util a { color: rgba(255,255,255,.7); text-decoration: none; font-weight: 500; transition: color .18s ease; }
.sgr-util a:hover { color: #fff; text-decoration: none; }
.sgr-util__contact { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.8) !important; }
.sgr-util__contact svg { width: 14px; height: 14px; color: var(--sg-cyan); }
.sgr-util__login { color: var(--sg-cyan) !important; font-weight: 600; }

/* -------------------------------------------------------------- ticker -- */

.sgr-ticker {
	background: var(--sg-navy-soft);
	overflow: hidden;
	padding: 14px 0;
	position: relative;
	border-block: 1px solid rgba(38,53,140,.1);
}
.sgr-ticker::before,
.sgr-ticker::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 10; pointer-events: none;
}
.sgr-ticker::before { left: 0;  background: linear-gradient(90deg, var(--sg-navy-soft), transparent); }
.sgr-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--sg-navy-soft), transparent); }

.sgr-ticker__track {
	display: flex; width: max-content;
	animation: sgr-marq 42s linear infinite;
}
.sgr-ticker:hover .sgr-ticker__track { animation-play-state: paused; }

.sgr-ticker__set { display: flex; align-items: center; gap: 38px; padding-right: 38px; }
.sgr-ticker__set span {
	font-family: var(--sg-font-mono);
	font-weight: 700; font-size: 13px;
	letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
	color: var(--sg-navy);
}
.sgr-ticker__set .c { color: var(--sg-cyan-deep); }
.sgr-ticker__set .y { color: var(--sg-yellow-ink); }
.sgr-ticker__set .r { color: var(--sg-red); }
.sgr-ticker__dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--sg-navy); opacity: .4; flex-shrink: 0;
}

@keyframes sgr-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.sgr-ticker__track { animation: none; }
}

/* ---------------------------------------------------------------- hero -- */

.sgr-hero { position: relative; overflow: hidden; isolation: isolate; background: #fff; }
.sgr-hero__in {
	max-width: var(--sgr-max); margin-inline: auto; padding: 32px 20px 0;
	display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 768px) {
	.sgr-hero__in {
		min-height: 600px; flex-direction: row; align-items: center;
		gap: 40px; padding: 60px 32px 76px;
	}
}
.sgr-hero__copy { width: 100%; padding-bottom: 24px; }
@media (min-width: 768px) { .sgr-hero__copy { max-width: 600px; flex-shrink: 0; padding-bottom: 0; } }

.sgr-hero__kicker {
	font-family: var(--sg-font-head);
	font-weight: 800;
	font-size: clamp(30px, 3.8vw, 50px);
	line-height: 1; letter-spacing: .02em; text-transform: uppercase;
	margin: 0 0 14px;
}
.sgr-hero__kicker .n { color: var(--sg-navy); }
.sgr-hero__kicker .a { color: var(--sg-red); }

.sgr-hero h1 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: clamp(28px, 3.6vw, 46px);
	line-height: 1.08; letter-spacing: -.025em;
	color: var(--sg-navy); text-wrap: balance;
	margin: 0 0 24px;
}
.sgr-hero h1 .accent { color: var(--sg-red); }

.sgr-hero__lede {
	font-size: 18px; line-height: 1.6;
	color: var(--sg-ink-mid); max-width: 31em; margin: 0 0 30px;
}
.sgr-hero__lede .hl-c { font-weight: 600; color: var(--sg-cyan-deep); }
.sgr-hero__lede .hl-r { font-weight: 600; color: var(--sg-red); }
.sgr-hero__lede .hl-y { font-weight: 600; color: #D99F00; }

.sgr-hero__media { width: 100%; display: flex; align-items: center; justify-content: center; padding-bottom: 32px; }
@media (min-width: 768px) { .sgr-hero__media { flex: 1; padding-bottom: 0; } }
.sgr-hero__media img { width: 100%; max-width: 460px; height: auto; object-fit: contain; }
@media (min-width: 768px) { .sgr-hero__media img { max-width: 640px; } }

/* --------------------------------------------------------------- cards -- */

.sgr-grid2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .sgr-grid2 { grid-template-columns: repeat(2, 1fr); } }

.sgr-grid3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .sgr-grid3 { grid-template-columns: repeat(3, 1fr); } }

.sgr-grid4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px)  { .sgr-grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sgr-grid4 { grid-template-columns: repeat(4, 1fr); } }

/* Sorter row-card: icon + copy + chevron */
.sgr-card {
	display: flex; align-items: center; gap: 16px;
	background: #fff;
	border: 1px solid rgba(38,53,140,.1);
	border-radius: var(--sgr-r-md);
	padding: 22px;
	box-shadow: var(--sg-shadow-sm);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sgr-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--sg-shadow-md);
	border-color: transparent;
	text-decoration: none;
}
.sgr-card__icon {
	width: 50px; height: 50px; border-radius: var(--sgr-r-sm);
	flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.sgr-card__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sgr-card__icon--red  { background: var(--sg-red-soft);    color: var(--sg-red); }
.sgr-card__icon--navy { background: var(--sg-navy-soft);   color: var(--sg-navy); }
.sgr-card__icon--yel  { background: var(--sg-yellow-soft); color: var(--sg-yellow-ink); }
.sgr-card__icon--cyan { background: var(--sg-cyan-soft);   color: var(--sg-cyan-deep); }

.sgr-card__body { flex: 1; min-width: 0; }
.sgr-card__title {
	display: block;
	font-family: var(--sg-font-head); font-weight: 600;
	font-size: 17px; letter-spacing: -.015em; line-height: 1.2;
	color: var(--sg-ink); margin-bottom: 5px;
}
.sgr-card__text { display: block; font-size: 13.5px; line-height: 1.45; color: var(--sg-ink-mid); }
.sgr-card__chev { flex-shrink: 0; color: var(--sg-ink-light); font-size: 22px; transition: color .18s ease; }
.sgr-card:hover .sgr-card__chev--red  { color: var(--sg-red); }
.sgr-card:hover .sgr-card__chev--navy { color: var(--sg-navy); }
.sgr-card:hover .sgr-card__chev--yel  { color: var(--sg-yellow-ink); }
.sgr-card:hover .sgr-card__chev--cyan { color: var(--sg-cyan-deep); }

/* Stacked feature card (Spectrum / How it works) */
.sgr-tile {
	background: #fff;
	border: 1px solid rgba(38,53,140,.1);
	border-radius: var(--sgr-r-md);
	padding: 24px;
	box-shadow: var(--sg-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.sgr-tile:hover { transform: translateY(-3px); box-shadow: var(--sg-shadow-md); }
.sgr-tile h3 {
	font-family: var(--sg-font-head); font-weight: 600;
	font-size: 17px; letter-spacing: -.015em; line-height: 1.2;
	color: var(--sg-ink); margin: 14px 0 6px;
}
.sgr-tile p { font-size: 13.5px; line-height: 1.5; color: var(--sg-ink-mid); margin: 0; }

.sgr-step__num {
	width: 34px; height: 34px; border-radius: 9999px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--sg-navy-soft); color: var(--sg-navy);
	font-family: var(--sg-font-head); font-weight: 700; font-size: 15px;
}

/* Spectrum gradient bar */
.sgr-spectrum { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.sgr-spectrum span { font-weight: 600; font-size: 12.5px; color: var(--sg-ink-light); white-space: nowrap; }
.sgr-spectrum__bar {
	flex: 1; height: 8px; border-radius: 8px;
	background: linear-gradient(to right, var(--sg-navy), var(--sg-cyan) 48%, var(--sg-red));
}

/* ------------------------------------------------------------ proof bar -- */

.sgr-proof { display: grid; grid-template-columns: 1fr; gap: 28px; text-align: center; }
@media (min-width: 768px) { .sgr-proof { grid-template-columns: repeat(3, 1fr); } }
.sgr-proof__n {
	font-family: var(--sg-font-head); font-weight: 700;
	font-size: clamp(34px, 4.4vw, 52px); line-height: 1;
	letter-spacing: -.03em; color: #fff; margin: 0 0 8px;
}
.sgr-proof__l { font-size: 14.5px; color: rgba(255,255,255,.72); margin: 0; }

/* ---------------------------------------------------------- testimonial -- */

.sgr-quote {
	background: #fff; border: 1px solid rgba(38,53,140,.1);
	border-radius: var(--sgr-r-md); padding: 26px;
	box-shadow: var(--sg-shadow-sm);
}
.sgr-quote p {
	font-family: var(--sg-font-serif);
	font-style: italic; font-size: 16px; line-height: 1.55;
	color: var(--sg-ink); margin: 0 0 16px;
}
.sgr-quote cite { font-style: normal; font-size: 13px; color: var(--sg-ink-light); }

/* -------------------------------------------------------------- pricing -- */

.sgr-plan {
	background: #fff; border: 1px solid rgba(38,53,140,.1);
	border-radius: var(--sgr-r-lg); padding: 28px;
	box-shadow: var(--sg-shadow-sm);
	display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sgr-plan:hover { transform: translateY(-3px); box-shadow: var(--sg-shadow-md); }
.sgr-plan--featured { border-color: var(--sg-navy); box-shadow: var(--sg-shadow-md); }
.sgr-plan__tag {
	font-family: var(--sg-font-mono); font-weight: 700; font-size: 11px;
	letter-spacing: .16em; text-transform: uppercase; color: var(--sg-cyan-deep);
	margin: 0 0 10px;
}
.sgr-plan h3 {
	font-family: var(--sg-font-head); font-weight: 600; font-size: 19px;
	letter-spacing: -.015em; color: var(--sg-ink); margin: 0 0 6px;
}
.sgr-plan__price {
	font-family: var(--sg-font-head); font-weight: 700;
	font-size: 34px; letter-spacing: -.03em; color: var(--sg-navy); margin: 0 0 4px;
}
.sgr-plan__price small { font-size: 14px; font-weight: 500; color: var(--sg-ink-light); letter-spacing: 0; }
.sgr-plan__desc { font-size: 14px; line-height: 1.5; color: var(--sg-ink-mid); margin: 0 0 20px; }
.sgr-plan .sgr-btn { margin-top: auto; width: 100%; }

/* --------------------------------------------------------------- footer -- */

.sgr-cta {
	position: relative; overflow: hidden;
	background: var(--sg-navy-deep); color: rgba(255,255,255,.6);
}
.sgr-cta__top { padding-block: 60px 44px; text-align: center; }
.sgr-cta__top h2 {
	font-family: var(--sg-font-head); font-weight: 600;
	font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -.025em;
	color: #fff; margin: 0 0 12px; text-wrap: balance;
}
.sgr-cta__top p { color: rgba(255,255,255,.72); font-size: 16.5px; margin: 0 0 26px; }
.sgr-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------- scroll reveals -- */
/* Replaces 49 Framer Motion whileInView reveals with ~1KB of CSS + IO. */

.sgr-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
	will-change: opacity, transform;
}
.sgr-reveal.is-in { opacity: 1; transform: none; }
.sgr-reveal[data-d="1"] { transition-delay: .1s; }
.sgr-reveal[data-d="2"] { transition-delay: .2s; }
.sgr-reveal[data-d="3"] { transition-delay: .3s; }

/* No JS, or reduced motion: show everything immediately. */
.no-js .sgr-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.sgr-reveal { opacity: 1; transform: none; transition: none; }
}


/* Sectioned pages (front page and any page built from the section patterns)
   render full bleed: the bands supply their own padding and wrapper. */
.sg-page > .sg-content { padding-bottom: 0; }
.sgai-front .sg-pagehead { display: none; }


/* ===== page chrome ===== */
/* =========================================================================
   Inner pages — the same design language as the landing page, applied to
   every template: page hero band, long-form prose, FAQ, post cards,
   pagination, comments, 404. Tokens and rhythm are identical to the
   sections above, so a content page and the homepage feel like one site.
   ====================================================================== */

/* ------------------------------------------------------- page hero band -- */

.sgr-pagehero {
	position: relative;
	background: #fff;
	border-bottom: 1px solid rgba(38,53,140,.06);
	padding: 30px 0 38px;
	overflow: hidden;
	isolation: isolate;
}
@media (min-width: 768px) { .sgr-pagehero { padding: 46px 0 58px; } }

.sgr-pagehero--warm { background: var(--sg-grey-warm); }
.sgr-pagehero--navy {
	background: var(--sg-navy);
	border-bottom: 0;
	color: #fff;
}

/* A soft brand wash, the flat equivalent of the hero's gradient bloom. */
.sgr-pagehero::after {
	content: "";
	position: absolute;
	top: -160px; right: -140px;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(38,187,193,.12), transparent 68%);
	pointer-events: none;
	z-index: -1;
}
.sgr-pagehero--navy::after { background: radial-gradient(circle, rgba(38,187,193,.28), transparent 68%); }

.sgr-pagehero__in { max-width: var(--sgr-max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .sgr-pagehero__in { padding-inline: 32px; } }

.sgr-eyebrow {
	font-family: var(--sg-font-mono, "IBM Plex Mono", monospace);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--sg-navy);
	margin: 0 0 12px;
}
.sgr-pagehero--navy .sgr-eyebrow { color: var(--sg-cyan); }

.sgr-pagehero h1 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: clamp(28px, 3.6vw, 46px);
	line-height: 1.08;
	letter-spacing: -.025em;
	color: var(--sg-navy);
	margin: 0 0 16px;
	text-wrap: balance;
	max-width: 20ch;
}
@media (min-width: 768px) { .sgr-pagehero h1 { max-width: 24ch; } }
.sgr-pagehero--navy h1 { color: #fff; }
.sgr-pagehero h1 .accent { color: var(--sg-red); }
.sgr-pagehero--navy h1 .accent { color: var(--sg-yellow); }

.sgr-pagehero__lede {
	font-size: 17.5px;
	line-height: 1.6;
	color: var(--sg-ink-mid);
	max-width: 34em;
	margin: 0;
}
.sgr-pagehero--navy .sgr-pagehero__lede { color: rgba(255,255,255,.78); }

.sgr-pagehero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Breadcrumbs, restyled to the brand rather than the default theme trail. */
.sgr-crumbs {
	font-size: 13px;
	color: var(--sg-ink-light);
	margin: 0 0 14px;
}
.sgr-crumbs a { color: var(--sg-ink-mid); text-decoration: none; }
.sgr-crumbs a:hover { color: var(--sg-red); text-decoration: underline; }
.sgr-crumbs [aria-current] { color: var(--sg-ink-light); }
.sgr-pagehero--navy .sgr-crumbs,
.sgr-pagehero--navy .sgr-crumbs a { color: rgba(255,255,255,.62); }
.sgr-pagehero--navy .sgr-crumbs a:hover { color: #fff; }

/* --------------------------------------------------------------- prose -- */
/* Long-form content — the SEO pages, About, and blog posts all flow through
   here, so body copy matches the landing page instead of falling back to
   browser defaults. */

.sgr-prose {
	max-width: 760px;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--sg-ink-mid);
}
.sgr-prose--wide { max-width: var(--sgr-max); }

/* A component inside prose that needs the full content rail — a card grid, a
   wide comparison table, a FAQ stack. Prose is left-aligned inside the 1200px
   wrap, so widening the child fills the rail exactly. */
.sgr-prose > .sgr-full { width: 100%; max-width: none; }
@media (min-width: 1180px) {
	.sgr-prose > .sgr-full { width: 1136px; max-width: calc(100vw - 64px); }
}
.sgr-prose > .sgr-full { margin-top: 1.8em; margin-bottom: 1.8em; }

.sgr-prose > * + * { margin-top: 1.15em; }

.sgr-prose h2 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: clamp(23px, 2.5vw, 31px);
	line-height: 1.18;
	letter-spacing: -.022em;
	color: var(--sg-navy);
	margin-top: 2em;
	margin-bottom: .55em;
	text-wrap: balance;
}
.sgr-prose h2 .accent { color: var(--sg-red); }

.sgr-prose h3 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.3;
	letter-spacing: -.015em;
	color: var(--sg-ink);
	margin-top: 1.7em;
	margin-bottom: .45em;
}
.sgr-prose h4 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 16.5px;
	color: var(--sg-ink);
	margin-top: 1.5em;
	margin-bottom: .4em;
}

.sgr-prose p { margin: 0; }
.sgr-prose strong { color: var(--sg-ink); font-weight: 600; }
.sgr-prose a { color: var(--sg-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sgr-prose a:hover { color: var(--sg-red); }

/* Buttons and card links inside prose are components, not body links. */
.sgr-prose .sgr-btn,
.sgr-prose .sgr-card,
.sgr-prose .sgr-post__title a,
.sgr-prose .wp-block-button__link { text-decoration: none; }
.sgr-prose .sgr-btn--red,
.sgr-prose .sgr-btn--navy { color: #fff; }
.sgr-prose .sgr-btn--ghost { color: var(--sg-navy); }

.sgr-prose ul,
.sgr-prose ol { margin: 0; padding-left: 1.25em; }
.sgr-prose li { margin-bottom: .5em; }
.sgr-prose li::marker { color: var(--sg-cyan-deep); }
.sgr-prose ol li::marker { color: var(--sg-navy); font-weight: 600; }

.sgr-prose blockquote {
	margin: 1.6em 0;
	padding: 20px 24px;
	background: var(--sg-cyan-soft);
	border-radius: var(--sgr-r-md);
	border: 0;
	font-size: 17px;
	color: var(--sg-ink);
}
.sgr-prose blockquote p { margin: 0; }

.sgr-prose figure { margin: 1.8em 0; }
.sgr-prose img { max-width: 100%; height: auto; border-radius: var(--sgr-r-md); display: block; }
.sgr-prose figcaption { font-size: 13.5px; color: var(--sg-ink-light); margin-top: 10px; }

.sgr-prose hr {
	border: 0;
	height: 1px;
	background: var(--sg-hairline);
	margin: 2.4em 0;
}

/* Tables — used by the pricing and comparison pages. */
.sgr-prose table,
.sgr-prose .wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 14.5px;
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-md);
	overflow: hidden;
}
.sgr-prose th,
.sgr-prose td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--sg-hairline);
}
.sgr-prose thead th {
	background: var(--sg-navy-soft);
	font-family: var(--sg-font-head);
	font-weight: 600;
	color: var(--sg-navy);
	font-size: 13.5px;
}
.sgr-prose tbody tr:last-child td { border-bottom: 0; }
.sgr-prose .wp-block-table { overflow-x: auto; }

/* ----------------------------------------------------------------- FAQ -- */

.sgr-faq { display: grid; gap: 12px; }

.sgr-faq details {
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-md);
	box-shadow: var(--sg-shadow-sm);
	padding: 0;
	overflow: hidden;
	transition: box-shadow .18s ease, border-color .18s ease;
}
.sgr-faq details[open] { border-color: rgba(38,53,140,.18); box-shadow: var(--sg-shadow-md); }

.sgr-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 52px 18px 22px;
	position: relative;
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.35;
	letter-spacing: -.012em;
	color: var(--sg-navy);
}
.sgr-faq summary::-webkit-details-marker { display: none; }
.sgr-faq summary::after {
	content: "";
	position: absolute;
	right: 22px; top: 50%;
	width: 9px; height: 9px;
	margin-top: -6px;
	border-right: 2px solid var(--sg-ink-light);
	border-bottom: 2px solid var(--sg-ink-light);
	transform: rotate(45deg);
	transition: transform .2s ease, border-color .2s ease;
}
.sgr-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--sg-red); }
.sgr-faq summary:focus-visible { outline: 2px solid var(--sg-navy); outline-offset: -2px; }

.sgr-faq details > *:not(summary) {
	padding: 0 22px 20px;
	font-size: 15.5px;
	line-height: 1.62;
	color: var(--sg-ink-mid);
	margin: 0;
}

/* ---------------------------------------------------------- post cards -- */

.sgr-posts { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .sgr-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sgr-posts { grid-template-columns: repeat(3, 1fr); } }

.sgr-post {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-lg);
	box-shadow: var(--sg-shadow-sm);
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease;
}
.sgr-post:hover { transform: translateY(-3px); box-shadow: var(--sg-shadow-md); }

.sgr-post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sg-navy-soft); }
.sgr-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sgr-post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sgr-post__body .sgr-eyebrow { font-size: 11.5px; margin-bottom: 10px; }

.sgr-post__title {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.28;
	letter-spacing: -.018em;
	margin: 0 0 10px;
}
.sgr-post__title a { color: var(--sg-navy); text-decoration: none; }
.sgr-post__title a:hover { color: var(--sg-red); }

.sgr-post__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--sg-ink-mid); margin: 0 0 16px; }
.sgr-post__meta { margin: auto 0 0; font-size: 12.5px; color: var(--sg-ink-light); }

/* ---------------------------------------------------------- pagination -- */

.sgr-pager { margin-top: 44px; }
.sgr-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.sgr-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border-radius: 9999px;
	border: 1px solid var(--sg-hairline);
	background: #fff;
	color: var(--sg-ink-mid);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all .18s ease;
}
.sgr-pager .page-numbers:hover { border-color: var(--sg-navy); color: var(--sg-navy); }
.sgr-pager .page-numbers.current { background: var(--sg-navy); border-color: var(--sg-navy); color: #fff; }
.sgr-pager .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------- post footer -- */

.sgr-postnav {
	display: grid;
	gap: 12px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--sg-hairline);
}
@media (min-width: 640px) { .sgr-postnav { grid-template-columns: 1fr 1fr; } }
.sgr-postnav a {
	display: block;
	padding: 16px 20px;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-md);
	background: #fff;
	color: var(--sg-navy);
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .18s ease, transform .18s ease;
}
.sgr-postnav a:hover { border-color: var(--sg-navy); transform: translateY(-2px); }
.sgr-postnav__next { text-align: right; }

/* ------------------------------------------------------------ 404 / nav -- */

.sgr-linkgrid { display: grid; grid-template-columns: 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .sgr-linkgrid { grid-template-columns: repeat(2, 1fr); } }
.sgr-linkgrid li { margin: 0; }
.sgr-linkgrid a {
	display: block;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-md);
	box-shadow: var(--sg-shadow-sm);
	color: var(--sg-navy);
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}
.sgr-linkgrid a:hover { transform: translateY(-2px); box-shadow: var(--sg-shadow-md); color: var(--sg-red); }

/* --------------------------------------------------------------- forms -- */

.sgr-search { display: flex; gap: 10px; max-width: 520px; }
.sgr-search input[type="search"] {
	flex: 1;
	padding: 13px 18px;
	border: 1px solid var(--sg-hairline);
	border-radius: 9999px;
	font: inherit;
	font-size: 15px;
	color: var(--sg-ink);
	background: #fff;
}
.sgr-search input[type="search"]:focus { outline: 2px solid var(--sg-navy); outline-offset: 1px; border-color: var(--sg-navy); }
.sgr-search { flex-wrap: wrap; }
.sgr-search input[type="search"] { min-width: 220px; }
@media (max-width: 520px) { .sgr-search .sgr-btn { width: 100%; } }

/* ------------------------------------------------------------- helpers -- */

.sgr-stack { display: grid; gap: 16px; }
.sgr-center { text-align: center; }
.sgr-center .sgr-head { margin-inline: auto; }
.sgr-narrow { max-width: 760px; }


/* -------------------------------------------------------------- header -- */
/* Matches the source header: 66px on a phone, 78px from tablet up, 1200px
   content rail with 20/32px gutters, pill navigation, ghost + red buttons. */

.sgr-header { background: #fff; border-bottom: 1px solid rgba(38,53,140,.10); }

.sgr-header__in {
	max-width: var(--sgr-max);
	margin-inline: auto;
	padding-inline: 20px;
	min-height: 66px;
	gap: 12px;
}
@media (min-width: 768px) { .sgr-header__in { padding-inline: 32px; min-height: 78px; } }

.sgr-header .sg-brand img,
.sgr-header .sg-brand .custom-logo { max-height: 38px; }
@media (min-width: 768px) {
	.sgr-header .sg-brand img,
	.sgr-header .sg-brand .custom-logo { max-height: 46px; }
}

/* Utility-bar menu, when one is assigned. */
.sgr-util__nav { display: flex; gap: 20px; align-items: center; list-style: none; margin: 0; padding: 0; }
.sgr-util__nav li { margin: 0; }
.sgr-util__nav a { font-size: 13px; }

@media (min-width: 900px) {
	.sgr-header .sg-nav__list { gap: 0; }
	.sgr-header .sg-nav__list a {
		position: relative;
		font-size: 15px;
		font-weight: 500;
		color: var(--sg-ink-mid);
		padding: 9px 3px;
		margin: 0 11px;
		border-radius: 0;
		white-space: nowrap;
		transition: color .16s ease;
	}
	.sgr-header .sg-nav__list a::after {
		content: "";
		position: absolute; left: 0; right: 0; bottom: 1px;
		height: 2px; border-radius: 2px;
		background: var(--sg-navy);
		transform: scaleX(0);
		transition: transform .18s ease;
	}
	.sgr-header .sg-nav__list a:hover,
	.sgr-header .sg-nav__list .current-menu-item > a,
	.sgr-header .sg-nav__list .current_page_item > a {
		color: var(--sg-navy);
		background: transparent;
		font-weight: 600;
	}
	.sgr-header .sg-nav__list a:hover::after,
	.sgr-header .sg-nav__list .current-menu-item > a::after,
	.sgr-header .sg-nav__list .current_page_item > a::after { transform: scaleX(1); }
	.sgr-header .sg-nav__actions { gap: 12px; margin-left: 16px; }
}

/* The ghost trial button is the first thing to go when space runs out. */
@media (max-width: 1100px) and (min-width: 900px) {
	.sgr-header .sg-nav__trial { display: none; }
}

/* In the mobile drawer both buttons go full width, stacked, and the drawer
   hangs off the real header height rather than a hard-coded offset. */
@media (max-width: 899px) {
	.sgr-header .sg-nav { inset: auto auto auto 0; top: 100%; right: 0; }
	.sgr-header .sg-nav__actions .sgr-btn { width: 100%; }
}


/* -------------------------------------------------------------- footer -- */
/* The footer columns and fine print, matched to the source: mono cyan column
   headings, 14.5px links at 70% white, 12.5px fine print at 50%. */

/* The CTA band and the footer are one continuous navy field. */
.sg-footer { margin-top: 0; padding-top: 0; }
.sgr-cta + .sg-footer .sg-footer__grid { padding-top: 8px; }
.sgr-cta { padding-bottom: 8px; }

.sg-footer__name {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -.01em;
	line-height: 1.25;
	color: #fff;
	max-width: 22ch;
	margin: 0 0 10px;
}

.sg-footer__heading {
	font-family: var(--sg-font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sg-cyan);
	margin: 0 0 16px;
}

.sg-footer__list { list-style: none; margin: 0; padding: 0; }
.sg-footer__list li { margin: 0; }
.sg-footer__list a {
	display: block;
	padding: 5px 0;
	font-size: 14.5px;
	color: rgba(255,255,255,.7);
	text-decoration: none;
	transition: color .16s ease;
}
.sg-footer__list a:hover { color: #fff; text-decoration: none; }

.sg-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding: 20px 0 26px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: rgba(255,255,255,.5);
}
.sg-footer__bottom p { margin: 0; }
.sg-footer__bottom a { color: inherit; text-decoration: none; }
.sg-footer__bottom a:hover { color: rgba(255,255,255,.85); }

/* ------------------------------------------------------- chat launcher -- */

.sgr-chat {
	position: fixed;
	right: 16px;
	bottom: 24px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}
@media (min-width: 768px) { .sgr-chat { right: 24px; } }

.sgr-chat__bubble {
	display: none;
	background: #fff;
	border-radius: 18px 18px 4px 18px;
	box-shadow: var(--sg-shadow-lg);
	padding: 15px 18px 15px 16px;
	max-width: 240px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--sg-ink);
	margin: 0;
}
@media (min-width: 768px) { .sgr-chat__bubble { display: block; } }
.sgr-chat__bubble b { font-family: var(--sg-font-head); color: var(--sg-navy); }

.sgr-chat__btn {
	width: 62px; height: 62px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sg-red), #B4143F);
	box-shadow: 0 12px 30px rgba(227,26,81,.42);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: transform .18s ease;
}
.sgr-chat__btn:hover { transform: scale(1.05); }
.sgr-chat__btn svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
	.sgr-chat__btn:hover { transform: none; }
}


/* ===== journey ===== */
/* =========================================================================
   Journey, split bands, chips and app panels — used by How It Works, About
   and Features. Same tokens, radii and shadows as the sections above.
   ====================================================================== */

/* --------------------------------------------------------------- journey -- */

.sgr-journey { display: grid; gap: 18px; counter-reset: sgr-step; }

.sgr-journey__item {
	position: relative;
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-lg);
	box-shadow: var(--sg-shadow-sm);
	padding: 26px 24px 26px 74px;
	transition: transform .22s ease, box-shadow .22s ease;
}
@media (min-width: 768px) { .sgr-journey__item { padding: 30px 34px 30px 92px; } }
.sgr-journey__item:hover { transform: translateY(-2px); box-shadow: var(--sg-shadow-md); }

.sgr-journey__item::before {
	counter-increment: sgr-step;
	content: counter(sgr-step);
	position: absolute;
	left: 24px; top: 26px;
	width: 34px; height: 34px;
	border-radius: 11px;
	background: var(--sg-navy);
	color: #fff;
	font-family: var(--sg-font-head);
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 768px) { .sgr-journey__item::before { left: 34px; top: 30px; } }

.sgr-journey__item:nth-child(2n)::before   { background: var(--sg-cyan-deep); }
.sgr-journey__item:nth-child(3n)::before   { background: var(--sg-red); }
.sgr-journey__item:nth-child(5n)::before   { background: var(--sg-yellow-ink); }

/* The connector line between steps. */
.sgr-journey__item:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 40px; top: 68px; bottom: -19px;
	width: 2px;
	background: linear-gradient(180deg, rgba(38,53,140,.16), rgba(38,53,140,.04));
}
@media (min-width: 768px) { .sgr-journey__item:not(:last-child)::after { left: 50px; top: 72px; } }

.sgr-journey__item h3 {
	font-family: var(--sg-font-head);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -.012em;
	color: var(--sg-ink);
	margin: 0 0 7px;
}
.sgr-journey__item > p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--sg-ink-mid);
	margin: 0;
}
.sgr-journey__item > p + p { margin-top: .7em; }

.sgr-journey__tag {
	display: inline-block;
	font-family: var(--sg-font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sg-cyan-deep);
	margin-bottom: 8px;
}

/* ----------------------------------------------------------------- chips -- */

.sgr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.sgr-chips li {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--sg-navy);
	background: var(--sg-navy-soft);
	border-radius: 9999px;
	padding: 7px 15px;
	margin: 0;
}
.sgr-chips--cyan li { color: var(--sg-cyan-deep); background: var(--sg-cyan-soft); }
.sgr-chips--red  li { color: var(--sg-red);       background: var(--sg-red-soft); }

/* ----------------------------------------------------------------- split -- */

.sgr-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.sgr-split--top { align-items: start; }
@media (min-width: 900px) { .sgr-split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.sgr-split--wide { }
@media (min-width: 900px) { .sgr-split--wide { grid-template-columns: 1.15fr 1fr; } }
.sgr-split h2 { margin-top: 0; }
.sgr-split__copy p { font-size: 16px; line-height: 1.65; color: var(--sg-ink-mid); margin: 0 0 1em; }
.sgr-split__copy p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- panel -- */
/* A calm stand-in for an app screen: rounded, hairline, soft shadow. */

.sgr-panel {
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: var(--sgr-r-lg);
	box-shadow: var(--sg-shadow-md);
	padding: 22px;
}
.sgr-panel__bar {
	display: flex; align-items: center; gap: 6px;
	padding-bottom: 16px; margin-bottom: 16px;
	border-bottom: 1px solid var(--sg-hairline);
}
.sgr-panel__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sg-hairline); }
.sgr-panel__bar span {
	margin-left: 8px;
	font-family: var(--sg-font-mono);
	font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--sg-ink-light);
}

.sgr-bubble {
	border-radius: 18px;
	padding: 13px 16px;
	font-size: 14.5px;
	line-height: 1.5;
	margin: 0 0 10px;
	max-width: 88%;
}
.sgr-bubble--them { background: var(--sg-grey-warm); color: var(--sg-ink); border-bottom-left-radius: 5px; }
.sgr-bubble--grace {
	background: var(--sg-navy); color: #fff;
	margin-left: auto; border-bottom-right-radius: 5px;
}
.sgr-bubble--grace b { color: var(--sg-yellow); font-weight: 600; }
.sgr-bubble:last-child { margin-bottom: 0; }

/* Readiness meter used on the progress step. */
.sgr-meter { margin-top: 14px; }
.sgr-meter__row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sgr-meter__label { flex: 0 0 108px; font-size: 13.5px; font-weight: 500; color: var(--sg-ink); }
.sgr-meter__track { flex: 1; height: 8px; border-radius: 9999px; background: var(--sg-navy-soft); overflow: hidden; }
.sgr-meter__fill { display: block; height: 100%; border-radius: 9999px; background: var(--sg-cyan); }
.sgr-meter__fill--red { background: var(--sg-red); }
.sgr-meter__fill--yel { background: var(--sg-yellow); }
.sgr-meter__val { flex: 0 0 42px; text-align: right; font-size: 13px; font-weight: 600; color: var(--sg-ink-mid); }

/* ------------------------------------------------------------------ note -- */

.sgr-note {
	background: var(--sg-yellow-soft);
	border-radius: var(--sgr-r-md);
	padding: 20px 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--sg-yellow-ink);
	margin-top: 26px;
}
.sgr-note strong { color: var(--sg-ink); }

/* ------------------------------------------------------------- checklist -- */

.sgr-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .sgr-checks { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; } }
.sgr-checks li {
	position: relative;
	padding-left: 32px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--sg-ink-mid);
	margin: 0;
}
/* On the cyan band the soft-cyan badge disappears; give it a white plate. */
.sgr-sec--cyan .sgr-checks li::before { background-color: #fff; }

.sgr-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: 3px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--sg-cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B9AA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

/* --------------------------------------------------------------- phases --- */

.sgr-phase { border-left: 3px solid var(--sg-cyan); padding-left: 20px; }
.sgr-phase + .sgr-phase { margin-top: 26px; }
.sgr-phase h3 {
	font-family: var(--sg-font-head);
	font-weight: 600; font-size: 18px; letter-spacing: -.012em;
	color: var(--sg-navy); margin: 0 0 6px;
}
.sgr-phase p { font-size: 15px; line-height: 1.6; color: var(--sg-ink-mid); margin: 0; }
.sgr-phase:nth-child(2) { border-color: var(--sg-navy); }
.sgr-phase:nth-child(3) { border-color: var(--sg-yellow); }
.sgr-phase:nth-child(4) { border-color: var(--sg-red); }

/* ------------------------------------------------------------ empty state -- */

.sgr-empty {
	text-align: center;
	background: var(--sg-grey-warm);
	border: 1px dashed rgba(38,53,140,.18);
	border-radius: var(--sgr-r-lg);
	padding: 54px 28px;
}
.sgr-empty h2 {
	font-family: var(--sg-font-head); font-weight: 600;
	font-size: 22px; color: var(--sg-navy); margin: 0 0 10px;
}
.sgr-empty p { font-size: 15.5px; color: var(--sg-ink-mid); margin: 0 auto; max-width: 46ch; }


/* --------------------------------------------------------------- topics -- */

.sgr-topics .sgr-eyebrow { margin-bottom: 12px; }
.sgr-topics ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sgr-topics li { margin: 0; }
.sgr-topics a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--sg-ink-mid);
	background: #fff;
	border: 1px solid var(--sg-hairline);
	border-radius: 9999px;
	padding: 8px 16px;
	text-decoration: none;
	transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.sgr-topics a:hover { color: var(--sg-navy); border-color: var(--sg-navy); background: var(--sg-navy-soft); }
.sgr-topics a i {
	font-style: normal;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--sg-ink-light);
}

/* ===== photos ===== */
.sgr-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.sgr-photo{position:relative;display:block;margin:0;overflow:hidden;border-radius:28px;background:#eef2f7;aspect-ratio:4/3;box-shadow:0 1px 2px rgba(11,31,59,.08),0 12px 30px rgba(11,31,59,.07)}
.sgr-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.sgr-photo:hover img,.sgr-photo:focus-within img{transform:scale(1.05)}
.sgr-photo figcaption{position:absolute;left:0;right:0;bottom:0;padding:40px 20px 16px;color:#fff;font-size:14px;line-height:1.35;font-weight:650;background:linear-gradient(180deg,rgba(11,31,59,0) 0%,rgba(11,31,59,.28) 42%,rgba(11,31,59,.78) 100%)}
@media(max-width:900px){.sgr-photos{grid-template-columns:1fr 1fr;gap:16px}.sgr-photo{border-radius:22px}}
@media(max-width:560px){.sgr-photos{grid-template-columns:1fr}}
.sgr-figure{margin:0;overflow:hidden;border-radius:26px;background:#eef2f7;box-shadow:0 1px 2px rgba(11,31,59,.08),0 14px 34px rgba(11,31,59,.08)}
.sgr-figure img{display:block;width:100%;height:auto}
.sgr-figure figcaption{padding:14px 18px 16px;font-size:13.5px;line-height:1.45;color:#5b6b82;background:#fff}
@media(max-width:900px){.sgr-figure{border-radius:20px}}

/* ===== photos b ===== */
@media (min-width: 768px) { .sgr-split .sgr-checks { grid-template-columns: 1fr; } }

/* ===== pricing page ===== */
.sgr-plan__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.sgr-plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--sg-ink-mid); margin: 0; }
.sgr-plan__list li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
	background: var(--sg-cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B9AA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}
.sgr-plan__foot { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--sg-ink-light); text-align: center; }
.sgr-billing { margin: 26px auto 0; max-width: 680px; text-align: center; font-size: 14.5px; line-height: 1.65; color: var(--sg-ink-mid); }
.sgr-billing strong { color: var(--sg-ink); font-weight: 650; }

.sgr-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sgr-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
	border: 1px solid rgba(38,53,140,.1); border-radius: var(--sgr-r-lg); overflow: hidden; box-shadow: var(--sg-shadow-sm); }
.sgr-compare th, .sgr-compare td { padding: 14px 18px; text-align: left; font-size: 14.5px; line-height: 1.5;
	border-bottom: 1px solid rgba(38,53,140,.08); vertical-align: top; }
.sgr-compare thead th { font-family: var(--sg-font-head); font-size: 15px; font-weight: 650; color: var(--sg-ink); background: #f7f8fb; }
.sgr-compare thead th.is-us { color: var(--sg-navy); }
.sgr-compare tbody th { font-weight: 600; color: var(--sg-ink); width: 26%; }
.sgr-compare td { color: var(--sg-ink-mid); }
.sgr-compare td.is-us { color: var(--sg-navy); font-weight: 600; background: rgba(27,154,160,.05); }
.sgr-compare tr:last-child th, .sgr-compare tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) { .sgr-compare { min-width: 580px; } .sgr-compare th, .sgr-compare td { padding: 12px 14px; font-size: 13.5px; } }

.sgr-pickers { display: grid; gap: 16px; }
@media (min-width: 860px) { .sgr-pickers { grid-template-columns: repeat(3, 1fr); } }
.sgr-picker { background: #fff; border: 1px solid rgba(38,53,140,.1); border-radius: var(--sgr-r-lg); padding: 24px; box-shadow: var(--sg-shadow-sm); }
.sgr-picker h3 { font-family: var(--sg-font-head); font-weight: 600; font-size: 17px; letter-spacing: -.015em; color: var(--sg-ink); margin: 0 0 8px; }
.sgr-picker h3 span { display: block; font-family: var(--sg-font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sg-cyan-deep); margin-bottom: 6px; }
.sgr-picker p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--sg-ink-mid); }

/* ===== seo network ===== */
.sgr-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.sgr-idx__h {
	font-family: var(--sg-font-mono); font-weight: 700; font-size: 11.5px;
	letter-spacing: .16em; text-transform: uppercase; color: var(--sg-cyan-deep);
	margin: 30px 0 12px;
}
.sgr-idx__h:first-child { margin-top: 0; }
@media (min-width: 900px) { .sgr-linkgrid--3 { grid-template-columns: repeat(3, 1fr); } }
.sgr-linkgrid a small {
	display: block; margin-top: 4px;
	font-family: inherit; font-weight: 500; font-size: 12.5px; line-height: 1.4;
	color: var(--sg-ink-light); letter-spacing: 0;
}
.sgr-linkgrid a:hover small { color: var(--sg-ink-mid); }
.sgr-split__copy .sgr-checks li strong { color: var(--sg-ink); font-weight: 650; }

/* ===== page hero media ===== */
.sgr-pagehero__row { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) {
	.sgr-pagehero--media .sgr-pagehero__row { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 52px; }
}
.sgr-pagehero__copy { min-width: 0; }
.sgr-pagehero__media {
	margin: 0; overflow: hidden; border-radius: 26px; background: #eef2f7;
	box-shadow: 0 1px 2px rgba(11,31,59,.08), 0 18px 44px rgba(11,31,59,.10);
}
.sgr-pagehero__media img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .sgr-pagehero__media { border-radius: 20px; } }
.sgr-pagehero--navy .sgr-pagehero__media { box-shadow: 0 18px 44px rgba(0,0,0,.30); }

/* ===== subject directory ===== */
.sgr-dir { background: var(--sg-grey-warm); border-top: 1px solid rgba(38,53,140,.06); padding: 40px 0 44px; }
.sgr-dir__h {
	font-family: var(--sg-font-mono); font-weight: 700; font-size: 11.5px;
	letter-spacing: .16em; text-transform: uppercase; color: var(--sg-cyan-deep);
	margin: 0 0 12px;
}
.sgr-dir__h + .sgr-dir__list + .sgr-dir__h { margin-top: 28px; }
.sgr-dir__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .sgr-dir__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sgr-dir__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sgr-dir__list--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sgr-dir__list li { margin: 0; }
.sgr-dir__list a {
	display: block; padding: 3px 0;
	font-size: 14px; line-height: 1.45; color: var(--sg-ink-mid);
	text-decoration: none; transition: color .15s ease;
}
.sgr-dir__list a:hover { color: var(--sg-red); text-decoration: none; }

/* ===== compare v2 ===== */
.sgr-tablewrap { border-radius: 16px; }
.sgr-compare { border: 0; border-radius: 16px; box-shadow: 0 1px 2px rgba(11,31,59,.06), 0 14px 34px rgba(11,31,59,.07); }
.sgr-compare th, .sgr-compare td { padding: 16px 20px; font-size: 15px; line-height: 1.45; vertical-align: middle; border-bottom: 1px solid rgba(38,53,140,.07); }
.sgr-compare thead th { font-family: var(--sg-font-head); font-size: 16px; font-weight: 650; color: var(--sg-ink); background: #fff; }
.sgr-compare thead th.is-lbl { background: var(--sg-navy); color: #fff; }
.sgr-compare thead th.is-us { background: #eef4fb; color: var(--sg-navy); }
.sgr-compare tbody th { width: 24%; background: var(--sg-navy); color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
.sgr-compare tbody tr:last-child th { border-bottom: 0; }
.sgr-compare tbody th .i { display: inline-block; width: 20px; height: 20px; margin-right: 11px; vertical-align: -4px; opacity: .92; }
.sgr-compare tbody th .i svg { display: block; width: 20px; height: 20px; }
.sgr-compare td { background: #fff; color: var(--sg-ink-mid); }
.sgr-compare td.is-us { background: #eef4fb; color: var(--sg-navy); font-weight: 600; }
@media (max-width: 700px) { .sgr-compare th, .sgr-compare td { padding: 13px 14px; font-size: 13.5px; } .sgr-compare tbody th .i { display: none; } }

.sgr-note--icon { display: flex; align-items: flex-start; gap: 16px; }
.sgr-note__i {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: rgba(180,138,20,.13); color: var(--sg-yellow-ink);
}
.sgr-note__i svg { width: 21px; height: 21px; }
.sgr-note--icon p { margin: 0; }
@media (max-width: 560px) { .sgr-note__i { display: none; } }

/* ===== group sites ===== */
.sg-footer__group {
	border-top: 1px solid rgba(255,255,255,.1);
	padding: 22px 0 2px;
	text-align: center;
}
.sg-footer__group-h {
	font-family: var(--sg-font-mono);
	font-size: 11px; font-weight: 700; letter-spacing: .16em;
	text-transform: uppercase; color: var(--sg-cyan);
	margin: 0 0 12px;
}
.sg-footer__group-list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center;
}
.sg-footer__group-list li { margin: 0; }
.sg-footer__group-list a {
	font-size: 14.5px; color: rgba(255,255,255,.72);
	text-decoration: none; transition: color .16s ease;
}
.sg-footer__group-list a:hover { color: #fff; text-decoration: none; }
@media (max-width: 560px) { .sg-footer__group-list { gap: 8px 20px; } }
