/* ==========================================================================
   WeightPlot Resources
   Rounded card system in the WeightPlot palette. Atkinson Hyperlegible at
   18px minimum on phones. No external requests.
   ========================================================================== */

:root {
	--bg: #f4f5f0;
	--fog: #eff2ec;
	--surface: #ffffff;
	--ink: #1a1430;
	--ink-2: #2e2745;
	--muted: #554e6b;
	--line: #e1e4dc;
	--line-2: #cfd3c8;

	--plum: #5b2e7a;
	--plum-deep: #3f1d57;
	--plum-soft: #f1eaf7;
	--plum-mid: #e2d3ee;

	--citrus: #cfea4a;
	--citrus-soft: #f4fad9;
	--citrus-mid: #e5f3a3;
	--citrus-ink: #4a5a05;

	--water: #2f7fd1;
	--water-ink: #1a5a9c;
	--water-soft: #e6f1fc;
	--water-mid: #c9e0f7;

	--persimmon: #e0592a;
	--persimmon-ink: #a63a12;
	--persimmon-soft: #fdeae2;

	--ok: #2f7d32;
	--ok-soft: #e7f4e3;

	--r-xl: 28px;
	--r-lg: 22px;
	--r-md: 16px;
	--r-sm: 10px;
	--shadow: 0 1px 2px rgba(26, 20, 48, .06), 0 8px 24px -12px rgba(26, 20, 48, .18);
	--shadow-lift: 0 2px 4px rgba(26, 20, 48, .08), 0 18px 40px -18px rgba(63, 29, 87, .45);

	--font: 'Atkinson Hyperlegible', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--shell: 1200px;
	--measure: 44rem;
	--head-h: 72px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) { body { font-size: 19px; } }

img, svg { max-width: 100%; height: auto; }
a { color: var(--plum); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--fog); padding: .1em .35em; border-radius: 6px; }

.screen-reader-text, .hp, .wpr-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .shell { padding: 0 28px; } }

.grid { display: grid; gap: 18px; }
@media (min-width: 700px) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow { font-size: .86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); margin: 0 0 .6em; }
.eyebrow--light { color: var(--citrus); }

.section-title { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 0 0 .4em; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0 0 18px; }
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
	font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-deep); color: #fff; box-shadow: 0 8px 20px -10px rgba(63, 29, 87, .8); }
.btn--citrus { background: var(--citrus); color: var(--ink); }
.btn--citrus:hover { background: #dbf26a; color: var(--ink); box-shadow: 0 8px 20px -10px rgba(120, 140, 10, .9); }
.btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum-mid); }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum-deep); }

/* ---------- Brand ---------- */

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand .wp-mark { flex: none; border-radius: 12px; }
.brand__name { font-weight: 700; font-size: 1.45rem; letter-spacing: -.015em; }
.brand__tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--citrus); color: var(--ink); padding: 4px 8px; border-radius: 999px; }
.brand--inverse { color: #fff; }

/* ---------- Header ---------- */

.site-head { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head__bar { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); }
.site-head__brand { text-decoration: none; display: flex; flex: none; }
.site-head__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-head__cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 .95rem var(--font); cursor: pointer; }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.site-nav li a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.site-nav li a:hover, .site-nav li a[aria-current="page"] { background: var(--plum-soft); color: var(--plum-deep); }
.site-nav__app { width: 100%; }

@media (max-width: 420px) {
	.brand__tag { display: none; }
	.nav-toggle span { display: none; }
}

@media (min-width: 1040px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; position: static; padding: 0; border: 0; box-shadow: none; background: none; margin-left: auto; }
	.site-nav ul { display: flex; gap: 2px; margin: 0; }
	.site-nav li a { min-height: 44px; font-size: .98rem; padding: 0 14px; border-radius: 999px; }
	.site-nav li a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--plum-mid); background: var(--plum-soft); }
	.site-nav__app { display: none; }
	.site-head__actions { margin-left: 8px; }
	.site-head__cta { display: inline-flex; }
}

/* ---------- Search ---------- */

.searchbox { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); max-width: 34rem; border: 2px solid transparent; }
.searchbox:focus-within { border-color: var(--citrus); }
.searchbox .ico { color: var(--muted); flex: none; }
.searchbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--font); color: var(--ink); min-height: 44px; outline: none; }
.searchbox .btn { min-height: 46px; padding: 0 20px; }

/* ---------- Hero ---------- */

.hero { background: radial-gradient(1200px 500px at 85% -10%, #7a45a0 0%, transparent 60%), linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%); color: #fff; padding: 44px 0 56px; overflow: hidden; }
.hero__in { display: grid; gap: 34px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: .4em; max-width: 15ch; }
.hero__lead { font-size: 1.15rem; color: #efe6f6; max-width: 36rem; margin-bottom: 1.4em; }
.hero__facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #e6daf0; font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ico { color: var(--citrus); }
.hero__art { margin: 0; }
@media (min-width: 960px) {
	.hero { padding: 64px 0 78px; }
	.hero__in { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

.hero-chart-card { background: #fff; color: var(--ink); border-radius: var(--r-xl); padding: 20px 20px 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); transform: rotate(-1.2deg); }
.hero-chart-card__label { font-weight: 700; margin: 0 0 4px; font-size: 1.05rem; }
.hero-chart-card figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.hero-chart text { font-family: var(--font); font-size: 12px; fill: var(--muted); }
.hc-grid line { stroke: var(--line); stroke-width: 1; }
.hc-dots circle { fill: #b9a3cc; }
.hc-line { fill: none; stroke: var(--plum); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hc-key circle { fill: #b9a3cc; }
.hc-key line { stroke: var(--plum); stroke-width: 4; stroke-linecap: round; }
.hc-key text { font-weight: 700; fill: var(--ink-2); }

/* ---------- Glyphs ---------- */

.glyph { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; }
.glyph svg { width: 30px; height: 30px; }
.glyph--xs { width: 28px; height: 28px; border-radius: 8px; }
.glyph--xs svg { width: 20px; height: 20px; }
.glyph--lg { width: 60px; height: 60px; border-radius: 18px; }
.glyph--lg svg { width: 38px; height: 38px; }
.glyph--xl { width: 76px; height: 76px; border-radius: 22px; }
.glyph--xl svg { width: 50px; height: 50px; }
.glyph--plum { background: var(--plum-soft); color: var(--plum); }
.glyph--citrus { background: var(--citrus-mid); color: var(--citrus-ink); }
.glyph--water { background: var(--water-soft); color: var(--water-ink); }

/* ---------- Front: hubs ---------- */

.hubs { padding: 56px 16px 12px; }
@media (min-width: 700px) { .hubs { padding: 64px 28px 12px; } }
.hub-card { background: #fff; border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 8px solid var(--plum); }
.hub-card--citrus { border-top-color: var(--citrus); }
.hub-card--water { border-top-color: var(--water); }
.hub-card__head { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-bottom: 12px; }
.hub-card__name { font-size: 1.4rem; font-weight: 700; line-height: 1.15; }
.hub-card__desc { color: var(--muted); font-size: 1rem; }
.hub-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; padding-top: 10px; }

.qlist { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.qlist li { border-bottom: 1px solid var(--line); }
.qlist a, .qlist span { display: block; padding: 11px 0; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.35; }
.qlist a:hover { color: var(--plum); }
.qlist .is-soon { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qlist .is-soon span { color: var(--muted); font-weight: 400; }
.qlist em { font-style: normal; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--fog); padding: 3px 8px; border-radius: 999px; flex: none; }

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

.gcard { position: relative; background: #fff; border-radius: var(--r-lg); padding: 22px 22px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; border-left: 6px solid var(--plum); }
.gcard--citrus { border-left-color: var(--citrus); }
.gcard--water { border-left-color: var(--water); }
.gcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.gcard__hub { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.gcard__title { font-size: 1.2rem; margin: 0 0 8px; }
.gcard__title a { color: var(--ink); text-decoration: none; }
.gcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gcard__title a:hover { color: var(--plum); }
.gcard__sum { color: var(--muted); font-size: .98rem; margin-bottom: 12px; }
.gcard__meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .85rem; color: var(--muted); }
.gcard--lead { padding: 28px; }
.gcard--lead .gcard__title { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.gcard--lead .gcard__sum { font-size: 1.08rem; color: var(--ink-2); }

.latest { padding: 48px 16px 8px; }
@media (min-width: 700px) { .latest { padding: 56px 28px 8px; } }
.latest__grid { display: grid; gap: 18px; }
.latest__list { display: grid; gap: 18px; }
@media (min-width: 700px) { .latest__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .latest__list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Front: method ---------- */

.method { padding: 52px 16px 16px; }
@media (min-width: 700px) { .method { padding: 60px 28px 16px; } }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .method__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .method__steps { grid-template-columns: repeat(4, 1fr); } }
.method__steps li { background: var(--fog); border-radius: var(--r-lg); padding: 22px; }
.method__steps h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.method__steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.method__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--plum); color: #fff; font-weight: 700; }

/* ---------- App band ---------- */

.app-band { margin: 48px 0; background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%); color: #fff; border-radius: var(--r-xl); padding: 30px 24px; display: grid; gap: 28px; align-items: center; overflow: hidden; position: relative; }
.app-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(207, 234, 74, .28), transparent 65%); }
.app-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); max-width: 18ch; }
.app-band p { color: #ece2f4; max-width: 34rem; }
.app-band__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.app-band__fine { font-size: .92rem; color: #d9c8e6; }
.app-band__phone { display: none; }
@media (min-width: 860px) {
	.app-band { grid-template-columns: 1.3fr .7fr; padding: 44px 52px; }
	.app-band__phone { display: block; justify-self: center; }
}
.phone { width: 230px; background: #fff; color: var(--ink); border-radius: 34px; padding: 18px 16px 20px; box-shadow: 0 0 0 8px #241333, 0 30px 50px -20px rgba(0, 0, 0, .6); transform: rotate(3deg); font-size: 14px; }
.phone__top { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.phone__top .wp-mark { border-radius: 8px; }
.phone__ring { position: relative; display: grid; place-items: center; margin: 4px auto 10px; width: 120px; }
.phone__ring b { position: absolute; top: 38px; font-size: 26px; }
.phone__ring small { position: absolute; top: 72px; color: var(--muted); font-size: 11px; }
.phone__row { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-top: 1px solid var(--line); }
.phone__row i { width: 10px; height: 10px; border-radius: 50%; }
.phone__row b { margin-left: auto; }
.phone__btn { margin-top: 10px; background: var(--citrus); border-radius: 999px; text-align: center; font-weight: 700; padding: 9px; }

/* ---------- Guide header ---------- */

.guide-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0 26px; position: relative; }
.guide-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--plum); }
.tone-citrus .guide-head::before { background: var(--citrus); }
.tone-water .guide-head::before { background: var(--water); }
.guide-head__in { max-width: var(--shell); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 700; }
.crumbs a:hover { color: var(--plum); text-decoration: underline; }
.hub-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; margin-bottom: 14px; }
.hub-chip--plum { background: var(--plum-soft); color: var(--plum-deep); }
.hub-chip--citrus { background: var(--citrus-soft); color: var(--citrus-ink); }
.hub-chip--water { background: var(--water-soft); color: var(--water-ink); }
.guide-title { font-size: clamp(2rem, 5.4vw, 3.15rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .35em; max-width: 24ch; }
.guide-dek { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-2); max-width: 42rem; margin: 0 0 20px; }

.byline { display: flex; align-items: center; gap: 12px; }
.byline__avatar img { border-radius: 50%; display: block; width: 48px; height: 48px; box-shadow: 0 0 0 3px var(--plum-soft); }
.byline__txt p { margin: 0; line-height: 1.4; }
.byline__name { font-weight: 700; }
.byline__name a { color: var(--ink); }
.byline__role { color: var(--muted); font-weight: 400; }
.byline__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.byline__meta span, .byline__flag { display: inline-flex; align-items: center; gap: 5px; }
.byline__flag { color: var(--ok); font-weight: 700; text-decoration: none; }

/* ---------- Guide layout ---------- */

.guide-layout { display: grid; gap: 32px; padding-top: 26px; padding-bottom: 8px; }
.guide-main { min-width: 0; max-width: var(--measure); }
.guide-side { display: none; }
@media (min-width: 1040px) {
	.guide-layout { grid-template-columns: minmax(0, 46rem) 340px; justify-content: space-between; gap: 56px; padding-top: 36px; }
	.guide-side { display: block; }
	.guide-side__sticky { position: sticky; top: calc(var(--head-h) + 20px); }
	.toc--inline { display: none; }
}

/* Contents */
.toc--inline { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); margin: 0 0 24px; }
.toc--inline summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; min-height: 56px; font-weight: 700; cursor: pointer; list-style: none; }
.toc--inline summary::-webkit-details-marker { display: none; }
.toc--inline summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid var(--plum); border-bottom: 2.5px solid var(--plum); transform: rotate(45deg); transition: transform .2s ease; }
.toc--inline[open] summary::after { transform: rotate(-135deg); }
.toc__count { font-size: .8rem; background: var(--plum-soft); color: var(--plum-deep); border-radius: 999px; padding: 2px 9px; }
.toc--inline .toc__list { padding: 0 12px 14px; }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc__list a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 8px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: .95rem; line-height: 1.35; }
.toc__list a:hover { background: var(--plum-soft); color: var(--plum-deep); }
.toc__list a.is-active { background: var(--plum-soft); color: var(--plum-deep); font-weight: 700; }
.toc__n { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--fog); color: var(--muted); font-size: .78rem; font-weight: 700; margin-top: 1px; }
.toc__list a.is-active .toc__n { background: var(--plum); color: #fff; }
.toc--rail { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 18px 12px 12px; margin-bottom: 18px; }
.toc--rail h2 { display: flex; align-items: center; gap: 8px; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 8px 8px; }

/* Sticky app panel */
.app-card { position: relative; background: linear-gradient(160deg, #6a3690 0%, var(--plum-deep) 100%); color: #fff; border-radius: var(--r-xl); padding: 24px 22px 20px; box-shadow: var(--shadow-lift); overflow: hidden; }
.app-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; background: radial-gradient(circle, rgba(207, 234, 74, .35), transparent 65%); pointer-events: none; }
.app-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-card__top .wp-mark { border-radius: 14px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.app-card__pill { background: var(--citrus); color: var(--ink); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.app-card h2 { color: #fff; font-size: 1.35rem; line-height: 1.2; margin: 0 0 8px; }
.app-card__text { color: #ece2f4; font-size: .97rem; line-height: 1.5; }
.app-card__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.app-card__list li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.app-card__list .ico { flex: none; color: var(--citrus); margin-top: 2px; }
.app-card__fine { margin: 10px 0 0; text-align: center; font-size: .84rem; color: #d9c8e6; }

/* Mobile app bar */
.app-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 80; display: flex; align-items: center; gap: 10px; background: var(--plum-deep); color: #fff; border-radius: 20px; padding: 10px 10px 10px 12px; box-shadow: 0 16px 40px -12px rgba(26, 20, 48, .65); transform: translateY(140%); transition: transform .3s ease; }
.app-bar.is-shown { transform: translateY(0); }
.app-bar .wp-mark { border-radius: 10px; flex: none; }
.app-bar p { margin: 0; flex: 1; min-width: 0; font-size: .92rem; line-height: 1.25; }
.app-bar p strong { display: block; font-size: 1rem; }
.app-bar p span { color: #d9c8e6; }
.app-bar .btn { flex: none; }
.app-bar__close { flex: none; background: transparent; border: 0; color: #d9c8e6; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
@media (min-width: 1040px) { .app-bar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .app-bar { transition: none; } }

/* ---------- Article body ---------- */

.entry { font-size: 1em; }
.entry > * { max-width: var(--measure); }
.entry h2 { font-size: clamp(1.5rem, 3.6vw, 1.95rem); margin: 2em 0 .55em; padding-top: .2em; scroll-margin-top: calc(var(--head-h) + 20px); }
.entry h3 { font-size: clamp(1.2rem, 2.6vw, 1.38rem); margin: 1.6em 0 .45em; }
.entry h4 { font-size: 1.08rem; margin: 1.4em 0 .4em; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.entry li { margin: .35em 0; }
.entry li::marker { color: var(--plum); font-weight: 700; }
.entry strong, .entry b { color: var(--ink); }
.entry blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 5px solid var(--citrus); background: #fff; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 1.08em; }
.entry hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.entry img { border-radius: var(--r-md); }
.entry a:not(.btn) { font-weight: 700; }
.wr-xlink { text-decoration-style: dotted; }

/* Short answer */
.wr-answer { background: #fff; border-radius: var(--r-lg); padding: 20px 22px 6px; margin: 0 0 28px; box-shadow: var(--shadow); border: 2px solid var(--plum-mid); position: relative; }
.wr-answer::before { content: ""; position: absolute; left: -2px; top: 18px; bottom: 18px; width: 6px; border-radius: 0 6px 6px 0; background: var(--plum); }
.wr-lbl { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); margin: 0 0 8px; }
.wr-answer p:not(.wr-lbl) { font-size: 1.06em; }

/* Stat chips */
.wr-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
@media (min-width: 700px) { .wr-chips { grid-template-columns: repeat(4, 1fr); } }
.wr-chip { background: #fff; border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow); border-bottom: 4px solid var(--citrus); }
.wr-chip:nth-child(2) { border-bottom-color: var(--plum); }
.wr-chip:nth-child(3) { border-bottom-color: var(--water); }
.wr-chip:nth-child(4) { border-bottom-color: var(--persimmon); }
.wr-chip b { display: block; font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.wr-chip span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 4px; }

/* Tables */
.wr-tw { max-width: 100% !important; overflow-x: auto; margin: 26px 0; border-radius: var(--r-lg); box-shadow: var(--shadow); background: #fff; -webkit-overflow-scrolling: touch; }
.entry .wr-tw { max-width: none; }
.wr-tw table, .entry table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; line-height: 1.45; min-width: 520px; }
.entry--policy table { min-width: 480px; }
.wr-tw caption { caption-side: top; text-align: left; font-weight: 700; padding: 14px 18px 4px; color: var(--ink); }
.wr-tw thead th { background: var(--plum); color: #fff; text-align: left; font-weight: 700; padding: 13px 16px; font-size: .88rem; letter-spacing: .02em; }
.wr-tw thead th:first-child { border-top-left-radius: var(--r-lg); }
.wr-tw thead th:last-child { border-top-right-radius: var(--r-lg); }
.wr-tw td, .wr-tw tbody th { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.wr-tw tbody th { font-weight: 700; color: var(--ink); }
.wr-tw tbody tr:nth-child(even) td, .wr-tw tbody tr:nth-child(even) th { background: #fafbf7; }
.wr-tw tbody tr:last-child td, .wr-tw tbody tr:last-child th { border-bottom: 0; }
.wr-tw tr.is-hi td, .wr-tw tr.is-hi th { background: var(--citrus-soft) !important; }
.wr-tw td.num, .wr-tw th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wr-tw--citrus thead th, .tone-citrus .entry .wr-tw thead th { background: #3d4a06; }
.wr-tw--water thead th, .tone-water .entry .wr-tw thead th { background: var(--water-ink); }
.wr-tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--fog); color: var(--ink-2); white-space: nowrap; }
.wr-tag--good { background: var(--ok-soft); color: var(--ok); }
.wr-tag--warn { background: var(--persimmon-soft); color: var(--persimmon-ink); }
.wr-tag--info { background: var(--water-soft); color: var(--water-ink); }

/* Figures and charts */
.wr-fig { margin: 28px 0; background: #fff; border-radius: var(--r-lg); padding: 18px 18px 14px; box-shadow: var(--shadow); max-width: var(--measure); }
.wr-fig__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wr-fig__scroll svg { min-width: 520px; width: 100%; height: auto; display: block; }
.wr-fig svg text { font-family: var(--font); }
.wr-cap { font-size: .88rem; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
.wr-cap b { color: var(--ink); }

/* Bar chart built in HTML: <div class="wr-bars"><div class="wr-bar" style="--v:62"><span>Label</span><b>620</b></div></div> */
.wr-bars { margin: 26px 0; background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.wr-bars__title { font-weight: 700; margin: 0 0 4px; }
.wr-bar { display: grid; grid-template-columns: minmax(7rem, 34%) 1fr auto; align-items: center; gap: 10px; font-size: .92rem; }
.wr-bar span { color: var(--ink-2); line-height: 1.3; }
.wr-bar b { font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
.wr-bar::after { content: ""; grid-column: 2; grid-row: 1; height: 16px; border-radius: 999px; width: calc(var(--v, 50) * 1%); background: linear-gradient(90deg, var(--plum), #8a55b0); }
.wr-bar--citrus::after { background: linear-gradient(90deg, #a9c52a, var(--citrus)); }
.wr-bar--water::after { background: linear-gradient(90deg, var(--water-ink), var(--water)); }
.wr-bar--warn::after { background: linear-gradient(90deg, var(--persimmon-ink), var(--persimmon)); }
.wr-bars__note { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }

/* Callouts */
.wr-note, .wr-warn, .wr-tip { border-radius: var(--r-md); padding: 16px 18px 4px 52px; margin: 24px 0; position: relative; }
.wr-note { background: var(--water-soft); }
.wr-tip { background: var(--citrus-soft); }
.wr-warn { background: var(--persimmon-soft); }
.wr-note::before, .wr-warn::before, .wr-tip::before { position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff; }
.wr-note::before { content: "i"; background: var(--water-ink); }
.wr-tip::before { content: "✓"; background: var(--citrus-ink); }
.wr-warn::before { content: "!"; background: var(--persimmon-ink); }
.wr-note p:first-child strong, .wr-warn p:first-child strong, .wr-tip p:first-child strong { display: block; margin-bottom: 2px; }

/* Steps */
.wr-steps { list-style: none; padding: 0 !important; counter-reset: wrstep; margin: 24px 0; }
.wr-steps > li { counter-increment: wrstep; position: relative; padding: 14px 16px 6px 64px; margin: 0 0 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); }
.wr-steps > li::before { content: counter(wrstep); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 11px; background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 700; }
.wr-steps > li::marker { content: ""; }

/* Compare and myth/fact */
.wr-compare { display: grid; gap: 14px; margin: 24px 0; }
@media (min-width: 700px) { .wr-compare { grid-template-columns: 1fr 1fr; } }
.wr-compare > div { background: #fff; border-radius: var(--r-md); padding: 18px 18px 6px; box-shadow: var(--shadow); border-top: 5px solid var(--plum); }
.wr-compare > div:nth-child(2) { border-top-color: var(--citrus); }
.wr-compare h3, .wr-compare h4 { margin-top: 0; }
.wr-myth { display: grid; gap: 0; margin: 22px 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.wr-myth > div { padding: 14px 18px 4px; }
.wr-myth > div:first-child { background: var(--persimmon-soft); }
.wr-myth > div:last-child { background: #fff; }
.wr-myth b.wr-myth__lbl { display: block; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.wr-myth > div:first-child b.wr-myth__lbl { color: var(--persimmon-ink); }
.wr-myth > div:last-child b.wr-myth__lbl { color: var(--ok); }

/* FAQ */
.wr-faq { margin: 18px 0 30px; display: grid; gap: 10px; }
.wr-faq details { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); }
.wr-faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; line-height: 1.4; min-height: 56px; }
.wr-faq summary::-webkit-details-marker { display: none; }
.wr-faq summary::after { content: "+"; position: absolute; right: 16px; top: 14px; width: 28px; height: 28px; border-radius: 9px; background: var(--plum-soft); color: var(--plum); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s ease; }
.wr-faq details[open] summary::after { content: "–"; background: var(--plum); color: #fff; }
.wr-a { padding: 0 18px 6px; color: var(--ink-2); }

/* Key takeaways */
.wr-take { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 20px 22px 10px; margin: 30px 0; }
.wr-take .wr-lbl { color: var(--citrus); }
.wr-take ul { list-style: none; padding: 0 !important; }
.wr-take li { position: relative; padding-left: 30px; margin: 0 0 10px; color: #f1eef7; }
.wr-take li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--citrus); border-bottom: 3px solid var(--citrus); transform: rotate(-45deg); }
.wr-take strong { color: #fff; }

/* Sources */
.wr-sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }
.wr-sources ol { padding-left: 1.2em; }

/* Inline app panel */
.wr-app { display: grid; gap: 14px; align-items: center; background: var(--plum-soft); border: 2px solid var(--plum-mid); border-radius: var(--r-lg); padding: 18px 20px; margin: 32px 0; max-width: var(--measure); }
.wr-app .wp-mark { border-radius: 14px; }
.wr-app__title { font-weight: 700; font-size: 1.15rem; margin: 0 0 2px; color: var(--plum-deep); }
.wr-app__text { margin: 0; font-size: .98rem; color: var(--ink-2); line-height: 1.5; }
@media (min-width: 640px) { .wr-app { grid-template-columns: auto 1fr auto; } }

/* Health note */
.health-note { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--r-md); padding: 16px 18px; margin: 34px 0 0; border: 2px dashed var(--line-2); font-size: .93rem; color: var(--ink-2); line-height: 1.55; max-width: var(--measure); }
.health-note .ico { flex: none; color: var(--persimmon); margin-top: 2px; }
.health-note p { margin: 0; }

/* Share */
.share { margin: 30px 0 0; max-width: var(--measure); }
.share__label { font-weight: 700; margin: 0 0 10px; }
.share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--ink); font: 700 .9rem var(--font); text-decoration: none; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.share__btn:hover { border-color: var(--plum); color: var(--plum); }
.share__btn--facebook .ico { color: #1877f2; }
.share__btn--pinterest .ico { color: #e60023; }
.share__btn--whatsapp .ico { color: #1fa855; }
.share__btn--reddit .ico { color: #ff4500; }
.share__btn--linkedin .ico { color: #0a66c2; }
.share__btn--native { background: var(--plum); color: #fff; border-color: var(--plum); }
@media (max-width: 560px) { .share__btn span { display: none; } .share__btn { width: 46px; padding: 0; justify-content: center; } .share__btn--native span { display: inline; } .share__btn--native { width: auto; padding: 0 16px; } }

/* Author card */
.author-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); margin: 30px 0 0; max-width: var(--measure); }
.author-card img { border-radius: 50%; width: 88px; height: 88px; flex: none; box-shadow: 0 0 0 4px var(--plum-soft); }
.author-card h2 { font-size: 1.3rem; margin: 0; }
.author-card__role { color: var(--muted); margin: 0 0 8px; font-size: .95rem; }
.author-card__bio { font-size: .96rem; color: var(--ink-2); }
.author-card__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-weight: 700; font-size: .95rem; }
@media (max-width: 520px) { .author-card { flex-direction: column; } }

.related { padding: 8px 0 24px; }

/* ---------- Hub page ---------- */

.hub-mast { padding: 26px 0 34px; background: var(--plum-soft); border-bottom: 1px solid var(--plum-mid); }
.hub-mast--citrus { background: var(--citrus-soft); border-bottom-color: var(--citrus-mid); }
.hub-mast--water { background: var(--water-soft); border-bottom-color: var(--water-mid); }
.hub-mast__in { display: grid; gap: 24px; align-items: start; }
.hub-mast h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); line-height: 1.05; letter-spacing: -.02em; margin: 16px 0 12px; }
.hub-mast__dek { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; }
.hub-mast__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hub-mast__meta span { background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow); }
.hub-mast__app { background: #fff; border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); }
.hub-mast__app .wp-mark { border-radius: 12px; }
.hub-mast__app-title { font-weight: 700; font-size: 1.2rem; margin: 12px 0 6px; }
.hub-mast__app p { font-size: .96rem; color: var(--ink-2); }
@media (min-width: 960px) {
	.hub-mast { padding: 34px 0 46px; }
	.hub-mast__in { grid-template-columns: 1fr 340px; gap: 48px; align-items: end; }
}
.hub-body { padding-top: 36px; padding-bottom: 20px; }
.hub-body .section-title { margin-top: 30px; }
.hub-body .gcard--lead { margin-bottom: 8px; }

.soon { margin: 36px 0 0; background: #fff; border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow); }
.soon .section-title { margin-top: 0; }
.soon__intro { color: var(--muted); }
.soon__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; }
@media (min-width: 760px) { .soon__list { grid-template-columns: 1fr 1fr; } }
.soon__list li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink-2); line-height: 1.35; }
.soon__list .ico { flex: none; color: var(--muted); margin-top: 2px; }

.sibs { padding: 4px 0 20px; }
.sib { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.sib:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--ink); }
.sib b { display: block; font-size: 1.15rem; }
.sib small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
.sib > .ico { margin-left: auto; flex: none; color: var(--plum); }

/* ---------- Pages and policies ---------- */

.page-mast { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.page-mast h1 { font-size: clamp(2rem, 5.4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; max-width: 26ch; }
.page-mast__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; margin: 0; }
.page-mast__meta a { font-weight: 700; }
.page-mast__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44rem; }
.page-mast .searchbox { margin-top: 10px; }
.page-mast--map { background: linear-gradient(180deg, #fff 0%, var(--plum-soft) 100%); }

.page-layout { display: grid; gap: 32px; padding-top: 30px; padding-bottom: 20px; }
.page-main { min-width: 0; max-width: 46rem; }
.page-side { display: none; }
@media (min-width: 1040px) {
	.page-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
	.page-layout--solo { grid-template-columns: minmax(0, 1fr); }
	.page-side { display: block; }
	.page-side .toc--rail { position: sticky; top: calc(var(--head-h) + 20px); }
	.page-layout .toc--inline { display: none; }
}

.entry--policy h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); }
.policy-lede { background: #fff; border-radius: var(--r-lg); padding: 22px 24px 8px; box-shadow: var(--shadow); border-left: 6px solid var(--plum); margin: 0 0 26px; }
.policy-lede p { font-size: 1.12em; color: var(--ink-2); }
.policy-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 28px; }
@media (min-width: 760px) { .policy-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.policy-facts > div { background: var(--fog); border-radius: var(--r-md); padding: 14px 16px; }
.policy-facts b { display: block; font-size: 1.3rem; line-height: 1.15; color: var(--plum-deep); margin-bottom: 4px; }
.policy-facts span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.4; word-break: break-word; }
.policy-cards { display: grid; gap: 14px; margin: 18px 0 26px; }
@media (min-width: 700px) { .policy-cards { grid-template-columns: repeat(2, 1fr); } }
.policy-cards > div { background: #fff; border-radius: var(--r-md); padding: 18px 18px 6px; box-shadow: var(--shadow); border-top: 4px solid var(--citrus); }
.policy-cards > div:nth-child(3n+2) { border-top-color: var(--plum); }
.policy-cards > div:nth-child(3n+3) { border-top-color: var(--water); }
.policy-cards h3 { font-size: 1.1rem; margin: 0 0 6px; }
.policy-cards p { font-size: .96rem; color: var(--ink-2); }
.policy-callout { background: var(--water-soft); border-radius: var(--r-md); padding: 16px 20px 4px; margin: 24px 0; }
.policy-callout--alert { background: var(--persimmon-soft); border: 2px solid #f6c3ae; }
.policy-steps { list-style: none; padding: 0 !important; counter-reset: pstep; }
.policy-steps > li { counter-increment: pstep; position: relative; padding: 4px 0 6px 52px; margin: 0 0 14px; }
.policy-steps > li::before { content: counter(pstep); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 12px; background: var(--plum); color: #fff; display: grid; place-items: center; font-weight: 700; }

.policy-more { padding-top: 10px; padding-bottom: 28px; }
.pcard { display: block; background: #fff; border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.pcard:hover { transform: translateY(-2px); color: var(--ink); }
.pcard b { display: block; margin-bottom: 4px; }
.pcard span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* Contact form */
.wpr-form { background: #fff; border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); margin: 18px 0 28px; display: grid; gap: 14px; }
.wpr-form__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .wpr-form__row { grid-template-columns: 1fr 1fr; } }
.wpr-field { margin: 0; display: grid; gap: 6px; }
.wpr-field label { font-weight: 700; }
.wpr-field__hint { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }
.wpr-field input, .wpr-field select, .wpr-field textarea { width: 100%; font: 400 1rem var(--font); color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 52px; }
.wpr-field textarea { min-height: 160px; resize: vertical; }
.wpr-field input:focus, .wpr-field select:focus, .wpr-field textarea:focus { outline: none; border-color: var(--plum); background: #fff; }
.wpr-form__submit { margin: 0; }
.wpr-form__submit button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--plum); color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.wpr-form__privacy { font-size: .88rem; color: var(--muted); margin: 0; }
.form-note { border-radius: var(--r-md); padding: 14px 18px; margin: 14px 0; }
.form-note--ok { background: var(--ok-soft); }
.form-note--error { background: var(--persimmon-soft); }

/* ---------- Visual sitemap ---------- */

.vmap { padding-top: 30px; padding-bottom: 30px; }
.vmap__hubs { display: grid; gap: 18px; }
@media (min-width: 1000px) { .vmap__hubs { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.vmap__hub { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.vmap__head { display: flex; align-items: center; gap: 14px; padding: 20px; text-decoration: none; color: var(--ink); background: var(--plum-soft); }
.vmap__hub--citrus .vmap__head { background: var(--citrus-soft); }
.vmap__hub--water .vmap__head { background: var(--water-soft); }
.vmap__head b { display: block; font-size: 1.2rem; }
.vmap__head small { display: block; color: var(--muted); font-size: .88rem; }
.vmap__list { list-style: none; margin: 0; padding: 6px 20px 14px; }
.vmap__list li { padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.vmap__list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.vmap__list a:hover { color: var(--plum); }
.vmap__list--soon li { color: var(--muted); font-size: .95rem; }
.vmap__soon-label { margin: 8px 20px 0; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vmap__lower { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 1000px) { .vmap__lower { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.vmap__box { background: #fff; border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); }
.vmap__box h2 { font-size: 1.3rem; }
.vmap__pages { display: grid; gap: 10px; }
@media (min-width: 640px) { .vmap__pages { grid-template-columns: 1fr 1fr; } }
.vmap__pages .pcard { box-shadow: none; background: var(--fog); }
.vmap__box--feeds { background: var(--ink); color: #fff; }
.vmap__box--feeds h2 { color: #fff; }
.vmap__box--feeds p { color: #d8d3e4; font-size: .95rem; }
.vmap__feeds { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vmap__feeds a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 14px; background: rgba(255, 255, 255, .07); border-radius: 12px; text-decoration: none; color: #fff; }
.vmap__feeds a:hover { background: rgba(255, 255, 255, .14); }
.vmap__feeds code { background: transparent; color: var(--citrus); padding: 0; font-weight: 700; }
.vmap__feeds span { color: #cfc8de; font-size: .88rem; }

/* ---------- Author ---------- */

.author-mast { display: grid; gap: 22px; align-items: start; }
.author-mast img { border-radius: 50%; width: 132px; height: 132px; box-shadow: 0 0 0 6px var(--plum-soft); }
.author-mast__role { color: var(--plum); font-weight: 700; margin: 0 0 10px; font-size: 1.1rem; }
.author-mast__bio { font-size: 1.08rem; color: var(--ink-2); max-width: 44rem; }
.author-mast__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: .95rem; }
.author-mast__meta a { font-weight: 700; }
@media (min-width: 760px) { .author-mast { grid-template-columns: auto 1fr; gap: 34px; } .author-mast img { width: 168px; height: 168px; } }
.author-body { padding-top: 30px; padding-bottom: 20px; }
.author-facts { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 860px) { .author-facts { grid-template-columns: repeat(3, 1fr); } }
.author-facts > div { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.author-facts .ico { color: var(--plum); }
.author-facts b { display: block; margin: 6px 0 4px; }
.author-facts span { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }

.empty { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }

/* ---------- Pagination ---------- */

.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--plum); color: #fff; }

/* ---------- Subscribe ---------- */

.subscribe { background: var(--citrus); padding: 38px 0; margin-top: 40px; }
.subscribe__in { display: grid; gap: 18px; align-items: center; }
.subscribe h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 6px; }
.subscribe p { margin: 0; color: var(--ink-2); }
.subscribe form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 10px 30px -15px rgba(60, 70, 0, .7); }
.subscribe input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--font); padding: 0 14px; min-height: 48px; outline: none; color: var(--ink); }
.subscribe__msg { grid-column: 1 / -1; font-weight: 700; }
@media (min-width: 860px) { .subscribe__in { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* ---------- Footer ---------- */

.site-foot { background: var(--ink); color: #d8d3e4; padding: 44px 0 110px; font-size: .95rem; }
@media (min-width: 1040px) { .site-foot { padding-bottom: 30px; } }
.site-foot a { color: #fff; }
.site-foot__grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot__about > a { text-decoration: none; display: inline-flex; margin-bottom: 12px; }
.site-foot__about p { max-width: 26rem; }
.site-foot h2 { color: #fff; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.site-foot li { margin: 0 0 8px; }
.site-foot li a { text-decoration: none; }
.site-foot li a:hover { text-decoration: underline; color: var(--citrus); }
.site-foot__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 30px; padding-top: 18px; font-size: .88rem; }
.site-foot__legal a { color: #d8d3e4; }

/* ---------- Cookie notice ---------- */

.cookie-notice { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; background: #fff; border-radius: var(--r-lg); padding: 16px 18px; box-shadow: 0 20px 50px -15px rgba(26, 20, 48, .5); border: 2px solid var(--line); max-width: 560px; font-size: .93rem; }
.cookie-notice p { margin: 0 0 12px; }
.cookie-notice a { font-weight: 700; }
.cookie-notice__row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 640px) { .cookie-notice { left: 20px; bottom: 20px; right: auto; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.hero-chart-card, .phone { transform: none; }
}

@media print {
	.site-head, .site-foot, .subscribe, .guide-side, .app-band, .app-bar, .share, .cookie-notice, .wr-app, .toc { display: none !important; }
	body { background: #fff; font-size: 12pt; }
}
