/* YN SCRIPTS store - YN theme B: neutral grey, one calm blue (#5b8fd9), flat 1px borders, no glow, one font (Inter) */
:root {
  --bg-0: #0e0e0e; --bg-1: #141414; --bg-2: #1a1a1a; --bg-3: #212121; --bg-4: #2a2a2a;
  --line: rgba(255, 255, 255, 0.07); --line-2: rgba(255, 255, 255, 0.11);
  --tx-1: #f2f2f2; --tx-2: #b3b3b3; --tx-3: #8a8a8a;
  --blue: #5b8fd9; --blue-hi: #8fb4ea; --blue-fill: rgba(91, 143, 217, 0.12); --blue-line: rgba(91, 143, 217, 0.55);
  --ok: #6fc28f; --ok-bg: rgba(111, 194, 143, 0.1); --warn: #e0b060; --warn-bg: rgba(224, 176, 96, 0.1); --bad: #e07a7a;
  --r-1: 6px; --r-2: 8px; --r-card: 12px; --dur: 180ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg-0); color: var(--tx-1); font: 15px/1.55 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p a, .legal a, .muted a { color: var(--blue-hi); }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
code { font-family: ui-monospace, 'Cascadia Code', monospace; font-size: 0.88em; }
.ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--tx-2); }
.small { font-size: 13px; }
.center { text-align: center; }
.pad { padding: 40px 0; }
.pad-t { padding-top: 14px; }
.mono { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* buttons, pills, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background var(--dur), border-color var(--dur), color var(--dur); }
.btn:hover { background: var(--bg-3); }
.btn.primary { background: var(--blue-fill); border-color: var(--blue-line); color: var(--blue-hi); }
.btn.primary:hover { background: rgba(91, 143, 217, 0.2); border-color: var(--blue); }
.btn.ghost { background: transparent; }
.btn.sm { height: 36px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn.block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: 0.5; cursor: default; }
.btn:focus-visible, .input:focus-visible, .chip:focus-visible, .select-btn:focus-visible { outline: 1px solid var(--blue-hi); outline-offset: 2px; }
.pill { min-width: 22px; height: 20px; padding: 0 7px; border-radius: 10px; background: var(--bg-4); color: var(--tx-1); font-size: 12px; display: inline-grid; place-items: center; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--tx-2); background: var(--bg-2); white-space: nowrap; }
.tag.blue { color: var(--blue-hi); border-color: var(--blue-line); background: var(--blue-fill); }
.tag.ok { color: var(--ok); border-color: rgba(111, 194, 143, 0.4); background: var(--ok-bg); }
.tag.warn { color: var(--warn); border-color: rgba(224, 176, 96, 0.4); background: var(--warn-bg); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 15px; height: 15px; fill: var(--bg-4); stroke: none; }
.stars svg.on { fill: var(--warn); }
.stars svg.half { fill: var(--warn); opacity: 0.55; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(14, 14, 14, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.04em; font-size: 15px; }
.logo b { color: var(--blue-hi); font-weight: 800; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--tx-2); font-size: 14px; font-weight: 500; transition: color var(--dur); }
.nav-links a:hover, .nav-links a.on { color: var(--tx-1); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; }
.sale-bar { background: var(--warn-bg); border-bottom: 1px solid rgba(224, 176, 96, 0.3); color: var(--warn); font-size: 13.5px; padding: 8px 0; text-align: center; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 72px 0 40px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; font-weight: 800; }
.lead { color: var(--tx-2); font-size: 17px; max-width: 540px; margin: 20px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin: 40px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats dt { font-size: 24px; font-weight: 700; }
.hero-stats dd { margin: 2px 0 0; color: var(--tx-3); font-size: 13px; }
.showcase { border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-1); overflow: hidden; }
.show-stage { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); cursor: pointer; }
.show-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms; }
.show-stage img.on { opacity: 1; }
.show-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.show-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.show-info b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show-dots { display: flex; gap: 6px; }
.show-dots button { width: 22px; height: 4px; border-radius: 2px; border: 0; background: var(--bg-4); cursor: pointer; padding: 0; transition: background var(--dur); }
.show-dots button.on { background: var(--blue); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 8px 0 24px; }
.trust > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); }
.trust-ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-fill); color: var(--blue-hi); }
.trust b { font-size: 14px; }
.trust small { color: var(--tx-3); font-size: 12.5px; }

/* sections */
.section { padding: 52px 0; }
.section > h2, .section-head h2 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head p { margin: 0; }
.tools { display: flex; gap: 10px; }
.input { height: 40px; width: 240px; padding: 0 14px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--bg-1); color: var(--tx-1); font: inherit; font-size: 14px; }
.input::placeholder { color: var(--tx-3); }
.select { position: relative; }
.select-btn { height: 40px; min-width: 180px; padding: 0 12px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--bg-1); cursor: pointer; font-size: 14px; }
.select-btn svg { width: 12px; height: 12px; color: var(--tx-3); transition: transform var(--dur); }
.select.open .select-btn svg { transform: rotate(180deg); }
.select-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 100%; list-style: none; margin: 0; padding: 4px; border-radius: var(--r-2); background: var(--bg-2); border: 1px solid var(--line-2); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity var(--dur), transform var(--dur); }
.select.open .select-menu { opacity: 1; transform: none; pointer-events: auto; }
.select-menu li { padding: 8px 10px; border-radius: var(--r-1); font-size: 14px; color: var(--tx-2); cursor: pointer; white-space: nowrap; }
.select-menu li:hover { background: var(--bg-3); color: var(--tx-1); }
.select-menu li.on { color: var(--blue-hi); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { height: 36px; padding: 0 15px; border-radius: 18px; border: 1px solid var(--line-2); background: transparent; color: var(--tx-2); cursor: pointer; font-size: 13.5px; font-weight: 500; transition: all var(--dur); }
.chip:hover { color: var(--tx-1); border-color: var(--tx-3); }
.chip.on { color: var(--blue-hi); border-color: var(--blue-line); background: var(--blue-fill); }
.chip .n { color: var(--tx-3); margin-left: 7px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: border-color var(--dur), transform var(--dur); }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms; }
.card:hover .thumb img { transform: scale(1.03); }
.thumb .tags { position: absolute; left: 10px; top: 10px; }
.thumb .tag { background: rgba(14, 14, 14, 0.88); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 16.5px; font-weight: 650; }
.card-body p { margin: 0; color: var(--tx-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 19px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.price small { font-size: 13px; color: var(--tx-3); font-weight: 600; }
.price s, .pd-price s { color: var(--tx-3); font-size: 13.5px; font-weight: 500; }
.add { width: 38px; height: 38px; border-radius: var(--r-2); border: 1px solid var(--blue-line); background: var(--blue-fill); color: var(--blue-hi); cursor: pointer; display: grid; place-items: center; transition: background var(--dur); }
.add:hover { background: rgba(91, 143, 217, 0.22); }
.add.in { border-color: rgba(111, 194, 143, 0.5); background: var(--ok-bg); color: var(--ok); }
.empty { text-align: center; padding: 40px 0; }

/* bundles + subscriptions */
.bundles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.bundle { display: grid; grid-template-columns: 0.95fr 1fr; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); overflow: hidden; transition: border-color var(--dur); }
.bundle:hover { border-color: var(--line-2); }
.bundle-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bg-0); }
.bundle-imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; display: block; }
.bundle-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bundle-body p { margin: 0; font-size: 13.5px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--tx-2); }
.ticks .ic { width: 15px; height: 15px; color: var(--blue-hi); }
.bundle-body .row:last-child { margin-top: auto; }
.subs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 820px; }
.sub { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); }
.sub.featured { border-color: var(--blue-line); }
.sub-flag { position: absolute; right: 18px; top: 18px; }
.sub h3 { font-size: 18px; }
.sub-price { font-size: 34px; font-weight: 800; }
.sub-price small { font-size: 14px; color: var(--tx-3); font-weight: 600; margin-left: 4px; }
.sub p { margin: 0; font-size: 14px; }
.sub .btn { margin-top: auto; }

/* features, faq, cta */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.features article { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); }
.features h3 { font-size: 16px; margin-bottom: 8px; }
.features h3::before { content: ''; display: block; width: 24px; height: 2px; background: var(--blue); margin-bottom: 14px; }
.features p { margin: 0; color: var(--tx-2); font-size: 14px; }
.faq { margin-top: 22px; display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); }
.faq summary { padding: 16px 18px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--tx-3); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; color: var(--blue-hi); }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--tx-2); }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); }
.cta p { margin: 4px 0 0; }

/* product page */
.product-page { padding: 26px 0 40px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--tx-3); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--tx-1); }
.pd { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
.pd-main { aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-1); cursor: zoom-in; }
.pd-main img, .pd-main iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.pd-thumbs button { aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--bg-2); cursor: pointer; opacity: 0.7; transition: opacity var(--dur), border-color var(--dur); display: grid; place-items: center; }
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumbs button.on, .pd-thumbs button:hover { opacity: 1; border-color: var(--blue-line); }
.pd-thumbs .video .ic { width: 26px; height: 26px; color: var(--blue-hi); }
.pd-buy { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-1); }
.pd-buy h1 { font-size: 30px; font-weight: 800; }
.pd-buy p { margin: 0; font-size: 14.5px; }
.pd-rating { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.pd-price { font-size: 32px; font-weight: 800; display: flex; align-items: baseline; gap: 10px; }
.pd-price small { font-size: 15px; color: var(--tx-3); font-weight: 600; }
.pd-ticks { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-s { font-size: 12px; color: var(--tx-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 12px; }
.pd-tabs { display: flex; gap: 4px; margin-top: 44px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pd-tabs button { padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--tx-2); font-weight: 600; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.pd-tabs button:hover { color: var(--tx-1); }
.pd-tabs button.on { color: var(--tx-1); border-bottom-color: var(--blue); }
.pd-panel { padding: 26px 0 8px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat-grid article { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); }
.feat-grid h3 { display: flex; align-items: center; gap: 9px; font-size: 15px; margin-bottom: 6px; }
.feat-grid h3 .ic { width: 16px; height: 16px; color: var(--blue-hi); }
.feat-grid p { margin: 0; color: var(--tx-2); font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tx-3); background: var(--bg-1); }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.rev-sum { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 18px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.review { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-1); display: flex; flex-direction: column; gap: 8px; }
.review p { margin: 0; color: var(--tx-2); font-size: 14px; }
.empty-box { padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r-card); text-align: center; display: grid; justify-items: center; gap: 10px; }
.empty-box p { margin: 0; max-width: 520px; }
.notfound { padding: 80px 0; display: grid; gap: 14px; justify-items: start; }

/* legal */
.legal { max-width: 820px; padding: 48px 0 60px; }
.legal h1 { font-size: 36px; margin-bottom: 6px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p { color: var(--tx-2); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 26px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tx-3); }
.foot-grid a:not(.logo) { display: block; color: var(--tx-2); font-size: 14px; padding: 3px 0; }
.foot-grid a:not(.logo):hover { color: var(--tx-1); }
.foot-grid p { margin: 12px 0 0; max-width: 300px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--line); }

/* overlays */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.6); display: grid; place-items: stretch end; animation: fade var(--dur); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.drawer { width: min(420px, 100vw); height: 100%; background: var(--bg-1); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; animation: slide 240ms; }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-list { flex: 1; overflow: auto; padding: 8px 20px; }
.line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 72px; height: 40px; border-radius: var(--r-1); object-fit: cover; flex: none; background: var(--bg-3); }
.line-name { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.line-name b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-name small { color: var(--tx-3); font-size: 12px; }
.line-price { font-weight: 600; font-size: 14px; }
.line-rm { border: 0; background: none; color: var(--tx-3); cursor: pointer; padding: 4px; }
.line-rm:hover { color: var(--bad); }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; font-size: 17px; }
.auth-links { display: grid; gap: 8px; margin-top: 8px; }
.x { width: 34px; height: 34px; border-radius: var(--r-2); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; display: grid; place-items: center; }
.x:hover { background: var(--bg-3); }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; border: 1px solid var(--line-2); }
.lightbox .x { position: absolute; right: 18px; top: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; padding: 12px 16px; border-radius: var(--r-2); background: var(--bg-3); border: 1px solid var(--line-2); font-size: 14px; animation: rise 200ms; max-width: calc(100vw - 32px); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 32px; }
  .pd { grid-template-columns: 1fr; }
  .pd-buy { position: static; }
  .bundles { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--bg-0); border-bottom: 1px solid var(--line); padding: 8px 16px; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  body.menu-open .nav-links { display: flex; }
  .menu-btn { display: inline-flex; }
  .hide-sm { display: none; }
  .features, .feat-grid { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; }
  .tools { width: 100%; }
  .input { flex: 1; width: auto; min-width: 0; }
  .select-btn { min-width: 0; }
  .hero-stats { gap: 24px; }
  .trust { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .pd-buy h1 { font-size: 26px; }
}

/* hero banner (big framed product thumbnail, text over it) */
.hero-banner { padding: 22px 0 18px; }
.hb { position: relative; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--bg-1); aspect-ratio: 12 / 5; min-height: 460px; }
.hb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, 0.9) 0%, rgba(14, 14, 14, 0.55) 38%, rgba(14, 14, 14, 0) 50%); pointer-events: none; }
.hb-text { position: absolute; z-index: 1; left: 48px; top: 50%; transform: translateY(-50%); max-width: 520px; }
.hb-text h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; font-weight: 800; }
.hb-text .lead { margin: 16px 0 24px; }
.hb-stats { display: flex; gap: 32px; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.hb-stats dt { font-size: 20px; font-weight: 700; }
.hb-stats dd { margin: 0; color: var(--tx-3); font-size: 12.5px; }

/* separate pages */
.page { padding: 40px 0 20px; }
.page-head { max-width: 760px; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-head .lead { margin: 14px 0 0; }
.bundle { grid-template-columns: 1.05fr 1fr; }
.bundle-img { display: grid; place-items: center; background: #121212; }
.bundle-img { display: grid; place-items: center; background: #121212; }
.bundle-img img { width: 100%; height: 100%; object-fit: contain; display: block; aspect-ratio: 16 / 9; }
.chip.link { display: inline-flex; align-items: center; color: var(--blue-hi); border-style: dashed; }

@media (max-width: 1000px) {
  .hb { aspect-ratio: auto; min-height: 0; }
  .hb-img { position: static; display: block; aspect-ratio: 12 / 5; }
  .hb::after { display: none; }
  .hb-text { position: static; transform: none; padding: 26px 22px 6px; max-width: none; }
  .hb-stats { flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
}

/* top picks */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pick { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); overflow: hidden; transition: border-color var(--dur), transform var(--dur); }
.pick:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pick-img { aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-body { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; flex: 1; flex-wrap: wrap; }
.pick-n { font-size: 13px; font-weight: 800; color: var(--tx-3); border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 8px; }
.pick-body h3 { font-size: 18px; }
.pick-body p { margin: 4px 0 0; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-foot { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: auto; }

/* bundles + subscriptions pages: neutral, no blue */
.mono .eyebrow { color: var(--tx-3); }
.mono .btn.primary { background: #f2f2f2; border-color: #f2f2f2; color: #111; }
.mono .btn.primary:hover { background: #fff; }
.mono .ticks .ic { color: var(--tx-2); }
.save { font-size: 12px; font-weight: 700; color: #111; background: #e6e6e6; padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.bundles2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bundle2 { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-1); overflow: hidden; transition: border-color var(--dur), transform var(--dur); }
.bundle2:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.bundle2-img { aspect-ratio: 16 / 9; background: #111; border-bottom: 1px solid var(--line); }
.bundle2-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bundle2-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bundle2-body h3 { font-size: 20px; }
.bundle2-body p { margin: 0; font-size: 14px; }
.bundle2-items { display: flex; flex-wrap: wrap; gap: 6px; }
.bundle2-items span { font-size: 12.5px; color: var(--tx-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 4px 11px; }
.bundle2-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.subs2 { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; }
.sub2 { display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-1); transition: border-color var(--dur); }
.sub2:hover { border-color: rgba(255, 255, 255, 0.2); }
.sub2.featured { border-color: rgba(255, 255, 255, 0.32); background: #181818; }
.sub2 h3 { font-size: 19px; }
.sub2-price { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.sub2-price small { font-size: 15px; color: var(--tx-3); font-weight: 600; margin-left: 6px; }
.sub2 p { margin: 0; font-size: 14px; }
.sub2 .btn { margin-top: auto; }
@media (max-width: 1000px) {
  .picks { grid-template-columns: 1fr; }
  .pick { flex-direction: row; }
  .pick-img { width: 42%; flex: none; aspect-ratio: 16 / 10; }
  .pick-body { padding: 14px 16px; }
  .bundles2, .subs2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pick { flex-direction: column; }
  .pick-img { width: 100%; aspect-ratio: 16 / 9; }
}

/* works with */
.works { padding: 30px 0 10px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.works-head h2 { font-size: 22px; margin-bottom: 8px; }
.works-head p { margin: 0; font-size: 14px; }
.works-list { display: flex; flex-wrap: wrap; gap: 8px; }
.works-list span { font-size: 12.5px; font-family: ui-monospace, 'Cascadia Code', monospace; color: var(--tx-2); border: 1px solid var(--line-2); background: var(--bg-1); border-radius: 7px; padding: 5px 10px; }
.works-list .works-custom { color: var(--tx-1); border-style: dashed; font-family: inherit; }
@media (max-width: 1000px) { .works { grid-template-columns: 1fr; } }
