@charset "UTF-8";
/* BestSites — design system. Tokens derived from the Lovable reference (Revio): white surface, #141414 ink,
   violet #6142FF accent, #F4F4F4 cards, #E6E6E6 borders, pastel accents (#D8A0DF / #F6E2F8 / #CCFFF0), radius 24px,
   dark sections, soft elevation. Typography: Heebo (OFL), scale from the reference h1–h6. */

@font-face { font-family: "Heebo"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/heebo-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/heebo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ffffff;
  --fg: #141414;
  --card: #f4f4f4;
  --card-fg: #323232;
  --muted: #bebebe;
  --muted-fg: #5f5f5f; /* 5.2:1 on the tinted sections, 6.4:1 on white (was #6e6e6e: 4.2:1 on --pink) */
  --border: #e6e6e6;
  --primary: #6142ff;
  --primary-hover: #5236e6;
  --primary-fg: #ffffff;
  --ink: #000000;
  --ink-2: #141414;
  --ink-3: #2a2a2a;
  --orchid: #d8a0df;
  --pink: #f6e2f8;
  --mint: #ccfff0;
  --mint-ink: #0f5b45;
  --violet-soft: #ece8ff;
  --ok: #1b6e3c;
  --warn: #8a5a00;
  --error: #a4161a;
  --field-border: #767676;
  --gradient-violet: linear-gradient(135deg, #6142ff, #8b66ff);
  --gradient-dark: linear-gradient(180deg, #0a0a0a, #141414);
  --shadow-card: 0 4px 24px rgba(20, 20, 20, .08);
  --shadow-elevated: 0 20px 60px rgba(20, 20, 20, .15);
  --shadow-glow: 0 0 60px rgba(97, 66, 255, .3);
  --radius: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px; --space-5: 60px; --space-6: 80px; --space-7: 120px;
  --container: 1320px;
  --narrow: 820px;
  --ease: cubic-bezier(.21, .47, .32, .98);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-base: 1rem;
  --lh: 1.55;
  --header-h: 72px;
  color-scheme: light;
}

/* ---- Accessibility modes (set by the a11y tool and persisted in localStorage) -------------------------------- */
:root[data-font="lg"] { --fs-base: 1.125rem; }
:root[data-font="xl"] { --fs-base: 1.3rem; }
:root[data-contrast="high"] { --fg: #000; --muted-fg: #333; --border: #000; --primary: #3a1fd6; --card: #fff; --card-fg: #000; --muted: #555; --field-border: #000; }
:root[data-contrast="high"] a { text-decoration: underline; }
/* On dark surfaces the muted tokens must get lighter, not darker (otherwise "high contrast" lowers the contrast there). */
:root[data-contrast="high"] .hero, :root[data-contrast="high"] .section--dark, :root[data-contrast="high"] .site-footer, :root[data-contrast="high"] .page-head, :root[data-contrast="high"] .error-page, :root[data-contrast="high"] .mobile-menu, :root[data-contrast="high"] .is-home .site-header:not(.is-scrolled) { --muted: #f0f0f0; --muted-fg: #f0f0f0; --border: #fff; }
:root[data-contrast="dark"] { --bg: #0b0b0b; --fg: #f3f3f3; --card: #1b1b1b; --card-fg: #e8e8e8; --muted: #9a9a9a; --muted-fg: #b5b5b5; --field-border: #a0a0a0; --border: #333; --primary: #9b85ff; --primary-hover: #b3a2ff; --violet-soft: #1d1840; --pink: #2a1b2d; --mint: #0f2a24; --mint-ink: #a6f0d8; --orchid: #5c3a63; --shadow-card: none; --shadow-elevated: none; color-scheme: dark; }
:root[data-contrast="dark"] .brand__logo--light, :root[data-contrast="dark"] .site-footer__brand img { filter: none; }
:root[data-contrast="dark"] .card__media img, :root[data-contrast="dark"] .article__figure img { opacity: .92; }
:root[data-links="1"] a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:root[data-links="1"] .button { outline: 2px solid currentColor; outline-offset: 2px; }
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root[data-motion="reduce"] .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
/* Accessibility tool: text size steps (percent of the base), compatibility with the old lg/xl values */
:root[data-font="90"] { --fs-base: .9rem; }
:root[data-font="110"] { --fs-base: 1.1rem; }
:root[data-font="125"], :root[data-font="lg"] { --fs-base: 1.25rem; }
:root[data-font="150"], :root[data-font="xl"] { --fs-base: 1.5rem; }
:root[data-font="175"] { --fs-base: 1.75rem; }
:root[data-font="200"] { --fs-base: 2rem; }
/* Line, word and letter spacing (WCAG 1.4.12 values and above); headings keep their own rhythm */
:root[data-lines="1"] { --lh: 1.9; }
:root[data-lines="2"] { --lh: 2.2; }
:root[data-lines] p, :root[data-lines] li, :root[data-lines] dd, :root[data-lines] td, :root[data-lines] .card__excerpt, :root[data-lines] .rss-card__title { line-height: var(--lh); }
:root[data-lines="1"] .prose p, :root[data-lines="1"] .prose li { margin-block-end: 1.4em; }
:root[data-lines="2"] .prose p, :root[data-lines="2"] .prose li { margin-block-end: 1.8em; }
:root[data-words="1"] body { word-spacing: .16em; letter-spacing: .04em; }
:root[data-words="2"] body { word-spacing: .32em; letter-spacing: .08em; }
:root[data-words] h1, :root[data-words] h2, :root[data-words] h3 { letter-spacing: 0; }
/* Yellow on black: the highest-contrast mode (text ≈ 19:1 on the background) */
:root[data-contrast="yellow"] { --bg: #000; --fg: #ffe600; --card: #111; --card-fg: #ffe600; --muted: #ffd54a; --muted-fg: #ffd54a; --field-border: #ffe600; --border: #ffe600; --primary: #ffe600; --primary-hover: #fff17a; --primary-fg: #000; --violet-soft: #1a1a00; --pink: #1a1a00; --mint: #1a1a00; --mint-ink: #ffe600; --orchid: #333; --shadow-card: none; --shadow-elevated: none; color-scheme: dark; }
:root[data-contrast="yellow"] a { color: #ffe600; text-decoration: underline; }
:root[data-contrast="yellow"] img, :root[data-contrast="yellow"] .rss-card__fallback { filter: grayscale(1) contrast(1.1); }
:root[data-contrast="yellow"] .site-header, :root[data-contrast="yellow"] .section--soft, :root[data-contrast="yellow"] .section--deep, :root[data-contrast="yellow"] .hero, :root[data-contrast="yellow"] .section--dark, :root[data-contrast="yellow"] .site-footer, :root[data-contrast="yellow"] .page-head { background: #000; color: #ffe600; }
:root[data-contrast="yellow"] .brand__logo--light { display: none; }
:root[data-contrast="yellow"] .brand__logo--dark { display: block; }
:root[data-contrast="yellow"] .site-footer__brand img { filter: none; }
:root[data-contrast="yellow"] .button--primary { background: #ffe600; color: #000; border-color: #ffe600; }
:root[data-contrast="yellow"] .button--outline { border-color: #ffe600; color: #ffe600; }
:root[data-contrast="yellow"] :focus-visible { outline-color: #fff; }
/* Highlighted headings */
:root[data-headings="1"] h1, :root[data-headings="1"] h2, :root[data-headings="1"] h3, :root[data-headings="1"] h4 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--primary); }
:root[data-headings="1"] .prose h2, :root[data-headings="1"] .prose h3 { padding-inline-start: 12px; border-inline-start: 6px solid var(--primary); }
/* Big cursor: a 40px arrow and a 40px hand, drawn inline so nothing is fetched */
:root[data-cursor="big"], :root[data-cursor="big"] body, :root[data-cursor="big"] * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M6 3l26 17-11 2 7 12-5 3-7-12-9 8z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/></svg>") 4 2, auto !important; }
:root[data-cursor="big"] a, :root[data-cursor="big"] a *, :root[data-cursor="big"] button, :root[data-cursor="big"] button *, :root[data-cursor="big"] [role="button"], :root[data-cursor="big"] label, :root[data-cursor="big"] summary, :root[data-cursor="big"] select, :root[data-cursor="big"] input[type="checkbox"], :root[data-cursor="big"] input[type="submit"] { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M14 3c1.7 0 3 1.3 3 3v10h1V9c0-1.7 1.3-3 3-3s3 1.3 3 3v8h1v-5c0-1.7 1.3-3 3-3s3 1.3 3 3v6h1v-2c0-1.7 1.3-3 3-3s3 1.3 3 3v8c0 7-5 13-12 13H19c-3 0-6-1.5-8-4l-7-9c-1-1.4-.7-3.3.7-4.3 1.3-.9 3-.6 4 .6l2.3 3V6c0-1.7 1.3-3 3-3z' fill='%23000' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/></svg>") 14 2, pointer !important; }
:root[data-cursor="big"] input[type="text"], :root[data-cursor="big"] input[type="email"], :root[data-cursor="big"] input[type="search"], :root[data-cursor="big"] textarea { cursor: text !important; }
/* Reading guide: a band that follows the pointer (or the focused element), dimming the rest a little */
.a11y-guide { position: fixed; left: 0; right: 0; top: 40%; height: 56px; pointer-events: none; z-index: 940; border-top: 3px solid var(--primary); border-bottom: 3px solid var(--primary); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .22); }

/* ---- Base ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: var(--fs-base); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); line-height: var(--lh); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .page-head :focus-visible, .error-page :focus-visible { outline-color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
.container--narrow { max-width: var(--narrow); }
.container--wide { max-width: 1100px; }
@media (min-width: 768px) { .container { padding-inline: 20px; } }
@media (min-width: 1024px) { .container { padding-inline: 40px; } }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-inline-end: 8px; vertical-align: middle; }
.dot--mint { background: #2fcfa3; } .dot--pink { background: #e58fd0; } .dot--orchid { background: var(--orchid); } .dot--ink { background: var(--fg); }
.link-light { color: #fff; text-decoration: underline; }

/* ---- Buttons & chips ----------------------------------------------------------------------------------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); text-decoration: none; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button .icon { transform: scaleX(-1); }
.button--primary { background: var(--primary); color: var(--primary-fg); }
.button--primary:hover { background: var(--primary-hover); }
.button--secondary { background: var(--card); color: var(--fg); border-radius: var(--radius-md); }
.button--secondary:hover { background: #e9e9e9; }
.button--outline { background: transparent; color: inherit; border-color: var(--border); }
.button--outline:hover { background: var(--card); }
.section--dark .button--outline, .hero .button--outline, .error-page .button--outline { border-color: rgba(255,255,255,.3); color: #fff; }
.button--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgba(255,255,255,.16); }
.button--link { background: transparent; color: var(--muted-fg); padding-inline: 6px; }
.button--link:hover { color: var(--fg); text-decoration: underline; transform: none; }
.button--sm { min-height: 38px; padding: 6px 14px; font-size: .88rem; }
.button.is-disabled { opacity: .45; pointer-events: none; }
.link-button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; transition: background-color .2s; }
.icon-button:hover { background: rgba(20,20,20,.06); }
.is-home .site-header:not(.is-scrolled) .icon-button:hover { background: rgba(255,255,255,.12); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--violet-soft); color: var(--primary); font-size: .85rem; font-weight: 600; line-height: 1.2; }
.chip--mint { background: var(--mint); color: var(--mint-ink); } .chip--pink { background: var(--pink); color: #7a2a6c; } .chip--orchid { background: var(--orchid); color: #2d0f33; } .chip--ink { background: var(--fg); color: var(--bg); }
.chip--outline { background: transparent; border: 1px solid var(--border); color: var(--muted-fg); }
.chip:hover { text-decoration: none; filter: brightness(.96); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .9rem; font-weight: 600; color: var(--primary); }
.eyebrow__mark { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; position: relative; flex: none; }
.eyebrow__mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: var(--orchid); }

/* ---- Header -------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 2px 16px rgba(20,20,20,.05); }
.is-home .site-header { background: rgba(0,0,0,.72); color: #fff; }
.is-home .site-header.is-scrolled { background: rgba(0,0,0,.86); border-color: rgba(255,255,255,.1); }
:root[data-contrast="dark"] .site-header { background: rgba(11,11,11,.9); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { width: 156px; height: 36px; }
.brand__logo--dark { display: none; }
.is-home .brand__logo--light, :root[data-contrast="dark"] .brand__logo--light { display: none; }
.is-home .brand__logo--dark, :root[data-contrast="dark"] .brand__logo--dark { display: block; }
.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav__list > li > a, .site-nav__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-sm); color: inherit; font-weight: 500; background: transparent; border: 0; cursor: pointer; transition: color .2s, background-color .2s; }
.site-nav__list > li > a:hover, .site-nav__toggle:hover, .site-nav__list > li > a[aria-current="page"] { color: var(--primary); text-decoration: none; }
.is-home .site-header:not(.is-scrolled) .site-nav__list > li > a:hover, .is-home .site-header:not(.is-scrolled) .site-nav__toggle:hover { color: var(--orchid); }
.site-nav__group { position: relative; }
.site-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav__sub { position: absolute; inset-inline-start: 0; top: calc(100% + 8px); min-width: 260px; margin: 0; padding: 10px; list-style: none; background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); z-index: 20; }
.site-nav__sub a { display: flex; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); color: inherit; }
.site-nav__sub a:hover, .site-nav__sub a[aria-current="page"] { background: var(--card); text-decoration: none; color: var(--primary); }
.site-nav__sub-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.site-header__tools { display: flex; align-items: center; gap: 4px; }
.site-search { display: none; align-items: center; gap: 4px; }
.site-search.is-open { display: flex; position: absolute; inset-inline: 16px; top: calc(var(--header-h) - 4px); background: var(--bg); color: var(--fg); padding: 10px; border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); border: 1px solid var(--border); z-index: 30; }
.site-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg); font: inherit; }
.site-search button { width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-menu-button { display: none; }
  .site-search { display: flex; }
  .site-search input { width: 180px; transition: width .3s var(--ease); background: rgba(20,20,20,.04); }
  .site-search input:focus { width: 260px; }
  .is-home .site-header:not(.is-scrolled) .site-search input, .is-home .site-header.is-scrolled .site-search input { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
  .is-home .site-search input::placeholder { color: rgba(255,255,255,.7); }
  [data-search-toggle] { display: none; }
  .site-search.is-open { position: static; box-shadow: none; border: 0; padding: 0; background: transparent; }
}
.mobile-menu { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu__list { list-style: none; margin: 0; padding: 16px 0 8px; display: grid; gap: 2px; }
.mobile-menu__list a { display: flex; align-items: center; padding: 14px 8px; font-size: 1.1rem; color: #fff; border-radius: var(--radius-sm); }
.mobile-menu__list a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.mobile-menu__topic a { font-size: 1rem; color: var(--muted); padding-inline-start: 20px; }
.mobile-menu__search { display: flex; gap: 8px; padding: 8px 8px 24px; }
.mobile-menu__search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
body.menu-open { overflow: hidden; }

/* ---- Hero ---------------------------------------------------------------------------------------------------- */
.hero { position: relative; background: var(--gradient-dark); color: #fff; padding: 56px 0 64px; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; inset-inline-end: -10%; top: -30%; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(97,66,255,.45), rgba(97,66,255,0) 62%); filter: blur(20px); z-index: -1; animation: float 10s ease-in-out infinite; }
.hero__inner { display: grid; gap: 36px; align-items: center; }
.hero__title { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 8px 0 16px; }
.hero__text { font-size: 1.1rem; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__lead { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); box-shadow: var(--shadow-elevated); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hero__lead:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow), var(--shadow-elevated); }
.hero__lead-link { display: grid; color: inherit; }
.hero__lead-link:hover { text-decoration: none; }
.hero__lead-media { display: block; aspect-ratio: 16 / 10; background: var(--ink-3); overflow: hidden; }
.hero__lead-media img, .hero__lead-media .card__placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero__lead:hover .hero__lead-media img { transform: scale(1.04); }
.hero__lead-body { display: grid; gap: 10px; padding: 22px 24px 26px; }
.hero__lead-kicker { font-size: .85rem; font-weight: 600; color: var(--orchid); }
.hero__lead-title { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.25; }
.hero__lead-excerpt { color: var(--muted); font-size: .98rem; }
.hero__lead-meta { font-size: .85rem; color: var(--muted); }
@media (min-width: 1024px) {
  .hero { padding: 80px 0 96px; }
  .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .hero__lead-link { grid-template-columns: minmax(0, 1fr); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ---- Sections ------------------------------------------------------------------------------------------------ */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section--soft { background: var(--card); }
:root[data-contrast="dark"] .section--soft { background: #121212; }
.section--dark { background: var(--ink); color: #fff; }
.section--tint-violet { background: linear-gradient(180deg, var(--violet-soft), var(--bg) 70%); }
.section--tint-mint { background: linear-gradient(180deg, var(--mint), var(--bg) 70%); }
.section--tint-pink { background: linear-gradient(180deg, var(--pink), var(--bg) 70%); }
.section--tint-orchid { background: linear-gradient(180deg, #f1dff3, var(--bg) 70%); }
.section--tint-ink { background: var(--bg); }
.section--sources { border-top: 1px solid var(--border); }
.section--deep { background: var(--pink); }
:root[data-contrast="dark"] .section--deep { background: #1a1120; }
.section__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; }
@media (min-width: 1024px) { .section__head { flex-direction: row; align-items: flex-end; margin-bottom: 40px; } }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 700px; }
.section__title--sm { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 24px; }
.section__lead { margin-top: 10px; color: var(--muted-fg); max-width: 640px; font-size: 1.05rem; }
.section--dark .section__lead { color: var(--muted); }
.section__links { display: flex; flex-wrap: wrap; gap: 8px; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.empty { padding: 40px 0; color: var(--muted-fg); text-align: center; }

/* ---- Cards --------------------------------------------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--card); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; color: rgba(20,20,20,.18); background: linear-gradient(135deg, var(--violet-soft), #d9d2ff); }
.card__placeholder--mint { background: linear-gradient(135deg, var(--mint), #a9f1dc); color: rgba(15,91,69,.25); }
.card__placeholder--pink { background: linear-gradient(135deg, var(--pink), #ead0ee); color: rgba(122,42,108,.22); }
.card__placeholder--orchid { background: linear-gradient(135deg, #ead6ee, var(--orchid)); color: rgba(45,15,51,.25); }
.card__placeholder--ink { background: linear-gradient(135deg, #2a2a2a, #141414); color: rgba(255,255,255,.14); }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px 4px; flex: 1; }
.card__meta, .card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted-fg); }
.card__meta { text-transform: none; font-weight: 500; }
.card__topic { color: var(--primary); font-weight: 600; }
.section--dark .card__topic { color: var(--orchid); }
.card__format { color: var(--fg); }
.section--dark .card__format { color: #fff; }
.card__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; display: inline-block; }
.card__sep--primary { background: var(--primary); }
.card__title { font-size: 1.2rem; line-height: 1.3; }
.card__link { color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:hover { text-decoration: none; color: var(--primary); }
.section--dark .card__link:hover { color: var(--orchid); }
.card__excerpt { color: var(--muted-fg); font-size: .95rem; }
.section--dark .card__excerpt, .section--dark .card__meta, .section--dark .card__foot { color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 6px; }
.card--feature .card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-md); }
.card--feature .card__title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.card--feature .card__excerpt { font-size: 1.05rem; }
.card--mini { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--mini .card__media { flex: none; width: 112px; aspect-ratio: 1; border-radius: var(--radius-sm); }
.card--mini .card__body { padding: 0; gap: 6px; }
.card--mini .card__title { font-size: 1.02rem; }
.card--row { flex-direction: row; gap: 20px; align-items: stretch; padding: 16px; background: var(--card); border-radius: var(--radius-md); }
.card--row:hover { box-shadow: var(--shadow-card); }
.card--row .card__media { flex: none; width: 36%; max-width: 280px; aspect-ratio: 4 / 3; }
.card--row .card__body { padding: 4px 0; }
.card--row .card__title { font-size: 1.25rem; }
@media (max-width: 639px) {
  .card--row { flex-direction: column; }
  .card--row .card__media { width: 100%; max-width: none; }
}
.feature-grid { display: grid; gap: 28px; }
.feature-grid__side { display: grid; gap: 22px; align-content: start; }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }
.row-list { display: grid; gap: 16px; }
@media (min-width: 1024px) { .row-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.grid--dark .card__media { background: var(--ink-3); }

/* ---- RSS grid ------------------------------------------------------------------------------------------------ */
.section--sources { background: linear-gradient(180deg, var(--violet-soft), var(--bg) 55%); }
:root[data-contrast="dark"] .section--sources { background: linear-gradient(180deg, #1a1535, var(--bg) 55%); }
.rss-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rss-grid { gap: 20px; grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .rss-grid { grid-template-columns: repeat(4, 1fr); } }
.rss-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--bg); border: 1px solid var(--border); border-top: 4px solid var(--brand, var(--primary)); border-radius: var(--radius-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.rss-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.rss-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px 10px; }
.rss-card__name { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--fg); }
.rss-card__ext { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--muted-fg); white-space: nowrap; }
.rss-card__ext .icon { width: 12px; height: 12px; }
.rss-card__media { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; }
.rss-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.rss-card:hover .rss-card__media img { transform: scale(1.03); }
.rss-card__fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background-color: color-mix(in srgb, var(--brand, #6142ff) 72%, #000); background-image: linear-gradient(135deg, color-mix(in srgb, var(--brand, #6142ff) 85%, #000), color-mix(in srgb, var(--brand, #6142ff) 55%, #fff)); color: #fff; text-align: center; padding: 16px; }
.rss-card__fallback-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.rss-card__fallback-host { font-size: .8rem; opacity: .85; }
.rss-card__credit { position: absolute; inset-inline-end: 0; bottom: 0; max-width: 100%; padding: 3px 8px; font-size: .68rem; line-height: 1.3; color: #fff; background: rgba(0, 0, 0, .62); border-start-start-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rss-card__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; flex: 1; }
.rss-card__title { font-size: 1.02rem; line-height: 1.35; text-align: start; font-weight: 600; }
.rss-card__link { color: inherit; }
.rss-card__link::after { content: ""; position: absolute; inset: 0; }
.rss-card__link:hover { color: var(--primary); text-decoration: none; }
.rss-card__meta { font-size: .8rem; color: var(--muted-fg); display: flex; flex-wrap: wrap; gap: 6px; }
.rss-card__note { color: var(--muted); }
.rss-card__status { font-size: .75rem; color: var(--muted-fg); white-space: nowrap; }
.rss-card__status--warn { color: var(--warn); }
.rss-card__empty { color: var(--muted-fg); font-size: .92rem; }
.rss-card__links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-top: 6px; font-size: .85rem; }
.rss-card__read { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; font-weight: 600; }
.rss-card__read .icon { width: 12px; height: 12px; }
.rss-card__profile { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 24px; padding: 0 2px; color: var(--primary); font-weight: 600; } /* 24px tap target (WCAG 2.5.8) */
.rss-card__status { position: relative; z-index: 1; }
@media (max-width: 639px) {
  /* Compact rows on phones: thumbnail on the inline-start side, source name and title beside it, so eight cards stay
     about one and a half screens and the site's own sections are not pushed far down. */
  .rss-grid { gap: 12px; }
  .rss-card { display: grid; grid-template-columns: 34% minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "media head" "media body"; column-gap: 12px; padding: 10px 12px 10px; border-top-width: 3px; }
  .rss-card__head { grid-area: head; padding: 0 0 4px; align-items: center; }
  .rss-card__name { font-size: .98rem; }
  .rss-card__ext span[dir] { display: none; }
  .rss-card__media { grid-area: media; aspect-ratio: 4 / 3; align-self: start; margin: 0; border-radius: var(--radius-sm); }
  .rss-card__fallback-name { font-size: .9rem; }
  .rss-card__fallback-host { display: none; }
  .rss-card__credit { font-size: .58rem; padding: 2px 6px; }
  .rss-card__body { grid-area: body; padding: 0; gap: 4px; }
  .rss-card__title { font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .rss-card__meta { font-size: .74rem; }
  .rss-card__links { padding-top: 0; font-size: .8rem; }
}
.rss-grid__note { margin-top: 20px; font-size: .85rem; color: var(--muted-fg); }

/* ---- Page head ----------------------------------------------------------------------------------------------- */
.page-head { background: var(--gradient-dark); color: #fff; padding: 36px 0 44px; }
.page-head--violet { background: linear-gradient(135deg, #1a1030, #0a0a0a); }
.page-head--mint { background: linear-gradient(135deg, #0f2a24, #0a0a0a); }
.page-head--pink { background: linear-gradient(135deg, #2a1424, #0a0a0a); }
.page-head--orchid { background: linear-gradient(135deg, #2d1a33, #0a0a0a); }
.page-head__title { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 700; margin-top: 12px; }
.page-head__page { font-size: .5em; font-weight: 500; color: var(--muted); }
.page-head__lead { margin-top: 14px; font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.page-head__count { margin-top: 14px; font-size: .9rem; color: var(--muted); }
@media (min-width: 1024px) { .page-head { padding: 56px 0 64px; } }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .85rem; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.breadcrumbs--dark { color: var(--muted); }
.breadcrumbs--dark a { color: var(--muted); } .breadcrumbs--dark a:hover { color: #fff; }
.breadcrumbs--dark [aria-current] { color: #fff; }
.breadcrumbs--light { color: var(--muted-fg); } .breadcrumbs--light a { color: var(--muted-fg); }
.prose--intro { max-width: var(--narrow); margin: 0 auto 40px; }

/* ---- Article ------------------------------------------------------------------------------------------------- */
.article__head { background: var(--gradient-dark); color: #fff; padding: 32px 0 44px; }
.article__kicker { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.article__title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 700; line-height: 1.15; }
.article__excerpt { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.article__author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.article__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-violet); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.article__dates { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.article__figure { margin: -24px auto 0; padding-inline: 16px; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); }
.article__figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted-fg); text-align: start; }
.article__credit { color: var(--muted); }
@media (min-width: 1024px) { .article__head { padding: 48px 0 64px; } .article__figure { margin-top: -36px; } }
.article__layout { padding-top: 40px; padding-bottom: 56px; }
.article__body--desk .desk-featured { margin: 0 0 32px; }
.article__body--desk .desk-featured img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 16 / 9; object-fit: cover; }
.desk-featured-text { margin-top: 10px; font-size: .85rem; color: var(--muted-fg); }
.toc { margin: 0 0 32px; padding: 18px 20px; background: var(--card); border-radius: var(--radius-md); border-inline-start: 4px solid var(--primary); }
.toc__title { font-weight: 700; margin-bottom: 8px; }
.toc__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: toc; }
.toc__item a { display: block; padding: 4px 0; color: var(--fg); }
.toc__item a:hover, .toc__item a.is-active { color: var(--primary); }
.toc__item--3 { padding-inline-start: 18px; font-size: .95rem; }
.article__notes { margin: 40px 0 0; padding: 18px 20px; background: var(--mint); color: var(--mint-ink); border-radius: var(--radius-md); font-size: .95rem; display: grid; gap: 8px; }
.article__notes a { color: inherit; text-decoration: underline; }
.article__disclosure { font-weight: 500; }
.article__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-weight: 600; margin-inline-end: 4px; }
.share .is-copied { background: var(--mint); color: var(--mint-ink); border-color: transparent; }
.draft-banner { background: var(--warn); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; }

/* ---- Prose --------------------------------------------------------------------------------------------------- */
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--fg); max-width: 100%; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.2rem, 2.4vw, 1.4rem); margin-top: 1.7em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose p { color: var(--card-fg); }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.prose a:hover { text-decoration-color: var(--primary); }
.prose ul, .prose ol { padding-inline-start: 1.4em; color: var(--card-fg); }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-inline-start: 4px solid var(--primary); color: var(--fg); font-size: 1.1em; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--card); padding: 2px 6px; border-radius: 6px; direction: ltr; unicode-bidi: embed; }
.prose pre { direction: ltr; text-align: left; background: var(--ink-2); color: #f1f1f1; padding: 16px 18px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.55; }
.prose pre code { background: transparent; padding: 0; color: inherit; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--radius-sm); }
.prose figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted-fg); }
.prose img { border-radius: var(--radius-sm); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: start; vertical-align: top; }
.prose th { background: var(--card); font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.1em; }
.prose .table-scroll table { min-width: 520px; }
.prose details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; }
.prose summary { cursor: pointer; font-weight: 600; }
.prose .note { background: var(--violet-soft); padding: 16px 20px; border-radius: var(--radius-md); }
.prose .note p { color: var(--fg); }
.prose [dir="ltr"] { text-align: left; }
.prose .lead { font-size: 1.15em; color: var(--fg); }

/* ---- Topic tiles, sources ------------------------------------------------------------------------------------ */
.topic-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
.topic-tile { display: grid; gap: 10px; padding: 28px; min-height: 200px; border-radius: var(--radius); background: var(--card); color: var(--fg); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.topic-tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-card); }
.topic-tile--violet { background: var(--violet-soft); } .topic-tile--mint { background: var(--mint); } .topic-tile--pink { background: var(--pink); } .topic-tile--orchid { background: #ead6ee; } .topic-tile--ink { background: var(--fg); color: var(--bg); }
.topic-tile__name { font-size: 1.5rem; font-weight: 700; }
.topic-tile__desc { color: inherit; opacity: .8; }
.topic-tile__count { margin-top: auto; font-size: .85rem; opacity: .7; }
.source-list { display: grid; gap: 16px; }
@media (min-width: 1024px) { .source-list { grid-template-columns: repeat(2, 1fr); } }
.source-row { display: flex; gap: 16px; padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); }
.source-row__brand, .source-head__brand { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; }
.source-head { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; }
.source-head__brand { width: 72px; height: 72px; border-radius: 18px; font-size: 1.8rem; }
.source-row__name { font-size: 1.15rem; } .source-row__name a { color: inherit; }
.source-row__desc { margin-top: 6px; color: var(--muted-fg); font-size: .95rem; }
.source-row__useful { margin-top: 8px; font-size: .9rem; }
.source-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .source-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); max-width: var(--container); } }
.source-side { position: sticky; top: calc(var(--header-h) + 16px); }
.source-side__title { font-size: 1.1rem; margin-bottom: 12px; }
.source-side__note { margin-top: 12px; font-size: .85rem; color: var(--muted-fg); }
.source-profile__disclosure { font-size: .92rem; color: var(--muted-fg); padding: 14px 18px; background: var(--card); border-radius: var(--radius-sm); }

/* ---- Deep read, search, forms, notices ----------------------------------------------------------------------- */
.deep { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .deep { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }
.deep__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 6px 0 14px; }
.deep__title a { color: inherit; }
.deep__excerpt { font-size: 1.08rem; color: var(--card-fg); }
.deep__meta { margin: 14px 0 22px; font-size: .9rem; color: var(--muted-fg); }
.deep__media img, .deep__media .card__placeholder { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-elevated); }
.search-form { display: flex; gap: 8px; margin-top: 20px; max-width: 560px; }
.search-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--fg); font: inherit; }
.page-head .search-form input, .search-form--dark input { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.page-head .search-form input::placeholder, .search-form--dark input::placeholder { color: rgba(255,255,255,.65); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field__req { color: var(--error); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg); font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .9rem; font-weight: 500; }
.field--honey { position: absolute; inset-inline-start: -9999px; }
.field--challenge .field__label { font-weight: 600; margin: 0; }
.field--challenge .cf-turnstile, .challenge__widget { min-height: 65px; }
.challenge__gate { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form__notice { font-size: .9rem; color: var(--muted-fg); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; }
.form__notice a { text-decoration: underline; text-underline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__hint { font-size: .9rem; color: var(--muted-fg); }
.form__hint a, .form__legend a, .consent__text a, .page-head__lead a, .notice a { text-decoration: underline; text-underline-offset: 2px; }
.form__legend { font-size: .9rem; color: var(--muted-fg); margin: 0; }
.contact-layout { display: grid; gap: 32px; }
.notice { padding: 18px 22px; border-radius: var(--radius-md); margin-bottom: 24px; }
.notice h2 { font-size: 1.2rem; margin-bottom: 6px; }
.notice--ok { background: var(--mint); color: var(--mint-ink); }
.notice--error { background: #fde7e8; color: var(--error); }
:root[data-contrast="dark"] .notice--error { background: #3a1517; color: #ffb4b8; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 48px; }
.pagination__count { color: var(--muted-fg); font-size: .95rem; }

/* ---- Error page ---------------------------------------------------------------------------------------------- */
.error-page { background: var(--ink); color: #fff; padding: 80px 0; }
.error-page__inner { max-width: 560px; text-align: center; }
.error-page__code { font-size: clamp(4rem, 12vw, 6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: var(--gradient-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 8px; }
.error-page__text { margin: 16px 0 24px; color: var(--muted); font-size: 1.1rem; }
.error-page .search-form { margin: 0 auto 20px; }

/* ---- Footer -------------------------------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--ink); color: #fff; padding: 72px 0 32px; overflow: hidden; }
.site-footer__pattern { position: absolute; left: 0; bottom: 0; width: 520px; height: 420px; background-image: linear-gradient(#1f1f1f 13px, transparent 13px), linear-gradient(90deg, #1f1f1f 13px, transparent 13px); background-size: 22.6px 22.6px; background-position: 0 0; mask-image: linear-gradient(135deg, rgba(0,0,0,.9), transparent 70%); -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,.9), transparent 70%); opacity: .7; pointer-events: none; }
.site-footer .container { position: relative; }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer__brand img { margin-bottom: 18px; }
.site-footer__tagline { font-weight: 600; margin-bottom: 8px; }
.site-footer__desc { color: var(--muted); font-size: .95rem; max-width: 340px; }
.site-footer__rss { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.site-footer__rss a { color: var(--muted); } .site-footer__rss a:hover { color: #fff; }
.site-footer__heading { font-size: 1.05rem; margin-bottom: 18px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__links a, .site-footer__links .link-button { color: var(--muted); transition: color .2s; text-decoration: none; }
.site-footer__links a:hover, .site-footer__links .link-button:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #2a2a2a; font-size: .85rem; color: var(--muted); }
.site-footer__bottom a { color: var(--muted); } .site-footer__bottom a:hover { color: #fff; }

/* ---- Consent ------------------------------------------------------------------------------------------------- */
.consent { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 900; max-width: 760px; margin-inline: auto; background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); padding: 16px 18px; }
.consent__inner { display: grid; gap: 12px; }
.consent__title { font-size: 1.05rem; margin: 0; }
.consent__text { font-size: .95rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .consent__choice { flex: 1 1 170px; min-height: 48px; font-size: 1rem; }
.consent__actions .button--outline.consent__choice { border-width: 2px; border-color: var(--fg); color: var(--fg); }
.consent__actions .button--link { flex: 1 1 100%; justify-content: center; }
@media (min-width: 560px) { .consent__actions .button--link { flex: 0 0 auto; } }
@media (min-width: 768px) { .consent { right: 24px; left: auto; bottom: 24px; width: min(760px, calc(100% - 48px)); } }
.consent-dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--bg); color: var(--fg); box-shadow: var(--shadow-elevated); }
.consent-dialog::backdrop { background: rgba(0,0,0,.55); }
.consent-dialog__form { padding: 28px; display: grid; gap: 16px; }
.consent-dialog h2 { font-size: 1.4rem; }
.consent-dialog__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.consent-dialog__row p { font-size: .9rem; color: var(--muted-fg); margin-top: 2px; }
.consent-dialog__row--off { opacity: .7; }
.consent-dialog__state { font-size: .85rem; color: var(--muted-fg); white-space: nowrap; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.consent-dialog__version { font-size: .8rem; color: var(--muted-fg); }
.switch { appearance: none; width: 46px; height: 26px; border-radius: 999px; background: var(--muted); position: relative; cursor: pointer; flex: none; margin: 0; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch:checked { background: var(--primary); }
.switch:checked::after { transform: translateX(-20px); }
.switch:disabled { opacity: .6; cursor: not-allowed; }

/* ---- Accessibility tool -------------------------------------------------------------------------------------- */
.a11y { position: fixed; left: 12px; bottom: 12px; z-index: 950; transform: translateY(calc(-1 * var(--consent-h, 0px))); transition: transform .2s; }
.a11y__button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-card); transition: transform .2s; }
.a11y__button:hover { transform: scale(1.05); }
.a11y__button .icon { width: 26px; height: 26px; }
.a11y__panel { position: absolute; left: 0; bottom: 62px; width: min(340px, calc(100vw - 24px)); max-height: calc(100vh - 100px - var(--consent-h, 0px)); overflow: auto; background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); padding: 16px; display: grid; gap: 12px; }
.a11y__panel:focus { outline: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.a11y__title { font-size: 1.05rem; }
.a11y__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.a11y__close .icon { width: 18px; height: 18px; }
.a11y__stepper { display: grid; grid-template-columns: 44px 1fr 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.a11y__stepper button { min-height: 40px; border: 0; background: transparent; color: inherit; font-size: 1.3rem; cursor: pointer; }
.a11y__stepper button[aria-disabled="true"] { opacity: .35; cursor: default; }
.a11y__value { display: flex; align-items: center; justify-content: center; font-weight: 600; border-inline: 1px solid var(--border); }
.a11y__checks { display: grid; gap: 8px; }
.a11y__note { font-size: .8rem; color: var(--muted-fg); margin: 0; }
.a11y__row { display: grid; gap: 6px; font-size: .9rem; }
.a11y__seg { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.a11y__seg { flex-wrap: wrap; }
.a11y__seg button { flex: 1 1 auto; min-height: 40px; padding: 8px 6px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: .85rem; }
.a11y__seg button + button { border-inline-start: 1px solid var(--border); }
.a11y__seg button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.a11y__check { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.a11y__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---- Motion -------------------------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity .8s var(--ease) var(--delay, 0ms), transform .8s var(--ease) var(--delay, 0ms), filter .8s var(--ease) var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }
/* Without JavaScript the hamburger cannot open the menu: show the main navigation inline on every width. */
.no-js .site-nav { display: block; }
.no-js .site-nav__sub { display: block; position: static; box-shadow: none; }
.no-js .site-menu-button, .no-js [data-search-toggle] { display: none; }
.no-js .site-search { display: flex; }
@media (max-width: 1023px) { .no-js .site-header__inner { flex-wrap: wrap; gap: 8px; } .no-js .site-nav__list { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__glow { animation: none; }
  html { scroll-behavior: auto; }
  .card, .hero__lead, .rss-card, .topic-tile, .button { transition: none; }
}
@media print {
  .site-header, .site-footer, .consent, .a11y, .share, .toc, .mobile-menu { display: none !important; }
  .article__head, .page-head { background: none; color: #000; }
  .article__head .article__meta, .article__excerpt { color: #333; }
  a { color: #000; }
}
