.app-intro { max-width: 40em; }
.flow-head { margin: clamp(40px, 6vw, 72px) 0 24px; }
.flow-head h2 { margin-bottom: 8px; }
.flow-head p { color: var(--ink-2); max-width: 40em; }
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.screen { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 170px; }
.screen figcaption { font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.screen figcaption strong { display: block; color: var(--ink); margin-bottom: 4px; }
.screen figcaption code { font-size: .8125rem; }
.phone { width: 300px; min-height: 620px; margin-inline: auto; background: #101820; border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px -32px rgba(28,43,58,.6), inset 0 0 0 2px #2b3644; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #101820; border-radius: 14px; z-index: 3; }
.ui { background: #F4F8F7; border-radius: 34px; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; font-family: var(--font); font-size: 13px; line-height: 1.35; color: var(--ink); }
.ui.dark { background: #0F1A20; color: #fff; }
.status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 12px; font-weight: 600; }
.ui.dark .status { color: #fff; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 8px; font-weight: 700; font-size: 15px; }
.topbar .ico { width: 22px; height: 22px; color: var(--ink-2); }
.ui.dark .topbar .ico { color: #fff; }
.topbar .ghost { width: 22px; }
.body { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.body h1 { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 2px; }
.body h2 { font-size: 16px; margin: 6px 0 0; }
.sub { color: var(--ink-3); font-size: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.card.tint { background: var(--mint-pale); border-color: transparent; }
.card.warn { background: #FFF4CF; border-color: transparent; }
.card.danger { background: #FDEDE9; border-color: transparent; color: #9A3A28; }
.big-btn { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.big-btn.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.big-btn .ico { width: 26px; height: 26px; flex: none; }
.big-btn strong { display: block; font-size: 15px; }
.big-btn span { font-size: 12px; opacity: .8; }
.btn-app { display: block; text-align: center; background: var(--teal); color: #fff; font-weight: 700; padding: 13px; border-radius: 14px; font-size: 15px; margin-top: auto; }
.btn-app.outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); margin-top: 0; }
.btn-app.quiet { background: #fff; color: var(--teal-ink); border: 1.5px solid var(--line); margin-top: 0; }
.field { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 15px; }
.field small { display: block; color: var(--ink-3); font-size: 11px; }
.field.focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,163,143,.15); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; }
.item .n { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.item .p { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.item .m { grid-column: 1 / -1; font-size: 11px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.item.on { border-color: var(--teal); background: var(--mint-pale); }
.item.flag { border-color: var(--yellow); background: #FFF9E6; }
.item.claimed { background: #FFF4CF; border-color: transparent; }
.tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-grid; place-items: center; color: #fff; font-size: 12px; }
.item.on .tick { background: var(--teal); border-color: var(--teal); }
.conf { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--mint-pale); color: var(--teal-ink); }
.conf.low { background: #FFF4CF; color: #6B4E00; }
.av { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; }
.av.a { background: #2F6FED; } .av.m { background: #D9822B; } .av.j { background: #5b6ee1; } .av.t { background: var(--navy); } .av.y { background: var(--teal); }
.avs { display: flex; gap: 12px; justify-content: space-around; padding: 4px 0; }
.avs div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; }
.avs .av { width: 40px; height: 40px; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px 1px 2px; font-size: 11px; font-weight: 600; }
.chip .av { width: 16px; height: 16px; font-size: 8px; }
.totals { display: flex; flex-direction: column; gap: 4px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }
.totals .diff { color: #9A3A28; font-weight: 700; }
.cam { flex: 1; min-height: 300px; background: #1c2630; margin: 0 -16px; position: relative; display: grid; place-items: center; }
.cam .paper { background: #FFFDF7; color: #1C2B3A; width: 200px; padding: 14px 12px; font-family: var(--mono); font-size: 9.5px; line-height: 1.5; box-shadow: 0 20px 40px rgba(0,0,0,.4); transform: rotate(-2deg); }
.cam .paper div { display: flex; justify-content: space-between; }
.cam .paper .c { text-align: center; display: block; }
.cam .corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--teal); }
.cam .tl { top: 24px; left: 26px; border-right: 0; border-bottom: 0; }
.cam .tr { top: 24px; right: 26px; border-left: 0; border-bottom: 0; }
.cam .bl { bottom: 24px; left: 26px; border-right: 0; border-top: 0; }
.cam .br { bottom: 24px; right: 26px; border-left: 0; border-top: 0; }
.shutter { display: flex; justify-content: space-around; align-items: center; padding: 10px 0 4px; }
.shutter .btn-ring { width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; }
.shutter .btn-ring i { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.shutter .small { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.shutter .ico { width: 20px; height: 20px; color: #fff; }
.qr { background: #fff; border-radius: 16px; padding: 14px; display: grid; place-items: center; gap: 8px; }
.qr img { width: 160px; height: 160px; }
.qr code { background: none; font-size: 12px; color: var(--ink-2); }
.seg { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.seg span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.seg span.on { background: var(--navy); color: #fff; }
.opt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.opt .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.opt.on { border-color: var(--teal); }
.opt.on .radio { border: 5px solid var(--teal); }
.opt strong { display: block; font-size: 13px; }
.opt span { font-size: 11px; color: var(--ink-3); }
.transfer { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.transfer .arrow { color: var(--ink-3); }
.transfer .amt { font-weight: 800; font-variant-numeric: tabular-nums; }
.balance { background: var(--navy); color: #fff; border-radius: 16px; padding: 14px; }
.balance strong { display: block; font-size: 24px; letter-spacing: -.02em; }
.balance span { color: var(--mint); font-size: 12px; }
.bar { height: 6px; border-radius: 999px; background: var(--mint-pale); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--teal); }
.home-bar { height: 5px; width: 120px; border-radius: 999px; background: rgba(28,43,58,.35); margin: 6px auto 8px; flex: none; }
.ui.dark .home-bar { background: rgba(255,255,255,.5); }
.pill { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--mint-pale); color: var(--teal-ink); }
.pill.paid { background: var(--mint-pale); }
.pill.y { background: #FFF4CF; color: #6B4E00; }
.log { font-size: 11px; color: var(--ink-3); display: flex; flex-direction: column; gap: 3px; }
.link { color: var(--teal-ink); font-weight: 600; font-size: 12px; }
@media (max-width: 560px) { .screens { grid-template-columns: 1fr; } }
