/*
Theme Name: Air Purifiers Guide
Template: aff-base
Description: Clean-air look for airpurifiersguide.com: airy sky blue, mint, cloud white and graphite, with soft airflow curves.
Version: 1.0.0
*/

:root {
	--bg: #f6fafd;
	--surface: #ffffff;
	--surface-2: #eaf3fa;
	--ink: #1f2933;
	--ink-2: #3b4754;
	--muted: #66737f;
	--line: #dbe6ee;
	--accent: #1f73b7;
	--accent-ink: #ffffff;
	--accent-soft: #e1f0fb;
	--accent-2: #0c7f63;
	--accent-2-ink: #ffffff;
	--mint: #5fd1b0;
	--mint-soft: #e2f7ef;
	--sky: #3d98da;
	--good: #0c7f63;
	--bad: #b5452f;
	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(31, 41, 51, .04), 0 12px 30px rgba(31, 115, 183, .08);
	--font-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
	--font-body: "Public Sans", system-ui, -apple-system, sans-serif;
	--display-weight: 800;
	--display-tracking: -0.02em;
	--breeze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6c15-6 30 6 45 0s30-6 45 0 22 4 30 0' fill='none' stroke='%235fd1b0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Header: cloud-white glass with a soft airflow ribbon underneath */
.site-header { background: rgba(255, 255, 255, .86); border-bottom: 0; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: linear-gradient(90deg, transparent, var(--sky) 18%, var(--mint) 55%, var(--sky) 85%, transparent); opacity: .55; }
.brand__name { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.nav__list a { font-weight: 500; }
.nav__list a:hover, .nav__list .current-menu-item a { background: var(--mint-soft); color: #0b5f4a; }

/* Hero: centered, sky-to-cloud gradient with drifting airflow curves */
.hero { position: relative; overflow: hidden; border-bottom: 0; padding: 72px 0 36px; background:
	radial-gradient(520px 260px at 12% 18%, rgba(255, 255, 255, .95), transparent 70%),
	radial-gradient(640px 300px at 88% 8%, var(--mint-soft), transparent 70%),
	linear-gradient(180deg, #d9edfb 0%, #eef7fd 46%, var(--bg) 100%); }
.hero::before, .hero::after { content: ""; position: absolute; left: -5%; right: -5%; height: 160px; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.hero::before { top: 40px; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M0 90C200 20 380 150 600 80S980 10 1200 70'/%3E%3Cpath d='M0 120C220 60 400 170 620 110S1000 50 1200 100' opacity='.6'/%3E%3C/g%3E%3C/svg%3E"); }
.hero::after { bottom: 0; height: 120px; opacity: .7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70C180 30 360 100 600 60S960 20 1200 50V120H0z' fill='%23f6fafd'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-weight: 800; max-width: 14em; margin-left: auto; margin-right: auto; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px #cfe3f2; color: var(--accent); }
.hero .kicker::before { content: ""; width: 26px; height: 8px; background: var(--breeze) center / 100% 100% no-repeat; }
.hero-center .hero__art { max-width: 660px; }
.btn--primary { background: linear-gradient(135deg, #2a84c9, var(--accent)); box-shadow: 0 8px 20px rgba(31, 115, 183, .22); }
.btn--ghost { border-color: var(--accent-2); color: var(--accent-2); background: rgba(255, 255, 255, .75); }
.btn--ghost:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

/* Silo tiles: soft cloud cards with a breeze curve in the corner */
.silo { position: relative; overflow: hidden; padding: 24px 22px 26px; border-radius: 26px; border-color: #e0ebf3; background: linear-gradient(170deg, #ffffff 55%, #eef7fd); }
.silo::after { content: ""; position: absolute; right: -10px; bottom: 14px; width: 120px; height: 14px; background: var(--breeze) center / 100% 100% no-repeat; opacity: .55; transition: transform .3s, opacity .2s; }
.silo:hover::after { transform: translateX(-12px); opacity: 1; }
.silo__icon { width: 60px; height: 60px; padding: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, var(--accent-soft) 72%); box-shadow: 0 0 0 5px rgba(95, 209, 176, .16); color: var(--accent); }
.silo__name { font-weight: 800; }
.silo-head { background:
	radial-gradient(700px 260px at 92% -10%, var(--mint-soft), transparent 70%),
	linear-gradient(180deg, #e3f1fb, var(--bg)); }
.silo-head__icon { color: var(--accent); }

/* Cards */
.card__link { border-radius: var(--radius); }
.card--lg .card__link { background: linear-gradient(160deg, #e1f0fb, #ffffff 58%, #f0faf6); }
.card__icon { color: var(--accent-2); }
.card__more { color: var(--accent); }

/* Quick picks: airflow-ring bullets, sky to mint */
.quick-picks { border-radius: var(--radius); }
.quick-picks li { position: relative; padding-left: 58px; }
.quick-picks li::before { content: ""; position: absolute; left: 20px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, #ffffff 0 3px, transparent 3.5px), linear-gradient(135deg, var(--sky), var(--mint)); box-shadow: 0 0 0 4px rgba(61, 152, 218, .12), 0 0 0 8px rgba(95, 209, 176, .08); }
.quick-picks li:nth-child(even)::before { background: radial-gradient(circle, #ffffff 0 3px, transparent 3.5px), linear-gradient(135deg, var(--mint), var(--sky)); }

/* Product box: sky-to-mint airflow ribbon along the top */
.aff-product { position: relative; overflow: hidden; padding-top: 24px; border-color: #d6e5f0; }
.aff-product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sky), var(--mint)); }
.aff-product::after { content: ""; position: absolute; right: 18px; top: 10px; width: 64px; height: 8px; background: var(--breeze) center / 100% 100% no-repeat; opacity: .45; }
.aff-product__icon { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, var(--accent-soft) 75%); color: var(--accent); }
.aff-product__badge { background: var(--accent-2); }
.aff-product__btn, .aff-cta__btn { background: linear-gradient(135deg, #12957a, var(--accent-2)); }
.aff-cta { border-left-color: var(--mint); }
.aff-cta__label { color: var(--accent-2); }

/* Promise + teaser */
.promise__item { position: relative; border-top: 0; padding-top: 34px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.promise__item::before { content: ""; position: absolute; left: 24px; top: 16px; width: 72px; height: 10px; background: var(--breeze) center / 100% 100% no-repeat; }
.teaser__inner { background: linear-gradient(135deg, #e1f0fb, #f3f9fd 55%, #e2f7ef); box-shadow: inset 0 0 0 1px #d3e6f3; }
.prose blockquote { border-left-color: var(--mint); }
.faq summary::after { color: var(--accent-2); }

/* Footer: deep graphite with an airflow wave on top */
.site-footer { position: relative; margin-top: 72px; background: #17212b; color: #b9c6d1; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 41px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 24C200 0 380 40 600 22S980 4 1200 20V40H0z' fill='%2317212b'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.site-footer a:hover, .site-footer .brand, .site-footer__title { color: #ffffff; }
.site-footer__legal { border-top-color: rgba(255, 255, 255, .1); }

/* ---------- Tools ---------- */
.agt-tool__intro { font-size: 15.5px; color: var(--ink-2); margin: 0 0 16px; }
.agt-tool__source { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.agt-tool__source b { color: var(--ink); }

.agt-cadr__measure { margin: -4px 0 16px; }
.agt-cadr__measure summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.agt-cadr__measure[open] summary { margin-bottom: 10px; }
.agt-cadr__alt { font-size: 15px; color: var(--ink-2); }
.agt-cadr__line, .agt-fcost__line { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.agt-cadr__verdict { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; line-height: 1.5; background: #ffffff; border-left: 4px solid var(--good); }
.agt-cadr__verdict.is-short { border-left-color: var(--bad); }
.agt-cadr__verdict.is-ok b { color: var(--good); }
.agt-cadr__verdict.is-short b { color: var(--bad); }
.agt-cadr__meter { margin-top: 14px; }
.agt-cadr__meter:empty { display: none; }
.agt-cadr__bar { position: relative; height: 16px; margin-top: 26px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.agt-cadr__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sky), var(--mint)); transition: width .25s; }
.agt-cadr__fill.is-short { background: linear-gradient(90deg, #e6a04a, var(--bad)); }
.agt-cadr__target { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--ink); }
.agt-cadr__target i { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 3px; font: 600 12px/1 var(--font-body); font-style: normal; white-space: nowrap; color: var(--ink); }
.agt-cadr__scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.agt-cadr__formula { margin: 12px 0 0; font: 600 14.5px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--accent); overflow-wrap: anywhere; }
.agt-cadr__formula:empty { display: none; }

.agt-fcost__set { margin: 0 0 14px; padding: 14px 16px 2px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); min-width: 0; }
.agt-fcost__set legend { padding: 0 6px; font: 700 14px/1.3 var(--font-body); color: var(--ink); }
.agt-fcost__set .aff-tool__grid { margin-bottom: 12px; }
.agt-fcost__bars { margin-top: 14px; }
.agt-fcost__bars:empty { display: none; }
.agt-fcost__row { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; margin: 8px 0; font-size: 14.5px; }
.agt-fcost__label { color: var(--ink-2); font-weight: 600; }
.agt-fcost__track { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.agt-fcost__seg { display: block; height: 100%; transition: width .25s; }
.agt-fcost__seg--main { background: linear-gradient(90deg, var(--sky), var(--accent)); }
.agt-fcost__seg--extra { background: var(--mint); }
.agt-fcost__key { margin: 6px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.agt-fcost__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.agt-fcost__dot--main { background: var(--accent); }
.agt-fcost__dot--extra { background: var(--mint); margin-left: 8px; }

@media (max-width: 760px) {
	.hero { padding-top: 48px; }
	.hero .kicker::before { display: none; }
	.silo { padding: 20px 18px 24px; }
	.agt-fcost__set { padding: 12px 12px 0; }
	.agt-fcost__row { grid-template-columns: 64px 1fr auto; gap: 8px; }
}

/* Amazon photos: frame in this site's style */
:root { --photo-radius: 22px; --photo-stage: linear-gradient(135deg, var(--sky), var(--mint)); }
