:root {
  --bg: #0f1218;
  --panel: #171b24;
  --panel-2: #1e2430;
  --text: #eef1f6;
  --muted: #9aa3b5;
  --accent: #2ec4b6;
  --accent-2: #7aa2ff;
  --good: #5dcea0;
  --warn: #f0c674;
  --border: #2a3140;
  --shadow: 0 10px 30px rgba(0,0,0,.28);
  --radius: 14px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 10% -10%, #243154 0%, transparent 55%),
              radial-gradient(900px 500px at 100% 0%, #1a3d3a 0%, transparent 45%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--accent-2); text-decoration-thickness: .08em; }
a:hover { color: #fff; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(15,18,24,.82);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  padding: .9rem 0; flex-wrap: wrap;
}
.logo { color: #fff; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.nav { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a[aria-current="page"], .nav a:hover { color: #fff; }
.hero, .page-header { padding: 2.2rem 0 1.2rem; }
.hero h1, .page-header h1, .title-hero h1 { line-height: 1.15; margin: 0 0 .75rem; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.btn {
  display: inline-block; background: var(--accent); color: #160812; font-weight: 700;
  padding: .7rem 1rem; border-radius: 999px; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); color: #160812; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--border); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin: 2rem 0 1rem;
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.card, .promo-card, .source-list, .note, .warn {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card { padding: 1rem 1.05rem; }
.card h3 { margin: .35rem 0; font-size: 1.1rem; }
.card h3 a { color: #fff; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.korean, .korean-lg { color: var(--accent); margin: 0; }
.korean-lg { font-size: 1.15rem; }
.by, .muted, .fineprint { color: var(--muted); }
.excerpt { color: #c9d0de; font-size: .95rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge {
  display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .45rem; border-radius: 999px; background: #2a3345; color: #d7deee;
}
.badge.status { background: #1f3d3a; color: #9fe8df; }
.badge.good { background: #1f3d33; color: var(--good); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1.5rem; }
.chip-row.tight { margin: .4rem 0 0; }
.chip {
  display: inline-flex; gap: .35rem; align-items: center;
  padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--border);
  background: #151a24; color: #d7deee; text-decoration: none; font-size: .88rem;
}
.chip span { color: var(--muted); }
.chip:hover, .chip.active { border-color: var(--accent-2); color: #fff; }
.chip.tiny { font-size: .75rem; padding: .2rem .5rem; }
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem; margin: 1.5rem 0 2rem;
}
.split > div, .promo-card, .note, .warn { padding: 1rem 1.1rem; }
.simple-list { padding-left: 1.1rem; }
.simple-list li { margin: .35rem 0; }
.title-page section { margin: 1.5rem 0; }
.crumbs { color: var(--muted); font-size: .9rem; margin: 1.2rem 0; }
.crumbs a { color: var(--muted); }
.source-list { list-style: none; padding: 1rem 1.1rem; margin: 0; }
.source-list li { padding: .55rem 0; border-bottom: 1px solid var(--border); }
.source-list li:last-child { border-bottom: 0; }
.note { color: #c9d0de; }
.warn { color: var(--warn); }
.promo-slot { margin: 1rem auto 2rem; }
.promo-card.placeholder { border-style: dashed; }
.site-footer {
  margin-top: 2rem; border-top: 1px solid var(--border);
  background: rgba(0,0,0,.25); padding: 2rem 0 1rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: .5rem 0 0; }
.footer-links li { margin: .3rem 0; }
.cross-promo { font-weight: 700; color: var(--accent); }
.footer-bottom { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.guide h2 { margin-top: 1.8rem; }
.guide ul { padding-left: 1.2rem; }
code { font-size: .9em; background: #10141c; padding: .1rem .35rem; border-radius: 6px; }
@media (max-width: 640px) {
  /* Homepage/mobile header compaction lives in max-width:639px below so desktop (≥640) is unchanged. */
}

/* Covers — consistent 2:3 frames */
.cover-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #10141c;
  border-bottom: 1px solid var(--border);
}
.cover-frame.large {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 320px;
}
.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #10141c;
}
.cover-link { display: block; text-decoration: none; color: inherit; }
.cover-badge {
  position: absolute; left: .5rem; bottom: .5rem;
  background: rgba(0,0,0,.72); color: var(--warn);
  font-size: .7rem; padding: .25rem .45rem; border-radius: 999px;
}
.card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1rem 1.05rem 1.05rem; }
.title-layout {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 1rem 0 1.5rem;
}
.cover-credit { font-size: .85rem; margin: .6rem 0 0; }
@media (max-width: 720px) {
  .title-layout { grid-template-columns: 1fr; }
  .cover-frame.large { max-width: 220px; }
}

.badge.both { background: #2a3d55; color: #9ec1ff; }
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .8rem;
  margin: 1rem 0 1.2rem;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filters label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--muted); }
.filters input, .filters select {
  background: #10141c; color: var(--text); border: 1px solid var(--border);
  border-radius: 8px; padding: .55rem .65rem; font: inherit;
}
#pager button { cursor: pointer; }
.split > div .card-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.meta-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 1rem 0; }
.meta-box h2 { margin-top: 0; }
.meta-box ul { margin: .4rem 0 .8rem; padding-left: 1.2rem; }
.availability-note { border-left: 3px solid var(--warn); padding: .6rem .9rem; background: #1a1710; margin: 1rem 0; }
.source-list li.unavailable a { color: var(--muted); text-decoration: line-through; }
.source-list .src-note { display: block; color: var(--muted); font-size: .85rem; }
.edition-list { list-style: none; padding: 0; }
.edition-list li { padding: .55rem 0; border-bottom: 1px solid var(--border); }

/* Promote / inquiry form */
.promote .lede { max-width: 46rem; }
.promote-form { display: grid; gap: .9rem; max-width: 36rem; margin: 1.25rem 0 2rem; }
.promote-form label { display: grid; gap: .35rem; font-weight: 600; }
.promote-form label span { font-size: .92rem; }
.promote-form input,
.promote-form textarea {
  font: inherit; font-weight: 400;
  padding: .65rem .75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #12161e;
  color: inherit;
}
.promote-form .hp { position: absolute; left: -10000px; height: 1px; width: 1px; overflow: hidden; }
.promote-form .btn { justify-self: start; border: 0; cursor: pointer; padding: .7rem 1.1rem; border-radius: 999px; background: var(--accent); color: #160812; font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--muted); margin: 0 0 .35rem; }

.section-note { margin: -.4rem 0 1rem; }
.hook { color: var(--muted); font-size: .9rem; margin: .35rem 0 0; }
.badge.warn { background: #3a2a12; color: #f0c674; }
.badge.good { background: #14301f; color: #8ddeb0; }
.primary-cta { margin: 1rem 0 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.signup-block { border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem 1.3rem; margin: 2rem 0; background: #12161e; }
.signup-form { display: grid; gap: .75rem; max-width: 28rem; }
.signup-form label { display: grid; gap: .35rem; font-weight: 600; }
.signup-form label.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.signup-form input[type=email] { font: inherit; padding: .65rem .75rem; border-radius: 8px; border: 1px solid var(--border); background: #0d1118; color: inherit; }
.signup-form .hp { position: absolute; left: -10000px; height: 1px; width: 1px; overflow: hidden; }
.link-list { list-style: none; padding: 0; }
.link-list li { padding: .45rem 0; border-bottom: 1px solid var(--border); }

.buy-options { display:flex; flex-wrap:wrap; gap:.55rem; align-items:center; margin:.2rem 0 1rem; }

/* Phase2 presentation: existing desktop card grid retained. */
.source-promise { margin:.15rem 0 0; font-size:.8rem; color:var(--muted); }
.card .by { font-size:.86rem; margin:.2rem 0; }
.card .hook { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.card-meta { margin:.5rem 0; }
.card-cta { font-size:.88rem; margin-top:.4rem; }
a:focus-visible,summary:focus-visible { outline:3px solid var(--accent-2); outline-offset:3px; }
.title-hero { min-width:0; }
.key-facts,.edition-summary { display:flex; flex-wrap:wrap; gap:.5rem .9rem; margin:1rem 0; }
.key-facts > div:not(:last-child)::after { content:' ·'; color:var(--muted); }
.key-facts dt,.key-facts dd { display:inline; margin:0; }
.key-facts dt { color:var(--muted); margin-right:.3rem; }
.key-facts dd { font-weight:600; }
.edition-summary > div { min-width:12rem; }
.edition-summary dt { color:var(--muted); font-size:.85rem; }
.edition-summary dd { margin:0; }
.where-to-read { border:1px solid var(--border); background:var(--panel); border-radius:var(--radius); padding:1rem; }
.read-online > .online-cta { display:block; text-align:center; }
.other-platforms { padding-left:1.2rem; }
.other-platforms a { font-size:.95rem; }
.retailer-buttons { display:flex; flex-wrap:wrap; gap:.6rem; margin:.8rem 0; }
.retailer-buttons > a { flex:1 1 8rem; text-align:center; }
.button-medium { font-size:.85em; }
.volume-row { padding:.8rem 0; border-top:1px solid var(--border); }
.volume-row h4,.volume-row p { margin:.25rem 0; }
.volume-details summary { cursor:pointer; padding:.6rem 0; }
.amazon-disclosure { font-size:.85rem; margin:.6rem 0 1.8rem; }
@media (max-width:639px) {
 .card-grid,.split > div .card-grid { grid-template-columns:minmax(0,1fr); gap:.65rem; }
 .card { display:grid; grid-template-columns:110px minmax(0,1fr); align-items:start; }
 .card > .cover-link { width:110px; }
 .card .cover-frame { width:110px; height:165px; aspect-ratio:2 / 3; border-radius:10px 0 0 10px; border-bottom:0; }
 .card .cover { object-fit:cover; object-position:center center; }
 .card-body { min-width:0; padding:.45rem .65rem; }
 .card h3 { font-size:1rem; line-height:1.2; margin:0 0 .25rem; }
 .card .by { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; line-height:1.25; }
 .card .hook { font-size:.85rem; line-height:1.3; margin:.2rem 0; }
 .card-meta { gap:.2rem; margin:.3rem 0; }
 .card .badge { font-size:.65rem; padding:.12rem .3rem; letter-spacing:0; }
 .card-cta { padding:.4rem .55rem; font-size:.8rem; margin-top:.15rem; line-height:1.25; }
 .title-layout { grid-template-columns:110px minmax(0,1fr); gap:.8rem; }
 .title-cover .cover-frame.large { width:110px; max-width:110px; }
 .title-hero h1 { font-size:1.4rem; }
 .korean-lg,.title-hero .by { font-size:.9rem; }
 .key-facts { font-size:.85rem; gap:.3rem .5rem; margin:.6rem 0; }
 .title-hero .btn { font-size:.85rem; padding:.5rem .7rem; }
 .title-hero .retailer-buttons { flex-direction:column; }
 .title-hero .retailer-buttons > a { flex:auto; }
 .site-header { position:static; }
 /* Mobile homepage header: one-line scroll nav + compact hero so Featured+first card fit on 393×852. */
 .header-inner {
   flex-direction:column; align-items:stretch; justify-content:flex-start;
   gap:.3rem; padding:.4rem 0;
 }
 .logo { font-size:.95rem; line-height:1.2; }
 .source-promise {
   font-size:.7rem; line-height:1.25; margin:.1rem 0 0;
   display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
 }
 .nav {
   display:flex; flex-wrap:nowrap; gap:.5rem .75rem;
   overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch;
   overscroll-behavior-x:contain; scrollbar-width:none; -ms-overflow-style:none;
 }
 .nav::-webkit-scrollbar { display:none; width:0; height:0; }
 .nav a { flex:0 0 auto; white-space:nowrap; font-size:.85rem; }
 .hero { padding:.55rem 0 .45rem; }
 .hero h1 {
   font-size:22px; line-height:1.2; margin:0 0 .3rem;
   display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
 }
 .hero .lede {
   font-size:14px; line-height:1.3; margin:0; max-width:none;
   display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
 }
 .hero-actions {
   display:flex; flex-wrap:nowrap; gap:.35rem; margin-top:.45rem;
   overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch;
   overscroll-behavior-x:contain; scrollbar-width:none; -ms-overflow-style:none;
 }
 .hero-actions::-webkit-scrollbar { display:none; width:0; height:0; }
 .hero-actions .btn {
   flex:0 0 auto; white-space:nowrap;
   font-size:.72rem; font-weight:700; line-height:1.2;
   padding:.28rem .55rem; border-radius:999px;
 }
 .section-head { margin:.7rem 0 .45rem; }
 .section-head h2 { font-size:1.05rem; margin:0; }
}

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.badge.print { text-transform:none; }
.retailer-buttons { display:grid; grid-template-columns:repeat(auto-fit,minmax(90px,1fr)); }
@media (max-width:639px) {
 .card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
 .card .badge { font-size:.75rem; }
 .card .by,.card .hook,.card-cta { font-size:.875rem; }
 .card-cta { min-height:40px; display:inline-flex; align-items:center; }
 .title-hero .retailer-buttons { display:flex; flex-direction:column; }
}
.korean-originals { list-style:none; padding:0; margin:.75rem 0; }
.korean-originals a { font-size:.85rem; }

/* Text covers for titles without real artwork */
.text-cover {
  display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(46,196,182,.28), transparent 55%),
    linear-gradient(160deg, #121a1c 0%, #18262a 45%, #101518 100%);
  border:1px solid var(--border);
  padding:.65rem .55rem;
  text-align:center;
}
.text-cover { position:relative; }
.cover-note {
  position:absolute; left:0; right:0; bottom:12%;
  padding:.38rem .5rem; text-align:center;
  font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:#0b1114; background:#2ec4b6;
}
.cover-frame.large .cover-note { font-size:.82rem; padding:.5rem; }
.text-cover-inner { display:flex; flex-direction:column; gap:.45rem; max-width:100%; }
.text-cover-en {
  color:#fff; font-weight:800; line-height:1.15; font-size:clamp(.72rem,2.4vw,.95rem);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; overflow:hidden;
}
.text-cover-ko {
  color:var(--accent); font-size:clamp(.62rem,2vw,.78rem); line-height:1.2;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden;
}
.cover-frame.large.text-cover .text-cover-en { font-size:clamp(1rem,3vw,1.35rem); -webkit-line-clamp:6; }
.cover-frame.large.text-cover .text-cover-ko { font-size:clamp(.8rem,2.4vw,1rem); }
@media (max-width:639px) {
  .card .text-cover { padding:.4rem .35rem; }
  .card .text-cover-en { font-size:.68rem; -webkit-line-clamp:6; }
  .card .text-cover-ko { font-size:.58rem; -webkit-line-clamp:3; }
}


/* Title-page English-release notify (compact) */
.title-notify { margin: 1rem 0 1.25rem; }
.title-notify-form { max-width: 28rem; border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; background: #12161e; gap: .55rem; }
.title-notify-label { margin: 0 0 .15rem; font-weight: 650; font-size: .95rem; line-height: 1.35; }
.title-notify-form .btn { justify-self: start; }
@media (max-width: 420px) {
  .title-notify-form { padding: .75rem .8rem; }
  .title-layout { gap: .75rem; }
  .title-notify { margin-top: .75rem; }
}

.format-group-label{margin:1rem 0 .4rem;font-size:.95rem;color:var(--muted);}
.adaptations p{color:#c9d0de;}

.signup-form .form-note { margin-top: .5rem; font-size: .9rem; color: #c0392b; }

.badge.nye { background: #3a3220; color: #f0c674; border: 1px solid rgba(240,198,116,.35); }
.badge.soon { background: rgba(46,196,182,.14); color: #7fe3d9; border: 1px solid rgba(46,196,182,.45); }

.title-notify-form .check { align-items: flex-start; }
.title-notify-form .check span { overflow-wrap: anywhere; word-break: break-word; line-height: 1.35; }
@media (max-width: 420px) {
  .title-notify-form .check { gap: .45rem; }
  .title-notify-form .check span { font-size: .9rem; }
}

/* The BL Shelf: origin shelves */
.badge.origin { background: #16302e; color: #9fe8df; }
.badge.origin a { color: inherit; text-decoration: none; }
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1rem 0 .75rem; }
.shelf-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.shelf-card:hover, .shelf-card:focus-visible { border-color: var(--accent); }
.shelf-covers { display: flex; flex: 0 0 auto; }
.shelf-covers img { width: 56px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); margin-left: -18px; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.shelf-covers img:first-child { margin-left: 0; }
.shelf-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.shelf-text strong { font-size: 1.15rem; }
.shelf-text span { color: var(--muted); font-size: .9rem; }
.shelf-text .shelf-go { color: var(--accent); font-weight: 650; }
.shelf-actions { margin-bottom: 1rem; }

/* Shelf switcher: always-visible way back to a shelf */
.nav { align-items: center; }
.shelf-switch { display: inline-flex; flex: 0 0 auto; gap: .2rem; padding: .2rem; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); }
.nav .shelf-pill { padding: .32rem .85rem; border-radius: 999px; color: var(--text); font-weight: 650; font-size: .9rem; white-space: nowrap; }
.nav .shelf-pill:hover { background: var(--panel-2); color: #fff; }
.nav .shelf-pill[aria-current="page"] { background: var(--accent); color: #06231f; }
.back-to-shelf { margin: 1.2rem 0 0; font-size: .95rem; }
.back-to-shelf a { color: var(--accent); font-weight: 650; text-decoration: none; }
.back-to-shelf a:hover { text-decoration: underline; }
@media (max-width: 639px) { .nav .shelf-pill { padding: .25rem .6rem; font-size: .8rem; } }

/* Header search (every page; submits to /browse/?q=) */
.site-search { flex: 0 1 15rem; }
.site-search input {
  width: 100%; padding: .45rem .7rem; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.06); color: #fff; font-size: .9rem;
}
.site-search input::placeholder { color: var(--muted); }
@media (max-width: 720px) { .site-search { flex: 1 1 100%; } .site-search input { font-size: 16px; padding: .4rem .7rem; } }

/* Title page: hook, buy box, reasons */
.hook-lg { font-size: 1.12rem; line-height: 1.5; color: #e8ecf3; margin: .6rem 0 .8rem; max-width: 46rem; }
.buy-box { margin: 1rem 0 .4rem; }
.buy-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.buy-buttons .btn { padding: .75rem 1.2rem; font-size: 1rem; text-align: center; }
.btn-alt { background: transparent; color: #fff; border: 1.5px solid var(--accent); }
.btn-alt:hover { background: rgba(46,196,182,.14); color: #fff; }
.buy-note { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.why-read ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.why-read li { margin: .3rem 0; }
@media (max-width: 639px) { .buy-buttons { flex-direction: column; } .buy-buttons .btn { width: 100%; } }

/* Our take, Essentials, sticky mobile buy bar */
.our-take { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem 1rem; margin: 1.4rem 0; }
.our-take h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin: 0 0 .3rem; }
.our-take p { margin: .2rem 0; }
.card .take { font-size: .9rem; line-height: 1.45; color: #e8ecf3; margin: .4rem 0; }
.essentials-group { margin: 2rem 0; }
.buy-bar { display: none; }
@media (max-width: 639px) {
  .buy-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: .6rem; align-items: center;
    justify-content: space-between; padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(15,18,24,.96); border-top: 1px solid var(--border); }
  .buy-bar-title { font-size: .85rem; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .buy-bar .btn { flex: 0 0 auto; padding: .6rem 1rem; font-size: .95rem; }
  .title-page { padding-bottom: 4.5rem; }
  .bottom-cta { display: none; }
}

/* Desktop header: logo | nav | search on one line; the promise line lives in the hero and footer */
@media (min-width: 1180px) {
  .header-inner { display: grid; grid-template-columns: auto 1fr 12rem; align-items: center; flex-wrap: nowrap; gap: 1.5rem; }
  .site-header .source-promise { display: none; }
  .nav { justify-content: center; flex-wrap: nowrap; gap: .5rem 1rem; white-space: nowrap; }
  .site-search { flex: none; }
}
/* Guides */
.guide h2 { margin-top: 1.8rem; }
.guide p, .guide li, .guide dd { max-width: 70ch; line-height: 1.6; }
.glossary dt { font-weight: 700; color: #fff; margin-top: 1rem; }
.glossary dd { margin: .2rem 0 0; color: #d5dbe5; }

/* Release calendar, feedback, card hover */
.release-list { list-style: none; padding: 0; margin: .5rem 0 1.5rem; }
.release-list li { display: flex; gap: .9rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.release-day { flex: 0 0 4.2rem; font-weight: 700; color: var(--accent); }
.release-cover img { border-radius: 4px; display: block; }
.release-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.release-text a { color: #fff; font-weight: 700; text-decoration: none; }
.release-cta { flex: 0 0 auto; padding: .45rem .9rem; font-size: .85rem; }
.release-list.compact li { padding: .4rem 0; }
.report-problem { margin: 2rem 0 1rem; color: var(--muted); font-size: .9rem; }
.report-problem summary { cursor: pointer; }
.feedback-form { max-width: 34rem; display: grid; gap: .8rem; margin-top: .8rem; }
.feedback-form textarea, .feedback-form input[type=email] { width: 100%; padding: .55rem .7rem; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.feedback-form label span { display: block; margin-bottom: .3rem; }
@media (hover: hover) { .card { transition: transform .15s ease, box-shadow .15s ease; } .card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.35); } }
@media (max-width: 639px) { .release-cta { display: none; } }

/* Home hero: message and actions on the left, Out soon on the right */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr); gap: 2rem; align-items: start; }
.hero-grid h1 { max-width: 18ch; }
.quick-links { margin: 1.1rem 0 0; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.quick-links a { color: #cfd6e2; text-decoration: none; border-bottom: 1px solid var(--border); }
.quick-links a:hover { color: #fff; border-color: var(--accent); }
.hero-side { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem .6rem; }
.hero-side-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.hero-side-head h2 { font-size: 1rem; margin: 0; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.hero-side-head a { font-size: .85rem; }
.soon-list { list-style: none; margin: 0; padding: 0; }
.soon-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--border); }
.soon-list li:first-child { border-top: 0; }
.soon-cover img { display: block; border-radius: 3px; }
.soon-text { display: flex; flex-direction: column; min-width: 0; font-size: .9rem; }
.soon-text a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soon-text .muted { font-size: .8rem; }
.soon-day { font-size: .82rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 1rem; } .hero-grid h1 { max-width: none; } }
@media (max-width: 639px) { .quick-links { font-size: .8rem; margin-top: .6rem; gap: .2rem .8rem; } .hero-side { padding: .7rem .8rem .3rem; } }
/* Home rows: smaller cards so more titles show per row */
@media (min-width: 900px) { main > section > .card-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }

/* One-line rows on wide screens: extra cards wait behind "See all" */
@media (min-width: 900px) { .one-row .card-grid { grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; overflow: hidden; } }
.row-note { color: var(--muted); margin: -.4rem 0 1rem; max-width: 70ch; }
.section-head h2 a.plain { color: inherit; text-decoration: none; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--accent); font-weight: 700; margin: 0 0 .4rem; }
.essentials-head h1 { max-width: 22ch; }
.essentials-next { margin: 3rem 0 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* Essentials tiers */
.essentials-first { margin-bottom: 3.5rem; }
@media (min-width: 900px) { main .essentials-first > .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 1000px; } }
.essentials-first .row-note { margin-top: 1.25rem; }
.essentials-rest > .section-head { margin-top: 3.5rem; }
.essentials-rest .essentials-group { margin-top: 2rem; }
.step { display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: .15rem .6rem; margin-right: .6rem; vertical-align: middle; }

/* Logo: three spines mark + wordmark */
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/space-grotesk-700.woff2") format("woff2"); }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: "Space Grotesk", var(--font); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { flex: 0 0 auto; }
.logo-bl { color: var(--accent); }
@media (max-width: 639px) { .logo { font-size: 1.1rem; } .logo-mark { width: 24px; height: 24px; } }
/* Cards: hooks get three lines, buttons stay on one */
.card .hook { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-cta { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding-left: .85rem; padding-right: .85rem; font-size: .84rem; }

.suggest-line { margin: 2rem 0 0; }

/* Reviews link and sourced track record on title pages */
.reviews-line { margin: .8rem 0 .2rem; }
.reviews-line a { font-weight: 700; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.proof { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; font-size: .95rem; line-height: 1.5; max-width: 46rem; }
.proof strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .2rem; }
.proof-src { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.proof-src a { color: var(--muted); }

/* Suggest a title band above the footer, on every page */
.suggest-band { border-top: 1px solid var(--border); background: var(--panel); }
.suggest-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.suggest-band p { margin: 0; color: #c9d0de; }
.suggest-band strong { color: #fff; }
.suggest-band .btn { flex: 0 0 auto; }
.quick-links a.ql-suggest { color: var(--accent); }
.about ul { padding-left: 1.1rem; } .about li { margin: .5rem 0; }

.quick-links.ql-missing { margin-top: .35rem; }
