/*
Theme Name: VaxiTrace
Theme URI: https://vaxitrace.com
Author: Light Bulb Ideas Studio
Description: Livestock health records and animal health passports. Works with the VaxiTrace Core plugin.
Version: 2.12.1
Requires PHP: 8.0
Text Domain: vaxitrace
*/
@font-face{font-family:'Manrope';src:url(assets/fonts/manrope-var.woff2) format('woff2');font-weight:200 800;font-display:swap}
:root{--font:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;--ink:#14261c;--g:#1f4d36;--g2:#2d6a4b;--gl:#e6f0e9;--bg:#f7f5ef;--card:#fff;--tx:#24282a;--mu:#666b64;--bd:#e3dfd3;--am:#9a6412;--aml:#fbf0d9;--rd:#a5352a;--rdl:#f8e2de;--bl:#2f5d8a;--bll:#e3ecf5}
*{box-sizing:border-box}
html,body{margin:0}
html{scroll-behavior:smooth}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{font:15.5px/1.55 var(--font);-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--tx)}
a{color:var(--g)}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .4em}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid #8bb89c;outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--g);background:var(--g);color:#fff;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn:hover{background:var(--g2)}
.btn.sec{background:#fff;color:var(--g)}.btn.sec:hover{background:var(--gl)}
.btn.ghost{background:transparent;border-color:transparent;color:var(--g)}.btn.ghost:hover{background:var(--gl)}
.btn.danger{background:#fff;color:var(--rd);border-color:#e2b5ae}
.btn.sm{min-height:36px;padding:0 12px;font-size:14px}
.btn:disabled{opacity:.45;cursor:not-allowed}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.card{background:var(--card);border:1px solid var(--bd);border-radius:14px;padding:18px}
.muted,.sub{color:var(--mu)}.sub{font-size:13px}
.row{display:flex;align-items:center;gap:12px}
.between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.grid{display:grid;gap:14px}
.g2{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.stack>*+*{margin-top:14px}
.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#eee;color:#444;white-space:nowrap}
.b-g{background:var(--gl);color:var(--g)}.b-a{background:var(--aml);color:var(--am)}.b-r{background:var(--rdl);color:var(--rd)}.b-b{background:var(--bll);color:var(--bl)}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:19px;color:var(--g);text-decoration:none;letter-spacing:-.3px}
.ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* forms */
label.f{display:block;font-weight:600;font-size:14px;margin-bottom:12px}
label.f>span.h{display:block;font-weight:400;color:var(--mu);font-size:12.5px}
input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],input[type=tel],input[type=search],select,textarea{display:block;width:100%;margin-top:4px;min-height:44px;padding:8px 12px;border:1px solid #cfcabc;border-radius:10px;background:#fff}
textarea{min-height:80px}
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:0 14px}
.err{background:var(--rdl);color:var(--rd);border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:12px}
.err:empty{display:none}
.note{background:var(--bll);color:#24435f;border-radius:10px;padding:10px 12px;font-size:13.5px}
.warn{background:var(--aml);color:#6d4709;border-radius:10px;padding:10px 12px;font-size:14px}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
/* public */
.pub-h{position:sticky;top:0;background:rgba(247,245,239,.95);border-bottom:1px solid var(--bd);z-index:5}
.admin-bar .pub-h{top:32px}
.pub-h>.wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.pub-nav{display:flex;gap:4px;align-items:center}
[id]{scroll-margin-top:72px}
.hero{padding:56px 0 40px}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center}
.hero h1{font-size:44px;letter-spacing:-1px;color:#173b29}
.hero p.lead{font-size:18px;color:#4a4f48;max-width:520px}
.section{padding:48px 0}.section.alt{background:#fff;border-top:1px solid var(--bd);border-bottom:1px solid var(--bd)}
.section h2{font-size:30px;letter-spacing:-.5px}
.step{display:flex;gap:14px}.step .n{flex:none;width:34px;height:34px;border-radius:50%;background:var(--g);color:#fff;display:grid;place-items:center;font-weight:700}
.price{display:flex;flex-direction:column}
.price .amt{font-size:32px;font-weight:800;color:var(--g)}
.price ul{padding-left:18px;margin:10px 0 16px;flex:1}
.price.pop{border:2px solid var(--g)}
.extra-amt{font-size:22px;font-weight:800;color:var(--g)}
details{border-bottom:1px solid var(--bd);padding:12px 0}
summary{cursor:pointer;font-weight:600}
footer.pub-f{padding:28px 0;color:var(--mu);font-size:13.5px}
.pub-f .row a{color:var(--mu)}
.entry{max-width:760px;margin:0 auto;padding:40px 16px 56px}
.entry h1{font-size:34px;letter-spacing:-.5px}
.entry h2{font-size:21px;margin-top:1.4em}
.calc{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.calc-out .big{font-size:28px;font-weight:800;line-height:1.1}
.calc-out .k{font-weight:700}
.lookup{display:flex;gap:8px;margin-top:18px;max-width:440px}.lookup input{margin:0;text-transform:uppercase;letter-spacing:.06em}
/* passport */
.pp{max-width:720px;margin:0 auto}
.pp-head{background:linear-gradient(135deg,#1f4d36,#2d6a4b);color:#fff;border-radius:16px 16px 0 0;padding:20px 22px}
.pp-head .eyebrow{opacity:.85;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pp-head .code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:20px;letter-spacing:.08em;font-weight:700}
.pp-body{background:#fff;border:1px solid var(--bd);border-top:0;border-radius:0 0 16px 16px;padding:20px 22px}
.status-big{border-radius:12px;padding:14px 16px;font-weight:700;font-size:16px;margin:14px 0}
.status-ok{background:var(--gl);color:var(--g)}.status-wd{background:var(--aml);color:#6d4709}
.qr svg{width:120px;height:120px;display:block;background:#fff;border-radius:8px}
.qr-fb{width:120px;height:120px;border:2px dashed var(--bd);border-radius:8px;display:grid;place-items:center;text-align:center;font-size:11px;color:var(--mu);padding:6px;background:#fff}
.mono{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.05em}
/* lists & tables */
.list>.li{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #efece4}
.list>.li:first-child{border-top:0}
.li .grow,.grow{flex:1;min-width:0}
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{text-align:left;font-size:12.5px;color:var(--mu);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--bd);white-space:nowrap}
.tbl td{padding:10px;border-bottom:1px solid #f0ede5;vertical-align:top}
.tbl tr.click{cursor:pointer}.tbl tr.click:hover td{background:#fbfaf6}
.tscroll{overflow-x:auto}
.stat{padding:16px}.stat .v{font-size:30px;font-weight:800;line-height:1.1}.stat .l{color:var(--mu);font-size:13.5px}
.stat.r .v{color:var(--rd)}.stat.a .v{color:var(--am)}.stat.g .v{color:var(--g)}
button.stat{font:inherit;color:inherit;width:100%}
.empty{text-align:center;padding:40px 18px}
.empty .big{font-size:20px;font-weight:700;margin-bottom:6px}
/* app shell */
.shell{display:flex;min-height:100vh}
.side{width:236px;flex:none;background:#fff;border-right:1px solid var(--bd);padding:16px 12px;position:sticky;top:0;height:100vh;overflow:auto;display:flex;flex-direction:column}
.side nav{margin-top:18px;display:flex;flex-direction:column;gap:2px}
.nav-i{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:var(--tx);text-decoration:none;font-weight:500;cursor:pointer;border:0;background:none;text-align:left;width:100%}
.nav-i:hover{background:var(--bg)}.nav-i.on{background:var(--gl);color:var(--g);font-weight:700}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.top{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 20px;border-bottom:1px solid var(--bd);background:#fff;position:sticky;top:0;z-index:4;flex-wrap:wrap;min-height:58px}
.top select{min-height:38px;margin:0;width:auto;padding:4px 10px;display:inline-block}
#view{padding:22px 20px 100px;max-width:1180px;width:100%}
.ph{margin-bottom:18px}.ph h1{font-size:26px;letter-spacing:-.4px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.filters>*{flex:1 1 150px;margin:0}
.tl{position:relative;padding-left:22px}
.tl:before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:var(--bd)}
.tl-i{position:relative;margin-bottom:14px}
.tl-i:before{content:"";position:absolute;left:-20px;top:20px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--g)}
.tl-i.c-treatment:before{border-color:var(--am)}.tl-i.c-observation:before{border-color:#888}.tl-i.c-vet:before{border-color:var(--bl)}
.chk-list{max-height:320px;overflow:auto;border:1px solid var(--bd);border-radius:10px;background:#fff}
.chk{display:flex;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid #f0ede5;cursor:pointer}
.chk:first-child{border-top:0}.chk input{width:20px;height:20px;accent-color:var(--g);flex:none}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.chip{border:1px solid var(--bd);background:#fff;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;min-height:34px;display:inline-flex;align-items:center;gap:6px}
.chip:hover{border-color:var(--g)}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--bd);margin-bottom:16px;overflow-x:auto}
.tab{padding:10px 14px;border:0;background:none;cursor:pointer;font-weight:600;color:var(--mu);border-bottom:3px solid transparent;white-space:nowrap}
.tab.on{color:var(--g);border-color:var(--g)}
.bar{height:8px;background:#eee9dc;border-radius:99px;overflow:hidden}.bar>i{display:block;height:100%;background:var(--g)}
.banner{padding:10px 20px;font-size:14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-radius:0}
.bnav{display:none}
.loading{display:grid;place-items:center;min-height:100vh;color:var(--mu)}
.incoming{border-color:#b9d3c2;background:#f4f9f5}
.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:14px}
/* modal + toast */
.mb{position:fixed;inset:0;background:rgba(20,30,24,.45);display:flex;align-items:flex-start;justify-content:center;padding:40px 12px;overflow:auto;z-index:100000}
.md{background:#fff;border-radius:16px;width:100%;max-width:560px;padding:22px;box-shadow:0 30px 60px -20px rgba(0,0,0,.35);animation:pop .2s ease-out}
.md.wide{max-width:820px}
.md-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.md-h h2{font-size:20px;margin:0}
.x{border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--mu);min-width:40px;min-height:40px}
#toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:#173b29;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;z-index:100001;display:none;max-width:90vw;animation:pop .2s ease-out}
#print{display:none}@media (max-width:860px){
 .calc,.detail-grid{grid-template-columns:1fr}
 .hero .wrap{grid-template-columns:1fr}.hero h1{font-size:34px}
 .pub-nav .hide-m{display:none}
 .side{position:fixed;left:0;top:0;z-index:40;transform:translateX(-100%);transition:transform .2s;box-shadow:0 0 40px rgba(0,0,0,.2)}
 .side.open{transform:none}
 .bnav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--bd);z-index:30;padding-bottom:env(safe-area-inset-bottom)}
 .bnav button{flex:1;border:0;background:none;padding:8px 2px;font-size:11px;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--mu);min-height:58px;cursor:pointer}
 .bnav button.on{color:var(--g);font-weight:700}
 .bnav .plus .ico{background:var(--g);color:#fff;border-radius:50%;width:34px;height:34px;padding:7px}
 #view{padding:16px 14px 100px}
 .hide-m{display:none}
 .top{padding:8px 14px}}
@media (max-width:420px){.lookup{flex-direction:column}.pub-nav .btn.sec{border-color:transparent;background:transparent;padding:0 8px}.pub-nav .btn.sm{padding:0 12px}}
@media print{
 body>*:not(#print){display:none!important}
 #print{display:block;padding:0;color:#000;font-size:12px}
 #print table{width:100%;border-collapse:collapse}
 #print th,#print td{border:1px solid #bbb;padding:5px;text-align:left;vertical-align:top}}


/* ================= v1.1 public redesign ================= */
h1,h2,h3{letter-spacing:-.02em;color:var(--ink)}
.btn{border-radius:12px;font-weight:700}
.btn.lg{min-height:52px;padding:0 24px;font-size:16px;border-radius:12px}
.btn.glass{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.45);color:#fff;backdrop-filter:blur(6px)}
.btn.glass:hover{background:rgba(255,255,255,.24)}
.btn.light{background:#fff;color:var(--g);border-color:#fff}.btn.light:hover{background:var(--gl)}
.linkbtn{border:0;background:none;padding:0;color:var(--g);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.pub-h{background:rgba(247,245,239,.86);backdrop-filter:saturate(1.4) blur(12px)}
.pub-h>.wrap{height:68px}
.pub-nav a.btn.ghost{color:var(--ink);font-weight:600}
.ph-fallback{background:linear-gradient(135deg,#2d6a4b,#173b29)}
/* hero */
.h-hero{position:relative;color:#fff;overflow:hidden;background:#173b29}
.h-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.h-hero:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(14,32,22,.92) 0%,rgba(14,32,22,.78) 42%,rgba(14,32,22,.25) 75%,rgba(14,32,22,.1) 100%)}
.h-hero-in{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center;min-height:min(78vh,720px);padding-top:56px;padding-bottom:56px}
.h-pill{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);font-size:13.5px;font-weight:600}
.h-hero h1{color:#fff;font-size:clamp(36px,5.2vw,62px);line-height:1.04;letter-spacing:-.035em;margin:18px 0 16px;max-width:13ch;font-weight:800}
.h-lead{font-size:clamp(17px,1.6vw,20px);line-height:1.5;color:rgba(255,255,255,.9);max-width:34ch;margin:0}
.h-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.h-proof{list-style:none;padding:0;margin:26px 0 0;display:flex;gap:10px 22px;flex-wrap:wrap;font-size:14.5px;font-weight:600;color:rgba(255,255,255,.92)}
.h-proof li{display:flex;align-items:center;gap:8px}
.tick{width:20px;height:20px;flex:none}.tick circle{fill:#8bc49f}.tick path{fill:none;stroke:#0f2a1c;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* passport check bar */
.h-check{background:#fff;border-bottom:1px solid var(--bd)}
.h-check-in{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}
.h-check .lookup{margin:0;flex:0 1 440px}
/* section heads */
.section{padding:84px 0}
.h-head{max-width:680px;margin:0 auto 40px;text-align:center}
.h-head h2,.h-split h2{font-size:clamp(28px,3.4vw,42px);line-height:1.12;font-weight:800;margin:8px 0 10px}
.h-kicker{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--g2)}
.h-p{font-size:17px}
.h-center{text-align:center;margin-top:36px}
/* benefit cards */
.h-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.h-card{background:#fff;border:1px solid var(--bd);border-radius:22px;overflow:hidden;box-shadow:0 18px 40px -32px rgba(20,38,28,.5);transition:transform .25s ease,box-shadow .25s ease}
.h-card:hover{transform:translateY(-4px);box-shadow:0 26px 50px -30px rgba(20,38,28,.55)}
.h-card-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.h-card:nth-child(3) .h-card-img{object-position:center 30%}
.h-card-body{padding:22px 24px 26px}
.h-card h3{font-size:21px;margin-bottom:6px}.h-card p{margin:0;color:var(--mu)}
/* steps */
.h-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:s}
.h-steps li{background:var(--bg);border-radius:22px;padding:28px 26px}
.h-num{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--g);color:#fff;font-weight:800;font-size:18px;margin-bottom:16px}
.h-steps h3{font-size:20px;margin-bottom:6px}.h-steps p{margin:0;color:var(--mu)}
/* passport split */
.h-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.h-rounded{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:26px}
/* calculator & pricing */
.h-calc{border-radius:22px;padding:26px}
.h-plans{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch}
.h-plan{position:relative;background:#fff;border:1px solid var(--bd);border-radius:22px;padding:26px 22px;display:flex;flex-direction:column}
.h-plan.pop{background:var(--ink);border-color:var(--ink);color:#e7efe9;box-shadow:0 30px 60px -30px rgba(20,38,28,.7)}
.h-plan.pop h3,.h-plan.pop .h-price{color:#fff}.h-plan.pop .sub{color:#b9cdbf}
.h-plan.pop .btn{background:#8bc49f;border-color:#8bc49f;color:#0f2a1c}
.h-flag{position:absolute;top:-12px;left:22px;background:#e7b45a;color:#3d2a06;font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px}
.h-plan h3{font-size:18px;margin:0}
.h-price{font-size:36px;font-weight:800;color:var(--ink);margin:8px 0 2px;letter-spacing:-.03em}.h-price span{font-size:14px;font-weight:600;color:var(--mu);letter-spacing:0}
.h-plan.pop .h-price span{color:#b9cdbf}
.h-plan ul{list-style:none;padding:0;margin:16px 0 22px;flex:1;font-size:14px}
.h-plan li{display:flex;gap:8px;align-items:flex-start}.h-plan li+li{margin-top:8px}.h-plan li .tick{width:18px;height:18px;margin-top:1px}
.h-contact{border-radius:22px;padding:26px;position:sticky;top:90px}
/* final band */
.h-band{position:relative;overflow:hidden;background:#173b29;color:#fff;text-align:center}
.h-band-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h-band:before{content:"";position:absolute;inset:0;z-index:1;background:rgba(14,32,22,.68)}
.h-band-in{position:relative;z-index:2;padding-top:110px;padding-bottom:110px}
.h-band h2{color:#fff;font-size:clamp(30px,4vw,48px);font-weight:800;max-width:18ch;margin:0 auto 12px;line-height:1.1}
.h-band p{color:rgba(255,255,255,.88);font-size:18px;margin:0 0 26px}
footer.pub-f{padding:36px 0;background:#fff;border-top:1px solid var(--bd)}@media (max-width:980px){.h-plans{grid-template-columns:repeat(2,1fr)}}
@media (max-width:860px){
 .h-hero-in{grid-template-columns:1fr;min-height:0;padding-top:44px;padding-bottom:48px;gap:34px}
 .h-hero:before{background:linear-gradient(180deg,rgba(14,32,22,.86) 0%,rgba(14,32,22,.8) 60%,rgba(14,32,22,.92) 100%)}
 .h-cards,.h-steps,.h-split{grid-template-columns:1fr}
 .h-split{gap:32px}.h-rounded{aspect-ratio:4/3}
 .section{padding:60px 0}
 .h-contact{position:static}
 .h-check .lookup{flex:1 1 100%}}
@media (max-width:560px){.h-plans{grid-template-columns:1fr}.h-cta .btn{flex:1 1 100%}}
@media (prefers-reduced-motion:reduce){.h-card{transition:none}.h-card:hover{transform:none}}

/* first-use guide */
.wiz-steps{list-style:none;display:flex;gap:8px;padding:0;margin:0 0 16px;flex-wrap:wrap}
.wiz-steps li{display:flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;background:#fff;border:1px solid var(--bd);font-weight:600;font-size:14px;color:var(--mu)}
.wiz-steps li span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#efece4;font-size:13px}
.wiz-steps li.on{border-color:var(--g);color:var(--ink)}.wiz-steps li.on span{background:var(--g);color:#fff}
.wiz-steps li.done span{background:var(--gl);color:var(--g)}
.card.wiz{max-width:640px;border-radius:20px;padding:26px}
.card.wiz h2{font-size:22px}
/* ================= v1.2 pages ================= */
.pp-head h1,.pp-head .code{color:#fff}
.pub-nav .btn.ghost.is-on{background:var(--gl);color:var(--g)}
.menu-btn{display:none;border:0;background:none;min-width:44px;min-height:44px;border-radius:10px;cursor:pointer;color:var(--ink);place-items:center}
.menu-btn:hover{background:var(--gl)}
.mnav{position:absolute;left:0;right:0;top:100%;border-top:1px solid var(--bd);background:var(--bg);padding:8px 0 22px;box-shadow:0 24px 40px -20px rgba(20,38,28,.35);max-height:calc(100vh - 68px);overflow:auto}
.mnav[hidden]{display:none}
.mnav .wrap{display:flex;flex-direction:column;gap:4px}
.mnav a:not(.btn){display:block;padding:13px 4px;font-size:17px;font-weight:600;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--bd)}
.mnav .btn{margin-top:10px}@media (max-width:980px){.pub-nav .hide-m{display:none}.menu-btn{display:grid}.pub-nav .btn.sec[data-auth=login]{display:none}}
@media (min-width:981px){.mnav{display:none!important}}

/* frames */
.frame{margin:0;background:#fff;border:1px solid var(--bd);border-radius:16px;overflow:hidden;box-shadow:0 30px 60px -35px rgba(20,38,28,.45)}
.frame-bar{display:flex;align-items:center;gap:6px;padding:9px 14px;background:#f1efe8;border-bottom:1px solid var(--bd)}
.frame-bar i{width:9px;height:9px;border-radius:50%;background:#d8d3c6}
.frame-bar span{margin-left:10px;font-size:12px;color:var(--mu);font-weight:600}
.frame img{display:block;width:100%;height:auto}
.h-hero-shot{justify-self:end;text-align:center}
.h-shot-cap{margin:12px 0 0;font-size:13px;color:rgba(255,255,255,.8);font-weight:600}
/* problem */
.h-probs{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.h-prob{background:#fff;border:1px solid var(--bd);border-radius:20px;padding:26px}
.section.alt .h-prob{background:var(--bg);border-color:transparent}
.f-ico{width:40px;height:40px;padding:9px;border-radius:12px;background:var(--gl);color:var(--g);margin-bottom:14px}
.h-prob h3{font-size:19px;margin-bottom:6px}.h-prob p{margin:0;color:var(--mu)}
.h-shot-main{max-width:1060px;margin:0 auto}
.h-trust{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.h-trust li{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:16px 18px;color:#3d443e}
.section.alt .h-trust li{background:var(--bg);border-color:transparent}
.h-trust b{color:var(--ink)}
/* inner pages */
.p-hero{padding:64px 0 36px;background:linear-gradient(180deg,#eef3ee,var(--bg))}
.p-hero h1{font-size:clamp(32px,4.4vw,52px);line-height:1.08;letter-spacing:-.03em;font-weight:800;margin:10px 0 14px;max-width:20ch}
.h-lead-dark{font-size:clamp(17px,1.5vw,19px);color:#4a4f48;max-width:60ch;margin:0}
.hw-step{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center;padding:34px 0;border-bottom:1px solid var(--bd)}
.hw-step:last-child{border-bottom:0}
.hw-step:nth-child(even) .hw-txt{order:2}
.hw-step.no-img{grid-template-columns:1fr}.hw-step.no-img .hw-txt{max-width:720px;order:0}
.hw-txt h2{font-size:clamp(24px,2.6vw,32px);font-weight:800;margin:6px 0 10px}.hw-txt p{color:#4a4f48;font-size:16.5px;margin:0}
.tbl.cmp{background:#fff;border-radius:16px;overflow:hidden}.tbl.cmp th,.tbl.cmp td{text-align:center;padding:12px}.tbl.cmp th:first-child,.tbl.cmp td:first-child{text-align:left;font-weight:600}
.ft-group{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.ft-group.rev .ft-shot{order:-1}
.ft-shot{position:sticky;top:96px}
.ft-h{font-size:clamp(26px,3vw,36px);font-weight:800;margin-bottom:18px}
.ft-list{display:grid;gap:12px}
.ft-item{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:16px 18px}
.section.alt .ft-item{border-color:transparent}
.ft-item h3{font-size:17px;margin-bottom:4px}.ft-item p{margin:0 0 8px;color:var(--mu);font-size:14.5px}
.pr-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.pr-box{background:var(--bg);border-radius:20px;padding:26px}
.pr-box h2{font-size:22px;margin-bottom:10px}.pr-box ul{margin:0;padding-left:18px;color:#3d443e}.pr-box li+li{margin-top:10px}
.pr-x h3{font-size:17px}
.ct-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;align-items:start}
.ct-grid .card h3{font-size:18px}
/* footer */
.f-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px;padding-bottom:20px}
.f-grid a:not(.logo){display:block;color:var(--tx);text-decoration:none;padding:4px 0}.f-grid a:not(.logo):hover{color:var(--g);text-decoration:underline}
.f-h{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--mu);margin:4px 0 8px}
.f-legal{border-top:1px solid var(--bd);padding-top:16px;font-size:13px;color:var(--mu)}@media (max-width:860px){
 .h-probs,.hw-step,.ft-group,.pr-grid,.ct-grid{grid-template-columns:1fr}
 .hw-step:nth-child(even) .hw-txt{order:0}.ft-group.rev .ft-shot{order:0}.ft-shot{position:static}
 .h-hero-shot{justify-self:center}
 .f-grid{grid-template-columns:1fr 1fr}.f-grid>div:first-child{grid-column:1/-1}
 .p-hero{padding:44px 0 26px}}

/* ================= VetConnect ================= */
.vc-h1{font-size:clamp(28px,3.6vw,40px);font-weight:800;letter-spacing:-.03em;margin:8px 0 8px}
.vc-prog{list-style:none;display:flex;gap:6px;padding:0;margin:22px 0 14px;counter-reset:s}
.vc-prog li{flex:1;display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:var(--mu);font-weight:600}
.vc-prog li span{height:6px;border-radius:99px;background:#e4e0d4;font-size:0;overflow:hidden}
.vc-prog li.done span,.vc-prog li.on span{background:var(--g)}
.vc-prog li.on{color:var(--ink)}
.vc-prog li em{font-style:normal}@media (max-width:640px){.vc-prog li em{display:none}.vc-prog li.on em{display:block;position:absolute}.vc-prog{margin-bottom:30px;position:relative}}

.vc-card{border-radius:20px;padding:24px}
.vc-card h2{font-size:22px;margin-bottom:14px}
.vc-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:10px}
.vc-cat{position:relative;display:block;cursor:pointer}
.vc-cat input{position:absolute;opacity:0;inset:0}
.vc-cat span{display:flex;align-items:center;min-height:58px;padding:12px 16px;border:1.5px solid var(--bd);border-radius:14px;background:#fff;font-weight:600}
.vc-cat input:checked+span{border-color:var(--g);background:var(--gl);color:var(--g)}
.vc-cat input:focus-visible+span{outline:3px solid #8bb89c;outline-offset:2px}
.vc-fs{border:0;padding:0;margin:16px 0}.vc-fs legend{font-weight:700;font-size:15px;margin-bottom:6px}
.vc-urgent,.vc-urgent-static{background:var(--rdl);color:#5f1d16;border-radius:14px;padding:14px 16px;margin:12px 0;font-size:14.5px}
.vc-urgent a,.vc-urgent-static a{color:#5f1d16;font-weight:700}
.vc-official{margin-top:8px;font-weight:600}
.vc-nav{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.vc-nav .btn{min-width:140px}
.vc-plist{display:grid;gap:10px}
.vc-prov{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1.5px solid var(--bd);border-radius:14px;cursor:pointer;background:#fff}
.vc-prov input{width:20px;height:20px;margin-top:2px;accent-color:var(--g);flex:none}
.vc-prov span{display:flex;flex-direction:column;gap:2px}
.vc-prov:has(input:checked){border-color:var(--g);background:#f3f8f4}
.vc-sum{display:grid;grid-template-columns:160px 1fr;gap:8px 16px;margin:0 0 10px}
.vc-sum dt{color:var(--mu);font-weight:600}.vc-sum dd{margin:0}@media (max-width:560px){.vc-sum{grid-template-columns:1fr}.vc-sum dd{margin-bottom:6px}}

.vc-consent{align-items:flex-start;margin-bottom:10px;font-size:14.5px}.vc-consent input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--g)}
.vc-done{text-align:center;padding:34px 24px}
.vc-tick{width:56px;height:56px;border-radius:50%;background:var(--gl);color:var(--g);display:grid;place-items:center;font-size:28px;font-weight:800;margin:0 auto 10px}
.vc-ref{font-size:18px}
.vc-tl{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid var(--bd)}
.vc-tl li{position:relative;padding:0 0 14px 6px}
.vc-tl li:before{content:"";position:absolute;left:-25px;top:4px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid var(--g)}
.vc-tl li.priv:before{border-color:var(--am)}
.vc-band{background:linear-gradient(180deg,#eef3ee,var(--bg))}
.cov-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:10px}
.cov-list li{display:grid;grid-template-columns:1fr auto;gap:2px 12px;background:#fff;border:1px solid var(--bd);border-radius:14px;padding:12px 16px}
.cov-list li span{color:var(--g);font-weight:700}.cov-list li small{grid-column:1/-1;color:var(--mu)}
.cov-empty{background:#fff;border:1px dashed #cfcabc;border-radius:16px;padding:20px}
.cov-empty h3{font-size:17px;margin-bottom:6px}.cov-empty p{color:var(--mu);margin:0 0 12px}
.dir-filters{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:12px;align-items:end;border-radius:18px}
.dir-filters .f{margin:0}
.dir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:16px}
.dir-card{border-radius:18px;display:flex;flex-direction:column;gap:4px}
.dir-card h2{font-size:20px;margin:10px 0 0}.dir-card p{margin:2px 0;font-size:14.5px}.dir-card .row{margin-top:auto;padding-top:12px}@media (max-width:860px){.dir-filters{grid-template-columns:1fr 1fr}.dir-filters .btn{grid-column:1/-1}}

.h-steps.vc5{grid-template-columns:repeat(5,1fr)}@media (max-width:1100px){.h-steps.vc5{grid-template-columns:repeat(3,1fr)}}
@media (max-width:700px){.h-steps.vc5{grid-template-columns:1fr}}

.vc-verify{margin:0;padding-left:20px;color:#3d443e}.vc-verify li+li{margin-top:10px}
.pr-vc{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:var(--gl);border-radius:20px;padding:24px}
.pr-vc h2{font-size:19px;margin-bottom:6px}.pr-vc p{margin:0}@media (max-width:860px){.pr-vc{grid-template-columns:1fr}.f-grid{grid-template-columns:1fr 1fr}}

/* ================= livestock + add-ons ================= */
.pp-alert{background:var(--rd);color:#fff;border-radius:12px;padding:14px 16px;font-size:15px;margin:0 0 14px}
.pp-alert b{font-size:16px}
.wchart{width:100%;height:auto;display:block;margin:8px 0 4px;background:var(--bg);border-radius:10px}
.ci-photos{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.ci-photos img{width:72px;height:72px;object-fit:cover;border-radius:8px;border:1px solid var(--bd);display:block}
.species-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:22px auto 0;max-width:900px;list-style:none;padding:0}
.species-list li{background:#fff;border:1px solid var(--bd);border-radius:999px;padding:6px 14px;font-weight:600;font-size:14px}
/* ---- v1.6 simpler,friendlier app ---- */
[hidden]{display:none!important}
.li.tap{cursor:pointer;border-radius:10px;transition:background .15s}
.li.tap:hover{background:#f6f4ee}
.li-ic{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;background:var(--gl);font-size:21px;line-height:1}
.li-ic.sm{width:30px;height:30px;font-size:17px;border-radius:9px;vertical-align:middle}
.chev{color:#b5b1a5;font-size:22px;line-height:1;flex:none}
.hero-st{border-radius:20px;padding:20px 22px;margin-bottom:16px;background:var(--gl);color:var(--ink);animation:pop .35s ease-out}
.hero-st h2{font-size:23px;margin:0 0 4px;letter-spacing:-.3px}.hero-st p{margin:0;color:#3d4a42}
.hero-st.warn{background:var(--aml)}.hero-st.bad{background:var(--rdl)}
.hero-list{margin-top:14px;background:#fff;border-radius:14px;padding:4px 12px}
.ring{--p:0;--c:var(--g);flex:none;width:96px;height:96px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(closest-side,#fff 78%,transparent 80% 100%),conic-gradient(var(--c) calc(var(--p)*1%),#d9e4dc 0)}
.hero-st.warn .ring{--c:var(--am)}.hero-st.bad .ring{--c:var(--rd)}
.ring b{font-size:22px;line-height:1}.ring span{font-size:11px;color:var(--mu)}
.qa{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:12px;margin-bottom:14px}
.qa button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#fff;border:1px solid var(--bd);border-radius:16px;padding:16px;cursor:pointer;transition:transform .12s,box-shadow .12s}
.qa button:hover{transform:translateY(-2px);box-shadow:0 10px 24px -14px rgba(20,38,28,.35)}
.qa button:active{transform:scale(.97)}
.qa b{font-size:16px}.qa small{color:var(--mu);font-size:13px}
.qa-e{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--gl);margin-bottom:10px}
.st3{grid-template-columns:repeat(3,1fr)}
.cat-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}
.cat-t{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:92px;padding:10px 6px;border:1.5px solid var(--bd);border-radius:14px;background:#fff;cursor:pointer;text-align:center;font-weight:600;font-size:13.5px;transition:transform .12s,background .12s,border-color .12s}
.cat-t input{position:absolute;opacity:0;pointer-events:none}
.cat-e{font-size:28px;line-height:1}
.cat-t:hover{border-color:var(--g2)}
.cat-t:has(input:checked){background:var(--gl);border-color:var(--g);color:var(--g);transform:scale(1.03)}
.cat-t:has(input:focus-visible){outline:3px solid #8bb89c;outline-offset:2px}
.cat-t.locked{opacity:.5;cursor:not-allowed}
.stepn{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--g);color:#fff;font-size:13px;margin-right:8px;vertical-align:2px}
details.more{border:0;padding:4px 0 0}
details.more summary{cursor:pointer;color:var(--g);font-weight:600;font-size:14px;padding:6px 0}
.seg{display:flex;background:#efece4;border-radius:12px;padding:4px;margin-bottom:14px}
.seg label{flex:1}.seg input{position:absolute;opacity:0}
.seg span{display:block;text-align:center;padding:9px 6px;border-radius:9px;font-weight:600;font-size:14px;cursor:pointer;color:var(--mu)}
.seg input:checked+span{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.seg input:focus-visible+span{outline:3px solid #8bb89c}
.a-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px}
.a-av{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--gl);font-size:32px;flex:none}
.a-head h1{margin:0 0 4px}
details.menu{position:relative;border:0;padding:0}
details.menu summary{list-style:none}details.menu summary::-webkit-details-marker{display:none}
.menu-l{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:240px;background:#fff;border:1px solid var(--bd);border-radius:14px;padding:6px;box-shadow:0 20px 40px -18px rgba(0,0,0,.3)}
.menu-l button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:none;padding:10px 12px;border-radius:9px;cursor:pointer;font-weight:600}
.menu-l button:hover{background:var(--gl)}.menu-l .dz{color:var(--rd)}
.acards{display:none}
.acard{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:0;border-top:1px solid #efece4;padding:12px 2px;cursor:pointer;font:inherit}
.acard:first-child{border-top:0}
.chk .li-ic{margin-right:4px}
.win{text-align:center;padding:4px 0 2px}
.win p{font-size:16px;margin:8px 0}
.win-tick svg{width:84px;height:84px;margin:0 auto 6px;display:block}
.win-tick circle{fill:var(--gl);stroke:var(--g);stroke-width:2.5;stroke-dasharray:160;stroke-dashoffset:160;animation:draw .5s ease-out forwards}
.win-tick path{fill:none;stroke:var(--g);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:draw .35s .4s ease-out forwards}
.win-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.win-act .btn{flex:1 1 160px}

.confetti{position:fixed;inset:0;pointer-events:none;z-index:100002;overflow:hidden}
.confetti i{position:absolute;top:-12px;width:9px;height:14px;border-radius:2px;animation:fall linear forwards}@keyframes fall{to{top:105vh;transform:translateX(40px) rotate(720deg)}}@keyframes draw{to{stroke-dashoffset:0}}@keyframes pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

@media (max-width:640px){.acards{display:block}.atable{display:none}.st3 .stat .v{font-size:24px}.st3 .stat{padding:12px}.hero-st{padding:16px}.ring{width:80px;height:80px}.ring b{font-size:19px}.qa{grid-template-columns:1fr 1fr}.qa button{padding:14px}.cat-tiles{grid-template-columns:repeat(3,1fr)}.a-head .row{width:100%}.a-head .row .btn{flex:1}}
@media (prefers-reduced-motion:reduce){.hero-st,.md,#toast,.cat-t{animation:none;transition:none}.win-tick circle,.win-tick path{animation:none;stroke-dashoffset:0}.qa button{transition:none}}

.g2w{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr))}
.h-easy li{text-align:center}
.h-emo{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 14px;border-radius:22px;background:var(--gl);font-size:36px;line-height:1}
/* ---- v1.8 offer + conversion ---- */
.promo-bar{background:#1b3a2a;color:#fff;font-size:14px}
.promo-bar .wrap{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap;text-align:center}

.promo-bar .btn.sm{min-height:32px;background:#f3c969;border-color:#f3c969;color:#1b2a20}
.h-offer{display:inline-block;margin:6px 0 2px;padding:4px 10px;border-radius:999px;background:#fdf1d4;color:#7a4e06;font-weight:700;font-size:13px}
.h-offer.free{background:var(--gl);color:var(--g)}
.h-plan.pop .h-offer{background:#f3c969;color:#1b2a20}
.offer-box{display:flex;align-items:center;gap:16px;background:#fdf1d4;border-radius:18px;padding:18px 20px;margin-bottom:26px;flex-wrap:wrap}
.offer-box>div{flex:1;min-width:220px}.offer-e{font-size:34px;line-height:1}
.banner.offer{background:#fdf1d4;color:#5a3a05}.banner.offer span{flex:1}
.offer-note{background:#fdf1d4;border-radius:10px;padding:10px 12px;color:#5a3a05}
.reg-perks{background:var(--gl);border-radius:12px;padding:10px 14px;margin-bottom:14px;font-size:14px;color:var(--ink);display:grid;gap:3px}
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(247,245,239,.94);backdrop-filter:blur(8px);border-top:1px solid var(--bd);animation:pop .25s ease-out}
.sticky-cta .btn{width:100%}@media (min-width:861px){.sticky-cta{display:none!important}}
@media (max-width:560px){.promo-bar .hide-s{display:none}}

/* ---- v1.9 line icons,repeat-use cards,mobile hero ---- */
.li-ic .ico{width:21px;height:21px;color:var(--g)}
.li-ic.sm .ico{width:16px;height:16px}
.li-ic.r{background:var(--rdl)}.li-ic.r .ico{color:var(--rd)}
.li-ic.a{background:var(--aml)}.li-ic.a .ico{color:var(--am)}
.qa-e .ico{width:28px;height:28px;color:var(--g);stroke-width:1.7}

.cat-e .ico{width:30px;height:30px;stroke-width:1.6}
.cat-t:has(input:checked) .cat-e .ico{color:var(--g)}
.a-av .ico{width:32px;height:32px;color:var(--g);stroke-width:1.6}
.chip .ico{width:16px;height:16px}
.menu-l .ico{width:18px;height:18px;color:var(--mu)}.menu-l .dz .ico{color:var(--rd)}
.banner.offer>.ico{width:22px;height:22px;color:#9a6412}
.win p .ico{width:18px;height:18px;vertical-align:-3px;color:var(--g)}
.card.since{margin-bottom:14px}
.card.install{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;background:var(--gl);border-color:transparent}
.card.install .grow{min-width:180px}
.prod-chips{margin-top:8px;font-weight:400}.prod-chips .chip{font-size:12.5px;min-height:30px;padding:4px 10px}
.h-emo .ico{width:34px;height:34px;color:var(--g);stroke-width:1.6}
.vt-ic{width:1.15em;height:1.15em;vertical-align:-.2em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media (max-width:860px){
 .h-hero-shot{justify-self:center}
 .h-hero-shot .phone{width:190px}
 .h-shot-cap{display:none}
 .h-hero-in{padding-top:28px;gap:26px}}

.offer-e .ico{width:34px;height:34px;color:#9a6412;stroke-width:1.6}
.syncbar{display:flex;align-items:center;gap:10px;padding:9px 20px;background:var(--gl);color:var(--ink);font-size:14px;border-bottom:1px solid var(--bd)}
.syncbar.off{background:#ecebe6}
.syncbar .ico{width:18px;height:18px;color:var(--g)}.gwrap{margin-bottom:14px}.gwrap [data-gbtn]{display:flex;justify-content:center;min-height:44px}
.or{display:flex;align-items:center;gap:10px;margin:14px 0 4px;color:var(--mu);font-size:13px}.or:before,.or:after{content:"";flex:1;height:1px;background:var(--bd)}
.species-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:26px auto 0;max-width:1000px}
.sp-tile{margin:0;position:relative;border-radius:16px;overflow:hidden;aspect-ratio:4/5;background:#ddd}
.sp-tile .sp-img{width:100%;height:100%;object-fit:cover;display:block}
.sp-tile figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 10px;color:#fff;font-weight:700;background:linear-gradient(0deg,rgba(0,0,0,.6),transparent)}
.sp-more{text-align:center;color:var(--mu);margin:14px auto 0;max-width:640px;font-size:14px}
@media (max-width:640px){.species-tiles{grid-template-columns:repeat(2,1fr)}.sp-tile:last-child{grid-column:1/-1;aspect-ratio:16/9}}
/* ---- v2.3 currency + plan length ---- */
.plan-tools{display:flex;align-items:center;justify-content:center;gap:14px 20px;flex-wrap:wrap;margin:0 auto 22px}
.term-toggle{display:inline-flex;background:#efece4;border-radius:999px;padding:4px}
.term-toggle input{position:absolute;opacity:0}
.term-toggle span{display:block;padding:8px 14px;border-radius:999px;font-weight:600;font-size:14px;cursor:pointer;color:var(--mu)}
.term-toggle em{font-style:normal;color:var(--g);font-size:12px}
.term-toggle input:checked+span{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.term-toggle input:focus-visible+span{outline:3px solid #8bb89c}
.cur-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}
.cur-bar label{display:flex;align-items:center;gap:8px;font-weight:600}
.cur-bar select{width:auto;min-height:38px;margin:0;padding:4px 10px}
.term-note{margin:2px 0 6px}
.fx-row{display:grid;grid-template-columns:1fr 1.4fr;gap:12px}
.fx-out{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:6px}
.fx-cell{background:var(--bg);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column}
.fx-cell b{font-size:18px}
@media (max-width:560px){.fx-row{grid-template-columns:1fr}.term-toggle span{padding:8px 10px;font-size:13px}}
.cur-mini{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}.cur-mini select{width:auto;min-height:38px;margin:0;padding:4px 10px}
.h-price .money{font-size:inherit;font-weight:inherit;color:inherit;letter-spacing:inherit}.h-plan.pop .h-price .money{color:#fff}

/* ---- realistic phone frame (hero and screenshots) ---- */
.phone{position:relative;margin:0;width:262px;max-width:100%;padding:7px;border-radius:46px;background:linear-gradient(145deg,#2a2f2c,#0c0f0d);box-shadow:inset 0 0 0 1.5px #3b423e,0 40px 80px -30px rgba(0,0,0,.75)}
.phone:before,.phone:after{content:"";position:absolute;width:3px;border-radius:2px;background:#1c211e}
.phone:before{left:-3px;top:22%;height:52px;box-shadow:0 66px 0 #1c211e}
.phone:after{right:-3px;top:28%;height:74px}
.phone-screen{position:relative;display:flex;flex-direction:column;aspect-ratio:9/19.5;border-radius:39px;overflow:hidden;background:#fff}
.phone-screen:before{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);width:30%;height:21px;border-radius:12px;background:#0b0d0c;z-index:2}
.phone-status{flex:none;height:38px;display:flex;align-items:center;justify-content:space-between;padding:6px 22px 0 26px;font:600 12px/1 var(--font);color:#111}
.phone-status .ps-ic{display:flex;gap:5px;align-items:center}.phone-status svg{fill:currentColor}
.phone-screen img{flex:1;min-height:0;width:100%;object-fit:cover;object-position:top;display:block}
@media (max-width:860px){.phone{border-radius:34px;padding:5px}.phone-screen{border-radius:29px}.phone-status{height:28px;font-size:10px;padding:4px 16px 0 20px}.phone-screen:before{top:7px;height:15px}}
.partner-band{background:linear-gradient(180deg,#eef3ee,var(--bg))}
#contact-form{scroll-margin-top:90px}

/* ---- v2.6 Southern Africa first: "live in town" section, best-value badge ---- */
.town-photo{border-radius:20px;overflow:hidden;aspect-ratio:4/3;background:#e8e4da}
.town-img{width:100%;height:100%;object-fit:cover;display:block}
.town h2{max-width:20ch}
.term-toggle .best{display:inline-block;margin-left:4px;padding:1px 7px;border-radius:999px;background:var(--g);color:#fff;font-size:11px;font-weight:700;vertical-align:1px}
@media (max-width:560px){.term-toggle .best{display:none}}

/* ---- v2.7 positioning pass: eyebrow, problem, record/remember/share, features, passport ---- */
.h-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#cfe3d6}
.h-hero h1{max-width:16ch;font-size:clamp(34px,4.6vw,56px)}
.prob-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.prob{background:var(--bg);border-radius:20px;padding:24px}
.prob h3{font-size:19px;margin:12px 0 6px}.prob p{margin:0;color:var(--mu)}
.prob-ic,.feat-ic{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--gl);color:var(--g);flex:none}
.prob-ic .ico,.feat-ic .ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.steps3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.steps3 li{background:#fff;border-radius:22px;padding:16px 16px 22px}
.steps3-shot .frame{margin:0;box-shadow:none;border:1px solid var(--bd)}
.steps3-n{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--g);color:#fff;font-weight:800;font-size:15px;margin:16px 6px 0 6px}
.steps3 h3{display:inline-block;font-size:20px;margin:0;vertical-align:-2px}
.steps3 p{margin:8px 6px 0;color:var(--mu)}
.feat-grid{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feat-grid li{display:flex;gap:14px;align-items:flex-start;background:#fff;border-radius:18px;padding:18px}
.feat-grid h3{font-size:17px;margin:2px 0 4px}.feat-grid p{margin:0;color:var(--mu);font-size:15px;line-height:1.45}
.pp-tiers{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}
.pp-tiers li{border-radius:16px;padding:14px 18px;background:var(--bg);color:#3d443e}
.pp-tiers li:nth-child(2){background:var(--gl)}
.pp-tiers li:nth-child(3){background:var(--aml)}
.pp-shot{justify-self:center;text-align:center}
.pp-shot .phone{width:250px}
.h-shot-cap.dark{color:var(--mu)}
@media (max-width:980px){.feat-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:860px){.prob-grid,.steps3,.feat-grid{grid-template-columns:1fr}.pp-shot{order:-1}.pp-shot .phone{width:210px}.h-shot-cap.dark{display:block}}
/* cards stand out from their section: white on the plain (sand) sections, sand on the white ones */
.prob,.feat-grid li,.steps3 li,.pp-tiers li{background:#fff}
.section.alt .prob,.section.alt .feat-grid li,.section.alt .steps3 li,.section.alt .pp-tiers li{background:var(--bg)}
.pp-tiers li:nth-child(2),.section.alt .pp-tiers li:nth-child(2){background:var(--gl)}
.pp-tiers li:nth-child(3),.section.alt .pp-tiers li:nth-child(3){background:var(--aml)}
/* For organisations (parts/orgs.php) */
.org-band{background:var(--gl)}
.org-band-cta{display:flex;justify-content:flex-end}
@media (max-width:860px){.org-band-cta{justify-content:flex-start}}
@media (min-width:900px){.org-who{grid-template-columns:repeat(3,1fr)}}
.org-who .card h3{font-size:19px;margin-bottom:4px}
.org-gain{font-weight:700;color:var(--g);margin:0 0 10px}
.org-who ul{margin:0 0 12px;padding-left:18px;color:var(--mu)}.org-who li{margin:4px 0}
.org-who .org-farmer{background:var(--gl);border-color:transparent}
.org-cost .card{text-align:center}
/* Join page (/join/<code>/) */
.join-card{max-width:640px;margin:0 auto;text-align:center}
.join-card h1{font-size:clamp(28px,4vw,40px);line-height:1.15;margin:8px 0 12px}
.join-card .join-plan{display:inline-block;background:var(--gl);color:var(--g);font-weight:700;border-radius:99px;padding:6px 14px;margin-bottom:6px}
.join-card ol{text-align:left;max-width:420px;margin:18px auto;padding-left:20px}.join-card li{margin:6px 0}
.join-card .row{justify-content:center;flex-wrap:wrap}
/* Hero: three short lines saying what it does */
.h-says{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:clamp(17px,1.6vw,20px);line-height:1.4;color:rgba(255,255,255,.94)}
.h-says li{position:relative;padding-left:26px}
.h-says li:before{content:"";position:absolute;left:0;top:.42em;width:12px;height:12px;border-radius:50%;background:#9fd4b2}
@media (max-width:560px){.h-hero h1{font-size:32px}.h-says{font-size:16.5px}.h-proof{font-size:13.5px;margin-top:18px}}
@media (max-width:560px){.promo-bar{font-size:13px}.promo-bar .wrap{flex-wrap:nowrap;gap:10px;padding-top:6px;padding-bottom:6px}.promo-bar .btn.sm{min-height:28px;padding:0 12px;flex:none}}
/* Cookie notice: a slim bar at the bottom of phones so it doesn't hide the page */
@media (max-width:600px){
 .cookieadmin_law_container{left:0!important;right:0!important;bottom:0!important;width:auto!important;max-width:none!important;margin:0!important;border-radius:14px 14px 0 0!important;padding:12px 14px!important;max-height:42vh;overflow:auto}
 .cookieadmin_law_container .cookieadmin_notice_con,.cookieadmin_law_container p{font-size:12.5px!important;line-height:1.4!important;margin:0 0 8px!important}
 .cookieadmin_law_container h2,.cookieadmin_law_container .cookieadmin_header{font-size:14px!important;margin:0 0 4px!important}
 .cookieadmin_law_container .cookieadmin_consent_btns{display:flex!important;flex-direction:row!important;gap:6px!important;flex-wrap:nowrap!important}
 .cookieadmin_law_container .cookieadmin_btn{flex:1 1 0!important;width:auto!important;min-height:38px!important;padding:6px 4px!important;font-size:12.5px!important;margin:0!important}
 .cookieadmin_law_container .cookieadmin-poweredby{display:none!important}
}
@media (min-width:601px){
 .cookieadmin_law_container{left:0!important;right:0!important;bottom:0!important;width:auto!important;max-width:none!important;margin:0!important;border-radius:0!important;padding:10px 24px!important}
 .cookieadmin_law_container .cookieadmin_consent_inside{display:flex!important;align-items:center!important;gap:20px!important;max-width:1160px;margin:0 auto!important}
 .cookieadmin_law_container .cookieadmin_notice_con{flex:1 1 auto!important}
 .cookieadmin_law_container .cookieadmin_notice_con,.cookieadmin_law_container p{font-size:13px!important;line-height:1.45!important;margin:0!important}
 .cookieadmin_law_container h2,.cookieadmin_law_container .cookieadmin_header{font-size:14px!important;margin:0 0 2px!important}
 .cookieadmin_law_container .cookieadmin_consent_btns{display:flex!important;gap:8px!important;flex:none!important;margin:0!important}
 .cookieadmin_law_container .cookieadmin_btn{width:auto!important;margin:0!important;padding:8px 14px!important}
 .cookieadmin_law_container .cookieadmin-poweredby{display:none!important}
}
/* Crush pen: high-contrast status badges and big touch targets (app) */
.hb{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap;line-height:1.3}
.hb .ico{width:14px;height:14px}
.hb-r{background:#b42318;color:#fff}.hb-y{background:#f2c94c;color:#3a2a00}.hb-g{background:#1f7a46;color:#fff}
.rec-form .chk{min-height:52px;padding:10px 14px}.rec-form .chk input{width:26px;height:26px}
.rec-form .chip{min-height:44px;padding:8px 14px;font-size:14px}
.rec-form input,.rec-form select,.rec-form textarea{min-height:48px;font-size:16px}
.rec-find{flex-wrap:wrap;gap:8px;margin-bottom:8px}.rec-find input{flex:1 1 180px;margin:0}
.tap48{min-height:48px}
.in-act{display:flex;gap:6px;align-items:stretch;margin-top:4px}.in-act input,.in-act textarea{flex:1;margin:0;min-width:0}
.ia{flex:none;width:48px;min-height:48px;border:1px solid var(--bd);background:#fff;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:var(--g)}
.ia .ico{width:22px;height:22px}.ia.on{background:#b42318;color:#fff;border-color:#b42318}
.rec-save{margin-top:14px}
@media (max-width:640px){.rec-save{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:5;background:linear-gradient(transparent,var(--bg) 30%);padding-top:14px}.rec-save .btn{min-height:56px;font-size:17px}}
.scanbox{position:relative;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:4/3;margin-bottom:10px}
.scanbox video,.scanbox #scanlib{width:100%;height:100%;object-fit:cover;display:block}
.scanframe{position:absolute;inset:22% 12%;border:3px solid rgba(255,255,255,.85);border-radius:12px;pointer-events:none}
.agent-stats .card{text-align:center}
