/*
Theme Name: RankWellToday
Theme URI: https://rankwelltoday.com
Author: RankWellToday
Description: Custom theme for RankWellToday — faithful build of the RankWellToday site design. Pages, content, lead forms and success stories included.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rankwelltoday
*/

/* =====================================================================
   RANKWELLTODAY — DESIGN TOKENS
   ---------------------------------------------------------------------
   BRAND COLOURS — LIGHT MODE
     Background (off-white) #F7F6F2   Surface #FFFFFF   Tint (sections) #E9F1EC
     Text (near-black)      #121614   Muted text #4A524E  Border #DEDFD8
     Accent (deep emerald)  #0A6B4E   Accent hover #085A41  Accent soft #D5E9DE
     Dark band              #0F1714
   BRAND COLOURS — DARK MODE
     Background #0D1110   Surface #151B19   Tint #111D18
     Text #ECEFEC   Muted #A6B0AB   Border #27312D
     Accent #3DD69C   Accent hover #66E3B3   Accent soft #163A2C
   FONTS
     Headings: "Schibsted Grotesk" (600–800)
     Body:     "Instrument Sans" (400–600)
     Labels:   "JetBrains Mono" (400–500) — small tags only
   FONT SIZES
     h1: clamp(2.5rem → 4.5rem)  (40px → 72px), letter-spacing -0.045em
     h2: clamp(2rem → 3rem)      (32px → 48px), letter-spacing -0.035em
     h3: 1.25rem (20px)
     body: 1.0625rem (17px), line-height 1.6
   BORDER RADIUS
     8px small (inputs) · 12px cards/icons · 16px large cards · 999px pills
   SPACING SCALE
     4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128 px  (--s-1 … --s-10)
   ===================================================================== */

:root {
  --bg: #F7F6F2; --surface: #FFFFFF; --tint: #E9F1EC;
  --text: #121614; --muted: #4A524E; --border: #DEDFD8; --border-strong: #C6CAC2;
  --accent: #0A6B4E; --accent-hover: #085A41; --accent-ink: #FFFFFF; --accent-soft: #D5E9DE; --accent-text: #0A6B4E;
  --band: #0F1714; --band-text: #ECEFEC; --band-muted: #B9C4BE; --band-border: #2A3631;
  --font-head: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --fs-h1: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.75rem;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --container: 1200px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(18,22,20,.04), 0 12px 32px -16px rgba(18,22,20,.18);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0D1110; --surface: #151B19; --tint: #111D18;
  --text: #ECEFEC; --muted: #A6B0AB; --border: #27312D; --border-strong: #38443F;
  --accent: #3DD69C; --accent-hover: #66E3B3; --accent-ink: #07120D; --accent-soft: #163A2C; --accent-text: #5FE0AE;
  --band: #0A1F17; --band-text: #ECEFEC; --band-muted: #A9BDB3; --band-border: #1F3A2F;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.045em; font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
svg { display: block; max-width: 100%; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
@media (min-width: 768px) { .container { padding: 0 var(--s-6); } }
.narrow { max-width: 800px; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .04em; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pages (one shown at a time when JS is on) ---------- */



/* ---------- Grid ---------- */
.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.grid-12 > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) {
  .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
  .start-7 { grid-column: 7 / span 6; } .start-8 { grid-column: 8 / span 5; }
  .align-center { align-items: center; } .sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s-9) 0; }
.section-tint { background: var(--tint); }
.section-tight { padding: var(--s-8) 0; }
@media (max-width: 767px) { .section { padding: var(--s-8) 0; } }
.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head.center { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 var(--s-4); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid transparent; font: 600 0.9375rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 8px 20px -10px var(--accent); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--text); border-color: var(--text); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.arrow { display: inline-block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -0.035em; line-height: 1; }
.logo:hover { color: var(--text); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.lm-bg { fill: var(--accent); } .lm-bar { fill: var(--accent-ink); }
.w-rank { font-weight: 800; } .w-well { font-weight: 800; color: var(--accent-text); } .w-today { font-weight: 500; color: var(--muted); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-4); }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: var(--r-pill); color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: background-color .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--tint); color: var(--text); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.dropdown { position: absolute; top: 100%; left: -16px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel { width: 620px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); padding: var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.dropdown-group p { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-2); padding-left: 10px; }
.dropdown-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown-group a { display: block; padding: 8px 10px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.dropdown-group a:hover { background: var(--tint); color: var(--text); }
.dropdown-all { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: var(--s-4); }
.header-ctas { display: flex; align-items: center; gap: var(--s-2); }
.theme-toggle, .menu-toggle { width: 44px; height: 44px; flex: none; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .2s, transform .2s; }
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--text); }
.theme-toggle .ico { width: 18px; height: 18px; }
.theme-toggle .half { fill: currentColor; stroke: none; }
.menu-toggle { display: none; }
.menu-bars { width: 18px; height: 12px; position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, top .25s; }
.menu-bars::before { top: 1px; } .menu-bars::after { top: 9px; }
.nav-open .menu-bars::before { top: 5px; transform: rotate(45deg); }
.nav-open .menu-bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; }
  .header-inner { flex-wrap: wrap; }
  .theme-toggle { margin-left: auto; }
  .main-nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: var(--s-4); padding: var(--s-4) 0 var(--s-5); }
  .js .main-nav { display: none; }
  .js .nav-open .main-nav { display: flex; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 12px 8px; border-radius: var(--r-sm); font-size: 1.0625rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; padding: 0 0 var(--s-2) var(--s-3); }
  .dropdown-panel { width: auto; grid-template-columns: 1fr; box-shadow: none; padding: var(--s-3); }
  .header-ctas { flex-direction: column; align-items: stretch; }
  .header-ctas .btn { width: 100%; }
}

/* ---------- Tags & chips ---------- */
.tag { display: inline-flex; align-items: center; gap: var(--s-2); padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .03em; color: var(--muted); margin-bottom: var(--s-5); }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); color: var(--text); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .03em; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
a.chip:hover, .chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--s-9) 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-bottom: var(--s-6); }
.hero-note { margin-top: var(--s-5); font-size: 0.875rem; color: var(--muted); }

/* ---------- Search motif ---------- */
.serp-wrap { position: relative; padding: var(--s-5) 0 112px; }
.serp { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow); }
.searchbar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text); font-size: 0.9375rem; margin-bottom: var(--s-2); }
.searchbar .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
.searchbar .cursor { width: 1.5px; height: 18px; background: var(--accent); margin-left: -6px; }
.serp-ai { display: grid; gap: 6px; margin: var(--s-4) 0 var(--s-2); padding: var(--s-4); border-radius: var(--r); background: var(--tint); border: 1px solid var(--border); }
.serp-ai .label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.serp-ai .label .ico { width: 14px; height: 14px; }
.serp-ai .cite { justify-self: start; margin-top: 4px; font-family: var(--font-mono); font-size: 0.6875rem; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.serp-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--border); }
.serp-result:first-of-type { border-top: 0; }
.rank { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.rank-1 { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.serp-url { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--muted); margin-bottom: 2px; }
.favicon { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--border); flex: none; }
.serp-title { font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--accent-text); margin-bottom: 4px; line-height: 1.3; }
.serp-snippet { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.skeleton { height: 9px; border-radius: 5px; background: var(--border); margin: 8px 0; }
.skeleton.w-40 { width: 40%; } .skeleton.w-60 { width: 60%; } .skeleton.w-80 { width: 80%; } .skeleton.w-90 { width: 90%; }
.serp-dim { opacity: .55; }
.float-card { position: absolute; right: -12px; bottom: 0; width: 220px; padding: var(--s-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.float-card .mono { color: var(--muted); display: block; margin-bottom: var(--s-2); }
.float-card svg { width: 100%; height: 64px; }
.line-up { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.line-area { fill: var(--accent-soft); stroke: none; }
.line-dot { fill: var(--accent); }
@media (max-width: 640px) { .float-card { position: relative; left: 0; width: 100%; margin-top: var(--s-4); } .serp-wrap { padding-bottom: 0; } }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card.static:hover { transform: none; box-shadow: none; border-color: var(--border); }
.card > p, .card-text { color: var(--muted); font-size: var(--fs-small); }
.card h3 { margin-bottom: var(--s-2); }
.card .icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); margin-bottom: var(--s-5); }
.card .card-num { display: block; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent-text); margin-bottom: var(--s-5); letter-spacing: .06em; }
.card .text-link { margin-top: var(--s-4); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-tint { background: var(--tint); }
.card-group-label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; border-top: 1px solid var(--text); padding-top: var(--s-4); margin-bottom: var(--s-5); }
.card-group-label h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.service-group + .service-group { margin-top: var(--s-8); }

/* ---------- Problem visual ---------- */
.lost-list { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.lost-list li { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.lost-list .grow { flex: 1; }
.lost-list .skeleton { margin: 6px 0; }
.lost-list .you { border-style: dashed; opacity: .6; }
.lost-list .you .mono { color: var(--muted); }

/* ---------- Commitment / checks ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 768px) { .checklist.two { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding: 14px 18px 14px 50px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checklist li::after { content: ""; position: absolute; left: 23px; top: 21px; width: 6px; height: 10px; border: solid var(--accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist.plain li { background: none; border: 0; padding: 6px 0 6px 34px; }
.checklist.plain li::before { left: 0; top: 9px; }
.checklist.plain li::after { left: 7px; top: 13px; }
.cross-list li::before { background: var(--border); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; padding-top: var(--s-6); border-top: 1px solid var(--border-strong); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.section-tint .step::before { box-shadow: 0 0 0 4px var(--tint); }
.step-num { display: block; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent-text); letter-spacing: .06em; margin-bottom: var(--s-3); }
.step p { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Dark band (AI search) ---------- */
.band { background: var(--band); color: var(--band-text); position: relative; overflow: hidden; }
.band .lead, .band p { color: var(--band-muted); }
.band .eyebrow { color: var(--accent); }
[data-theme="light"] .band .eyebrow { color: #6FE0B4; }
.band .chip { background: transparent; color: var(--band-text); border-color: var(--band-border); }
.band .text-link { color: #6FE0B4; }
.band .btn-primary { background: #3DD69C; color: #07120D; }
.band .btn-primary:hover { background: #66E3B3; color: #07120D; }
.ai-answer { background: color-mix(in oklab, var(--band) 70%, #000 0%); border: 1px solid var(--band-border); border-radius: var(--r-lg); padding: var(--s-6); }
.ai-answer .mono { color: #6FE0B4; display: flex; gap: 8px; align-items: center; margin-bottom: var(--s-4); text-transform: uppercase; letter-spacing: .08em; }
.ai-answer .skeleton { background: var(--band-border); }
.ai-sources { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.ai-sources span { font-family: var(--font-mono); font-size: 0.6875rem; padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--band-border); color: var(--band-muted); }
.ai-sources span.ours { border-color: #3DD69C; color: #6FE0B4; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-6); margin: 0; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: 1.1875rem; line-height: 1.45; letter-spacing: -0.01em; font-weight: 500; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .8; color: var(--accent-text); margin-bottom: var(--s-3); }
.quote figcaption { display: flex; align-items: center; gap: var(--s-3); font-size: 0.875rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--border); background: repeating-linear-gradient(135deg, var(--tint) 0 6px, var(--surface) 6px 12px); }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { margin: 0; font-size: 1.125rem; letter-spacing: -0.01em; }
.faq-toggle { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); width: 100%; padding: 22px 0; cursor: pointer; font-family: var(--font-head); font-weight: 600; line-height: 1.35; color: var(--text); }
.faq-toggle:hover { color: var(--accent-text); }
.faq-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); transition: transform .3s, background-color .3s, border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { color: var(--muted); max-width: 70ch; margin: 0; padding: 0 var(--s-8) 22px 0; }
.js .faq-item:not(.open) .faq-a { grid-template-rows: 0fr; }
.faq-group + .faq-group { margin-top: var(--s-8); }
.faq-group h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--s-5); }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--s-8) 0 var(--s-9); }
.cta-inner { position: relative; overflow: hidden; display: grid; gap: var(--s-6); align-items: end; padding: var(--s-8) var(--s-6); border-radius: var(--r-lg); background: var(--accent); color: var(--accent-ink); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1.4fr) auto; padding: var(--s-8); } }
.cta-inner h2 { color: var(--accent-ink); margin-bottom: var(--s-3); max-width: 16ch; }
.cta-inner p { color: var(--accent-ink); max-width: 52ch; }
.cta-inner .btn-row { position: relative; }
.cta-inner .btn-primary { background: var(--accent-ink); color: var(--accent); }
.cta-inner .btn-primary:hover { background: var(--accent-ink); color: var(--accent); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.cta-inner .btn-secondary { background: transparent; color: var(--accent-ink); border-color: color-mix(in oklab, var(--accent-ink) 55%, transparent); }
.cta-inner .btn-secondary:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.cta-line { position: absolute; right: -20px; top: 0; width: 60%; height: 100%; pointer-events: none; opacity: .18; }
.cta-line polyline { fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta-inner > div { position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: var(--s-9) 0 var(--s-8); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-bottom: var(--s-6); }
.page-hero .lead:last-child { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-6); font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--border-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.hero-rank { position: absolute; right: var(--s-6); top: 50%; transform: translateY(-50%); display: none; gap: var(--s-3); }
@media (min-width: 1100px) { .hero-rank { display: grid; } }
.hero-rank .rank { width: 64px; height: 64px; border-radius: var(--r-lg); font-size: 1rem; }
.hero-rank .rank:nth-child(2) { margin-left: 40px; opacity: .7; }
.hero-rank .rank:nth-child(3) { margin-left: 80px; opacity: .45; }

/* ---------- Split text blocks ---------- */
.prose-block p { color: var(--muted); }
.prose-block p.big { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--text); font-weight: 500; }
.statement { font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; font-weight: 600; max-width: 26ch; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--border); font-size: var(--fs-small); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { color: var(--accent-text); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--muted); }
.compare td.us { background: color-mix(in oklab, var(--accent-soft) 45%, transparent); color: var(--text); }

/* ---------- Placeholders ---------- */
.placeholder { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r-lg); background: repeating-linear-gradient(135deg, var(--tint) 0 10px, var(--surface) 10px 20px); color: var(--muted); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: .04em; text-align: center; }
.placeholder span { background: var(--surface); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--border); }
.placeholder.square { aspect-ratio: 1; }
.placeholder.portrait { aspect-ratio: 4 / 5; }
.placeholder.wide { aspect-ratio: 21 / 9; }

/* ---------- Team ---------- */
.team-card .placeholder { margin-bottom: var(--s-5); border-radius: var(--r); }
.team-card .role { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--accent-text); margin-bottom: var(--s-3); display: block; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: grid; gap: var(--s-2); }
.form-field label, .form-field legend { font-weight: 600; font-size: 0.9375rem; padding: 0; }
.form-field .hint { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.checkbox-grid { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
@media (min-width: 640px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg); font-weight: 500; font-size: 0.9375rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.check:hover { border-color: var(--border-strong); }
.check input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); flex: none; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form-note { font-size: 0.875rem; color: var(--muted); margin: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.inline-form input { flex: 1 1 220px; border-radius: var(--r-pill); padding-left: 18px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-2); }
.contact-list li { display: grid; gap: 2px; padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.contact-list .mono { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list strong { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent-text); text-decoration: underline; }
.reply-note { display: inline-flex; align-items: center; gap: var(--s-2); padding: 8px 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 0.875rem; margin-bottom: var(--s-6); }
.reply-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card .placeholder { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.post-body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.post-body h3 { margin: 0; font-size: 1.1875rem; }
.post-body h3 a { color: var(--text); text-decoration: none; }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-body h3 a:hover { color: var(--accent-text); }
.post-body p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--muted); margin-top: auto; }
.post-cat { color: var(--accent-text); font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .06em; text-transform: uppercase; }
.newsletter-block { display: grid; gap: var(--s-5); align-items: center; padding: var(--s-7) var(--s-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
@media (min-width: 900px) { .newsletter-block { grid-template-columns: 1fr 1fr; padding: var(--s-7); } }
.newsletter-block h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--s-2); }

/* ---------- Article ---------- */
.article-head { padding: var(--s-8) 0 var(--s-7); }
.article-head h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-6); font-size: 0.9375rem; color: var(--muted); }
.article-meta .author { display: flex; align-items: center; gap: var(--s-3); color: var(--text); font-weight: 600; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
.article-layout { display: grid; gap: var(--s-7); padding-bottom: var(--s-9); }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.toc p { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.9375rem; line-height: 1.4; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); margin: var(--s-8) 0 var(--s-4); }
.prose h3 { margin: var(--s-6) 0 var(--s-3); }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.7; }
.prose li { margin-bottom: var(--s-2); }
.prose ul, .prose ol { margin: 0 0 var(--s-5); }
.takeaways { padding: var(--s-6); border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--border); margin-bottom: var(--s-6); }
.takeaways h2 { font-size: 1.25rem; margin: 0 0 var(--s-4); letter-spacing: -0.015em; }
.inline-cta { display: grid; gap: var(--s-4); padding: var(--s-6); margin: var(--s-7) 0; border-radius: var(--r-lg); border: 1px solid var(--accent); background: color-mix(in oklab, var(--accent-soft) 50%, var(--surface)); }
.inline-cta p { margin: 0; }
.inline-cta .title { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.author-bio { display: flex; gap: var(--s-5); align-items: flex-start; padding: var(--s-6); margin-top: var(--s-8); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.author-bio .avatar { width: 72px; height: 72px; }
.author-bio .mono { color: var(--accent-text); display: block; margin-bottom: var(--s-2); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Legal ---------- */
.legal-note { display: inline-flex; align-items: center; gap: var(--s-2); padding: 10px 16px; margin-bottom: var(--s-6); border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--surface); font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text); }
.legal .prose h2 { font-size: 1.5rem; margin-top: var(--s-7); }
.legal-updated { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--muted); }

/* ---------- Thank you / 404 ---------- */
.state-page { padding: var(--s-10) 0; text-align: center; }
.state-page h1 { margin-left: auto; margin-right: auto; max-width: 16ch; }
.state-page .lead { margin: 0 auto var(--s-6); }
.state-page .btn-row { justify-content: center; }
.state-badge { display: inline-grid; place-items: center; width: 96px; height: 96px; margin-bottom: var(--s-6); border-radius: 24px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; }
.next-steps { max-width: 720px; margin: var(--s-7) auto 0; text-align: left; }
.search-404 { display: flex; gap: var(--s-2); max-width: 520px; margin: var(--s-7) auto 0; }
.search-404 input { border-radius: var(--r-pill); padding-left: 20px; }
.serp-404 { max-width: 560px; margin: var(--s-7) auto 0; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: var(--s-9) 0 var(--s-6); }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 0.9fr 1.4fr; } }
.footer-brand p { color: var(--muted); font-size: var(--fs-small); max-width: 34ch; margin-top: var(--s-4); }
.footer-brand .tagline { font-family: var(--font-head); font-weight: 600; color: var(--text); font-size: 1.0625rem; letter-spacing: -0.015em; }
.footer-title { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-4); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--text); text-decoration: none; font-size: var(--fs-small); }
.footer-links a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-news p { color: var(--muted); font-size: var(--fs-small); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: 0; align-items: center; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--text); text-decoration: underline; }
.social { display: flex; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 60; max-width: 920px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 16px 48px -16px rgba(0,0,0,.3); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; margin: 0; font-size: 0.9375rem; }
.cookie-banner p a { font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- Utilities ---------- */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent-text); }
.mt-7 { margin-top: var(--s-7); }
.chips-spaced { margin: var(--s-5) 0 var(--s-6); }
.h2-sm { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.ico-sm { width: 14px; height: 14px; }
.ico-lg { width: 40px; height: 40px; }
.article-body { padding-top: var(--s-8); }
.hero .h2-sm { margin-top: var(--s-6); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- WordPress additions ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
@media (max-width: 860px) { .results-grid { grid-template-columns: 1fr; } }
.result-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.result-card .result-shot { display: block; background: #fff; border-bottom: 1px solid var(--border); }
.result-card .result-shot img { display: block; width: 100%; height: auto; max-width: 100%; }
.result-card .result-body { padding: var(--s-5) var(--s-6) var(--s-6); }
.result-card .result-kicker { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s-2); }
.result-card h3 { margin: 0 0 var(--s-2); }
.result-card .result-meta { margin: 0; color: var(--muted); font-size: .9375rem; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* v1.3.0: footer contact */
.footer-brand .footer-contact { line-height: 1.7; }
.footer-brand .footer-contact a { color: var(--text); text-decoration: none; }
.footer-brand .footer-contact a:hover { text-decoration: underline; }

/* v1.4.0: blog covers, author avatar, code blocks, category filter */
.cover-img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--border); background: #0D1110; }
.post-cover { display: block; }
.post-card .cover-img { aspect-ratio: 16 / 10; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
.avatar.avatar-hy { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border: 0; font-family: var(--font-head); font-weight: 700; font-size: 0.8125rem; letter-spacing: .02em; }
.author-bio .avatar.avatar-hy { font-size: 1.25rem; }
.article-meta .author a { color: inherit; text-decoration: none; }
.article-meta .author a:hover { text-decoration: underline; }
.post-meta span + span::before { content: "·"; margin-right: 8px; color: var(--muted); }
.prose pre { overflow-x: auto; padding: 16px 18px; margin: 0 0 var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); font-size: 0.875rem; line-height: 1.6; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; }
.post-card[hidden] { display: none; }
.team-card .team-avatar { width: 72px; height: 72px; margin-bottom: var(--s-5); font-size: 1.25rem; }

.cover-img.article-cover { aspect-ratio: auto; }
