/* MrPuns — stylesheet ------------------------------------------------ */
:root {
  --red: #D32F2F;
  --red-dark: #B71C1C;
  --red-soft: #FFEBEE;
  --amber: #FFB300;
  --teal: #00897B;
  --ink: #1F1A1B;
  --ink-2: #4B4446;
  --muted: #7A7073;
  --cream: #FFF8F5;
  --paper: #FFFFFF;
  --line: #F1E1DC;
  --line-2: #E6CCCC;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(80, 30, 30, 0.08);
  --shadow-lg: 0 24px 60px rgba(80, 30, 30, 0.14);
  --font-display: "Fredoka", "Poppins", "Segoe UI Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--cream);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.2em; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  padding: 0.7em 1.4em; border-radius: 999px; font-weight: 600; font-family: var(--font-display);
  font-size: 1rem; letter-spacing: 0.01em; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(211, 47, 47, 0.28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red-soft); }
.btn-lg { padding: 0.9em 1.9em; font-size: 1.08rem; }
.btn-small { padding: 0.5em 1em; font-size: 0.9rem; background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-small:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.btn.is-done { background: var(--teal) !important; color: #fff !important; border-color: var(--teal) !important; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none !important; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--red); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; align-items: center; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 0.55rem 0.85rem; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 0.98rem; text-decoration: none !important; }
.site-nav a:hover { background: var(--red-soft); color: var(--red); }
.site-nav .has-sub { display: flex; align-items: center; }
.site-nav .has-sub > a { padding-right: 0.35rem; }
.sub-toggle { background: none; border: 0; color: var(--red); padding: 0.4rem 0.45rem; border-radius: 999px; display: inline-flex; align-items: center; }
.sub-toggle:hover { background: var(--red-soft); color: var(--red); }
.site-nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 0.5rem; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.site-nav .sub a { padding: 0.55rem 0.8rem; border-radius: 8px; }
.site-nav li.open > .sub, .site-nav li:hover > .sub, .site-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line-2); border-radius: 999px; padding: 0.45rem 0.9rem; gap: 0.5rem; align-items: center; color: var(--ink); }
.nav-toggle span { display: none; }
.nav-toggle b { font-weight: 600; font-family: var(--font-display); }

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(255, 179, 0, 0.14), transparent 35%), radial-gradient(circle at 85% 80%, rgba(211, 47, 47, 0.12), transparent 40%), linear-gradient(160deg, #FFF5F2 0%, #FFFBF8 55%, #FFF1EE 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem; min-height: min(78vh, 680px); padding-block: 3.5rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: 0.4em; }
.hero h1 span { color: var(--red); position: relative; display: inline-block; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.28em; background: rgba(255, 179, 0, 0.45); border-radius: 6px; z-index: -1; }
.hero p { font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.6rem 0; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.6rem; color: var(--muted); font-size: 0.95rem; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1; }
.hero-visual { position: relative; height: 420px; }
.float-card { position: absolute; width: 230px; padding: 1.4rem 1.3rem; border-radius: 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--ink); background: linear-gradient(145deg, var(--t1), var(--t2)); box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite; }
.fc-1 { top: 10%; left: 5%; transform: rotate(-7deg); }
.fc-2 { top: 42%; right: 4%; transform: rotate(5deg); animation-delay: -2s; }
.fc-3 { bottom: 4%; left: 22%; transform: rotate(-3deg); animation-delay: -4s; }
.float-emoji { position: absolute; font-size: 2.4rem; filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)); animation: floaty 5s ease-in-out infinite; }
.e-1 { top: 2%; right: 18%; } .e-2 { top: 34%; left: 0; animation-delay: -1s; } .e-3 { bottom: 30%; left: 0; animation-delay: -3s; } .e-4 { bottom: 0; right: 8%; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Featured pun ------------------------------------------------------------- */
.featured { margin-top: -2.5rem; position: relative; z-index: 2; }
.featured-pun { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2rem 2.2rem; border: 1px solid var(--line); position: relative; overflow: hidden; }
.featured-pun::before { content: "“"; position: absolute; right: 1.2rem; top: -1.2rem; font-family: var(--font-display); font-size: 9rem; color: var(--red-soft); line-height: 1; pointer-events: none; }
.featured-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.featured-head h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); margin: 0; }
.featured-tag { font-size: 0.8rem; background: var(--red-soft); color: var(--red-dark); padding: 0.25em 0.8em; border-radius: 999px; font-weight: 600; }
.featured-text { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; margin: 0.8rem 0 1.2rem; min-height: 2.4em; transition: opacity .25s; position: relative; }
.featured-text.is-swapping { opacity: 0; }
.featured-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Sections / headers ------------------------------------------------------- */
section.wrap, .rail { margin-block: 4.5rem; }
.section-head { max-width: 46rem; margin: 0 auto 2.2rem; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; border-bottom: 2px solid var(--line); padding-bottom: 0.8rem; }
.rail-head h2 { margin: 0; }
.kicker { color: var(--red); }
.more-link { font-weight: 600; white-space: nowrap; font-family: var(--font-display); }
.section-title { margin-bottom: 1.4rem; }

/* Custom cards carousel ---------------------------------------------------- */
.cards-section { background: var(--paper); padding: 4.5rem 0; border-block: 1px solid var(--line); }
.carousel { position: relative; margin-bottom: 2rem; }
.car-track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0.5rem 1.6rem; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.pun-card {
  flex: 0 0 250px; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 20px; padding: 1.2rem 1.1rem 0.8rem; display: flex; flex-direction: column;
  background: linear-gradient(150deg, var(--t1), var(--t2)); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); transition: transform .2s;
}
.pun-card:hover { transform: translateY(-6px) rotate(-1deg); }
.pun-card p { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; line-height: 1.12; margin: 0 0 0.4rem; color: var(--card-ink, var(--ink)); text-transform: uppercase; letter-spacing: 0.02em; text-align: center; }
.pun-card-art { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.pun-card-art svg { width: 100%; height: 100%; max-height: 100%; }
.pun-card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.3rem; }
.pun-card-occ { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: rgba(0,0,0,.45); }
.pun-card-brand { font-size: 0.72rem; font-family: var(--font-display); opacity: .5; }
.car-btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); box-shadow: var(--shadow); font-size: 1.6rem; line-height: 1; color: var(--ink); display: grid; place-items: center; }
.car-prev { left: -14px; } .car-next { right: -14px; }
.car-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.card-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.card-gallery .pun-card { aspect-ratio: 4 / 5; flex: initial; }

/* Category grid ------------------------------------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-card { display: flex; flex-direction: column; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--t1), var(--t2)); color: var(--ink); text-decoration: none !important; border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; min-height: 100%; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-emoji { font-size: 2.4rem; line-height: 1; margin-bottom: 0.9rem; }
.cat-card h3 { margin-bottom: 0.4rem; }
.cat-card p { font-size: 0.93rem; color: var(--ink-2); flex: 1; margin-bottom: 1rem; }
.cat-cta { font-family: var(--font-display); font-weight: 600; color: var(--accent, var(--red)); }

/* Rails: feature + list ----------------------------------------------------- */
.feature-list { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: start; }
.feature-card { display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--t1), var(--t2)); color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); min-height: 100%; position: relative; overflow: hidden; transition: transform .2s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0.8rem 0 0.6rem; }
.feature-card p { color: var(--ink-2); flex: 1; }
.feature-emoji { position: absolute; right: -0.2rem; bottom: -0.6rem; font-size: 7rem; opacity: .22; line-height: 1; transform: rotate(-12deg); }
.badge { display: inline-block; align-self: flex-start; background: var(--paper); color: var(--red-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3em 0.8em; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.meta { font-size: 0.82rem; color: var(--muted); }
.meta-cat { color: var(--red); font-weight: 600; }
.post-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.post-list li + li { border-top: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; padding: 0.85rem 0.4rem; color: var(--ink); text-decoration: none !important; border-radius: var(--radius-sm); transition: background .15s; }
.post-list a:hover { background: var(--paper); }
.post-list h3 { font-size: 1.02rem; margin: 0.15rem 0 0; font-family: var(--font-body); font-weight: 600; line-height: 1.35; }
.post-list a:hover h3 { color: var(--red); }
.post-list-tight a { grid-template-columns: 48px 1fr; padding: 0.6rem 0.2rem; }
.post-list-tight .art-sm { width: 48px; height: 48px; font-size: 1.3rem; }
.art { display: grid; place-items: center; border-radius: 14px; background: linear-gradient(150deg, var(--t1), var(--t2)); aspect-ratio: 16 / 10; font-size: 4rem; line-height: 1; }
.art-sm { width: 64px; height: 64px; aspect-ratio: 1; font-size: 1.8rem; border-radius: 12px; }

/* Card grid ----------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .art { border-radius: 0; }
.post-card-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.post-card h3 { font-size: 1.1rem; margin: 0; flex: 1; }
.post-card .more { font-family: var(--font-display); font-weight: 600; color: var(--red); font-size: 0.95rem; margin-top: 0.4rem; }
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.numbered a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; padding: 1.2rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow); transition: transform .2s; }
.numbered a:hover { transform: translateX(6px); }
.numbered .num { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--red-soft); -webkit-text-stroke: 1.5px var(--red); line-height: 1; }
.numbered h3 { margin: 0.1rem 0 0; font-size: 1.15rem; }
.numbered .arrow { font-size: 1.5rem; color: var(--red); }

/* Testimonials / writers ---------------------------------------------------- */
.testimonials { background: linear-gradient(160deg, #FFF3F0, #FFF9F2); padding: 4.5rem 0; border-block: 1px solid var(--line); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.8rem; }
.testi .badge { background: var(--red-soft); }
.testi blockquote { margin: 0; font-size: 1.05rem; flex: 1; font-style: italic; color: var(--ink-2); }
.testi figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.92rem; }
.testi small { color: var(--muted); }
.avatar { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(150deg, var(--t1), var(--t2)); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); flex: none; border: 3px solid #fff; box-shadow: var(--shadow); }
.avatar-sm { width: 42px; height: 42px; font-size: 0.95rem; }
.avatar-lg { width: 96px; height: 96px; font-size: 2rem; }
.writer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.writer { background: var(--paper); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.writer h3 { margin: 0.8rem 0 0; font-size: 1.4rem; }
.writer .role, .author-box .role { color: var(--red); font-weight: 600; font-size: 0.9rem; margin: 0 0 0.6rem; }
.writer p { color: var(--ink-2); }

/* Page hero (category / static) -------------------------------------------- */
.page-hero { background: linear-gradient(150deg, var(--t1), var(--t2)); padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 0.3em; }
.page-emoji { font-size: 3.4rem; line-height: 1; display: block; margin-bottom: 0.6rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 44rem; margin-bottom: 0.6rem; }
.stat-line { color: var(--muted); margin: 0; }
.stat-line strong { color: var(--ink); }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-2); }
.author-hero { display: flex; gap: 1.6rem; align-items: center; }
.empty { color: var(--muted); }
.other-cats { margin-top: 3rem; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-block; padding: 0.45em 0.95em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; font-size: 0.92rem; text-decoration: none !important; }
.chip:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* Layout with sidebar ------------------------------------------------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; margin-block: 3rem 5rem; align-items: start; }
.narrow { max-width: 780px; margin-block: 3rem 5rem; }
.sidebar { display: flex; flex-direction: column; gap: 1.4rem; position: sticky; top: 90px; }
.widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.widget h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.widget-cta { text-align: center; background: linear-gradient(160deg, #FFE1EE, #FFF0CC); }
.widget-cta p { font-size: 0.95rem; color: var(--ink-2); }
.widget-emoji { font-size: 2.4rem; display: block; margin-bottom: 0.4rem; }

/* Article ------------------------------------------------------------------- */
.post-hero { background: linear-gradient(150deg, var(--t1), var(--t2)); border-bottom: 1px solid var(--line); }
.post-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-block: 3.2rem; }
.post-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 22ch; }
.post-meta { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.post-meta a { font-weight: 600; }
.post-art { width: 200px; height: 200px; border-radius: 32px; background: rgba(255,255,255,.55); display: grid; place-items: center; font-size: 6rem; line-height: 1; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); transform: rotate(-4deg); }
.post-body { min-width: 0; }
.intro p { font-size: 1.12rem; color: var(--ink-2); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.4rem; margin: 1.6rem 0 2.4rem; box-shadow: var(--shadow); }
.toc summary { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::after { content: "▾"; color: var(--red); transition: transform .2s; }
.toc details[open] summary::after { transform: rotate(180deg); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0.8rem 0 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; }
.toc li { padding: 0.15rem 0; break-inside: avoid; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--red); }
.pun-section, .prose-section { margin-block: 2.8rem; scroll-margin-top: 90px; }
.pun-section h2, .prose-section h2 { padding-bottom: 0.4rem; border-bottom: 3px solid var(--red-soft); display: inline-block; }
.blurb { color: var(--muted); font-style: italic; margin-top: -0.3rem; }
.pun-list { list-style: none; margin: 0; padding: 0; counter-reset: pun; display: flex; flex-direction: column; gap: 0.5rem; }
.pun-list > li { counter-increment: pun; display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; gap: 0.8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem 0.9rem 0.8rem 1rem; transition: border-color .15s, box-shadow .15s; }
.pun-list > li:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pun-list > li::before { content: counter(pun); font-family: var(--font-display); font-weight: 700; color: var(--red); background: var(--red-soft); border-radius: 50%; width: 2rem; height: 2rem; display: grid; place-items: center; font-size: 0.85rem; }
.pun-text { font-size: 1.05rem; }
.copy-btn { border: 1px solid var(--line-2); background: var(--cream); border-radius: 999px; padding: 0.3rem 0.7rem; font-size: 0.8rem; color: var(--ink-2); display: inline-flex; gap: 0.3rem; align-items: center; white-space: nowrap; transition: all .15s; }
.copy-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.copy-btn.is-done { background: var(--teal); color: #fff; border-color: var(--teal); }
.prose-section ul, .prose ul, .steps { padding-left: 1.4rem; }
.prose-section li, .prose li, .steps li { margin-bottom: 0.4rem; }
.steps { font-size: 1.05rem; }
.faq { margin-block: 3rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.9rem 1.2rem; margin-bottom: 0.6rem; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 0.7rem 0 0.2rem; color: var(--ink-2); }
.share-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-block: 2rem; font-size: 0.92rem; }
.share-bar span { font-weight: 600; margin-right: 0.3rem; }
.share-bar a, .share-bar button { padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--cream); color: var(--ink); text-decoration: none !important; font-size: 0.88rem; }
.share-bar a:hover, .share-bar button:hover { background: var(--red); color: #fff; border-color: var(--red); }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-block: 2rem; box-shadow: var(--shadow); }
.author-box h3 { margin: 0.2rem 0 0; font-size: 1.3rem; }
.author-box p:last-child { margin: 0; color: var(--ink-2); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-block: 2.4rem; }
.pn { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none !important; }
.pn small { color: var(--red); font-weight: 600; }
.pn span { font-weight: 600; font-size: 0.95rem; }
.pn.next { text-align: right; }
.pn:hover { border-color: var(--red); }
.related { margin-top: 3rem; }
.related .card-grid { grid-template-columns: repeat(3, 1fr); }

/* Generator ----------------------------------------------------------------- */
.generator { display: flex; flex-direction: column; gap: 0.9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 2.4rem; }
.generator-compact { padding: 0; border: 0; box-shadow: none; margin: 0; }
.field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; color: var(--ink); padding: 0.7rem 0.9rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--cream); width: 100%; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D32F2F' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.12); background: #fff; }
.gen-out { min-height: 5.5rem; border: 2px dashed var(--line-2); border-radius: 14px; padding: 1.2rem 1.3rem; background: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; display: flex; align-items: center; }
.generator-compact .gen-out { font-size: 1.05rem; padding: 0.9rem 1rem; min-height: 4.5rem; }
.gen-out p { margin: 0; }
.gen-placeholder { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; }
.gen-out .cursor { display: inline-block; width: 2px; height: 1em; background: var(--red); margin-left: 2px; vertical-align: -0.15em; animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.gen-actions { display: flex; gap: 0.5rem; }

/* Pricing / forms ----------------------------------------------------------- */
.pricing { background: var(--paper); padding: 4.5rem 0; border-block: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow); position: relative; }
.plan-featured { background: linear-gradient(160deg, #FFF1EE, #FFF8E8); border-color: var(--red); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan-tag { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.plan h3 { margin: 0; font-size: 1.5rem; }
.price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin: 0 0 0.4rem; line-height: 1; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.plan li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); margin-bottom: 2.4rem; }
.field-wide { grid-column: 1 / -1; }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0.8rem 0 0; }

/* Footer -------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; margin-top: 4rem; border-top: 1px solid var(--line-2); background: radial-gradient(circle at 10% 10%, rgba(211,47,47,.08), transparent 28%), radial-gradient(circle at 90% 90%, rgba(255,171,0,.10), transparent 25%), linear-gradient(145deg, #FFF5F5 0, #FFF 55%, #FFF8F8 100%); color: var(--ink-2); }
.site-footer::before, .site-footer::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(211,47,47,.06); pointer-events: none; }
.site-footer::before { top: -70px; right: -60px; } .site-footer::after { bottom: -80px; left: -70px; border-color: rgba(255,171,0,.10); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 4rem 0 2.5rem; position: relative; }
.footer-brand p { font-size: 0.95rem; }
.footer-tag { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-top: 0.8rem; }
.footer-col h3 { font-size: 1rem; color: var(--ink); margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col a { color: var(--ink-2); font-size: 0.95rem; }
.footer-col a:hover { color: var(--red); }
.footer-joke { display: flex; gap: 0.7rem; align-items: center; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 0.8rem 1rem; margin-top: 1.4rem; font-size: 0.88rem; }
.footer-joke span { font-size: 1.8rem; }
.footer-joke p { margin: 0; }
.socials { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; gap: 0.5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; text-decoration: none !important; }
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* Reveal-on-scroll (progressive enhancement) --------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .related .card-grid, .testi-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { height: 340px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; padding: 0.8rem 1.25rem 1.2rem; max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 0.75rem 0.6rem; border-radius: 10px; }
  .site-nav .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; display: none; grid-column: 1 / -1; background: var(--cream); border-radius: 10px; }
  .site-nav li.open > .sub { display: flex; }
  .site-nav li:hover > .sub { display: none; }
  .site-nav li.open:hover > .sub { display: flex; }
  .sub-toggle { font-size: 1.1rem; padding: 0.5rem 0.9rem; }
}
@media (max-width: 840px) {
  .feature-list, .writer-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .post-hero-inner { grid-template-columns: 1fr; }
  .post-art { width: 120px; height: 120px; font-size: 3.6rem; border-radius: 22px; }
  .toc ol { columns: 1; }
  .featured-pun { padding: 1.5rem; }
  .car-prev { left: 0; } .car-next { right: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cat-grid, .card-grid, .related .card-grid, .testi-grid, .plan-grid, .footer-grid, .order-form, .prev-next { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero-visual { height: 300px; }
  .float-card { width: 190px; font-size: 1.05rem; padding: 1.1rem; }
  .pun-list > li { grid-template-columns: 2rem 1fr; }
  .pun-list > li .copy-btn { grid-column: 2; justify-self: start; }
  .pn.next { text-align: left; }
  .author-box { grid-template-columns: 1fr; }
  .author-hero { flex-direction: column; align-items: flex-start; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .numbered a { grid-template-columns: auto 1fr; }
  .numbered .arrow { display: none; }
}

/* Icons, tiles & banners ---------------------------------------------------- */
.icon { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.2em; flex: none; }
.btn .icon, .copy-btn .icon, .share-bar .icon { width: 1em; height: 1em; }
.site-nav .sub .icon { color: var(--red); margin-right: 0.35rem; }
.chip .icon, .footer-col .icon { color: var(--red); margin-right: 0.2rem; }
.rail-head .icon { width: 1.15em; height: 1.15em; color: var(--red); vertical-align: -0.15em; margin-right: 0.15em; }
.cat-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.7); color: var(--accent, var(--red)); margin-bottom: 0.9rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.cat-icon .icon { width: 28px; height: 28px; }
.page-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.7); color: var(--accent, var(--red)); margin-bottom: 1rem; box-shadow: var(--shadow); }
.page-icon .icon { width: 34px; height: 34px; }
.page-hero { position: relative; overflow: hidden; }
.page-hero .hero-watermark { position: absolute; right: -40px; bottom: -60px; width: 340px; height: 340px; color: var(--accent, var(--red)); opacity: .09; pointer-events: none; }
.tile { width: 64px; height: 64px; display: block; }
.post-list-tight .tile { width: 48px; height: 48px; }
.banner { display: block; width: 100%; height: auto; }
.post-card .banner { border-radius: 0; }
.feature-card .feature-banner { position: absolute; right: -10px; bottom: -10px; width: 46%; max-width: 220px; opacity: .95; transform: rotate(-4deg); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.feature-card h3, .feature-card p, .feature-card .meta, .feature-card .badge { position: relative; z-index: 1; max-width: 62%; }
.post-art { width: 260px; height: 260px; border-radius: 40px; background: none; box-shadow: var(--shadow-lg); transform: rotate(-3deg); overflow: hidden; display: block; }
.post-art .banner { height: 100%; }
.hero-visual .float-icon { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); color: var(--red); box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite; }
.hero-visual .float-icon .icon { width: 26px; height: 26px; }
.widget-cta .page-icon { margin-bottom: 0.6rem; }
.featured-tag { display: inline-flex; align-items: center; gap: 0.3rem; }
@media (max-width: 840px) {
  .post-art { width: 150px; height: 150px; border-radius: 26px; }
  .feature-card h3, .feature-card p, .feature-card .meta { max-width: 100%; }
  .feature-card .feature-banner { width: 40%; opacity: .5; }
}

/* Answer-first summary & definitions ---------------------------------------- */
.tldr { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.2rem; margin: 0 0 1.8rem; box-shadow: var(--shadow); }
.tldr .icon { width: 22px; height: 22px; color: var(--red); margin-top: 0.15rem; }
.tldr strong { display: block; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.25rem; }
.tldr p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.definition { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 0 0 2.5rem; box-shadow: var(--shadow); max-width: 52rem; }
.definition h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.definition p:last-child { margin: 0; }

/* Short pages: widgets as a band under the content, not a rail beside it ----- */
.layout-flow { display: block; margin-block: 3rem 5rem; }
.sidebar-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.sidebar-band .widget { margin: 0; }
@media (max-width: 900px) { .sidebar-band { grid-template-columns: 1fr; margin-top: 2.5rem; padding-top: 2rem; } }

/* Tech & AI pillar ---------------------------------------------------------- */
:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; --night: #1D1B2C; --night-2: #2B2742; --indigo: #4338CA; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em; color: var(--indigo); background: #EEF0FF; border: 1px solid #D6DAFF; padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.2rem; }
.hero-eyebrow b { color: var(--red); font-weight: 700; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
.fc-term { background: var(--night) !important; color: #E8E6F5; font-family: var(--mono); font-weight: 500; font-size: 0.95rem; width: 270px; padding: 0.9rem 1.1rem 1.1rem; border: 1px solid #3A3556; }
.fc-term code { display: block; color: #8BE9A8; font-size: 0.85rem; margin: 0.5rem 0 0.4rem; }
.fc-term p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: #fff; }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.term-dots i:nth-child(2) { background: #FEBC2E; } .term-dots i:nth-child(3) { background: #28C840; }
.btn .icon { width: 1.05em; height: 1.05em; }


/* Glossary, sponsored labels, write-for-us page */
.toc-terms { padding: 1.1rem 1.3rem; }
.toc-label { display: block; font-family: var(--font-display); margin-bottom: 0.7rem; }
.toc-terms .chip { font-size: 0.85rem; padding: 0.35em 0.8em; }
.glossary { margin: 2rem 0; }
.glossary .term { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.glossary dt { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-bottom: 0.3rem; }
.glossary dd { margin: 0; }
.glossary dd p { margin: 0; color: var(--ink-2); }
.glossary .term:target { background: #EEF0FF; border-radius: 12px; padding-inline: 1rem; }
.pill-sponsored, .meta-sponsored { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #92400E; }
.pill-sponsored { background: #FEF3C7; border: 1px solid #FCD34D; padding: 0.15em 0.6em; border-radius: 999px; }
.sponsored-note { background: #FFFBEB; border: 1px solid #FCD34D; border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; font-size: 0.95rem; color: #78350F; }
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 0 0 2.5rem; }
.glance div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; box-shadow: var(--shadow); }
.glance strong { display: block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 0.3rem; }
.glance span { font-weight: 600; font-size: 0.95rem; line-height: 1.35; display: block; }
.prose code, .post-body code { font-family: var(--mono); font-size: 0.88em; background: #EEF0FF; color: var(--indigo); padding: 0.1em 0.4em; border-radius: 6px; }
@media (max-width: 900px) {
  .glance { grid-template-columns: repeat(2, 1fr); }
}

/* Puns dropdown: two aligned columns, generator as a footer row.
   (The nav's flex row centres its items; the dropdown must not inherit that.) */
.site-nav .sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 2px 6px; min-width: 430px; padding: 0.6rem; }
.site-nav .sub li { display: block; }
.site-nav .sub a { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.75rem; white-space: nowrap; }
.site-nav .sub .icon { margin: 0; width: 18px; height: 18px; flex: none; vertical-align: 0; }
.site-nav .sub .sub-extra { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 0.35rem; padding-top: 0.35rem; }
@media (max-width: 1080px) {
  .site-nav .sub { display: none; min-width: 0; grid-template-columns: 1fr; padding: 0.2rem 0 0.4rem 1rem; }
  .site-nav li.open > .sub { display: grid; }
  .site-nav .sub .sub-extra { border-top: 0; margin: 0; padding: 0; }
}

/* Keep reading, glossary links, topic chips, Tech & AI front ---------------- */
.keep-reading { margin: 2.5rem 0; padding: 1.4rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.keep-reading h2 { font-size: 1.15rem; margin: 0 0 0.8rem; }
.keep-reading ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.keep-reading li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem; }
.keep-reading a { font-weight: 600; }
.kr-meta { font-size: 0.8rem; color: var(--ink-2); opacity: .85; }
a.gl { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--indigo); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a.gl:hover { color: var(--indigo); text-decoration-style: solid; }
.topic-link { font-weight: 600; color: var(--indigo); }
.rail-chips { list-style: none; margin: -0.5rem 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rail-chips a { display: inline-block; font-family: var(--mono); font-size: 0.78rem; padding: 0.3rem 0.75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); }
.rail-chips a:hover { border-color: var(--indigo); color: var(--indigo); }
.hub-intro { max-width: 46rem; font-size: 1.08rem; margin-bottom: 1.6rem; }
.hub-topics { margin-bottom: 2.6rem; }
.chip-count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 0.35em; margin-left: 0.45em; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 0.72em; font-weight: 700; }
.topic-group { margin-bottom: 3rem; scroll-margin-top: 90px; }
.topic-head { margin-bottom: 1.2rem; }
.topic-head h2 { margin: 0 0 0.25rem; }
.topic-blurb { margin: 0; color: var(--ink-2); }
.editorial-note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--indigo); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.6rem 1.8rem; box-shadow: var(--shadow); }
.editorial-note h2 { font-size: 1.3rem; margin-top: 0; }
.editorial-note ul { padding-left: 1.2rem; }
.editorial-note li { margin-bottom: 0.4rem; }
.editorial-foot { margin: 0.8rem 0 0; }
.stat-line a { font-weight: 600; }

/* Reviews: verdict panel, stars, pros/cons, facts -------------------------- */
.verdict { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--indigo); border-radius: var(--radius); padding: 1.4rem 1.6rem 1.2rem; margin: 0 0 2rem; box-shadow: var(--shadow); }
.verdict-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1rem; margin-bottom: 0.8rem; }
.verdict-head .eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--indigo); }
.verdict-head .eyebrow a { color: inherit; }
.verdict-line { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; margin: 0 0 0.5rem; }
.verdict-summary { margin: 0 0 1rem; color: var(--ink-2); }
.stars { display: inline-flex; align-items: center; gap: 2px; color: #F59E0B; }
.stars .star { width: 22px; height: 22px; }
.star-bg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.stars b { margin-left: 0.5rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.stars b span { color: var(--ink-2); font-weight: 500; font-size: 0.85em; }
.verdict-meta { list-style: none; margin: 0 0 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.5rem 1.2rem; font-size: 0.92rem; }
.verdict-meta strong { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 0.15rem; }
.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.pros-cons h3 { font-size: 0.95rem; margin: 0 0 0.4rem; }
.pros h3 { color: #1B7A52; } .cons h3 { color: #B71C1C; }
.pros-cons ul { margin: 0; padding-left: 1.1rem; }
.pros-cons li { margin-bottom: 0.3rem; font-size: 0.95rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.6rem 1.2rem; margin: 0 0 1rem; padding: 0.9rem 1rem; background: #F7F6FC; border-radius: var(--radius-sm); }
.facts div { margin: 0; }
.facts dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0.1rem 0 0; font-size: 0.95rem; font-weight: 500; }
.verdict-foot { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.meta-rating { display: inline-flex; align-items: center; gap: 0.2rem; color: #B45309; font-weight: 600; }
.meta-rating .icon { width: 0.95em; height: 0.95em; }
.topic-head .more-link { margin-left: 0.5rem; white-space: nowrap; }
@media (max-width: 600px) { .verdict { padding: 1.1rem 1.1rem 1rem; } .verdict-line { font-size: 1.15rem; } }
