/* Plantain Prompts: dark, minimal. */
:root {
  --bg: #0e0e0f;
  --panel: #18181a;
  --panel-2: #222225;
  --line: #2c2c30;
  --text: #f3f3f2;
  --soft: #c8c8cb;
  --muted: #9a9aa1;
  --faint: #8a8a93;
  --swap: #e8d969;           /* butter yellow, from the logo kit */
  --swap-ink: #191606;
  --radius: 14px;
  --side: 272px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: clip;
  font: 15px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--swap); outline-offset: 2px; }
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--swap); color: var(--swap-ink); font-size: 13px; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.center { text-align: center; margin: 28px 0 8px; }
[hidden] { display: none !important; }

/* ── Top bar ───────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40; height: 60px; display: flex; align-items: center; gap: 22px;
  padding: 0 16px; background: rgba(14, 14, 15, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.2px; white-space: nowrap; }
.brand img { width: auto; height: 26px; display: block; }
.brand-tag { font-size: 13px; color: var(--muted); white-space: nowrap; margin-left: -8px; padding-left: 14px; border-left: 1px solid var(--line); line-height: 18px; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-search { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 999px; background: none; color: var(--soft); cursor: pointer; }
.nav-search:hover { background: var(--panel); color: var(--text); }
.nav-item {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px;
  background: none; color: var(--soft); font-size: 14px; font-weight: 500; cursor: pointer;
}
.nav-item:hover, .nav-item.on, .dd.open > .nav-item { color: var(--text); background: var(--panel); }
.nav-item svg { transition: transform .15s; }
.dd { position: relative; }
.dd.open > .nav-item svg { transform: rotate(180deg); }
.dd-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; padding: 6px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.dd-panel.narrow { min-width: 190px; }
.dd-panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--soft); }
.dd-panel a:hover { background: var(--panel-2); color: var(--text); }
.dd-panel .n { font-size: 11px; color: var(--faint); }
.dd-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 6px; margin-left: -6px; cursor: pointer; }

/* Search pop-up under the top bar */
.search-pop {
  position: fixed; z-index: 45; top: 68px; left: 50%; transform: translateX(-50%); width: min(640px, calc(100vw - 32px));
  padding: 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
.quick-results:empty { display: none; }
.quick-results { margin-top: 8px; display: grid; gap: 2px; }
.quick-results a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; font-size: 14px; color: var(--soft); }
.quick-results a:hover, .quick-results a.sel { background: var(--panel-2); color: var(--text); }
.quick-results img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.quick-results .m { margin-left: auto; font-size: 11px; color: var(--faint); }
.quick-results .all { justify-content: center; font-size: 13px; color: var(--muted); }

/* ── Layout: sidebar + main ────────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 12px; padding: 8px 16px 48px; }
.sidebar {
  position: sticky; top: 68px; align-self: start; max-height: calc(100vh - 80px); overflow-y: auto;
  background: var(--panel); border-radius: 18px; padding: 22px 20px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
main { min-width: 0; padding: 4px 0 0 14px; }

/* Your product */
.product-box label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.product-field { position: relative; }
.product-field input {
  width: 100%; height: 40px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 14px; outline: none;
}
.product-field input:focus { border-color: var(--swap); }
.product-field input::placeholder { color: var(--faint); }
.clear-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 6px;
  background: none; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
}
.clear-btn:hover { color: var(--text); background: var(--panel-2); }
.product-box p { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.swap-mini { color: var(--swap); }

/* Sidebar navigation */
.nav-group { margin-top: 24px; }
.nav-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
a.nav-label:hover { color: var(--text); }
.nav-link { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; font-size: 15px; font-weight: 500; letter-spacing: -.1px; color: var(--text); }
.nav-link .n { font-size: 10px; color: var(--faint); font-weight: 400; }
.nav-link:hover { color: #fff; }
.nav-link.on { color: var(--swap); }
.nav-link.small { font-size: 14px; font-weight: 400; color: var(--soft); }
.nav-group.top .nav-link { font-size: 16px; }
.nav-group details summary { list-style: none; cursor: pointer; font-size: 12px; color: var(--muted); padding: 3px 0; display: inline-flex; gap: 4px; align-items: center; }
.nav-group details summary::-webkit-details-marker { display: none; }
.nav-group details summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.3px 1.3px 0; transform: rotate(45deg) translate(-2px, -1px); }
.nav-group details[open] summary { display: none; }
.side-mobile { display: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); margin-right: 2px; }
.side-foot { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.side-foot a:hover { color: var(--text); }

/* ── Buttons, chips, search bars ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn.primary:hover { background: #fff; }
.btn.big { height: 46px; padding: 0 22px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--soft); cursor: pointer; }
a.chip:hover, button.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.hub { border-color: rgba(232, 217, 105, .45); color: var(--swap); background: rgba(232, 217, 105, .06); }
.chip.hub:hover { border-color: var(--swap); color: var(--swap); }

.searchbar {
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 7px 0 20px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: border-color .15s, box-shadow .15s;
}
.searchbar:focus-within { border-color: rgba(232, 217, 105, .6); box-shadow: 0 0 0 4px rgba(232, 217, 105, .08), 0 10px 40px rgba(0, 0, 0, .35); }
.searchbar svg { color: var(--muted); flex: none; }
.searchbar input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--text); font-size: 16px; }
.searchbar input::placeholder { color: var(--faint); }
.searchbar input::-webkit-search-cancel-button { filter: invert(.6); }
.searchbar .btn { height: 46px; padding: 0 22px; }
.searchbar.compact { height: 52px; box-shadow: none; }
.searchbar.compact .btn { height: 40px; }

/* ── Home hero ─────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 40px 0 0; margin-bottom: 8px; }
.hero-kicker { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--soft); background: var(--panel); }
.hero h1 { margin: 0 auto; max-width: 820px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; font-weight: 600; letter-spacing: -1.6px; }
.hero-sub { margin: 14px 0 0; font-size: clamp(18px, 2vw, 22px); color: var(--soft); letter-spacing: -.3px; }
.hero-text { margin: 12px auto 0; max-width: 600px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.hero-search { max-width: 640px; margin: 28px auto 0; }
.suggest { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--faint); }
.suggest span { margin-right: 2px; }
.hl { background: var(--swap); color: var(--swap-ink); border-radius: 7px; padding: 0 7px; font-weight: 500; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-pics { position: relative; height: 400px; margin-top: 44px; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #1d1d20 0%, var(--panel) 45%, var(--bg) 100%); }
.hp { position: absolute; bottom: -34px; left: 50%; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp0 { width: 330px; height: 330px; z-index: 5; transform: translateX(-50%); }
.hp1 { width: 270px; height: 270px; z-index: 4; transform: translateX(calc(-50% - 250px)); opacity: .92; }
.hp2 { width: 270px; height: 270px; z-index: 4; transform: translateX(calc(-50% + 250px)); opacity: .92; }
.hp3 { width: 220px; height: 220px; z-index: 3; transform: translateX(calc(-50% - 450px)); opacity: .7; }
.hp4 { width: 220px; height: 220px; z-index: 3; transform: translateX(calc(-50% + 450px)); opacity: .7; }
.hero-pics:hover .hp0 { transform: translateX(-50%) translateY(-8px); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 56px 0 18px; }
.section-head h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.4px; }
.more-link { font-size: 13px; color: var(--muted); }
.more-link:hover { color: var(--text); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cat-card { position: relative; display: block; padding: 12px; border-radius: 18px; background: var(--panel); border: 1px solid transparent; transition: border-color .15s; }
.cat-card:hover { border-color: var(--line); }
.cat-thumbs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 160px; }
.cat-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.cat-thumbs img:first-child { grid-row: 1 / 3; }
.cat-thumbs img:only-child { grid-column: 1 / 3; }
.cat-text h3 { margin: 12px 0 2px; font-size: 15px; font-weight: 500; }
.cat-text p { margin: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
.cat-card .n { position: absolute; right: 14px; bottom: 14px; font-size: 11px; color: var(--faint); }

/* ── Page heading, breadcrumbs ─────────────────────────────────────────── */
.crumbs { font-size: 12px; color: var(--muted); margin: 14px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--text); }
.crumbs span:last-child:not(.sep) { color: var(--soft); }
.crumbs .sep { color: var(--faint); }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin: 10px 0 30px; }
.page-head h1 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -.5px; }
.page-head h1 > span { display: block; color: var(--muted); }
.page-head p { margin: 0; max-width: 480px; font-size: 13px; line-height: 1.55; color: var(--muted); text-align: right; }
.browse-search { max-width: 640px; margin: -8px 0 26px; }
.result-note { font-size: 13px; color: var(--muted); margin: -12px 0 16px; min-height: 1px; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 12px; }
.card { display: block; min-width: 0; }
.card .ph { border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 1; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .ph img { transform: scale(1.035); }
.card .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 9px; font-size: 13px; }
.card .cap .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .cap .m { font-size: 11px; color: var(--faint); white-space: nowrap; }
.empty { color: var(--muted); font-size: 14px; padding: 40px 0; }

/* ── Prompt page ───────────────────────────────────────────────────────── */
.pp-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr); gap: 34px; align-items: start; margin-top: 6px; }
.pp-media { border-radius: 20px; overflow: hidden; background: var(--panel); position: sticky; top: 76px; }
.pp-media img { display: block; width: 100%; height: auto; }
.pp-side .crumbs { margin-top: 2px; }
.pp-side h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.7px; }
.lede { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--soft); }
.specs { margin: 0 0 18px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 500; }
.cta-box { padding: 16px; border-radius: 16px; border: 1px solid rgba(232, 217, 105, .35); background: rgba(232, 217, 105, .05); text-align: center; margin-bottom: 16px; }
.btn.cta { width: 100%; height: 50px; background: var(--swap); border-color: var(--swap); color: var(--swap-ink); font-size: 15px; }
.btn.cta:hover { background: #f3e283; }
.cta-box p { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.pp-side .chips { margin-bottom: 14px; }
.share { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--soft); font-size: 12px; font-weight: 500; cursor: pointer; }
.pill:hover { color: var(--text); border-color: var(--muted); }

.pp-section { margin-top: 44px; max-width: 980px; }
.pp-section h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -.5px; scroll-margin-top: 80px; }
.pp-section h3 { margin: 28px 0 10px; font-size: 16px; font-weight: 600; }
.pp-section p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--soft); }
.try-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--faint); }
.try-row span { margin-right: 2px; }
.chip.try.on { border-color: var(--swap); color: var(--swap); }
.spec-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.spec-card { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.spec-card .k { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--swap); }
.spec-card .v { font-size: 15px; font-weight: 500; }
.spec-card .v a:hover, .spec-card .sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
.spec-card .sub { font-size: 12px; color: var(--muted); }
.swatches { display: flex; gap: 5px; margin: 2px 0; }
.sw { width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .12); }
.tips { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--soft); }
.tips li { margin-bottom: 8px; }
.tips strong { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.tools { width: 100%; border-collapse: collapse; font-size: 14px; }
.tools th { text-align: left; font-weight: 600; padding: 12px 14px; background: var(--panel); color: var(--text); }
.tools td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--soft); vertical-align: top; }
.tools td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }
code { background: var(--panel-2); border-radius: 5px; padding: 1px 5px; font-size: .9em; }

.get-prompt {
  margin-top: 40px; padding: 26px; border-radius: 22px; scroll-margin-top: 80px;
  border: 1px solid rgba(232, 217, 105, .45); background: linear-gradient(180deg, rgba(232, 217, 105, .07), rgba(232, 217, 105, .02) 60%, transparent);
}
.gp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.gp-head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.gp-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 3px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--swap); }
.gp-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.4px; }
.prompt-box { background: var(--panel); border-radius: 16px; padding: 18px; }
.prompt-text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--soft); }
.swap { background: var(--swap); color: var(--swap-ink); border-radius: 6px; padding: 1px 6px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.prompt-tools { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.prompt-tools .product-field { flex: 1; }
.prompt-tools .product-field input { height: 46px; }
.how { margin: 16px 2px 0; padding: 0; list-style: none; counter-reset: s; font-size: 13px; line-height: 1.5; color: var(--muted); }
.how li { counter-increment: s; display: flex; gap: 8px; margin-top: 5px; }
.how li::before { content: counter(s); flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--panel-2); color: var(--soft); font-size: 10px; display: grid; place-items: center; transform: translateY(1px); }

/* ── Ads ───────────────────────────────────────────────────────────────── */
.ad { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 12px; background: var(--panel); }
.ad-label { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.ad.wide { grid-column: 1 / -1; margin: 30px 0 0; }
.grid .ad.wide { margin: 0; }
.ad.placeholder .ad-box { height: 110px; border: 1px dashed var(--line); border-radius: 10px; display: grid; place-items: center; font-size: 12px; color: var(--faint); }
.pp-side .ad.placeholder .ad-box { height: 250px; }

/* ── Text pages, blog, sitemap ─────────────────────────────────────────── */
.prose { max-width: 720px; font-size: 15px; line-height: 1.75; color: var(--soft); }
.prose.wide { max-width: none; }
.prose h1 { font-size: 30px; font-weight: 600; letter-spacing: -.7px; color: var(--text); line-height: 1.2; margin: 6px 0 18px; }
.prose h2 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; color: var(--text); margin: 36px 0 8px; scroll-margin-top: 80px; }
.prose h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 26px 0 6px; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--text); }
.prose a.btn { text-decoration: none; color: var(--bg); }
.prose .swap { font-size: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.post-date { margin: -10px 0 26px; font-size: 13px; color: var(--muted); }
.post-cta { margin-top: 36px; }
.post-list { display: grid; gap: 10px; max-width: 820px; }
.post-row { display: block; padding: 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid transparent; }
.post-row:hover { border-color: var(--line); }
.post-row .date { font-size: 12px; color: var(--muted); }
.post-row h2 { margin: 4px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.post-row p { margin: 0; font-size: 14px; color: var(--soft); }
.sm-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sm-list.cols { display: block; columns: 3 220px; column-gap: 28px; }
.sm-list.cols li { break-inside: avoid; margin-bottom: 4px; }
.sm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 28px; }
.sm-block h3 { margin: 14px 0 4px; }
.sm-block ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }

.foot { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 12px; color: var(--faint); }
.foot a:hover, .foot-btn:hover { color: var(--text); }
.foot-btn { background: none; border: 0; padding: 0; color: var(--faint); font-size: 12px; cursor: pointer; }

/* ── Jump links, FAQs, bylines, saved bar & cookie consent ─────────────── */
.jump-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 18px 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.jump-nav span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--swap); font-weight: 600; }
.jump-nav a { color: var(--soft); text-decoration: none; }
.jump-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.pill.on { border-color: var(--swap); color: var(--swap); background: rgba(232, 217, 105, .08); }
.faq-list { display: grid; gap: 8px; margin-top: 12px; max-width: 980px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 0 16px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); flex: none; }
.faq-item[open] summary::after { content: "−"; color: var(--swap); }
.faq-a { padding: 12px 0 14px; font-size: 14px; line-height: 1.7; color: var(--soft); border-top: 1px solid var(--line); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -8px 0 24px; font-size: 13px; color: var(--muted); }
.byline a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.author-box { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.author-box h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.author-box p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--soft); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
.consent-bar {
  position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(760px, calc(100vw - 24px)); padding: 14px 18px; border-radius: 16px;
  background: rgba(24, 24, 26, .97); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .65);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
}
.consent-bar p { margin: 0; flex: 1 1 360px; font-size: 13px; line-height: 1.5; color: var(--soft); }
.consent-bar p a { color: var(--swap); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-actions .btn { height: 36px; padding: 0 14px; font-size: 12px; }
.notfound-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 22px 0 32px; }
.nf-card { display: block; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.nf-card:hover { border-color: var(--muted); }
.nf-card strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.nf-card span { font-size: 12px; color: var(--muted); }

/* ── Smaller screens ───────────────────────────────────────────────────── */
@media (max-width: 1240px) { .brand-tag { display: none; } }
@media (max-width: 1180px) {
  .hp3, .hp4 { display: none; }
  .pp-top { grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr); gap: 26px; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
  .nav-search { width: 44px; height: 44px; }
  .mainnav .nav-item, .mainnav .dd { display: none; }
  .brand img { height: 22px; }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 6px 16px 40px; }
  main { padding: 0; }
  .sidebar {
    position: fixed; z-index: 35; top: 60px; left: 0; bottom: 0; width: min(320px, 86vw); max-height: none; border-radius: 0 18px 0 0;
    transform: translateX(-102%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(0, 0, 0, .5);
  }
  .nav-open .sidebar { transform: none; }
  .side-mobile { display: block; margin-top: 22px; padding-bottom: 6px; }
  .side-mobile .nav-label { margin-top: 16px; }
  .side-mobile .nav-link, .sidebar .nav-link { min-height: 44px; align-items: center; }
  .scrim { position: fixed; inset: 60px 0 0 0; z-index: 30; background: rgba(0, 0, 0, .5); }
  .product-field input { height: 44px; font-size: 16px; padding-right: 42px; }
  .clear-btn { width: 38px; height: 38px; right: 3px; }
  .pill, .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .consent-actions .btn { min-height: 44px; padding: 0 16px; font-size: 13px; }
  .hero { padding-top: 22px; }
  .hero h1 { letter-spacing: -1px; }
  .searchbar { height: 54px; padding-left: 16px; }
  .searchbar .btn { height: 44px; padding: 0 16px; }
  .hero-pics { height: 250px; margin-top: 32px; }
  .hp0 { width: 210px; height: 210px; }
  .hp1, .hp2 { width: 170px; height: 170px; }
  .hp1 { transform: translateX(calc(-50% - 150px)); }
  .hp2 { transform: translateX(calc(-50% + 150px)); }
  .section-head { margin-top: 40px; }
  .page-head { flex-direction: column; gap: 10px; margin: 6px 0 22px; }
  .page-head p { text-align: left; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .pp-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pp-media { position: static; }
  .pp-side h1 { font-size: 26px; }
  .prompt-tools { flex-wrap: wrap; }
  .prompt-tools .product-field { flex-basis: 100%; }
  .prompt-tools .btn { width: 100%; min-height: 46px; }
  .get-prompt { padding: 18px; }
}
@media (max-width: 480px) {
  .searchbar .btn { display: none; }
  .hp1, .hp2 { opacity: .5; }
}
