/* Home Plan Vault — shared theme (single source of truth for all pages) */
:root{--olive:#68723a;--olive-dark:#4f592a;--olive-light:#eef0e4;--ink:#171914;--muted:#666a60;--cream:#f7f6f0;--white:#fff;--border:#dedfd6;--danger:#a51c30;--shadow:0 16px 45px rgba(23,25,20,.10);--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--white);line-height:1.5}
a{color:inherit;text-decoration:none}
img{max-width:100%}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--olive);outline-offset:2px}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

/* Header */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(222,223,214,.9)}
.nav{height:78px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:11px;font-weight:850;letter-spacing:-.04em;font-size:22px;margin-right:auto}
.brand-logo{display:block;height:62px;width:auto;flex-shrink:0}
.navlinks{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:650}
.navlinks a{transition:.2s;color:#30332c}
.navlinks a:hover,.navlinks a.active{color:var(--olive)}
.cart{display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:#fff;padding:11px 16px;border-radius:999px;font-weight:750;font-size:14px;transition:.2s}
.cart:hover,.cart.active{background:var(--olive)}
.cart-count{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--olive);display:grid;place-items:center;font-size:11px}
.cart:hover .cart-count,.cart.active .cart-count{background:var(--ink)}
.menu{display:none;background:none;border:0;font-size:25px;cursor:pointer;color:var(--ink)}
.mobile{display:none;border-top:1px solid #eee;background:#fff}
.mobile .container{padding:15px 0 18px;display:grid;gap:12px;font-weight:700}
.mobile a.active{color:var(--olive)}
.mobile.show{display:block}

/* Hero */
.hero{background:linear-gradient(135deg,var(--olive-dark),var(--olive));color:#fff;padding:64px 0;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-190px;top:-190px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}
.hero .container{position:relative;z-index:2}
.crumb{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;opacity:.75;margin-bottom:13px}
.hero h1{font-size:clamp(38px,6vw,60px);line-height:1;letter-spacing:-.055em;margin:0 0 15px}
.hero p{max-width:700px;color:rgba(255,255,255,.82);font-size:17px;margin:0}
.hero-actions{margin-top:25px;display:flex;gap:10px;flex-wrap:wrap}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 19px;border-radius:10px;font:inherit;font-weight:800;line-height:1.2;border:1px solid transparent;transition:.2s;cursor:pointer}
.btn:hover{transform:translateY(-2px)}
.btn:disabled{opacity:.6;cursor:default;transform:none}
.btn-white{background:#fff;color:var(--ink)}
.btn-outline{border-color:rgba(255,255,255,.45);color:#fff}.btn-outline:hover{background:rgba(255,255,255,.1)}
.btn-dark{background:var(--ink);color:#fff}
.btn-olive{background:var(--olive);color:#fff}.btn-olive:hover{background:var(--olive-dark)}
.btn-ghost{background:var(--olive-light);color:var(--olive-dark)}

/* Layout helpers */
main.page{padding:45px 0 75px}
.section{padding:72px 0}.section.alt{background:var(--cream)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.section-head h2{font-size:34px;line-height:1.1;letter-spacing:-.04em;margin:0}
.section-head p{color:var(--muted);max-width:600px;margin:8px 0 0}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 28px rgba(23,25,20,.05)}
.pad{padding:28px}
.notice{padding:16px 18px;background:var(--olive-light);border:1px solid #dce1c9;border-radius:12px;color:var(--olive-dark)}
.notice.error{background:#fdecec;border-color:#f3c5c5;color:#8a1c1c}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cards .card{transition:.25s;overflow:hidden}
.cards .card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.about-box{background:var(--olive-light);border-radius:22px;padding:38px}
.about-box strong{font-size:54px;display:block;color:var(--olive);letter-spacing:-.06em;line-height:1.1}
.about-box span{color:var(--olive-dark)}
.about-copy h2{font-size:38px;letter-spacing:-.04em;line-height:1.1;margin:0 0 15px}
.about-copy p{color:var(--muted);font-size:16px}
.cta{background:var(--olive);color:#fff;text-align:center;padding:72px 20px}
.cta h2{font-size:40px;letter-spacing:-.045em;margin:0 0 12px}
.cta p{color:rgba(255,255,255,.8);margin:0 auto 25px;max-width:600px}

/* Footer */
.footer .brand-logo{height:68px;background:#fff;padding:5px;border-radius:10px}
.footer{background:var(--ink);color:#fff;padding:44px 0 25px}
.footer-top{display:flex;justify-content:space-between;gap:35px}
.footer-brand p{color:#aeb1a7;max-width:390px;font-size:14px}
.footer-links{display:flex;gap:28px;flex-wrap:wrap;align-content:start}
.footer-links a{font-size:13px;color:#d8d9d3}.footer-links a:hover{color:#fff}
.copyright{border-top:1px solid #30332d;margin-top:32px;padding-top:19px;color:#8f9289;font-size:12px;display:flex;justify-content:space-between;gap:20px}

/* Responsive */
@media(max-width:900px){.brand-logo{height:48px}.navlinks{display:none}.menu{display:block}.nav{height:68px}.about-grid{grid-template-columns:1fr;gap:35px}.cards{grid-template-columns:1fr}.footer-top{flex-direction:column}.section{padding:56px 0}}
@media(max-width:650px){.container{width:min(100% - 28px,1180px)}.hero{padding:48px 0}.section-head{align-items:start;flex-direction:column}.copyright{flex-direction:column}.brand{font-size:19px}.cart{padding:9px 12px}.hero-actions .btn{width:100%}}

/* Click-to-zoom image viewer (zoom.js) */
img[data-zoom]{cursor:zoom-in}
.zoom-hint{font-size:12px;color:var(--muted);margin-top:8px;text-align:center}
.lightbox{position:fixed;inset:0;z-index:200;display:none;flex-direction:column;background:rgba(23,25,20,.985)}
.lightbox.open{display:flex}
.lb-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;color:#fff}
.lb-title{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}
.lb-tools button{min-width:38px;height:38px;padding:0 12px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-weight:800;font-size:16px;cursor:pointer}
.lb-tools button:hover{background:var(--olive)}
.lb-level{min-width:52px;text-align:center;font-size:13px;font-weight:700;color:#d8d9d3}
.lb-stage{flex:1;min-height:0;overflow:hidden;touch-action:none;position:relative}
.lb-stage img{position:absolute;inset:0;margin:auto;width:auto;height:auto;max-width:96%;max-height:96%;object-fit:contain;transform-origin:center;background:#fff;border-radius:6px;user-select:none;-webkit-user-drag:none;will-change:transform;cursor:zoom-in}
.lb-stage.pan img{cursor:grab}.lb-stage.dragging img{cursor:grabbing}
.lb-help{text-align:center;color:#aeb1a7;font-size:12px;padding:8px 12px 12px}
@media(max-width:650px){.lb-tools button[data-a="reset"]{display:none}.lb-help{display:none}}

/* Compare (compare.js) */
.cmp-check{width:18px;height:18px;accent-color:var(--olive);cursor:pointer}
[data-compare-toggle].on{background:var(--olive);color:#fff;border-color:var(--olive)}
.compare-tray{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);width:min(780px,calc(100% - 24px));z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--ink);color:#fff;border-radius:16px;padding:12px 14px;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.ct-items{display:flex;align-items:center;gap:6px 8px;flex-wrap:wrap;min-width:0;flex:1 1 320px}
.ct-label{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--olive-light);opacity:.85}
.ct-chip{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border-radius:999px;padding:5px 5px 5px 12px;font-size:13px;font-weight:700}
.ct-chip button{border:0;background:rgba(255,255,255,.18);color:#fff;width:22px;height:22px;border-radius:50%;cursor:pointer;line-height:1;font-size:15px}
.ct-chip button:hover{background:var(--olive)}
.ct-note{font-size:12px;color:#d8d9d3;flex-basis:100%}
.ct-actions{display:flex;gap:8px;flex-shrink:0}
.btn-tray{padding:9px 14px;font-size:13px}
body.has-tray{padding-bottom:96px}
@media(max-width:650px){.compare-tray{bottom:10px}.ct-actions{width:100%}.ct-actions .btn{flex:1}body.has-tray{padding-bottom:150px}}
