:root{--bg:#f7faf8;--ink:#17211c;--muted:#5b6861;--line:#d8e2dc;--panel:#fff;--soft:#eaf3ee;--accent:#0f766e;--accent2:#0b4f4a;--gold:#bd8b22;--shadow:0 18px 50px rgba(21,45,35,.12);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);line-height:1.5}
a{color:inherit}
.wrap{width:min(1120px,calc(100% - 32px));margin:0 auto}
.hero{min-height:62vh;display:grid;align-items:end;color:#fff;background:linear-gradient(90deg,rgba(7,24,20,.82) 0%,rgba(7,24,20,.62) 38%,rgba(7,24,20,.2) 72%),linear-gradient(180deg,rgba(7,24,20,.08),rgba(7,24,20,.64)),url("assets/tiny-useful-tools-hero-a.png") center/cover}
.hero .wrap{padding:92px 0 46px}
.page-hero{position:relative;min-height:430px;display:grid;align-items:end;overflow:hidden;color:#fff;background:#102f2d}
.page-hero::before{content:"";position:absolute;inset:0 0 0 46%;background:var(--page-image) var(--page-position,center)/contain no-repeat;filter:saturate(1.03);z-index:0}
.page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,24,20,.94) 0%,rgba(7,24,20,.9) 34%,rgba(7,24,20,.72) 47%,rgba(7,24,20,.22) 64%,rgba(7,24,20,.04) 100%);z-index:1}
.page-hero .wrap{position:relative;z-index:2;padding:92px 0 46px}
.page-hero-volume{--page-image:url("assets/aquarium-volume-hero.png")}
.page-hero-co2{--page-image:url("assets/aquarium-co2-hero.png")}
.page-hero-water{--page-image:url("assets/aquarium-water-change-hero.jpg");--page-position:center}
.page-hero-heater{--page-image:url("assets/aquarium-heater-hero.jpg");--page-position:center}
.page-hero-electricity{--page-image:url("assets/aquarium-electricity-hero.jpg");--page-position:center}
.page-hero-filter{--page-image:url("assets/aquarium-filter-flow-hero.jpg");--page-position:center}
.page-hero-light{--page-image:url("assets/aquarium-light-timer-hero.jpg");--page-position:center}
.page-hero-dosing{--page-image:url("assets/aquarium-dosing-hero.jpg");--page-position:center}
.page-hero-stocking{--page-image:url("assets/aquarium-stocking-hero.jpg");--page-position:center}
.page-hero-dog-food{--page-image:url("assets/dog-food-cost-hero.jpg");--page-position:center}
.page-hero-dog-treat{--page-image:url("assets/dog-treat-cost-hero.jpg");--page-position:center}
.page-hero-cat-food{--page-image:url("assets/cat-food-cost-hero.jpg");--page-position:center}
.page-hero-cat-litter{--page-image:url("assets/cat-litter-cost-hero.jpg");--page-position:center}
.page-hero-pet-monthly{--page-image:url("assets/pet-monthly-cost-hero.jpg");--page-position:center}
.page-hero-pet-insurance{--page-image:url("assets/pet-insurance-emergency-fund-hero.png");--page-position:center}
.page-hero-about{--page-image:url("assets/about-tools-hero.png")}
.page-hero-privacy{--page-image:url("assets/privacy-hero.png")}
.page-hero-contact{--page-image:url("assets/contact-hero.png")}
.page-hero h1{max-width:min(620px,39vw);text-shadow:0 2px 20px rgba(0,0,0,.26)}
.page-hero p.copy{max-width:min(560px,39vw);margin:16px 0 0;color:rgba(255,255,255,.9);font-size:18px;text-shadow:0 2px 16px rgba(0,0,0,.28)}
.eyebrow{margin:0 0 12px;color:rgba(255,255,255,.82);font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
h1{max-width:820px;margin:0;font-size:clamp(38px,7vw,76px);line-height:.98;letter-spacing:0}
.hero p.copy{max-width:720px;margin:18px 0 0;color:rgba(255,255,255,.9);font-size:19px}
.topbar{position:sticky;top:0;z-index:10;border-bottom:1px solid rgba(216,226,220,.9);background:rgba(247,250,248,.93);backdrop-filter:blur(14px)}
.topbar .wrap{height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.brand{display:flex;align-items:center;gap:10px;font-weight:850;text-decoration:none;flex:0 0 auto;white-space:nowrap}
.brand-mark{width:30px;height:30px;border-radius:8px;display:block;flex:0 0 auto}
.mark{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#2563eb,#0f766e)}
.nav{display:flex;gap:8px;color:var(--muted);font-size:14px;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.nav a{flex:0 0 auto;padding:8px 10px;border-radius:8px;text-decoration:none}
.nav a:hover{background:var(--soft);color:var(--ink)}
main{padding:42px 0 72px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}
.card{padding:18px;text-decoration:none}
.card h2,.card h3{margin:0 0 8px;font-size:20px}
.card p,.muted{color:var(--muted)}
.card p{margin:0}

.category-section{position:relative;padding:28px;border:1px solid rgba(15,118,110,.12);border-radius:8px;background:linear-gradient(135deg,rgba(15,118,110,.08),rgba(247,250,248,.96) 34%,rgba(189,139,34,.07));box-shadow:0 20px 70px rgba(21,45,35,.08)}
.category-section + .category-section{margin-top:34px}
.category-section .grid{align-items:stretch}
.category-section .card{position:relative;display:flex;min-height:156px;flex-direction:column;gap:10px;overflow:hidden;padding:20px 54px 48px 20px;border-color:rgba(15,79,74,.18);background:linear-gradient(145deg,var(--card-tint,#eff8f5) 0%,#fff 54%,#f6faf8 100%);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.category-section .card::before{content:"";position:absolute;top:18px;right:18px;width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,var(--card-accent,#0f766e),var(--card-accent-soft,#79c2b0));box-shadow:0 10px 24px rgba(21,45,35,.18)}
.category-section .card::after{content:"Open calculator";position:absolute;left:20px;right:20px;bottom:17px;color:var(--card-accent,#0f766e);font-size:13px;font-weight:850}
.category-section .card h3{margin:0;max-width:calc(100% - 10px);font-size:18px;line-height:1.2}
.category-section .card p{font-size:14px;line-height:1.45}
.category-section .card:hover{transform:translateY(-3px);border-color:var(--card-accent,#0f766e);box-shadow:0 22px 60px rgba(21,45,35,.18);background:linear-gradient(145deg,#fff 0%,var(--card-tint,#eff8f5) 100%)}
.category-section .card:hover::before{box-shadow:0 10px 26px rgba(15,118,110,.24)}
#aquarium-tools{background:linear-gradient(135deg,rgba(15,118,110,.1),rgba(247,250,248,.96) 40%,rgba(116,199,184,.11))}
#pet-budget-tools{background:linear-gradient(135deg,rgba(189,124,24,.12),rgba(247,250,248,.96) 40%,rgba(232,188,114,.12));border-color:rgba(189,124,24,.18)}
#beta-tools{background:linear-gradient(135deg,rgba(12,31,35,.12),rgba(247,250,248,.96) 40%,rgba(15,118,110,.1));border-color:rgba(12,31,35,.18)}
#aquarium-tools .card{--card-accent:#0f766e;--card-accent-soft:#74c7b8;--card-tint:#eef8f5}
#pet-budget-tools .card{--card-accent:#bd7c18;--card-accent-soft:#e8bc72;--card-tint:#fff6e8}
#beta-tools .card{--card-accent:#0b4f4a;--card-accent-soft:#14b8a6;--card-tint:#edf7f5;--tool-icon:"Beta"}
#aquarium-tools .card:first-child,#pet-budget-tools .card:first-child{border-color:color-mix(in srgb,var(--card-accent) 42%,#cddbd3);box-shadow:0 22px 62px rgba(21,45,35,.16)}
.category-section{scroll-margin-top:82px;margin:0 0 48px}
.section-heading{max-width:760px;margin:0 0 18px}
.section-kicker{margin:0 0 8px;color:var(--accent2);font-size:13px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.section-heading h2{margin:0 0 10px;font-size:30px;line-height:1.15}
.nav-compact{flex:0 1 auto;justify-content:flex-end}
.tool-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:24px;align-items:start}
.panel{padding:22px}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
label{display:block;margin-bottom:7px;color:#314039;font-size:13px;font-weight:750}
select,input{width:100%;height:44px;border:1px solid #c8d5ce;border-radius:8px;padding:0 12px;background:#fff;color:var(--ink);font:inherit}
select:focus,input:focus{border-color:var(--accent);outline:3px solid rgba(15,118,110,.16)}
button,.button{min-height:44px;border:0;border-radius:8px;padding:11px 14px;background:var(--accent);color:white;font:inherit;font-weight:800;text-align:center;text-decoration:none;cursor:pointer}
button:hover,.button:hover{background:var(--accent2)}
.result{position:sticky;top:78px;overflow:hidden;padding:0}
.result-head{padding:22px;background:#0d3f3c;color:#fff}
.result-label{margin:0;color:rgba(255,255,255,.72);font-size:13px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.price{margin:8px 0 0;font-size:42px;font-weight:850;line-height:1}
.result-body{padding:18px 22px 22px}
.breakdown{display:grid;gap:10px;margin:0 0 18px;padding:0;list-style:none}
.breakdown li{display:flex;justify-content:space-between;gap:14px;padding-bottom:10px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}
.breakdown strong{color:var(--ink)}
.ad-slot{display:grid;place-items:center;min-height:110px;margin-top:18px;border:1px dashed #9fb0a7;border-radius:8px;background:#f3f7f5;color:#66756d;font-size:13px;text-align:center}
.content{max-width:820px}
.content h1{font-size:44px;color:var(--ink);line-height:1.08}
.content h2{margin-top:32px}
.footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:13px}
.note{margin:14px 0 0;color:var(--muted);font-size:13px}
@media(max-width:860px){.nav{display:none}.grid,.tool-grid{grid-template-columns:1fr}.result{position:static}.page-hero{min-height:360px;background:#102f2d}.page-hero h1{max-width:760px}.page-hero p.copy{max-width:680px}.page-hero::before{inset:0;background:var(--page-image) var(--mobile-page-position,center)/cover no-repeat;opacity:.52}.page-hero::after{background:linear-gradient(90deg,rgba(7,24,20,.9),rgba(7,24,20,.7)),linear-gradient(180deg,rgba(7,24,20,.2),rgba(7,24,20,.78))}.page-hero .wrap{padding:74px 0 36px}}
@media(max-width:560px){html,body{max-width:100%;overflow-x:hidden}.wrap{width:100%;padding-left:16px;padding-right:16px}.field-grid{grid-template-columns:1fr}.tool-grid{max-width:100%;overflow:hidden}.panel{min-width:0}.hero{min-height:58vh}.hero .wrap{padding:70px 16px 40px}.hero h1{font-size:34px;line-height:1.04;max-width:100%}.hero p.copy{font-size:17px}.page-hero .wrap{padding-left:16px;padding-right:16px}.page-hero h1{font-size:34px;line-height:1.04;max-width:100%;overflow-wrap:break-word}.page-hero p.copy,.panel p,.breakdown span{max-width:100%;overflow-wrap:break-word}.section-heading h2{font-size:26px}.price{font-size:34px}}


.seo-section{padding:38px 0 0}
.seo-section h2{margin:0 0 12px;font-size:30px;line-height:1.15}
.related-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.two-column{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.faq{display:grid;gap:12px}
details{border:1px solid var(--line);border-radius:8px;background:#fff;padding:15px 16px}
summary{cursor:pointer;font-weight:800}
details p{margin:10px 0 0;color:var(--muted)}
.monetize-box{padding:22px;border-radius:8px;background:#102f2d;color:#fff}
.monetize-box h3{margin:0 0 8px}
.monetize-box p{margin:0;color:rgba(255,255,255,.76)}
@media(max-width:860px){.related-tools,.two-column{grid-template-columns:1fr}}


.category-section .card{padding-top:62px;padding-bottom:56px}
.category-section .card h3::before{content:var(--tool-icon,"TL");position:absolute;top:18px;left:20px;display:grid;place-items:center;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--card-accent,#0f766e) 55%,#d8e2dc);border-radius:8px;background:color-mix(in srgb,var(--card-tint,#eff8f5) 82%,#fff);color:var(--card-accent,#0f766e);font-size:12px;font-weight:900;letter-spacing:0}
.category-section .card[data-views][data-likes]{padding-bottom:78px}
.category-section .card[data-views][data-likes] p::after{content:"Views " attr(data-views) "  /  Likes " attr(data-likes);position:absolute;left:20px;right:20px;bottom:40px;color:#6a7770;font-size:12px;font-weight:750}
.category-section .card::after{content:"Open calculator  ->";bottom:16px}
#aquarium-tools .card:nth-child(1){--tool-icon:"$"}
#aquarium-tools .card:nth-child(2){--tool-icon:"LxW"}
#aquarium-tools .card:nth-child(3){--tool-icon:"H2O"}
#aquarium-tools .card:nth-child(4){--tool-icon:"ml"}
#aquarium-tools .card:nth-child(5){--tool-icon:"Fish"}
#aquarium-tools .card:nth-child(6){--tool-icon:"W"}
#aquarium-tools .card:nth-child(7){--tool-icon:"kWh"}
#aquarium-tools .card:nth-child(8){--tool-icon:"GPH"}
#aquarium-tools .card:nth-child(9){--tool-icon:"Lux"}
#aquarium-tools .card:nth-child(10){--tool-icon:"CO2"}
#pet-budget-tools .card:nth-child(1){--tool-icon:"Ins"}
#pet-budget-tools .card:nth-child(2){--tool-icon:"Dog"}
#pet-budget-tools .card:nth-child(3){--tool-icon:"Treat"}
#pet-budget-tools .card:nth-child(4){--tool-icon:"Cat"}
#pet-budget-tools .card:nth-child(5){--tool-icon:"Litter"}
#pet-budget-tools .card:nth-child(6){--tool-icon:"Month"}
@media(max-width:560px){.category-section{padding:22px 16px}.category-section .card{padding-right:48px}}
