/*
Theme Name: Pool Heater Guide
Template: aff-base
Description: Backyard pool on a sunny afternoon for pool-heater-guide.com: pool aqua, deep-water blue, sun yellow and white coping, with ripple and caustic lines, waterline tile and lane-rope floats.
Version: 1.0.0
*/

:root {
	--bg: #f2f9fa;
	--surface: #ffffff;
	--surface-2: #e1f2f4;
	--ink: #0c2a3d;
	--ink-2: #2b4a5c;
	--muted: #557083;
	--line: #cde3e8;
	--accent: #0a5f8f;
	--accent-ink: #ffffff;
	--accent-soft: #dcf1f5;
	--accent-2: #ffc93c;
	--accent-2-ink: #0c2a3d;
	--good: #1d7a55;
	--bad: #b83a2b;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(7, 44, 69, .05), 0 10px 28px rgba(7, 44, 69, .09);
	--font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display-weight: 600;
	--display-tracking: -0.012em;
	/* Site-only tokens */
	--aqua: #1fb5c9;
	--aqua-light: #7fdde9;
	--aqua-deep: #12839b;
	--deep: #0a4e7a;
	--abyss: #072c45;
	--sun: #ffc93c;
	--sun-deep: #e09a12;
	--sun-soft: #fff6d6;
	--coping: #f6f1e7;
	--coping-line: #ddd3c1;
	--water: linear-gradient(180deg, #7fdde9 0%, #2cb8d2 45%, #1389b8 100%);
	/* Waterline mosaic tile, lane-rope floats, caustic net and a wave edge */
	--tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect width='12' height='12' fill='%230f6f9f'/%3E%3Crect x='.6' y='.6' width='4.8' height='4.8' fill='%232a9cc8'/%3E%3Crect x='6.6' y='.6' width='4.8' height='4.8' fill='%231785b6'/%3E%3Crect x='.6' y='6.6' width='4.8' height='4.8' fill='%231785b6'/%3E%3Crect x='6.6' y='6.6' width='4.8' height='4.8' fill='%235fd3e3'/%3E%3C/svg%3E");
	--rope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='10'%3E%3Crect y='4.4' width='42' height='1.2' fill='%23072c45'/%3E%3Crect x='1' y='1' width='12' height='8' rx='4' fill='%23ffc93c'/%3E%3Crect x='15' y='1' width='12' height='8' rx='4' fill='%23ffffff' stroke='%23a9cfda' stroke-width='.8'/%3E%3Crect x='29' y='1' width='12' height='8' rx='4' fill='%231fb5c9'/%3E%3C/svg%3E");
	--caustic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='60' viewBox='0 0 46 30'%3E%3Cpath d='M0 9C7 5 13 13 21 9S35 3 46 9M9 0C12 7 5 13 9 21S15 28 12 30M33 0C29 7 37 13 33 20S29 27 31 30M0 24C9 20 17 28 25 24S38 18 46 24' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
	--caustic-aqua: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='60' viewBox='0 0 46 30'%3E%3Cpath d='M0 9C7 5 13 13 21 9S35 3 46 9M9 0C12 7 5 13 9 21S15 28 12 30M33 0C29 7 37 13 33 20S29 27 31 30M0 24C9 20 17 28 25 24S38 18 46 24' fill='none' stroke='%231fb5c9' stroke-width='.9' stroke-linecap='round'/%3E%3C/svg%3E");
	--wave-aqua: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='8' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M0 8V4C10 0 20 0 30 4S50 8 60 4V8Z' fill='%237fdde9'/%3E%3C/svg%3E");
	--wave-abyss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V8C20 0 40 0 60 8S100 16 120 8V16Z' fill='%23072c45'/%3E%3C/svg%3E");
	--wave-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V8C20 0 40 0 60 8S100 16 120 8V16Z' fill='%23f2f9fa'/%3E%3C/svg%3E");
	/* Amazon photos sit on a strip of waterline tile */
	--photo-radius: 14px;
	--photo-frame: 7px;
	--photo-stage: var(--tile);
	--photo-stage-size: 12px 12px;
	--photo-stage-color: #1785b6;
}

/* Jost is geometric and a little narrow: a step larger than the parent for headlines */
.hero__title { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; }
.article__title, .silo-head h1 { font-size: clamp(31px, 4.2vw, 48px); line-height: 1.12; }
.prose h2 { font-size: clamp(25px, 2.6vw, 31px); }
.prose h3 { font-size: 22px; }
.section__head h2, .teaser__copy h2 { font-size: clamp(26px, 3vw, 34px); }
.kicker { font-weight: 700; letter-spacing: .14em; }
strong, b { font-weight: 700; }

/* ---------- Buttons: rounded like pool floats ---------- */
.btn { font-weight: 700; }
.btn--primary { background: linear-gradient(180deg, #0e6fa5, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 16px rgba(10, 95, 143, .25); }
.btn--ghost { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* ---------- Header: white coping over a strip of waterline tile ---------- */
.site-header { background: #fff; backdrop-filter: none; border-bottom: 0; box-shadow: 0 6px 18px rgba(7, 44, 69, .07); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 6px; background: var(--tile) 0 0 / 12px 12px; box-shadow: inset 0 1px 0 rgba(7, 44, 69, .25); pointer-events: none; }
.site-header__inner { min-height: 70px; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-size: 21px; }
.nav__list a { color: var(--ink-2); font-weight: 700; }
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--accent-soft); color: var(--accent); }
.icon-btn, .nav-toggle { border-radius: 999px; }
.progress { top: 100%; height: 6px; z-index: 1; }
.progress span { background: linear-gradient(90deg, var(--sun), #ffe28a); }
.site-search { top: calc(100% + 6px); }
@media (max-width: 1120px) {
	.nav { top: calc(100% + 6px); background: #fff; }
}

/* ---------- Hero: sky light at the top, a caustic net below, a ripple edge at the bottom ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 76px; border-bottom: 0; background:
	radial-gradient(520px 300px at 8% 0%, rgba(255, 201, 60, .3), transparent 70%),
	radial-gradient(900px 420px at 100% 100%, rgba(31, 181, 201, .2), transparent 70%),
	linear-gradient(180deg, #dcf3f8 0%, #eef9fb 46%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--caustic-aqua) 0 0 / 92px 60px; opacity: .16;
	-webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 100%); mask-image: linear-gradient(180deg, transparent 35%, #000 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 16px; background: var(--wave-bg) 0 0 / 120px 16px repeat-x; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { max-width: 15em; margin-left: auto; margin-right: auto; }
.hero .kicker { display: inline-flex; align-items: center; gap: 12px; padding: 7px 15px 7px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(7, 44, 69, .06); color: var(--accent); }
.hero .kicker::before { content: ""; flex: none; width: 42px; height: 10px; background: var(--rope) 0 0 / 42px 10px no-repeat; }
.hero__text { font-size: 18.5px; max-width: 38em; }
.hero-center .hero__art { width: 100%; max-width: 900px; margin: 22px auto 0; filter: drop-shadow(0 18px 26px rgba(7, 44, 69, .14)); }

.silo-head { position: relative; background: radial-gradient(520px 260px at 0% 0%, rgba(255, 201, 60, .22), transparent 70%), radial-gradient(700px 300px at 100% 100%, rgba(31, 181, 201, .16), transparent 70%), #fff; border-bottom: 0; }
.silo-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--tile) 0 0 / 12px 12px; }
.silo-head__icon { width: 78px; height: 78px; padding: 15px; border-radius: 22px; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 -10px 0 rgba(31, 181, 201, .18); }
.article__head { border-bottom: 0; background: #fff; box-shadow: inset 0 -4px 0 var(--surface-2); }

/* ---------- Section heads: a lane rope under the title ---------- */
.section__head h2::after { content: ""; display: block; width: 126px; height: 10px; margin-top: 12px; background: var(--rope) 0 0 / 42px 10px repeat-x; }
.section__more { color: var(--accent); font-weight: 700; }

/* ---------- Silo tiles: white coping, water that rises on hover ---------- */
.silos__grid { grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.silo { position: relative; overflow: hidden; padding: 24px 20px 46px; border: 1.5px solid var(--line); border-top: 6px solid var(--coping); box-shadow: inset 0 1px 0 var(--coping-line); }
.silo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; pointer-events: none; transition: height .35s ease;
	background: var(--caustic) 0 8px / 92px 60px, var(--wave-aqua) 0 0 / 60px 8px repeat-x, linear-gradient(180deg, #7fdde9, var(--aqua)) 0 7.5px / 100% calc(100% - 7.5px) no-repeat; }
.silo:hover, .silo:focus-visible { border-color: var(--line); border-top-color: var(--coping); }
.silo:hover::after, .silo:focus-visible::after { height: 40px; }
.silo__icon { position: relative; z-index: 1; width: 66px; height: 66px; padding: 13px; margin-bottom: 12px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); }
.silo:nth-child(4n+1) .silo__icon { background: var(--sun-soft); color: #b26f00; }
.silo:nth-child(4n+3) .silo__icon { color: var(--aqua-deep); }
.silo:nth-child(4n+4) .silo__icon { background: #e6edf2; color: var(--abyss); }
.silo__name { position: relative; z-index: 1; font-size: 20px; }
.silo__count { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.card__link { border-width: 1.5px; }
.card__link:hover { border-color: var(--aqua-light); }
.card__icon { color: var(--accent); }
.card--money .card__icon { color: #b26f00; }
.card--tool .card__icon { color: var(--aqua-deep); }
.card__title { font-size: 20px; }
.card--lg .card__title { font-size: 25px; }
.card--lg .card__link { position: relative; overflow: hidden; background: linear-gradient(165deg, #e3f6f9, #fff 62%); padding-top: 32px; }
.card--lg .card__link::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--caustic-aqua) 0 0 / 92px 60px; opacity: .13;
	-webkit-mask-image: linear-gradient(165deg, #000, transparent 70%); mask-image: linear-gradient(165deg, #000, transparent 70%); }
.card--lg .card__link::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--tile) 0 0 / 12px 12px; }
.card--lg .card__link > * { position: relative; }
.updates { border-top: 3px solid var(--accent); }

/* ---------- Tool teaser: a deep-water panel ---------- */
.teaser__inner { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.6); color: #d4edf3; background:
	var(--caustic) 0 0 / 92px 60px,
	radial-gradient(520px 320px at 100% 0%, rgba(31, 181, 201, .45), transparent 70%),
	linear-gradient(180deg, var(--deep), var(--abyss)); }
.teaser__inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 44, 69, .84), rgba(7, 44, 69, .94)); pointer-events: none; }
.teaser__inner > * { position: relative; }
.teaser__art svg { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .3)); }
.teaser__copy h2 { color: #fff; }
.teaser__copy .kicker { color: var(--sun); }
.teaser__copy p { color: #d4edf3; }
.teaser .btn--primary { background: var(--sun); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 201, 60, .3); }
.teaser :focus-visible { outline-color: var(--sun); }

/* ---------- Promise: three coping stones ---------- */
.promise__item { position: relative; border: 1.5px solid var(--line); border-top: 0; border-radius: var(--radius); padding-top: 34px; overflow: hidden; }
.promise__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--coping); box-shadow: inset 0 -2px 0 var(--coping-line); }
.promise__item::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; background: var(--tile) 0 0 / 12px 12px; }
.promise__item h3 { font-size: 20px; }

/* ---------- Quick picks: lane numbers ---------- */
.quick-picks { counter-reset: pick; border-width: 1.5px; }
.quick-picks li { position: relative; padding-left: 70px; counter-increment: pick; }
.quick-picks li::before { content: counter(pick); position: absolute; left: 18px; top: 13px; width: 36px; height: 38px; display: grid; place-items: center; border-radius: 8px; font: 600 18px/1 var(--font-display); color: #fff; background: var(--accent); box-shadow: inset 0 -4px 0 var(--sun); }
.quick-picks li:first-child::before { background: var(--sun); color: var(--ink); box-shadow: inset 0 -4px 0 var(--sun-deep); }
.quick-picks li strong { font-size: 18px; }

/* ---------- Product box: a waterline strip on top ---------- */
.aff-product { position: relative; overflow: hidden; padding-top: 26px; border: 1.5px solid var(--line); }
.aff-product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--tile) 0 0 / 12px 12px; }
.aff-product__icon { border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.aff-product__badge { background: var(--accent); color: #fff; }
.aff-product__btn, .aff-cta__btn { font-weight: 700; box-shadow: inset 0 -3px 0 rgba(224, 154, 18, .55), 0 5px 12px rgba(224, 154, 18, .22); }
.aff-cta { border-left: 0; padding-left: 28px; position: relative; overflow: hidden; border-radius: var(--radius); }
.aff-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--water); }
.aff-cta__label { color: #9a5f00; }
.aff-pick:hover, .aff-sidepick:hover { border-color: var(--aqua); }

/* ---------- Prose ---------- */
.prose th { background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--aqua-light); }
.prose blockquote { padding: 12px 18px; border-left: 5px solid var(--aqua); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--accent-soft); color: var(--ink); }
.prose li::marker { color: var(--aqua-deep); }
.faq summary { font-size: 19px; }
.trust { border-left: 8px solid var(--sun); }
.aff-toc li a.is-active { border-left-color: var(--aqua); }
.aff-diagram { border-width: 1.5px; }

/* ---------- Footer: deep water under a ripple edge ---------- */
.site-footer { position: relative; margin-top: 64px; background: var(--abyss); color: #bcd7e1; padding-top: 64px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 16px; background: var(--wave-abyss) 0 0 / 120px 16px repeat-x; }
.site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--caustic) 0 0 / 92px 60px; opacity: .07; }
.site-footer > * { position: relative; z-index: 1; }
.site-footer a:hover { color: #fff; }
.site-footer__title { color: var(--sun); }
.site-footer .brand__mark { color: inherit; }
.site-footer :focus-visible { outline-color: var(--sun); }

/* ==========================================================================
   Tools
   ========================================================================== */
.aff-tool:has(.agt-pl) { position: relative; overflow: hidden; padding-top: 34px; border-color: var(--line); }
.aff-tool:has(.agt-pl)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--coping); box-shadow: inset 0 -2px 0 var(--coping-line); }
.aff-tool:has(.agt-pl)::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; background: var(--tile) 0 0 / 12px 12px; }
.agt-pl__kicker { margin: 0 0 6px; font: 700 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-deep); }
.agt-pl h3 { margin: 0 0 8px; font-size: 23px; line-height: 1.2; }
.agt-pl__intro { margin: 0 0 6px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.agt-pl__step { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font: 600 17px/1.3 var(--font-display); color: var(--ink); }
.agt-pl__num { flex: none; display: grid; place-items: center; width: 28px; height: 30px; border-radius: 7px; background: var(--accent); box-shadow: inset 0 -3px 0 var(--sun); font: 600 14px/1 var(--font-display); color: #fff; }
.agt-pl__hint, .agt-pl__field-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.agt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.agt-chips button { min-height: 44px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font: 700 14.5px/1.2 var(--font-body); color: var(--ink-2); cursor: pointer; }
.agt-chips button:hover { border-color: var(--aqua); }
.agt-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.agt-chips--mini { gap: 6px; margin-top: 8px; }
.agt-chips--mini button { min-width: 60px; padding: 6px 10px; font-size: 14px; }
.agt-chips--shape { margin-bottom: 14px; }
.agt-chips--shape button { display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; }
.agt-chips--shape svg { width: 22px; height: 22px; flex: none; }
.agt-chips--rate button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-radius: 14px; padding: 9px 16px; text-align: left; }
.agt-chips--rate small { font-weight: 400; font-size: 12.5px; opacity: .8; }
.agt-pl__dims [hidden] { display: none; }
.agt-pl__dims { margin-bottom: 0; }

.agt-heat__temps { margin-bottom: 0; }
.agt-heat__eff, .agt-vol__turn { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 14px 20px; align-items: end; }
.agt-heat__effbox label, .agt-vol__turnbox label { margin-bottom: 6px; }

/* Results */
.agt-pl .aff-tool__result.agt-pl__result { margin-top: 22px; padding: 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px #bfdde4; }
.agt-pl__result:empty { display: none; }
.agt-big { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 14px; padding: 18px 20px 20px; border-radius: 12px; color: #d4edf3;
	background: linear-gradient(180deg, rgba(10, 78, 122, .9), rgba(7, 44, 69, .95)), var(--caustic) 0 0 / 92px 60px, var(--abyss); }
.agt-big__label { flex-basis: 100%; font: 700 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-light); }
.agt-pl .agt-big strong { font: 600 44px/1.05 var(--font-display); letter-spacing: -0.01em; color: var(--sun); }
.agt-big span { font-size: 15px; }

.agt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.agt-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 13px 13px; border-radius: var(--radius-sm); background: #fff; box-shadow: inset 0 0 0 1px #bfdde4; border-top: 4px solid var(--aqua); }
.agt-stat--sun { border-top-color: var(--sun); }
.agt-stat--deep { border-top-color: var(--accent); }
.agt-stat--abyss { border-top-color: var(--abyss); }
.agt-stat b { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.agt-pl .agt-stat strong { font: 600 21px/1.2 var(--font-display); color: var(--ink); }
.agt-stat span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }

/* Output against the sizes DOE lists */
.agt-scale { margin: 14px 0 0; padding: 14px 14px 12px; border-radius: var(--radius-sm); background: #fff; box-shadow: inset 0 0 0 1px #bfdde4; }
.agt-scale__title { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.agt-scale__track { position: relative; height: 22px; margin: 0 8px; border-radius: 999px; background: var(--surface-2); }
.agt-scale__gas { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #ffe28a, var(--sun)); }
.agt-scale__hp { position: absolute; top: -4px; width: 4px; height: 30px; margin-left: -2px; border-radius: 2px; background: var(--aqua-deep); }
.agt-scale__you { position: absolute; top: -8px; width: 18px; height: 38px; margin-left: -9px; }
.agt-scale__you::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--abyss); }
.agt-scale__you::after { content: ""; position: absolute; left: 1px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--abyss); box-shadow: 0 0 0 3px #fff; }
.agt-scale__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.agt-scale__legend i { display: inline-block; width: 18px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.agt-scale__legend .k-gas { background: var(--sun); }
.agt-scale__legend .k-hp { width: 4px; height: 14px; background: var(--aqua-deep); vertical-align: -3px; }
.agt-scale__legend .k-you { width: 12px; height: 12px; border-radius: 50%; background: var(--abyss); }

.prose .aff-tool ol.agt-math, .agt-math { margin: 14px 0 0; padding: 12px 14px; list-style: none; border-radius: var(--radius-sm); background: var(--abyss); color: #d4edf3; font: 500 14px/1.6 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.agt-math li b { color: #fff; font-weight: 700; }
.agt-math li span { color: var(--sun); }
.agt-flag { margin: 12px 0 0; padding: 10px 14px; border-left: 5px solid var(--aqua); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #fff; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.agt-flag--sun { border-left-color: var(--sun); }
.agt-flag--warn { border-left-color: var(--bad); }
.agt-flag a { font-weight: 700; }

.agt-pl__formulas { margin-top: 16px; padding: 14px 16px; border: 1.5px dashed #b5d6de; border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.agt-pl__formulas-title { margin: 0 0 6px; font: 700 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose .aff-tool .agt-pl__formulas ul, .agt-pl__formulas ul { margin: 0; padding: 0; list-style: none; }
.prose .aff-tool .agt-pl__formulas li, .agt-pl__formulas li { position: relative; margin: 4px 0; padding-left: 20px; }
.agt-pl__formulas li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 8px; background: var(--wave-aqua) 0 0 / 12px 8px; border-bottom: 2px solid var(--aqua); }
.agt-pl__formulas p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.agt-pl__note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.agt-pl__source { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.agt-pl__source b { color: var(--ink-2); }

/* Volume: a cut-away depth gauge */
.agt-depth { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: 0 0 14px; }
.agt-depth svg { display: block; width: 150px; height: auto; }

@media (max-width: 760px) {
	.hero { padding: 40px 0 56px; }
	.hero__text { font-size: 17.5px; }
	.aff-tool:has(.agt-pl) { padding-left: 16px; padding-right: 16px; }
	.agt-heat__eff, .agt-vol__turn { grid-template-columns: 1fr; }
	.agt-chips--rate button { flex: 1 1 100%; }
	.agt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.agt-pl .aff-tool__result.agt-pl__result { padding: 14px 12px; }
	.agt-pl .agt-big strong { font-size: 36px; }
	.agt-depth { grid-template-columns: 1fr; }
	.agt-depth svg { width: 100%; max-width: 220px; }
	.quick-picks li { padding-left: 64px; }
	.quick-picks li::before { left: 14px; }
}
@media (max-width: 560px) {
	.silos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.silo { padding: 18px 14px 42px; }
	.silo__icon { width: 54px; height: 54px; padding: 10px; border-radius: 16px; }
	.silo__name { font-size: 17px; }
}
@media (max-width: 420px) {
	.agt-chips--shape button { flex: 1 1 calc(50% - 8px); }
	.agt-stat { padding: 10px 10px 11px; }
	.agt-pl .agt-stat strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.silo::after { transition: none; }
}
