/*
Theme Name: Portable Sauna
Template: aff-base
Description: Small-space warmth for portable-sauna.com: warm cedar, terracotta glow, soft sage and oat cream, with steam curls, infrared wave lines and cedar bench slats.
Version: 1.0.0
*/

:root {
	--bg: #f6efe3;
	--surface: #fffcf6;
	--surface-2: #efe5d5;
	--ink: #2b211b;
	--ink-2: #4b3d33;
	--muted: #76675a;
	--line: #e3d5c0;
	--accent: #a3472a;
	--accent-ink: #ffffff;
	--accent-soft: #f7e2d5;
	--accent-2: #b9512b;
	--accent-2-ink: #ffffff;
	--good: #4c7655;
	--bad: #b23a2a;
	--radius: 18px;
	--radius-sm: 11px;
	--shadow: 0 1px 2px rgba(58, 37, 25, .05), 0 10px 28px rgba(58, 37, 25, .09);
	--font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
	--font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display-weight: 400;
	--display-tracking: -0.006em;
	/* Site-only tokens */
	--cedar: #b9773f;
	--cedar-light: #d49a66;
	--cedar-deep: #7a4a2c;
	--cedar-dark: #3a2519;
	--cedar-night: #2a1b12;
	--terracotta: #d9673d;
	--glow: #f08a5d;
	--glow-soft: #fbe3d4;
	--sage: #8fa98f;
	--sage-deep: #56735e;
	--sage-soft: #e3ebdf;
	--oat: #f6efe3;
	--oat-2: #ecdfc9;
	/* Cedar bench slats, steam curls, an infrared wave line and a warm button */
	--slats: repeating-linear-gradient(90deg, #c98a55 0 26px, #a9693a 26px 27.5px, #d49a66 27.5px 53px, #9c5f33 53px 54.5px);
	--slats-dark: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 26px, rgba(0, 0, 0, .18) 26px 27.5px, rgba(255, 255, 255, .02) 27.5px 53px, rgba(0, 0, 0, .18) 53px 54.5px);
	--curls: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='90' viewBox='0 0 120 90'%3E%3Cg fill='none' stroke='%23b9773f' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M20 40c-4-4 4-8 0-12s4-8 0-12M30 40c-4-4 4-8 0-12s4-8 0-12M80 84c-4-4 4-8 0-12s4-8 0-12M90 84c-4-4 4-8 0-12s4-8 0-12'/%3E%3C/g%3E%3C/svg%3E");
	--wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' viewBox='0 0 40 10'%3E%3Cpath d='M0 5c5-5 10 5 15 0s10-5 15 0 7.5 3.5 10 0' fill='none' stroke='%23d9673d' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
	--wave-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' viewBox='0 0 40 10'%3E%3Cpath d='M0 5c5-5 10 5 15 0s10-5 15 0 7.5 3.5 10 0' fill='none' stroke='%2356735e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	--edge-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='14' viewBox='0 0 80 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14V8C10 0 20 0 30 6S50 14 60 6 75 2 80 6V14Z' fill='%232a1b12'/%3E%3C/svg%3E");
	--curl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 21c-2.4-2.4 2.4-4.6 0-7s2.4-4.6 0-7M16 21c-2.4-2.4 2.4-4.6 0-7s2.4-4.6 0-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
	--warm-btn: linear-gradient(180deg, #c55a31, #a8472a);
	/* Amazon photos sit on a cedar bench */
	--photo-radius: 16px;
	--photo-frame: 7px;
	--photo-stage: var(--slats);
	--photo-stage-size: auto;
	--photo-stage-color: #c98a55;
}

/* Instrument Serif is a slim display face: larger sizes, tighter leading. Instrument Sans for everything else. */
body { font-size: 17px; }
.hero__title { font-size: clamp(44px, 5.9vw, 74px); line-height: 1; letter-spacing: -0.012em; }
.article__title, .silo-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.04; }
.prose h2 { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.1; }
.prose h3 { font-size: 26px; line-height: 1.15; }
.prose h4 { font-size: 21px; }
.section__head h2, .teaser__copy h2 { font-size: clamp(32px, 3.6vw, 42px); line-height: 1.06; }
.kicker { font-weight: 600; letter-spacing: .14em; font-size: 12px; }
strong, b { font-weight: 600; }
::selection { background: var(--glow-soft); color: var(--ink); }
:focus-visible { outline-color: var(--terracotta); }

/* ---------- Buttons: soft pills, a warm glow on the primary ---------- */
.btn { font-weight: 600; letter-spacing: .005em; }
.btn--primary { background: var(--warm-btn); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 20px rgba(185, 81, 43, .28); }
.btn--ghost { border-color: var(--cedar-deep); color: var(--cedar-dark); background: rgba(255, 252, 246, .6); }
.btn--ghost:hover { background: var(--cedar-dark); border-color: var(--cedar-dark); color: var(--oat); }

/* ---------- Header: oat cream under a cedar bench strip ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); box-shadow: inset 0 5px 0 #c98a55; }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--slats); pointer-events: none; }
.site-header__inner { min-height: 74px; padding-top: 5px; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-size: 27px; letter-spacing: -0.01em; }
.nav__list a { color: var(--ink-2); font-weight: 500; }
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--sage-soft); color: var(--ink); }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { border-color: var(--terracotta); color: var(--accent); }
.progress span { background: linear-gradient(90deg, var(--sage), var(--terracotta)); }

/* ---------- Hero: warm room light, a terracotta glow behind the art, a cedar bench edge ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 84px; border-bottom: 0; background:
	radial-gradient(560px 420px at 78% 56%, rgba(240, 138, 93, .26), transparent 70%),
	radial-gradient(520px 320px at 0% 0%, rgba(143, 169, 143, .26), transparent 70%),
	linear-gradient(180deg, #f9f3e9 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--curls) 0 0 / 120px 90px; opacity: .2;
	-webkit-mask-image: linear-gradient(110deg, #000 0%, rgba(0, 0, 0, .4) 38%, transparent 60%); mask-image: linear-gradient(110deg, #000 0%, rgba(0, 0, 0, .4) 38%, transparent 60%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--slats); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .25), 0 -6px 18px rgba(122, 74, 44, .16); }
.hero__inner { position: relative; z-index: 1; }
@media (min-width: 901px) {
	.hero__inner { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 40px; }
	.hero__art { margin-right: -12px; }
}
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(58, 37, 25, .06); color: var(--accent); }
.hero .kicker::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--terracotta); -webkit-mask: var(--curl-icon) center / contain no-repeat; mask: var(--curl-icon) center / contain no-repeat; }
.hero__title { color: var(--cedar-dark); }
.hero__text { font-size: 18px; color: var(--ink-2); }
.hero__art { filter: drop-shadow(0 20px 26px rgba(58, 37, 25, .16)); }

/* ---------- Silo and article heads ---------- */
.silo-head { position: relative; border-bottom: 0; background: radial-gradient(620px 280px at 100% 0%, rgba(240, 138, 93, .2), transparent 70%), radial-gradient(520px 260px at 0% 100%, rgba(143, 169, 143, .2), transparent 70%), #faf5ec; }
.silo-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--slats); }
.silo-head__icon { width: 80px; height: 80px; padding: 16px; color: var(--accent); background: var(--glow-soft); border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%; box-shadow: inset 0 -8px 0 rgba(217, 103, 61, .12); }
.article__head { border-bottom: 0; background: #fbf6ee; box-shadow: inset 0 -4px 0 var(--surface-2); }
.article__head .kicker { color: var(--sage-deep); }

/* ---------- Section heads: an infrared wave under the title ---------- */
.section__head h2::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 12px; background: var(--wave) 0 0 / 40px 10px repeat-x; }
.section__more { color: var(--accent); font-family: var(--font-display); font-style: italic; font-size: 19px; }

/* ---------- Silo tiles: a bench slat on top, a sauna-stone icon, steam that rises on hover ---------- */
.silos__grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.silo { position: relative; overflow: hidden; padding: 30px 22px 22px; border: 1.5px solid var(--line); background: linear-gradient(180deg, var(--surface), #fbf5eb); }
.silo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--slats); }
.silo::after { content: ""; position: absolute; right: 14px; top: 26px; width: 44px; height: 44px; pointer-events: none; background: var(--terracotta); opacity: 0; transform: translateY(10px);
	-webkit-mask: var(--curl-icon) center / contain no-repeat; mask: var(--curl-icon) center / contain no-repeat; transition: opacity .3s ease, transform .4s ease; }
.silo:hover, .silo:focus-visible { border-color: #e7c7ae; box-shadow: 0 14px 30px rgba(185, 81, 43, .12); }
.silo:hover::after, .silo:focus-visible::after { opacity: .5; transform: translateY(0); }
.silo__icon { width: 70px; height: 70px; padding: 14px; margin-bottom: 12px; color: var(--accent); background: var(--glow-soft); border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%; }
.silo:nth-child(even) .silo__icon { color: var(--sage-deep); background: var(--sage-soft); border-radius: 54% 46% 44% 56% / 48% 56% 44% 52%; }
.silo__name { font-size: 24px; line-height: 1.1; }
.silo__count { font-weight: 500; }

/* ---------- Cards ---------- */
.card__link { border-width: 1.5px; }
.card__link:hover { border-color: #e7c7ae; }
.card__title { font-size: 23px; line-height: 1.15; }
.card--lg .card__title { font-size: 29px; }
.card--lg .card__link { position: relative; overflow: hidden; padding-left: 36px; background: radial-gradient(360px 220px at 100% 0%, rgba(240, 138, 93, .16), transparent 70%), linear-gradient(165deg, #fbefe4, var(--surface) 62%); }
.card--lg .card__link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: repeating-linear-gradient(180deg, #c98a55 0 26px, #a9693a 26px 27.5px, #d49a66 27.5px 53px, #9c5f33 53px 54.5px); }
.card__more { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 18px; }
.card--tool .card__icon { color: var(--sage-deep); }
.updates { border-top: 3px solid var(--cedar); }

/* ---------- Tool teaser: a cedar room at night with a warm glow ---------- */
.teaser__inner { position: relative; overflow: hidden; color: #ecdcc6; background:
	radial-gradient(460px 320px at 22% 50%, rgba(240, 138, 93, .3), transparent 70%),
	var(--slats-dark),
	linear-gradient(180deg, #452c1e, var(--cedar-dark)); }
.teaser__inner > * { position: relative; }
.teaser__art svg { filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .35)); }
.teaser__copy h2 { color: #fff7ec; }
.teaser__copy .kicker { color: #f7b08c; }
.teaser__copy p { color: #ecdcc6; }
.teaser :focus-visible { outline-color: #f7b08c; }

/* ---------- Promise: three panels, each under a steam curl ---------- */
.promise__item { position: relative; padding-top: 58px; border: 1.5px solid var(--line); border-top: 0; border-radius: var(--radius); background: linear-gradient(180deg, #fbf6ee, var(--surface)); overflow: hidden; }
.promise__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--slats); }
.promise__item::after { content: ""; position: absolute; left: 22px; top: 22px; width: 26px; height: 26px; background: var(--terracotta); -webkit-mask: var(--curl-icon) center / contain no-repeat; mask: var(--curl-icon) center / contain no-repeat; }
.promise__item:nth-child(2)::after { background: var(--sage-deep); }
.promise__item h3 { font-size: 25px; }

/* ---------- Quick picks: numbered sauna stones ---------- */
.quick-picks { counter-reset: pick; border-width: 1.5px; }
.quick-picks li { position: relative; padding-left: 72px; counter-increment: pick; }
.quick-picks li::before { content: counter(pick); position: absolute; left: 18px; top: 13px; width: 38px; height: 34px; display: grid; place-items: center; font: 600 16px/1 var(--font-body); color: #f6efe3;
	background: radial-gradient(circle at 34% 30%, #7a6a60, #3f342f 70%); border-radius: 52% 48% 46% 54% / 58% 52% 48% 42%; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.quick-picks li:first-child::before { background: radial-gradient(circle at 34% 30%, #ef8f63, #b9512b 70%); }
.quick-picks li strong { font-size: 21px; font-weight: 400; }

/* ---------- Product box: a bench slat on top, warm buy buttons ---------- */
.aff-product { position: relative; overflow: hidden; padding-top: 27px; border: 1.5px solid var(--line); }
.aff-product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--slats); }
.aff-product__icon { border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%; background: var(--glow-soft); color: var(--accent); }
.aff-product__badge { background: var(--sage-deep); color: #fff; }
.aff-product__name { font-size: 22px; }
.aff-product__btn, .aff-cta__btn, .aff-pick__btn, .aff-sidepick__btn, .aff-sticky__btn { background: var(--warm-btn); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 14px rgba(185, 81, 43, .22); }
.aff-cta { position: relative; overflow: hidden; border-left: 0; padding-left: 30px; border-radius: var(--radius); }
.aff-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: linear-gradient(180deg, var(--glow), var(--accent)); }
.aff-cta__label { color: var(--accent); }
.aff-cta strong { font-size: 21px; font-weight: 400; }
.aff-pick:hover, .aff-sidepick:hover { border-color: var(--terracotta); }

/* ---------- Prose ---------- */
.prose th { background: var(--oat-2); box-shadow: inset 0 -2px 0 var(--cedar-light); }
.prose blockquote { padding: 12px 18px 12px 22px; border-left: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--sage-soft); color: var(--ink); position: relative; }
.prose blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sage-deep); border-radius: 3px; }
.prose li::marker { color: var(--terracotta); }
.faq summary { font-size: 22px; }
.faq summary::after { color: var(--terracotta); }
.trust { border-left: 8px solid var(--sage); }
.aff-toc li a.is-active { border-left-color: var(--terracotta); }
.aff-disclosure { background: var(--oat-2); }

/* ---------- Footer: a cedar room after dark under a soft wave ---------- */
.site-footer { position: relative; margin-top: 70px; padding-top: 64px; color: #d8c6ae; background: var(--slats-dark), radial-gradient(700px 300px at 85% 0%, rgba(240, 138, 93, .14), transparent 70%), var(--cedar-night); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; background: var(--edge-night) 0 0 / 80px 14px repeat-x; }
.site-footer a:hover { color: #fff; }
.site-footer__title { color: #f7b08c; }
.site-footer .brand { color: #fff7ec; }
.site-footer .brand__mark { color: inherit; }
.site-footer__legal { border-top-color: rgba(255, 255, 255, .1); }
.site-footer :focus-visible { outline-color: #f7b08c; }

/* ==========================================================================
   Tools (portable-sauna-finder, sauna-running-cost-calculator)
   ========================================================================== */
.aff-tool:has(.agt-sn) { position: relative; overflow: hidden; padding-top: 34px; border-color: var(--line); background: linear-gradient(180deg, #fffaf2, var(--surface) 240px); }
.aff-tool:has(.agt-sn)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: var(--slats); }
.agt-sn__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.agt-sn__kicker::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--terracotta); -webkit-mask: var(--curl-icon) center / contain no-repeat; mask: var(--curl-icon) center / contain no-repeat; }
.agt-sn h3 { margin: 0 0 8px; font-size: 29px; line-height: 1.1; }
.agt-sn__intro { margin: 0 0 6px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.agt-sn__step { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font: 600 16px/1.3 var(--font-body); color: var(--ink); }
.agt-sn__num, .agt-sn-q__num { flex: none; display: grid; place-items: center; width: 30px; height: 28px; font: 600 14px/1 var(--font-body); color: #fff;
	background: radial-gradient(circle at 34% 30%, #7a6a60, #3f342f 70%); border-radius: 52% 48% 46% 54% / 58% 52% 48% 42%; }
.agt-sn__hint { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.agt-sn .aff-tool__result.agt-sn__result { margin-top: 22px; padding: 18px; background: #fbf4ea; box-shadow: inset 0 0 0 1px #ead6bf; }
.agt-sn__result:empty { display: none; }
.agt-sn__note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.agt-sn__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-sn__source b, .agt-sn__note b { color: var(--ink); }

/* Finder: five questions as answer tiles */
.agt-sn-find__form { margin-top: 14px; }
.agt-sn-q { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.agt-sn-q legend { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 10px; font: 600 16px/1.3 var(--font-body); color: var(--ink); }
.agt-sn-q__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.agt-sn .agt-sn-opt { position: relative; display: block; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; cursor: pointer; }
.agt-sn-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agt-sn-opt__box { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.agt-sn-opt__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--cedar-deep); }
.agt-sn-opt__icon svg { width: 20px; height: 20px; }
.agt-sn-opt__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.agt-sn-opt__text b { font-size: 15px; line-height: 1.25; color: var(--ink); }
.agt-sn-opt__text small { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.agt-sn-opt:hover .agt-sn-opt__box { border-color: #e2b99c; }
.agt-sn-opt input:checked + .agt-sn-opt__box { border-color: var(--accent); background: #fdf0e7; box-shadow: inset 0 0 0 1px var(--accent); }
.agt-sn-opt input:checked + .agt-sn-opt__box .agt-sn-opt__icon { background: var(--accent); color: #fff; }
.agt-sn-opt input:focus-visible + .agt-sn-opt__box { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.agt-sn-find__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0 0; border-top: 1px dashed var(--line); }
.agt-sn-find__progress { font-size: 14px; font-weight: 600; color: var(--muted); }
.agt-sn-find__reset { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 14px/1 var(--font-body); color: var(--ink-2); cursor: pointer; }
.agt-sn-find__reset:hover { border-color: var(--accent); color: var(--accent); }

.agt-sn-match { padding: 18px 18px 20px; border-radius: 14px; color: #ecdcc6; background: radial-gradient(420px 220px at 0% 0%, rgba(240, 138, 93, .3), transparent 70%), var(--slats-dark), linear-gradient(180deg, #452c1e, var(--cedar-dark)); }
.agt-sn-match__head { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.agt-sn-match__icon { display: grid; place-items: center; width: 64px; height: 64px; padding: 12px; color: #fff; background: radial-gradient(circle at 34% 30%, #ef8f63, #b9512b 72%); border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%; }
.agt-sn-match__icon svg { width: 100%; height: 100%; }
.agt-sn-match__label { margin: 2px 0 2px; font: 600 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #f7b08c; }
.agt-sn-match__name { margin: 0 0 4px; font: 400 30px/1.08 var(--font-display); color: #fff7ec; }
.agt-sn-match__blurb { margin: 0; font-size: 15px; line-height: 1.5; color: #e5d3bb; }
.agt-sn-match__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.agt-sn-match__sub { margin: 0 0 6px; font: 600 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #b9cdb9; }
.prose .aff-tool .agt-sn-match ul, .agt-sn-match ul { margin: 0 0 12px; padding: 0; list-style: none; }
.prose .aff-tool .agt-sn-match li, .agt-sn-match li { position: relative; margin: 0 0 6px; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: #f3e6d4; }
.agt-sn-why li::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; background: #b9cdb9; -webkit-mask: var(--curl-icon) center / contain no-repeat; mask: var(--curl-icon) center / contain no-repeat; }
.agt-sn-warn li::before { content: "!"; position: absolute; left: 1px; top: .18em; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #f7b08c; color: var(--cedar-dark); font: 700 11px/1 var(--font-body); }
.agt-sn-facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 3px; border-radius: 2px; background: #f7b08c; }
.agt-sn-match__ex { margin: 0; font-size: 13.5px; line-height: 1.5; color: #d8c6ae; }
.agt-sn-match__ex b { color: #fff7ec; }
.agt-sn-match .agt-sn-match__go { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 14px; padding: 0 20px; border-radius: 999px; background: var(--warm-btn); color: #fff; font: 600 15px/1.2 var(--font-body); text-decoration: none; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.agt-sn-match .agt-sn-match__go:hover { filter: brightness(1.07); }
.agt-sn-match :focus-visible { outline-color: #f7b08c; }

.agt-sn-rank { margin-top: 16px; }
.agt-sn-rank__title, .agt-sn-types__title, .agt-sn-bars__title { margin: 0 0 10px; font: 600 12px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose .aff-tool ol.agt-sn-rank__list, .agt-sn-rank__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.agt-sn-rank__list li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 92px; gap: 12px; align-items: center; font-size: 14.5px; }
.agt-sn-rank__name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.agt-sn-rank__name a:hover { color: var(--accent); text-decoration: underline; }
.agt-sn-rank__bar { position: relative; height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.agt-sn-rank__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sage), var(--sage-deep)); }
.agt-sn-rank__list li.is-top .agt-sn-rank__bar i { background: linear-gradient(90deg, var(--glow), var(--accent)); }
.agt-sn-rank__fit { font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: right; }
.agt-sn-rank__list li.is-top .agt-sn-rank__fit { color: var(--accent); }
.agt-sn-next { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.agt-sn-next a { font-weight: 600; }

.agt-sn-types { margin-top: 20px; }
.prose .aff-tool .agt-sn-types ul, .agt-sn-types ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.agt-sn-types li a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; height: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.agt-sn-types li a:hover { border-color: #e2b99c; }
.agt-sn-types__icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 7px; color: var(--sage-deep); background: var(--sage-soft); border-radius: 46% 54% 50% 50% / 56% 46% 54% 44%; }
.agt-sn-types__icon svg { width: 100%; height: 100%; }
.agt-sn-types__text { display: flex; flex-direction: column; gap: 2px; }
.agt-sn-types__text b { font-size: 15px; line-height: 1.25; }
.agt-sn-types__text small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.agt-sn-types li.is-top a { border-color: var(--accent); background: #fdf0e7; }
.agt-sn-types li.is-top .agt-sn-types__icon { color: #fff; background: var(--accent); }
.agt-sn-types li.is-next a { border-color: var(--sage); }

/* Running-cost calculator */
.agt-sn-cost__grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); margin-bottom: 0; }
.agt-sn-cost__rate { grid-template-columns: minmax(0, 280px); margin-bottom: 0; }
.agt-sn-cost__money { position: relative; }
.agt-sn-cost__money span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); pointer-events: none; }
.agt-sn .agt-sn-cost__money input { padding-left: 28px; }
.agt-sn .aff-tool__grid { margin-bottom: 0; }

.agt-sn-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; padding: 18px 20px 20px; border-radius: 14px; color: #ecdcc6; background: radial-gradient(360px 200px at 100% 0%, rgba(240, 138, 93, .34), transparent 70%), var(--slats-dark), linear-gradient(180deg, #452c1e, var(--cedar-dark)); }
.agt-sn-big__label { flex-basis: 100%; font: 600 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #f7b08c; }
.agt-sn .agt-sn-big strong { font: 400 50px/1 var(--font-display); color: #fff7ec; letter-spacing: -0.01em; }
.agt-sn-big span { font-size: 15px; }
.agt-sn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.agt-sn-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 13px 13px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px #ead6bf; border-top: 4px solid var(--sage); }
.agt-sn-stat--glow { border-top-color: var(--terracotta); }
.agt-sn-stat--cedar { border-top-color: var(--cedar); }
.agt-sn-stat b { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.agt-sn .agt-sn-stat strong { font: 400 26px/1.1 var(--font-display); color: var(--ink); }
.agt-sn-stat span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.agt-sn-stats--cost { margin-top: 10px; }
.agt-sn-stats--cost .agt-sn-stat { background: #fdf0e7; box-shadow: inset 0 0 0 1px #efc9b1; border-top-color: var(--accent); }

.prose .aff-tool ol.agt-sn-math, .agt-sn-math { margin: 12px 0 0; padding: 12px 14px; list-style: none; border-radius: var(--radius-sm); background: var(--cedar-night); color: #e5d3bb; font: 500 13.5px/1.65 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.agt-sn-math li b { color: #fff7ec; font-weight: 700; }
.agt-sn-math li span { color: #f7b08c; }
.agt-sn-flag { margin: 12px 0 0; padding: 10px 14px; border-left: 5px solid var(--sage); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.agt-sn-flag--rate { border-left-color: var(--terracotta); background: #fdf0e7; }
.agt-sn-flag--warn { border-left-color: var(--bad); }

.agt-sn-bars { margin-top: 14px; padding: 14px 14px 12px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px #ead6bf; }
.prose .aff-tool ol.agt-sn-bars__list, .agt-sn-bars__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.agt-sn-bars__list li { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: 13.5px; line-height: 1.3; color: var(--ink-2); }
.agt-sn-bars__bar { position: relative; height: 14px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.agt-sn-bars__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: repeating-linear-gradient(90deg, #c98a55 0 12px, #b07541 12px 13px); }
.agt-sn-bars__val { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.agt-sn-bars__list li.is-you { color: var(--ink); font-weight: 600; }
.agt-sn-bars__list li.is-you .agt-sn-bars__bar i { background: linear-gradient(90deg, var(--glow), var(--accent)); }
.agt-sn-bars__note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.agt-sn__formulas { margin-top: 16px; padding: 14px 16px; border: 1.5px dashed #dfc5a8; border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.agt-sn__formulas-title { margin: 0 0 6px; font: 600 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose .aff-tool .agt-sn__formulas ul, .agt-sn__formulas ul { margin: 0; padding: 0; list-style: none; }
.prose .aff-tool .agt-sn__formulas li, .agt-sn__formulas li { position: relative; margin: 4px 0; padding-left: 22px; }
.agt-sn__formulas li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 7px; background: var(--wave) 0 0 / 14px 7px no-repeat; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hero__art { width: 100%; max-width: 560px; margin: 8px auto 0; }
}
@media (max-width: 760px) {
	.hero { padding: 40px 0 60px; }
	.hero__text { font-size: 17px; }
	.aff-tool:has(.agt-sn) { padding-left: 16px; padding-right: 16px; }
	.agt-sn h3 { font-size: 25px; }
	.agt-sn-match__cols { grid-template-columns: 1fr; gap: 4px; }
	.agt-sn-match__head { grid-template-columns: 52px minmax(0, 1fr); }
	.agt-sn-match__icon { width: 52px; height: 52px; padding: 10px; }
	.agt-sn-match__name { font-size: 26px; }
	.agt-sn-rank__list li { grid-template-columns: minmax(0, 1fr) 84px; gap: 4px 10px; }
	.agt-sn-rank__bar { grid-column: 1 / -1; grid-row: 2; }
	.agt-sn-cost__grid { grid-template-columns: 1fr; }
	.agt-sn-cost__rate { grid-template-columns: 1fr; }
	.agt-sn-stats { grid-template-columns: 1fr 1fr; }
	.agt-sn .aff-tool__result.agt-sn__result { padding: 14px 12px; }
	.agt-sn .agt-sn-big strong { font-size: 42px; }
	.agt-sn-bars__list li { grid-template-columns: minmax(0, 1fr) 58px; gap: 3px 8px; }
	.agt-sn-bars__bar { grid-column: 1 / -1; grid-row: 2; }
	.quick-picks li { padding-left: 66px; }
	.quick-picks li::before { left: 14px; }
}
@media (max-width: 560px) {
	.silos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.silo { padding: 24px 14px 18px; }
	.silo::after { display: none; }
	.silo__icon { width: 56px; height: 56px; padding: 11px; }
	.silo__name { font-size: 20px; }
	.agt-sn-q__opts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
	.agt-sn-q__opts { grid-template-columns: 1fr; }
	.agt-sn-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.silo::after, .agt-sn-opt__box { transition: none; }
}
