/* BuyBack Estimator — store demo + estimator styles */
:root {
	--sw-accent: #2f6bff;
	--sw-ink: #0b1220;
	--sw-ink-2: #1e293b;
	--sw-text: #334155;
	--sw-muted: #64748b;
	--sw-line: #e2e8f0;
	--sw-bg: #ffffff;
	--sw-bg-alt: #f4f6fa;
	--sw-silver: linear-gradient(135deg, #f8fafc 0%, #dfe4ec 45%, #b8c1ce 100%);
	--sw-good: #047857;
	--sw-good-bg: #ecfdf5;
	--sw-warn: #b45309;
	--sw-bad: #b91c1c;
	--sw-bad-bg: #fef2f2;
	--sw-radius: 16px;
	--sw-radius-sm: 10px;
	--sw-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
	--sw-shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .35);
	--sw-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base (scoped to our layout) ---------- */
body.swq-layout {
	margin: 0;
	background: var(--sw-bg);
	color: var(--sw-text);
	font-family: var(--sw-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.swq-layout *, .swq-layout *::before, .swq-layout *::after { box-sizing: border-box; }
.swq-layout img { max-width: 100%; height: auto; }
.swq-layout h1, .swq-layout h2, .swq-layout h3, .swq-layout h4 {
	font-family: var(--sw-font);
	color: var(--sw-ink);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
	font-weight: 800;
}
.swq-layout h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.swq-layout h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.swq-layout h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.swq-layout p { margin: 0 0 1em; }
.swq-layout a { color: var(--sw-accent); }
.swq-layout .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.sw-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 1000; border-radius: 8px; }
.sw-skip:focus { left: 8px; }
.sw-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sw-narrow { max-width: 820px; }
.sw-center { text-align: center; margin-top: 28px; }
.sw-content > .wp-block-html, .sw-content-front { margin: 0; }
.sw-content > p, .sw-content > h2, .sw-content > h3, .sw-content > ul, .sw-content > ol { max-width: 820px; margin-left: auto; margin-right: auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.sw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 24px; border-radius: 999px; border: 0;
	font: 700 15px/1 var(--sw-font); text-decoration: none !important; cursor: pointer;
	transition: background .2s, color .2s, box-shadow .2s, opacity .2s;
	white-space: nowrap;
}
.sw-btn-sm { padding: 10px 18px; font-size: 14px; }
.sw-btn-accent { background: var(--sw-accent); color: #fff !important; box-shadow: 0 8px 20px -10px var(--sw-accent); }
.sw-btn-accent:hover { filter: brightness(1.08); }
.sw-btn-dark { background: var(--sw-ink); color: #fff !important; }
.sw-btn-dark:hover { background: var(--sw-ink-2); }
.sw-btn-light { background: #fff; color: var(--sw-ink) !important; }
.sw-btn-ghost { background: transparent; color: var(--sw-ink) !important; border: 1.5px solid var(--sw-line); }
.sw-btn-ghost:hover { border-color: var(--sw-ink); }
.sw-btn[disabled] { opacity: .5; cursor: not-allowed; }
.sw-link { font-weight: 700; text-decoration: none; }
.sw-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.sw-topbar { background: var(--sw-ink); color: #cbd5e1; font-size: 13px; text-align: center; padding: 8px 0; letter-spacing: .01em; }
.sw-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--sw-line); }
.admin-bar .sw-header { top: 32px; }
.sw-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.sw-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sw-ink) !important; }
.sw-logo img { max-height: 46px; width: auto; display: block; }
.sw-logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--sw-ink); display: grid; place-items: center; }
.sw-logo-mark svg { width: 26px; height: 26px; }
.sw-logo-text { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.sw-nav { display: flex; align-items: center; gap: 26px; }
.sw-nav > a { color: var(--sw-ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.sw-nav > a:hover, .sw-nav > a[aria-current] { color: var(--sw-accent); }
.sw-nav-cta { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.sw-nav-phone { color: var(--sw-ink) !important; font-weight: 700; text-decoration: none; font-size: 15px; }
.sw-nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.sw-nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--sw-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.sw-nav-open .sw-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sw-nav-open .sw-nav-toggle span:nth-child(2) { opacity: 0; }
.sw-nav-open .sw-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.sw-nav-toggle { display: block; }
	.sw-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--sw-line); box-shadow: var(--sw-shadow); }
	.sw-nav-open .sw-nav { display: flex; }
	.sw-nav > a { padding: 14px 0; border-bottom: 1px solid var(--sw-line); }
	.sw-nav-cta { margin: 16px 0 0; flex-direction: column; align-items: stretch; }
	.sw-nav-cta .sw-btn { width: 100%; }
	.sw-nav-phone { text-align: center; }
}
@media (max-width: 782px) { .admin-bar .sw-header { top: 0; } }

/* ---------- Sections ---------- */
.sw-section { padding: 88px 0; }
.sw-section-tight { padding: 40px 0 88px; }
.sw-section-alt { background: var(--sw-bg-alt); }
.sw-section-dark { background: var(--sw-ink); color: #cbd5e1; }
.sw-section-dark h2, .sw-section-dark h3 { color: #fff; }
.sw-section-head { max-width: 640px; margin-bottom: 40px; }
.sw-section-head p:last-child { margin-bottom: 0; }
.sw-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sw-head-row h2 { margin: 0; }
.sw-eyebrow { display: inline-block; font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sw-accent); margin: 0 0 12px !important; }
.sw-lead { font-size: 1.15rem; color: var(--sw-muted); max-width: 620px; }
.sw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .sw-split { grid-template-columns: 1fr; gap: 32px; } .sw-section { padding: 64px 0; } }

/* ---------- Hero ---------- */
.sw-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(47,107,255,.18), transparent 60%), radial-gradient(800px 400px at 0% 110%, rgba(148,163,184,.25), transparent 60%), #f7f8fb; padding: 80px 0 96px; }
.sw-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.sw-shine { background: linear-gradient(100deg, var(--sw-ink) 0%, #64748b 40%, var(--sw-accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: var(--sw-ink-2); font-size: 15px; }
.sw-hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--sw-good-bg); color: var(--sw-good); font-size: 12px; font-weight: 800; }
.sw-hero-visual { display: flex; justify-content: center; }
.sw-quote-mock { position: relative; width: 100%; max-width: 420px; height: 440px; }
.sw-mock-phone { position: absolute; left: 8%; top: 0; width: 210px; height: 420px; border-radius: 42px; background: var(--sw-silver); padding: 10px; box-shadow: var(--sw-shadow-lg); transform: rotate(-6deg); }
.sw-mock-screen { width: 100%; height: 100%; border-radius: 34px; background: radial-gradient(circle at 30% 20%, rgba(47,107,255,.65), transparent 55%), radial-gradient(circle at 80% 90%, rgba(148,163,184,.6), transparent 50%), #0b1220; }
.sw-mock-card { position: absolute; right: 0; bottom: 30px; width: 260px; background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--sw-shadow-lg); display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--sw-line); }
.sw-mock-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--sw-muted); font-weight: 700; }
.sw-mock-price { font-size: 44px; font-weight: 800; color: var(--sw-ink); letter-spacing: -0.03em; line-height: 1; }
.sw-mock-meta { font-size: 13px; color: var(--sw-muted); }
.sw-mock-bar { height: 6px; border-radius: 6px; background: var(--sw-line); overflow: hidden; margin: 8px 0 4px; }
.sw-mock-bar i { display: block; height: 100%; width: 82%; background: linear-gradient(90deg, var(--sw-accent), #22c55e); }
.sw-mock-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-mock-tags b { font-size: 11px; font-weight: 600; background: var(--sw-bg-alt); border-radius: 99px; padding: 4px 9px; color: var(--sw-ink-2); }
@media (max-width: 960px) {
	.sw-hero-grid { grid-template-columns: 1fr; }
	.sw-hero-visual { display: none; }
	.sw-hero { padding: 56px 0 64px; }
}

/* ---------- Search ---------- */
.sw-search { position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--sw-line); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--sw-shadow); max-width: 580px; margin-top: 28px; }
.sw-search:focus-within { border-color: var(--sw-accent); }
.sw-search > svg { width: 20px; height: 20px; color: var(--sw-muted); flex: none; }
.sw-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 16px var(--sw-font); color: var(--sw-ink); background: transparent; padding: 10px 4px; }
.sw-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--sw-line); border-radius: 16px; box-shadow: var(--sw-shadow-lg); padding: 6px; z-index: 20; max-height: 340px; overflow: auto; }
.sw-search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--sw-ink); font-weight: 600; }
.sw-search-results a small { color: var(--sw-muted); font-weight: 500; }
.sw-search-results a:hover, .sw-search-results a.is-active { background: var(--sw-bg-alt); }
.sw-search-empty { padding: 12px 14px; color: var(--sw-muted); font-size: 14px; }
@media (max-width: 560px) {
	.sw-search { flex-wrap: wrap; border-radius: 20px; padding: 10px 12px; }
	.sw-search input { flex-basis: calc(100% - 40px); }
	.sw-search .sw-btn { width: 100%; }
}

/* ---------- Brand + model cards ---------- */
.sw-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.sw-brand-card { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--sw-radius); border: 1.5px solid var(--sw-line); background: #fff; text-decoration: none; color: var(--sw-ink) !important; transition: border-color .2s, box-shadow .2s; }
.sw-brand-card:hover { border-color: var(--sw-accent); box-shadow: var(--sw-shadow); }
.sw-brand-card img { width: 48px; height: 48px; object-fit: contain; }
.sw-brand-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sw-brand-card strong { font-size: 17px; font-weight: 700; }
.sw-brand-card small { color: var(--sw-muted); font-size: 13px; }
.sw-brand-initial { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sw-silver); color: var(--sw-ink); font-weight: 800; font-size: 20px; }
.sw-brand-other .sw-brand-initial { background: var(--sw-bg-alt); }
.sw-arrow { color: var(--sw-muted); font-weight: 700; transition: color .2s; }
.sw-brand-card:hover .sw-arrow { color: var(--sw-accent); }

.sw-model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sw-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .sw-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .sw-grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; } .sw-grid-4 .sw-model-card { padding: 12px; } .sw-grid-4 .sw-model-pic { height: 110px; } .sw-grid-4 .sw-model-pic img { max-height: 96px; } }
.sw-model-card { display: flex; flex-direction: column; padding: 18px; border-radius: var(--sw-radius); background: #fff; border: 1.5px solid var(--sw-line); text-decoration: none; color: var(--sw-ink) !important; transition: border-color .2s, box-shadow .2s; text-align: left; font: inherit; cursor: pointer; width: 100%; }
.sw-model-card:hover, .sw-model-card:focus-visible { border-color: var(--sw-accent); box-shadow: var(--sw-shadow); outline: 0; }
.sw-model-pic { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 12px; background: var(--sw-bg-alt); }
.sw-model-pic img { max-height: 130px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.swq-summary-top img, .sw-brand-card img, .swq-brand-btn img { mix-blend-mode: multiply; }
.sw-phone-svg { height: 118px; width: auto; }
.sw-model-pic img { max-height: calc(100% - 12px); }
.sw-model-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sw-muted); font-weight: 700; }
.sw-model-name { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 2px 0 8px; }
.sw-model-price { margin-top: auto; font-size: 14px; color: var(--sw-muted); }
.sw-model-price strong { color: var(--sw-good); font-size: 16px; }

/* ---------- Steps / features / grades ---------- */
.sw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.sw-step { position: relative; padding: 28px 24px; border-radius: var(--sw-radius); background: #fff; border: 1px solid var(--sw-line); }
.sw-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sw-ink); color: #fff; font-weight: 800; margin-bottom: 18px; }
.sw-step p { color: var(--sw-muted); margin: 0; font-size: 15px; }
@media (max-width: 960px) { .sw-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sw-steps { grid-template-columns: 1fr; } }

.sw-why .sw-section-head p { color: #94a3b8; }
.sw-why .sw-eyebrow { color: #93b4ff; }
.sw-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sw-feature { padding: 26px 22px; border-radius: var(--sw-radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.sw-feature p { margin: 0; color: #94a3b8; font-size: 15px; }
.sw-feature-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 20px; margin-bottom: 16px; }
@media (max-width: 960px) { .sw-feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sw-feature-grid { grid-template-columns: 1fr; } }

.sw-grade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sw-grade { background: #fff; border-radius: var(--sw-radius); padding: 22px; border: 1px solid var(--sw-line); }
.sw-grade p { margin: 12px 0 0; font-size: 15px; color: var(--sw-muted); }
.sw-grade-tag { display: inline-block; font-weight: 700; font-size: 13px; border-radius: 99px; padding: 5px 12px; }
.sw-g1 { background: #ecfdf5; color: #047857; } .sw-g2 { background: #eff6ff; color: #1d4ed8; } .sw-g3 { background: #fffbeb; color: #b45309; } .sw-g4 { background: #fef2f2; color: #b91c1c; }
@media (max-width: 960px) { .sw-grade-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sw-grade-grid { grid-template-columns: 1fr; } }

.sw-checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.sw-checklist li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--sw-line); color: var(--sw-ink-2); font-weight: 500; }
.sw-checklist li::before { content: "✓"; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--sw-ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }

.sw-disclaimer { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: var(--sw-radius-sm); padding: 16px 18px; font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.sw-disclaimer strong { color: #78350f; }

.sw-faq details { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius-sm); margin-bottom: 10px; }
.sw-faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--sw-ink); position: relative; }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--sw-muted); font-weight: 500; }
.sw-faq details[open] summary::after { content: "–"; }
.sw-faq details p { padding: 0 20px 18px; margin: 0; color: var(--sw-muted); }

.sw-cta-band { background: linear-gradient(120deg, var(--sw-ink) 0%, #1e3a8a 60%, var(--sw-accent) 130%); color: #dbeafe; padding: 64px 0; }
.sw-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sw-cta-band h2 { color: #fff; margin-bottom: 6px; }
.sw-cta-band p { margin: 0; }

.sw-store-info { display: grid; gap: 14px; margin: 24px 0; }
.sw-info-item { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--sw-line); border-radius: var(--sw-radius-sm); background: #fff; }
.sw-info-item p { margin: 2px 0 0; color: var(--sw-muted); }
.sw-info-item strong { color: var(--sw-ink); }
.sw-info-ico { font-size: 20px; line-height: 1.4; }
.sw-map { border-radius: var(--sw-radius); overflow: hidden; border: 1px solid var(--sw-line); min-height: 420px; }
.sw-map iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---------- Page hero ---------- */
.sw-page-hero { background: radial-gradient(900px 300px at 90% -20%, rgba(47,107,255,.14), transparent 60%), #f7f8fb; padding: 56px 0 48px; border-bottom: 1px solid var(--sw-line); }
.sw-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.sw-page-hero .sw-lead { margin: 12px 0 0; }
.sw-page-hero-sell { padding-bottom: 36px; }

.sw-feature-light { grid-template-columns: 1fr 1fr; }
.sw-feature-light .sw-feature { background: var(--sw-bg-alt); border-color: var(--sw-line); }
.sw-feature-light .sw-feature h3 { color: var(--sw-ink); }
.sw-feature-light .sw-feature p { color: var(--sw-muted); }
.sw-feature-light .sw-feature-ico { background: #fff; }

/* ---------- SEO blocks ---------- */
.sw-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sw-muted); margin-bottom: 12px; }
.sw-crumbs a { color: var(--sw-accent); text-decoration: none; }
.sw-crumbs a:hover { text-decoration: underline; }
.sw-seo { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--sw-line); }
.sw-seo[hidden] { display: none; }
.sw-seo h2 { font-size: 1.5rem; }
.sw-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sw-price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.sw-price-table th, .sw-price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--sw-line); }
.sw-price-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--sw-muted); }
.sw-price-table td:last-child { font-weight: 700; color: var(--sw-good); }
.sw-dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sw-dir h3 a { color: var(--sw-ink); text-decoration: none; }
.sw-link-list { list-style: none; padding: 0; margin: 0; columns: 1; }
.sw-seo-grid .sw-link-list { columns: 2; column-gap: 24px; }
.sw-link-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--sw-line); font-size: 14px; break-inside: avoid; }
.sw-link-list a { color: var(--sw-ink-2); text-decoration: none; font-weight: 600; }
.sw-link-list a:hover { color: var(--sw-accent); }
.sw-link-list span { color: var(--sw-muted); white-space: nowrap; }
.sw-404 .sw-search { margin-top: 20px; }
.sw-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.sw-prose { max-width: 820px; margin: 0 auto; }
.sw-prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.sw-prose li { margin-bottom: .4em; }
@media (max-width: 860px) { .sw-seo-grid, .sw-dir { grid-template-columns: 1fr; gap: 32px; } .sw-seo-grid .sw-link-list { columns: 1; } }

/* ---------- Footer ---------- */
.sw-footer { background: var(--sw-ink); color: #94a3b8; padding: 64px 0 0; font-size: 15px; }
.sw-footer a { color: #e2e8f0; text-decoration: none; }
.sw-footer a:hover { color: #fff; text-decoration: underline; }
.sw-footer .sw-btn-accent { color: #fff; text-decoration: none !important; }
.sw-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 48px; }
.sw-footer-name { color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 8px !important; }
.sw-footer-h { color: #fff; font-weight: 700; margin-bottom: 12px !important; }
.sw-footer ul { list-style: none; padding: 0; margin: 0; }
.sw-footer li { margin-bottom: 8px; }
.sw-footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 32px; font-size: 13px; }
.sw-footer-legal strong { color: #e2e8f0; }
@media (max-width: 860px) { .sw-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sw-footer-grid { grid-template-columns: 1fr; } }

/* =================================================================== */
/* Trade-in app                                                        */
/* =================================================================== */
.swq-app { font-family: var(--sw-font); color: var(--sw-text); }
.swq-loading { display: flex; align-items: center; gap: 12px; padding: 40px; justify-content: center; color: var(--sw-muted); }
.swq-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--sw-line); border-top-color: var(--sw-accent); animation: swspin .8s linear infinite; display: inline-block; }
@keyframes swspin { to { transform: rotate(360deg); } }

.swq-progress { display: flex; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: p; }
.swq-progress li { flex: 1; font-size: 12px; font-weight: 700; color: var(--sw-muted); text-transform: uppercase; letter-spacing: .06em; }
.swq-progress li::before { content: ""; display: block; height: 5px; border-radius: 5px; background: var(--sw-line); margin-bottom: 8px; transition: background .3s; }
.swq-progress li.is-done::before, .swq-progress li.is-current::before { background: var(--sw-accent); }
.swq-progress li.is-current { color: var(--sw-ink); }
@media (max-width: 640px) { .swq-progress li span { display: none; } .swq-progress li.is-current span { display: inline; } }

.swq-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.swq-layout-grid.no-aside { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .swq-layout-grid { grid-template-columns: 1fr; } .swq-aside { order: -1; } }

.swq-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.swq-panel-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.swq-panel-head p { margin: 6px 0 0; color: var(--sw-muted); }
.swq-back { background: none; border: 0; color: var(--sw-muted); font: 600 14px var(--sw-font); cursor: pointer; padding: 0; margin: 0 0 14px; display: inline-flex; align-items: center; gap: 6px; }
.swq-back:hover { color: var(--sw-ink); }

.swq-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.swq-brand-btn { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-radius: var(--sw-radius); border: 1.5px solid var(--sw-line); background: #fff; cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, box-shadow .2s; }
.swq-brand-btn:hover, .swq-brand-btn:focus-visible { border-color: var(--sw-accent); box-shadow: var(--sw-shadow); outline: 0; }
.swq-brand-btn img { width: 48px; height: 48px; object-fit: contain; }
.swq-brand-btn strong { display: block; font-size: 17px; font-weight: 700; color: var(--sw-ink); }
.swq-brand-btn small { color: var(--sw-muted); }

.swq-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.swq-filter input { flex: 1; min-width: 220px; padding: 13px 16px; border: 1.5px solid var(--sw-line); border-radius: 12px; font: 500 15px var(--sw-font); color: var(--sw-ink); }
.swq-filter input:focus { border-color: var(--sw-accent); outline: 0; }
.swq-empty { padding: 28px; text-align: center; color: var(--sw-muted); border: 1.5px dashed var(--sw-line); border-radius: var(--sw-radius); }

.swq-card { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius); padding: 24px; margin-bottom: 16px; scroll-margin-top: 110px; transition: border-color .2s, box-shadow .2s; }
.swq-card.is-missing { border-color: var(--sw-bad); box-shadow: 0 0 0 3px var(--sw-bad-bg); }
.swq-card.is-answered { border-color: #cbd5e1; }
.swq-card h3 { margin: 0 0 4px; display: flex; gap: 10px; align-items: baseline; }
.swq-q-n { flex: none; font-size: 13px; color: var(--sw-muted); font-weight: 700; }
.swq-help { margin: 0 0 16px; color: var(--sw-muted); font-size: 14px; }
.swq-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.swq-options.is-pills { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.swq-opt { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 14px 44px; border: 1.5px solid var(--sw-line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--sw-ink); transition: border-color .15s, background .15s; }
.swq-opt::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; transition: border .15s, box-shadow .15s; }
.swq-opt strong { font-size: 15px; font-weight: 700; }
.swq-opt small { font-size: 13px; color: var(--sw-muted); line-height: 1.45; }
.swq-opt:hover { border-color: #94a3b8; }
.swq-opt:focus-visible { outline: 3px solid rgba(47,107,255,.35); outline-offset: 1px; }
.swq-opt[aria-checked="true"] { border-color: var(--sw-accent); background: #f5f8ff; }
.swq-opt[aria-checked="true"]::before { border: 6px solid var(--sw-accent); }
.is-pills .swq-opt { padding: 14px 12px; text-align: center; align-items: center; }
.is-pills .swq-opt::before { display: none; }

.swq-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.swq-count { color: var(--sw-muted); font-size: 14px; font-weight: 600; }
.swq-error { color: var(--sw-bad); font-weight: 600; font-size: 14px; margin: 12px 0 0; }

.swq-aside { position: sticky; top: 100px; }
.swq-summary { background: #fff; border: 1px solid var(--sw-line); border-radius: var(--sw-radius); overflow: hidden; }
.swq-summary-top { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--sw-bg-alt); }
.swq-summary-top .sw-phone-svg, .swq-summary-top img { height: 74px; width: auto; flex: none; }
.swq-summary-top strong { display: block; color: var(--sw-ink); font-size: 16px; line-height: 1.3; }
.swq-summary-top small { color: var(--sw-muted); }
.swq-summary dl { margin: 0; padding: 8px 18px 14px; }
.swq-summary dl div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sw-line); font-size: 14px; }
.swq-summary dl div:last-child { border-bottom: 0; }
.swq-summary dt { color: var(--sw-muted); }
.swq-summary dd { margin: 0; color: var(--sw-ink); font-weight: 600; text-align: right; }
.swq-edit { background: none; border: 0; color: var(--sw-accent); font: 600 13px var(--sw-font); cursor: pointer; padding: 0 18px 16px; }
.swq-aside-note { font-size: 13px; color: var(--sw-muted); margin: 14px 4px 0; }

.swq-result { text-align: center; padding: 40px 28px; border-radius: 22px; background: radial-gradient(600px 200px at 50% -20%, rgba(47,107,255,.14), transparent 70%), #fff; border: 1px solid var(--sw-line); box-shadow: var(--sw-shadow); }
.swq-result-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sw-muted); }
.swq-result-price { font-size: clamp(3rem, 8vw, 4.6rem); font-weight: 800; color: var(--sw-ink); letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0; }
.swq-result-device { color: var(--sw-muted); margin-bottom: 20px; }
.swq-result .sw-disclaimer { text-align: left; margin: 24px auto 0; max-width: 620px; }
.swq-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.swq-result.is-ineligible .swq-result-price { font-size: 1.8rem; color: var(--sw-bad); letter-spacing: -0.01em; }
.swq-ineligible-msg { max-width: 560px; margin: 0 auto; background: var(--sw-bad-bg); color: #7f1d1d; border-radius: 12px; padding: 16px 18px; text-align: left; }
.swq-breakdown { max-width: 520px; margin: 18px auto 0; text-align: left; font-size: 14px; }
.swq-breakdown summary { cursor: pointer; font-weight: 700; color: var(--sw-accent); text-align: center; list-style: none; }
.swq-breakdown summary::-webkit-details-marker { display: none; }
.swq-breakdown table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.swq-breakdown td { padding: 8px 0; border-bottom: 1px solid var(--sw-line); vertical-align: top; }
.swq-breakdown td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--sw-warn); }
.swq-breakdown tr.is-base td:last-child { color: var(--sw-ink); }
.swq-breakdown small { display: block; color: var(--sw-muted); }
.swq-valid { font-size: 14px; color: var(--sw-muted); margin: 0; }

.swq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.swq-field { display: flex; flex-direction: column; gap: 6px; }
.swq-field.is-full { grid-column: 1 / -1; }
.swq-field label, .swq-field .swq-label { font-weight: 700; color: var(--sw-ink); font-size: 14px; }
.swq-field input, .swq-field select, .swq-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--sw-line); border-radius: 12px; font: 500 15px var(--sw-font); color: var(--sw-ink); background: #fff; }
.swq-field input:focus, .swq-field select:focus, .swq-field textarea:focus { border-color: var(--sw-accent); outline: 0; }
.swq-field.has-error input, .swq-field.has-error select { border-color: var(--sw-bad); }
.swq-field-err { color: var(--sw-bad); font-size: 13px; font-weight: 600; }
.swq-radios { display: flex; gap: 8px; flex-wrap: wrap; }
.swq-radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--sw-line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; }
.swq-radios input { width: auto; accent-color: var(--sw-accent); }
.swq-radios label:has(input:checked) { border-color: var(--sw-accent); background: #f5f8ff; }
.swq-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--sw-text); background: var(--sw-bg-alt); padding: 14px 16px; border-radius: 12px; }
.swq-agree input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--sw-accent); }
.swq-hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 640px) { .swq-form { grid-template-columns: 1fr; } }

.swq-done { text-align: center; max-width: 680px; margin: 0 auto; }
.swq-done-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--sw-good-bg); color: var(--sw-good); display: grid; place-items: center; font-size: 34px; margin: 0 auto 18px; }
.swq-ref { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: .08em; background: var(--sw-bg-alt); border: 1px dashed #94a3b8; border-radius: 12px; padding: 10px 18px; color: var(--sw-ink); margin: 6px 0 18px; }
.swq-done .sw-checklist { text-align: left; margin: 24px 0; }
.swq-done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; margin: 20px 0; }
.swq-done-grid div { background: var(--sw-bg-alt); border-radius: 12px; padding: 14px 16px; }
.swq-done-grid small { display: block; color: var(--sw-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.swq-done-grid strong { color: var(--sw-ink); }
@media (max-width: 560px) { .swq-done-grid { grid-template-columns: 1fr; } }

/* =================================================================== */
/* v1.2 — logo, brand cards, estimator v2, contact form                */
/* =================================================================== */
.sw-logo img { height: 40px; width: auto; max-height: none; }
@media (max-width: 560px) { .sw-logo img { height: 34px; } }
.sw-footer-logo { margin: 0 0 12px !important; }
.sw-footer-logo img { height: 40px; width: auto; display: block; }

/* Brand cards */
.sw-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1024px) { .sw-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sw-brand-grid { grid-template-columns: 1fr; } }
.sw-brand-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 22px 20px; min-height: 230px; overflow: hidden; border-radius: 20px; border: 1.5px solid var(--sw-line); background: linear-gradient(160deg, #fff 55%, var(--sw-bg-alt)); }
.sw-brand-card:hover { border-color: var(--brand, var(--sw-accent)); box-shadow: 0 18px 40px -24px rgba(15,23,42,.45); }
.sw-brand-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 8px; }
.sw-brand-logo { width: 34px; height: 34px; flex: none; }
img.sw-brand-logo { object-fit: contain; }
.sw-brand-initial.sw-brand-logo { width: 40px; height: 40px; }
.sw-brand-count { font-size: 12px; font-weight: 700; color: var(--sw-muted); background: #fff; border: 1px solid var(--sw-line); border-radius: 99px; padding: 4px 10px; }
.sw-brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--sw-ink); position: relative; z-index: 1; }
.sw-brand-up { font-size: 14px; color: var(--sw-muted); max-width: 62%; position: relative; z-index: 1; }
.sw-brand-other .sw-brand-up { max-width: 100%; }
.sw-brand-up strong { color: var(--sw-good); }
.sw-brand-photo { position: absolute; right: -6px; bottom: -14px; width: 46%; max-width: 130px; pointer-events: none; }
.sw-brand-photo img { width: 100%; height: auto; mix-blend-mode: multiply; transform: rotate(-8deg); transition: transform .3s; }
.sw-brand-card:hover .sw-brand-photo img { transform: rotate(-4deg) translateY(-4px); }
.sw-brand-cta { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand, var(--sw-accent)); position: relative; z-index: 1; }
.sw-brand-other .sw-brand-cta { color: var(--sw-accent); }

/* SEO directory toggle */
.sw-seo-more { border: 1px solid var(--sw-line); border-radius: 14px; background: #fff; }
.sw-seo-more > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--sw-ink); display: flex; justify-content: space-between; }
.sw-seo-more > summary::-webkit-details-marker { display: none; }
.sw-seo-more > summary::after { content: "+"; color: var(--sw-muted); font-size: 20px; line-height: 1; }
.sw-seo-more[open] > summary::after { content: "–"; }
.sw-seo-more .sw-dir { padding: 4px 20px 20px; }
.sw-seo { margin-top: 40px; padding-top: 0; border-top: 0; }

/* ---------- Estimator v2 ---------- */
.swq2 { max-width: 880px; margin: 0 auto; }
.swq-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.swq-steps li > span, .swq-steps li > button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--sw-bg-alt); border: 0; font: 700 13px var(--sw-font); color: var(--sw-muted); text-align: left; }
.swq-steps li > button { cursor: pointer; }
.swq-steps li > button:hover { background: #e8edf6; }
.swq-steps-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--sw-line); font-size: 12px; }
.swq-steps li.is-current > span { background: var(--sw-ink); color: #fff; }
.swq-steps li.is-current .swq-steps-n { background: var(--sw-accent); border-color: var(--sw-accent); color: #fff; }
.swq-steps li.is-done .swq-steps-n { background: var(--sw-good); border-color: var(--sw-good); color: #fff; }
@media (max-width: 640px) {
	.swq-steps { gap: 4px; }
	.swq-steps li > span, .swq-steps li > button { justify-content: center; padding: 8px 4px; }
	.swq-steps-l { display: none; }
	.swq-steps li.is-current .swq-steps-l { display: inline; }
	.swq-steps li.is-current { grid-column: span 1; }
}

.swq-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--sw-line); border-radius: 16px; background: #fff; margin-bottom: 22px; }
.swq-bar-pic { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--sw-bg-alt); display: grid; place-items: center; overflow: hidden; }
.swq-bar-pic img { max-height: 46px; width: auto; mix-blend-mode: multiply; }
.swq-bar-pic .sw-phone-svg { height: 42px; }
.swq-bar-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.swq-bar-txt small { font-size: 12px; color: var(--sw-muted); font-weight: 600; }
.swq-bar-txt strong { color: var(--sw-ink); font-size: 16px; line-height: 1.25; }
.swq-bar-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.swq-bar-chips em { font-style: normal; font-size: 12px; font-weight: 600; background: var(--sw-bg-alt); border-radius: 99px; padding: 3px 9px; color: var(--sw-ink-2); }

.swq-link-btn { background: none; border: 0; padding: 6px 0; color: var(--sw-accent); font: 700 14px var(--sw-font); cursor: pointer; }
.swq-link-btn:hover { text-decoration: underline; }

.swq-head { margin-bottom: 18px; }
.swq-head h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 0 0 6px; }
.swq-head p { margin: 0; color: var(--sw-muted); }

.swq-search { display: flex; align-items: center; gap: 10px; padding: 4px 16px; border: 1.5px solid var(--sw-line); border-radius: 14px; background: #fff; margin-bottom: 14px; }
.swq-search:focus-within { border-color: var(--sw-accent); box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.swq-search svg { width: 20px; height: 20px; color: var(--sw-muted); flex: none; }
.swq-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 0; font: 500 16px var(--sw-font); color: var(--sw-ink); background: transparent; }
.swq-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.swq-tabs::-webkit-scrollbar { display: none; }
.swq-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--sw-line); background: #fff; font: 700 14px var(--sw-font); color: var(--sw-ink); cursor: pointer; }
.swq-tab:hover { border-color: #94a3b8; }
.swq-tab.is-on { border-color: var(--sw-ink); background: var(--sw-ink); color: #fff; }
.swq-tab.is-on .swq-blogo { fill: #fff; }
.swq-blogo { width: 18px; height: 18px; }
img.swq-blogo { object-fit: contain; }
.swq-tab .sw-brand-initial { width: 18px; height: 18px; font-size: 11px; border-radius: 5px; }

.swq-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .swq-models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .swq-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.swq-model { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 12px; border: 1.5px solid var(--sw-line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.swq-model:hover, .swq-model:focus-visible { border-color: var(--sw-accent); box-shadow: 0 12px 28px -18px rgba(15,23,42,.45); outline: 0; }
.swq-model-pic { width: 100%; height: 120px; border-radius: 12px; background: var(--sw-bg-alt); display: grid; place-items: center; margin-bottom: 10px; overflow: hidden; }
.swq-model-pic img { max-height: 106px; max-width: 90%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.swq-model-pic .sw-phone-svg { height: 96px; }
.swq-model-name { font-weight: 700; color: var(--sw-ink); font-size: 15px; line-height: 1.3; }
.swq-model-meta { font-size: 12px; color: var(--sw-muted); margin: 2px 0 6px; }
.swq-model-up { margin-top: auto; font-size: 13px; color: var(--sw-muted); }
.swq-model-up strong { color: var(--sw-good); font-size: 15px; }
@media (max-width: 560px) { .swq-model-pic { height: 96px; } .swq-model-pic img { max-height: 84px; } .swq-model-name { font-size: 14px; } }

.swq-group { margin-bottom: 22px; }
.swq-group h3 { font-size: 16px; margin: 0 0 10px; }
.swq-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.swq-pill { padding: 12px 18px; min-width: 88px; border-radius: 12px; border: 1.5px solid var(--sw-line); background: #fff; font: 700 15px var(--sw-font); color: var(--sw-ink); cursor: pointer; }
.swq-pill:hover { border-color: #94a3b8; }
.swq-pill.is-on { border-color: var(--sw-accent); background: #eef3ff; color: #1d4ed8; box-shadow: inset 0 0 0 1px var(--sw-accent); }

.swq-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.swq-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .swq-tiles, .swq-tiles-3 { grid-template-columns: 1fr; } }
.swq-tile { display: flex; align-items: flex-start; gap: 12px; text-align: left; padding: 15px 16px; min-height: 58px; border-radius: 14px; border: 1.5px solid var(--sw-line); background: #fff; cursor: pointer; font: inherit; color: var(--sw-ink); transition: border-color .15s, background .15s; }
.swq-tile:hover { border-color: #94a3b8; }
.swq-tile:focus-visible { outline: 3px solid rgba(47,107,255,.35); outline-offset: 1px; }
.swq-tile-dot { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; transition: border .15s; }
.swq-tile-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.swq-tile-txt strong { font-size: 15px; font-weight: 700; line-height: 1.35; }
.swq-tile-txt small { font-size: 13px; color: var(--sw-muted); line-height: 1.45; }
.swq-tile.is-on { border-color: var(--sw-accent); background: #f3f7ff; }
.swq-tile.is-on .swq-tile-dot { border: 6px solid var(--sw-accent); }

.swq-qmeta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 700; color: var(--sw-muted); text-transform: uppercase; letter-spacing: .06em; }
.swq-qbar { display: block; height: 6px; border-radius: 6px; background: var(--sw-line); overflow: hidden; }
.swq-qbar i { display: block; height: 100%; background: var(--sw-accent); border-radius: 6px; transition: width .3s; }
.swq-q h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 6px; }
.swq-q .swq-help { margin: 0 0 18px; color: var(--sw-muted); font-size: 15px; }
.swq-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.swq-hint { color: var(--sw-muted); font-size: 14px; }

.swq-offer { text-align: center; padding: 34px 24px 26px; border-radius: 24px; border: 1px solid var(--sw-line); background: radial-gradient(600px 220px at 50% -30%, rgba(47,107,255,.16), transparent 70%), #fff; box-shadow: var(--sw-shadow); margin-bottom: 20px; }
.swq-offer-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sw-muted); }
.swq-offer-price { font-size: clamp(3rem, 10vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--sw-ink); line-height: 1.05; margin: 6px 0 10px; }
.swq-offer.is-ineligible .swq-offer-price { font-size: clamp(1.5rem, 5vw, 2rem); color: var(--sw-bad); letter-spacing: -0.01em; }
.swq-offer-points { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; font-weight: 600; color: var(--sw-ink-2); }
.swq-offer-points li::before { content: "✓ "; color: var(--sw-good); font-weight: 800; }
.swq-offer-links { display: flex; justify-content: center; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.swq-fine { font-size: 12.5px; line-height: 1.6; color: var(--sw-muted); max-width: 620px; margin: 14px auto 0; }
.swq-book { border: 1px solid var(--sw-line); border-radius: 20px; padding: 24px; background: #fff; }
.swq-book h3 { margin: 0 0 4px; font-size: 20px; }
.swq-book > .swq-help { margin: 0 0 18px; color: var(--sw-muted); font-size: 15px; }
.swq-submit { width: 100%; margin-top: 16px; padding: 17px 24px; font-size: 16px; }
.swq-opt-label { font-weight: 500; color: var(--sw-muted); }
@media (max-width: 560px) { .swq-book { padding: 18px 16px; } .swq-offer { padding: 28px 16px 22px; } }

/* Contact form */
.sw-contact-form { background: #fff; border: 1px solid var(--sw-line); border-radius: 20px; padding: 26px; box-shadow: var(--sw-shadow); }
.sw-contact-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.sw-contact-done { text-align: center; padding: 20px 0; }
.sw-contact-done h3 { margin: 0 0 6px; }
@media (max-width: 560px) { .sw-contact-form { padding: 18px 16px; } .sw-contact-actions .sw-btn { width: 100%; } }
.swq-form [hidden], .sw-contact-actions[hidden] { display: none !important; }

.sw-brand-up strong { font-size: inherit; }
.sw-brand-card > span:nth-child(2) { flex: none; display: block; }

/* v1.2.1 brand card + mobile polish */
.sw-brand-name { display: flex; flex-direction: column; line-height: 1.1; font-size: 24px; max-width: 58%; }
.sw-brand-name small { font-size: 13px; font-weight: 600; color: var(--sw-muted); letter-spacing: 0; margin-bottom: 4px; }
.sw-brand-other .sw-brand-name { max-width: 100%; font-size: 20px; }
.sw-brand-up { max-width: 58%; }
.sw-brand-photo { right: 10px; bottom: -22px; width: 40%; max-width: 112px; }
.sw-brand-logo.is-samsung { width: 86px; height: 28px; }
.swq-blogo.is-samsung { width: 58px; height: 18px; }
@media (max-width: 520px) { .sw-brand-card { min-height: 190px; } .sw-brand-photo { max-width: 100px; } }
@media (max-width: 640px) {
	.sw-page-hero { padding: 28px 0 24px; }
	.sw-page-hero h1 { font-size: 1.9rem; }
	.sw-page-hero-sell .sw-lead { display: none; }
	.sw-page-hero-sell .sw-eyebrow { margin-bottom: 6px !important; }
	.sw-section-tight { padding-top: 20px; }
}

.sw-brand-card > .sw-brand-name { display: flex; flex-direction: column; }
.sw-brand-name small { display: block; white-space: nowrap; }

/* v1.4 — device categories */
.sw-cat-ico { width: 28px; height: 28px; }
.swq-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .swq-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .swq-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.swq-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; border: 1.5px solid var(--sw-line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--sw-ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.swq-cat:hover, .swq-cat:focus-visible { border-color: var(--sw-accent); box-shadow: 0 12px 28px -18px rgba(15,23,42,.45); outline: 0; transform: translateY(-1px); }
.swq-cat-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef3ff; color: var(--sw-accent); margin-bottom: 8px; }
.swq-cat strong { font-size: 16px; font-weight: 700; }
.swq-cat small { color: var(--sw-muted); font-size: 13px; }
.swq-back-cats { margin: -4px 0 8px; }
.swq-cat-ph { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #fff; color: #94a3b8; }
.swq-cat-ph .sw-cat-ico { width: 40px; height: 40px; }
.swq-bar-pic .swq-cat-ph { width: 40px; height: 40px; background: transparent; }
.swq-bar-pic .swq-cat-ph .sw-cat-ico { width: 26px; height: 26px; }
.swq-pills.is-wide .swq-pill { min-width: 0; text-align: left; }
.swq-bar-chips em { max-width: 100%; white-space: normal; }

.sw-cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .sw-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sw-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.sw-cat-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; border-radius: 18px; border: 1.5px solid var(--sw-line); background: linear-gradient(160deg, #fff 55%, var(--sw-bg-alt)); text-decoration: none; color: var(--sw-ink) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.sw-cat-card:hover { border-color: var(--sw-accent); box-shadow: 0 18px 40px -24px rgba(15,23,42,.45); transform: translateY(-2px); }
.sw-cat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--sw-ink); color: #fff; margin-bottom: 10px; }
.sw-cat-card:hover .sw-cat-icon { background: var(--sw-accent); }
.sw-cat-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.sw-cat-meta { font-size: 13px; color: var(--sw-muted); }

/* v1.5 category photos */
.sw-cat-card.has-photo { padding: 0; overflow: hidden; background: #fff; }
.sw-cat-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sw-bg-alt); }
.sw-cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sw-cat-card:hover .sw-cat-photo img { transform: scale(1.05); }
.sw-cat-body { display: flex; flex-direction: column; gap: 4px; padding: 0 16px 16px; position: relative; }
.sw-cat-card:not(.has-photo) .sw-cat-body { padding: 0; }
.sw-cat-card.has-photo .sw-cat-icon { width: 44px; height: 44px; border-radius: 12px; margin: -22px 0 8px; border: 3px solid #fff; }
.sw-cat-card.has-photo .sw-cat-icon .sw-cat-ico { width: 22px; height: 22px; }
.swq-cat.has-photo { padding: 0; overflow: hidden; }
.swq-cat-photo { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sw-bg-alt); }
.swq-cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.swq-cat.has-photo strong, .swq-cat.has-photo small { padding: 0 14px; }
.swq-cat.has-photo small { padding-bottom: 14px; }
.swq-cat.has-photo strong { padding-top: 10px; }
.swq-model-pic .swq-cat-photo-fill { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; border-radius: 12px; opacity: .92; max-height: none; max-width: none; }
.swq-bar-pic .swq-cat-photo-fill { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; max-height: none; }

/* v1.6 — brand step */
.swq-brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .swq-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .swq-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.swq-brand { display: flex; flex-direction: column; padding: 12px; border: 1.5px solid var(--sw-line); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--sw-ink); min-width: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
.swq-brand:hover, .swq-brand:focus-visible { border-color: var(--sw-accent); box-shadow: 0 12px 28px -18px rgba(15,23,42,.45); transform: translateY(-2px); outline: 0; }
.swq-brand-pic { width: 100%; height: 130px; border-radius: 12px; background: var(--sw-bg-alt); display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; }
.swq-brand-pic img { max-height: 114px; max-width: 90%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.swq-brand-pic .swq-cat-photo-fill { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; mix-blend-mode: normal; }
.swq-brand-pic .sw-phone-svg { height: 100px; }
.swq-brand-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.swq-brand-logo { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--sw-bg-alt); display: grid; place-items: center; }
.swq-brand-logo svg, .swq-brand-logo img { width: 20px; height: 20px; object-fit: contain; }
.swq-brand-logo .sw-brand-initial { width: 20px; height: 20px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: none; }
.swq-brand-txt { display: flex; flex-direction: column; min-width: 0; }
.swq-brand-txt strong { font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swq-brand-txt small { font-size: 12px; color: var(--sw-muted); }
@media (max-width: 560px) { .swq-brand-pic { height: 100px; } .swq-brand-pic img { max-height: 88px; } }

/* BuyBack demo ribbon */
.bbe-demo-bar { background: linear-gradient(135deg, #3b6cff, #7c3aed); color: #eef0ff; font-size: 13.5px; }
.bbe-demo-in { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.bbe-demo-bar b { color: #fff; }
.bbe-demo-links { display: flex; gap: 14px; align-items: center; }
.bbe-demo-links a { color: #fff; font-weight: 700; text-decoration: none; }
.bbe-demo-buy { background: #fff; color: #3b2bd6 !important; padding: 5px 12px; border-radius: 8px; }
.sw-section-app { padding: 40px 0 88px; }
