/* Primaeyu site — design system (tokens from medidiet src/ui/theme/tokens.ts + themes.ts lightTheme) */

:root {
	/* Fluent 2 brand ramp (medidiet `brand`) */
	--brand-20: #082338;
	--brand-60: #0f548c;
	--brand-80: #0f6cbd;
	--brand-100: #479ef5;
	--brand-160: #ebf3fc;
	/* Semantic roles (medidiet lightTheme.colors) */
	--bg-canvas: #f5f5f5;
	--bg-surface: #ffffff;
	--bg-subtle: #f0f0f0;
	--bg-inverse: #242424;
	--fg-1: #242424;
	--fg-2: #616161;
	--fg-3: #808080; /* non-text only (3.95:1) */
	--fg-on-accent: #ffffff;
	--accent: var(--brand-80);
	--accent-pressed: var(--brand-60);
	--accent-subtle: var(--brand-160);
	--stroke-divider: #e6e6e6;
	--stroke-control: #808080;
	--stroke-soft: #d1d1d1;
	--danger: #c50f1f;
	--success: #0e700e;
	--warning: #835c00;
	/* medidiet palette */
	--teal: #038387;
	--berry: #c239b3;
	--pumpkin: #ca5010;
	--marigold: #835c00;
	/* Brand (docs/BRAND.md) */
	--apricot: #f0a04b;
	--zena-olive: #4f7a28;
	--zena-olive-deep: #2f4f17;
	--zena-cream: #f7f2dd;
	--zena-cream-strong: #efe7c6;
	/* Spacing (medidiet spacing) */
	--s-xxs: 2px;
	--s-xs: 4px;
	--s-s: 8px;
	--s-m: 12px;
	--s-l: 16px;
	--s-xl: 20px;
	--s-xxl: 24px;
	--s-xxxl: 32px;
	--s-huge: 48px;
	--s-section: clamp(56px, 8vw, 96px);
	/* Radii (medidiet radius) */
	--r-s: 6px;
	--r-m: 10px;
	--r-l: 14px;
	--r-xl: 20px;
	--r-pill: 999px;
	/* Fluent 2 elevation */
	--shadow-2: 0 0 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.14);
	--shadow-4: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.14);
	--shadow-8: 0 0 2px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.14);
	--shadow-16: 0 0 2px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.14);
	--shadow-28: 0 0 8px rgba(0, 0, 0, 0.12), 0 14px 28px rgba(0, 0, 0, 0.14);
	/* Type */
	--font: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
	--t-display: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
	--t-h1: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
	--t-h2: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem);
	--t-h3: 1.375rem;
	--t-headline: 1.0625rem;
	--t-body: 1.0625rem;
	--t-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--t-small: 0.9375rem;
	--t-caption: 0.8125rem;
	/* Motion (medidiet motion) */
	--m-fast: 150ms;
	--m-base: 250ms;
	--page: 1120px;
	--prose: 720px;
	--header-h: 64px;
	color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--t-body);
	line-height: 1.6;
	color: var(--fg-1);
	background: var(--bg-canvas);
	-webkit-font-smoothing: antialiased;
}
img,
svg {
	max-width: 100%;
	height: auto;
}
h1,
h2,
h3,
h4 {
	line-height: 1.2;
	margin: 0 0 var(--s-l);
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h1 {
	font-size: var(--t-h1);
	font-weight: 700;
}
h2 {
	font-size: var(--t-h2);
	font-weight: 700;
}
h3 {
	font-size: var(--t-h3);
	font-weight: 600;
}
h4 {
	font-size: var(--t-headline);
	font-weight: 600;
	margin-bottom: var(--s-s);
}
p,
ul,
ol,
dl,
table,
figure {
	margin: 0 0 var(--s-l);
}
p {
	text-wrap: pretty;
}
a {
	color: var(--accent);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}
a:hover {
	color: var(--accent-pressed);
	text-decoration-thickness: 2px;
}
:focus-visible {
	outline: 3px solid var(--accent-pressed);
	outline-offset: 2px;
	border-radius: 4px;
}
strong {
	font-weight: 600;
}
hr {
	border: 0;
	border-top: 1px solid var(--stroke-divider);
	margin: var(--s-xxxl) 0;
}
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.lead {
	font-size: var(--t-lead);
	line-height: 1.55;
	color: var(--fg-2);
}
.muted {
	color: var(--fg-2);
}
.small {
	font-size: var(--t-small);
}
.eyebrow {
	display: inline-block;
	font-size: var(--t-small);
	font-weight: 600;
	color: var(--accent-pressed);
	letter-spacing: 0.02em;
	margin-bottom: var(--s-s);
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: calc(var(--page) + 2 * var(--gutter, 20px));
	margin: 0 auto;
	padding: 0 var(--gutter, 20px);
}
@media (min-width: 768px) {
	.container {
		--gutter: 32px;
	}
}
.section {
	padding: var(--s-section) 0;
}
.section--tight {
	padding: var(--s-huge) 0;
}
.section--white {
	background: var(--bg-surface);
}
.section-head {
	max-width: var(--prose);
	margin-bottom: var(--s-xxxl);
}
.section-head--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.prose {
	max-width: var(--prose);
}
.grid {
	display: grid;
	gap: var(--s-xxl);
}
@media (min-width: 640px) {
	.grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1000px) {
	.grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}
.split {
	display: grid;
	gap: var(--s-xxxl);
	align-items: center;
}
@media (min-width: 900px) {
	.split {
		grid-template-columns: 1fr 1fr;
		gap: var(--s-huge);
	}
	.split--flip > :first-child {
		order: 2;
	}
}
.stack > * + * {
	margin-top: var(--s-l);
}

/* ---------- Skip link ---------- */
.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	background: var(--bg-inverse);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--r-s);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus {
	top: 12px;
	color: #fff;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid var(--stroke-divider);
}
.site-header__bar {
	display: flex;
	align-items: center;
	gap: var(--s-xxl);
	height: var(--header-h);
}
.brand-link {
	display: inline-flex;
	align-items: center;
	flex: none;
	padding: 6px 0;
	border-radius: var(--r-s);
}
.brand-link img {
	display: block;
	height: 34px;
	width: auto;
}
.site-nav {
	margin-left: auto;
}
.site-nav ul {
	display: flex;
	gap: var(--s-xs);
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--s-m);
	color: var(--fg-2);
	font-size: var(--t-small);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--r-s);
	transition: background-color var(--m-fast), color var(--m-fast);
}
.site-nav a:hover {
	color: var(--fg-1);
	background: var(--bg-subtle);
}
.site-nav a[aria-current='page'] {
	color: var(--fg-1);
}
.site-nav a[aria-current='page']::after {
	content: '';
	position: absolute;
	left: var(--s-m);
	right: var(--s-m);
	bottom: 2px;
	height: 3px;
	border-radius: 3px;
	background: var(--accent);
}
.site-nav .nav-cta {
	margin-left: var(--s-s);
	color: var(--fg-on-accent);
	background: var(--accent);
	padding: 0 var(--s-l);
}
.site-nav .nav-cta:hover {
	color: #fff;
	background: var(--accent-pressed);
}
.menu-toggle {
	display: none;
}
@media (max-width: 899.98px) {
	:root {
		--header-h: 60px;
	}
	.brand-link img {
		height: 30px;
	}
	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: var(--s-s);
		margin-left: auto;
		min-height: 44px;
		padding: 0 var(--s-m);
		font: inherit;
		font-size: var(--t-small);
		font-weight: 600;
		color: var(--fg-1);
		background: var(--bg-surface);
		border: 1px solid var(--stroke-soft);
		border-radius: var(--r-m);
		cursor: pointer;
		text-decoration: none;
	}
	.menu-toggle[hidden] {
		display: none;
	}
	.menu-toggle svg {
		width: 20px;
		height: 20px;
	}
	.menu-toggle .icon-close {
		display: none;
	}
	.menu-toggle[aria-expanded='true'] .icon-open {
		display: none;
	}
	.menu-toggle[aria-expanded='true'] .icon-close {
		display: block;
	}
	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--bg-surface);
		border-bottom: 1px solid var(--stroke-divider);
		box-shadow: var(--shadow-16);
		padding: var(--s-s) var(--gutter, 20px) var(--s-l);
	}
	.site-nav.is-open {
		display: block;
	}
	.site-nav ul {
		flex-direction: column;
		gap: 0;
	}
	.site-nav a {
		min-height: 52px;
		font-size: var(--t-body);
		padding: 0 var(--s-m);
		border-bottom: 1px solid var(--stroke-divider);
		border-radius: 0;
	}
	.site-nav li:last-child a {
		border-bottom: 0;
	}
	.site-nav a[aria-current='page']::after {
		left: 0;
		right: auto;
		top: 12px;
		bottom: 12px;
		width: 3px;
		height: auto;
	}
	.site-nav .nav-cta {
		margin: var(--s-m) 0 0;
		justify-content: center;
		border-radius: var(--r-m);
		border-bottom: 0;
	}
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-s);
	min-height: 48px;
	padding: 0 var(--s-xxl);
	border-radius: var(--r-m);
	border: 1px solid transparent;
	font: inherit;
	font-size: var(--t-body);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--m-fast), border-color var(--m-fast), box-shadow var(--m-fast);
}
.btn--primary {
	background: var(--accent);
	color: var(--fg-on-accent);
}
.btn--primary:hover {
	background: var(--accent-pressed);
	color: var(--fg-on-accent);
}
.btn--secondary {
	background: var(--bg-surface);
	color: var(--fg-1);
	border-color: var(--stroke-soft);
}
.btn--secondary:hover {
	color: var(--fg-1);
	border-color: var(--stroke-control);
	background: var(--bg-subtle);
}
.btn--subtle {
	background: var(--accent-subtle);
	color: var(--accent-pressed);
}
.btn--subtle:hover {
	color: var(--accent-pressed);
	background: #dcebfa;
}
.btn svg {
	width: 20px;
	height: 20px;
	flex: none;
}
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-m);
	align-items: center;
}
.text-link {
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
}
.text-link:hover {
	text-decoration: underline;
}
.text-link svg {
	width: 16px;
	height: 16px;
	transition: transform var(--m-fast);
}
.text-link:hover svg {
	transform: translateX(2px);
}

/* Store buttons (self-made, D-11) */
.store-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--s-m);
	min-height: 56px;
	min-width: 200px;
	padding: 8px 20px 8px 16px;
	background: var(--bg-inverse);
	color: #fff;
	border-radius: var(--r-m);
	text-decoration: none;
	line-height: 1.15;
	transition: background-color var(--m-fast), transform var(--m-fast);
}
.store-btn:hover {
	background: #000;
	color: #fff;
}
.store-btn svg {
	width: 28px;
	height: 28px;
	flex: none;
}
.store-btn small {
	display: block;
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.9;
}
.store-btn span {
	font-size: 1.125rem;
	font-weight: 600;
}
.store-note {
	margin-top: var(--s-m);
	font-size: var(--t-small);
	color: var(--fg-2);
}

/* ---------- Cards, pills ---------- */
.card {
	background: var(--bg-surface);
	border-radius: var(--r-l);
	box-shadow: var(--shadow-4);
	padding: var(--s-xxl);
}
.card > :last-child {
	margin-bottom: 0;
}
.card--link {
	position: relative;
	transition: box-shadow var(--m-base), transform var(--m-base);
}
.card--link:hover {
	box-shadow: var(--shadow-16);
}
.card--link a.stretched::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.card--flat {
	box-shadow: none;
	border: 1px solid var(--stroke-divider);
}
.card--dashed {
	background: transparent;
	box-shadow: none;
	border: 2px dashed var(--stroke-soft);
}
.card h3 {
	margin-bottom: var(--s-s);
}
.icon-tile {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--r-m);
	background: var(--accent-subtle);
	color: var(--accent-pressed);
	margin-bottom: var(--s-l);
}
.icon-tile svg {
	width: 24px;
	height: 24px;
}
.icon-tile--warm {
	background: #fdf0e7;
	color: var(--pumpkin);
}
.icon-tile--olive {
	background: #edf3e4;
	color: var(--zena-olive);
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px;
	border-radius: var(--r-pill);
	font-size: var(--t-caption);
	font-weight: 600;
	line-height: 1.6;
	background: var(--accent-subtle);
	color: var(--accent-pressed);
	white-space: nowrap;
}
.pill--neutral {
	background: var(--bg-subtle);
	color: var(--fg-2);
}
.pill--premium {
	background: var(--accent-pressed);
	color: #fff;
}
.pill--olive {
	background: #e4edd6;
	color: var(--zena-olive-deep);
}
.pill svg {
	width: 14px;
	height: 14px;
}
.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-s);
	margin-bottom: var(--s-l);
}

/* Placeholder token (owner follow-up, shown on purpose) */
.ph {
	background: #fff4ce;
	color: #4d3800;
	outline: 1px dashed #835c00;
	border-radius: 4px;
	padding: 0 4px;
	font-size: 0.9em;
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* ---------- Hero ---------- */
.hero {
	padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
	overflow: hidden;
}
.hero h1 {
	font-size: var(--t-display);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: var(--s-xl);
}
.hero .lead {
	max-width: 36ch;
	margin-bottom: var(--s-xxl);
}
.hero__grid {
	display: grid;
	gap: var(--s-huge);
	align-items: center;
}
@media (min-width: 900px) {
	.hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}
.hero--zena {
	background: var(--zena-cream);
}
.hero--zena .lead {
	color: #4d4d4d;
}
.hero-logo {
	height: 44px;
	width: auto;
	margin-bottom: var(--s-xl);
	display: block;
}
.hero-visual {
	position: relative;
	display: flex;
	justify-content: center;
}
.hero-visual__bloom {
	position: absolute;
	width: 120%;
	max-width: 520px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.12;
	pointer-events: none;
}

/* Page header (inner pages) */
.page-head {
	padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
}
.page-head h1 {
	margin-bottom: var(--s-m);
}
.page-head .lead {
	max-width: 60ch;
	margin-bottom: 0;
}
.breadcrumb {
	font-size: var(--t-small);
	margin-bottom: var(--s-m);
}
.breadcrumb ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	color: var(--fg-2);
}
.breadcrumb li + li::before {
	content: '›';
	margin-right: 6px;
	color: var(--fg-2);
}

/* ---------- App cards (apps index + home) ---------- */
.app-card {
	display: flex;
	flex-direction: column;
	gap: var(--s-l);
	height: 100%;
}
.app-card__top {
	display: flex;
	align-items: center;
	gap: var(--s-l);
}
.app-card__icon {
	width: 64px;
	height: 64px;
	flex: none;
	border-radius: 16px;
	box-shadow: var(--shadow-2);
}
.app-card__icon--empty {
	display: grid;
	place-items: center;
	background: var(--bg-subtle);
	box-shadow: none;
	border: 2px dashed var(--stroke-soft);
	color: var(--fg-2);
}
.app-card__icon--empty svg {
	width: 28px;
	height: 28px;
}
.app-card h3 {
	margin: 0;
}
.app-card h3 a {
	color: inherit;
	text-decoration: none;
}
.app-card p {
	color: var(--fg-2);
	margin: 0;
}
.app-card__meta {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-s);
}
.app-card--featured {
	background: linear-gradient(180deg, var(--zena-cream) 0, #fff 70%);
}

/* ---------- Feature blocks ---------- */
.feature h2 {
	margin-bottom: var(--s-m);
}
.checklist {
	list-style: none;
	padding: 0;
	margin: var(--s-xl) 0;
}
.checklist li {
	position: relative;
	padding-left: 32px;
	margin-bottom: var(--s-m);
}
.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--accent-subtle)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230f548c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / 16px no-repeat;
}
.steps {
	counter-reset: step;
	list-style: none;
	padding: 0;
}
.steps > li {
	counter-increment: step;
	position: relative;
	padding-left: 56px;
	margin-bottom: var(--s-xxl);
}
.steps > li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
}
.steps h3 {
	font-size: var(--t-headline);
	margin-bottom: var(--s-xs);
	padding-top: 8px;
}
.steps p {
	color: var(--fg-2);
	margin: 0;
}
.steps--cards {
	display: grid;
	gap: var(--s-xxl);
}
@media (min-width: 900px) {
	.steps--cards {
		grid-template-columns: repeat(3, 1fr);
	}
}
.steps--cards > li {
	background: var(--bg-surface);
	border-radius: var(--r-l);
	box-shadow: var(--shadow-4);
	padding: var(--s-xxl);
	padding-top: 76px;
	margin: 0;
}
.steps--cards > li::before {
	left: var(--s-xxl);
	top: var(--s-xxl);
}

/* ---------- Comparison table ---------- */
.table-wrap {
	overflow-x: auto;
	border-radius: var(--r-l);
	box-shadow: var(--shadow-4);
	background: var(--bg-surface);
	margin-bottom: var(--s-l);
}
.compare {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: var(--t-small);
}
.compare caption {
	text-align: left;
	padding: var(--s-l) var(--s-xl) 0;
	font-weight: 600;
}
.compare th,
.compare td {
	padding: 14px var(--s-xl);
	border-bottom: 1px solid var(--stroke-divider);
	text-align: left;
	vertical-align: top;
}
.compare thead th {
	font-size: var(--t-small);
	color: var(--fg-1);
	background: var(--bg-surface);
}
.compare td:not(:first-child),
.compare th:not(:first-child) {
	text-align: center;
	width: 20%;
	min-width: 88px;
}
.compare tbody th {
	font-weight: 400;
}
.compare tbody tr:last-child > * {
	border-bottom: 0;
}
.compare .group th {
	background: var(--bg-canvas);
	font-weight: 600;
	color: var(--fg-2);
	font-size: var(--t-caption);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding-top: 10px;
	padding-bottom: 10px;
}
.yes,
.no {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}
.yes {
	background: var(--accent);
	color: #fff;
}
.no {
	color: var(--fg-2);
}
.yes svg,
.no svg {
	width: 14px;
	height: 14px;
}

/* ---------- Pricing ---------- */
.plans {
	display: grid;
	gap: var(--s-xl);
	margin-bottom: var(--s-xl);
}
@media (min-width: 800px) {
	.plans {
		grid-template-columns: repeat(3, 1fr);
	}
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--s-s);
	border: 2px solid transparent;
}
.plan--best {
	border-color: var(--accent);
}
.plan__name {
	display: flex;
	align-items: center;
	gap: var(--s-s);
	font-size: var(--t-h3);
	font-weight: 600;
	margin: 0;
}
.plan__price {
	font-size: 1.5rem;
	font-weight: 700;
	margin: var(--s-s) 0 0;
}
.plan__note {
	color: var(--fg-2);
	font-size: var(--t-small);
	margin: 0;
}

/* ---------- FAQ (details) ---------- */
.faq {
	max-width: var(--prose);
}
.faq details {
	background: var(--bg-surface);
	border-radius: var(--r-l);
	box-shadow: var(--shadow-2);
	margin-bottom: var(--s-m);
}
.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-l);
	padding: var(--s-l) var(--s-xl);
	min-height: 56px;
	font-weight: 600;
	border-radius: var(--r-l);
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '';
	flex: none;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%23242424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
		center / 20px no-repeat;
	transition: transform var(--m-base);
}
.faq details[open] summary::after {
	transform: rotate(180deg);
}
.faq summary:hover {
	background: var(--bg-subtle);
}
.faq .answer {
	padding: 0 var(--s-xl) var(--s-l);
	color: var(--fg-2);
}
.faq .answer > :last-child {
	margin-bottom: 0;
}
.faq h3 {
	font-size: var(--t-h3);
	margin: var(--s-xxxl) 0 var(--s-l);
}
.faq h3:first-child {
	margin-top: 0;
}

/* ---------- Callouts ---------- */
.callout {
	display: flex;
	gap: var(--s-l);
	padding: var(--s-l) var(--s-xl);
	border-radius: var(--r-l);
	background: var(--accent-subtle);
	color: var(--fg-1);
	margin-bottom: var(--s-xl);
}
.callout svg {
	flex: none;
	width: 24px;
	height: 24px;
	color: var(--accent-pressed);
	margin-top: 2px;
}
.callout > div > :last-child {
	margin-bottom: 0;
}
.callout--warm {
	background: #fdf0e7;
}
.callout--warm svg {
	color: var(--pumpkin);
}
.cta-band {
	background: var(--bg-surface);
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-8);
	padding: clamp(28px, 5vw, 56px);
	display: grid;
	gap: var(--s-xxl);
	align-items: center;
}
@media (min-width: 900px) {
	.cta-band {
		grid-template-columns: 1fr auto;
	}
}
.cta-band h2 {
	margin-bottom: var(--s-s);
}
.cta-band p {
	margin: 0;
	color: var(--fg-2);
}
.cta-band--zena {
	background: var(--zena-cream);
	box-shadow: none;
}

/* ---------- Legal / long-form ---------- */
.legal {
	max-width: var(--prose);
}
.legal h2 {
	font-size: 1.5rem;
	margin-top: var(--s-huge);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal h3 {
	font-size: 1.1875rem;
	margin-top: var(--s-xxxl);
}
.legal li {
	margin-bottom: var(--s-s);
}
.legal table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--t-small);
	background: var(--bg-surface);
	border-radius: var(--r-m);
	overflow: hidden;
	box-shadow: var(--shadow-2);
}
.legal th,
.legal td {
	text-align: left;
	vertical-align: top;
	padding: 12px 14px;
	border-bottom: 1px solid var(--stroke-divider);
}
.legal thead th {
	background: var(--bg-subtle);
}
.legal .table-scroll {
	overflow-x: auto;
	margin-bottom: var(--s-l);
}
.legal .table-scroll table {
	min-width: 560px;
	margin: 0;
}
.toc {
	background: var(--bg-surface);
	border-radius: var(--r-l);
	box-shadow: var(--shadow-2);
	padding: var(--s-l) var(--s-xl);
	margin-bottom: var(--s-xxxl);
}
.toc h2 {
	font-size: var(--t-headline);
	margin: 0 0 var(--s-s);
}
.toc ol {
	margin: 0;
	padding-left: 1.25em;
	columns: 2 240px;
	column-gap: var(--s-xxxl);
}
.toc li {
	margin-bottom: 4px;
}
.meta-line {
	font-size: var(--t-small);
	color: var(--fg-2);
}
.kbd-path {
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Family placeholder ---------- */
.photo-ph {
	display: grid;
	place-items: center;
	text-align: center;
	gap: var(--s-s);
	aspect-ratio: 4 / 3;
	border-radius: var(--r-xl);
	border: 2px dashed var(--stroke-soft);
	background: var(--bg-surface);
	color: var(--fg-2);
	padding: var(--s-xxl);
}
.photo-ph img {
	width: 96px;
}
.facts {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: var(--s-s) var(--s-xxl);
	margin: 0;
}
.facts dt {
	font-weight: 600;
}
.facts dd {
	margin: 0;
	color: var(--fg-2);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--bg-surface);
	border-top: 1px solid var(--stroke-divider);
	padding: var(--s-huge) 0 var(--s-xxxl);
	font-size: var(--t-small);
}
.footer-grid {
	display: grid;
	gap: var(--s-xxxl);
}
@media (min-width: 700px) {
	.footer-grid {
		grid-template-columns: 1.6fr repeat(3, 1fr);
	}
}
.footer-brand img {
	height: 30px;
	width: auto;
	display: block;
	margin-bottom: var(--s-m);
}
.footer-brand p {
	color: var(--fg-2);
	max-width: 32ch;
}
.footer-col h2 {
	font-size: var(--t-small);
	font-weight: 600;
	margin: 0 0 var(--s-s);
}
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-col a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--fg-2);
	text-decoration: none;
}
.footer-col a:hover {
	color: var(--fg-1);
	text-decoration: underline;
}
.footer-bottom {
	margin-top: var(--s-xxxl);
	padding-top: var(--s-xl);
	border-top: 1px solid var(--stroke-divider);
	color: var(--fg-2);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s-s);
}
.footer-bottom p {
	margin: 0;
}

/* ---------- Phone mockups (recreated Zena UI, D-12) ---------- */
.phone {
	--ps: 1; /* scale */
	position: relative;
	width: calc(300px * var(--ps));
	flex: none;
	aspect-ratio: 300 / 612;
	border-radius: calc(46px * var(--ps));
	background: #1c1c1c;
	padding: calc(10px * var(--ps));
	box-shadow: var(--shadow-28), inset 0 0 0 2px #3a3a3a;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
.phone__screen {
	position: relative;
	height: 100%;
	border-radius: calc(36px * var(--ps));
	overflow: hidden;
	background: var(--bg-canvas);
	color: var(--fg-1);
	font-size: calc(11px * var(--ps));
	line-height: 1.3;
	text-align: left;
}
.phone__status {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: calc(14px * var(--ps)) calc(26px * var(--ps)) calc(6px * var(--ps));
	font-weight: 600;
	font-size: calc(12px * var(--ps));
}
.phone__status::after {
	content: '';
	width: calc(22px * var(--ps));
	height: calc(10px * var(--ps));
	border-radius: 3px;
	background: linear-gradient(90deg, #242424 0 70%, transparent 70%), #fff;
	box-shadow: inset 0 0 0 1px #242424;
}
.phone__island {
	position: absolute;
	top: calc(10px * var(--ps));
	left: 50%;
	transform: translateX(-50%);
	width: calc(84px * var(--ps));
	height: calc(24px * var(--ps));
	border-radius: 20px;
	background: #000;
}
.phone__body {
	padding: 0 calc(12px * var(--ps));
}
.phone__tabbar {
	position: absolute;
	left: calc(10px * var(--ps));
	right: calc(10px * var(--ps));
	bottom: calc(12px * var(--ps));
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: calc(6px * var(--ps));
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 0 0 1px #e0e0e0, 0 6px 16px rgba(0, 0, 0, 0.1);
	font-size: calc(8.5px * var(--ps));
	font-weight: 600;
	text-align: center;
}
.phone__tabbar span {
	padding: calc(4px * var(--ps)) 0;
	border-radius: 999px;
}
.phone__tabbar i {
	display: block;
	margin: 0 auto 2px;
	width: calc(14px * var(--ps));
	height: calc(14px * var(--ps));
	border-radius: 4px;
	border: calc(2px * var(--ps)) solid currentColor;
	opacity: 0.85;
}
.phone__tabbar .on {
	color: var(--accent);
	background: #ececec;
}
.a-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(18px * var(--ps));
	position: relative;
	padding: calc(6px * var(--ps)) 0 calc(12px * var(--ps));
	font-size: calc(14px * var(--ps));
	font-weight: 600;
}
.a-nav b {
	color: var(--accent);
	font-weight: 400;
	font-size: calc(18px * var(--ps));
	line-height: 1;
}
.a-nav .plus {
	position: absolute;
	right: 0;
	width: calc(30px * var(--ps));
	height: calc(30px * var(--ps));
	border-radius: 50%;
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 1px #ddd;
	background: #fff;
	color: var(--accent);
	font-size: calc(18px * var(--ps));
	font-weight: 400;
}
.a-title {
	font-size: calc(24px * var(--ps));
	font-weight: 700;
	margin: calc(22px * var(--ps)) 0 calc(10px * var(--ps));
	letter-spacing: -0.01em;
}
.a-card {
	background: #fff;
	border-radius: calc(12px * var(--ps));
	padding: calc(12px * var(--ps));
	margin-bottom: calc(10px * var(--ps));
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.a-big {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: calc(20px * var(--ps));
	font-weight: 700;
	letter-spacing: -0.01em;
}
.a-chip {
	font-size: calc(9.5px * var(--ps));
	font-weight: 600;
	background: #f0f0f0;
	border-radius: 999px;
	padding: calc(4px * var(--ps)) calc(8px * var(--ps));
	letter-spacing: 0;
}
.a-eq {
	color: var(--fg-2);
	margin: calc(6px * var(--ps)) 0 calc(8px * var(--ps));
}
.a-bar {
	display: flex;
	gap: 2px;
	height: calc(6px * var(--ps));
	border-radius: 6px;
	overflow: hidden;
	background: #ececec;
}
.a-bar i:nth-child(1) {
	background: var(--teal);
}
.a-bar i:nth-child(2) {
	background: var(--berry);
}
.a-bar i:nth-child(3) {
	background: var(--pumpkin);
}
.a-bar i:nth-child(4) {
	background: var(--fg-3);
}
.a-legend {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	margin-top: calc(8px * var(--ps));
	font-size: calc(9.5px * var(--ps));
	color: var(--fg-2);
}
.a-legend--3 {
	grid-template-columns: repeat(3, 1fr);
}
.a-legend b {
	display: block;
	color: var(--fg-1);
	font-weight: 600;
	font-size: calc(10px * var(--ps));
}
.a-legend span::before {
	content: '';
	display: inline-block;
	width: 0.7em;
	height: 0.7em;
	border-radius: 50%;
	margin-right: 4px;
	background: var(--c, #808080);
}
.a-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: calc(8px * var(--ps)) 0;
	border-top: 1px solid #eee;
}
.a-row:first-child {
	border-top: 0;
}
.a-row small {
	display: block;
	color: var(--fg-2);
	font-size: calc(9.5px * var(--ps));
}
.a-row .v {
	color: var(--fg-2);
	white-space: nowrap;
}
.a-row .ic {
	width: calc(16px * var(--ps));
	height: calc(16px * var(--ps));
	border-radius: 50%;
	background: var(--accent-subtle);
	box-shadow: inset 0 0 0 calc(2px * var(--ps)) var(--accent);
	flex: none;
}
.a-row .grow {
	flex: 1;
}
.a-add {
	color: var(--accent);
	font-weight: 600;
}
.a-sec {
	display: flex;
	justify-content: space-between;
	color: var(--fg-2);
	font-size: calc(9.5px * var(--ps));
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: calc(12px * var(--ps)) calc(4px * var(--ps)) calc(6px * var(--ps));
}
.a-sec span {
	text-transform: none;
	letter-spacing: 0;
}
.a-seg {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #ececec;
	border-radius: calc(8px * var(--ps));
	padding: 2px;
	font-size: calc(10px * var(--ps));
	font-weight: 600;
	text-align: center;
	margin-bottom: calc(10px * var(--ps));
}
.a-seg span {
	padding: calc(5px * var(--ps)) 0;
	border-radius: calc(6px * var(--ps));
}
.a-seg .on {
	background: var(--accent);
	color: #fff;
}
.a-chart {
	display: flex;
	gap: calc(8px * var(--ps));
	height: calc(92px * var(--ps));
	padding: 0 calc(4px * var(--ps));
	border-bottom: 1px solid #e6e6e6;
	margin: calc(10px * var(--ps)) 0 calc(6px * var(--ps));
}
.a-chart span {
	flex: 1;
	position: relative;
}
.a-chart i {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--accent);
	border-radius: 3px 3px 0 0;
}
.a-chart b {
	position: absolute;
	left: -2px;
	right: -2px;
	border-top: 2px dotted #242424;
}
.a-chips {
	display: flex;
	gap: 6px;
	margin-bottom: calc(10px * var(--ps));
	white-space: nowrap;
	overflow: hidden;
}
.a-chips span {
	border: 1px solid #999;
	border-radius: 999px;
	padding: calc(4px * var(--ps)) calc(9px * var(--ps));
	font-size: calc(10px * var(--ps));
}
.a-chips .on {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.a-search {
	background: #ececec;
	border-radius: calc(9px * var(--ps));
	padding: calc(7px * var(--ps)) calc(10px * var(--ps));
	color: var(--fg-2);
	margin-bottom: calc(8px * var(--ps));
}
.a-guides {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: calc(8px * var(--ps));
	margin-bottom: calc(6px * var(--ps));
}
.a-guides div {
	background: #fff;
	border-radius: calc(10px * var(--ps));
	padding: calc(10px * var(--ps));
	font-weight: 600;
	min-height: calc(62px * var(--ps));
}
.a-guides small {
	display: block;
	font-weight: 400;
	color: var(--fg-2);
	margin-top: 2px;
}
.a-thumb {
	width: calc(36px * var(--ps));
	height: calc(36px * var(--ps));
	border-radius: calc(8px * var(--ps));
	flex: none;
	background: radial-gradient(circle at 35% 40%, #e8a33d 0 22%, transparent 23%), radial-gradient(circle at 65% 60%, #ca5010 0 25%, transparent 26%),
		radial-gradient(circle at 40% 70%, #4f7a28 0 18%, transparent 19%), #f7f2dd;
}
.a-thumb--2 {
	background: radial-gradient(circle at 50% 50%, #c239b3 0 20%, transparent 21%), radial-gradient(circle at 30% 30%, #4f7a28 0 20%, transparent 21%),
		radial-gradient(circle at 70% 70%, #e8a33d 0 18%, transparent 19%), #efe7c6;
}
.a-thumb--3 {
	background: radial-gradient(circle at 40% 45%, #ca5010 0 28%, transparent 29%), radial-gradient(circle at 70% 30%, #038387 0 14%, transparent 15%), #ebf3fc;
}
.a-btn {
	display: block;
	text-align: center;
	border-radius: calc(10px * var(--ps));
	padding: calc(9px * var(--ps));
	font-weight: 600;
	margin-top: calc(8px * var(--ps));
	background: var(--accent);
	color: #fff;
}
.a-btn--subtle {
	background: var(--accent-subtle);
	color: var(--accent-pressed);
}
.a-btn--text {
	background: none;
	color: var(--accent);
}
.a-sheet-head {
	display: flex;
	justify-content: center;
	position: relative;
	font-weight: 600;
	font-size: calc(13px * var(--ps));
	padding: calc(6px * var(--ps)) 0 calc(14px * var(--ps));
}
.a-sheet-head span {
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 400;
}
.a-line {
	height: calc(70px * var(--ps));
	margin: calc(6px * var(--ps)) 0;
}
.a-line svg {
	width: 100%;
	height: 100%;
}
.a-insight {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.a-insight::before {
	content: '';
	flex: none;
	width: calc(12px * var(--ps));
	height: calc(16px * var(--ps));
	margin-top: 2px;
	border-radius: 50% 50% 35% 35%;
	box-shadow: inset 0 0 0 calc(1.6px * var(--ps)) var(--accent);
}
.a-lock {
	color: var(--fg-2);
	font-size: calc(9.5px * var(--ps));
}
.phone-pair {
	display: flex;
	justify-content: center;
	gap: var(--s-xl);
}
.phone-pair .phone:nth-child(2) {
	margin-top: 48px;
}
@media (max-width: 599.98px) {
	.phone {
		--ps: 0.92;
	}
	.phone-pair .phone {
		--ps: 0.6;
	}
	.phone-pair .phone:nth-child(2) {
		margin-top: 32px;
	}
}
.visual-panel {
	position: relative;
	display: flex;
	justify-content: center;
	padding: var(--s-xxxl) var(--s-l);
	border-radius: var(--r-xl);
	background: var(--accent-subtle);
	overflow: hidden;
}
.visual-panel--cream {
	background: var(--zena-cream);
}
.visual-panel--warm {
	background: #fdf0e7;
}
.visual-panel--olive {
	background: #edf3e4;
}

/* ---------- Utilities ---------- */
.center {
	text-align: center;
}
.mt-0 {
	margin-top: 0;
}
.mb-0 {
	margin-bottom: 0;
}
.mt-l {
	margin-top: var(--s-xxxl);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
@media print {
	.site-header,
	.site-footer,
	.skip-link {
		display: none;
	}
	body {
		background: #fff;
	}
}

/* Sample data for the recreated screens (no inline styles: CSP style-src 'self') */
.a-bar--today i:nth-child(1) { flex: 0 0 18%; }
.a-bar--today i:nth-child(2) { flex: 0 0 9.5%; }
.a-bar--today i:nth-child(3) { flex: 0 0 12.5%; }
.a-bar--today i:nth-child(4) { flex: 0 0 2.5%; }
.a-bar--insight i:nth-child(1) { flex: 0 0 27%; }
.a-bar--insight i:nth-child(2) { flex: 0 0 10%; }
.a-bar--insight i:nth-child(3) { flex: 0 0 17.5%; }
.a-bar--avg i:nth-child(1) { flex: 0 0 35%; }
.a-bar--avg i:nth-child(2) { flex: 0 0 24%; }
.a-bar--avg i:nth-child(3) { flex: 0 0 35%; }
.a-bar--avg i:nth-child(4) { flex: 1; }
.a-chart--week span:nth-child(1) i { height: 78%; }
.a-chart--week span:nth-child(1) b { bottom: 95%; }
.a-chart--week span:nth-child(2) i { height: 52%; }
.a-chart--week span:nth-child(2) b { bottom: 84%; }
.a-chart--week span:nth-child(3) i { height: 78%; }
.a-chart--week span:nth-child(3) b { bottom: 95%; }
.a-chart--week span:nth-child(4) i { height: 40%; }
.a-chart--week span:nth-child(4) b { bottom: 84%; }
.a-chart--week span:nth-child(5) i { height: 78%; }
.a-chart--week span:nth-child(5) b { bottom: 95%; }
.a-chart--week span:nth-child(6) i { height: 52%; }
.a-chart--week span:nth-child(6) b { bottom: 84%; }
.lg-c { --c: var(--teal); }
.lg-p { --c: var(--berry); }
.lg-f { --c: var(--pumpkin); }
.lg-b { --c: var(--accent); }
.a-seg--3 { grid-template-columns: repeat(3, 1fr); }
.a-search { display: flex; justify-content: space-between; }
.a-scan { color: var(--accent); font-weight: 600; }
.a-plus {
	width: calc(20px * var(--ps));
	height: calc(20px * var(--ps));
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1.5px solid var(--accent);
	color: var(--accent);
	font-weight: 600;
	line-height: 1;
}
:where(ul.grid, ol.grid, .app-list) {
	list-style: none;
	padding: 0;
	margin: 0;
}
@media (min-width: 600px) {
	.phone-pair .phone {
		--ps: 0.74;
	}
}
.h3-size {
	font-size: var(--t-h3);
	font-weight: 600;
}
.center-block {
	text-align: center;
	margin: 0 auto;
}
.center-block .btn-row {
	justify-content: center;
}
.center-block .lead {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- v2 (founder-design-review-1) ---------- */
/* F-1 */
.plans {
	list-style: none;
	padding: 0;
}
/* F-2 */
.plan__price .ph {
	font-size: 1.0625rem;
}
.plan__period {
	margin: 0;
	color: var(--fg-2);
	font-size: var(--t-small);
	font-weight: 600;
}
/* F-3: compact icon rows */
.icon-rows {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--s-xl) var(--s-xxxl);
}
@media (min-width: 640px) {
	.icon-rows {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1000px) {
	.icon-rows--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}
.icon-rows li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 0 var(--s-l);
	align-items: start;
}
.icon-rows .icon-tile {
	width: 40px;
	height: 40px;
	margin: 0;
	grid-row: span 2;
}
.icon-rows .icon-tile svg {
	width: 22px;
	height: 22px;
}
.icon-rows h3 {
	font-size: var(--t-headline);
	margin: 0 0 2px;
	padding-top: 1px;
}
.icon-rows p {
	margin: 0;
	color: var(--fg-2);
	font-size: var(--t-small);
}
/* F-4: stacked tables on phones */
@media (max-width: 639.98px) {
	.legal .table-scroll table,
	.legal .table-scroll thead,
	.legal .table-scroll tbody,
	.legal .table-scroll tr,
	.legal .table-scroll th,
	.legal .table-scroll td {
		display: block;
		min-width: 0;
	}
	.legal .table-scroll table {
		background: none;
		box-shadow: none;
	}
	.legal .table-scroll thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.legal .table-scroll tr {
		background: var(--bg-surface);
		border-radius: var(--r-m);
		box-shadow: var(--shadow-2);
		margin-bottom: var(--s-m);
		padding: var(--s-s) 0;
	}
	.legal .table-scroll th,
	.legal .table-scroll td {
		border: 0;
		padding: 4px var(--s-l);
	}
	.legal .table-scroll th[scope='row'] {
		font-size: var(--t-body);
	}
	.legal .table-scroll td::before {
		content: attr(data-label);
		display: block;
		font-size: var(--t-caption);
		font-weight: 600;
		color: var(--fg-2);
	}
}
/* F-5: family bloom story */
.family-card {
	display: grid;
	gap: var(--s-xxl);
	align-items: center;
	background: var(--zena-cream);
	border-radius: var(--r-xl);
	padding: clamp(24px, 4vw, 40px);
}
@media (min-width: 600px) {
	.family-card {
		grid-template-columns: auto 1fr;
	}
}
.family-card > img {
	width: clamp(140px, 22vw, 200px);
	height: auto;
	justify-self: center;
}
.family-card h2 {
	font-size: var(--t-h3);
	margin-bottom: var(--s-s);
}
.family-card p {
	color: #3d3d3d;
}
.leaf-legend {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 6px var(--s-xxl);
	font-size: var(--t-small);
	font-weight: 600;
}
.leaf-legend li::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50% 0;
	margin-right: 8px;
	vertical-align: -1px;
	background: var(--c);
}
.leaf-legend .l1 { --c: #0f6cbd; }
.leaf-legend .l2 { --c: #0f548c; }
.leaf-legend .l3 { --c: #ca5010; }
.leaf-legend .l4 { --c: #f0a04b; }
.photo-note {
	display: flex;
	gap: var(--s-s);
	align-items: center;
	font-size: var(--t-small);
	color: var(--fg-2);
	margin-top: var(--s-l);
}
.photo-note svg {
	width: 20px;
	height: 20px;
	flex: none;
}
/* F-6 */
.a-row.a-insight {
	justify-content: flex-start;
}
/* F-7 */
.premium-cards {
	margin-top: var(--s-huge);
}
.icon-rows li {
	align-content: start;
}
.a-legend b {
	white-space: nowrap;
	font-size: calc(9.5px * var(--ps));
	letter-spacing: -0.01em;
}
/* F-8 */
.hero-pills {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-s);
	list-style: none;
	padding: 0;
	margin: 0 0 var(--s-xl);
}
.hero-pills li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.75);
	box-shadow: inset 0 0 0 1px #e4dcb8;
	font-size: var(--t-small);
	font-weight: 600;
	color: var(--zena-olive-deep);
}
.hero-pills svg {
	width: 16px;
	height: 16px;
}
/* F-9 */
.table-wrap:focus-visible {
	outline-offset: 4px;
}
/* F-10 */
.phone__tabbar svg {
	display: block;
	margin: 0 auto 2px;
	width: calc(15px * var(--ps));
	height: calc(15px * var(--ps));
}
/* F-11 */
.card--link a.stretched {
	color: inherit;
	text-decoration: none;
}
.card--link:hover a.stretched,
.card--link a.stretched:focus-visible {
	text-decoration: underline;
	color: var(--accent-pressed);
}
/* F-3: shorter Zena page on phones */
@media (max-width: 599.98px) {
	:root {
		--s-section: 48px;
	}
	.split > .visual-panel .phone {
		--ps: 0.74;
	}
	.visual-panel {
		padding: var(--s-xl) var(--s-m);
	}
	.steps--cards > li {
		padding: var(--s-xl) var(--s-xl) var(--s-xl) 72px;
	}
	.steps--cards > li::before {
		left: var(--s-xl);
		top: var(--s-xl);
	}
	.steps--cards h3 {
		padding-top: 6px;
	}
	.compare th,
	.compare td {
		padding: 12px 12px;
	}
	.compare td:not(:first-child),
	.compare th:not(:first-child) {
		min-width: 0;
		width: 72px;
	}
	.section-head {
		margin-bottom: var(--s-xxl);
	}
	.checklist li {
		margin-bottom: var(--s-s);
	}
}
@media (max-width: 599.98px) {
	.premium-cards .card {
		display: grid;
		grid-template-columns: 40px 1fr;
		gap: 0 var(--s-l);
		padding: var(--s-l) var(--s-xl);
	}
	.premium-cards .icon-tile {
		width: 40px;
		height: 40px;
		margin: 0;
		grid-row: span 2;
	}
	.premium-cards h3 {
		font-size: var(--t-headline);
		margin: 0 0 2px;
	}
	.premium-cards p {
		font-size: var(--t-small);
	}
	.split > .visual-panel {
		max-height: 380px;
		align-items: flex-start;
	}
	.split > .visual-panel::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 56px;
		background: linear-gradient(transparent, var(--panel-bg, var(--accent-subtle)));
	}
	.visual-panel--cream { --panel-bg: var(--zena-cream); }
	.visual-panel--warm { --panel-bg: #fdf0e7; }
	.compare td:not(:first-child),
	.compare th:not(:first-child) {
		width: 64px;
		padding-left: 6px;
		padding-right: 6px;
	}
}
@media (max-width: 599.98px) {
	.hero {
		padding-bottom: 40px;
	}
}
/* N-1 (founder-design-review-3) */
.page-head + .legal-section {
	padding-top: var(--s-s);
}
/* v3.2 (founder-impl-review-1) */
.store-note + .store-note {
	margin-top: -8px;
}
.cta-band .store-note {
	margin-top: var(--s-s);
}
/* v4: one app so far — the card spans two columns instead of sitting alone in a three-column grid */
@media (min-width: 640px) {
	.app-list > li:only-child {
		grid-column: span 2;
	}
}
