.hero { background: var(--brand); color: #fff; border-bottom: 4px solid var(--accent); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 56px 0; }
.hero__copy h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 16ch; }
.hero__copy p { color: #BCD7D2; font-size: 1.05rem; max-width: 48ch; }
.hero .tag { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(0,237,133,.5); color: var(--accent-bright); padding: .3rem .8rem; border-radius: 3px; font-weight: 600; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.1rem; }
.hero .tag svg { width: 15px; height: 15px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; }
.hero__points span { display: inline-flex; align-items: center; gap: .4rem; color: #DCEEE9; font-size: .9rem; font-weight: 600; }
.hero__points svg { width: 16px; height: 16px; color: var(--accent-bright); }
.hero__panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.hero__panel-row { display: flex; gap: 12px; }
.dotline { height: 12px; flex: 1; background: rgba(255,255,255,.1); border-radius: 3px; }
.dotline.w40 { flex: .4; } .dotline.w60 { flex: .6; } .dotline.w80 { flex: .8; }
.hero__qr { background: #fff; border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 32px; }
.hero__qr svg { width: 60%; height: 60%; color: var(--brand); }
.hero__qr img { width: 78%; height: auto; object-fit: contain; }
@media (max-width: 820px) { .hero__inner { grid-template-columns: 1fr; padding: 40px 0; } .hero__panel { display: none; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 { font-size: 1.5rem; margin: .25rem 0 0; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(8,18,17,.5); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; z-index: 70; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer { position: absolute; top: 0; right: 0; height: 100%; width: 100%; max-width: 520px; background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow); }
.drawer-overlay.open .drawer { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 2px 0 0; font-size: 1.15rem; }
.drawer__body { padding: 22px; overflow-y: auto; flex: 1; position: relative; }
.drawer__actions { display: flex; gap: .6rem; margin-top: 18px; }
.drawer__actions .btn { flex: 1; }
.drawer__actions.stacked { flex-direction: column; }
.drawer__loader { position: absolute; inset: 0; background: rgba(255,255,255,.78); display: grid; place-items: center; z-index: 5; }

.spinner { width: 38px; height: 38px; border: 3px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 3px; gap: 3px; }
.seg__opt { display: inline-flex; align-items: center; padding: .45rem 1rem; border-radius: 2px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--muted); transition: background .12s, color .12s; }
.seg__opt input { display: none; }
.seg__opt.is-on { background: var(--brand); color: #fff; }

.legal { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; }
.legal-title { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; margin-bottom: .5rem; }
.legal-title svg { width: 16px; height: 16px; color: var(--brand-600); }
.legal p { font-size: .82rem; color: var(--muted); margin: 0 0 .6rem; line-height: 1.5; }
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.legal li { display: flex; gap: .4rem; align-items: flex-start; font-size: .8rem; line-height: 1.4; }
.legal li svg { width: 15px; height: 15px; color: var(--success); flex: none; margin-top: 2px; }
.sig-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-weight: 700; font-size: .92rem; }
.sig-head > span { display: flex; align-items: center; gap: .4rem; }
.sig-head svg { width: 17px; height: 17px; color: var(--brand-600); }
.sig-canvas-wrap { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; height: 200px; overflow: hidden; touch-action: none; }
#sigPad { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sig-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-2); font-size: 1rem; pointer-events: none; }

.pop-in { animation: pop .45s cubic-bezier(.2,.9,.3,1.4) both; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #04231A; display: grid; place-items: center; margin: 8px auto 14px; animation: pop .4s cubic-bezier(.2,.9,.3,1.4) both; }
.success-mark svg { width: 36px; height: 36px; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.success-qr { display: grid; place-items: center; margin: 18px 0; }
.success-qr img { width: 230px; height: 230px; border: 1px solid var(--line); }

@media (max-width: 560px) { .drawer { max-width: 100%; } }
