/* Buyfo secondary pages (2026 clean design) — on top of core.css:
   sale radar, coupons, compare, track, alerts, account, extension, info pages. */
.pg { padding-top: 28px; padding-bottom: 36px; }
.pg-narrow { max-width: 760px; }
.pg-xs { max-width: 460px; }
.pg-head { margin-bottom: 22px; }
.pg-head.center { text-align: center; }
.pg-head h1 { margin: 0; font-size: clamp(25px, 4vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.pg-head h1 em { font-style: normal; color: var(--c-brand); }
.pg-head p { margin: 8px 0 0; color: var(--c-muted); font-size: 15.5px; max-width: 680px; }
.pg-head.center p { margin-left: auto; margin-right: auto; }
.crumb2 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; color: var(--c-faint); margin-bottom: 14px; }
.crumb2 a { color: var(--c-muted); text-decoration: none; }

.box { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 22px; }
.box + .box { margin-top: 16px; }
@media (max-width: 520px) { .box { padding: 18px 16px; } }
.box h2 { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.box.center { text-align: center; }
.box.center .ico { color: var(--c-brand); }

.note { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.note .ico { margin-top: 1px; }
.note.good { background: var(--c-brand-soft); color: var(--c-brand-2); }
.note.bad { background: color-mix(in srgb, var(--c-red) 12%, var(--c-surface)); color: var(--c-red); }
.note.info { background: var(--c-soft); color: var(--c-muted); }

/* text pages */
.prose { font-size: 15.5px; line-height: 1.7; }
.prose h2 { margin: 28px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--c-brand); font-weight: 600; }
.prose code { background: var(--c-soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose .muted { color: var(--c-muted); }
.small { font-size: 13px; color: var(--c-faint); }

/* forms */
.fld { display: block; margin-top: 14px; }
.fld:first-child { margin-top: 0; }
.fld > span { display: block; font-size: 13px; font-weight: 700; color: var(--c-muted); margin-bottom: 6px; }
.fld > span small { font-weight: 400; }
.in { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-soft); font-size: 16px; outline: none; transition: border-color .15s, background .15s; }
.in:focus { border-color: var(--c-brand); background: var(--c-surface); box-shadow: 0 0 0 4px var(--c-brand-soft); }
.row-f { display: flex; gap: 8px; }
.row-f .in { flex: 1; min-width: 0; }
.btn-full { width: 100%; height: 50px; margin-top: 18px; }
@media (max-width: 520px) { .row-f { flex-direction: column; } .row-f .btn-p { height: 48px; } }

/* link tracker box */
.trk { position: relative; display: flex; align-items: center; max-width: 640px; }
.trk .ico { position: absolute; left: 16px; color: var(--c-faint); pointer-events: none; }
.trk input { width: 100%; height: 56px; padding: 0 150px 0 46px; border-radius: 15px; border: 1.5px solid var(--c-line); background: var(--c-surface); font-size: 16px; outline: none; box-shadow: var(--c-shadow); }
.trk input:focus { border-color: var(--c-brand); box-shadow: 0 0 0 5px var(--c-brand-soft); }
.trk .btn-p { position: absolute; right: 6px; height: 44px; }
.pg-head.center .trk { margin: 22px auto 0; }
@media (max-width: 520px) { .trk { flex-direction: column; gap: 8px; } .trk input { padding-right: 14px; } .trk .btn-p { position: static; width: 100%; height: 48px; } .trk .ico { top: 19px; } }
.code { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--c-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 11px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); background: var(--c-soft); font-weight: 700; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--c-line); vertical-align: middle; }
.tbl td a { color: var(--c-text); font-weight: 600; text-decoration: none; }
.tbl td a:hover { color: var(--c-brand); }
.tbl small { display: block; color: var(--c-faint); font-size: 12px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--c-soft); color: var(--c-muted); white-space: nowrap; }
.tag.good { background: var(--c-brand-soft); color: var(--c-brand-2); }
.tag.warn { background: color-mix(in srgb, #f59e0b 16%, var(--c-surface)); color: #b45309; }
.btn-x { border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-red); border-radius: 9px; height: 34px; padding: 0 12px; font-weight: 700; font-size: 13px; cursor: pointer; }
.btn-x:hover { border-color: var(--c-red); }

/* sale radar */
.sl { display: flex; flex-direction: column; gap: 10px; }
.sl-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; }
.sl-item.live { border-color: color-mix(in srgb, var(--c-red) 45%, var(--c-line)); }
.sl-when { text-align: center; border-right: 1px solid var(--c-line); padding-right: 14px; }
.sl-when b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.sl-when span { font-size: 11.5px; color: var(--c-muted); }
.sl-info h2 { margin: 0; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sl-info p { margin: 3px 0 0; font-size: 14px; color: var(--c-muted); }
.sl-live { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: var(--c-red); }
.sl-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-red); }
.sl-store { font-size: 12px; font-weight: 700; color: var(--c-muted); }
.sl-off { text-align: right; }
.sl-off b { display: block; font-size: 20px; font-weight: 800; color: var(--c-brand); }
.sl-off span { font-size: 11.5px; color: var(--c-muted); }
@media (max-width: 560px) { .sl-item { grid-template-columns: 60px minmax(0, 1fr); } .sl-off { grid-column: 2; text-align: left; } .sl-off b { display: inline; font-size: 15px; margin-right: 4px; } }

/* coupons */
.cp-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cp { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; }
.cp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cp-store { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--c-muted); }
.cp-store i { width: 9px; height: 9px; border-radius: 50%; }
.cp-off { font-size: 18px; font-weight: 800; color: var(--c-brand); }
.cp b { font-size: 15.5px; }
.cp p { margin: 0; font-size: 13.5px; color: var(--c-muted); }
.coupon-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; padding: 0 14px; border: 1.5px dashed var(--c-brand); border-radius: 11px; background: var(--c-brand-soft); cursor: pointer; font-weight: 800; letter-spacing: .06em; color: var(--c-brand-2); }
.coupon-code .copy-hint { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--c-muted); }
.cp .btn-s { margin-top: auto; }
.cp-meta { font-size: 12px; color: var(--c-faint); }

/* compare */
.vs-hub { display: grid; gap: 10px; }
@media (min-width: 640px) { .vs-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vs-hub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vs-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; text-decoration: none; color: var(--c-text); transition: border-color .15s; }
.vs-card:hover { border-color: var(--c-brand); }
.vs-card span { font-size: 14px; font-weight: 600; line-height: 1.35; }
.vs-card i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--c-faint); }
.vs-card small { color: var(--c-muted); font-size: 13px; }
.vs-cat { margin: 26px 0 10px; font-size: 17px; font-weight: 800; }
.vs-heads { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.vs-head { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; min-width: 0; }
.vs-head .vs-img { display: block; height: 160px; background: #fff; border-radius: 12px; }
.vs-head .vs-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.vs-head h2 { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vs-head h2 a { color: inherit; text-decoration: none; }
.vs-price { font-size: 22px; font-weight: 800; }
.vs-price em { font-style: normal; font-size: 13px; color: var(--c-brand); font-weight: 700; margin-left: 4px; }
.vs-head .btn-buy { margin-top: auto; height: 44px; font-size: 14px; padding: 0 12px; }
.vs-tbl { margin-top: 14px; }
.vs-tbl td { text-align: center; width: 36%; }
.vs-tbl td.l { width: 28%; color: var(--c-muted); font-size: 13px; font-weight: 600; }
.vs-tbl td.win { color: var(--c-brand); font-weight: 800; }
.vs-pick { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: var(--c-brand-soft); }
.vs-pick .ico { color: var(--c-brand); flex: 0 0 auto; }
.vs-pick div { flex: 1; min-width: 0; font-size: 14px; color: var(--c-muted); }
.vs-pick b { display: block; color: var(--c-text); font-size: 15.5px; }
@media (max-width: 560px) { .vs-pick { flex-wrap: wrap; } .vs-pick .btn-p { width: 100%; } .vs-head .vs-img { height: 120px; } }

/* account + steps */
.acct-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.acct-top h1 { margin: 0; font-size: 26px; font-weight: 800; }
.acct-top p { margin: 2px 0 0; color: var(--c-muted); }
.acct-sec { margin: 28px 0 12px; font-size: 19px; font-weight: 800; }
.acct-sec small { color: var(--c-muted); font-weight: 600; font-size: 15px; }
.chan { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chan > div { flex: 1; min-width: 200px; }
.chan b { font-size: 15px; }
.chan p { margin: 2px 0 0; font-size: 13.5px; color: var(--c-muted); }
.chan-ic { width: 44px; height: 44px; border-radius: 12px; background: #e7f5fc; color: #229ed9; display: flex; align-items: center; justify-content: center; }
.watch .pc-rm { margin-top: 6px; }
.watch-item { display: flex; flex-direction: column; }
.watch-item form { margin-top: 6px; }
.watch-item .btn-s { width: 100%; height: 36px; font-size: 13px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
.steps3 li { display: flex; gap: 12px; align-items: flex-start; counter-increment: s; font-size: 15px; }
.steps3 li::before { content: counter(s); flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--c-brand); margin-top: 2px; }
.split { display: grid; gap: 16px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split .box + .box { margin-top: 0; } }

/* Extension page: launch CTA / waitlist */
.ext-soon { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c-buy) 12%, var(--c-surface)); color: #9a3412; font-size: 13px; font-weight: 700; }
[data-theme="dark"] .ext-soon { color: #fdba74; }
.ext-cta { height: 52px; padding: 0 26px; font-size: 16.5px; margin-top: 22px; }
.ext-sub { margin: 10px 0 0; color: var(--c-muted); font-size: 13px; }
.ext-wait { display: flex; gap: 8px; max-width: 480px; margin: 22px auto 0; }
.ext-wait input[type=email] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text); font: inherit; font-size: 15px; }
.ext-wait input[type=email]:focus { outline: 2px solid var(--c-brand); outline-offset: 1px; }
.ext-wait .btn-buy { height: 48px; }
.ext-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ext-done { max-width: 520px; margin: 22px auto 0; text-align: left; }
.ext-mobile { margin: 16px 0 0; color: var(--c-muted); }
@media (max-width: 520px) { .ext-wait { flex-direction: column; } .ext-wait .btn-buy { width: 100%; } }

/* ---- 404 / not found ---- */
.nf { padding-top: 40px; padding-bottom: 56px; }
.nf-hero { max-width: 640px; margin: 0 auto; text-align: center; }
.nf-mark { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(64px, 12vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--c-text); }
.nf-tag { display: inline-flex; align-items: center; justify-content: center; width: .9em; height: .9em; border-radius: 28%; background: var(--c-brand-soft); color: var(--c-brand); transform: rotate(-12deg); }
.nf-tag .ico { width: .42em; height: .42em; }
.nf-hero h1 { margin: 18px 0 8px; font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.nf-hero p { margin: 0 auto; max-width: 520px; color: var(--c-muted); font-size: 15.5px; }
.nf-search { display: flex; align-items: center; gap: 8px; margin: 24px auto 0; padding: 6px 6px 6px 14px; max-width: 560px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 8px 24px -12px rgba(15, 23, 42, .18); color: var(--c-muted); }
.nf-search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--c-text); font: inherit; font-size: 15.5px; outline: none; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.nf-links .chip { display: inline-flex; align-items: center; gap: 6px; }
.nf-sec { margin-top: 44px; }
.nf-sec h2 { font-size: 20px; margin: 0 0 14px; }
.nf-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 10px; }
.nf-cat { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; color: var(--c-text); transition: border-color .15s, transform .15s; }
.nf-cat:hover { border-color: var(--c-brand); transform: translateY(-1px); }
.nf-cat img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; flex: 0 0 auto; }
.nf-cat b { display: block; font-size: 14px; }
.nf-cat small { color: var(--c-muted); font-size: 12.5px; }
@media (max-width: 520px) { .nf-search .btn-p { padding: 0 14px; } }
/* coupon track record at checkout */
.cp-proof { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--c-soft, #f1f5f9); color: var(--c-muted); }
.cp-proof.is-good { background: #ecfdf5; color: #047857; }
.cp-proof.is-warn { background: #fff7ed; color: #c2410c; }
[data-theme="dark"] .cp-proof.is-good { background: rgba(36, 198, 138, .14); color: #6ee7b7; }
[data-theme="dark"] .cp-proof.is-warn { background: rgba(234, 88, 12, .16); color: #fdba74; }
