/* ==========================================================================
   ProteinMD, main stylesheet
   Mobile-first. Brand: ink navy + leaf green (from the ProteinMD logo).
   ========================================================================== */

:root {
	--ink: #111a24;
	--ink-2: #1c2734;
	--ink-3: #33414f;
	--muted: #5d6a77;
	--line: #e3e8e1;
	--line-2: #d3dccf;
	--soft: #f4f8f2;
	--soft-2: #e8f3e2;
	--white: #ffffff;
	--green: #3aa935;
	--green-d: #237a2c;
	--green-dd: #185a21;
	--lime: #7cc629;
	--lime-l: #b9e46e;
	--amber: #e29a2e;
	--red: #d0443b;
	--blue: #3f6fd8;

	--f-head: "Outfit", "Inter", system-ui, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(17, 26, 36, .06), 0 2px 8px rgba(17, 26, 36, .05);
	--shadow: 0 10px 30px -12px rgba(17, 26, 36, .18), 0 2px 6px rgba(17, 26, 36, .05);
	--shadow-lg: 0 30px 60px -20px rgba(17, 26, 36, .35);
	--grad: linear-gradient(135deg, var(--lime) 0%, var(--green) 55%, var(--green-d) 100%);

	--gutter: 16px;
	--header-h: 68px;
}

@media (min-width: 768px) {
	:root { --gutter: 28px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--green-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dd); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.pmd-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; line-height: 1.5; }
.lead { font-size: 1.2rem; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(58, 169, 53, .7); }
.btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(58, 169, 53, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--text { background: none; color: var(--muted); padding: .4em .6em; }
.btn--text:hover { color: var(--red); transform: none; }
.btn--sm { padding: .55em 1em; font-size: .88rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--green-d); }
.link-arrow .pmd-icon { transition: transform .2s; }
.link-arrow:hover .pmd-icon { transform: translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .55em;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); margin-bottom: .9em;
}
.eyebrow--lime { color: var(--lime-l); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(58, 169, 53, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(58, 169, 53, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 169, 53, 0); } }
.pill { display: inline-block; font-family: var(--f-body); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3em .65em; border-radius: 999px; background: var(--soft-2); color: var(--green-d); vertical-align: middle; }
.pill--green { background: var(--green); color: #fff; }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: #dfe7da; font-size: .86rem; }
.announce__inner { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.announce p { margin: 0; flex: 1; }
.announce a { color: var(--lime-l); font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }
.announce__close { background: none; border: 0; color: #aab6a4; cursor: pointer; padding: 4px; display: grid; place-items: center; }
.announce[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(17, 26, 36, .35); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.site-brand { flex: none; display: flex; align-items: center; }
.site-brand .custom-logo-link { display: block; line-height: 0; }
.site-brand .custom-logo { height: 42px; width: auto; mix-blend-mode: multiply; }
@media (min-width: 768px) { .site-brand .custom-logo { height: 50px; } }
.site-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-header__cta { display: none; }
@media (min-width: 600px) { .site-header__cta { display: inline-flex; } }

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

/* Mobile nav (off-canvas) */
.site-nav {
	position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: #fff; padding: 12px var(--gutter) 32px;
	overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 99;
	border-top: 1px solid var(--line);
}
.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.nav-open { overflow: hidden; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { border-bottom: 1px solid var(--line); }
.site-nav .menu a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.site-nav .menu a[href="#"] { pointer-events: none; }
.site-nav .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; border-left: 2px solid var(--soft-2); }
.site-nav .sub-menu a { font-weight: 500; font-size: .98rem; padding: 10px 4px; color: var(--ink-3); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--green-d); }
.site-nav__mobile-cta { margin-top: 20px; }

@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.site-nav { position: static; transform: none; visibility: visible; opacity: 1; pointer-events: auto; background: none; padding: 0; overflow: visible; border: 0; margin-left: 12px; }
	.site-nav__mobile-cta { display: none; }
	.site-nav .menu { display: flex; align-items: center; gap: 2px; }
	.site-nav .menu > li { position: relative; border: 0; }
	.site-nav .menu > li > a { padding: 8px 12px; font-size: .94rem; font-weight: 500; border-radius: 10px; color: var(--ink-3); }
	.site-nav .menu > li > a:hover, .site-nav .menu > li:focus-within > a { color: var(--ink); background: var(--soft); }
	.site-nav .menu > .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
	.site-nav .menu a[href="#"] { pointer-events: auto; cursor: default; }
	.site-nav .sub-menu {
		position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; margin: 0; padding: 8px; background: #fff;
		border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
	}
	.site-nav .sub-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .sub-menu a { padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
	.site-nav .sub-menu a:hover { background: var(--soft); color: var(--ink); }
	.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a { color: var(--green-d); }
}

.header-search { border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.header-search__form { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 999px; padding: 6px 6px 6px 16px; }
.header-search__form input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 0; outline: none; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 36px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #cfd8cb; }
.section--dark h2, .section--dark h3 { color: #fff; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section--tight { padding: 48px 0; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head--row h2 { margin: 0; }
.split { display: grid; gap: 36px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .card { padding: 28px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.panel__title { display: flex; align-items: center; gap: .5em; font-size: 1.08rem; margin-bottom: .9em; }
.panel__title .pmd-icon { color: var(--green); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 48px 0 40px; background: radial-gradient(900px 300px at 85% -10%, rgba(124, 198, 41, .18), transparent 60%), radial-gradient(700px 260px at -10% 110%, rgba(58, 169, 53, .10), transparent 60%), var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; }
@media (min-width: 768px) { .page-hero { padding: 72px 0 60px; } }
.page-hero__inner > * { max-width: 880px; }
.page-hero__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--green); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.page-hero__icon .pmd-icon { width: 26px; height: 26px; }
.page-hero__title { margin-bottom: .3em; }
.page-hero__lead { font-size: 1.15rem; color: var(--ink-3); max-width: 720px; margin: 0; }
@media (min-width: 768px) { .page-hero__lead { font-size: 1.25rem; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 56px; background: #fff; }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(800px 500px at 90% 10%, rgba(124, 198, 41, .20), transparent 60%), radial-gradient(600px 400px at 60% 110%, rgba(58, 169, 53, .12), transparent 60%), linear-gradient(180deg, #fbfdf9 0%, #fff 100%); pointer-events: none; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(17, 26, 36, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 80px 0 96px; } .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 4.3rem); line-height: 1.02; }
.hero__lead { font-size: 1.12rem; color: var(--ink-3); max-width: 600px; }
@media (min-width: 768px) { .hero__lead { font-size: 1.24rem; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__actions--center { justify-content: center; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; }
.hero__proof li { display: flex; align-items: center; gap: 6px; }
.hero__proof .pmd-icon { color: var(--green); }
.hero__form { margin-top: 28px; max-width: 520px; }
.hero--dark { background: var(--ink); color: #cfd8cb; }
.hero--dark .hero__title { color: #fff; }
.hero--dark .hero__lead { color: #b9c4b5; }
.hero--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 20%, rgba(124, 198, 41, .22), transparent 60%); }

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone { position: relative; width: 290px; max-width: 78vw; aspect-ratio: 9 / 19; background: #0b1118; border-radius: 44px; padding: 11px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3644; transform: rotate(-2deg); }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0b1118; z-index: 2; }
.phone__screen { height: 100%; border-radius: 34px; background: #f5f8f3; overflow: hidden; padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.app-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-family: var(--f-head); font-size: 15px; }
.app-top .pmd-icon { width: 16px; height: 16px; }
.app-top__avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; }
.app-card { background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.app-card--ring { display: grid; grid-template-columns: 1fr; justify-items: center; }
.app-card--insight { background: var(--ink); color: #dfe7da; }
.app-card--insight p { margin: 0; font-size: 12px; line-height: 1.45; }
.app-card--insight .app-label { color: var(--lime-l); }
.app-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; display: flex; align-items: center; gap: 4px; justify-self: start; }
.app-label .pmd-icon { width: 12px; height: 12px; }
.app-big { font-family: var(--f-head); font-size: 26px; font-weight: 800; margin: 0; }
.app-big small { font-size: 12px; color: var(--muted); font-weight: 500; }
.app-sub { color: var(--muted); margin: 4px 0 0; font-size: 11px; }
.app-tabs { display: flex; gap: 6px; }
.app-tabs span { font-size: 10.5px; padding: 5px 9px; border-radius: 99px; background: #fff; color: var(--muted); }
.app-tabs .is-on { background: var(--ink); color: #fff; }
.aa-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.aa-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--grad); }
.mini-rings { display: flex; gap: 12px; margin-top: 6px; width: 100%; }
.mini-rings span { flex: 1; font-size: 10px; color: var(--muted); }
.mini-rings i { display: block; height: 5px; border-radius: 3px; background: var(--soft-2); margin-bottom: 3px; position: relative; overflow: hidden; }
.mini-rings i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--green); border-radius: 3px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.timeline li { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 8px; align-items: center; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); }
.timeline li.is-done::before { background: var(--green); border-color: var(--green); }
.timeline b { font-weight: 600; }
.timeline span { font-weight: 700; }
.timeline em { font-style: normal; color: var(--muted); font-size: 10.5px; }
.app-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 8px; background: #fff; border-radius: 14px; }
.app-nav span { width: 18px; height: 4px; border-radius: 2px; background: var(--line-2); }
.app-nav .is-on { background: var(--green); }
.float-card { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; font-size: .8rem; color: var(--muted); animation: float 6s ease-in-out infinite; }
.float-card strong { font-family: var(--f-head); font-size: 1.35rem; color: var(--ink); display: flex; align-items: center; gap: 4px; }
.float-card strong .pmd-icon { color: var(--green); }
.float-card__k { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-d); }
.float-card--a { top: 12%; left: 0; }
.float-card--b { bottom: 12%; right: 0; animation-delay: -3s; }
.float-card--b strong { font-size: 1rem; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .float-card--a { display: none; } .float-card--b { right: -4px; bottom: 4%; } .float-card { padding: 9px 12px; } }
.hero__visual--duo { min-height: 520px; }
.hero__visual--duo .phone--back { position: absolute; transform: rotate(-7deg) translateX(-26%); opacity: .95; width: 250px; }
.hero__visual--duo .phone--front { transform: rotate(4deg) translateX(22%); }
@media (max-width: 600px) { .hero__visual--duo { min-height: 460px; } .hero__visual--duo .phone--back { width: 210px; } .hero__visual--duo .phone { width: 230px; } }

/* Chat mock */
.chat { display: grid; gap: 8px; }
.chat p { margin: 0; padding: 9px 11px; border-radius: 14px; font-size: 11.5px; line-height: 1.45; max-width: 88%; }
.chat__me { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.chat__ai { background: #fff; justify-self: start; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.cite { display: inline-block; margin-top: 4px; font-size: 9.5px; padding: 2px 6px; border-radius: 6px; background: var(--soft-2); color: var(--green-d); font-weight: 600; }
.chat__input { margin-top: auto; display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 99px; padding: 9px 12px; color: var(--muted); font-size: 11px; }
.chat__input i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; }
.chat__input .pmd-icon { width: 13px; height: 13px; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; font-size: .88rem; color: var(--muted); }
.trust__inner > span { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.trust li { font-weight: 600; color: var(--ink-3); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], input[type="email"], input[type="number"], input[type="search"], input[type="time"], input[type="url"], input[type="tel"], select, textarea {
	width: 100%; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(58, 169, 53, .15); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111a24' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input-unit { display: flex; gap: 8px; }
.input-unit input { flex: 1; }
.seg { display: inline-flex; background: var(--soft); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 3px; flex: none; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 9px; font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg--full { display: flex; width: 100%; }
.seg--full button { flex: 1; padding: 9px 12px; }
.range { width: 100%; accent-color: var(--green); height: 28px; }
.range-ticks { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }
.range-ticks span { flex: 1; text-align: center; }
.range-ticks span:first-child { text-align: left; }
.range-ticks span:last-child { text-align: right; }
.range-val { color: var(--green-d); font-weight: 700; margin-left: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border: 1.5px solid var(--line-2); border-radius: 14px; font-weight: 600; font-size: .86rem; text-align: center; cursor: pointer; transition: .15s; }
.choice span .pmd-icon { width: 22px; height: 22px; color: var(--muted); }
.choice input:checked + span { border-color: var(--green); background: var(--soft-2); color: var(--green-dd); }
.choice input:checked + span .pmd-icon { color: var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-bottom: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; padding: 0; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; }
.pmd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Waitlist */
.pmd-waitlist__row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .pmd-waitlist__row { flex-direction: row; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 5px; } .pmd-waitlist__row input { border: 0 !important; box-shadow: none !important; border-radius: 999px; padding-left: 18px; } }
.pmd-waitlist__row input { flex: 1; }
.pmd-waitlist--dark .pmd-waitlist__row { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.pmd-waitlist--dark input[type="email"] { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.pmd-waitlist--dark input::placeholder { color: #8e9b8a; }
.pmd-waitlist__fine { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.pmd-waitlist--dark .pmd-waitlist__fine { color: #8e9b8a; }
.pmd-form-msg { margin: 8px 0 0; font-size: .9rem; font-weight: 600; min-height: 0; }
.pmd-form-msg:empty { display: none; }
.pmd-form-msg.is-ok { color: var(--green); }
.pmd-form-msg.is-err { color: var(--red); }
.pmd-waitlist--dark .pmd-form-msg.is-ok { color: var(--lime-l); }
.is-loading button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Quick calc ---------- */
.quick-calc { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .quick-calc { grid-template-columns: 1fr 1fr; gap: 64px; } }
.quick-calc__copy p { color: var(--ink-3); font-size: 1.08rem; }
.quick-calc__result { display: flex; flex-wrap: wrap; gap: 18px 36px; padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: #cfd8cb; margin-bottom: 10px; }
.quick-calc__result > div { display: grid; }
.big-number { font-family: var(--f-head); font-size: 2.2rem; line-height: 1.1; color: #fff; font-weight: 800; }
.mid-number { font-family: var(--f-head); font-size: 1.5rem; line-height: 1.3; color: var(--lime-l); font-weight: 700; }
.quick-calc__result .muted { color: #9aa894; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cat-card { position: relative; display: grid; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--cat); opacity: .08; transition: transform .3s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.cat-card:hover::after { transform: scale(1.4); }
.cat-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); margin-bottom: 6px; }
.cat-card__label { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; }
.cat-card__desc { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.cat-card__count { font-size: .78rem; font-weight: 700; color: var(--cat); margin-top: 4px; }
@media (max-width: 480px) { .cat-card { padding: 16px; } .cat-card__desc { display: none; } }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.feature--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft-2); color: var(--green-d); margin-bottom: 18px; }
.feature__icon .pmd-icon { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .45em; }
.feature p { color: var(--muted); font-size: .95rem; flex: 1; }
.feature .link-arrow { margin-top: 4px; font-size: .92rem; }

/* ---------- Bar chart ---------- */
.bar-chart { margin: 0; display: grid; gap: 12px; background: var(--ink-2); padding: 24px; border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, .06); }
.bar-chart__row { display: grid; grid-template-columns: minmax(96px, 36%) 1fr 48px; align-items: center; gap: 12px; text-decoration: none; color: #dfe7da; font-size: .88rem; }
.bar-chart__row:hover { color: #fff; }
.bar-chart__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-chart__track { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar-chart__bar { display: block; height: 100%; border-radius: 99px; background: var(--grad); transform-origin: left; animation: grow 1s ease both; }
.bar-chart__bar.q-excellent { background: var(--grad); }
.bar-chart__bar.q-high { background: linear-gradient(90deg, #7cc629, #a9d65a); }
.bar-chart__bar.q-moderate { background: linear-gradient(90deg, #e2b12e, #e9c65a); }
.bar-chart__bar.q-low { background: linear-gradient(90deg, #e27a2e, #ea9a5a); }
.bar-chart__val { font-weight: 700; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.bar-chart figcaption { font-size: .78rem; color: #8e9b8a; margin-top: 6px; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Personas ---------- */
.persona-grid { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 600px) { .persona-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }
.persona { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 20px; border-radius: var(--r); background: var(--soft); }
.persona__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--green-d); box-shadow: var(--shadow-sm); }
.persona h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.persona p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Myth ---------- */
.myth { display: grid; gap: 20px; align-items: start; }
@media (min-width: 768px) { .myth { grid-template-columns: auto 1fr; gap: 32px; } }
.myth__badge { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ink); color: var(--lime-l); font-family: var(--f-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; transform: rotate(-10deg); position: relative; }
.myth__badge::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(185, 228, 110, .6); border-radius: 50%; }
.myth__copy h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.myth__copy p { color: var(--ink-3); font-size: 1.08rem; max-width: 760px; }
.myth--inline { grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-top: 24px; padding: 18px; border-radius: var(--r); background: var(--soft); }
.myth--inline .myth__badge { width: 62px; height: 62px; font-size: .72rem; }
.myth--inline p { margin: 0; }

/* ---------- Posts ---------- */
.post-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__art { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, hsl(calc((90 + var(--h)) * 1deg) 55% 42%), hsl(calc((130 + var(--h)) * 1deg) 50% 22%)); }
.post-card__art .pmd-icon { width: 56px; height: 56px; stroke-width: 1.2; }
.post-card__body { display: flex; flex-direction: column; padding: 20px 22px 22px; flex: 1; }
.post-card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); margin-bottom: 8px; }
.post-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--green-d); }
.post-card__excerpt { color: var(--muted); font-size: .94rem; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--muted); margin: 0; }
.post-grid__food .food-card { height: 100%; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #cfd8cb; padding: 64px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(124, 198, 41, .25), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(58, 169, 53, .18), transparent 60%); }
.cta-band__inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band { padding: 84px 0; } .cta-band__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.cta-band h2 { color: #fff; }
.cta-band__copy p:last-child { color: #b9c4b5; font-size: 1.08rem; margin: 0; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .2); }
.store-badge:hover { color: #fff; background: #111; }
.store-badge span { display: grid; line-height: 1.1; font-weight: 600; font-size: 1.02rem; }
.store-badge small { font-size: .66rem; font-weight: 500; opacity: .8; }

/* ---------- Footer ---------- */
.site-footer { background: #0c131b; color: #9fab9a; padding: 64px 0 28px; font-size: .94rem; }
.site-footer a { color: #cfd8cb; text-decoration: none; }
.site-footer a:hover { color: var(--lime-l); }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.1fr 1.4fr; gap: 64px; } }
.site-footer__tag { margin: 16px 0 24px; color: #b9c4b5; }
.site-footer__tag span { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: #7b8876; }
.site-footer__label { font-weight: 600; color: #fff; margin-bottom: 10px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 600px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__heading { font-family: var(--f-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #7b8876; margin-bottom: 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .84rem; }
.site-footer__bottom p { margin: 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.pmd-wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.pmd-wordmark__tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 6px; }
.pmd-wordmark__tile img { height: 100%; width: auto; }
.pmd-wordmark__text { font-family: var(--f-head); font-weight: 800; font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.pmd-wordmark__text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Disclaimer ---------- */
.pmd-disclaimer { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: #fff8ec; border: 1px solid #f3e0bd; color: #6b5226; font-size: .88rem; line-height: 1.55; margin: 24px 0 0; }
.pmd-disclaimer .pmd-icon { color: var(--amber); margin-top: 2px; }
.pmd-disclaimer p { margin: 0; }

/* ---------- Encyclopedia ---------- */
.enc-search { position: relative; max-width: 640px; margin-top: 28px; }
.enc-search .pmd-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.enc-search input { padding: 16px 20px 16px 50px; border-radius: 999px; border: 1.5px solid var(--line-2); box-shadow: var(--shadow-sm); font-size: 1.02rem; }
.enc-search--light { margin: 0 0 28px; }
.cat-tiles { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 calc(var(--gutter) * -1) 12px; padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; scroll-snap-type: x proximity; }
@media (min-width: 1100px) { .cat-tiles { display: grid; grid-template-columns: repeat(9, 1fr); overflow: visible; margin: 0 0 12px; padding: 4px 0 12px; } }
.cat-tile { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 4px; min-width: 104px; padding: 14px 10px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: .15s; }
.cat-tile:hover { border-color: var(--cat); color: var(--ink); }
.cat-tile.is-active { border-color: var(--cat); background: color-mix(in srgb, var(--cat) 8%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cat) 18%, transparent); }
.cat-tile__icon { color: var(--cat); }
.cat-tile__icon .pmd-icon { width: 26px; height: 26px; }
.cat-tile__label { font-weight: 600; font-size: .9rem; }
.cat-tile__count { font-size: .74rem; color: var(--muted); }
.enc-toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.enc-toolbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.enc-toolbar__group--end { margin-left: auto; }
.enc-toolbar__group--end select { width: auto; padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 640px) { .enc-toolbar__group--end { margin-left: 0; width: 100%; } .enc-toolbar__group--end select { flex: 1; } }
.enc-toolbar__label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.enc-count { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: .86rem; color: var(--ink-3); cursor: pointer; text-decoration: none; transition: .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--outline[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.chip--outline[aria-pressed="true"]::before { content: "✕"; font-size: .7rem; }
.chip--sm { padding: 5px 11px; font-size: .8rem; }

.food-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .food-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .food-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1180px) { .food-grid { grid-template-columns: repeat(4, 1fr); } }
.food-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .18s, box-shadow .18s, border-color .18s; }
.food-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.food-card[hidden] { display: none; }
.food-card__link { display: flex; flex-direction: column; height: 100%; padding: 18px; text-decoration: none; color: var(--ink); }
.food-card__link:hover { color: var(--ink); }
.food-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.food-card__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); }
.food-card__name { font-size: 1.08rem; margin: 0 0 2px; }
.food-card__meta { font-size: .8rem; color: var(--muted); margin: 0 0 14px; text-transform: capitalize; }
.food-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.food-card__stats > div { display: grid; }
.food-card__stats strong { font-family: var(--f-head); font-size: 1.25rem; line-height: 1.1; }
.food-card__stats small { font-size: .7em; font-weight: 600; color: var(--muted); margin-left: 1px; }
.food-card__stats span { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.food-card__bar { height: 4px; background: var(--soft); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.food-card__bar span { display: block; height: 100%; background: var(--cat); border-radius: 4px; }
.food-grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 8px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.q-excellent { background: #dff3d6; color: #1c6a1f; }
.q-high { background: #eef7d9; color: #4b7412; }
.q-moderate { background: #fbf0d6; color: #8a5f0c; }
.q-low { background: #fde5d8; color: #9c3d12; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 28px; font-size: .84rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.empty-state { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 20px; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }
.empty-state .pmd-icon { width: 36px; height: 36px; color: var(--line-2); }
.empty-state--sm { padding: 28px 16px; }
.empty-state[hidden] { display: none; }

/* ---------- Food profile ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-d); }
.food-hero { padding: 32px 0 40px; background: radial-gradient(700px 300px at 90% 0%, color-mix(in srgb, var(--cat) 16%, transparent), transparent 70%), var(--soft); border-bottom: 1px solid var(--line); }
.food-hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .food-hero { padding: 40px 0 56px; } .food-hero__grid { grid-template-columns: 1.3fr .9fr; gap: 56px; } }
.food-hero__id { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.food-hero__id .eyebrow { margin-bottom: .3em; text-transform: uppercase; }
.food-hero__id h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); }
.food-hero__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--cat); box-shadow: var(--shadow-sm); }
.food-hero__icon .pmd-icon { width: 32px; height: 32px; }
.food-hero__lead { font-size: 1.1rem; color: var(--ink-3); }
.food-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.food-hero__card { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 18px; justify-items: center; }
.food-hero__kv { width: 100%; margin: 0; display: grid; gap: 10px; }
.food-hero__kv > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.food-hero__kv > div:last-child { border: 0; padding: 0; }
.food-hero__kv dt { color: var(--muted); }
.food-hero__kv dd { margin: 0; font-weight: 700; text-align: right; }
.food-hero__kv small { font-weight: 500; color: var(--muted); }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; font-size: .82rem; font-weight: 600; text-transform: capitalize; }
.tag .pmd-icon { width: 15px; height: 15px; }
.tag--ok { background: #fff; color: var(--green-dd); border: 1px solid #cfe7c4; }
.tag--warn { background: #fff4ec; color: #9c3d12; border: 1px solid #f5d2bb; }

/* Ring */
.ring { position: relative; width: 170px; aspect-ratio: 1; --p: 50; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring__track { stroke: var(--soft-2); }
.ring__fill { stroke: var(--green); stroke-linecap: round; stroke-dasharray: var(--p) 100; transition: stroke-dasharray .8s ease; }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__label strong { font-family: var(--f-head); font-size: 2.1rem; line-height: 1; }
.ring__label span { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.ring--app { width: 132px; }
.ring--app .ring__label strong { font-size: 1.7rem; }
.ring--app .ring__label small { font-size: .7rem; color: var(--muted); font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .stat-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.stat { display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.stat__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat__value { font-family: var(--f-head); font-size: 1.9rem; line-height: 1.1; }
.stat__value--sm { font-size: 1.15rem; line-height: 1.3; }
.stat__hint { font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.stat__hint .pmd-icon { width: 14px; height: 14px; }
@media (max-width: 480px) { .stat:last-child { grid-column: span 2; } }
.meter { height: 6px; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--grad); border-radius: 6px; }

.food-panels { display: grid; gap: 16px; }
@media (min-width: 900px) { .food-panels { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.macro-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--soft); margin-bottom: 12px; }
.macro-bar__p, .dot--p { background: var(--green); }
.macro-bar__f, .dot--f { background: var(--amber); }
.macro-bar__c, .dot--c { background: var(--blue); }
.macro-legend { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; }
.macro-legend li { display: flex; align-items: center; gap: 6px; }
.macro-legend small { color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-weight: 600; color: var(--muted); }
.data-table td small { color: var(--muted); }
.data-table thead th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #fff; }
.data-table--striped tbody tr:nth-child(odd) { background: #fff; }
.data-table--striped td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.table-wrap .data-table { min-width: 560px; }

.leucine-meter { margin: 18px 0 14px; --v: 50; }
.leucine-meter__head { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: 8px; }
.leucine-meter__track { position: relative; height: 16px; border-radius: 99px; background: var(--soft-2); }
.leucine-meter__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%); border-radius: 99px; background: linear-gradient(90deg, #e2b12e, var(--lime) 60%, var(--green)); transition: width .5s ease; }
.leucine-meter__mark { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); }
.leucine-meter__mark em { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.leucine-meter__caption { font-size: .86rem; color: var(--muted); margin: 26px 0 0; }
.leucine-meter--dark .leucine-meter__track { background: rgba(255, 255, 255, .1); }
.leucine-meter--dark .leucine-meter__mark { background: #fff; }
.leucine-meter--dark .leucine-meter__mark em { color: #cfd8cb; }
.callout { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: .92rem; margin: 0; }
.pair-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pair-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--green); }
.pair-list span { font-size: .88rem; color: var(--muted); }
.kv-list { margin: 0 0 14px; display: grid; gap: 10px; }
.kv-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv-list dt { color: var(--muted); }
.kv-list dd { margin: 0; font-weight: 700; text-align: right; }
.co2-scale { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #7cc629, #e2b12e 45%, #d0443b); }
.co2-scale span { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); }
.co2-scale__labels { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin: 6px 0 10px; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .calc { grid-template-columns: 1.25fr 1fr; gap: 36px; } .calc__result { position: sticky; top: calc(var(--header-h) + 20px); } }
.result-card { background: var(--ink); color: #cfd8cb; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.result-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 198, 41, .35), transparent); }
.result-card > * { position: relative; }
.result-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-l); margin-bottom: 4px; }
.result-card__big { font-family: var(--f-head); font-weight: 800; font-size: 4rem; line-height: 1; color: #fff; margin: 0 0 4px; letter-spacing: -.03em; }
.result-card__big small { font-size: 1.6rem; color: #9aa894; margin-left: 4px; }
.result-card__range { color: #b9c4b5; margin-bottom: 18px; font-size: .95rem; }
.result-card__kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 16px; }
.result-card__kv > div { display: grid; gap: 2px; }
.result-card__kv span { font-size: .72rem; color: #8e9b8a; text-transform: uppercase; letter-spacing: .08em; }
.result-card__kv strong { color: #fff; font-family: var(--f-head); font-size: 1.12rem; }
.result-card__notes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.result-card__notes li { display: flex; gap: 8px; line-height: 1.45; }
.result-card__notes li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-top: 7px; }
.result-card__notes li.is-warn::before { background: var(--amber); }
.result-card__notes li.is-warn { color: #f3d9a8; }
.result-card__actions { display: grid; gap: 10px; }
.result-card .muted { color: #8e9b8a; }
.result-card.is-clinical .result-card__big { font-size: 2.2rem; }
.meal-split { display: flex; gap: 6px; margin-bottom: 16px; }
.meal-split span { flex: 1; display: grid; gap: 4px; text-align: center; font-size: .72rem; color: #9aa894; }
.meal-split i { display: block; height: 34px; border-radius: 8px; background: var(--grad); opacity: .9; }
.meal-split b { color: #fff; font-size: .9rem; }
.calc__privacy { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.field--inline { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.field--inline input { width: 84px; padding: 6px 10px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.field--inline label { color: #b9c4b5; font-weight: 500; }
.progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 16px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s ease; }

/* ---------- Timing ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.principle { padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.principle__num { display: block; font-family: var(--f-head); font-weight: 800; font-size: 1.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.principle h3 { font-size: 1rem; margin-bottom: 4px; }
.principle p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .principle { padding: 16px; } .principle__num { font-size: 1.4rem; } }
.planner { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .planner { grid-template-columns: .9fr 1.3fr; gap: 32px; } }
.planner__out { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.daybar { position: relative; height: 48px; border-radius: 12px; background: linear-gradient(90deg, #1c2734 0%, #33414f 20%, #eef5e9 30%, #eef5e9 75%, #33414f 88%, #1c2734 100%); margin-bottom: 30px; }
.daybar__dot { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: var(--shadow-sm); transform: translate(-50%, -50%); }
.daybar__dot--workout { background: var(--ink); width: 14px; height: 14px; }
.daybar__dot--sleep { background: var(--blue); }
.daybar__tick { position: absolute; top: calc(100% + 6px); transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.schedule li { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.schedule li.is-workout { background: var(--ink); color: #cfd8cb; }
.schedule li.is-workout strong { color: #fff; }
.schedule li.is-post { background: var(--soft-2); box-shadow: inset 0 0 0 1.5px var(--green); }
.schedule li.is-sleep { background: #eaf0fb; }
.schedule__time { font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; }
.schedule__what { display: grid; font-size: .9rem; }
.schedule__what small { color: var(--muted); }
.schedule li.is-workout small { color: #9aa894; }
.schedule__g { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; }
.speed-lists { display: grid; gap: 16px; }
@media (min-width: 600px) { .speed-lists { grid-template-columns: 1fr 1fr; } }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mini-list li:last-child { border: 0; }
.mini-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.mini-list a:hover { color: var(--green-d); }
.mini-list span { color: var(--muted); white-space: nowrap; font-size: .82rem; }

/* ---------- Builder ---------- */
.builder { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .builder { grid-template-columns: 1.3fr 1fr; gap: 32px; } .builder__side { position: sticky; top: calc(var(--header-h) + 20px); } }
.builder__main { display: grid; gap: 18px; }
.combo { position: relative; margin: 8px 0 14px; }
.combo > .pmd-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.combo input { padding-left: 44px; }
.combo__list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-height: 340px; overflow-y: auto; }
.combo__list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: .94rem; }
.combo__list li span { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.combo__list li[aria-selected="true"], .combo__list li:hover { background: var(--soft); }
.combo__list .combo__none { color: var(--muted); cursor: default; }
.quick-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.builder__items-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.builder__items-head h2 { font-size: 1.3rem; margin: 0; }
.meal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.meal-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--soft); }
.meal-item__name { font-weight: 600; }
.meal-item__name a { color: var(--ink); text-decoration: none; }
.meal-item__sub { font-size: .8rem; color: var(--muted); }
.meal-item__qty { display: flex; align-items: center; gap: 6px; }
.meal-item__qty input { width: 78px; padding: 8px 10px; text-align: right; }
.meal-item__qty span { font-size: .85rem; color: var(--muted); }
.meal-item__stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--ink-3); }
.meal-item__stats b { font-weight: 700; color: var(--ink); }
.meal-item__remove { border: 0; background: #fff; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.meal-item__remove:hover { color: var(--red); }
.verdict { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); margin: 18px 0; }
.verdict__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.verdict strong { color: #fff; }
.verdict p { margin: 2px 0 0; font-size: .88rem; color: #b9c4b5; }
.verdict.is-ok .verdict__icon { background: var(--green); }
.verdict.is-warn .verdict__icon { background: var(--amber); }
.verdict__icon .pmd-icon { color: #fff; width: 18px; height: 18px; }
.pair-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .pair-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pair-grid { grid-template-columns: repeat(3, 1fr); } }
.pair { display: flex; gap: 12px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.pair .pmd-icon { color: var(--green); margin-top: 3px; }
.pair p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- Modes ---------- */
.mode-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 20px; scrollbar-width: thin; }
.mode-nav a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; color: var(--ink-3); font-weight: 600; font-size: .88rem; }
.mode-nav a:hover { border-color: var(--green); color: var(--green-d); }
.mode-nav .pmd-icon { width: 16px; height: 16px; color: var(--green); }
.mode-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .mode-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.mode { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.mode:target { box-shadow: 0 0 0 3px var(--lime); }
.mode__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-bottom: 14px; }
.mode__head h2 { font-size: 1.35rem; margin: 0; }
.mode__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft-2); color: var(--green-d); grid-row: span 2; }
.mode__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.mode__range { grid-column: 1 / -1; justify-self: start; font-family: var(--f-head); font-weight: 700; background: var(--ink); color: var(--lime-l); padding: 5px 12px; border-radius: 10px; font-size: .95rem; }
@media (min-width: 560px) { .mode__head { grid-template-columns: auto 1fr auto; } .mode__range { grid-column: auto; grid-row: span 2; justify-self: end; } }
.mode > p { color: var(--ink-3); }
.check-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .pmd-icon { color: var(--green); flex: none; margin-top: 3px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 18px; align-items: stretch; margin-bottom: 20px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.price-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.price-card__price { font-family: var(--f-head); font-size: 2.8rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -.03em; }
.price-card__price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card__lead { color: var(--muted); }
.price-card .check-list { flex: 1; align-content: start; margin-bottom: 24px; }
.price-card--featured { background: var(--ink); color: #cfd8cb; border-color: var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .price-card--featured { transform: translateY(-12px); } }
.price-card--featured h2, .price-card--featured .price-card__price { color: #fff; }
.price-card--featured .price-card__lead, .price-card--featured .price-card__price small { color: #9aa894; }
.price-card--featured .check-list .pmd-icon { color: var(--lime); }
.price-card__flag { position: absolute; top: -12px; left: 26px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.accordion { display: grid; gap: 10px; margin: 20px 0; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--green); transition: transform .2s; }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion details p { padding: 0 18px 18px; margin: 0; color: var(--ink-3); }
.faq-group { font-size: 1.3rem; margin-top: 28px; }

/* Billing toggle & plan extras */
.billing-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 5px; border-radius: 999px; background: var(--soft); border: 1.5px solid var(--line-2); }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; }
.billing-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.price-card__sub { font-size: .88rem; color: var(--muted); margin: -2px 0 12px; }
.price-card--featured .price-card__sub { color: var(--lime-l); }
.price-card__legal { font-size: .76rem; line-height: 1.5; color: var(--muted); margin: 12px 0 0; text-align: center; }
.price-card--featured .price-card__legal { color: #9aa894; }
.price-card__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: #9aa894; margin: 10px 0 0; }
.price-card__secure .pmd-icon { width: 14px; height: 14px; }
.price-card--featured .pmd-form-msg.is-err { color: #ffb4a8; text-align: center; }
.price-card h2 .pill { vertical-align: 4px; }
.price-card [hidden] { display: none !important; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.notice-bar { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin: 0 auto 24px; padding: 14px 18px; border-radius: var(--r); background: #eef4fd; border: 1px solid #cfdcf5; color: #26407a; }
.notice-bar p { margin: 0; }
.prelaunch { display: flex; gap: 12px; align-items: flex-start; max-width: 880px; margin: 8px auto 20px; padding: 14px 18px; border-radius: var(--r); background: #fff8ec; border: 1px solid #f3e0bd; color: #6b5226; font-size: .9rem; }
.prelaunch .pmd-icon { color: var(--amber); margin-top: 2px; }
.compare td, .compare th { text-align: center; }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.compare thead th:nth-child(3) { color: var(--green-d); }
.compare td.is-yes .pmd-icon { color: var(--green); }
.compare td.is-no .pmd-icon { color: var(--line-2); }
.compare tbody tr:nth-child(odd) { background: var(--soft); }

/* Welcome (checkout success) */
.welcome__badge { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(58, 169, 53, .7); margin: 0 auto 18px; }
.welcome__badge .pmd-icon { width: 38px; height: 38px; stroke-width: 2.4; }
.welcome__badge--muted { background: var(--soft-2); color: var(--green-d); box-shadow: none; }
.welcome__trial { display: inline-block; padding: 10px 16px; border-radius: 12px; background: var(--soft-2); color: var(--green-dd); font-weight: 600; }
.welcome__steps { display: grid; gap: 12px; text-align: left; margin: 32px 0; }
.welcome__step { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.welcome__step > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.welcome__step p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }

/* ---------- Clinicians ---------- */
.dash { width: 100%; max-width: 480px; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-lg); font-size: .86rem; }
.dash__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.dash__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--soft-2); }
.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dash__stats > div { display: grid; padding: 10px; border-radius: 12px; background: var(--soft); text-align: center; }
.dash__stats strong { font-family: var(--f-head); font-size: 1.4rem; }
.dash__stats span { font-size: .7rem; color: var(--muted); }
.dash__stats .is-alert { background: #fff1e6; color: #9c3d12; }
.dash__row { display: grid; grid-template-columns: 70px 56px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.dash__row span { color: var(--muted); font-size: .78rem; }
.dash__row em { font-style: normal; font-weight: 600; font-size: .78rem; white-space: nowrap; }
.dash__bar { height: 7px; border-radius: 7px; background: var(--soft); overflow: hidden; }
.dash__bar i { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 7px; }
.dash__bar.is-over i { background: var(--amber); }
.dash__alert { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fff8ec; color: #6b5226; font-size: .8rem; }
.dash__alert .pmd-icon { color: var(--amber); }
.steps { margin: 20px 0 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--ink-3); }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: r; }
@media (min-width: 900px) { .roadmap { grid-template-columns: repeat(5, 1fr); } }
.roadmap li { position: relative; padding: 22px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.roadmap li.is-live { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58, 169, 53, .12); }
.roadmap__phase { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); }
.roadmap h3 { font-size: 1.05rem; margin: 6px 0; }
.roadmap p { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }

/* About */
.mv { display: grid; gap: 14px; }
.mv__item { padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #dfe7da; }
.mv__item:nth-child(2) { background: var(--grad); color: #fff; }
.mv__item span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.mv__item p { font-family: var(--f-head); font-size: 1.35rem; line-height: 1.3; margin: 8px 0 0; font-weight: 600; }

/* Contact */
.contact-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1.4fr 1fr; gap: 32px; } }
.contact-aside { display: grid; gap: 16px; }
.contact-form textarea { resize: vertical; }

/* Glossary */
.glossary { margin: 0; display: grid; gap: 10px; }
.term { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.term:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58, 169, 53, .15); }
.term dt { font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; margin-bottom: 4px; }
.term dd { margin: 0; color: var(--ink-3); }
.term[hidden] { display: none; }

/* ---------- Prose / articles ---------- */
.prose { max-width: 760px; font-size: 1.06rem; line-height: 1.75; }
.prose.container { margin-left: auto; margin-right: auto; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img, .prose__hero { border-radius: var(--r); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--green); font-size: 1.15rem; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.prose .legal-note { padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: .88rem; }
.page-hero--article .page-hero__inner > * { max-width: 820px; }
.article__meta { color: var(--muted); font-size: .9rem; margin: 16px 0 0; }
.article__layout { display: grid; gap: 40px; }
.article__layout .prose { margin: 0 auto; width: 100%; }
@media (min-width: 1100px) { .article__layout.has-sidebar { grid-template-columns: 1fr 300px; } }
.article__tools { display: grid; gap: 12px; margin: 32px 0; }
@media (min-width: 600px) { .article__tools { grid-template-columns: 1fr 1fr; } }
.tool-link { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; line-height: 1.4; }
.tool-link:hover { border-color: var(--green); color: var(--ink); }
.tool-link .pmd-icon { width: 30px; height: 30px; color: var(--green); }
.tool-link span { display: grid; color: var(--muted); }
.tool-link strong { color: var(--ink); }
.post-navigation .nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); font-weight: 600; }
.post-navigation a { text-decoration: none; }
.sidebar .widget { margin-bottom: 28px; }
.widget-title { font-size: 1rem; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 16px auto; }
.search-form input { flex: 1; }
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; }
.comment-form .submit { background: var(--ink); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.notfound__code { font-family: var(--f-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* WordPress core alignment helpers */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }
.wp-block-button__link { background: var(--grad); border-radius: 999px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .cta-band, .announce, .hero__visual { display: none !important; }
	.result-card { background: #fff; color: #000; box-shadow: none; border: 1px solid #ccc; }
	.result-card__big, .result-card strong { color: #000 !important; }
}
