:root{
  --ink:#181918; --ink-2:#55554f; --muted:#6b6a63;
  --terra:#cc4015; --terra-dark:#a8340f; --terra-soft:#fbeee8;
  --ok:#1f7a45; --ok-soft:#e6f4ec; --warn:#b3261e;
  --line:#e3e1d6; --bg:#f7f6f0; --card:#ffffff;
  --r:14px;
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.5;}
.wrap{max-width:720px;margin:0 auto;padding:24px 16px 64px;}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;}
.top img{display:block;width:180px;height:auto;}
.tag{font-size:13px;color:var(--muted);text-align:right;}
h1{font-size:26px;line-height:1.2;margin:0 0 6px;}
h2{font-size:19px;margin:0 0 12px;}
p{margin:0 0 12px;}
.sub{color:var(--muted);margin:0 0 24px;}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin:0 0 16px;}
.sig-box{background:#fff;border:1px dashed #cfcdc2;border-radius:10px;padding:20px;overflow-x:auto;}
.step{display:flex;gap:14px;align-items:flex-start;}
.num{flex:0 0 34px;height:34px;border-radius:50%;background:var(--terra);color:#fff;font-weight:bold;display:flex;align-items:center;justify-content:center;font-size:17px;}
.step-body{flex:1;min-width:0;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;cursor:pointer;font:inherit;font-weight:bold;
  padding:14px 22px;min-height:52px;text-decoration:none;background:var(--terra);color:#fff;}
.btn:hover{background:var(--terra-dark);}
.btn:focus-visible,.chip:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f0a37f;outline-offset:2px;}
.btn.big{width:100%;font-size:19px;min-height:60px;}
.btn.done{background:var(--ok);}
.btn.light{background:#fff;color:var(--ink);border:1.5px solid var(--line);}
.btn.light:hover{background:#f3f2ec;}
.btn.small{padding:9px 14px;min-height:42px;font-size:15px;}
.row{display:flex;flex-wrap:wrap;gap:10px;}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;}
.chip{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:10px 16px;font:inherit;font-size:15px;cursor:pointer;min-height:44px;}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:bold;}
ol.how{margin:0;padding-left:22px;} ol.how li{margin:0 0 8px;}
.key{display:inline-block;border:1px solid #c9c7bc;border-bottom-width:2px;border-radius:6px;padding:0 6px;background:#fafaf6;font-size:15px;white-space:nowrap;}
.hint{font-size:15px;color:var(--muted);}
.alert{background:var(--terra-soft);border-radius:10px;padding:14px 16px;}
.okbox{background:var(--ok-soft);border-radius:10px;padding:14px 16px;}
footer{margin-top:28px;font-size:14px;color:var(--muted);text-align:center;}
@media (max-width:520px){
  body{font-size:16px;}
  h1{font-size:23px;}
  .top img{width:150px;}
  .card{padding:16px;}
  .sig-box{padding:14px;}
  .row .btn{flex:1 1 100%;}
}
