/*
 * WP Calorie Calculator — 2026 theme.
 * Plain CSS, no build step. Sections: tokens, base, layout, type, controls, header, footer, home, prose, forms, utilities.
 * Rule from Alex: an element with border-radius gets a border on all four sides or none — never one side,
 * never an inset side stripe. Active states use background, color, a dot or a full ring.
 */

/* ---------- 1. Tokens ---------- */
:root {
	--ink: #231a3a;
	--body: #4a4362;
	--muted: #554e6b;
	--muted-2: #6a6380;
	--line: rgba(35, 26, 58, 0.12);
	--ring: 0 0 0 1px rgba(35, 26, 58, 0.1);

	--cream: #fbf6ee;
	--warm: #fffcf7;
	--white: #ffffff;
	--sand: #f6f1ea;
	--track: #f1eadf;

	--accent: #d2401f;
	--accent-dark: #a8331a;
	--accent-tint: #f9e6e2;
	--accent-shadow: rgba(210, 64, 31, 0.6);

	--mint: #dff3ec;
	--peach: #ffe7dc;
	--butter: #fff1cc;
	--lilac: #ece6fa;
	--sky: #ddeff8;
	--result: #fff3ea;

	--dark: #1e1634;
	--dark-2: #231a3f;
	--footer: #1a1330;
	--on-dark: #fbf6ee;
	--on-dark-muted: #cfc8e6;
	--on-dark-soft: #bdb5d6;
	--on-dark-accent: #ffb59a;

	--success-bg: #e3f4ec;
	--success: #1c5e43;
	--green: #1f7a55;
	--error: #b3261e;

	--r-lg: 28px;
	--r-card: 24px;
	--r-md: 18px;
	--r-input: 16px;
	--pill: 999px;
	--shadow-card: 0 30px 60px -44px rgba(35, 26, 58, 0.4);
	--shadow-float: 0 40px 80px -40px rgba(35, 26, 58, 0.38);

	--font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-serif: "Fraunces", Georgia, "Times New Roman", serif;

	--sky-gradient: linear-gradient(180deg, #bfe5e3 0%, #d6eee7 36%, #f4eedf 68%, #ffe2d2 100%);
	--sky-band: linear-gradient(180deg, #bfe5e3 0%, #d6eee7 38%, #f4eedf 78%, #fbf6ee 100%);

	--wrap: 1200px;
	--gutter: clamp(20px, 5vw, 48px);
	--section: clamp(72px, 9vw, 120px);
}

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

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

svg {
	max-width: 100%;
}

img {
	display: block;
}

a {
	color: var(--accent-dark);
}

a:hover {
	color: #7f2410;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid rgba(35, 26, 58, 0.45);
	outline-offset: 2px;
}

button {
	font: inherit;
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	border-radius: var(--pill);
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
	box-shadow: var(--shadow-card);
}

.grain {
	position: absolute;
	inset: 0;
	background-image: url("../img/grain.png");
	background-size: 220px 220px;
	opacity: 0.6;
	pointer-events: none;
}

/* ---------- 3. Layout ---------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.wrap--narrow {
	max-width: 1000px;
}

.wrap--text {
	max-width: 780px;
}

.section {
	padding: var(--section) 0;
}

.section--cream {
	background: var(--cream);
}

.section--warm {
	background: var(--warm);
}

.section--flush-top {
	padding-top: 0;
}

.split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

.split > * {
	min-width: 0;
}

.split--top {
	align-items: flex-start;
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.stack--tight {
	gap: 12px;
}

.grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr));
}

/* ---------- 4. Type ---------- */
h1,
h2,
h3,
.serif {
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
}

.h1,
.h2,
.h3 {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
	text-wrap: balance;
}

.h1 {
	font-size: clamp(42px, 4.9vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.025em;
}

.h1--page {
	font-size: clamp(38px, 4.4vw, 64px);
	line-height: 1.03;
}

.h2 {
	font-size: clamp(34px, 3.8vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.02em;
}

.h2--sm {
	font-size: clamp(30px, 3vw, 40px);
	line-height: 1.08;
}

.h3 {
	font-size: clamp(22px, 2vw, 26px);
	line-height: 1.15;
}

.h1 em,
.h2 em,
.h3 em {
	color: var(--accent);
	font-style: italic;
	font-weight: 500;
}

.on-dark .h2 em {
	color: var(--on-dark-accent);
}

.em-block {
	display: block;
}

.lead {
	margin: 0;
	color: var(--body);
	font-size: 18px;
	line-height: 1.6;
	text-wrap: pretty;
}

.lead--hero {
	max-width: 560px;
	font-size: clamp(17px, 1.35vw, 20px);
	line-height: 1.55;
}

.muted {
	color: var(--muted);
}

.small {
	font-size: 14px;
}

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

.text-link:hover {
	color: #7f2410;
}

.text-link svg {
	transition: transform 160ms ease;
}

.text-link:hover svg {
	transform: translateX(3px);
}

/* ---------- 5. Controls ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--pill);
	font-family: var(--font-sans);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--accent);
	color: var(--white);
	box-shadow: 0 16px 30px -14px var(--accent-shadow);
}

.btn--primary:hover {
	background: #bb3518;
	color: var(--white);
}

.btn--secondary {
	background: rgba(255, 255, 255, 0.72);
	color: var(--ink);
	font-weight: 600;
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.12);
}

.btn--secondary:hover {
	background: var(--white);
	color: var(--ink);
}

.btn--dark {
	background: var(--ink);
	color: var(--white);
}

.btn--dark:hover {
	background: #120c21;
	color: var(--white);
}

.btn--ghost-dark {
	background: rgba(255, 255, 255, 0.08);
	color: var(--on-dark);
	font-weight: 600;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn--ghost-dark:hover {
	background: rgba(255, 255, 255, 0.14);
	color: var(--on-dark);
}

.btn--sm {
	min-height: 44px;
	padding: 0 18px;
	font-size: 15px;
}

.btn--md {
	min-height: 48px;
	padding: 0 20px;
	font-size: 16px;
}

.btn[aria-busy="true"] {
	opacity: 0.75;
	pointer-events: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--pill);
	background: var(--track);
	color: #2e2547;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: var(--pill);
	background: var(--accent);
}

/* Segmented track with pill buttons (tabs, switches) */
.seg {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	padding: 5px;
	border-radius: 28px;
	background: var(--track);
}

.seg__btn {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--pill);
	background: transparent;
	color: var(--muted);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}

.seg__btn:hover {
	color: var(--ink);
}

.seg__btn[aria-selected="true"],
.seg__btn[aria-pressed="true"],
.seg__btn[aria-current="page"] {
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 1px 2px rgba(35, 26, 58, 0.12), 0 6px 14px -6px rgba(35, 26, 58, 0.28);
}

.icon-bubble {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--pill);
	background: var(--accent-tint);
	color: var(--accent-dark);
}

.icon-bubble--mint {
	border-radius: 14px;
	background: var(--mint);
	color: var(--green);
}

.check {
	flex: none;
	color: var(--green);
}

/* ---------- 6. Sky band (inner pages) ---------- */
.sky {
	position: relative;
	overflow: hidden;
	padding-top: 88px;
	background: var(--sky-band);
}

.sky__title {
	position: relative;
	z-index: 2;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(24px, 4vw, 56px) var(--gutter) 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.sky__copy {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sky__spot {
	flex: none;
	width: clamp(200px, 20vw, 280px);
	margin-bottom: -40px;
}

.sky__clouds {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-top: -8px;
}

/* ---------- 7. Header ---------- */
body {
	position: relative;
}

/* The header floats over the sky of whatever page follows, so <main> (and its h1) start right after it. */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px clamp(20px, 4vw, 56px);
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.brand:hover {
	color: var(--ink);
}

.brand__name {
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 21px;
	font-weight: 650;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.brand__pro {
	padding: 4px 8px;
	border-radius: var(--pill);
	background: var(--ink);
	color: #fff6ea;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.nav-pill {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 5px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 10px 28px -14px rgba(35, 26, 58, 0.3);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.nav-pill ul {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-pill a {
	display: block;
	padding: 10px 16px;
	border-radius: var(--pill);
	color: #2e2547;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.nav-pill a:hover {
	background: rgba(255, 255, 255, 0.7);
	color: var(--ink);
}

.nav-pill .current-menu-item > a,
.nav-pill .current_page_item > a,
.nav-pill .current-menu-ancestor > a,
.nav-pill a[aria-current="page"] {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 2px rgba(35, 26, 58, 0.1), 0 6px 14px -8px rgba(35, 26, 58, 0.3);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-login {
	padding: 10px 18px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
	color: #2e2547;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.header-login:hover {
	background: rgba(255, 255, 255, 0.85);
	color: var(--ink);
}

.header-login[aria-current="page"] {
	background: rgba(255, 255, 255, 0.95);
	color: var(--ink);
	box-shadow: 0 1px 2px rgba(35, 26, 58, 0.1), 0 6px 14px -8px rgba(35, 26, 58, 0.3);
}

.header-cta {
	padding: 10px 18px;
	border-radius: var(--pill);
	background: var(--accent);
	box-shadow: 0 10px 20px -10px var(--accent-shadow);
	color: var(--white);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.header-cta:hover {
	background: #bb3518;
	color: var(--white);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.75);
	color: var(--ink);
	cursor: pointer;
}

.mobile-nav {
	flex: 1 1 100%;
	padding: 8px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.06), 0 20px 40px -20px rgba(35, 26, 58, 0.35);
}

.mobile-nav[hidden] {
	display: none;
}

.mobile-nav ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav a {
	display: block;
	padding: 14px 16px;
	border-radius: 14px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav .current-menu-item > a,
.mobile-nav a[aria-current="page"] {
	background: var(--sand);
}

.mobile-nav .mobile-nav__cta {
	margin-top: 6px;
	background: var(--accent);
	color: var(--white);
	text-align: center;
}

.mobile-nav .mobile-nav__cta:hover {
	background: #bb3518;
	color: var(--white);
}

/* ---------- 8. Footer ---------- */
.site-footer {
	background: var(--footer);
	color: var(--on-dark-muted);
	padding: clamp(56px, 7vw, 88px) 0 36px;
}

.site-footer a {
	color: #e9e4f7;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 56px;
}

.footer-brand {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-brand .brand,
.footer-brand .brand:hover {
	color: var(--on-dark);
	text-decoration: none;
}

.footer-brand p {
	max-width: 300px;
	margin: 0;
	color: var(--on-dark-soft);
	font-size: 15px;
}

.footer-cols {
	flex: 3 1 560px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 32px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-col h2 {
	margin: 0;
	color: #9c93bc;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col a {
	font-size: 15px;
}

.footer-idea {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
	padding: 24px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.footer-idea strong {
	display: block;
	color: var(--on-dark);
	font-size: 16px;
}

.footer-idea span {
	color: var(--on-dark-soft);
	font-size: 14px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
	color: #9c93bc;
	font-size: 13px;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom .footer-legal {
	display: flex;
	gap: 16px;
}

/* ---------- 9. Home ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--sky-gradient);
	min-height: max(900px, calc(680px + 15vw));
}

.hero__bank {
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 0;
	width: 100%;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
}

.hero__copy {
	position: relative;
	z-index: 4;
	padding: calc(88px + clamp(28px, 6vw, 86px)) clamp(20px, 4vw, 56px) 0;
}

.hero__copy-inner {
	max-width: 820px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border-radius: var(--pill);
	background: rgba(255, 255, 255, 0.62);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
	color: #2e2547;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.hero-badge:hover {
	background: rgba(255, 255, 255, 0.85);
	color: var(--ink);
}

.hero-badge__new {
	padding: 4px 10px;
	border-radius: var(--pill);
	background: var(--accent);
	color: var(--white);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	color: var(--muted);
	font-size: 14px;
	list-style: none;
}

.trust li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.trust strong {
	color: var(--ink);
}

.hero__scene {
	position: absolute;
	right: 0;
	top: 92px;
	width: min(900px, 63%);
}

.hero__scene > img {
	position: relative;
	z-index: 1;
	width: 100%;
}

.lead-chip {
	position: absolute;
	z-index: 3;
	left: 38%;
	top: 84%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px 10px 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.06), 0 20px 40px -18px rgba(35, 26, 58, 0.45);
	white-space: nowrap;
}

.lead-chip__title {
	display: block;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.lead-chip__meta {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

/* Try it */
.try__copy {
	flex: 1 1 380px;
}

.try__demo {
	flex: 1 1 520px;
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.try__demo .seg {
	align-self: center;
}

@media (max-width: 520px) {
	/* The result modes stay on one row: equal columns, a long label wraps inside its own pill. */
	.try__demo .seg,
	.demo-bar .seg {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		align-self: stretch;
		width: 100%;
	}

	.try__demo .seg__btn,
	.demo-bar .seg__btn {
		justify-content: center;
		padding: 4px 8px;
		font-size: 14px;
		line-height: 1.2;
		text-align: center;
	}
}

.steps {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--pill);
	background: var(--accent-tint);
	color: var(--accent-dark);
	font-size: 15px;
	font-weight: 800;
}

.steps strong {
	display: block;
	color: var(--ink);
	font-size: 17px;
}

.steps span {
	display: block;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.55;
}

.calc-frame {
	padding: clamp(16px, 2.6vw, 28px);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.05), var(--shadow-float);
}

.calc-frame:has(.wpcc-skin-soft) {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.calc-panel[hidden] {
	display: none;
}

.calc-caption {
	margin: 0;
	text-align: center;
	color: var(--muted-2);
	font-size: 13px;
}

/* Integrations */
.int-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
	gap: 1px;
	overflow: hidden;
	border-radius: var(--r-card);
	background: rgba(35, 26, 58, 0.1);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.1);
}

.int-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 124px;
	padding: 24px 16px;
	background: var(--white);
	text-align: center;
}

.int-tile strong {
	display: block;
	color: var(--ink);
	font-size: 15px;
}

.int-tile small {
	display: block;
	color: var(--muted-2);
	font-size: 12px;
}

.int-tile--soon {
	background: var(--cream);
}

.int-tile--soon span {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.brand-mark {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 14px;
}

.brand-mark svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.brand-mark--mailchimp {
	background: #ffe01b;
	color: #241c15;
}

.brand-mark--mailchimp svg {
	width: 27px;
	height: 27px;
}

.brand-mark--hubspot {
	background: #ffe8e0;
	color: #ff5c35;
}

/* Zapier's mark is its own orange tile with the word cut out, so it fills ours and white shows through the word. */
.brand-mark--zapier {
	background: #fff;
	color: #ff4f00;
}

.brand-mark--zapier svg {
	width: 52px;
	height: 52px;
}

.brand-mark--kit {
	background: #ffdce5;
	color: #1a1a1a;
}

.brand-mark--kit svg {
	width: 30px;
	height: 30px;
	stroke: currentColor;
	stroke-width: 0.5;
}

.brand-mark--make {
	background: #eee4fb;
	color: #6d00cc;
}

.builders {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.builders__label {
	margin-right: 4px;
	color: #3b3352;
	font-size: 14px;
	font-weight: 700;
}

/* Tinted cards */
.tint-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 210px;
	padding: 28px;
	border-radius: var(--r-card);
}

.tint-card p {
	margin: 0;
	color: var(--body);
	font-size: 16px;
	line-height: 1.55;
}

.tint--mint { background: var(--mint); }
.tint--peach { background: var(--peach); }
.tint--butter { background: var(--butter); }
.tint--lilac { background: var(--lilac); }
.tint--sky { background: var(--sky); }

.illo-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 210px;
}

.illo-tile img {
	width: min(100%, 300px);
}

/* Dark section */
.section--dark {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(720px 440px at 94% 110%, rgba(242, 101, 75, 0.4), rgba(242, 101, 75, 0) 70%),
		radial-gradient(620px 400px at 0% 0%, rgba(110, 200, 180, 0.16), rgba(110, 200, 180, 0) 70%),
		var(--dark);
	color: var(--on-dark-muted);
}

.section--dark .grain {
	opacity: 0.35;
}

.section--dark .h2 {
	color: var(--on-dark);
}

.section--dark .lead {
	color: var(--on-dark-muted);
}

.layout-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 1px;
	overflow: hidden;
	border-radius: var(--r-card);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.layout-cell {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px;
	background: var(--dark-2);
	text-decoration: none;
}

.layout-cell:hover {
	background: #2a2049;
}

.layout-cell__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.layout-cell__meta strong {
	display: block;
	color: var(--on-dark);
	font-size: 16px;
}

.layout-cell__meta span {
	display: block;
	color: var(--on-dark-soft);
	font-size: 13px;
}

.layout-cell__go {
	color: var(--on-dark-accent);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

/* Mini layout previews (pure CSS wireframes) */
.mini {
	height: 168px;
	padding: 16px;
	border-radius: 14px;
	background: #fff9f2;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.mini--center {
	justify-content: center;
	gap: 12px;
}

.mini__label {
	height: 6px;
	border-radius: 3px;
	background: rgba(35, 26, 58, 0.3);
}

.mini__field {
	height: 20px;
	border-radius: 5px;
	background: var(--white);
	box-shadow: inset 0 0 0 1px rgba(35, 26, 58, 0.22);
}

.mini__pill {
	flex: 1;
	height: 26px;
	border-radius: var(--pill);
	background: var(--white);
	box-shadow: inset 0 0 0 1px rgba(35, 26, 58, 0.16);
}

.mini__btn {
	height: 22px;
	border-radius: 5px;
	background: var(--accent);
}

.mini__btn--pill {
	height: 28px;
	border-radius: var(--pill);
}

.mini__row {
	display: flex;
	gap: 6px;
}

.mini__seg {
	display: flex;
	gap: 3px;
	padding: 3px;
	border-radius: var(--pill);
	background: var(--track);
}

.mini__seg span {
	flex: 1;
	height: 18px;
	border-radius: var(--pill);
}

.mini__seg span:first-child {
	background: var(--white);
	box-shadow: 0 1px 3px rgba(35, 26, 58, 0.18);
}

.mini__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 8px;
	height: 100%;
}

.mini__tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.mini__tiles span {
	border-radius: 8px;
	background: var(--white);
	box-shadow: inset 0 0 0 1px rgba(35, 26, 58, 0.14);
}

.mini__tiles span:last-child,
.mini__result {
	background: var(--accent-tint);
	box-shadow: none;
}

.mini__result {
	border-radius: 10px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
}

.mini__steps {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mini__steps i {
	width: 16px;
	height: 16px;
	border-radius: var(--pill);
	background: rgba(35, 26, 58, 0.16);
}

.mini__steps i:first-child {
	background: var(--accent);
}

.mini__steps b {
	flex: 1;
	height: 2px;
	background: rgba(35, 26, 58, 0.18);
}

.mini__boxes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}

.mini__boxes span {
	height: 40px;
	border-radius: 8px;
	background: var(--white);
	box-shadow: inset 0 0 0 1px rgba(35, 26, 58, 0.14);
}

/* Rows with dividers (rows are square, so a top rule is allowed) */
.rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--line);
}

.rows > li {
	border-top: 1px solid var(--line);
}

.row-link {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 0;
	color: var(--ink);
	text-decoration: none;
}

.row-link:hover {
	color: var(--ink);
}

.row-link__text {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.row-link__text strong {
	flex: 0 0 200px;
	font-size: 16px;
}

.row-link__text span {
	flex: 1 1 240px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
}

.row-link svg {
	flex: none;
	color: var(--accent-dark);
	transition: transform 160ms ease;
}

.row-link:hover svg {
	transform: translateX(3px);
}

/* Proof */
.proof-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.proof-head .h2 {
	flex: 1 1 420px;
}

.stats {
	flex: 1 1 520px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 24px;
	margin: 0;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stat dt {
	order: 2;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.stat dd {
	order: 1;
	margin: 0;
	color: var(--accent);
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: clamp(40px, 4vw, 52px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
}

.quote-card {
	margin: 0;
	padding: 30px;
	border-radius: var(--r-card);
	background: var(--white);
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}

.quote-card blockquote {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 21px;
	font-weight: 450;
	line-height: 1.4;
}

.quote-card figcaption strong {
	display: block;
	color: var(--ink);
	font-size: 15px;
}

.quote-card figcaption span {
	color: var(--muted);
	font-size: 14px;
}

/* Features */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 36px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.feature h3 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	font-weight: 700;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.55;
}

/* Pricing teaser */
.price-card {
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: var(--r-lg);
	background: var(--white);
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.plan-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 18px 0;
}

.plan-row__name {
	flex: 1 1 150px;
}

.plan-row__name strong {
	display: block;
	color: var(--ink);
	font-size: 17px;
}

.plan-row__name span {
	color: var(--muted);
	font-size: 14px;
}

.plan-row__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	color: var(--muted);
	font-size: 14px;
}

.plan-row__price b {
	color: var(--ink);
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 32px;
	font-weight: 600;
}

.discount-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	padding: 8px 14px 8px 8px;
	border-radius: var(--pill);
	background: var(--accent-tint);
	color: var(--accent-dark);
	font-size: 14px;
	font-weight: 700;
}

.discount-pill b {
	padding: 3px 9px;
	border-radius: var(--pill);
	background: var(--accent);
	color: var(--white);
	font-size: 12px;
	font-weight: 800;
}

.free-card {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: var(--r-lg);
	background: var(--mint);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.free-card .h2 em {
	color: #1f6b4b;
}

.free-card p {
	max-width: 340px;
	margin: 0;
	color: #3e4e47;
	font-size: 16px;
	line-height: 1.55;
}

.free-card__illo {
	position: absolute;
	right: -8px;
	bottom: -14px;
	width: min(46%, 250px);
	pointer-events: none;
}

/* CTA band + parade */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--sky-gradient);
	padding-top: clamp(80px, 9vw, 128px);
}

.cta-band__copy {
	position: relative;
	z-index: 2;
	max-width: 860px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}

.cta-band__copy .h2 {
	font-size: clamp(36px, 4.4vw, 64px);
}

.cta-band__ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.cta-band__parade {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-top: clamp(8px, 2vw, 24px);
}

/* ---------- 10. Prose (pages, posts, docs) ---------- */
.prose {
	color: var(--body);
	font-size: 18px;
	line-height: 1.7;
}

.prose > * {
	margin-top: 0;
	margin-bottom: 0;
}

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

.prose > :first-child {
	margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
	margin: 1.8em 0 0.5em;
	color: var(--ink);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.prose h2 { font-size: clamp(28px, 2.6vw, 36px); }
.prose h3 { font-size: clamp(22px, 2vw, 26px); }
.prose h4 { font-family: var(--font-sans); font-size: 18px; font-weight: 700; }

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose li::marker {
	color: var(--accent);
}

.prose a {
	color: var(--accent-dark);
	font-weight: 600;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose strong {
	color: var(--ink);
}

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

.prose blockquote {
	margin: 1.6em 0;
	padding: 24px 28px;
	border-radius: var(--r-md);
	background: var(--peach);
	color: var(--ink);
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 22px;
	line-height: 1.45;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.prose th,
.prose td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
}

.prose tr:nth-child(even) {
	background: var(--sand);
}

.prose code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--sand);
	color: var(--ink);
	font-size: 0.88em;
}

.prose pre {
	overflow-x: auto;
	padding: 18px 20px;
	border-radius: var(--r-md);
	background: var(--dark);
	color: var(--on-dark);
}

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

.prose hr {
	height: 1px;
	margin: 2em 0;
	border: 0;
	background: var(--line);
}

.prose figure {
	margin: 1.6em 0;
}

.prose figcaption {
	margin-top: 8px;
	color: var(--muted-2);
	font-size: 14px;
	text-align: center;
}

/* ---------- 11. Forms (base, Gravity Forms, EDD) ---------- */
.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field label,
.gform_wrapper .gfield_label,
#edd_checkout_form_wrap label {
	color: #3b3352;
	font-size: 14px;
	font-weight: 700;
}

.input,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper select,
.gform_wrapper textarea,
#edd_checkout_form_wrap input[type="text"],
#edd_checkout_form_wrap input[type="email"],
#edd_checkout_form_wrap input[type="password"],
#edd_checkout_form_wrap select,
.edd-login-form input[type="text"],
.edd-login-form input[type="password"],
#edd_login_form input[type="text"],
#edd_login_form input[type="password"],
#edd_profile_editor_form input[type="text"],
#edd_profile_editor_form input[type="email"],
#edd_profile_editor_form input[type="password"] {
	width: 100%;
	min-height: 50px;
	padding: 0 16px;
	border: 1.5px solid rgba(35, 26, 58, 0.16);
	border-radius: var(--r-input);
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	box-shadow: none;
}

.gform_wrapper textarea,
textarea.input {
	min-height: 140px;
	padding: 14px 16px;
	line-height: 1.5;
}

.input:focus,
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus,
#edd_checkout_form_wrap input:focus,
#edd_checkout_form_wrap select:focus {
	border-color: var(--accent);
	outline: 3px solid rgba(210, 64, 31, 0.18);
	outline-offset: 0;
}

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
#edd-purchase-button,
.edd-submit,
#edd_login_submit,
#edd_profile_editor_submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: var(--pill) !important;
	background: var(--accent) !important;
	color: var(--white) !important;
	font-family: var(--font-sans) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	box-shadow: 0 16px 30px -14px var(--accent-shadow);
	cursor: pointer;
}

.gform_wrapper .gform_button:hover,
#edd-purchase-button:hover,
.edd-submit:hover {
	background: #bb3518 !important;
}

.notice-box {
	padding: 16px 18px;
	border-radius: var(--r-md);
	background: var(--success-bg);
	color: var(--success);
	font-size: 15px;
}

.notice-box--error {
	background: #fde8e6;
	color: var(--error);
}

/* ---------- 12. Utilities ---------- */
.center {
	text-align: center;
}

.mt-0 { margin-top: 0; }

.max-720 {
	max-width: 720px;
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 900px) {
	.nav-pill,
	.header-login {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.hero {
		min-height: 0;
		padding-bottom: 24px;
	}

	.hero__scene {
		position: relative;
		top: auto;
		right: auto;
		width: 118%;
		margin: 8px 0 0 -12%;
	}

	.lead-chip {
		left: 22%;
		top: 80%;
	}

	.int-grid > :last-child {
		grid-column: 1 / -1;
	}

	.sky__spot {
		display: none;
	}
}

@media (max-width: 520px) {
	.site-header {
		gap: 10px;
		padding: 18px 20px;
	}

	.brand {
		gap: 10px;
	}

	.brand__mark {
		width: 36px;
		height: 36px;
	}

	.brand__name {
		font-size: 17px;
	}

	.brand__pro,
	.header-cta {
		display: none;
	}

	.lead-chip__meta {
		display: none;
	}

	.btn {
		width: 100%;
	}

	.hero__ctas .btn,
	.cta-band__ctas .btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- 14. Cookie notice ---------- */
.cookie-note {
	position: fixed;
	z-index: 50;
	left: 16px;
	bottom: 16px;
	max-width: 380px;
	padding: 18px;
	border-radius: 22px;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.08), 0 24px 48px -20px rgba(35, 26, 58, 0.45);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cookie-note[hidden] {
	display: none;
}

.cookie-note p {
	margin: 0;
	color: var(--body);
	font-size: 14px;
	line-height: 1.5;
}

.cookie-note__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

@media (max-width: 520px) {
	.cookie-note {
		left: 12px;
		right: 12px;
		max-width: none;
	}

	.cookie-note .btn {
		flex: 1;
		width: auto;
	}
}

/* ---------- 15. Pagination ---------- */
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: var(--pill);
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.1);
}

.page-numbers.current {
	background: var(--ink);
	color: var(--white);
	box-shadow: none;
}

/* ---------- 16. Pricing ---------- */
.plan-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.plan-picker__label {
	color: #3b3352;
	font-size: 15px;
	font-weight: 700;
}

.plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.plan {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px;
	border-radius: var(--r-lg);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.06);
	transition: box-shadow 160ms ease;
}

.plan.is-picked {
	box-shadow: 0 0 0 2.5px var(--accent), 0 30px 60px -40px rgba(35, 26, 58, 0.45);
}

.plan__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 32px;
}

.plan__name {
	margin: 0;
	color: var(--ink);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
}

.plan__fit {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--pill);
	background: var(--white);
	color: var(--accent-dark);
	font-size: 13px;
	font-weight: 800;
}

.plan.is-picked .plan__fit {
	display: inline-flex;
}

.plan p {
	margin: 0;
}

.plan__sites {
	color: #3b3352;
	font-size: 16px;
	font-weight: 600;
}

.plan__price {
	color: var(--muted);
	font-size: 16px;
	font-weight: 600;
}

.plan__price b {
	color: var(--ink);
	font-family: var(--font-serif);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-size: 56px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
}

.plan__first {
	color: var(--accent-dark);
	font-size: 15px;
	font-weight: 700;
}

.plan__renew {
	color: var(--muted);
	font-size: 14px;
}

.plan__buy {
	margin-top: 6px;
	min-height: 52px;
	background: var(--white);
	color: var(--ink);
	font-size: 16px;
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.12);
}

.plan__buy:hover {
	color: var(--ink);
	background: #fff;
}

.plan.is-picked .plan__buy {
	background: var(--accent);
	color: var(--white);
	box-shadow: 0 14px 28px -14px var(--accent-shadow);
}

.checklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #3b3352;
	font-size: 15px;
	line-height: 1.45;
}

.checklist svg {
	flex: none;
	margin-top: 1px;
	color: var(--green);
}

.table-card {
	/* Positioned, so the absolutely placed screen-reader texts inside the table scroll with it instead of
	   widening the page (they made /pricing/ 421px wide on a 390px phone). */
	position: relative;
	overflow-x: auto;
	border-radius: var(--r-card);
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.08), var(--shadow-card);
}

.compare {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 15px;
}

.compare th,
.compare td {
	padding: 14px 12px;
	text-align: center;
}

.compare thead th {
	padding-top: 18px;
	padding-bottom: 18px;
	background: var(--sand);
	color: #3b3352;
	font-size: 14px;
	font-weight: 800;
}

.compare thead th:first-child,
.compare tbody th {
	padding-left: 22px;
	text-align: left;
}

.compare tbody th {
	color: var(--ink);
	font-weight: 600;
}

.compare tbody tr:nth-child(even) {
	background: #fcfaf6;
}

.compare .compare__pro {
	color: var(--accent-dark);
}

.compare td svg {
	color: var(--green);
	vertical-align: middle;
}

.compare__no {
	color: #8f88a6;
	font-size: 18px;
	font-weight: 700;
}

.compare-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.accordion {
	border-bottom: 1px solid var(--line);
}

.accordion__item {
	border-top: 1px solid var(--line);
}

.accordion__q {
	margin: 0;
	font-family: var(--font-sans);
}

.accordion__q button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 64px;
	padding: 16px 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 17px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.accordion__sign {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: var(--pill);
	background: var(--track);
	transition: background-color 160ms ease;
}

.accordion__sign::before,
.accordion__sign::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 160ms ease, background-color 160ms ease;
}

.accordion__sign::after {
	transform: rotate(90deg);
}

.accordion__q button[aria-expanded="true"] .accordion__sign {
	background: var(--accent);
}

.accordion__q button[aria-expanded="true"] .accordion__sign::before,
.accordion__q button[aria-expanded="true"] .accordion__sign::after {
	background: var(--white);
}

.accordion__q button[aria-expanded="true"] .accordion__sign::after {
	transform: rotate(0deg);
}

.accordion__a {
	padding: 0 0 20px;
}

.accordion__a p {
	max-width: 620px;
	margin: 0;
	color: var(--body);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- 17. Demo ---------- */
.seg--start {
	align-self: flex-start;
	justify-content: flex-start;
}

.demo-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.demo-note {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	color: var(--muted);
	font-size: 15px;
}

.demo-frame {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	transition: opacity 120ms ease;
}

.demo-frame.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.seg__new {
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: var(--pill);
	background: var(--accent-tint);
	color: var(--accent-dark);
	font-size: 11px;
	font-weight: 800;
}

.demo-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.demo-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	padding: 18px;
	border-radius: var(--r-card);
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.06), var(--shadow-card);
	color: var(--ink);
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.demo-card:hover {
	color: var(--ink);
	transform: translateY(-2px);
	box-shadow: 0 0 0 1px rgba(35, 26, 58, 0.08), 0 36px 60px -40px rgba(35, 26, 58, 0.5);
}

.demo-card .mini {
	background: var(--cream);
}

.demo-card__meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.demo-card__meta strong {
	display: block;
	font-size: 17px;
}

.demo-card__meta span span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.demo-card__meta svg {
	flex: none;
	margin-top: 2px;
	color: var(--accent-dark);
}
