:root{
  --ink:#0B0F14;--ink-2:#151A21;--line-dark:#2A313B;--paper:#F3F4F6;--white:#FFFFFF;--line:#E2E5EA;
  --muted:#4B5563;--muted-2:#6B7280;--soft:#C9CED6;--accent:#FF5A1F;--accent-ink:#C2410C;--accent-soft:#FFB08F;
  --green:#0F766E;--blue:#1D4ED8;
  --display:'Archivo',sans-serif;--body:'IBM Plex Sans',sans-serif;--mono:'IBM Plex Mono',monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5}
a{color:inherit}
img{max-width:100%}
.wrap{max-width:1200px;margin:0 auto}
.mono{font-family:var(--mono)}
.eyebrow{font-family:var(--mono);font-size:13px;letter-spacing:.08em;color:var(--accent-ink);text-transform:uppercase}
.dark .eyebrow{color:#FF8A5C}
h1,h2,h3{font-family:var(--display);letter-spacing:-.02em;margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--display);font-weight:800;font-size:16px;border:0;border-radius:8px;padding:14px 22px;min-height:48px;cursor:pointer;text-decoration:none;transition:transform .08s ease,opacity .15s}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.6;cursor:wait}
.btn-accent{background:var(--accent);color:var(--ink)}
.btn-ink{background:var(--ink);color:var(--paper)}
.btn-outline{background:var(--white);color:var(--ink);border:1.5px solid var(--ink)}
.btn-ghost{background:transparent;color:var(--soft);border:1px solid var(--line-dark)}
.hidden{display:none !important}

/* nav */
.dark{background:var(--ink);color:var(--paper)}
.nav{padding:0 20px}
.nav .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:16px 0}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:800;font-size:20px;text-decoration:none;color:var(--paper)}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-size:15px}
.nav-links a.plain{color:var(--soft);text-decoration:none}
.nav-links a.plain:hover{color:var(--white)}
.credit-pill{font-family:var(--mono);font-size:13px;color:var(--soft);border:1px solid var(--line-dark);padding:8px 12px;border-radius:999px}
.nav .btn{min-height:44px;padding:10px 16px;font-size:15px}

/* hero */
.hero{padding:56px 20px 88px}
.hero .wrap{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.hero-copy{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:22px}
.hero h1{font-weight:900;font-size:clamp(36px,5.2vw,60px);line-height:1.03;letter-spacing:-.025em}
.hero p.lead{margin:0;font-size:19px;color:var(--soft);max-width:580px}
.chips{display:flex;flex-wrap:wrap;gap:10px;font-family:var(--mono);font-size:13px;color:#9AA3AF}
.chips span{border:1px solid var(--line-dark);padding:8px 12px;border-radius:999px}
.scanbox{flex:1 1 400px;min-width:0;background:var(--ink-2);border:1px solid var(--line-dark);border-radius:14px;padding:26px;display:flex;flex-direction:column;gap:16px}
.drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:2px dashed #3A4250;border-radius:10px;padding:36px 18px;text-align:center;cursor:pointer;position:relative;min-height:200px}
.drop.drag{border-color:var(--accent);background:#1B2028}
.drop strong{font-family:var(--display);font-weight:700;font-size:20px;color:var(--paper)}
.drop small{font-size:14px;color:#9AA3AF}
.drop img.preview{max-height:160px;border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;color:#9AA3AF}
.input{font-family:var(--body);font-size:16px;padding:13px 14px;border-radius:8px;border:1px solid #3A4250;background:var(--ink);color:var(--paper);width:100%}
.light .input{background:var(--white);color:var(--ink);border-color:#D1D5DB}
.micro{text-align:center;font-family:var(--mono);font-size:13px;color:#9AA3AF}
.err{color:#FCA5A5;font-size:14px;min-height:1px}
.light .err{color:#B91C1C}

/* sections */
section{padding-left:20px;padding-right:20px}
.pain{margin-top:-40px}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px}
.card h3{font-weight:800;font-size:21px;line-height:1.2}
.card p{margin:0;font-size:15px;color:var(--muted)}
.feature{display:flex;flex-wrap:wrap;gap:44px;align-items:center}
.feature.rev{flex-wrap:wrap-reverse}
.feature>div{flex:1 1 430px;min-width:0}
.feature .copy{display:flex;flex-direction:column;gap:16px}
.feature h2{font-weight:900;font-size:clamp(30px,3.6vw,44px);line-height:1.06}
.feature p{margin:0;font-size:17px;color:#374151}
.punch{font-family:var(--display);font-weight:800;font-size:21px}
table{width:100%;border-collapse:collapse}
.tbl-wrap{overflow-x:auto}
.tbl th{text-align:left;color:var(--muted-2);font-size:12px;font-family:var(--mono);font-weight:500;letter-spacing:.04em;padding:10px 8px;border-bottom:1px solid var(--line)}
.tbl td{padding:13px 8px;border-bottom:1px solid #EEF0F3;font-size:14px;vertical-align:middle}
.risk-row{display:flex;gap:14px;align-items:flex-start;padding:14px;border-radius:10px;font-size:15px}
.tag{flex:none;font-family:var(--mono);font-size:12px;font-weight:600;color:#fff;padding:6px 10px;border-radius:6px}
.r-low{background:#ECFDF5;color:#064E3B}.r-low .tag{background:#065F46}
.r-review{background:#FFFBEB;color:#78350F}.r-review .tag{background:#92400E}
.r-high{background:#FEF2F2;color:#7F1D1D}.r-high .tag{background:#991B1B}
.r-muted{background:#F3F4F6;color:#374151}.r-muted .tag{background:#4B5563}

/* pricing */
.center{text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}
.center h2{font-weight:900;font-size:clamp(32px,4vw,48px);line-height:1.05}
.center p{margin:0;font-size:18px;color:var(--muted);max-width:620px}
.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;align-items:stretch}
.plan{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:24px 20px;display:flex;flex-direction:column;gap:13px;margin-top:36px}
.plan .head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.plan .name{font-family:var(--display);font-weight:800;font-size:20px}
.badge{font-family:var(--mono);font-size:11px;background:var(--paper);color:#374151;padding:5px 8px;border-radius:5px}
.plan .tagline{font-size:14px;color:var(--muted);min-height:42px}
.plan .price{font-family:var(--display);font-weight:900;font-size:38px;line-height:1}
.plan .per{font-family:var(--mono);font-size:13px;color:var(--muted)}
.plan ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px;font-size:14px;flex-grow:1}
.plan li.no{color:#9CA3AF;text-decoration:line-through}
.plan.pro{background:var(--ink);color:var(--paper);border:3px solid var(--accent);border-radius:14px;padding:0;overflow:hidden;box-shadow:0 24px 48px rgba(11,15,20,.22);margin-top:0}
.plan.pro .ribbon{background:var(--accent);color:var(--ink);padding:10px 14px;text-align:center;font-family:var(--display);font-weight:900;font-size:14px;letter-spacing:.03em}
.plan.pro .inner{padding:22px 20px 24px;display:flex;flex-direction:column;gap:13px;flex-grow:1}
.plan.pro .tagline{color:var(--soft)}
.plan.pro .per{color:var(--accent-soft)}
.plan.pro .badge{background:#26303C;color:var(--accent-soft)}
.plan.pro .why{font-size:13px;line-height:1.45;color:var(--soft);background:var(--ink-2);border-radius:8px;padding:12px}
.decoy{max-width:1000px;margin:0 auto;background:var(--white);border:2px solid var(--ink);border-radius:16px;padding:40px;display:flex;flex-wrap:wrap;gap:36px}
.decoy>div{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:14px}
.math{display:flex;justify-content:space-between;gap:12px;padding:15px;border-radius:10px;font-size:15px}

/* results */
#results{padding-top:40px;padding-bottom:20px}
.res-head{display:flex;flex-wrap:wrap;gap:18px;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px}
.res-thumb{width:96px;height:96px;flex:none;border-radius:10px;background:#E5E7EB;object-fit:cover}
.res-title{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:6px}
.res-title h2{font-weight:900;font-size:28px;line-height:1.1}
.res-ip{flex:0 1 340px;min-width:0}
.picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px}
.pick{background:var(--white);border:2px solid var(--line);border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:11px}
.pick .label{display:flex;align-items:center;gap:9px;font-family:var(--display);font-weight:900;font-size:15px;letter-spacing:.04em}
.pick .big{font-family:var(--display);font-weight:900;font-size:38px;line-height:1}
.pick .big small{font-size:16px;font-weight:600;color:var(--muted-2)}
.pick .who{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.pick ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:5px;font-size:14px;color:#374151}
.pick .note{font-size:13px;padding:10px;border-radius:8px}
.pick .btn{margin-top:auto}
.p-cheap{border-color:var(--green)}.p-cheap .label{color:var(--green)}.p-cheap .note{background:#ECFDF5;color:#065F46}
.p-fast{border-color:var(--blue)}.p-fast .label{color:var(--blue)}.p-fast .note{background:#EFF6FF;color:#1E3A8A}
.p-qual{border-color:var(--accent-ink)}.p-qual .label{color:var(--accent-ink)}.p-qual .note{background:#FFF7ED;color:#9A3412}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{font-family:var(--body);font-size:14px;font-weight:600;padding:10px 16px;min-height:44px;border-radius:999px;cursor:pointer;background:var(--white);color:var(--ink);border:1.5px solid #D1D5DB}
.pill[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.banner{border-radius:12px;padding:14px 18px;font-size:15px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.banner.trial{background:#EFF6FF;color:#1E3A8A}
.banner.lock{background:#FFF7ED;color:#7C2D12}
.src{font-family:var(--mono);font-size:12px;padding:4px 8px;border-radius:5px;background:var(--paper)}

/* modal */
.modal-bg{position:fixed;inset:0;background:rgba(11,15,20,.6);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}
.modal{background:var(--white);border-radius:16px;padding:28px;width:100%;max-width:420px;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 32px);overflow:auto}
.modal h2{font-weight:900;font-size:28px;line-height:1.1}
.modal p{margin:0;color:var(--muted)}
.modal .switch{font-size:14px;color:var(--muted);text-align:center}
.modal .switch button{background:none;border:0;color:var(--accent-ink);font-weight:600;cursor:pointer;font-size:14px;text-decoration:underline;padding:4px}
.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:14px 18px;border-radius:10px;font-size:15px;z-index:60;max-width:calc(100% - 32px)}
.spinner{width:18px;height:18px;border:2.5px solid rgba(11,15,20,.25);border-top-color:var(--ink);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

footer{padding:24px 20px;color:#9AA3AF;font-size:13px;border-top:1px solid #1F2630}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
footer a{color:#C9CED6}

.legal{max-width:760px;margin:0 auto;padding:48px 20px 80px}
.legal h1{font-size:40px;margin-bottom:8px}
.legal h2{font-size:22px;margin-top:28px}
.legal p,.legal li{color:#374151}

@media (max-width:560px){
  .scanbox,.decoy{padding:20px}
  .hero{padding-top:36px}
}

/* ===================== v2: shared bits ===================== */
.muted{color:var(--muted-2)}
.fine{font-size:12px;color:var(--muted-2);line-height:1.55}
.ico{display:inline-flex;align-items:center;justify-content:center;flex:none}
.ico svg{display:block}
.btn.wide{width:100%}
.nav{position:sticky;top:0;z-index:40}
.nav .logo svg{flex:none}
.credit-pill{text-decoration:none}
.credit-pill:hover{color:#fff;border-color:#3A4250}
.me-chip{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--paper);padding:5px 12px 5px 5px;border:1px solid var(--line-dark);border-radius:999px;min-height:44px}
.me-chip:hover{border-color:#3A4250}
.me-name{font-weight:600;font-size:14px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-family:var(--display);font-weight:800;flex:none}
.avatar.sm{width:32px;height:32px;font-size:13px}
.avatar.lg{width:64px;height:64px;font-size:24px;box-shadow:0 0 0 3px rgba(255,255,255,.12)}
@media (max-width:560px){.me-name{display:none}.me-chip{padding:5px}}

/* modal additions */
.modal label{font-size:13px;color:var(--muted)}
.modal-wide{max-width:540px}
.modal .eyebrow{margin-bottom:-6px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px !important;color:#374151 !important;line-height:1.45;cursor:pointer}
.check input{width:20px;height:20px;margin:1px 0 0;flex:none;accent-color:var(--accent-ink)}
.check a{color:var(--accent-ink);font-weight:600}
.country-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px;max-height:min(46vh,420px);overflow:auto;padding:2px}
.country-opt{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:46px;border:1px solid var(--line);border-radius:10px;background:var(--white);cursor:pointer;text-align:left;font-family:var(--body);font-size:14px;color:var(--ink)}
.country-opt:hover{border-color:var(--ink)}
.country-opt.on{border-color:var(--accent-ink);background:#FFF7ED}
.country-opt .cc,.country-chip .cc{font-family:var(--mono);font-size:12px;font-weight:600;background:var(--ink);color:var(--paper);border-radius:5px;padding:4px 6px;flex:none}
.country-opt .cn{flex:1;min-width:0}
.country-opt .ccur{font-family:var(--mono);font-size:11px;color:var(--muted-2)}

/* country chip in the scan box */
.country-chip{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--ink);border:1px solid #3A4250;border-radius:10px;padding:10px 14px;min-height:56px;cursor:pointer;color:var(--paper);font-family:var(--body)}
.country-chip:hover{border-color:var(--accent)}
.country-chip .cc{background:var(--accent);color:var(--ink)}
.country-chip .cc-text{flex:1;display:flex;flex-direction:column;min-width:0}
.country-chip small{font-size:12px;color:#9AA3AF}
.country-chip strong{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.country-chip .cc-change{font-size:13px;color:#FF8A5C;font-weight:600}
.country-chip.light{width:auto;background:var(--white);color:var(--ink);border-color:var(--line)}
.country-chip.light:hover{border-color:var(--ink)}
.country-chip.light small{color:var(--muted-2)}

/* ===================== scan page ===================== */
.scan-page{background:var(--paper)}
#scan-root{min-height:calc(100vh - 140px)}
.loading{padding:48px 20px 80px}
.load-card{max-width:1040px;margin:0 auto;background:var(--white);border:1px solid var(--line);border-radius:20px;padding:36px;display:flex;flex-wrap:wrap;gap:40px;align-items:center;box-shadow:0 30px 60px -30px rgba(11,15,20,.25)}
.load-visual{flex:1 1 320px;display:flex;justify-content:center}
.scan-frame{position:relative;width:min(100%,360px);aspect-ratio:1/1;border-radius:16px;background:var(--paper);overflow:hidden}
.scan-frame img{width:100%;height:100%;object-fit:contain;display:block}
.scan-line{position:absolute;left:0;right:0;height:90px;top:-90px;background:linear-gradient(180deg,rgba(255,90,31,0) 0%,rgba(255,90,31,.18) 70%,rgba(255,90,31,.9) 100%);animation:sweep 2.2s cubic-bezier(.45,0,.55,1) infinite}
@keyframes sweep{0%{top:-90px}100%{top:100%}}
.corner{position:absolute;width:26px;height:26px;border:3px solid var(--accent)}
.corner.tl{top:10px;left:10px;border-right:0;border-bottom:0;border-radius:8px 0 0 0}
.corner.tr{top:10px;right:10px;border-left:0;border-bottom:0;border-radius:0 8px 0 0}
.corner.bl{bottom:10px;left:10px;border-right:0;border-top:0;border-radius:0 0 0 8px}
.corner.br{bottom:10px;right:10px;border-left:0;border-top:0;border-radius:0 0 8px 0}
.load-info{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.load-info h1{font-weight:900;font-size:clamp(28px,3.4vw,40px);line-height:1.05}
.load-sub{margin:0;color:var(--muted)}
.progress{height:8px;background:#EEF0F3;border-radius:99px;overflow:hidden}
.progress>div{height:100%;width:5%;background:var(--accent);border-radius:99px;transition:width .5s ease}
.steps{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.steps li{display:flex;align-items:center;gap:12px;font-size:15px;color:#9CA3AF;transition:color .3s}
.steps .dot{width:24px;height:24px;border-radius:50%;border:2px solid #D1D5DB;display:inline-flex;align-items:center;justify-content:center;color:transparent;flex:none;transition:all .3s}
.steps li.active{color:var(--ink);font-weight:600}
.steps li.active .dot{border-color:var(--accent);border-top-color:transparent;animation:spin .9s linear infinite}
.steps li.done{color:#374151}
.steps li.done .dot{background:var(--green);border-color:var(--green);color:#fff}
.load-tip{margin:4px 0 0;font-size:14px;color:var(--muted);background:var(--paper);border-radius:10px;padding:12px 14px;min-height:44px}
.load-tip::before{content:'Tip  ';font-family:var(--mono);font-size:11px;color:var(--accent-ink);letter-spacing:.06em}

.msg-wrap{padding:64px 20px 96px}
.msg-card{max-width:560px;margin:0 auto;background:var(--white);border:1px solid var(--line);border-radius:20px;padding:40px 32px;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}
.msg-card h1{font-weight:900;font-size:30px;line-height:1.1}
.msg-card p{margin:0;color:var(--muted);max-width:440px}
.msg-icon{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#FEF2F2;color:#B91C1C}
.msg-icon.user{background:#EFF6FF;color:var(--blue)}
.msg-icon.lock{background:#FFF7ED;color:var(--accent-ink)}
.msg-icon .ico svg,.msg-icon svg{width:34px;height:34px}
.msg-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:6px}

/* results */
.results{max-width:1240px;margin:0 auto;padding:28px 20px 72px;display:flex;flex-direction:column;gap:24px}
.res-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.back{font-weight:600;text-decoration:none;color:var(--ink);padding:10px 4px;min-height:44px;display:inline-flex;align-items:center}
.back:hover{color:var(--accent-ink)}
.res-hero{display:flex;flex-wrap:wrap;gap:22px;align-items:center;background:var(--ink);color:var(--paper);border-radius:20px;padding:22px}
.res-hero .eyebrow{color:#FF8A5C}
.res-title{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:8px}
.res-title h1{font-weight:900;font-size:clamp(30px,3.6vw,44px);line-height:1}
.jump{display:flex;flex-wrap:wrap;gap:8px}
.jump a{display:inline-flex;align-items:center;gap:8px;color:var(--paper);text-decoration:none;font-size:14px;border:1px solid var(--line-dark);border-radius:999px;padding:8px 14px;min-height:40px}
.jump a:hover{border-color:#FF8A5C}
.res-ip{flex:0 1 380px;min-width:0}
.res-ip .risk-row{flex-direction:column;gap:8px;background:#151A21;color:var(--soft)}
.res-ip .risk-row>div{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.risk-k{font-family:var(--mono);font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:#9AA3AF}
.risk-t{font-size:14px;line-height:1.45}
.res-ip .r-low .tag{background:#059669}.res-ip .r-review .tag{background:#B45309}.res-ip .r-high .tag{background:#DC2626}
.thumb{background:var(--paper);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#9CA3AF;flex:none}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb.lg{width:112px;height:112px;background:#fff}
.thumb.lg img{object-fit:contain}
.thumb.sm{width:64px;height:64px}
.picks-h{font-weight:800;font-size:24px;margin-bottom:-8px}
.pick{gap:12px}
.pick .label{text-transform:uppercase}
.pick-row{display:flex;align-items:center;gap:14px}
.pick-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:#374151}
.pick .who{font-size:15px;font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

.res-sec{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:18px}
.sec-direct{border-top:5px solid var(--blue)}
.sec-factory{border-top:5px solid var(--accent)}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:flex-start}
.sec-title{display:flex;gap:14px;align-items:flex-start;flex:1 1 460px;min-width:0}
.sec-title h2{font-weight:900;font-size:clamp(24px,2.6vw,30px);line-height:1.1}
.sec-title p{margin:6px 0 0;color:var(--muted);max-width:640px}
.sec-ico{width:48px;height:48px;border-radius:12px}
.sec-ico.direct{background:#EFF6FF;color:var(--blue)}
.sec-ico.factory{background:#FFF7ED;color:var(--accent-ink)}
.sec-stats{display:flex;gap:8px;flex-wrap:wrap}
.stat{font-size:13px;color:var(--muted);background:var(--paper);border-radius:10px;padding:8px 12px}
.stat strong{font-family:var(--display);font-size:18px;color:var(--ink);margin-right:2px}
.sec-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.how li{background:#FFF7ED;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px;font-size:14px;color:#7C2D12}
.how strong{font-family:var(--display);font-size:15px;color:var(--ink)}
.banner .ico{vertical-align:middle;display:inline-flex}
.grid-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.pc{border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;background:#fff;transition:box-shadow .15s,transform .15s}
.pc:hover{box-shadow:0 14px 30px -18px rgba(11,15,20,.35);transform:translateY(-2px)}
.pc .thumb{width:100%;aspect-ratio:1/1;border-radius:0;height:auto}
.pc .thumb .ph svg{width:40px;height:40px}
.pc-body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}
.pc-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.src{font-family:var(--mono);font-size:11px;font-weight:600;padding:4px 8px;border-radius:5px;background:var(--paper);color:#374151}
.src-aliexpress{background:#FEE2E2;color:#991B1B}
.src-1688{background:#FFEDD5;color:#9A3412}
.src-taobao{background:#FEF3C7;color:#92400E}
.match{font-size:12px;color:var(--green);font-weight:600}
.pc-title{font-family:var(--body);font-weight:500;font-size:14px;line-height:1.35;letter-spacing:0;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:38px}
.pc-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pc-price strong{font-family:var(--display);font-weight:900;font-size:24px}
.pc-price small{font-size:12px;color:var(--muted-2)}
.pc-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;color:var(--muted)}
.rating{display:inline-flex;align-items:center;gap:4px;color:#B45309;font-weight:600}
.pc-ship{display:flex;align-items:center;gap:7px;font-size:13px;color:#374151}
.pc-ship .ico svg{width:16px;height:16px}
.pc-shop{font-size:12px;color:var(--muted-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-btn{margin-top:auto;min-height:44px;font-size:14px}
.empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:var(--muted);padding:28px;background:var(--paper);border-radius:12px}
.empty p{margin:0;max-width:440px}

/* ===================== profile ===================== */
.profile-wrap{max-width:1160px;margin:0 auto;padding:36px 20px 80px}
.profile{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.profile-left{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:16px}
.member-card{position:relative;background:var(--ink);color:var(--paper);border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:26px;overflow:hidden;aspect-ratio:1.6/1;min-height:240px;justify-content:space-between;box-shadow:0 30px 60px -28px rgba(11,15,20,.6)}
.member-card::after{content:'';position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:28px solid rgba(255,90,31,.14)}
.member-card[data-plan="pro"],.member-card[data-plan="vip-bulk"]{background:#1A1206}
.member-card[data-plan="pro"]::after,.member-card[data-plan="vip-bulk"]::after{border-color:rgba(250,204,21,.18)}
.mc-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}
.mc-brand{font-family:var(--display);font-weight:800;font-size:16px}
.mc-plan{font-family:var(--mono);font-size:12px;font-weight:600;background:var(--accent);color:var(--ink);padding:5px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.06em}
.mc-id{display:flex;gap:16px;align-items:center;position:relative;z-index:1}
.mc-name{font-family:var(--display);font-weight:900;font-size:clamp(22px,2.6vw,28px);line-height:1.1;overflow-wrap:anywhere}
.mc-niche{font-size:14px;color:var(--soft);margin-top:4px}
.mc-foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative;z-index:1}
.mc-foot small{display:block;font-family:var(--mono);font-size:11px;color:#9AA3AF;text-transform:uppercase;letter-spacing:.06em}
.mc-foot strong{font-family:var(--mono);font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.stats3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.stat-box{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:2px}
.stat-box strong{font-family:var(--display);font-weight:900;font-size:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stat-box span{font-size:13px;color:var(--muted)}
.purchases h2{font-size:20px;font-weight:800}
.plist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.plist li{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #EEF0F3;font-size:14px}
.profile-form{flex:1 1 440px;min-width:0;gap:16px;padding:28px}
.profile-form h1{font-weight:900;font-size:32px}
.profile-form label,.profile-form legend{font-size:13px;color:var(--muted);font-weight:500}
.profile-form .input{background:#fff;color:var(--ink);border-color:#D1D5DB}
.profile-form .input:disabled{background:var(--paper);color:var(--muted)}
.profile-form .err{color:#B91C1C}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
fieldset.colors{border:0;padding:0;margin:0}
.swatches{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.swatch{width:40px;height:40px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}
.swatch[aria-pressed="true"]{box-shadow:0 0 0 3px var(--ink)}
.form-actions{display:flex;flex-wrap:wrap;gap:10px}
select.input{appearance:auto}
.callout{background:#FFF7ED;border:1px solid #FED7AA;border-radius:12px;padding:16px 18px;color:#7C2D12;line-height:1.55}
.legal h2{margin-top:30px}
.legal li{margin-bottom:6px}

/* ===================== scanner workspace (logged-in) ===================== */
.workspace{background:var(--paper)}
.ws{max-width:1240px;margin:0 auto;padding:22px 20px 56px;display:flex;flex-direction:column;gap:18px}
.ws-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.ws-head h1{font-weight:900;font-size:clamp(24px,2.6vw,32px);line-height:1.1}
.ws-head p{margin:4px 0 0}
.ws-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:stretch}
.ws-drop{background:var(--white);border:2.5px dashed #C7CCD4;border-radius:20px;min-height:0;height:clamp(300px,calc(100vh - 250px),620px);padding:24px;transition:border-color .15s,background .15s}
.ws-drop:hover,.ws-drop.drag{border-color:var(--accent);background:#FFFAF7}
.ws-drop strong{color:var(--ink);font-size:24px}
.ws-drop small{color:var(--muted-2);font-size:15px}
.ws-drop img.preview{max-height:calc(100% - 90px);max-width:100%;object-fit:contain;border-radius:12px}
.ws-side{background:var(--ink);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:14px}
.ws-side .field label{color:#9AA3AF}
.ws-go{font-size:19px;min-height:60px}
.ws-last{display:flex;gap:12px;align-items:center;margin-top:auto;padding:10px;border:1px solid var(--line-dark);border-radius:12px;text-decoration:none;color:var(--paper);min-height:44px}
.ws-last:hover{border-color:#3A4250}
.ws-last img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#fff;flex:none}
.ws-last small{display:block;font-size:12px;color:#9AA3AF}
.ws-last strong{font-size:14px;font-weight:600}
.topup{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:14px}
.topup-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}
.topup-head h2{font-weight:800;font-size:22px}
.topup-head .muted{font-size:13px}
.topup-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.tp{position:relative;display:flex;flex-direction:column;gap:2px;align-items:flex-start;text-align:left;background:var(--white);border:1.5px solid var(--line);border-radius:12px;padding:14px;cursor:pointer;font-family:var(--body);color:var(--ink);min-height:44px}
.tp:hover{border-color:var(--ink)}
.tp strong{font-family:var(--display);font-weight:800;font-size:17px}
.tp span{font-family:var(--display);font-weight:900;font-size:22px}
.tp small{font-size:12px;color:var(--muted-2)}
.tp-best{border-color:var(--accent);background:#FFF7ED}
.tp-best em{position:absolute;top:-10px;right:10px;font-style:normal;font-family:var(--mono);font-size:11px;font-weight:600;background:var(--accent);color:var(--ink);padding:3px 8px;border-radius:999px}
@media (max-width:860px){
  .ws-grid{grid-template-columns:1fr}
  .ws-drop{height:clamp(220px,34vh,320px)}
  .ws-side{padding:16px}
  .ws-head .btn{display:none}
}
.ws-grid>*{min-width:0}
.ws-drop{width:100%}
.match.weak{color:var(--muted-2);font-weight:500}
.pc-price .from{font-size:12px;color:var(--muted-2);margin-right:-4px}
.odd{font-size:12px;line-height:1.4;color:#92400E;background:#FFFBEB;border-radius:8px;padding:7px 9px}
.linkish{background:none;border:0;padding:6px 0;color:var(--accent-ink);font-weight:600;font-size:14px;cursor:pointer;text-decoration:underline;align-self:flex-start;font-family:var(--body);min-height:32px}
.linkish:disabled{color:var(--muted-2);cursor:default;text-decoration:none}
.code-input{font-family:var(--mono);font-size:30px;letter-spacing:10px;text-align:center;padding:14px}
.social-wrap{display:flex;flex-direction:column;gap:10px}
.or{display:flex;align-items:center;gap:12px;color:var(--muted-2);font-size:13px}
.or::before,.or::after{content:'';flex:1;height:1px;background:var(--line)}
.btn.social{width:100%;font-family:var(--body);font-weight:600;font-size:15px;min-height:48px;border-radius:8px}
.btn.social:disabled{opacity:.45;cursor:not-allowed}
.social-google{background:#fff;color:#1F1F1F;border:1.5px solid #747775}
.social-facebook{background:#1877F2;color:#fff}
.social-apple{background:#000;color:#fff}
.social-hint{margin:0 !important;font-size:12px;color:var(--muted-2) !important;line-height:1.45}
.social-hint a{color:var(--accent-ink)}
.agree-note{margin:0 !important;font-size:12.5px;color:var(--muted) !important;line-height:1.5;text-align:center}
.agree-note a{color:var(--accent-ink);font-weight:600}

/* ===================== v3 ===================== */
/* sign-up box: terms note and "already have an account" kept apart */
.agree-note{font-size:12px !important;color:var(--muted-2) !important;line-height:1.55;max-width:330px;align-self:center;margin-top:2px !important}
.agree-note a{color:var(--muted);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.agree-note a:hover{color:var(--accent-ink)}
.modal .switch{border-top:1px solid var(--line);padding-top:14px;margin-top:4px;color:var(--ink);font-size:15px}
.modal .switch button{font-size:15px}

/* scans pill in the top bar */
button.credit-pill{background:transparent;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:40px}
.credit-pill .plus{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:var(--ink);font-family:var(--display);font-weight:900;font-size:14px;line-height:1}
.credit-pill.is-out{border-color:var(--accent);color:#FFB08F}

/* scan packs pop-up */
.packs-bg{background:rgba(11,15,20,.72);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:pkFade .22s ease both;align-items:flex-start;overflow:auto;padding:24px 16px}
.packs-bg.leaving{animation:pkFadeOut .18s ease both}
.packs-bg.leaving .packs{animation:pkDown .18s ease both}
.modal.packs{position:relative;max-width:1180px;max-height:none;overflow:visible;margin:auto;padding:34px 30px 24px;gap:24px;border-radius:22px;animation:pkUp .42s cubic-bezier(.2,.9,.25,1.15) both;box-shadow:0 40px 90px -30px rgba(0,0,0,.6)}
.pk-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:0;background:var(--paper);color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center}
.pk-close:hover{background:var(--line)}
.pk-top{display:flex;flex-direction:column;gap:10px;text-align:center;align-items:center;padding:0 40px}
.pk-top h2{font-size:clamp(28px,3.4vw,40px)}
.pk-top p{max-width:620px}
.pk-now{font-size:14px;background:var(--paper);border-radius:999px;padding:7px 14px;color:var(--muted)}
.pk-now strong{color:var(--ink)}
.pk-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.pk{position:relative;display:flex;flex-direction:column;gap:10px;border:1.5px solid var(--line);border-radius:16px;padding:20px 16px 16px;background:var(--white);animation:pkCard .45s cubic-bezier(.2,.9,.25,1.1) both;transition:border-color .15s,transform .15s,box-shadow .15s}
.pk:hover{border-color:var(--ink);transform:translateY(-3px);box-shadow:0 18px 30px -22px rgba(11,15,20,.5)}
.pk-best{background:var(--ink);color:var(--paper);border-color:var(--ink);transform:scale(1.035);box-shadow:0 26px 50px -24px rgba(255,90,31,.7);z-index:1}
.pk-best:hover{transform:scale(1.035) translateY(-3px);border-color:var(--accent)}
.pk-ribbon{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--accent);color:var(--ink);font-family:var(--mono);font-weight:600;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:999px;white-space:nowrap}
.pk-head{display:flex;justify-content:space-between;align-items:center;gap:6px}
.pk-name{font-family:var(--display);font-weight:800;font-size:19px}
.pk-save{font-family:var(--mono);font-size:11px;font-weight:600;background:#DCFCE7;color:#166534;padding:3px 7px;border-radius:999px;white-space:nowrap}
.pk-best .pk-save{background:rgba(255,90,31,.2);color:#FFB08F}
.modal .pk-tag{font-size:13px;line-height:1.4;min-height:36px;color:var(--muted-2)}
.modal .pk-best .pk-tag{color:var(--soft)}
.pk-price{font-family:var(--display);font-weight:900;font-size:38px;line-height:1;letter-spacing:-.02em}
.pk-price .cur{font-size:20px;vertical-align:top;margin-right:2px;position:relative;top:4px}
.pk-per{font-size:13px;color:var(--muted-2)}
.pk-per strong{color:var(--ink)}
.pk-best .pk-per{color:var(--soft)}
.pk-best .pk-per strong{color:#fff}
.pk-list{list-style:none;margin:4px 0 0;padding:12px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;font-size:13.5px;line-height:1.35;flex:1}
.pk-best .pk-list{border-color:var(--line-dark)}
.pk-list li{display:flex;gap:8px;align-items:flex-start}
.pk-list .ico{margin-top:1px;color:var(--muted-2)}
.pk-list .ico.ok{color:var(--green)}
.pk-best .pk-list .ico.ok{color:var(--accent)}
.pk-list li.off{color:#9AA3AF}
.pk-best .pk-list li.off{color:#6B7280}
.modal .pk-why{font-size:12.5px;line-height:1.45;color:#FFB08F;background:rgba(255,90,31,.1);border-radius:8px;padding:8px 10px}
.pk-btn{width:100%;font-size:15px;padding:12px 10px}
.pk-best .pk-btn{box-shadow:0 10px 24px -10px rgba(255,90,31,.8)}
.pk-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;font-size:13px;color:var(--muted-2)}
.pk-foot span{display:inline-flex;align-items:center;gap:6px}
@keyframes pkFade{from{opacity:0}to{opacity:1}}
@keyframes pkFadeOut{to{opacity:0}}
@keyframes pkUp{from{opacity:0;transform:translateY(60px) scale(.96)}to{opacity:1;transform:none}}
@keyframes pkDown{to{opacity:0;transform:translateY(30px) scale(.98)}}
@keyframes pkCard{from{opacity:0;transform:translateY(22px)}to{opacity:1}}
.pk-best{animation-name:pkCardBest}
@keyframes pkCardBest{from{opacity:0;transform:translateY(22px) scale(1.035)}to{opacity:1;transform:scale(1.035)}}
@media (max-width:1080px){.pk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pk-best{order:-1}}
@media (max-width:700px){
  .pk-grid{grid-template-columns:1fr;gap:14px}
  .modal.packs{padding:26px 16px 18px}
  .pk-top{padding:0 34px}
  .pk-best,.pk-best:hover{transform:none}
  @keyframes pkCardBest{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  .modal .pk-tag{min-height:0}
}
@media (prefers-reduced-motion:reduce){.packs-bg,.modal.packs,.pk{animation:none !important}}

/* scanner: tips under the scan box */
.tips{display:flex;flex-direction:column;gap:14px;margin-top:6px}
.tips-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px}
.tips-head h2{font-weight:900;font-size:22px}
.tips-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tip{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;gap:14px;align-items:flex-start}
.tip-ico{width:42px;height:42px;border-radius:12px;background:#FFF1EA;color:var(--accent-ink);display:flex;align-items:center;justify-content:center;flex:none}
.tip h3{font-size:16px;font-weight:800;margin-bottom:3px;letter-spacing:-.01em}
.tip p{margin:0;font-size:14px;color:var(--muted);line-height:1.5}
.tip kbd{font-family:var(--mono);font-size:12px;background:var(--paper);border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:1px 5px}
@media (max-width:900px){.tips-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.tips-grid{grid-template-columns:1fr}}

/* profile v3 */
.profile-right{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:16px}
.mc-foot.one{grid-template-columns:1fr}
.p-card{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:14px}
.p-card h2{font-size:20px;font-weight:800}
.p-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.p-head .btn{min-height:44px;padding:10px 16px;font-size:15px}
.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:0}
.details div{min-width:0}
.details dt{font-size:12px;color:var(--muted-2);font-family:var(--mono);text-transform:uppercase;letter-spacing:.05em}
.details dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
.details dd.none{color:#9AA3AF;font-weight:400}
.perks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.perks li{display:flex;gap:10px;align-items:center;font-size:15px}
.perks .ico{width:26px;height:26px;border-radius:50%;background:#DCFCE7;color:#166534}
.perks li.off{color:var(--muted-2)}
.perks li.off .ico{background:var(--paper);color:#9AA3AF}
.perks .up{margin-left:auto;font-size:13px}
.acct-row{display:flex;flex-wrap:wrap;gap:10px}
.acct-row .btn{min-height:44px;padding:10px 16px;font-size:15px}
.modal .swatches{margin-top:4px}
@media (max-width:480px){.details{grid-template-columns:1fr}}

.tips{padding:0}
@media (max-width:700px){.pk-now{border-radius:12px}}

/* scan results: honest "checked" count + more similar listings */
.checked-line{margin:6px 0 0;color:var(--muted-2);font-size:14px}
.more-list{margin-top:14px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.more-list summary{cursor:pointer;padding:14px 16px;font-weight:600;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-height:44px;list-style:none}
.more-list summary::-webkit-details-marker{display:none}
.more-list summary::before{content:'+';font-family:var(--display);font-weight:900;color:var(--accent-ink);width:14px}
.more-list[open] summary::before{content:'\2212'}
.more-list summary small{font-weight:400;color:var(--muted-2);font-size:13px}
.more-list ul{list-style:none;margin:0;padding:0 16px 8px}
.more-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #EEF0F3;font-size:14px}
.more-list .mt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.more-list .mp{font-family:var(--display);white-space:nowrap}
.more-list a{color:var(--accent-ink);font-weight:600;text-decoration:underline;min-height:32px;display:inline-flex;align-items:center}
@media (max-width:560px){.more-list li{grid-template-columns:auto minmax(0,1fr) auto}.more-list li .src{display:none}}
.thumb.matched{position:relative}
.thumb.matched::after{content:'Closest photo';position:absolute;left:8px;bottom:8px;font-family:var(--mono);font-size:11px;background:rgba(11,15,20,.78);color:#fff;padding:3px 7px;border-radius:999px}
.thumb.sm.matched::after{display:none}
