/*
 * /how-it-works/, /features/, /about/ (2026-11-20, inc/info-pages.php): the walkthrough of real app frames, the
 * quotes, the feature map, the /about/ company and founder cards and timeline. Same tokens as css/explainer-pages.css.
 */

.template-explainer,
.template-about {
	--ip-ink: #1a1919;
	--ip-body: #3d3d3d;
	--ip-meta: #6b6b6b;
	--ip-accent: #0042ff;
	--ip-tint: #f3f6ff;
	--ip-rule: #e3e8f2;
	--ip-wide: 1120px;
}

/* ---- App window (walkthrough and single frames) ---------------------- */

.ip-window {
	margin: 0;
	background: #fff;
	border: 1px solid var(--ip-rule);
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.05);
	overflow: hidden;
}

.ip-window__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	background: #f6f7fb;
	border-bottom: 1px solid var(--ip-rule);
}

.ip-window__bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d6dbe6;
}

.ip-window__label {
	margin-left: 10px;
	padding: 3px 12px 2px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--ip-rule);
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
	color: var(--ip-meta);
}

.ip-window__screen {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #fff;
}

.ip-shot {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 0.45s ease, transform 0.9s ease;
}

.ip-shot.is-on {
	opacity: 1;
	transform: none;
}

/* The phone crop's <picture> (sprizzy_info_frame_img) lays out as if the <img> were the flex child. */
.ip-shot picture {
	display: contents;
}

.ip-shot img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* ---- Walkthrough ------------------------------------------------------ */

.ip-walk {
	max-width: var(--ip-wide);
	margin: 0 auto;
	padding: 88px 24px 32px;
	scroll-margin-top: 90px;
}

.ip-walk__head {
	max-width: 760px;
}

.ip-walk h2 {
	font-size: 44px;
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ip-walk .ip-walk__answer {
	margin-top: 16px;
	font-size: 20px;
	line-height: 1.5;
	color: var(--ip-body);
}

.ip-walk__body {
	margin-top: 40px;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.ip-walk__stage {
	position: sticky;
	top: 110px;
}

.ip-walk__controls {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}

.ip-walk__progress {
	flex: 1;
	display: flex;
	gap: 6px;
}

.ip-seg {
	flex: 1;
	height: 4px;
	border-radius: 2px;
	background: #e3e8f2;
	overflow: hidden;
}

.ip-seg i {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ip-accent);
}

.ip-seg.is-done i,
.ip-seg.is-on i {
	width: 100%;
}

.ip-walk.is-playing .ip-seg.is-on i {
	width: 0;
	animation: ip-fill var(--ip-dur, 4200ms) linear forwards;
}

@keyframes ip-fill {
	to {
		width: 100%;
	}
}

.ip-walk__toggle {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--ip-rule);
	background: #fff;
	color: var(--ip-ink);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ip-walk__toggle span {
	display: block;
	width: 12px;
	height: 14px;
	border-left: 4px solid currentColor;
	border-right: 4px solid currentColor;
	box-sizing: border-box;
}

.ip-walk__toggle.is-paused span {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent currentColor;
	margin-left: 4px;
}

.ip-walk__toggle:focus-visible,
.ip-chip:focus-visible,
.ip-map__card:focus-visible {
	outline: 3px solid var(--ip-accent);
	outline-offset: 3px;
}

.ip-walk__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
	counter-reset: none;
}

.ip-step {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 16px;
	padding: 20px 20px 18px;
	border: 1px solid var(--ip-rule);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ip-step.is-on {
	border-color: #c9d6ff;
	background: var(--ip-tint);
	box-shadow: 0 6px 18px rgba(0, 66, 255, 0.07);
}

.ip-step__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e9edf6;
	color: var(--ip-ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	padding-top: 3px;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s;
}

.ip-step.is-on .ip-step__n {
	background: var(--ip-accent);
	color: #fff;
}

.ip-step h3 {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
}

.ip-walk .ip-step p {
	margin-top: 6px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--ip-body);
}

.ip-step__frames {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.ip-chip {
	min-height: 44px;
	padding: 10px 16px 8px;
	border-radius: 999px;
	border: 1px solid var(--ip-rule);
	background: #fff;
	color: var(--ip-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.ip-chip:hover {
	border-color: var(--ip-accent);
	color: var(--ip-accent);
}

.ip-chip.is-on {
	background: var(--ip-accent);
	border-color: var(--ip-accent);
	color: #fff;
}

.ip-walk .ip-walk__facts {
	margin-top: 28px;
	font-size: 17px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--ip-ink);
}

/* ---- A single real frame as a block visual (/features/) ----------------- */

.ip-window--still {
	width: 100%;
}

/* ---- Quotes ------------------------------------------------------------- */

.ip-says {
	max-width: var(--ip-wide);
	margin: 0 auto;
	padding: 72px 24px 24px;
}

.ip-says h2 {
	font-size: 40px;
	line-height: 1.1;
	font-weight: 600;
}

.ip-says .ip-says__lead {
	margin-top: 14px;
	max-width: 720px;
	font-size: 19px;
	line-height: 1.5;
	color: var(--ip-body);
}

.ip-says .rs {
	max-width: none;
	margin: 24px 0 0;
	padding: 0;
}

.ip-says .ip-says__more {
	margin-top: 18px;
	font-size: 17px;
}

.ip-says .ip-vary,
.xp-says .ip-vary,
.xp-proof .ip-vary {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ip-meta);
}

/* Under the brand block's one result on /features/: centered like the block. */
.xp-proof .ip-vary {
	padding: 0 24px;
	text-align: center;
}

/* ---- Crosslinks: the shared panel, sized for these pages ----------------- */

.ip-crosslinks {
	margin-top: 72px;
}

.template-explainer .ip-crosslinks a,
.template-about .ip-crosslinks a {
	color: #1e293b;
}

.template-explainer .ip-crosslinks li.xl-all a,
.template-about .ip-crosslinks li.xl-all a {
	color: #fff;
}

/* ---- /features/: what you get ------------------------------------------- */

.ip-map {
	max-width: var(--ip-wide);
	margin: 0 auto;
	padding: 72px 24px 16px;
}

.ip-map h2 {
	font-size: 44px;
	line-height: 1.08;
	font-weight: 600;
}

.ip-map .ip-map__answer {
	margin-top: 14px;
	max-width: 720px;
	font-size: 20px;
	line-height: 1.5;
	color: var(--ip-body);
}

.ip-map__grid {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.ip-map__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	box-sizing: border-box;
	padding: 20px 18px 18px;
	border: 1px solid var(--ip-rule);
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
	color: var(--ip-ink);
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ip-map__card:hover {
	border-color: var(--ip-accent);
	box-shadow: 0 8px 20px rgba(0, 66, 255, 0.10);
	transform: translateY(-2px);
}

.ip-map__card .ip-icon {
	color: var(--ip-accent);
	width: 26px;
	height: 26px;
	margin-bottom: 6px;
}

.ip-map__card strong {
	font-size: 18px;
	line-height: 1.25;
	font-weight: 600;
}

.ip-map__card span {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ip-body);
}

.template-explainer .xp-block,
.template-explainer .ip-placements {
	scroll-margin-top: 100px;
}

/* the shared placements block on /features/ */
.ip-placements {
	position: relative;
	z-index: 0;
	max-width: var(--ip-wide);
	margin: 0 auto;
	padding: 0 24px 96px;
}

.ip-placements .section-how {
	margin-top: 96px;
}

.ip-placements .section-how.section-placements h2 {
	line-height: 1.05;
}

/* ---- /about/ ------------------------------------------------------------ */

.template-about .ab-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 48px;
	align-items: center;
}

.template-about .ab-hero .rs-hero {
	padding-bottom: 0;
}

.ab-hero__cta {
	margin-top: 24px;
}

.template-about .ab-hero__cta .google-button {
	width: fit-content;
	box-shadow: 0 1px 3px rgba(188, 188, 188, 0.55);
	padding: 5px;
	background: #fff;
	border-radius: 6px;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.template-about .ab-hero__cta .google-button img {
	width: 28px;
	margin: 0 14px 0 10px;
}

.template-about .ab-hero__cta .google-button .get-started {
	background: var(--ip-accent);
	color: #fff;
	font-size: 19px;
	line-height: 20px;
	font-weight: 500;
	padding: 17px 30px 15px;
	border-radius: 4px;
}

.template-about .ab-hero__cta .google-button:focus-visible {
	outline: 3px solid var(--ip-accent);
	outline-offset: 3px;
}

.ab-hero__note {
	margin-top: 12px;
	font-size: 15px;
	color: var(--ip-meta);
}

.ip-company {
	padding: 24px 24px 18px;
	border: 1px solid var(--ip-rule);
	border-radius: 20px;
	background: linear-gradient(180deg, #fff 0%, #f6f8ff 100%);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
}

.ip-company__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ip-rule);
}

.ip-company__top img {
	width: 120px;
	height: auto;
}

.ip-company__llc {
	font-size: 14px;
	font-weight: 600;
	color: var(--ip-meta);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ip-company__rows {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.ip-company__rows li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #edf0f6;
}

.ip-company__rows li:last-child {
	border-bottom: 0;
}

.ip-company__rows .ip-icon,
.ip-founder__mark .ip-icon {
	flex: none;
	color: var(--ip-accent);
}

.ip-company__rows span {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	line-height: 1.3;
	color: var(--ip-meta);
}

.ip-company__rows strong {
	font-size: 18px;
	color: var(--ip-ink);
	font-weight: 600;
}

.ab-owner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
	gap: 40px;
	align-items: start;
}

.template-about .ab-text .ab-owner__lead {
	font-size: 20px;
	line-height: 1.5;
	color: var(--ip-ink);
}

.ip-founder {
	padding: 24px;
	border: 1px solid var(--ip-rule);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.ip-founder__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--ip-tint);
}

.ip-founder__mark .ip-icon {
	width: 28px;
	height: 28px;
}

.template-about .ip-founder p {
	margin: 0;
}

.ip-founder__name {
	margin-top: 14px !important;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 600;
}

.ip-founder__name a {
	color: var(--ip-ink);
	text-decoration: none;
}

.ip-founder__name a:hover {
	text-decoration: underline;
}

.ip-founder__role {
	font-size: 16px;
	color: var(--ip-meta);
}

.ip-founder__facts {
	list-style: none;
	margin: 14px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #edf0f6;
	display: grid;
	gap: 8px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ip-body);
}

.ab-what {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
	gap: 40px;
	align-items: start;
}

.ip-timeline {
	list-style: none;
	margin: 0;
	padding: 4px 0 0 0;
	position: relative;
}

.ip-timeline::before {
	content: "";
	position: absolute;
	left: 9px;
	top: 12px;
	bottom: 12px;
	width: 2px;
	background: #dbe3f7;
	transform-origin: top;
}

.ip-timeline li {
	position: relative;
	padding: 0 0 26px 38px;
}

.ip-timeline li:last-child {
	padding-bottom: 0;
}

.ip-timeline li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--ip-accent);
	box-sizing: border-box;
}

.ip-timeline__year {
	display: block;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--ip-accent);
}

.ip-timeline__text {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ip-body);
}

.ip-timeline.is-armed li {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.ip-timeline.is-armed::before {
	transform: scaleY(0);
	transition: transform 1.2s ease;
}

.ip-timeline.is-armed.is-in li {
	opacity: 1;
	transform: none;
}

.ip-timeline.is-armed.is-in li:nth-child(2) {
	transition-delay: 0.35s;
}

.ip-timeline.is-armed.is-in li:nth-child(3) {
	transition-delay: 0.7s;
}

.ip-timeline.is-armed.is-in::before {
	transform: none;
}

.ab-who {
	list-style: none !important;
	margin: 0;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.template-about .ab-who li {
	margin: 0;
	padding: 18px 18px 16px;
	border: 1px solid var(--ip-rule);
	border-radius: 14px;
	background: #fff;
	font-size: 16px;
	line-height: 1.45;
}

.template-about .ab-who li::before {
	display: none;
}

.ab-who strong {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
}

.template-about .ip-says {
	padding-left: 0;
	padding-right: 0;
}

/* on /about/ the quotes' heading matches the page's own section headings (css/results.css .rs-head h2) */
.template-about .ip-says h2 {
	font-size: clamp(28px, 1.6vw + 22px, 38px);
	letter-spacing: -0.02em;
}

.template-about .ip-company {
	margin-top: 40px;
}

.template-about .ip-crosslinks {
	margin-left: auto;
	margin-right: auto;
}

.template-about .av-block {
	padding-left: 0;
	padding-right: 0;
	max-width: 880px;
	margin: 0;
}

/* ---- Phones -------------------------------------------------------------- */

@media (max-width: 899px) {
	.ip-walk {
		padding: 56px 16px 16px;
	}

	.ip-walk h2,
	.ip-map h2 {
		font-size: 32px;
	}

	.ip-walk .ip-walk__answer,
	.ip-map .ip-map__answer {
		font-size: 18px;
	}

	.ip-walk__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		margin-top: 24px;
	}

	.ip-walk__stage {
		position: static;
	}

	.ip-step {
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 12px;
		padding: 16px 14px 14px;
	}

	.ip-step__n {
		width: 32px;
		height: 32px;
		font-size: 16px;
	}

	.ip-step h3 {
		font-size: 19px;
	}

	.ip-walk .ip-step p {
		font-size: 16px;
	}

	.ip-chip {
		font-size: 14px;
		padding: 10px 14px 8px;
	}

	.ip-shot {
		padding: 10px;
	}

	.ip-says {
		padding: 56px 16px 16px;
	}

	.ip-says h2 {
		font-size: 30px;
	}

	.ip-says .ip-says__lead {
		font-size: 17px;
	}

	.ip-map {
		padding: 56px 16px 8px;
	}

	.ip-map__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: 22px;
	}

	.ip-map__card {
		padding: 16px 14px 14px;
	}

	.ip-map__card strong {
		font-size: 16px;
	}

	.ip-map__card span {
		font-size: 14px;
	}

	.ip-placements {
		padding: 0 16px 72px;
	}

	.ip-placements .section-how {
		margin-top: 64px;
	}

	.template-about .ab-hero,
	.ab-owner,
	.ab-what {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.ab-who {
		grid-template-columns: minmax(0, 1fr);
	}

	.template-about .ip-company {
		margin-top: 0;
	}

	.template-about .ab-hero__cta .google-button .get-started {
		font-size: 18px;
		padding: 16px 22px 14px;
	}

	.ip-crosslinks {
		margin-top: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ip-shot,
	.ip-step,
	.ip-chip,
	.ip-map__card {
		transition: none;
	}

	.ip-shot {
		transform: none;
	}

	.ip-walk.is-playing .ip-seg.is-on i {
		animation: none;
		width: 100%;
	}

	.ip-timeline.is-armed li,
	.ip-timeline.is-armed::before {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
