/* ==========================================================================
   WEBCRESTO — theme
   Light, editorial, built for reading. One file, no framework.
   ========================================================================== */

:root {
  --wc-bg: #ffffff;
  --wc-bg-2: #f8fafc;
  --wc-bg-3: #f1f5f9;
  --wc-line: #e2e8f0;
  --wc-line-2: #cbd5e1;

  --wc-ink: #0f172a;
  --wc-body: #334155;
  --wc-muted: #64748b;
  --wc-faint: #94a3b8;

  --wc-accent: #2563eb;
  --wc-accent-d: #1d4ed8;
  --wc-accent-l: #eff6ff;
  --wc-teal: #0891b2;
  --wc-amber: #b45309;
  --wc-green: #047857;

  --wc-r-sm: 8px;
  --wc-r: 12px;
  --wc-r-lg: 16px;
  --wc-r-xl: 22px;
  --wc-pill: 999px;

  --wc-sh: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .05);
  --wc-sh-lg: 0 12px 34px rgba(15, 23, 42, .10);
  --wc-ring: 0 0 0 3px rgba(37, 99, 235, .16);

  --wc-max: 1200px;
  --wc-read: 720px;
  --wc-head-h: 68px;
  --wc-ease: cubic-bezier(.22, .8, .3, 1);

  --wc-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wc-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--wc-head-h) + 20px); }

body {
  overflow-x: hidden;
  background: var(--wc-bg); color: var(--wc-body);
  font-family: var(--wc-sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
/* An inline display: value beats the hidden attribute's UA default, so make it explicit. */
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { color: var(--wc-ink); font-weight: 700; letter-spacing: -.021em; line-height: 1.25; }
strong { font-weight: 650; color: var(--wc-ink); }
::selection { background: rgba(37, 99, 235, .16); }

:focus-visible { outline: 2px solid var(--wc-accent); outline-offset: 2px; border-radius: 4px; }

.wc-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wc-skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--wc-accent); color: #fff; padding: 10px 18px;
  border-radius: var(--wc-r-sm); font-weight: 650; transition: top .18s var(--wc-ease);
}
.wc-skip:focus { top: 12px; }

.wc-wrap { max-width: var(--wc-max); margin: 0 auto; padding: 0 20px; }
.wc-scroll-x { overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.wc-scroll-x::-webkit-scrollbar { height: 5px; }
.wc-scroll-x::-webkit-scrollbar-thumb { background: var(--wc-line-2); border-radius: 99px; }

/* ==========================================================================
   Header
   ========================================================================== */

.wc-top {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--wc-line);
}
/* Where blur is supported we can afford to be translucent. Where it is not,
   the bar stays opaque so scrolled text never shows through it. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .wc-top { background: rgba(255, 255, 255, .86); }
}

.wc-top__bar {
  max-width: var(--wc-max); margin: 0 auto; padding: 0 20px;
  height: var(--wc-head-h); display: flex; align-items: center; gap: 22px;
}
.wc-logo { display: flex; align-items: center; flex: 0 0 auto; }
.wc-logo img { height: 34px; width: auto; }

.wc-nav { display: none; align-items: center; gap: 2px; flex: 1 1 auto; }
@media (min-width: 1000px) { .wc-nav { display: flex; } }
.wc-nav a {
  padding: 8px 13px; border-radius: var(--wc-r-sm);
  font-size: 14.5px; font-weight: 550; color: var(--wc-body);
  transition: background .16s var(--wc-ease), color .16s var(--wc-ease);
}
.wc-nav a:hover { background: var(--wc-bg-3); color: var(--wc-ink); }
.wc-nav a.is-on { color: var(--wc-accent); background: var(--wc-accent-l); }

.wc-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }

.wc-ico {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: var(--wc-r-sm); color: var(--wc-muted);
  transition: background .16s var(--wc-ease), color .16s var(--wc-ease);
}
.wc-ico:hover { background: var(--wc-bg-3); color: var(--wc-ink); }
.wc-burger { display: grid; }
@media (min-width: 1000px) { .wc-burger { display: none; } }

/* search */
.wc-find { position: relative; display: none; }
@media (min-width: 720px) { .wc-find { display: block; width: min(280px, 30vw); } }
.wc-find form {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  background: var(--wc-bg-2); border: 1px solid var(--wc-line);
  border-radius: var(--wc-pill); transition: border-color .18s var(--wc-ease), box-shadow .18s var(--wc-ease);
}
.wc-find form:focus-within { border-color: var(--wc-accent); box-shadow: var(--wc-ring); background: #fff; }
.wc-find svg { flex: 0 0 auto; color: var(--wc-faint); }
.wc-find input {
  flex: 1 1 auto; min-width: 0; border: 0; background: none; outline: none;
  font-size: 14px; color: var(--wc-ink);
}
.wc-find input::placeholder { color: var(--wc-faint); }

.wc-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 95;
  background: #fff; border: 1px solid var(--wc-line); border-radius: var(--wc-r);
  box-shadow: var(--wc-sh-lg); padding: 6px; max-height: 64vh; overflow-y: auto; display: none;
  min-width: 320px; right: auto; width: 380px;
}
.wc-suggest.is-open { display: block; }
.wc-suggest a { display: block; padding: 9px 11px; border-radius: var(--wc-r-sm); transition: background .14s; }
.wc-suggest a:hover, .wc-suggest a.is-on { background: var(--wc-bg-2); }
.wc-suggest .t { display: block; font-size: 14px; font-weight: 600; color: var(--wc-ink); line-height: 1.35; }
.wc-suggest .c { display: block; font-size: 12px; color: var(--wc-muted); margin-top: 2px; }
.wc-suggest__none { padding: 20px; text-align: center; color: var(--wc-muted); font-size: 14px; }

/* mobile drawer */
.wc-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.wc-drawer.is-open { visibility: visible; pointer-events: auto; }
.wc-drawer__veil {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .42);
  opacity: 0; transition: opacity .26s var(--wc-ease);
}
.wc-drawer.is-open .wc-drawer__veil { opacity: 1; }
.wc-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: #fff; border-left: 1px solid var(--wc-line);
  transform: translateX(102%); transition: transform .3s var(--wc-ease);
  display: flex; flex-direction: column;
}
.wc-drawer.is-open .wc-drawer__panel { transform: none; }
.wc-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--wc-line);
}
.wc-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 18px; }
.wc-dlist { list-style: none; }
.wc-dlist a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: var(--wc-r-sm); font-size: 15px; font-weight: 550; color: var(--wc-body);
}
.wc-dlist a:hover { background: var(--wc-bg-2); color: var(--wc-accent); }
.wc-dlist svg { color: var(--wc-accent); flex: 0 0 auto; }
.wc-dhead {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wc-faint); padding: 0 12px; margin: 22px 0 7px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: var(--wc-r-sm);
  font-size: 14.5px; font-weight: 650; white-space: nowrap;
  transition: all .17s var(--wc-ease);
}
.wc-btn--go { background: var(--wc-accent); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.wc-btn--go:hover { background: var(--wc-accent-d); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.wc-btn--line { border: 1px solid var(--wc-line-2); color: var(--wc-ink); background: #fff; }
.wc-btn--line:hover { border-color: var(--wc-accent); color: var(--wc-accent); }
.wc-btn--ghost { color: var(--wc-accent); }
.wc-btn--ghost:hover { background: var(--wc-accent-l); }
.wc-btn--lg { height: 48px; padding: 0 26px; font-size: 15.5px; }
.wc-btn--full { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.wc-hero { padding: 52px 0 8px; }
@media (min-width: 900px) { .wc-hero { padding: 68px 0 12px; } }
.wc-hero__in { max-width: 780px; }
.wc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .04em;
  color: var(--wc-accent); background: var(--wc-accent-l);
  border: 1px solid rgba(37, 99, 235, .16);
  padding: 5px 13px; border-radius: var(--wc-pill); margin-bottom: 18px;
}
.wc-hero h1 {
  font-size: clamp(30px, 5vw, 50px); font-weight: 750; letter-spacing: -.033em;
  line-height: 1.1; margin-bottom: 16px; text-wrap: balance;
}
.wc-hero h1 em { font-style: normal; color: var(--wc-accent); }
.wc-hero p {
  font-size: clamp(16px, 1.7vw, 19px); color: var(--wc-muted);
  max-width: 62ch; margin-bottom: 26px;
}
.wc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.wc-trust {
  display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 34px;
  padding-top: 24px; border-top: 1px solid var(--wc-line);
}
.wc-trust div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--wc-muted); }
.wc-trust svg { color: var(--wc-green); flex: 0 0 auto; }

/* ==========================================================================
   Section headings
   ========================================================================== */

.wc-sec {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  margin: 56px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--wc-line);
}
.wc-sec h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.027em; }
.wc-sec p { font-size: 14.5px; color: var(--wc-muted); margin-top: 5px; }
.wc-sec a.more {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  font-size: 14px; font-weight: 650; color: var(--wc-accent); white-space: nowrap;
  transition: gap .18s var(--wc-ease);
}
.wc-sec a.more:hover { gap: 10px; }

/* ==========================================================================
   Article cards
   ========================================================================== */

.wc-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .wc-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1000px) { .wc-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.wc-card { display: flex; flex-direction: column; height: 100%; }
.wc-card__pic {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--wc-r); background: var(--wc-bg-3);
  aspect-ratio: 16 / 9; margin-bottom: 15px; border: 1px solid var(--wc-line);
}
.wc-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--wc-ease); }
.wc-card:hover .wc-card__pic img { transform: scale(1.035); }

.wc-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--wc-accent); margin-bottom: 9px;
}
.wc-kicker:hover { color: var(--wc-accent-d); }

.wc-card h3 {
  font-size: 19px; font-weight: 680; line-height: 1.33; letter-spacing: -.02em;
  margin-bottom: 8px; text-wrap: balance;
}
.wc-card h3 a { transition: color .16s var(--wc-ease); }
.wc-card:hover h3 a { color: var(--wc-accent); }
.wc-card p { font-size: 14.5px; color: var(--wc-muted); line-height: 1.6; margin-bottom: 12px; }
.wc-card .wc-meta { margin-top: auto; }

.wc-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  font-size: 12.5px; color: var(--wc-faint);
}
.wc-meta a { color: var(--wc-muted); font-weight: 550; }
.wc-meta a:hover { color: var(--wc-accent); }
.wc-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--wc-line-2); flex: 0 0 auto; }
.wc-meta img.av { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* lead card — first item on the homepage */
.wc-lead { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .wc-lead { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.wc-lead .wc-card__pic { aspect-ratio: 16 / 10; margin-bottom: 0; }
.wc-lead h2 {
  font-size: clamp(23px, 3vw, 32px); font-weight: 720; line-height: 1.2;
  letter-spacing: -.03em; margin-bottom: 12px; text-wrap: balance;
}
.wc-lead h2 a:hover { color: var(--wc-accent); }
.wc-lead p { font-size: 16px; color: var(--wc-muted); margin-bottom: 16px; }

/* compact list rows */
.wc-rows { display: flex; flex-direction: column; }
.wc-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--wc-line);
}
.wc-row:last-child { border-bottom: 0; }
.wc-row__n {
  flex: 0 0 auto; width: 28px; font-size: 20px; font-weight: 750;
  color: var(--wc-line-2); letter-spacing: -.03em; line-height: 1.2;
}
.wc-row__b { min-width: 0; }
.wc-row h3 { font-size: 16px; font-weight: 640; line-height: 1.4; margin-bottom: 5px; }
.wc-row h3 a:hover { color: var(--wc-accent); }

.wc-empty {
  text-align: center; padding: 56px 24px; color: var(--wc-muted);
  background: var(--wc-bg-2); border: 1px dashed var(--wc-line-2); border-radius: var(--wc-r-lg);
}
.wc-empty a { color: var(--wc-accent); font-weight: 650; }

/* ==========================================================================
   Category tiles
   ========================================================================== */

.wc-cats { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .wc-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .wc-cats { grid-template-columns: repeat(3, 1fr); } }

.wc-cat {
  display: block; padding: 24px; border-radius: var(--wc-r-lg);
  background: #fff; border: 1px solid var(--wc-line);
  transition: border-color .2s var(--wc-ease), box-shadow .2s var(--wc-ease), transform .2s var(--wc-ease);
}
.wc-cat:hover { border-color: var(--wc-accent); box-shadow: var(--wc-sh); transform: translateY(-2px); }
.wc-cat__ico {
  width: 44px; height: 44px; border-radius: var(--wc-r-sm); display: grid; place-items: center;
  background: var(--wc-accent-l); color: var(--wc-accent); margin-bottom: 15px;
}
.wc-cat h3 { font-size: 17.5px; font-weight: 680; margin-bottom: 7px; letter-spacing: -.02em; }
.wc-cat p { font-size: 14px; color: var(--wc-muted); line-height: 1.6; margin-bottom: 12px; }
.wc-cat span.n { font-size: 12.5px; font-weight: 650; color: var(--wc-accent); }

/* ==========================================================================
   Article page
   ========================================================================== */

.wc-artwrap { max-width: var(--wc-max); margin: 0 auto; padding: 0 20px; }
.wc-artgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: start; }
/* Grid items default to min-width:auto, which lets wide children (tables, long
   words, the prose max-width) push the whole column past the viewport on phones. */
.wc-artgrid > * { min-width: 0; }
@media (min-width: 1060px) {
  .wc-artgrid { grid-template-columns: minmax(0, 1fr) 296px; gap: 56px; }
}

.wc-arthead { padding: 34px 0 0; }
.wc-arthead h1 {
  font-size: clamp(28px, 4.2vw, 42px); font-weight: 740; letter-spacing: -.033em;
  line-height: 1.15; margin: 12px 0 14px; text-wrap: balance;
}
.wc-arthead .sub {
  font-size: clamp(16.5px, 2vw, 19px); color: var(--wc-muted);
  line-height: 1.55; max-width: 64ch; margin-bottom: 22px;
}

.wc-byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--wc-line); border-bottom: 1px solid var(--wc-line);
}
.wc-byline img.av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--wc-bg-3); }
.wc-byline__who { min-width: 0; }
.wc-byline__who b { display: block; font-size: 14.5px; font-weight: 650; color: var(--wc-ink); }
.wc-byline__who b a:hover { color: var(--wc-accent); }
.wc-byline__who span { font-size: 13px; color: var(--wc-muted); }
.wc-byline__facts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--wc-muted); }
@media (max-width: 620px) { .wc-byline__facts { margin-left: 0; width: 100%; } }
.wc-byline__facts span { display: inline-flex; align-items: center; gap: 6px; }
.wc-byline__facts svg { color: var(--wc-faint); }

.wc-herofig { margin: 26px 0 0; }
.wc-herofig img {
  width: 100%; border-radius: var(--wc-r-lg); border: 1px solid var(--wc-line);
  background: var(--wc-bg-3);
}
.wc-herofig figcaption { font-size: 13px; color: var(--wc-faint); margin-top: 10px; text-align: center; }

/* key takeaways */
.wc-takeaways {
  background: var(--wc-accent-l); border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--wc-r-lg); padding: 22px 24px; margin: 30px 0 6px;
}
.wc-takeaways h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--wc-accent); margin-bottom: 12px;
}
.wc-takeaways ul { list-style: none; display: grid; gap: 9px; }
.wc-takeaways li { position: relative; padding-left: 26px; font-size: 15px; color: var(--wc-body); line-height: 1.6; }
.wc-takeaways li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--wc-accent);
}

/* ==========================================================================
   Prose — the most important block on the site
   ========================================================================== */

.wc-prose {
  font-size: 17.5px; line-height: 1.78; color: var(--wc-body);
  max-width: min(var(--wc-read), 100%);
  overflow-wrap: break-word;
}
.wc-prose > *:first-child { margin-top: 0; }

.wc-prose p { margin: 0 0 22px; }
.wc-prose p:last-child { margin-bottom: 0; }

.wc-prose h2 {
  font-size: clamp(22px, 2.6vw, 27px); font-weight: 700; letter-spacing: -.027em;
  margin: 46px 0 14px; scroll-margin-top: calc(var(--wc-head-h) + 20px); position: relative;
}
.wc-prose h3 {
  font-size: clamp(18px, 2.1vw, 20.5px); font-weight: 660; letter-spacing: -.02em;
  margin: 34px 0 10px; scroll-margin-top: calc(var(--wc-head-h) + 20px); position: relative;
}
.wc-prose h4 { font-size: 17px; font-weight: 650; margin: 26px 0 8px; }

.wc-anchor {
  opacity: 0; margin-left: 8px; color: var(--wc-line-2); font-weight: 400;
  text-decoration: none; transition: opacity .16s var(--wc-ease), color .16s;
}
.wc-prose h2:hover .wc-anchor, .wc-prose h3:hover .wc-anchor { opacity: 1; }
.wc-anchor:hover { color: var(--wc-accent); }

.wc-prose ul, .wc-prose ol { margin: 0 0 22px; padding-left: 26px; }
.wc-prose ul { list-style: disc; }
.wc-prose ol { list-style: decimal; }
.wc-prose li { margin-bottom: 9px; padding-left: 4px; }
.wc-prose li::marker { color: var(--wc-accent); }
.wc-prose ul ul, .wc-prose ol ol, .wc-prose ul ol, .wc-prose ol ul { margin: 9px 0 0; }

.wc-prose a {
  color: var(--wc-accent); font-weight: 550;
  text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 2.5px; text-decoration-color: rgba(37, 99, 235, .32);
  transition: text-decoration-color .16s var(--wc-ease);
}
.wc-prose a:hover { text-decoration-color: var(--wc-accent); }

.wc-prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--wc-accent);
  font-size: 18px; color: var(--wc-ink); font-style: italic;
}
.wc-prose blockquote p:last-child { margin-bottom: 0; }

.wc-prose code {
  background: var(--wc-bg-3); border: 1px solid var(--wc-line);
  border-radius: 5px; padding: 1.5px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em; color: #b91c1c;
}
.wc-prose pre {
  background: #0f172a; color: #e2e8f0; border-radius: var(--wc-r);
  padding: 18px 20px; overflow-x: auto; margin: 0 0 22px; font-size: 14px; line-height: 1.7;
}
.wc-prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

.wc-tablewrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--wc-line); border-radius: var(--wc-r); }
.wc-prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 440px; }
.wc-prose th, .wc-prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--wc-line); vertical-align: top; }
.wc-prose thead th { background: var(--wc-bg-2); font-weight: 650; color: var(--wc-ink); font-size: 13.5px; white-space: nowrap; }
.wc-prose tbody tr:last-child td { border-bottom: 0; }
.wc-prose tbody tr:hover { background: var(--wc-bg-2); }

.wc-prose img { border-radius: var(--wc-r); border: 1px solid var(--wc-line); margin: 8px 0 8px; }
.wc-prose figure { margin: 28px 0; }
.wc-prose figcaption { font-size: 13.5px; color: var(--wc-faint); margin-top: 9px; text-align: center; }
.wc-prose hr { border: 0; border-top: 1px solid var(--wc-line); margin: 40px 0; }

.wc-prose kbd {
  background: #fff; border: 1px solid var(--wc-line-2); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 7px; font-size: 13px;
  font-family: ui-monospace, Menlo, monospace; color: var(--wc-ink);
}

/* callout boxes used inside articles */
.wc-note {
  margin: 28px 0; padding: 18px 22px; border-radius: var(--wc-r);
  background: var(--wc-bg-2); border: 1px solid var(--wc-line); border-left: 3px solid var(--wc-accent);
  font-size: 16px;
}
.wc-note strong:first-child { display: block; margin-bottom: 5px; color: var(--wc-ink); }
.wc-note p:last-child { margin-bottom: 0; }
.wc-note--tip { border-left-color: var(--wc-green); background: #f0fdf4; border-color: #bbf7d0; }
.wc-note--warn { border-left-color: var(--wc-amber); background: #fffbeb; border-color: #fde68a; }

/* ==========================================================================
   Table of contents (sidebar + inline)
   ========================================================================== */

.wc-side { position: sticky; top: calc(var(--wc-head-h) + 24px); display: none; }
@media (min-width: 1060px) { .wc-side { display: block; } }

.wc-toc { border-left: 2px solid var(--wc-line); padding-left: 18px; }
.wc-toc h2 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wc-faint); margin-bottom: 12px;
}
.wc-toc ol { list-style: none; display: grid; gap: 2px; }
.wc-toc a {
  display: block; padding: 6px 0; font-size: 14px; line-height: 1.45;
  color: var(--wc-muted); transition: color .16s var(--wc-ease);
}
.wc-toc a:hover { color: var(--wc-accent); }
.wc-toc a.is-on { color: var(--wc-accent); font-weight: 600; }

.wc-toc-m {
  margin: 30px 0; border: 1px solid var(--wc-line); border-radius: var(--wc-r); overflow: hidden;
  background: var(--wc-bg-2);
}
@media (min-width: 1060px) { .wc-toc-m { display: none; } }
.wc-toc-m summary {
  list-style: none; cursor: pointer; padding: 14px 18px;
  font-size: 14px; font-weight: 650; color: var(--wc-ink); position: relative;
}
.wc-toc-m summary::-webkit-details-marker { display: none; }
.wc-toc-m summary::after {
  content: ""; position: absolute; right: 20px; top: 20px; width: 7px; height: 7px;
  border-right: 2px solid var(--wc-muted); border-bottom: 2px solid var(--wc-muted);
  transform: rotate(45deg); transition: transform .2s var(--wc-ease);
}
.wc-toc-m[open] summary::after { transform: rotate(-135deg); }
.wc-toc-m ol { list-style: decimal; margin: 0; padding: 0 20px 16px 38px; }
.wc-toc-m li { margin-bottom: 7px; }
.wc-toc-m a { font-size: 14.5px; color: var(--wc-body); }
.wc-toc-m a:hover { color: var(--wc-accent); }

.wc-side__box {
  background: var(--wc-bg-2); border: 1px solid var(--wc-line);
  border-radius: var(--wc-r); padding: 18px; margin-top: 26px;
}
.wc-side__box h2 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wc-faint); margin-bottom: 12px;
}
.wc-side__box ul { list-style: none; display: grid; gap: 12px; }
.wc-side__box a { font-size: 14px; font-weight: 550; color: var(--wc-body); line-height: 1.45; display: block; }
.wc-side__box a:hover { color: var(--wc-accent); }

/* reading progress */
.wc-prog {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--wc-teal), var(--wc-accent));
  z-index: 120; transition: width .1s linear;
}

/* ==========================================================================
   Author box, FAQ, share, neighbours
   ========================================================================== */

.wc-authorbox {
  display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap;
  margin: 46px 0 0; padding: 24px; border-radius: var(--wc-r-lg);
  background: var(--wc-bg-2); border: 1px solid var(--wc-line);
}
.wc-authorbox img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.wc-authorbox__b { flex: 1 1 260px; min-width: 0; }
.wc-authorbox h2 { font-size: 17px; font-weight: 680; margin-bottom: 2px; }
.wc-authorbox .role { font-size: 13px; color: var(--wc-accent); font-weight: 600; margin-bottom: 9px; }
.wc-authorbox p { font-size: 14.5px; color: var(--wc-muted); line-height: 1.65; margin-bottom: 10px; }
.wc-authorbox a.more { font-size: 13.5px; font-weight: 650; color: var(--wc-accent); }

.wc-faq { margin-top: 8px; }
.wc-faq details { border-bottom: 1px solid var(--wc-line); }
.wc-faq details:first-child { border-top: 1px solid var(--wc-line); }
.wc-faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0;
  font-size: 16.5px; font-weight: 620; color: var(--wc-ink); position: relative;
}
.wc-faq summary::-webkit-details-marker { display: none; }
.wc-faq summary::after {
  content: ""; position: absolute; right: 8px; top: 25px; width: 8px; height: 8px;
  border-right: 2px solid var(--wc-muted); border-bottom: 2px solid var(--wc-muted);
  transform: rotate(45deg); transition: transform .22s var(--wc-ease);
}
.wc-faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--wc-accent); }
.wc-faq__a { padding: 0 0 20px; color: var(--wc-body); font-size: 16px; line-height: 1.72; }
.wc-faq__a p:last-child { margin-bottom: 0; }

.wc-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 40px 0 0; }
.wc-share span { font-size: 13.5px; font-weight: 650; color: var(--wc-muted); }
.wc-share a, .wc-share button {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--wc-r-sm);
  background: var(--wc-bg-2); border: 1px solid var(--wc-line); color: var(--wc-muted);
  transition: all .17s var(--wc-ease);
}
.wc-share a:hover, .wc-share button:hover { border-color: var(--wc-accent); color: var(--wc-accent); background: #fff; }

.wc-neighbours { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 44px 0 0; }
@media (min-width: 700px) { .wc-neighbours { grid-template-columns: 1fr 1fr; } }
.wc-neigh {
  display: block; padding: 18px 20px; border: 1px solid var(--wc-line);
  border-radius: var(--wc-r); transition: border-color .18s var(--wc-ease), background .18s;
}
.wc-neigh:hover { border-color: var(--wc-accent); background: var(--wc-bg-2); }
.wc-neigh span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--wc-faint); margin-bottom: 6px; }
.wc-neigh b { font-size: 15.5px; font-weight: 620; color: var(--wc-ink); line-height: 1.4; }
.wc-neigh--next { text-align: right; }

.wc-tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.wc-tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: var(--wc-pill); background: var(--wc-bg-2); border: 1px solid var(--wc-line);
  font-size: 13.5px; font-weight: 550; color: var(--wc-body); transition: all .16s var(--wc-ease);
}
.wc-tag:hover { border-color: var(--wc-accent); color: var(--wc-accent); background: #fff; }

.wc-updated {
  display: flex; align-items: flex-start; gap: 10px; margin: 34px 0 0;
  padding: 14px 18px; border-radius: var(--wc-r); background: var(--wc-bg-2);
  border: 1px solid var(--wc-line); font-size: 13.5px; color: var(--wc-muted);
}
.wc-updated svg { color: var(--wc-green); flex: 0 0 auto; margin-top: 2px; }

/* ==========================================================================
   Comments
   ========================================================================== */

.wc-comments { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--wc-line); max-width: min(var(--wc-read), 100%); }
.wc-comments h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.025em; }
.wc-comments > p.lead { font-size: 14.5px; color: var(--wc-muted); margin-bottom: 24px; }

.wc-cmt { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--wc-line); }
.wc-cmt__av {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--wc-accent-l); color: var(--wc-accent); font-weight: 700; font-size: 16px;
}
.wc-cmt__b { min-width: 0; flex: 1 1 auto; }
.wc-cmt__h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.wc-cmt__h b { font-size: 14.5px; font-weight: 650; color: var(--wc-ink); }
.wc-cmt__h time { font-size: 12.5px; color: var(--wc-faint); }
.wc-cmt__b p { font-size: 15px; line-height: 1.7; white-space: pre-wrap; }
.wc-cmt__replies { margin: 16px 0 0 0; padding-left: 22px; border-left: 2px solid var(--wc-line); }
.wc-cmt__replies .wc-cmt { border-bottom: 0; padding: 12px 0; }

.wc-cform { margin-top: 30px; }
.wc-cform h3 { font-size: 17px; font-weight: 680; margin-bottom: 4px; }
.wc-cform p.hint { font-size: 13.5px; color: var(--wc-muted); margin-bottom: 16px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.wc-field { margin-bottom: 16px; }
.wc-field label { display: block; font-size: 13px; font-weight: 650; color: var(--wc-ink); margin-bottom: 6px; }
.wc-in, .wc-ta, .wc-sel {
  width: 100%; background: #fff; border: 1px solid var(--wc-line-2);
  border-radius: var(--wc-r-sm); padding: 11px 14px; font-size: 15px; color: var(--wc-ink); outline: none;
  transition: border-color .17s var(--wc-ease), box-shadow .17s var(--wc-ease);
}
.wc-in::placeholder, .wc-ta::placeholder { color: var(--wc-faint); }
.wc-ta { min-height: 130px; resize: vertical; line-height: 1.65; }
.wc-in:focus, .wc-ta:focus, .wc-sel:focus { border-color: var(--wc-accent); box-shadow: var(--wc-ring); }
.wc-2col { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .wc-2col { grid-template-columns: 1fr 1fr; } }

.wc-msg { border-radius: var(--wc-r-sm); padding: 13px 17px; font-size: 14.5px; font-weight: 550; margin-bottom: 18px; }
.wc-msg--ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.wc-msg--err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.wc-msg--info { background: var(--wc-accent-l); border: 1px solid #bfdbfe; color: #1e40af; }

/* ==========================================================================
   Breadcrumbs, page head, pager
   ========================================================================== */

.wc-crumbs { padding: 20px 0 0; }
.wc-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; font-size: 13px; color: var(--wc-faint); }
.wc-crumbs li { display: flex; align-items: center; gap: 7px; }
.wc-crumbs li + li::before {
  content: ""; width: 5px; height: 5px;
  border-right: 1.5px solid var(--wc-line-2); border-top: 1.5px solid var(--wc-line-2); transform: rotate(45deg);
}
.wc-crumbs a { color: var(--wc-muted); font-weight: 550; }
.wc-crumbs a:hover { color: var(--wc-accent); }
.wc-crumbs [aria-current] span { color: var(--wc-ink); font-weight: 600; }

.wc-phead { padding: 26px 0 0; max-width: 780px; }
.wc-phead h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 740; letter-spacing: -.033em; line-height: 1.14; text-wrap: balance; }
.wc-phead p.lead { margin-top: 14px; font-size: 17px; color: var(--wc-muted); line-height: 1.6; }
.wc-phead .count { margin-top: 14px; font-size: 13.5px; color: var(--wc-faint); }

.wc-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; margin: 48px 0 0; }
.wc-pager a, .wc-pager span {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px;
  border-radius: var(--wc-r-sm); border: 1px solid var(--wc-line);
  font-size: 14.5px; font-weight: 600; color: var(--wc-body); background: #fff;
  transition: all .17s var(--wc-ease);
}
.wc-pager a:hover { border-color: var(--wc-accent); color: var(--wc-accent); }
.wc-pager .is-on { background: var(--wc-accent); border-color: var(--wc-accent); color: #fff; }
.wc-pager .gap { border: 0; background: none; color: var(--wc-faint); min-width: 24px; padding: 0; }

/* ==========================================================================
   Newsletter / CTA strip
   ========================================================================== */

.wc-cta {
  margin: 64px 0 0; padding: 36px; border-radius: var(--wc-r-xl);
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #e2e8f0; display: grid; gap: 22px; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 820px) { .wc-cta { grid-template-columns: 1.4fr 1fr; padding: 44px; } }
.wc-cta h2 { color: #fff; font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -.028em; margin-bottom: 8px; }
.wc-cta p { font-size: 15.5px; color: #cbd5e1; max-width: 56ch; }
.wc-cta__act { display: flex; flex-wrap: wrap; gap: 11px; }
.wc-cta .wc-btn--go { background: #fff; color: #0f172a; }
.wc-cta .wc-btn--go:hover { background: #f1f5f9; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.wc-cta .wc-btn--line { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.wc-cta .wc-btn--line:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ==========================================================================
   Ads
   ========================================================================== */

.wc-ad { display: block; margin: 34px auto; text-align: center; max-width: 100%; overflow: hidden; }
.wc-ad__tag {
  display: block; font-size: 10px; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wc-faint); margin-bottom: 7px;
}
.wc-ad__body { display: flex; justify-content: center; }
.wc-ad--inline { margin: 34px 0; max-width: min(var(--wc-read), 100%); }
.wc-ad--wide { margin: 0 auto; padding: 18px 20px 0; max-width: var(--wc-max); }
.wc-ad--rail { margin: 26px 0 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.wc-foot { margin-top: 72px; border-top: 1px solid var(--wc-line); background: var(--wc-bg-2); padding: 48px 0 0; }
.wc-foot__grid { max-width: var(--wc-max); margin: 0 auto; padding: 0 20px; display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .wc-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.wc-foot__brand img { height: 32px; margin-bottom: 14px; }
.wc-foot__brand p { font-size: 14.5px; color: var(--wc-muted); max-width: 40ch; line-height: 1.65; }
.wc-foot h3 { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wc-faint); margin-bottom: 14px; }
.wc-foot ul { list-style: none; }
.wc-foot li { margin-bottom: 10px; }
.wc-foot li a { font-size: 14.5px; color: var(--wc-body); }
.wc-foot li a:hover { color: var(--wc-accent); }
.wc-foot__about { max-width: var(--wc-max); margin: 40px auto 0; padding: 30px 20px 0; border-top: 1px solid var(--wc-line); }
.wc-foot__about .wc-prose { font-size: 14.5px; color: var(--wc-muted); max-width: none; }
.wc-foot__about .wc-prose h2 { font-size: 16px; margin: 22px 0 8px; }
.wc-foot__about .wc-prose h3 { font-size: 15px; margin: 18px 0 7px; }
.wc-foot__bar { border-top: 1px solid var(--wc-line); margin-top: 34px; }
.wc-foot__barin {
  max-width: var(--wc-max); margin: 0 auto; padding: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--wc-muted);
}
.wc-foot__barin nav { display: flex; flex-wrap: wrap; gap: 16px; }
.wc-foot__barin a:hover { color: var(--wc-accent); }

/* ==========================================================================
   Misc
   ========================================================================== */

.wc-404 { text-align: center; padding: 72px 20px 40px; }
.wc-404 .n { font-size: clamp(64px, 12vw, 110px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--wc-accent-l); }
.wc-404 h1 { font-size: clamp(23px, 3.2vw, 30px); margin: -18px 0 12px; }
.wc-404 p { color: var(--wc-muted); max-width: 52ch; margin: 0 auto 26px; }

.wc-top-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 1px solid var(--wc-line-2); color: var(--wc-accent);
  box-shadow: var(--wc-sh); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all .26s var(--wc-ease);
}
.wc-top-btn.is-on { opacity: 1; pointer-events: auto; transform: none; }

.wc-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 160%); z-index: 300;
  background: var(--wc-ink); color: #fff; padding: 12px 22px; border-radius: var(--wc-pill);
  font-size: 14px; font-weight: 550; box-shadow: var(--wc-sh-lg);
  transition: transform .32s var(--wc-ease);
}
.wc-toast.is-on { transform: translate(-50%, 0); }

.wc-reveal { opacity: 0; transform: translateY(12px); }
.wc-reveal.is-in { opacity: 1; transform: none; transition: opacity .5s var(--wc-ease), transform .5s var(--wc-ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .wc-reveal { opacity: 1; transform: none; }
}

@media print {
  .wc-top, .wc-foot, .wc-ad, .wc-side, .wc-toc-m, .wc-top-btn, .wc-share, .wc-comments, .wc-cta { display: none !important; }
  body { font-size: 12pt; }
  .wc-prose { max-width: none; }
  .wc-prose a::after { content: " (" attr(href) ")"; font-size: .8em; color: #666; }
}
