:root{
  --bg:#f6f9fc;
  --panel:#ffffff;
  --text:#172033;
  --muted:#65758b;
  --border:#e4eaf2;
  --green:#2bb673;
  --green-dark:#14925a;
  --blue:#2563eb;
  --dark:#111827;
  --shadow:0 12px 35px rgba(15,23,42,.08);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#f7fbff 0%,#f4f7fb 100%);
  line-height:1.6;
}
a{color:#0f766e;text-decoration:none}
a:hover{text-decoration:underline}
.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:20;
}
.header-inner{
  max-width:1180px;
  margin:0 auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.logo-wrap{display:flex;align-items:center;gap:12px}
.logo-wrap img{height:58px;width:auto;display:block}
.free-badge{
  background:#e9fbf2;
  color:#108451;
  border:1px solid #c9f2dd;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.nav{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  justify-content:flex-end;
}
.nav a{font-size:14px;color:#344054;font-weight:700}
.hero{
  max-width:1180px;
  margin:0 auto;
  padding:34px 22px 12px;
  text-align:center;
}
.hero h1{
  font-size:clamp(32px,5vw,56px);
  line-height:1.06;
  margin:18px 0 12px;
  color:#101828;
  letter-spacing:-1.4px;
}
.hero p{
  max-width:780px;
  margin:0 auto;
  font-size:18px;
  color:var(--muted);
}
.app-shell{
  max-width:1180px;
  margin:18px auto 34px;
  padding:0 22px;
}
.app-grid{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
  gap:24px;
  align-items:start;
}
.panel,.card,article,.notice{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow);
}
.panel{padding:24px}
.panel-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 20px;
  font-size:24px;
}
.panel-title .icon{
  width:36px;height:36px;border-radius:11px;
  background:#e9fbf2;
  display:grid;place-items:center;
}
.form-grid{display:grid;gap:17px}
label{font-weight:800;display:block;margin-bottom:7px;color:#263247}
select,input,textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #d7dee9;
  border-radius:12px;
  font-size:16px;
  background:#fff;
}
.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.size-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.size-row button{
  border:1px solid #d7dee9;
  background:#fff;
  padding:11px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
}
.size-row button.active{background:#e9fbf2;border-color:#31bd78;color:#0d7a49}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.btn{
  display:inline-block;
  border:0;
  padding:14px 18px;
  border-radius:14px;
  font-weight:900;
  color:#fff;
  background:var(--green);
  cursor:pointer;
  text-align:center;
}
.btn.secondary{background:#eef2f7;color:#263247}
.btn:hover{text-decoration:none;background:var(--green-dark)}
.btn.secondary:hover{background:#e2e8f0}
.preview{
  text-align:center;
  padding:28px;
}
.qr-box{
  width:280px;
  height:280px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  margin:18px auto;
  display:grid;
  place-items:center;
}
.qr-box img,.qr-box canvas{max-width:238px;max-height:238px}
.placeholder-qr{
  width:220px;height:220px;
  background:
    linear-gradient(90deg,#111 10px,transparent 10px) 0 0/22px 22px,
    linear-gradient(#111 10px,transparent 10px) 0 0/22px 22px;
  opacity:.12;
  border-radius:8px;
}
.small{font-size:14px;color:var(--muted)}
.content-section{
  max-width:1180px;
  margin:0 auto 34px;
  padding:0 22px;
}
.content-section h2{font-size:30px;margin:0 0 16px;color:#111827}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(245px,1fr));
  gap:18px;
}
.card{padding:22px}
.card h3{margin:0 0 8px}
.article-layout{
  max-width:1180px;
  margin:0 auto;
  padding:30px 22px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 285px;
  gap:24px;
}
article{padding:30px}
article h1{font-size:clamp(30px,4vw,46px);line-height:1.08;margin-top:0;color:#101828}
article h2{margin-top:34px;color:#101828}
.sidebar{position:sticky;top:100px;align-self:start}
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:18px}
.faq-item{border-bottom:1px solid var(--border);padding:15px 0}
.faq-item h3{margin:0 0 7px}
.notice{padding:20px;margin-top:28px;background:#f8fffb}
.footer{
  margin-top:38px;
  background:#101828;
  color:#d0d5dd;
  padding:34px 22px;
}
.footer a{color:#a7f3d0}
.footer-grid{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
}
.footer h3{color:#fff}
@media(max-width:860px){
  .header-inner{align-items:flex-start;flex-direction:column}
  .app-grid,.article-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .row,.actions{grid-template-columns:1fr}
  .size-row{grid-template-columns:repeat(2,1fr)}
}