@charset "UTF-8";
/* Nirocom — design system. Ported from the reference design (dark fintech template, "Paymark/Revio"): background #0e0e0e,
   card #141414, secondary #1f1f1f, borders #2c2c2c, coral #ff8975, muted #acafb9, white text; 30–32px cards with 16–20px
   inner images, white pill buttons with subtle depth, 1262px shell, ~717px reading column. Typography: Heebo (OFL) instead of
   Inter Tight; display scale H1 40/56/70, H2 32/40/48 (weight 500). RTL with logical properties throughout. Motion is a
   progressive enhancement: reveal/stagger, rolling-text buttons, masked ticker, sticky showcase, hover cards; everything is
   readable without JavaScript and still under prefers-reduced-motion. */

@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: #0e0e0e;
  --bg-deep: #0a0a0a;
  --fg: #ffffff;
  --card: #141414;
  --card-2: #1f1f1f;
  --border: #2c2c2c;
  --input: #2e2e2e;
  --muted: #acafb9;
  --muted-2: #83868f;
  --coral: #ff8975;
  --coral-fg: #0d0d0d;
  --coral-soft: rgba(255, 137, 117, .14);
  --coral-text: #ff8975;
  --acc-violet: #b9a7ff;
  --acc-mint: #7fe0c3;
  --acc-pink: #ff9fc0;
  --acc-orchid: #d9a2e8;
  --acc-ink: #acafb9;
  --ok: #7fe0c3;
  --ok-ink: #0f2a24;
  --warn: #ffc966;
  --error: #ff6b6b;
  --btn-white: linear-gradient(to top, rgba(255, 255, 255, .72), #ffffff);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, .4);
  --shadow-elevated: 0 24px 60px rgba(0, 0, 0, .55);
  --shadow-glow: 0 0 60px rgba(255, 137, 117, .3);
  --shadow-button: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -2px 0 rgba(0, 0, 0, .08) inset, 0 10px 28px rgba(0, 0, 0, .35);
  --radius-xl: 32px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius: 16px;
  --radius-sm: 12px;
  --pill: 999px;
  --container: 1262px;
  --showcase: 1062px;
  --reading: 717px;
  --narrow: 760px;
  --ease: cubic-bezier(.21, .47, .32, .98);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-base: 1rem;
  --lh: 1.55;
  --header-h: 72px;
  --reveal-y: 20px;
  --reveal-blur: 8px;
  --reveal-time: .8s;
  color-scheme: dark;
}

/* ---- Accessibility modes (set by the a11y tool and persisted in localStorage) -------------------------------- */
: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; }
/* High contrast on the dark base: pure black surfaces, white borders and text, a lighter coral, every link underlined. */
:root[data-contrast="high"] { --bg: #000; --bg-deep: #000; --card: #000; --card-2: #000; --border: #fff; --input: #000; --muted: #f0f0f0; --muted-2: #e0e0e0; --coral: #ffb3a6; --coral-text: #ffb3a6; --shadow-card: none; --shadow-elevated: none; --shadow-glow: none; }
:root[data-contrast="high"] a { text-decoration: underline; }
:root[data-contrast="high"] .hero, :root[data-contrast="high"] .page-head, :root[data-contrast="high"] .section--magazine, :root[data-contrast="high"] .footer-cta { background-image: none; }
/* Light mode: a white page for readers who need it; the coral darkens so it still reads as text. */
:root[data-contrast="light"] { --bg: #fff; --bg-deep: #f7f7f7; --fg: #141414; --card: #f4f4f4; --card-2: #e9e9e9; --border: #d9d9d9; --input: #fff; --muted: #595c64; --muted-2: #6f727a; --coral: #ff8975; --coral-text: #b63d28; --coral-fg: #141414; --coral-soft: rgba(255, 137, 117, .22); --acc-violet: #5a3fd6; --acc-mint: #0f7a5c; --acc-pink: #b4306a; --acc-orchid: #7c3a90; --acc-ink: #595c64; --ok: #0f7a5c; --warn: #8a5a00; --error: #b3261e; --btn-white: linear-gradient(to top, #1a1a1a, #2c2c2c); --shadow-card: 0 4px 24px rgba(20, 20, 20, .08); --shadow-elevated: 0 20px 60px rgba(20, 20, 20, .14); --shadow-glow: none; --shadow-button: 0 8px 24px rgba(20, 20, 20, .18); color-scheme: light; }
:root[data-contrast="light"] .button--primary { color: #fff; }
:root[data-contrast="light"] .hero, :root[data-contrast="light"] .page-head, :root[data-contrast="light"] .section--magazine, :root[data-contrast="light"] .footer-cta { background-image: none; }
:root[data-contrast="light"] .cover, :root[data-contrast="light"] .hero-card, :root[data-contrast="light"] .feature, :root[data-contrast="light"] .track { background-image: none; }
:root[data-contrast="light"] .button--ghost { background: rgba(20, 20, 20, .06); border-color: rgba(20, 20, 20, .14); color: var(--fg); }
:root[data-contrast="light"] .button--outline:hover { background: var(--fg); color: #fff; }
:root[data-contrast="light"] .site-header { background: rgba(255, 255, 255, .86); }
:root[data-contrast="light"] .mobile-menu { background: #fff; color: var(--fg); }
:root[data-contrast="light"] .mobile-menu__list a { color: var(--fg); }
/* Yellow on black: the highest-contrast mode (text ≈ 19:1 on the background). */
:root[data-contrast="yellow"] { --bg: #000; --bg-deep: #000; --fg: #ffe600; --card: #111; --card-2: #111; --border: #ffe600; --input: #000; --muted: #ffd54a; --muted-2: #ffd54a; --coral: #ffe600; --coral-text: #ffe600; --coral-fg: #000; --coral-soft: #1a1a00; --acc-violet: #ffe600; --acc-mint: #ffe600; --acc-pink: #ffe600; --acc-orchid: #ffe600; --acc-ink: #ffe600; --btn-white: linear-gradient(#ffe600, #ffe600); --shadow-card: none; --shadow-elevated: none; --shadow-glow: none; --shadow-button: 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"] .hero, :root[data-contrast="yellow"] .page-head, :root[data-contrast="yellow"] .section--magazine, :root[data-contrast="yellow"] .footer-cta, :root[data-contrast="yellow"] .cover, :root[data-contrast="yellow"] .hero-card, :root[data-contrast="yellow"] .feature, :root[data-contrast="yellow"] .track { background-image: none; }
:root[data-contrast="yellow"] .button--primary { background: #ffe600; color: #000; }
:root[data-contrast="yellow"] :focus-visible { outline-color: #fff; }
: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; }
:root[data-motion="reduce"] .ticker__track { animation: none !important; }
/* 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; }
/* 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(--coral); }
:root[data-headings="1"] .prose h2, :root[data-headings="1"] .prose h3 { padding-inline-start: 12px; border-inline-start: 6px solid var(--coral); }
/* 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(--coral); border-bottom: 3px solid var(--coral); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); }

/* ---- 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); background: var(--bg); }
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(--coral-text); 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: 500; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.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; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.button--roll { overflow: hidden; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--coral); color: var(--coral-fg); padding: 12px 18px; border-radius: var(--pill); 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; }
.container--showcase { max-width: var(--showcase); }
@media (min-width: 768px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-inline-end: 8px; vertical-align: middle; flex: none; }
.dot--violet { background: var(--acc-violet); } .dot--mint { background: var(--acc-mint); } .dot--pink { background: var(--acc-pink); } .dot--orchid { background: var(--acc-orchid); } .dot--ink { background: var(--acc-ink); }
.link-light { color: var(--fg); text-decoration: underline; }
[dir="ltr"], .ltr { direction: ltr; unicode-bidi: isolate; }
.h1 { font-size: clamp(2.5rem, 1.75rem + 3vw, 4.375rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
.h4 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.text-lg { font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); line-height: 1.6; }
.text-md { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6; }
.muted { color: var(--muted); }

/* ---- Buttons & chips ----------------------------------------------------------------------------------------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: var(--pill); border: 1px solid transparent; font-weight: 500; font-size: 1.0625rem; line-height: 1.4; cursor: pointer; text-decoration: none; overflow: hidden; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.button:hover { text-decoration: none; }
.button--primary { background: var(--btn-white); color: var(--bg); box-shadow: var(--shadow-button); }
.button--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -2px 0 rgba(0, 0, 0, .08) inset, 0 14px 34px rgba(0, 0, 0, .45); }
.button--coral { background: var(--coral); color: var(--coral-fg); }
.button--coral:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.button--outline { background: var(--bg); color: var(--fg); border-color: var(--border); }
.button--outline:hover { background: #fff; color: #0e0e0e; border-color: #fff; }
.button--ghost { background: rgba(255, 255, 255, .06); color: var(--fg); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); }
.button--secondary { background: var(--card-2); color: var(--fg); }
.button--secondary:hover { background: #2a2a2a; }
.button--link { background: transparent; color: var(--muted); padding-inline: 6px; min-height: 40px; }
.button--link:hover { color: var(--fg); text-decoration: underline; transform: none; }
.button--sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.button--lg { min-height: 55px; padding-inline: 28px; font-size: 1.125rem; }
.button.is-disabled { opacity: .45; pointer-events: none; }
/* Rolling text: the label rolls up and a hidden duplicate (aria-hidden) rolls in from below, 300ms, also on keyboard focus. */
.button__text { display: inline-flex; align-items: center; gap: 8px; transition: transform .3s ease-in-out; }
.button__text--ghost { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transform: translateY(150%); }
.button--roll:hover .button__text:not(.button__text--ghost), .button--roll:focus-visible .button__text:not(.button__text--ghost) { transform: translateY(-150%); }
.button--roll:hover .button__text--ghost, .button--roll:focus-visible .button__text--ghost { transform: translateY(0); }
.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: 1px solid transparent; background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-button:hover { background: rgba(255, 255, 255, .08); border-color: var(--border); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); background: var(--card-2); color: var(--fg); font-size: .85rem; font-weight: 500; line-height: 1.2; border: 1px solid transparent; }
.chip--violet { color: var(--acc-violet); } .chip--mint { color: var(--acc-mint); } .chip--pink { color: var(--acc-pink); } .chip--orchid { color: var(--acc-orchid); } .chip--ink { color: var(--muted); }
.chip--outline { background: transparent; border-color: var(--border); color: var(--muted); }
.chip--coral { background: var(--coral-soft); color: var(--coral-text); }
a.chip:hover { text-decoration: none; border-color: var(--border); color: var(--fg); }
.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: 500; color: var(--coral-text); letter-spacing: .01em; }
.eyebrow__mark { width: 14px; height: 14px; 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--muted { color: var(--muted); }
.partner-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: var(--coral-soft); color: var(--coral-text); font-size: .78rem; font-weight: 600; line-height: 1.2; }

/* ---- Header -------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(14, 14, 14, .66); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.site-header.is-scrolled { background: rgba(14, 14, 14, .88); border-color: var(--border); }
.is-home .site-header { margin-bottom: calc(-1 * var(--header-h)); }
.is-home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.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; gap: 10px; flex: none; color: var(--fg); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--coral); color: var(--coral-fg); flex: none; }
.brand__mark svg { width: 20px; height: 20px; }
.brand__name { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: 2px; 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(--pill); color: var(--fg); font-weight: 500; font-size: .98rem; background: transparent; border: 0; cursor: pointer; transition: color .2s, background-color .2s; }
.site-nav__list > li > a:hover, .site-nav__toggle:hover, .site-nav__toggle[aria-expanded="true"] { color: var(--coral-text); text-decoration: none; }
.site-nav__list > li > a[aria-current="page"] { color: var(--coral-text); }
.site-nav__group { position: relative; }
.site-nav__toggle .icon { width: .9em; height: .9em; transition: transform .25s var(--ease); }
.site-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav__sub { position: absolute; inset-inline-start: 0; top: calc(100% + 10px); min-width: 280px; margin: 0; padding: 10px; list-style: none; background: var(--card); color: var(--fg); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-elevated); z-index: 20; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.site-nav__sub a { display: flex; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--fg); }
.site-nav__sub a:hover, .site-nav__sub a[aria-current="page"] { background: var(--card-2); text-decoration: none; color: var(--coral-text); }
.site-nav__sub-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.site-nav__sub-all a { color: var(--muted); }
.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(--card); 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 16px; border: 1px solid var(--border); border-radius: var(--pill); background: rgba(255, 255, 255, .05); color: var(--fg); font: inherit; }
.site-search input::placeholder { color: var(--muted-2); }
.site-search button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--coral); color: var(--coral-fg); 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: 170px; transition: width .3s var(--ease), border-color .2s; }
  .site-search input:focus { width: 250px; border-color: var(--muted-2); }
  .site-search button { width: 40px; height: 40px; }
  [data-search-toggle] { display: none; }
  .site-search.is-open { position: static; box-shadow: none; border: 0; padding: 0; background: transparent; }
}
.mobile-menu { background: var(--bg); color: var(--fg); border-top: 1px solid var(--border); max-height: calc(100vh - var(--header-h)); overflow-y: auto; animation: drop .25s var(--ease); }
.mobile-menu__list { list-style: none; margin: 0; padding: 12px 0 8px; display: grid; gap: 2px; }
.mobile-menu__list a { display: flex; align-items: center; padding: 14px 10px; font-size: 1.1rem; color: var(--fg); border-radius: var(--radius-sm); }
.mobile-menu__list a:hover { background: var(--card); text-decoration: none; }
.mobile-menu__topic a { font-size: 1rem; color: var(--muted); padding-inline-start: 22px; }
.mobile-menu__search { display: flex; gap: 8px; padding: 8px 10px 24px; }
.mobile-menu__search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--border); background: var(--card); color: var(--fg); font: inherit; }
body.menu-open { overflow: hidden; }

/* ---- Ticker (masked strip of the site's entries and areas) ---------------------------------------------------- */
.ticker { position: relative; border-block: 1px solid var(--border); background: var(--card); }
.ticker__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; padding: 12px 0; }
.ticker.is-animated .ticker__track { animation: ticker var(--ticker-duration, 40s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(50%); } }
.ticker__group { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; list-style: none; margin: 0; padding-inline-start: 0; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); font-size: .95rem; font-weight: 500; }
.ticker__item:hover { color: var(--fg); text-decoration: none; }
.ticker__item--entry { color: var(--fg); }
.ticker__pause { position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ticker__pause:hover { color: var(--fg); }
.ticker__pause .icon { width: 14px; height: 14px; }
.ticker__pause .icon--play, .ticker.is-paused .ticker__pause .icon--pause { display: none; }
.ticker.is-paused .ticker__pause .icon--play { display: block; }
.no-js .ticker__viewport, .ticker:not(.is-animated) .ticker__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.no-js .ticker__pause, .ticker:not(.is-animated) .ticker__pause { display: none; }

/* ---- Hero ---------------------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 48px) 0 56px; background: var(--bg) url("/assets/img/hero-bg-960.webp") center top / cover no-repeat; }
@media (min-width: 960px) { .hero { background-image: url("/assets/img/hero-bg.webp"); padding: calc(var(--header-h) + 96px) 0 80px; } }
.hero__strokes { position: absolute; inset-inline-start: 50%; top: -40px; width: min(1400px, 140vw); transform: translateX(-50%); z-index: -1; pointer-events: none; opacity: .9; }
[dir="rtl"] .hero__strokes { transform: translateX(50%); }
.hero__strokes path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: stroke 6s var(--ease) infinite alternate; }
.hero__strokes path:nth-child(2) { animation-delay: .8s; } .hero__strokes path:nth-child(3) { animation-delay: 1.6s; } .hero__strokes path:nth-child(4) { animation-delay: 2.4s; }
@keyframes stroke { to { stroke-dashoffset: 0; } }
.hero__inner { text-align: center; max-width: 880px; margin-inline: auto; }
.hero__title { font-size: clamp(2.5rem, 1.75rem + 3vw, 4.375rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; margin: 8px 0 20px; }
.hero__text { font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 640px; margin-inline: auto; }
.hero__search { display: flex; max-width: 640px; margin: 28px auto 0; padding: 6px; border-radius: var(--pill); background: rgba(20, 20, 20, .8); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-card); }
.hero__search input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 1.02rem; }
.hero__search input::placeholder { color: var(--muted-2); }
.hero__search input:focus-visible { outline-offset: -3px; border-radius: var(--pill); }
.hero__search .button { min-height: 48px; flex: none; }
@media (max-width: 479px) { .hero__search { padding: 4px; } .hero__search input { padding: 0 12px; font-size: .95rem; } .hero__search .button { padding-inline: 16px; } }
.hero__entries { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.hero__entries .button { min-height: 40px; padding-inline: 16px; font-size: .95rem; }
/* The cards' stage is wider than the hero's text, so that on a wide screen each side card shows a column of its own text. */
.hero__stage { max-width: 1144px; text-align: center; }
.hero__layers { position: relative; max-width: 840px; margin: 44px auto 0; display: grid; gap: 14px; }
/* A slot holds the place of a card (position, size, stacking); the card inside holds the entrance animation and the hover lift. */
.hero__slot { display: grid; }
.hero-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 20px 22px; border-radius: 24px; overflow: hidden; color: var(--fg); background: var(--card) url("/assets/img/feature-card-bg.webp") center / cover; border: 1px solid var(--border); box-shadow: var(--shadow-elevated); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.hero-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(to top, #000, transparent 70%); mask-image: linear-gradient(to top, #000, transparent 70%); pointer-events: none; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .92), rgba(10, 10, 10, .2) 60%, transparent); pointer-events: none; }
.hero-card > * { position: relative; z-index: 1; }
.hero-card:hover, .hero-card:focus-within { transform: translateY(-4px); border-color: var(--muted-2); box-shadow: var(--shadow-glow), var(--shadow-elevated); text-decoration: none; }
.hero-card__layer { position: absolute; top: 16px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: rgba(14, 14, 14, .7); border: 1px solid var(--border); font-size: .8rem; font-weight: 500; color: var(--muted); backdrop-filter: blur(6px); }
.hero-card__glyph { position: absolute; inset-inline-end: 18px; top: 16px; width: 44px; height: 44px; color: var(--coral); opacity: .9; filter: drop-shadow(0 0 18px rgba(255, 137, 117, .55)); }
.hero-card__glyph svg { width: 100%; height: 100%; }
.hero-card__title { font-size: 1.2rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card__title a { color: inherit; }
.hero-card__title a::after { content: ""; position: absolute; inset: 0; }
.hero-card:hover .hero-card__title, .hero-card:focus-within .hero-card__title { color: var(--coral-text); }
.hero-card__meta { margin-top: 8px; font-size: .85rem; color: var(--muted); }
@media (min-width: 768px) {
  /* Layered as in the reference: the centre card in the flow (525:317, at most 529px wide), the side cards (429:259) behind it at
     both edges of the layers, centred on its middle line by the slot's transform, which no reveal, hover or reduced-motion rule
     touches. The layers are a size container: the cards' widths and each side card's visible column are counted in its cqw. */
  .hero__layers { container-type: inline-size; display: block; max-width: 1080px; padding-block: 24px; }
  .hero__slot--center { position: relative; z-index: 3; width: min(529px, 56cqw); aspect-ratio: 525 / 317; margin-inline: auto; }
  .hero__slot--start, .hero__slot--end { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: min(432px, 45.7cqw); aspect-ratio: 429 / 259; opacity: .92; }
  .hero__slot--start { inset-inline-start: 0; }
  .hero__slot--end { inset-inline-end: 0; }
  .hero__slot .hero-card { height: 100%; min-height: 0; }
  .hero-card:hover, .hero-card:focus-within { transform: translateY(-6px); }
  .hero-card--center .hero-card__title { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }
  /* A side card is seen only in the column between the layers' edge and the centre card: its label, title and line stay in that
     column, against its outer edge (RTL: the start card's right, the end card's left), and its glyph gives way. */
  .hero-card--start, .hero-card--end { --peek: calc((100cqw - min(529px, 56cqw)) / 2 - 38px); padding: 18px 20px; }
  .hero-card--end { align-items: flex-end; text-align: end; }
  .hero-card--start { text-align: start; }
  .hero-card--start .hero-card__glyph, .hero-card--end .hero-card__glyph { display: none; }
  .hero-card--start .hero-card__title, .hero-card--end .hero-card__title, .hero-card--start .hero-card__meta, .hero-card--end .hero-card__meta { width: var(--peek); }
  .hero-card--start .hero-card__title, .hero-card--end .hero-card__title { font-size: 1.05rem; }
  .hero-card--start .hero-card__meta, .hero-card--end .hero-card__meta { font-size: .8rem; }
  .hero-card--start .hero-card__layer, .hero-card--end .hero-card__layer { inset-inline-start: 20px; max-width: var(--peek); overflow: hidden; white-space: nowrap; font-size: .75rem; padding: 5px 10px; gap: 6px; }
  .hero-card--end .hero-card__layer { inset-inline-start: auto; inset-inline-end: 20px; }
  /* Layers narrower than 860px (a tablet): the column is too narrow for the longest label, so the glyph takes its corner. */
  @container (max-width: 859px) {
    .hero-card--start .hero-card__layer, .hero-card--end .hero-card__layer { display: none; }
    .hero-card--start .hero-card__glyph, .hero-card--end .hero-card__glyph { display: block; width: 36px; height: 36px; }
    .hero-card--start .hero-card__glyph { inset-inline-end: auto; inset-inline-start: 20px; }
    .hero-card--end .hero-card__glyph { inset-inline-end: 20px; }
  }
}

/* ---- Sections ------------------------------------------------------------------------------------------------ */
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 60px 0; } }
@media (min-width: 1200px) { .section { padding: 80px 0; } }
.section--tight { padding-block: 32px; }
.section--soft { background: var(--card); }
.section--magazine { position: relative; background: radial-gradient(60% 70% at 50% 100%, rgba(255, 137, 117, .13), transparent 70%), var(--bg); border-top: 1px solid var(--border); }
.section__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
@media (min-width: 1024px) { .section__head { flex-direction: row; align-items: flex-end; margin-bottom: 40px; } }
.section__head--center { align-items: center; text-align: center; flex-direction: column; }
.section__head--center > div { display: flex; flex-direction: column; align-items: center; max-width: 640px; }
@media (min-width: 1024px) { .section__head--center { flex-direction: column; align-items: center; } }
.section__title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 720px; }
.section__title--sm { font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); margin-bottom: 24px; }
.section__lead { margin-top: 12px; color: var(--muted); max-width: 640px; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6; }
.section__links { display: flex; flex-wrap: wrap; gap: 8px; }
.section__foot { display: flex; justify-content: center; margin-top: 32px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

/* ---- Cards --------------------------------------------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid transparent; border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-card); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-md); margin: 10px 10px 0; background: var(--card-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img, .card:focus-within .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card__meta, .card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.card__topic { color: var(--muted); font-weight: 500; }
.card__format { color: var(--fg); font-weight: 500; }
.card__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; display: inline-block; opacity: .6; }
.card__sep--primary { background: var(--coral); opacity: 1; }
.card__title { font-size: 1.25rem; line-height: 1.3; font-weight: 500; transition: color .3s var(--ease); }
.card__link { color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:hover { text-decoration: none; }
.card:hover .card__title, .card:focus-within .card__title { color: var(--coral-text); }
.card__excerpt { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: 6px; }
.card__partner { position: relative; z-index: 1; }
.card--feature { height: auto; }
.card--feature .card__media { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); }
.card--feature .card__excerpt { font-size: 1.05rem; }
@media (min-width: 768px) {
  .card--feature { flex-direction: row; align-items: stretch; }
  .card--feature .card__media { flex: 0 0 52%; margin: 10px; aspect-ratio: auto; min-height: 320px; }
  .card--feature .card__body { padding: 28px 28px 28px 24px; justify-content: center; gap: 14px; }
}
.card--mini { flex-direction: row; gap: 14px; align-items: center; background: transparent; border-radius: var(--radius-md); }
.card--mini:hover, .card--mini:focus-within { transform: none; background: var(--card); box-shadow: none; }
.card--mini .card__media { flex: none; width: 96px; aspect-ratio: 1; margin: 6px; border-radius: 14px; }
.card--mini .card__body { padding: 8px 8px 8px 0; gap: 6px; }
.card--mini .card__title { font-size: 1.02rem; }
.card--row { flex-direction: row; gap: 20px; align-items: stretch; }
.card--row .card__media { flex: none; width: 36%; max-width: 280px; aspect-ratio: 4 / 3; margin: 10px 10px 10px 0; }
.card--row .card__body { padding: 18px 0 18px 20px; }
.card--row .card__title { font-size: 1.25rem; }
@media (max-width: 639px) {
  .card--row { flex-direction: column; }
  .card--row .card__media { width: auto; max-width: none; margin: 10px 10px 0; }
  .card--row .card__body { padding: 16px 20px 20px; }
}
/* Cover art for articles without a photograph: the area's accent light over a dark grid and the format's glyph. */
.cover { position: relative; width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; overflow: hidden; --acc: var(--coral); background: radial-gradient(110% 90% at 85% 0%, color-mix(in srgb, var(--acc) 32%, transparent), transparent 62%), radial-gradient(80% 60% at 10% 100%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 60%), linear-gradient(180deg, #1b1b1b, #121212); }
.cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to top, #000, transparent 75%); mask-image: linear-gradient(to top, #000, transparent 75%); }
.cover--violet { --acc: var(--acc-violet); } .cover--mint { --acc: var(--acc-mint); } .cover--pink { --acc: var(--acc-pink); } .cover--orchid { --acc: var(--acc-orchid); } .cover--ink { --acc: var(--muted); } .cover--coral { --acc: var(--coral); }
.cover__glyph { position: relative; width: 34%; max-width: 110px; aspect-ratio: 1; color: color-mix(in srgb, var(--acc) 80%, #fff); filter: drop-shadow(0 0 22px color-mix(in srgb, var(--acc) 55%, transparent)); }
.cover__glyph svg { width: 100%; height: 100%; }
.cover__word { position: absolute; inset-inline-start: 16px; bottom: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: color-mix(in srgb, var(--acc) 70%, #fff); opacity: .9; }
.card--mini .cover__word, .hero-card .cover__word { display: none; }
.card--mini .cover__glyph { width: 46%; }

/* ---- Home: bento, areas strip, tools feature, showcase, updates, magazine ----------------------------------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; } .bento__item:nth-child(1), .bento__item:nth-child(4) { grid-column: span 7; } .bento__item:nth-child(2), .bento__item:nth-child(3) { grid-column: span 5; } }
.bento__item { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 26px 26px 24px; border-radius: var(--radius-xl); background: var(--card); border: 1px solid transparent; overflow: hidden; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.bento__item::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, var(--coral-soft), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.bento__item:hover, .bento__item:focus-within { border-color: var(--border); transform: translateY(-3px); }
.bento__item:hover::before, .bento__item:focus-within::before { opacity: 1; }
.bento__key { position: absolute; inset-inline-end: 20px; top: 14px; font-size: 4.5rem; font-weight: 500; line-height: 1; color: var(--coral); opacity: .16; letter-spacing: -0.04em; pointer-events: none; }
.bento__q { font-size: .9rem; color: var(--coral-text); font-weight: 500; }
.bento__name { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); font-weight: 500; }
.bento__text { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.bento__lead { margin-top: auto; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--card-2); border: 1px solid transparent; transition: border-color .3s; }
.bento__lead:hover { border-color: var(--border); }
.bento__lead-label { font-size: .78rem; color: var(--muted); }
.bento__lead-title { font-size: 1.05rem; font-weight: 500; color: var(--fg); }
.bento__lead-title a { color: inherit; }
.bento__lead-title a::after { content: ""; position: absolute; inset: 0; }
.bento__lead:hover .bento__lead-title { color: var(--coral-text); }
.bento__more { position: relative; z-index: 1; font-size: .9rem; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.bento__more:hover { color: var(--fg); }
.areas-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.areas-strip__label { color: var(--muted); font-size: .9rem; margin-inline-end: 4px; }
.areas-strip .chip { padding: 8px 14px; font-size: .9rem; }
/* The feature composition (a split card with the image on one side and a floating fact box). */
.feature { position: relative; display: grid; gap: 20px; padding: 18px; border-radius: var(--radius-lg); background: var(--card) url("/assets/img/feature-card-bg.webp") center / cover no-repeat; border: 1px solid var(--border); overflow: visible; }
.feature__content { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 480px; padding: 8px 6px; }
.feature__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; font-weight: 500; }
.feature__title a { color: inherit; }
.feature__title a:hover { color: var(--coral-text); text-decoration: none; }
.feature__text { color: var(--muted); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6; }
.feature__action { margin-top: 8px; }
.feature__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: visible; }
.feature__media > a, .feature__media > .cover, .feature__media > img { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.feature__overlay { position: absolute; inset-inline-start: 12px; bottom: 14px; z-index: 2; display: grid; gap: 6px; max-width: min(260px, 80%); padding: 14px 16px; border-radius: var(--radius); background: rgba(20, 20, 20, .94); border: 1px solid var(--border); box-shadow: var(--shadow-card); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .85rem; color: var(--muted); }
.feature__overlay strong { color: var(--fg); font-weight: 500; }
.feature__overlay-row { display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: center; gap: 48px; padding: 32px; }
  .feature__content { padding: 16px; }
  .feature__media { aspect-ratio: 494 / 420; }
  .feature__overlay { inset-inline-start: -8%; bottom: 24px; }
}
.tools-grid { margin-top: 24px; }
/* Sticky showcase: three editorial tracks that stack on scroll (desktop); plain cards on phones. */
.showcase { display: grid; gap: 20px; max-width: var(--showcase); margin-inline: auto; }
.track { position: relative; display: grid; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--card) url("/assets/img/feature-card-bg.webp") center / cover no-repeat; border: 1px solid var(--border); box-shadow: 0 -12px 40px rgba(0, 0, 0, .45); }
.track__index { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--coral-text); font-weight: 500; }
.track__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.15; font-weight: 500; margin-top: 6px; }
.track__q { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }
.track__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.track__step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: rgba(14, 14, 14, .72); border: 1px solid var(--border); transition: border-color .3s, background-color .3s; }
.track__step:hover, .track__step:focus-within { border-color: var(--muted-2); background: rgba(14, 14, 14, .9); }
.track__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--card-2); color: var(--fg); font-weight: 500; font-size: .95rem; }
.track__step-label { font-size: .78rem; color: var(--muted); }
.track__step-title { font-size: 1.02rem; font-weight: 500; color: var(--fg); line-height: 1.3; }
.track__step-title a { color: inherit; }
.track__step-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.track__step:hover .track__step-title, .track__step:focus-within .track__step-title { color: var(--coral-text); }
@media (min-width: 768px) {
  .showcase { gap: 60px; }
  .track { position: sticky; top: calc(var(--header-h) + 20px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; padding: 36px; }
  .track:nth-child(1) { z-index: 1; } .track:nth-child(2) { z-index: 2; } .track:nth-child(3) { z-index: 3; }
}
/* Updates: dated rows with the knowledge that stays. */
.updates { list-style: none; margin: 0; padding: 0; display: grid; }
.update { position: relative; display: grid; gap: 8px; padding: 22px 4px; border-top: 1px solid var(--border); transition: background-color .3s; }
.update:last-child { border-bottom: 1px solid var(--border); }
.update:hover, .update:focus-within { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .025), transparent); }
.update__date { font-size: .85rem; color: var(--coral-text); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.update__title { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); font-weight: 500; line-height: 1.3; }
.update__title a { color: inherit; }
.update__title a::after { content: ""; position: absolute; inset: 0; }
.update:hover .update__title, .update:focus-within .update__title { color: var(--coral-text); }
.update__excerpt { color: var(--muted); font-size: .98rem; max-width: 70ch; }
.update__keep { position: relative; z-index: 1; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.update__keep a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); }
.update__keep a:hover { text-decoration-color: var(--coral); }
@media (min-width: 768px) { .update { grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px; } .update__date { padding-top: 4px; } .update__title, .update__excerpt, .update__keep { grid-column: 2; } }
/* Magazine (the last section of the home page) */
.magazine-intro { color: var(--muted); max-width: 640px; }
.magazine-intro a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); }
.magazine-intro a:hover { text-decoration-color: var(--coral); }

/* ---- RSS grid (Israeli sources) ---------------------------------------------------------------------------- */
.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(3, 1fr); } }
@media (min-width: 1200px) { .rss-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.rss-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--brand, var(--coral)); border-radius: var(--radius-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.rss-card:hover, .rss-card:focus-within { 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: 600; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--fg); }
.rss-card__ext { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--muted); 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-2); overflow: hidden; margin: 0 10px; border-radius: 14px; }
.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.05); }
.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, #ff8975) 30%, #141414); background-image: radial-gradient(80% 80% at 80% 0%, color-mix(in srgb, var(--brand, #ff8975) 45%, transparent), transparent 70%); color: #fff; text-align: center; padding: 16px; }
.rss-card__fallback-name { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.rss-card__fallback-host { font-size: .8rem; opacity: .8; }
.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: 500; }
.rss-card__link { color: inherit; }
.rss-card__link::after { content: ""; position: absolute; inset: 0; }
.rss-card__link:hover { color: var(--coral-text); text-decoration: none; }
.rss-card:hover .rss-card__title { color: var(--coral-text); }
.rss-card__meta { font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.rss-card__note { color: var(--muted-2); }
.rss-card__status { font-size: .75rem; color: var(--muted); white-space: nowrap; position: relative; z-index: 1; }
.rss-card__status--warn { color: var(--warn); }
.rss-card__empty { color: var(--muted); 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: 500; }
.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(--coral-text); font-weight: 500; }
@media (max-width: 639px) {
  .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; }
  .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: 10px; }
  .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); max-width: 80ch; }

/* ---- Page head, breadcrumbs ---------------------------------------------------------------------------------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: 40px 0 36px; background: radial-gradient(70% 70% at 50% 0%, rgba(255, 137, 117, .16), transparent 70%); border-bottom: 1px solid var(--border); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 80%); }
.page-head--violet { background: radial-gradient(70% 70% at 50% 0%, rgba(185, 167, 255, .16), transparent 70%); }
.page-head--mint { background: radial-gradient(70% 70% at 50% 0%, rgba(127, 224, 195, .14), transparent 70%); }
.page-head--pink { background: radial-gradient(70% 70% at 50% 0%, rgba(255, 159, 192, .14), transparent 70%); }
.page-head--orchid { background: radial-gradient(70% 70% at 50% 0%, rgba(217, 162, 232, .15), transparent 70%); }
.page-head--ink, .page-head--coral { background: radial-gradient(70% 70% at 50% 0%, rgba(255, 137, 117, .16), transparent 70%); }
.page-head__inner { max-width: 760px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-head__title { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; margin-top: 14px; }
.page-head__page { font-size: .5em; font-weight: 500; color: var(--muted); }
.page-head__lead { margin-top: 16px; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 640px; }
.page-head__count { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.page-head__lead a { color: var(--fg); text-decoration: underline; }
@media (min-width: 1024px) { .page-head { padding: 64px 0 52px; } }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); } .breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current] { color: var(--fg); }
.breadcrumbs--start ol { justify-content: flex-start; }
.prose--intro { max-width: var(--narrow); margin: 0 auto 40px; color: var(--muted); }
.prose--intro a { color: var(--fg); }

/* ---- Lists: featured first item, family notes, start-here, groups --------------------------------------------- */
.list-featured { margin-bottom: 28px; }
.start-here { display: grid; gap: 16px; }
@media (min-width: 768px) { .start-here { grid-template-columns: repeat(3, 1fr); gap: 20px; } .start-here--2 { grid-template-columns: repeat(2, 1fr); } }
.start-here .card__body { gap: 8px; }
.start-here__num { position: absolute; z-index: 1; top: 20px; inset-inline-start: 20px; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: var(--coral-fg); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-glow); }
.group { padding: 36px 0; border-top: 1px solid var(--border); }
.group:first-of-type { border-top: 0; padding-top: 0; }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.group__title { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem); font-weight: 500; }
.group__q { color: var(--muted); font-size: .98rem; }
.group__all { font-size: .92rem; color: var(--muted); white-space: nowrap; }
.group__all:hover { color: var(--fg); }
.hub-group { padding: 48px 0; border-top: 1px solid var(--border); }
.hub-group__head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.hub-group__key { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--coral-soft); color: var(--coral-text); font-weight: 600; font-size: 1.1rem; }
.hub-group__title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.15; font-weight: 500; }
.hub-group__q { color: var(--coral-text); font-weight: 500; }
.hub-group__intro { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.hub-group__intro a { color: var(--fg); }
.hub-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .hub-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 32px; } }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: hub; }
.hub-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid transparent; transition: border-color .3s, transform .3s; }
.hub-item:hover, .hub-item:focus-within { border-color: var(--border); transform: translateX(-3px); }
.hub-item__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card-2); color: var(--fg); font-size: .9rem; font-weight: 500; }
.hub-item__label { font-size: .78rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.hub-item__title { font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.hub-item__title a { color: inherit; }
.hub-item__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hub-item:hover .hub-item__title, .hub-item:focus-within .hub-item__title { color: var(--coral-text); }
.ad-slot { margin-block: 32px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.ad-slot--home { margin-block: 0 48px; }
.ad-slot__label { font-size: .75rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .04em; }
.ad-slot__body { display: grid; place-items: center; overflow: hidden; }
.ad-slot__body img { max-width: 100%; height: auto; }
.hub-item__num--glyph { color: var(--coral-text); }
.hub-item__num--glyph .icon { width: 18px; height: 18px; }
.picks { margin-top: 32px; display: grid; gap: 14px; }
.picks__title { font-size: .9rem; font-weight: 500; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.hub-list--row { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.hub-editorial { padding: 32px; border-radius: var(--radius-xl); background: radial-gradient(70% 70% at 100% 0%, rgba(255, 137, 117, .14), transparent 70%), var(--card); border: 1px solid var(--border); display: grid; gap: 16px; }
.hub-editorial__title { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.hub-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }

/* ---- Topic (area) tiles -------------------------------------------------------------------------------------- */
.topic-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
.topic-tile { --acc: var(--coral); position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; min-height: 220px; border-radius: var(--radius-xl); background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%), var(--card); color: var(--fg); border: 1px solid transparent; overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.topic-tile::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(to top, #000, transparent 60%); mask-image: linear-gradient(to top, #000, transparent 60%); pointer-events: none; }
.topic-tile:hover, .topic-tile:focus-visible { text-decoration: none; transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-card); }
.topic-tile--violet { --acc: var(--acc-violet); } .topic-tile--mint { --acc: var(--acc-mint); } .topic-tile--pink { --acc: var(--acc-pink); } .topic-tile--orchid { --acc: var(--acc-orchid); } .topic-tile--ink { --acc: var(--muted); }
.topic-tile__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 18px var(--acc); }
.topic-tile__name { font-size: 1.5rem; font-weight: 500; }
.topic-tile:hover .topic-tile__name { color: var(--coral-text); }
.topic-tile__desc { color: var(--muted); font-size: .98rem; }
.topic-tile__count { margin-top: auto; padding-top: 10px; font-size: .85rem; color: var(--muted); }
.area-tile { min-height: 180px; padding: 22px; }
.area-tile .topic-tile__name { font-size: 1.25rem; }

/* ---- Sources ------------------------------------------------------------------------------------------------- */
.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(--card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.source-row__brand, .source-head__brand { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--brand, var(--coral)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; }
.source-head { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; text-align: start; }
.source-head__brand { width: 72px; height: 72px; border-radius: 20px; font-size: 1.8rem; }
.source-row__name { font-size: 1.15rem; } .source-row__name a { color: inherit; }
.source-row__name a:hover { color: var(--coral-text); text-decoration: none; }
.source-row__desc { margin-top: 6px; color: var(--muted); font-size: .95rem; }
.source-row__useful { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.source-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .source-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.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); }
.source-profile__disclosure { font-size: .92rem; color: var(--muted); padding: 14px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---- Article ------------------------------------------------------------------------------------------------- */
.article__head { position: relative; padding: 36px 0 28px; text-align: center; background: radial-gradient(70% 70% at 50% 0%, rgba(255, 137, 117, .14), transparent 70%); }
.article__head .container--narrow { display: flex; flex-direction: column; align-items: center; }
.article__kicker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 16px; }
.article__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; max-width: 900px; }
.article__excerpt { margin-top: 18px; font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 700px; }
.article__meta { display: flex; flex-wrap: wrap; justify-content: center; 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: var(--fg); font-weight: 500; }
.article__author-link { display: inline-flex; align-items: center; min-height: 24px; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
.article__author-link:hover { text-decoration-color: var(--coral); }
.article__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: var(--coral-fg); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.article__dates { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.article__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.article__fact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--border); font-size: .88rem; color: var(--muted); }
.article__fact strong { color: var(--fg); font-weight: 500; }
.article__figure { max-width: var(--showcase); margin: 8px auto 0; padding-inline: 16px; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-elevated); }
.article__figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: start; }
.article__credit { color: var(--muted-2); }
@media (min-width: 1024px) { .article__head { padding: 56px 0 36px; } }
.article__layout { padding-top: 32px; padding-bottom: 56px; display: grid; gap: 28px; max-width: calc(var(--reading) + 32px); }
.article__main { min-width: 0; }
.toc { margin: 0; padding: 4px 18px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.toc__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; font-weight: 500; cursor: pointer; list-style: none; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: ""; width: 10px; height: 10px; border-inline-end: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); margin-inline-end: 4px; }
.toc[open] .toc__title::after { transform: rotate(-135deg); }
.toc__list { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc__item a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--muted); font-size: .95rem; border-inline-start: 2px solid transparent; }
.toc__item a:hover { color: var(--fg); text-decoration: none; background: var(--card-2); }
.toc__item a.is-active { color: var(--fg); border-inline-start-color: var(--coral); background: var(--card-2); }
.toc__item--3 { padding-inline-start: 14px; }
.toc__item--3 a { font-size: .9rem; }
.article--guide .toc__list { counter-reset: steps; }
.article--guide .toc__item--2 a::before { counter-increment: steps; content: counter(steps) ". "; color: var(--coral-text); font-weight: 500; }
@media (min-width: 1024px) {
  .article__layout { grid-template-columns: minmax(0, var(--reading)) 280px; max-width: calc(var(--reading) + 280px + 56px + 64px); gap: 56px; align-items: start; }
  .article__layout--plain { grid-template-columns: minmax(0, var(--reading)); max-width: calc(var(--reading) + 64px); justify-content: center; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); order: 2; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
  .article__main { order: 1; }
}
.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); }
.article__notes { margin: 40px 0 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: .95rem; color: var(--muted); display: grid; gap: 10px; }
.article__notes strong { color: var(--fg); font-weight: 500; }
.article__notes a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border); }
.article__notes a:hover { text-decoration-color: var(--coral); }
.article__disclosure { font-weight: 500; color: var(--fg); }
.article__partner { display: grid; gap: 8px; margin: 28px 0 0; padding: 18px 20px; border-radius: var(--radius-md); background: var(--coral-soft); border: 1px solid rgba(255, 137, 117, .3); color: var(--fg); font-size: .95rem; }
.article__partner p { color: var(--muted); }
.article__keep { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--card); border: 1px solid var(--border); display: grid; gap: 6px; }
.article__keep-label { font-size: .85rem; color: var(--coral-text); font-weight: 500; }
.article__keep a { color: var(--fg); font-weight: 500; font-size: 1.05rem; }
.article__keep a:hover { color: var(--coral-text); text-decoration: none; }
.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: 500; margin-inline-end: 4px; color: var(--muted); }
.share .is-copied { background: var(--coral-soft); color: var(--coral-text); border-color: transparent; }
.draft-banner { background: var(--warn); color: #1a1200; text-align: center; padding: 10px 16px; font-weight: 600; }

/* ---- Prose --------------------------------------------------------------------------------------------------- */
.prose { font-size: 1.125rem; line-height: 1.7; color: #e9e9ec; max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 768px) { .prose { font-size: 1.1875rem; } }
:root[data-contrast="light"] .prose { color: #222; }
:root[data-contrast="yellow"] .prose, :root[data-contrast="high"] .prose { color: var(--fg); }
.prose > * + *, .prose > :where(.desk-content) > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2em; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.prose h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.45rem); margin-top: 1.7em; font-weight: 500; color: var(--fg); }
.prose h4 { font-size: 1.1rem; margin-top: 1.4em; color: var(--fg); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(255, 137, 117, .55); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--coral); color: var(--coral-text); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--coral-text); }
.prose blockquote { margin: 1.4em 0; padding: 6px 20px; border-inline-start: 3px solid var(--coral); color: var(--fg); font-size: 1.05em; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--card-2); padding: 2px 7px; border-radius: 6px; direction: ltr; unicode-bidi: embed; color: var(--fg); }
.prose pre { direction: ltr; text-align: left; background: var(--card); border: 1px solid var(--border); color: #f1f1f1; padding: 16px 18px; border-radius: var(--radius); 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, .prose img { border-radius: var(--radius); }
.prose figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.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: 500; color: var(--fg); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.1em; border-radius: var(--radius-sm); }
.prose .table-scroll table { min-width: 520px; }
.prose details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 16px; background: var(--card); }
.prose summary { cursor: pointer; font-weight: 500; }
.prose .note { background: var(--card); border: 1px solid var(--border); padding: 16px 20px; border-radius: var(--radius-md); }
.prose [dir="ltr"] { text-align: left; }
.prose .lead { font-size: 1.12em; color: var(--fg); }
.prose--page { max-width: var(--reading); }

/* ---- Search, forms, notices, pagination, error page ---------------------------------------------------------- */
.search-form { display: flex; gap: 6px; margin-top: 20px; width: 100%; max-width: 560px; padding: 6px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--border); }
.search-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; border-radius: var(--pill); background: transparent; color: var(--fg); font: inherit; }
.search-form input::placeholder { color: var(--muted-2); }
.search-form .button { min-height: 46px; flex: none; }
.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: 500; }
.field__req { color: var(--coral-text); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 16px; border: 1px solid var(--input); border-radius: 14px; background: var(--card); color: var(--fg); font: inherit; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--coral); outline: 3px solid rgba(255, 137, 117, .25); 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: 500; 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); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin: 0; }
.form__notice a, .form__hint a, .form__legend a, .consent__text a, .notice a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__hint, .form__legend { font-size: .9rem; color: var(--muted); margin: 0; }
.contact-layout { display: grid; gap: 32px; }
.notice { padding: 18px 22px; border-radius: var(--radius-md); margin-bottom: 24px; border: 1px solid var(--border); background: var(--card); }
.notice h2 { font-size: 1.2rem; margin-bottom: 6px; }
.notice--ok { border-color: rgba(127, 224, 195, .4); }
.notice--ok h2 { color: var(--ok); }
.notice--error { border-color: rgba(255, 107, 107, .5); }
.notice--error h2 { color: var(--error); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 48px; }
.pagination__count { color: var(--muted); font-size: .95rem; }
.error-page { position: relative; overflow: hidden; padding: 80px 0; text-align: center; background: radial-gradient(60% 60% at 50% 0%, rgba(255, 137, 117, .18), transparent 70%); }
.error-page__inner { max-width: 560px; display: flex; flex-direction: column; align-items: center; }
.error-page__code { font-size: clamp(5rem, 14vw, 8rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, #ff8975, #ffb3a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 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 (with the CTA glow band) ------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--bg-deep); color: var(--fg); padding: 0 0 32px; overflow: hidden; border-top: 1px solid var(--border); }
.footer-cta { position: relative; isolation: isolate; text-align: center; padding: 72px 0 56px; background: radial-gradient(55% 65% at 50% 60%, rgba(255, 137, 117, .16), transparent 70%); }
.footer-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 70%, rgba(255, 137, 117, .22), transparent 70%); animation: glow-pulse 6s ease-in-out infinite; pointer-events: none; }
@keyframes glow-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.footer-cta__inner { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-cta__title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.footer-cta__text { color: var(--muted); font-size: 1.05rem; }
.footer-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.footer-cta__art { position: relative; width: min(520px, 90%); height: 120px; margin: 32px auto 0; }
.footer-cta__card { position: absolute; inset-inline-start: 50%; bottom: 0; width: 62%; aspect-ratio: 520 / 150; border-radius: 18px; background: linear-gradient(135deg, #1f1f1f, #141414); border: 1px solid var(--border); box-shadow: var(--shadow-card); transform: translateX(50%); }
.footer-cta__card::before { content: ""; position: absolute; inset-inline-start: 18px; top: 18px; width: 36%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.footer-cta__card::after { content: ""; position: absolute; inset-inline-start: 18px; top: 40px; width: 22%; height: 10px; border-radius: 6px; background: rgba(255, 137, 117, .55); }
.footer-cta__card--1 { width: 44%; inset-inline-start: 10%; transform: none; bottom: 18px; opacity: .8; animation: float 7s ease-in-out infinite; }
.footer-cta__card--2 { z-index: 2; animation: float 8s ease-in-out infinite reverse; }
.footer-cta__card--3 { width: 44%; inset-inline-start: auto; inset-inline-end: 10%; transform: none; bottom: 18px; opacity: .8; animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.site-footer .container { position: relative; }
.site-footer__grid { display: grid; gap: 36px; padding-top: 48px; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer__brand .brand { margin-bottom: 18px; }
.site-footer__tagline { font-weight: 500; margin-bottom: 8px; }
.site-footer__desc { color: var(--muted); font-size: .95rem; max-width: 360px; }
.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: var(--fg); }
.site-footer__heading { font-size: 1.02rem; margin-bottom: 18px; font-weight: 500; }
.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: var(--fg); 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 var(--border); font-size: .85rem; color: var(--muted); }
.site-footer__bottom a { color: var(--muted); } .site-footer__bottom a:hover { color: var(--fg); }

/* ---- Consent ------------------------------------------------------------------------------------------------- */
.consent { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 900; max-width: 760px; margin-inline: auto; background: var(--card); 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; color: var(--muted); }
.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--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 { inset-inline-end: 24px; inset-inline-start: auto; bottom: 24px; width: min(760px, calc(100% - 48px)); } }
.consent-dialog { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--card); color: var(--fg); box-shadow: var(--shadow-elevated); }
.consent-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.consent-dialog__form { padding: 28px; display: grid; gap: 16px; }
.consent-dialog h2 { font-size: 1.4rem; }
.consent-dialog > form > p { color: var(--muted); font-size: .95rem; }
.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); margin-top: 2px; }
.consent-dialog__row--off { opacity: .7; }
.consent-dialog__state { font-size: .85rem; color: var(--muted); 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); }
.switch { appearance: none; width: 46px; height: 26px; border-radius: 999px; background: var(--input); 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(--coral); }
.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(--coral); color: var(--coral-fg); 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(--card); 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: 500; border-inline: 1px solid var(--border); }
.a11y__checks { display: grid; gap: 8px; }
.a11y__note { font-size: .8rem; color: var(--muted); margin: 0; }
.a11y__row { display: grid; gap: 6px; font-size: .9rem; }
.a11y__seg { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.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(--coral); color: var(--coral-fg); }
.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: fade + rise 20px + blur 8px, 800ms, once. Only decoration and cards carry it; the main text never starts hidden. */
.reveal { opacity: 0; transform: translateY(var(--reveal-y)); filter: blur(var(--reveal-blur)); transition: opacity var(--reveal-time) var(--ease) var(--delay, 0ms), transform var(--reveal-time) var(--ease) var(--delay, 0ms), filter var(--reveal-time) var(--ease) var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
@media (max-width: 767px) { :root { --reveal-y: 12px; --reveal-blur: 4px; --reveal-time: .6s; } }
/* Stagger without style attributes (Content-Security-Policy): data-step="N" on the element, the step length per container. */
.reveal[data-step="1"] { --delay: calc(1 * var(--stagger, 100ms)); }
.reveal[data-step="2"] { --delay: calc(2 * var(--stagger, 100ms)); }
.reveal[data-step="3"] { --delay: calc(3 * var(--stagger, 100ms)); }
.reveal[data-step="4"] { --delay: calc(4 * var(--stagger, 100ms)); }
.reveal[data-step="5"] { --delay: calc(5 * var(--stagger, 100ms)); }
.reveal[data-step="6"] { --delay: calc(6 * var(--stagger, 100ms)); }
.reveal[data-step="7"] { --delay: calc(7 * var(--stagger, 100ms)); }
.reveal[data-step="8"] { --delay: calc(8 * var(--stagger, 100ms)); }
.reveal[data-step="9"] { --delay: calc(9 * var(--stagger, 100ms)); }
.reveal[data-step="10"] { --delay: calc(10 * var(--stagger, 100ms)); }
.reveal[data-step="11"] { --delay: calc(11 * var(--stagger, 100ms)); }
.rss-grid { --stagger: 60ms; }
.hero__layers { --stagger: 120ms; }
.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; animation: 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; }
  html { scroll-behavior: auto; }
  .card, .hero-card, .rss-card, .topic-tile, .button, .bento__item, .track__step, .update, .hub-item, .site-nav__sub, .mobile-menu { transition: none; animation: none; }
  .card:hover, .hero-card:hover, .rss-card:hover, .topic-tile:hover, .bento__item:hover, .button--primary:hover, .button--coral:hover { transform: none; }
  .card:hover .card__media img, .rss-card:hover .rss-card__media img { transform: none; }

  .hero__strokes path { animation: none; stroke-dashoffset: 0; }
  .footer-cta::before, .footer-cta__card { animation: none; }
  .ticker.is-animated .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker__pause { display: none; }
  .button__text, .button__text--ghost { transition: none; }
  .button--roll:hover .button__text:not(.button__text--ghost), .button--roll:focus-visible .button__text:not(.button__text--ghost) { transform: none; }
  .button__text--ghost { display: none; }
}
@media print {
  .site-header, .site-footer, .consent, .a11y, .share, .toc, .mobile-menu, .ticker { display: none !important; }
  body, html { background: #fff; color: #000; }
  .article__head, .page-head, .hero { background: none; color: #000; }
  .prose { color: #000; }
  .article__head .article__meta, .article__excerpt { color: #333; }
  a { color: #000; }
}
