:root {
  --ink: #0a0a0a; --ink-2: #4b5563; --ink-3: #9ca3af; --line: #ececf0; --bg: #ffffff; --soft: #f5f6f8;
  --blue: #3b82f6; --blue-2: #2563eb; --blue-soft: #e8f0fe; --green: #059669; --green-soft: #e7f7ef;
  --r-lg: 28px; --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(10,10,10,.04), 0 8px 24px rgba(10,10,10,.06);
  --shadow-lg: 0 24px 60px rgba(10,10,10,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i.big { width: 26px; height: 26px; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled, .is-inner .top { border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 14px; height: 70px; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; flex-shrink: 0; }
.logo svg { width: 36px; height: 36px; }
.logo b { color: var(--blue); font-weight: 800; }
.ibtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: none; flex-shrink: 0; }
.ibtn:hover { background: var(--soft); }
.ibtn .i { width: 22px; height: 22px; }
.menu-btn { display: none; }
.seg { margin: 0 auto; display: flex; gap: 4px; background: var(--soft); padding: 5px; border-radius: 999px; }
.seg a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 22px; border-radius: 999px; color: var(--ink); }
.seg a[aria-current="page"] { background: var(--act); color: #fff; }
.seg a:not([aria-current]):hover { background: #e9ebef; }
.cat-icons { display: flex; gap: 4px; }
.cat-icons a { transition: background .2s ease, color .2s ease; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.cat-icons a:hover, .cat-icons a.on { background: var(--act); color: #fff; }
.top-search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 10px; height: 46px; border: 0; background: var(--soft); border-radius: 999px; padding: 0 16px; color: var(--ink-3); font-size: 14px; text-align: left; }
.top-search:hover { background: #eef0f3; }
.top-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-home .top-search { opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 0; padding: 0; }
.is-home .top.scrolled .top-search { opacity: 1; pointer-events: auto; max-width: 420px; padding: 0 16px; }
.is-home .top.scrolled .seg { display: none; }
.is-home .top.scrolled .top-search { margin-left: auto; }
.btn-blue { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-blue:hover { background: var(--blue-2); }
@media (max-width: 1080px) { .cat-icons { display: none; } .is-inner .top-search { margin-left: auto; } }
@media (max-width: 860px) {
  .menu-btn { display: grid; } .seg { display: none; } .btn-blue { display: none; }
  .logo { font-size: 18px; } .logo svg { width: 32px; height: 32px; }
  .top-search { margin-left: auto; max-width: 46px !important; padding: 0 !important; justify-content: center; opacity: 1 !important; pointer-events: auto !important; }
  .top-search span { display: none; }
}

/* Floating rail (home) */
.rail { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 35; display: flex; flex-direction: column; gap: 6px; padding: 10px 8px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); }
.rail a { transition: background .22s ease, color .22s ease, transform .22s cubic-bezier(.22,1,.36,1); position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.rail a .i { width: 21px; height: 21px; }
.rail a:hover, .rail a.on { background: var(--ink); color: #fff; transform: scale(1.06); }
.rail .tip { display: none; }
@media (max-width: 859px) { .rail { display: none; } }
@media (min-width: 860px) and (max-width: 1420px) { .is-home main .wrap { padding-left: 96px; } }

/* Mega menu */
.mega { visibility: hidden; opacity: 0; transform: translateX(-12px) scale(.98); transform-origin: left top; pointer-events: none;
  transition: opacity .22s ease, transform .34s cubic-bezier(.22,1,.36,1), top .34s cubic-bezier(.22,1,.36,1), left .34s cubic-bezier(.22,1,.36,1), visibility 0s linear .34s; will-change: transform, opacity; }
.mega.from-top { transform: translateY(-10px) scale(.98); transform-origin: top center; }
.mega.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.mega.snap { transition: opacity .22s ease, transform .34s cubic-bezier(.22,1,.36,1), visibility 0s; }
.mega { position: fixed; z-index: 45; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); width: min(760px, calc(100vw - 120px)); max-height: 70vh; overflow: auto; }
.mega-panel { display: grid; grid-template-columns: 220px 1fr; min-height: 280px; }
.mega-left { padding: 22px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.mega-right { padding: 22px 24px; }
.mega-h { font-weight: 700; font-size: 17px; margin: 0 0 10px; padding-left: 6px; }
.mega-g { transition: background .2s ease, color .2s ease; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; background: none; text-align: left; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.mega-g .i { width: 16px; height: 16px; }
.mega-g:hover { background: var(--soft); }
.mega-g[aria-selected="true"] { background: var(--ink); color: #fff; }
.mega-all { margin-top: auto; padding: 10px 14px; font-weight: 600; color: var(--blue); text-decoration: none; font-size: 14px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega-links a { transition: background .15s ease; text-decoration: none; padding: 9px 8px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.mega-links a:hover { background: var(--soft); }

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,10,.4); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .3s; }
.drawer.open { visibility: visible; opacity: 1; transition-delay: 0s; }
.drawer .drawer-in { transform: translateX(-100%); transition: transform .32s cubic-bezier(.22,1,.36,1); }
.drawer.open .drawer-in { transform: none; }
.drawer-in { width: min(340px, 88vw); height: 100%; background: #fff; overflow-y: auto; padding: 12px 14px 30px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 54px; margin-bottom: 8px; }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 13px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.drawer-link:hover { background: var(--soft); }
.drawer-h { margin: 18px 10px 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.drawer-sub { display: block; padding: 9px 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; }

/* Search overlay */
.search-ov { position: fixed; inset: 0; z-index: 70; background: #fff; overflow-y: auto; }
.search-ov-in { max-width: 980px; margin: 0 auto; padding: 18px 16px 40px; }
.search-ov-bar { display: flex; align-items: center; gap: 10px; }
.search-ov-bar input { flex: 1; height: 56px; border: 0; background: var(--soft); border-radius: 999px; padding: 0 24px; font: inherit; font-size: 17px; outline: none; }
.round-blue { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; flex-shrink: 0; }
.round-blue .i { width: 20px; height: 20px; }
.close-x { background: #e5e7eb; width: 34px; height: 34px; }
.close-x .i { width: 16px; height: 16px; }
.sr-h { font-weight: 700; font-size: 17px; margin: 26px 4px 8px; }
.sr { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; text-decoration: none; }
.sr:hover, .sr.on { background: var(--soft); }
.sr-ph { width: 56px; height: 42px; border-radius: 10px; overflow: hidden; background: var(--soft); flex-shrink: 0; display: grid; place-items: center; color: var(--blue); }
.sr-ph img { width: 100%; height: 100%; object-fit: cover; }
.sr b { display: block; font-size: 15px; font-weight: 600; }
.sr b mark { background: none; color: var(--blue); }
.sr span.s { font-size: 13px; color: var(--ink-2); }
.sr .p { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.sr .p.free { color: var(--green); }
.sr-all { display: flex; align-items: center; gap: 12px; font-weight: 700; padding: 14px 10px; text-decoration: none; }
.sr-all .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--act); color: #fff; }
.sr-all .ico .i { width: 15px; height: 15px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 16px 56px; text-align: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #f3f5f8, #fff); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.85) 70%, #fff); }
.hero-in { position: relative; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; letter-spacing: -0.04em; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); font-weight: 500; margin: 10px 0 28px; }
.hero-search { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 8px 8px 8px 30px; box-shadow: var(--shadow-lg); max-width: 720px; margin: 0 auto; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; height: 56px; background: none; }
.hero-search .round-blue { width: 56px; height: 56px; }

/* Blocks */
.block { padding-top: 40px; }
.h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin-bottom: 16px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; }
.see-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--blue); text-decoration: none; }
.sugg-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.sugg-row::-webkit-scrollbar { display: none; }
.sugg { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; box-shadow: var(--shadow); }
.sugg:hover { border-color: #d6d9df; }
.sugg-ph { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.sugg-ph .ph, .sugg-ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.sugg-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sugg-t b { font-weight: 700; font-size: 16px; }
.sugg-chev { margin-left: auto; color: var(--ink-3); }
.mini { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); width: fit-content; }
.mini.soft { background: var(--blue-soft); color: var(--blue-2); }
.banner { display: block; text-decoration: none; border-radius: var(--r-lg); padding: 34px 32px; color: #fff; background: linear-gradient(110deg, #2563eb, #60a5fa); }
.banner b { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.banner span { display: block; margin-top: 4px; opacity: .92; }
.banner .banner-btn { display: inline-block; margin-top: 16px; background: #4f46e5; padding: 10px 22px; border-radius: 999px; font-weight: 600; opacity: 1; }

/* Tiles */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; padding: 4px 16px 18px; margin: 0 -16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
@media (min-width: 560px) { .track { grid-auto-columns: 45%; } }
@media (min-width: 900px) { .track { grid-auto-columns: calc((100% - 48px) / 4); padding: 4px 0 18px; margin: 0; } }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile-link { position: absolute; inset: 0; z-index: 2; }
.tile-ph { position: relative; aspect-ratio: 4 / 3; background: var(--soft); }
.tile-ph .ph, .tile-ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.95); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.chip-price { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
.chip-price.free { background: var(--green); }
.tile-ph .chip-price { position: absolute; right: 10px; top: 10px; }
.tile-body { padding: 14px 16px 18px; }
.tile h3 { font-size: 17px; font-weight: 700; }
.meta { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; margin: 6px 0; }
.meta .i { width: 14px; height: 14px; }
.sum { margin: 0; color: var(--ink-2); font-size: 14px; }
.ph-empty { display: grid; place-items: center; background: linear-gradient(135deg, #f1f3f6, #e6e9ee); color: #c3c8d1; }
.ph-icon { width: 34%; height: 34%; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* Top list + prose */
.prose p, .prose li { font-size: 17px; color: #1f2937; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); margin: 8px 0 12px; }
.prose a { color: var(--blue-2); }
.toplist { padding-left: 22px; }
.toplist li { margin-bottom: 14px; }
.toplist li a { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--ink); }
.toplist li p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.narrow { max-width: 760px; }

/* List pages (TickPick list style) */
.list-wrap { display: grid; gap: 28px; padding-top: 20px; }
@media (min-width: 1000px) { .list-wrap { grid-template-columns: minmax(0, 1fr) 380px; } }
.crumbs { font-size: 13px; color: var(--ink-3); margin: 18px 0 14px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.fpill { display: inline-flex; align-items: center; white-space: nowrap; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.fpill:hover { border-color: #cfd3da; }
.fpill[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.list-head h1, .page-h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.page-h1 { margin: 6px 0 10px; }
.note { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin: 0; }
.note .i { color: var(--blue); }
.lede { font-size: 18px; color: var(--ink-2); margin: 10px 0 18px; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.row-ph { width: 88px; height: 66px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.row-ph .ph, .row-ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.row-title { font-weight: 700; font-size: 17px; text-decoration: none; }
.row-title:hover { color: var(--blue-2); }
.row-sub { margin: 2px 0 6px; color: var(--ink-2); font-size: 14px; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.pill-btn:hover { background: var(--blue-2); }
.pill-btn.ghost { background: var(--green-soft); color: var(--green); }
@media (max-width: 560px) { .row { grid-template-columns: 70px minmax(0, 1fr); } .row-ph { width: 70px; height: 56px; } .row-cta { grid-column: 2; } }
.list-side { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) { .list-side { position: sticky; top: 90px; align-self: start; padding-top: 74px; } }
.dark-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #111; color: #fff; min-height: 180px; }
.dark-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.dark-in { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; min-height: 180px; }
.dark-in b { font-size: 26px; font-weight: 800; }
.trust { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 20px; }
.trust > div { display: flex; gap: 14px; padding: 16px 0; }
.trust > div + div { border-top: 1px solid var(--line); }
.trust .i.big { background: var(--soft); border-radius: 12px; padding: 7px; width: 40px; height: 40px; }
.trust b { font-weight: 700; }
.trust p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.side-guides { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 14px; }
.side-guides a { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.side-guides a:hover { background: var(--soft); }

/* Item page */
.item-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .item-grid { grid-template-columns: minmax(0, 1fr) 360px; } .item-side { position: sticky; top: 90px; align-self: start; } }
.item-ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.item-ph .ph, .item-ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.credit { font-size: 12px; color: var(--ink-3); margin: 6px 4px 0; }
.credit a { color: var(--ink-3); }
.item-main h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; margin-top: 18px; }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); margin: 10px 0 0; }
.item-meta .i { width: 16px; height: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 6px 0 20px; }
.facts div { background: var(--soft); border-radius: var(--r-sm); padding: 12px 14px; }
.facts dt { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.book-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.book-h { margin: 0 0 4px; font-weight: 700; font-size: 18px; }
.btn-wide { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.btn-wide.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-wide.blue:hover { background: var(--blue-2); }
.btn-wide:not(.blue):hover { border-color: #cfd3da; }
.small { font-size: 12px; color: var(--ink-3); margin: 2px 0 0; }
.sources { margin-top: 30px; padding: 20px 22px; background: var(--soft); border-radius: var(--r); }
.sources h2 { font-size: 18px; margin-bottom: 8px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources li { font-size: 14px; margin: 4px 0; }
.sources a { color: var(--blue-2); }
.checked { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }
.checked .i { color: var(--green); width: 16px; height: 16px; }
.faq { margin-top: 30px; }
.faq h2 { font-size: 22px; margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; 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(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* Guides */
.guide { max-width: 900px; }
.guide-head h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-top: 6px; }
.wx { display: flex; gap: 10px; margin: 16px 0 4px; flex-wrap: wrap; }
.wx div { background: var(--soft); border-radius: var(--r-sm); padding: 10px 16px; }
.wx span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.wx b { font-size: 22px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.guide-card:hover { border-color: #d6d9df; }
.guide-ph { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--soft); }
.guide-ph .ph, .guide-ph .ph-empty { width: 100%; height: 100%; object-fit: cover; }
.guide-card b { font-weight: 700; padding: 0 4px; }
.guide-card .mini { margin-left: 4px; }

/* Footer */
.foot { margin-top: 70px; background: var(--soft); padding: 44px 0 24px; font-size: 14px; }
.foot-grid { display: grid; gap: 26px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid a { display: block; text-decoration: none; color: var(--ink-2); padding: 3px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid .logo { display: flex; color: var(--ink); }
.foot-h { font-weight: 700; margin: 0 0 8px; }
.foot-p { color: var(--ink-2); max-width: 460px; }
.foot-p a { display: inline !important; color: var(--blue-2) !important; }
.foot-copy { color: var(--ink-3); margin-top: 20px; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Motion */
@keyframes megaIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ovIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes barIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega-panel.enter { animation: megaIn .26s cubic-bezier(.22,1,.36,1) both; }
.mega-set.enter { animation: megaIn .22s cubic-bezier(.22,1,.36,1) both; }
.search-ov:not([hidden]) { animation: ovIn .18s ease both; }
.search-ov:not([hidden]) .search-ov-bar { animation: barIn .3s cubic-bezier(.22,1,.36,1) both; }
.search-ov-res .sr, .search-ov-res .sr-h { animation: rowIn .24s cubic-bezier(.22,1,.36,1) both; }
.tile, .sugg, .guide-card, .fpill, .pill-btn, .btn-blue, .btn-wide, .round-blue { transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, background .2s ease, border-color .2s ease; }
.round-blue:hover { transform: scale(1.06); }
.row { transition: opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

/* ===== Brand: desert palette (terracotta, juniper, sand) ===== */
:root {
  --ink: #1c1917; --ink-2: #57534e; --ink-3: #a8a29e; --line: #ede6dd; --bg: #fffaf4; --soft: #f6efe6;
  --blue: #c2410c; --blue-2: #9a3412; --blue-soft: #fdebdc; --green: #2f6b55; --green-soft: #e4f1ea;
  --act: #1f3d36; --act-2: #2c5248; --e: cubic-bezier(.16,1,.3,1);
}
body { background: var(--bg); }
h1, h2, h3, .logo, .h2, .page-h1, .hero h1, .banner b, .dark-in b, .book-h, .mega-h, .row-title, .tile h3, .sugg-t b { font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif; }
.hero h1 { letter-spacing: -0.035em; }
.top { background: rgba(255,250,244,.92); backdrop-filter: saturate(1.3) blur(10px); }
.hero-bg { background: linear-gradient(180deg, #f9e9da, var(--bg)); }
.hero-bg img { opacity: .38; filter: saturate(1.05) sepia(.1); }
.hero-bg::after { background: linear-gradient(180deg, rgba(255,250,244,.5), rgba(255,250,244,.85) 70%, var(--bg)); }
.seg, .top-search, .search-ov-bar input { background: #f3eadf; }
.top-search:hover { background: #efe3d5; }
.seg a:not([aria-current]):hover { background: #eadccb; }
.banner { background: linear-gradient(115deg, #1f3d36 0%, #2c5248 55%, #4b7a62 100%); }
.banner .banner-btn { background: var(--blue); }
.chip-price { background: var(--act); }
.chip-price.free { background: var(--green); }
.pill-btn.ghost { background: var(--green-soft); color: var(--green); }
.mini.soft { background: var(--blue-soft); color: var(--blue-2); }
.dark-card { background: var(--act); }
.foot { background: #f3eadf; }
.tile, .sugg, .guide-card, .book-box, .trust, .side-guides { background: #fff; }
.tile:hover, .sugg:hover, .guide-card:hover { border-color: #e2d3c1; }
:focus-visible { outline-color: #fdba74; }

.mega-g[aria-selected="true"] { background: var(--act); }
.rail a:hover, .rail a.on { background: var(--act); }

/* Main nav on every page; category icons only when there's room */
.is-inner .seg { margin: 0 0 0 8px; }
.is-inner .cat-icons { margin-left: auto; }
.is-inner .top-search { max-width: 300px; }
@media (max-width: 1360px) { .is-inner .cat-icons { display: none; } .is-inner .top-search { margin-left: auto; } }
.seg a { white-space: nowrap; }
.is-inner .seg a { padding: 10px 16px; }
@media (max-width: 1040px) { .is-inner .top-search span { display: none; } .is-inner .top-search { max-width: 46px; padding: 0; justify-content: center; } }

/* ===== Search: frosted glass overlay with a floating panel ===== */
.search-ov { background: rgba(28, 25, 23, .28); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); overflow-y: auto; }
.search-ov-in { max-width: 760px; margin: 72px auto 40px; padding: 14px; background: rgba(255, 250, 244, .9); border: 1px solid rgba(255,255,255,.6); border-radius: 28px; box-shadow: 0 30px 80px rgba(28,25,23,.25); }
.search-ov:not([hidden]) .search-ov-in { animation: panelIn .32s cubic-bezier(.16,1,.3,1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.search-ov-bar input { background: #fff; border: 1px solid var(--line); }
.search-ov-res { padding: 4px 4px 6px; max-height: calc(100vh - 220px); overflow-y: auto; }
.sr-h { margin: 18px 6px 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.sr-ph { width: 64px; height: 48px; border-radius: 12px; }
.sr .cat { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); margin-right: 6px; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px; }
@media (max-width: 640px) { .search-ov-in { margin: 0; border-radius: 0; min-height: 100%; } }

/* ===== Newsletter ===== */
.nl { display: grid; gap: 14px; align-items: center; margin: 34px 0; padding: 26px 26px 22px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #3f6b5c 0%, #1f3d36 55%, #18302a 100%); box-shadow: 0 18px 40px rgba(31,61,54,.22); }
@media (min-width: 820px) { .nl:not(.nl-compact) { grid-template-columns: 1fr 1.1fr; } }
.nl-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fdba74; }
.nl-h { margin: 4px 0 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; }
.nl-row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; }
.nl-row input[type=email] { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 15px; padding: 0 14px; color: var(--ink); background: none; }
.nl-row button { border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; padding: 11px 20px; white-space: nowrap; transition: background .2s, transform .2s; }
.nl-row button:hover { background: var(--blue-2); }
.nl-row button:disabled { opacity: .7; }
.nl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-fine { grid-column: 1 / -1; margin: 0; font-size: 12px; color: rgba(255,255,255,.72); }
.nl-fine a { color: inherit; }
.nl-fine.ok { color: #bbf7d0; font-size: 14px; font-weight: 600; }
.nl-fine.err { color: #fecaca; }
.nl-compact { margin: 0; padding: 22px 20px 18px; box-shadow: none; }
.nl-compact .nl-h { font-size: 19px; }
.nl-slide { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: min(380px, calc(100vw - 32px)); border-radius: 24px; box-shadow: 0 30px 70px rgba(28,25,23,.3);
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); transition: opacity .3s ease, transform .45s cubic-bezier(.16,1,.3,1), visibility 0s linear .45s; }
.nl-slide.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nl-x { position: absolute; right: 8px; top: 8px; z-index: 2; color: #fff; width: 34px; height: 34px; }
.nl-x:hover { background: rgba(255,255,255,.12); }
@media (max-width: 640px) { .nl-slide { right: 16px; bottom: 16px; } .nl-row button { padding: 11px 14px; } }

/* ===== Internal link helpers ===== */
.prose p a, .prose li a { text-decoration-color: rgba(194,65,12,.35); text-underline-offset: 3px; }
.more-in { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; }
.more-in a { color: var(--blue-2); font-weight: 600; }
.month-nav { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; flex-wrap: wrap; }
.mn-pn { font-weight: 700; text-decoration: none; color: var(--blue-2); white-space: nowrap; }
.mn-all { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; justify-content: center; }
.mn-all a { text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; color: var(--ink-2); }
.mn-all a:hover { background: var(--soft); }
.mn-all a[aria-current="page"] { background: var(--act); color: #fff; }
.sr-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Consent banner */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 58; max-width: 460px; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255,250,244,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(28,25,23,.18); font-size: 14px; }
.consent p { margin: 0; color: var(--ink-2); }
.consent a { color: var(--blue-2); }
.consent div { display: flex; gap: 8px; justify-content: flex-end; }
.consent button { border-radius: 999px; padding: 9px 18px; font-weight: 700; border: 1px solid var(--line); background: #fff; }
.consent .c-yes { background: var(--act); color: #fff; border-color: var(--act); }
@media (max-width: 640px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (max-width: 640px) { body:has(.consent:not([hidden])) .nl-slide { display: none; } }
