:root{
  --wgtz-green:#008000; --wgtz-green-d:#0b2b12; --wgtz-orange:#FFA500;
  --wgtz-ink:#1f2733; --wgtz-muted:#6b7280; --wgtz-line:#e6e9ee;
  --wgtz-soft:#f6faf6; --wgtz-bg:#ffffff;
}
*,*::before,*::after{box-sizing:border-box}
body.wgtz{margin:0;background:var(--wgtz-bg);color:var(--wgtz-ink);line-height:1.6;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"PingFang SC","Microsoft YaHei",sans-serif}
body.wgtz a:not(.wgtz-btn){color:var(--wgtz-green);text-decoration:none}
body.wgtz a:not(.wgtz-btn):hover{text-decoration:underline}
body.wgtz img{max-width:100%}

/* ---------- nav ---------- */
.wgtz-nav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--wgtz-line)}
.wgtz-nav-inner{max-width:1080px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:16px}
.wgtz-brand{display:flex;align-items:center;gap:9px;font-weight:800;color:var(--wgtz-ink);font-size:16px;white-space:nowrap}
.wgtz-brand:hover{text-decoration:none}
.wgtz-brand img{height:28px;width:auto;display:block}
.wgtz-brand b{color:var(--wgtz-green)}
.wgtz-nav-links{display:flex;gap:18px;margin-left:auto;font-size:14px}
.wgtz-nav-links a{color:#4b5563;font-weight:500}
.wgtz-nav-links a:hover,.wgtz-nav-links a.active{color:var(--wgtz-green);text-decoration:none}
.wgtz-nav-links a.active{font-weight:700}
.wgtz-nav-auth{display:flex;align-items:center;gap:14px;margin-left:6px}
.wgtz-signin{font-size:14px;color:#4b5563;font-weight:500}
.wgtz-signin:hover{color:var(--wgtz-green);text-decoration:none}

/* ---------- buttons ---------- */
.wgtz-btn{display:inline-block;border-radius:8px;padding:10px 18px;font-weight:700;font-size:14px;
  border:none;cursor:pointer;text-align:center;line-height:1.2;transition:.15s}
.wgtz-btn:hover{text-decoration:none;filter:brightness(1.05)}
.wgtz-btn-green{background:var(--wgtz-green);color:#fff}
.wgtz-btn-orange{background:var(--wgtz-orange);color:#fff}
.wgtz-btn-ghost{background:#fff;color:var(--wgtz-green);border:1.5px solid var(--wgtz-green)}
.wgtz-btn-sm{padding:7px 14px;font-size:13px}

/* ---------- hero ---------- */
.wgtz-hero{background:linear-gradient(180deg,#f3faf4,#fff);text-align:center;padding:58px 20px 40px}
.wgtz-hero h1{font-size:40px;line-height:1.2;margin:0 0 14px;font-weight:800;color:var(--wgtz-green-d);letter-spacing:-.5px}
.wgtz-hero h1 span{color:var(--wgtz-green)}
.wgtz-hero .wgtz-sub{font-size:17px;color:var(--wgtz-muted);margin:0 auto 26px;max-width:560px}
.wgtz-search{max-width:560px;margin:0 auto;display:flex;gap:8px;background:#fff;
  border:1.5px solid var(--wgtz-green);border-radius:12px;padding:8px;box-shadow:0 8px 24px rgba(0,80,20,.08)}
.wgtz-search input{flex:1;border:none;outline:none;padding:10px 12px;font-size:15px;background:transparent}
.wgtz-secondary{margin-top:16px;font-size:15px;color:var(--wgtz-muted)}
.wgtz-secondary .wgtz-orange{color:var(--wgtz-orange);font-weight:700}

/* ---------- tiles ---------- */
.wgtz-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1080px;margin:36px auto 8px;padding:0 20px}
.wgtz-tile{border:1px solid #e2efe4;background:var(--wgtz-soft);border-radius:12px;padding:20px;display:block;transition:.15s}
.wgtz-tile:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,80,20,.08);border-color:#bfe0c6;text-decoration:none}
.wgtz-tile .ico{font-size:22px;line-height:1}
.wgtz-tile h3{margin:9px 0 4px;font-size:15px;color:var(--wgtz-ink)}
.wgtz-tile p{margin:0;font-size:13px;color:#8a9aa0}
.wgtz-tile.cta{background:#fff8ec;border-color:#ffe3b3}
.wgtz-tile.cta h3{color:#b06a00}
.wgtz-tile.cta p{color:#c99}

/* ---------- generic page ---------- */
.wgtz-page{max-width:820px;margin:0 auto;padding:46px 20px 68px}
.wgtz-page h1{font-size:30px;font-weight:800;color:var(--wgtz-green-d);margin:0 0 8px;letter-spacing:-.3px}
.wgtz-page .lead{font-size:16px;color:var(--wgtz-muted);margin:0 0 28px}
.wgtz-page h2{font-size:20px;margin:32px 0 10px;color:var(--wgtz-green-d)}
.wgtz-page h3{font-size:16px;margin:20px 0 6px}
.wgtz-page p,.wgtz-page li{font-size:15px;color:#33404f}
.wgtz-steps{counter-reset:s;list-style:none;padding:0;margin:18px 0}
.wgtz-steps li{position:relative;padding:14px 0 14px 46px;border-bottom:1px solid var(--wgtz-line)}
.wgtz-steps li:last-child{border-bottom:none}
.wgtz-steps li::before{counter-increment:s;content:counter(s);position:absolute;left:0;top:14px;
  width:28px;height:28px;border-radius:50%;background:var(--wgtz-green);color:#fff;font-weight:700;
  display:flex;align-items:center;justify-content:center;font-size:14px}
.wgtz-card{border:1px solid var(--wgtz-line);border-radius:12px;padding:20px;background:#fff;margin:14px 0}
.wgtz-case{border-left:4px solid var(--wgtz-green);background:var(--wgtz-soft);border-radius:0 10px 10px 0;padding:16px 18px;margin:14px 0}
.wgtz-badge{display:inline-block;font-size:12px;font-weight:700;padding:2px 10px;border-radius:20px;margin-left:8px;vertical-align:middle}
.wgtz-badge.ok{background:#e7f6ec;color:#1d7a4f}
.wgtz-badge.prog{background:#fff4e0;color:#a8720a}
.wgtz-form{display:grid;gap:12px;max-width:480px;margin-top:8px}
.wgtz-form label{font-size:13px;font-weight:600;color:#3b4757;display:block;margin-bottom:4px}
.wgtz-form input,.wgtz-form textarea,.wgtz-form select{width:100%;border:1px solid #d8dde4;border-radius:8px;
  padding:11px 12px;font-size:14px;font-family:inherit;outline:none}
.wgtz-form input:focus,.wgtz-form textarea:focus,.wgtz-form select:focus{border-color:var(--wgtz-green);box-shadow:0 0 0 3px rgba(0,128,0,.1)}
.wgtz-msg{font-size:13px;color:var(--wgtz-muted);min-height:18px}
.wgtz-msg.ok{color:#1d7a4f}
.wgtz-msg.err{color:#c0392b}
.wgtz-cta{background:var(--wgtz-green-d);color:#e8f5ea;border-radius:12px;padding:24px;margin-top:30px}
.wgtz-cta h2,.wgtz-cta h3{color:#fff;margin-top:0}
.wgtz-cta a:not(.wgtz-btn){color:#ffd47f;font-weight:700}

/* ---------- footer ---------- */
.wgtz-foot{border-top:1px solid var(--wgtz-line);margin-top:44px;padding:24px 20px;font-size:13px;color:#8a92a0}
.wgtz-foot-inner{max-width:1080px;margin:0 auto;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* ---------- responsive ---------- */
@media(max-width:860px){
  .wgtz-hero h1{font-size:30px}
  .wgtz-tiles{grid-template-columns:1fr 1fr}
  .wgtz-nav-links{display:none}
}
@media(max-width:560px){
  .wgtz-tiles{grid-template-columns:1fr}
  .wgtz-search{flex-direction:column}
  .wgtz-nav-auth .wgtz-signin{display:none}
}

/* ---------- home: CTA panel (blends with the card system) ---------- */
.wgtz-ctaband{width:min(1080px,calc(100% - 40px));margin:clamp(8px,1.6vh,16px) auto 0;background:linear-gradient(180deg,#f3faf4,#fff);border:1px solid #e2efe4;border-left:4px solid var(--wgtz-green);border-radius:12px}
.wgtz-ctaband-inner{padding:clamp(9px,1.5vh,15px) 22px;display:flex;align-items:center;gap:18px;justify-content:space-between;flex-wrap:wrap}
.wgtz-ctaband h3{margin:0;color:var(--wgtz-green-d);font-size:clamp(13.5px,1.7vh,17px)}
.wgtz-ctaband p{margin:2px 0 0;color:var(--wgtz-muted);font-size:clamp(11.5px,1.4vh,13.5px);max-width:620px}
.wgtz-ctaband .wgtz-btn{background:var(--wgtz-green);color:#fff;white-space:nowrap}

/* ---------- home: one-screen adaptive layout (scales with viewport height, no clipping) ---------- */
body.wgtz-home{min-height:100vh;display:flex;flex-direction:column}
body.wgtz-home .wgtz-nav{flex:0 0 auto}
body.wgtz-home .wgtz-nav-inner{padding:7px 20px}
body.wgtz-home .wgtz-home-main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:center}
body.wgtz-home .wgtz-hero{flex:0 0 auto;padding:clamp(10px,2.5vh,24px) 20px clamp(6px,1.5vh,12px)}
body.wgtz-home .wgtz-hero h1{font-size:clamp(22px,3.6vh,36px);margin-bottom:clamp(4px,1vh,10px)}
body.wgtz-home .wgtz-hero .wgtz-sub{font-size:clamp(12.5px,1.7vh,16px);margin-bottom:clamp(8px,1.8vh,18px)}
body.wgtz-home .wgtz-search{padding:clamp(4px,0.8vh,8px)}
body.wgtz-home .wgtz-tiles{flex:0 0 auto;margin:clamp(8px,1.6vh,16px) auto 0;gap:clamp(6px,1.2vh,12px)}
body.wgtz-home .wgtz-tile{padding:clamp(9px,1.5vh,15px) 15px}
body.wgtz-home .wgtz-tile .ico{font-size:clamp(14px,1.8vh,20px)}
body.wgtz-home .wgtz-tile h3{margin:5px 0 2px;font-size:clamp(12px,1.5vh,14.5px)}
body.wgtz-home .wgtz-tile p{font-size:clamp(11px,1.35vh,13px)}
body.wgtz-home .wgtz-foot{flex:0 0 auto;margin-top:clamp(8px,1.6vh,16px);padding:clamp(8px,1.3vh,12px) 20px}
@media(max-width:860px){
  body.wgtz-home .wgtz-tiles{grid-template-columns:1fr 1fr}
}
