/* fonts-article.css */
/* Self-hosted subset of Unbounded (OFL) for article headings.
   Generated with Google Fonts `text=` subsetting: Cyrillic + Basic Latin
   + punctuation/currency used on the site. Keeps the brand font without
   loading ~200 KiB of Google Fonts subsets. */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/static/fonts/unbounded-subset.woff2') format('woff2');
  unicode-range: U+20-5F, U+61-7E, U+AB, U+B0, U+BB, U+C4, U+CB, U+CF, U+D6,
    U+DC, U+E4, U+EB, U+EF, U+F6, U+FC, U+FF, U+102-103, U+114-115, U+11E-11F,
    U+12C-12D, U+14E-14F, U+16C-16D, U+178, U+306, U+308, U+401, U+40E,
    U+410-44F, U+451, U+45E, U+4C1-4C2, U+4D0-4D3, U+4D6-4D7, U+4DC-4DF,
    U+4E4-4E7, U+4EC-4ED, U+4F0-4F1, U+4F4-4F5, U+4F8-4F9, U+1E26-1E27,
    U+1E84-1E85, U+1E8C-1E8D, U+1E97, U+2013-2014, U+201C-201E, U+2026,
    U+20AC, U+20BD, U+2116;
}

/* shared.css */
/* ============================================================
   PassBy — SHARED STYLES (index.html + contact.html)
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease:        ease;

  --font-display: 'Unbounded', 'Inter', ui-sans-serif, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --r-sm:   8px;
  --r-md:   11px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;

  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-7:  64px;
  --sp-8:  80px;
  --sp-9:  96px;
  --sp-10: 140px;
}

/* ── THEMES ──────────────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;

  --canvas:     #040506;
  --surface-0:  #07080a;
  --surface-1:  #0d0e11;
  --surface-2:  #15161a;
  --surface-3:  #1d1e23;

  --border-soft:   rgba(255, 255, 255, 0.07);
  --border-med:    rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.24);

  --text-primary:   #f5f6f7;
  --text-secondary: #9ba0a6;
  --text-tertiary:  #7f8792;

  --accent:      #4d8dff;
  --accent-2:    #8ec2ff;
  --accent-soft: rgba(77, 141, 255, 0.14);
  --accent-line: rgba(77, 141, 255, 0.40);

  --signal-green: #54d49a;
  --signal-red:   #ff6363;

  --cta-bg:   #f2f3f5;
  --cta-text: #0b0c0e;

  --grid-line:     rgba(255, 255, 255, 0.05);
  --noise-opacity: 0.035;
}

[data-theme="light"] {
  color-scheme: light;

  --canvas:     #f0f1f4;
  --surface-0:  #ffffff;
  --surface-1:  #fbfbfd;
  --surface-2:  #eceef2;
  --surface-3:  #e1e3e9;

  --border-soft:   rgba(15, 18, 23, 0.08);
  --border-med:    rgba(15, 18, 23, 0.14);
  --border-strong: rgba(15, 18, 23, 0.26);

  --text-primary:   #0e1014;
  --text-secondary: #4b515b;
  --text-tertiary:  #5f6874;

  --accent:      #2f5fdc;
  --accent-2:    #1c41a8;
  --accent-soft: rgba(47, 95, 220, 0.10);
  --accent-line: rgba(47, 95, 220, 0.35);

  --signal-green: #1f9d6c;
  --signal-red:   #d9484e;

  --cta-bg:   #0e1014;
  --cta-text: #f5f6f7;

  --grid-line:     rgba(15, 18, 23, 0.05);
  --noise-opacity: 0.018;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip надёжнее: не создаёт скролл-контейнер и не ломает position:sticky */
  transition: background .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}
@media (max-width: 640px) { .wrap { padding-inline: 18px; } }

/* ── GRAIN OVERLAY ───────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: var(--noise-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── HEADER / NAV PILL ───────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: 9px 10px 9px 18px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav-logo svg { width: 14px; height: 16px; }
.nav-logo svg path { fill: var(--text-primary); transition: fill .4s var(--ease); }

.logo-cursor {
  display: inline-block;
  margin-left: 1px;
  color: var(--accent-2);
  animation: logoCursorBlink 1.15s steps(1, end) infinite;
}

@keyframes logoCursorBlink {
  50% { opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--text-secondary);
}
.nav-links a {
  position: relative;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent-2);
  transition: width .25s var(--ease-out);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ── NAV ACTIONS (theme toggle + support + cta grouped) ─── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ── NAV BURGER (mobile menu trigger, hidden on desktop) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-med);
  background: var(--surface-2);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0 9px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-burger span {
  display: block;
  height: 1.6px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform .3s var(--ease-spring), opacity .2s var(--ease);
}
.nav-burger:hover { background: var(--surface-3); border-color: var(--border-strong); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ── MOBILE DROPDOWN MENU ───────────────────────────────── */
.nav-mobile-menu {
  position: fixed;
  top: 70px;
  left: 12px;
  right: 12px;
  z-index: 49;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: color-mix(in srgb, var(--surface-2) 92%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-med);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  pointer-events: none;
}
.nav-mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile-menu a,
.nav-mobile-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-mobile-menu a:hover,
.nav-mobile-menu button:hover {
  background: var(--surface-3);
  color: var(--text-primary);
}
.nav-mobile-menu button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-mobile-cta {
  margin-top: 6px;
  background: var(--cta-bg) !important;
  color: var(--cta-text) !important;
  justify-content: center !important;
  font-weight: 600 !important;
}
.nav-mobile-cta:hover { opacity: 0.88; }

/* ── Responsive navbar breakdown ────────────────────────── */
@media (max-width: 760px) {
  .nav-pill { gap: var(--sp-2); padding: 9px 12px; }
  /* Show burger + mobile menu, hide desktop nav-links */
  .nav-burger { display: flex; }
  .nav-mobile-menu { display: flex; }
  /* On medium-narrow: keep theme-toggle + cta in pill, hide support label */
  .nav-contact-label { display: none; }
  .nav-contact { padding: 9px 10px; }
  .nav-actions { gap: 8px; }
}

@media (max-width: 540px) {
  /* On very narrow: hide everything except logo + theme + burger */
  .nav-actions .nav-contact,
  .nav-actions .nav-cta { display: none; }
}

/* ── THEME TOGGLE ────────────────────────────────────────── */
.theme-toggle {
  position: relative;
  width: 52px; height: 30px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.theme-toggle .knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cta-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-spring);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .theme-toggle .knob { transform: translateX(22px); }
.theme-toggle .knob svg { width: 13px; height: 13px; }
.theme-toggle .moon-ico path { fill: var(--cta-text); stroke: none; }
.theme-toggle .sun-ico path,
.theme-toggle .sun-ico circle,
.theme-toggle .sun-ico line { stroke: var(--cta-text); fill: none; }

/* ── NAV CTA ─────────────────────────────────────────────── */
.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cta-bg);
  color: var(--cta-text);
  white-space: nowrap;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-cta:hover { opacity: 0.88; }
.nav-cta:active { transform: scale(0.96); }

/* Contact button in nav */
.nav-contact {
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-med);
  color: var(--text-secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nav-contact:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--surface-1);
}
.nav-contact svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Back link variant (contact page) */
.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color .2s;
  border: 1px solid var(--border-soft);
}
.nav-back:hover { color: var(--text-primary); border-color: var(--border-med); }
.nav-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  padding: var(--sp-6) 0 var(--sp-5);
  border-top: 1px solid var(--border-soft);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.footer-logo svg { width: 12px; height: 14px; }
.footer-logo svg path { fill: var(--text-secondary); }
.footer-links {
  display: flex;
  flex-wrap: wrap;  /* allow links to wrap to next line on narrow screens */
  gap: var(--sp-2) var(--sp-3);  /* smaller horizontal gap when wrapping */
  font-size: 13.5px;
  color: var(--text-tertiary);
}
.footer-links a,
.footer-links .footer-link-btn {
  white-space: nowrap;  /* never break a link in the middle */
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-note {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
}
/* On narrow screens, stack logo above links and left-align everything */
@media (max-width: 640px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ── UTILITIES ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(84, 212, 154, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(84, 212, 154, 0); }
  100% { box-shadow: 0 0 0 0   rgba(84, 212, 154, 0); }
}

/* ── SECTION GENERIC ─────────────────────────────────────── */
section { position: relative; padding: var(--sp-9) 0; }
.section-head { max-width: 680px; margin: 0 auto var(--sp-7); }
.section-head.center { text-align: center; }
/* сам блок подзаголовка (520px) тоже центрируем — иначе он прижат
   к левому краю 680px-контейнера и текст «съезжает» влево от центра */
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease-spring);
}
.btn-primary:hover  { transform: translateY(-2px) scale(1.02); }
.btn-primary:active { transform: translateY(0) scale(0.96); }
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-med);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.btn-ghost:hover { background: var(--surface-1); border-color: var(--border-strong); }

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   PassBy — SUPPORT MODAL
   Reuses existing design tokens (--surface-*, --border-*,
   --accent, --r-xl, --r-pill, --font-display, --ease-*).
   ============================================================ */

/* Footer button styled like a footer link, but as <button> */
.footer-link-btn {
  font: inherit;
  font-size: 13.5px;
  color: var(--text-tertiary);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.footer-link-btn:hover { color: var(--text-secondary); }

/* Overlay layer
   — No opacity/visibility on the parent: those create a group opacity that
     prevents backdrop-filter on children from being computed during the
     transition (the blur would snap in at the end). Instead we keep the
     parent always rendered and control visibility via pointer-events +
   per-child opacity. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.modal.open {
  pointer-events: auto;
}

/* Backdrop: blur is CONSTANT — only opacity fades. This is the only
   combination that Chromium animates smoothly; transitioning the blur()
   function itself snaps at the end of the timeline. */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--canvas) 70%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  will-change: opacity;
}
.modal.open .modal-backdrop { opacity: 1; }
/* Safari fallback when backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .modal-backdrop { background: color-mix(in srgb, var(--canvas) 88%, transparent); }
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--surface-1);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.65);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease-spring), opacity .35s var(--ease-out);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  will-change: transform, opacity;
}
.modal.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.modal-card::-webkit-scrollbar { width: 8px; }
.modal-card::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 4px; }

/* Close button (top-right) */
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease-spring);
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--surface-3);
  transform: rotate(90deg);
}
.modal-close:active { transform: rotate(90deg) scale(0.94); }

/* Header block */
.modal-head { margin-bottom: var(--sp-4); padding-right: 44px; }
.modal-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: block;
  margin-bottom: 12px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Body — contact rows */
.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-4);
}
.support-row {
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-0);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease-out);
}
.support-row:hover {
  border-color: var(--accent-line);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.support-row:active { transform: translateY(0) scale(0.997); }

.support-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-icon svg { width: 20px; height: 20px; }
.support-icon--tg {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent-2);
}
.support-icon--mail {
  background: var(--surface-3);
  color: var(--text-secondary);
}
.support-row:hover .support-icon--mail { color: var(--text-primary); }

.support-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.support-text b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.support-handle {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-2);
  word-break: break-all;
}
.support-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.4;
  margin-top: 2px;
}

.support-arrow {
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  transition: color .2s var(--ease), transform .25s var(--ease-out);
}
.support-arrow svg { width: 18px; height: 18px; }
.support-row:hover .support-arrow {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* Footer — status indicator only */
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-soft);
}
.modal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.modal-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-green);
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .modal { padding: 16px; }
  .modal-card { padding: var(--sp-4) var(--sp-4) var(--sp-3); }
  .modal-title { font-size: 21px; }
  .support-row { padding: 12px 14px; gap: 12px; }
  .support-icon { width: 40px; height: 40px; }
  .support-hint { display: none; }
}

/* When modal is open — lock page scroll */
body.modal-open { overflow: hidden; }

/* ============================================================
   PassBy — COMMON LAYER (общие с контентными страницами блоки)
   .price-pay и .final-cta переехали сюда из index.css: они нужны
   не только лендингу, но и новостям/use-cases (которые index.css
   не грузят). Лендинг ничего не заметил — shared.css и так грузится.
   ============================================================ */

/* Строка способов оплаты над CTA (рендерится из payment_methods) */
.price-pay {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
}

/* Финальный экран (лендинг + use cases): работает с возражением,
   а не дублирует hero */
.final-cta { text-align: center; padding: var(--sp-10) 0; position: relative; }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.final-cta p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--sp-4);
}

/* Shared footer bottom row for pages on the legacy CSS bundle */
.footer-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: var(--sp-3);
}

.footer-end .footer-note { margin-top: 0; }

.footer-system {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pixel-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 1px;
  background: var(--signal-green);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal-green) 35%, transparent);
  animation: pixelPulse 2.4s steps(2, end) infinite;
}

@keyframes pixelPulse {
  50% { opacity: .35; }
}

@media (max-width: 640px) {
  .footer-end { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .pixel-dot { animation: none; }
}

/* ── Keyboard focus ─────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* pages.css */
/* ============================================================
   PassBy — PAGES (контентные страницы: новости, use cases)
   Лёгкий общий слой поверх shared.css:
     - .page-hero      — компактный герой вторичной страницы
     - .crumbs         — mono-breadcrumb (единый для новостей и use cases)
     - .page-empty     — общий empty-state (бывший .articles-empty)
     - активный пункт навигации через aria-current="page"

   .price-pay и .final-cta живут в shared.css (общие с лендингом).

   Принципы (см. REDESIGN.md): контентная страница — тихая,
   максимум лёгких hover-микроанимаций, один декоративный слой.
   ============================================================ */

/* ── АКТИВНЫЙ ПУНКТ НАВИГАЦИИ ────────────────────────────── */
.nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-links a[aria-current="page"]::after { width: 100%; }

/* ── PAGE HERO ───────────────────────────────────────────── */
/* Компактнее лендингового hero: не 100vh, а контентная шапка
   с заголовком раздела. Центрирование — как на лендинге. */
.page-hero {
  position: relative;
  padding: 168px 0 var(--sp-6);
  text-align: center;
  isolation: isolate;
}
.page-hero .crumbs { margin-bottom: var(--sp-3); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: var(--sp-3);
}
.page-hero .page-sub {
  margin-top: var(--sp-3);
  margin-inline: auto;
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}
.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .page-hero { padding: 148px 0 var(--sp-5); }
  .page-hero .page-sub { font-size: 16px; }
}

/* ── CRUMBS — единый breadcrumb контентных страниц ───────── */
.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
}
.crumbs a { color: var(--text-secondary); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs .sep { opacity: 0.6; }
.crumbs .current { color: var(--text-primary); }

/* ── PAGE EMPTY — общий empty-state ─────────────────────────
   Используется и в новостях, и в use cases. */
.page-empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  color: var(--text-secondary);
}
.page-empty svg {
  width: 48px; height: 48px;
  margin: 0 auto var(--sp-3);
  opacity: 0.4;
}
.page-empty h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.page-empty p {
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 14.5px;
}

/* articles.css */
/* ============================================================
   PassBy — ARTICLES PAGES
   Reuses tokens from shared.css + .page-hero/.crumbs from pages.css.
   Adds:
      - article list grid (cards)
      - article card visual
      - article detail page hero + content typography
      - rendered markdown content styles (h2, h3, ul, blockquote, code, table)
      - sidebar with categories
      - pagination
   ============================================================ */

/* ── LIST PAGE LAYOUT ────────────────────────────────────── */
.articles-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-9);
}
@media (max-width: 900px) {
  .articles-layout { grid-template-columns: 1fr; }
  .articles-sidebar { order: 2; }
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.articles-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-3);
}
.articles-sidebar h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding: 8px 12px 6px;
}
.articles-sidebar ul { display: flex; flex-direction: column; gap: 2px; }
.articles-sidebar a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-secondary);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.articles-sidebar a:hover { background: var(--surface-2); color: var(--text-primary); }
.articles-sidebar a.active {
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 600;
}
.articles-sidebar .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.articles-sidebar a.active .count {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-2);
}

/* ── GRID OF CARDS ───────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-3);
}
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease-out), border-color .25s var(--ease), background .25s var(--ease);
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-med);
  background: var(--surface-2);
}

.article-card-cover {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  overflow: hidden;
}
.article-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.article-card:hover .article-card-cover img { transform: scale(1.04); }

/* Decorative cover fallback (when no cover_url set) */
.article-card-cover-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 60%),
    linear-gradient(135deg, var(--surface-3), var(--surface-2));
}
.article-card-cover-fallback svg { width: 36px; height: 36px; opacity: 0.4; }

.article-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--surface-0) 85%, transparent);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
}

.article-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-3);
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.article-card-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-primary);
}
.article-card:hover h3 { color: var(--accent-2); }
.article-card-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s var(--ease);
}
.article-card:hover .article-card-footer { color: var(--accent-2); }
.article-card-footer svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.article-card:hover .article-card-footer svg { transform: translateX(3px); }

/* ── EMPTY STATE ─────────────────────────────────────────── */
/* Переехал в pages.css как общий компонент .page-empty
   (используется новостями и use cases). */

/* ── PAGINATION ──────────────────────────────────────────── */
.articles-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-6);
}
.articles-pagination a,
.articles-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  background: var(--surface-1);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.articles-pagination a:hover {
  background: var(--surface-2);
  color: var(--text-primary);
  border-color: var(--border-med);
}
.articles-pagination .current {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: var(--cta-bg);
  font-weight: 600;
}
.articles-pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}
.articles-pagination .ellipsis {
  border: none;
  background: transparent;
}

/* ── DETAIL PAGE ─────────────────────────────────────────── */
/* Верхний отступ даёт .page-hero (pages.css) — здесь только низ */
.article-detail {
  padding-top: 0;
  padding-bottom: var(--sp-9);
}

.article-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
}
.article-detail-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* Cover image full-width */
.article-detail-cover {
  max-width: 1000px;
  margin: 0 auto var(--sp-6);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 16/7;
  background: var(--surface-2);
}
.article-detail-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ── ARTICLE CONTENT (rendered Markdown) ─────────────────── */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
}
.article-content > *:first-child { margin-top: 0; }
.article-content > *:last-child { margin-bottom: 0; }

.article-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: var(--sp-5) 0 var(--sp-3);
  color: var(--text-primary);
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: var(--sp-4) 0 var(--sp-2);
  color: var(--text-primary);
}
.article-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: var(--sp-3) 0 var(--sp-2);
  color: var(--text-primary);
}
.article-content p { margin: 0 0 var(--sp-3); }
.article-content a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease);
}
.article-content a:hover { text-decoration-color: var(--accent-2); }

.article-content ul,
.article-content ol {
  margin: 0 0 var(--sp-3);
  padding-left: var(--sp-4);
}
.article-content li { margin-bottom: 8px; }
.article-content ul li::marker { color: var(--accent-2); }
.article-content ol li::marker { color: var(--text-tertiary); font-family: var(--font-mono); }

.article-content blockquote {
  margin: var(--sp-4) 0;
  padding: var(--sp-3) var(--sp-4);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-content blockquote p { margin: 0; }

.article-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  color: var(--accent-2);
}
.article-content pre {
  margin: var(--sp-4) 0;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow-x: auto;
}
.article-content pre code {
  background: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.6;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: var(--sp-4) 0;
  border: 1px solid var(--border-soft);
}
.article-content hr {
  margin: var(--sp-5) 0;
  border: none;
  border-top: 1px solid var(--border-soft);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0;
  font-size: 15px;
}
.article-content th,
.article-content td {
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  text-align: left;
}
.article-content th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}
.article-content tr:nth-child(even) td { background: var(--surface-1); }

/* ── RELATED ARTICLES ────────────────────────────────────── */
/* Заголовок — через .section-head.center из shared.css */
.article-related {
  max-width: 1180px;
  margin: var(--sp-8) auto 0;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border-soft);
}

/* ── CTA BOX at end of article ─────────────────────────────
   Паттерн лендинга: mono-строка «Оплата: …» над кнопкой
   (.price-pay), под кнопкой — работа с возражением (возврат). */
.article-cta {
  max-width: 760px;
  margin: var(--sp-7) auto 0;
  padding: var(--sp-5);
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.article-cta p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto var(--sp-3);
  max-width: 460px;
}
.article-cta .price-pay { margin-bottom: var(--sp-3); }
.article-cta .btn-primary { font-size: 14px; padding: 12px 22px; }
.article-cta-refund {
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
}

/* mobile-menu.css */
/* ============================================================
   PassBy — fullscreen mobile navigation
   Loaded after shared/premium styles on every page with a burger.
   ============================================================ */

.nav-pill {
  position: relative;
  z-index: 50;
}

.nav-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: none;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  width: auto;
  max-width: none;
  height: 100dvh;
  margin: 0;
  padding: max(112px, calc(env(safe-area-inset-top) + 92px)) clamp(22px, 6vw, 64px) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--canvas) 96%, transparent), color-mix(in srgb, var(--canvas) 88%, transparent)),
    var(--canvas);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
  transition:
    opacity .28s var(--ease-out),
    visibility .55s linear,
    clip-path .58s cubic-bezier(.16, 1, .3, 1);
  isolation: isolate;
}

.nav-mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .62;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 64%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 64%, transparent 100%);
  pointer-events: none;
}

.nav-mobile-menu::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -14%;
  z-index: -1;
  width: min(72vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 68%);
  pointer-events: none;
}

.nav-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}

.nav-mobile-menu > * {
  width: min(100%, 980px);
  margin-inline: auto;
}

.nav-mobile-menu > a:not(.nav-mobile-cta) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--border-soft);
  border-radius: 0;
  background: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(27px, 7.4vw, 48px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-align: left;
  text-wrap: balance;
  transition: color .2s var(--ease), padding-left .25s var(--ease-out);
}

.nav-mobile-menu > a:not(.nav-mobile-cta)::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--accent);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-mobile-menu > a:not(.nav-mobile-cta):hover,
.nav-mobile-menu > a:not(.nav-mobile-cta):focus-visible {
  padding-left: 8px;
  color: var(--accent-2);
}

.nav-mobile-menu > a:not(.nav-mobile-cta):hover::after,
.nav-mobile-menu > a:not(.nav-mobile-cta):focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.nav-mobile-menu > a:not(.nav-mobile-cta):nth-last-child(3) {
  border-bottom: 1px solid var(--border-soft);
}

.nav-mobile-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  min-height: 44px;
  margin-top: auto;
  margin-inline: auto;
  padding: 0 18px;
  border: 1px solid var(--border-med);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

.nav-mobile-support:hover {
  border-color: var(--border-strong);
  background: var(--surface-3);
  color: var(--text-primary);
}

.nav-mobile-support svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin: 10px auto 0;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--cta-bg) !important;
  color: var(--cta-text) !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.nav-mobile-cta:hover {
  opacity: .88;
}

.nav-mobile-menu a:focus-visible,
.nav-mobile-menu button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

/* Stagger: one orchestrated reveal, not per-link animation noise. */
.nav-mobile-menu > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}

.nav-mobile-menu.open > * {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-menu.open > *:nth-child(1) { transition-delay: .13s; }
.nav-mobile-menu.open > *:nth-child(2) { transition-delay: .17s; }
.nav-mobile-menu.open > *:nth-child(3) { transition-delay: .21s; }
.nav-mobile-menu.open > *:nth-child(4) { transition-delay: .25s; }
.nav-mobile-menu.open > *:nth-child(5) { transition-delay: .29s; }
.nav-mobile-menu.open > *:nth-child(6) { transition-delay: .33s; }
.nav-mobile-menu.open > *:nth-child(7) { transition-delay: .37s; }

html.menu-open,
body.menu-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-contact-label {
    display: none;
  }

  .nav-contact {
    padding: 9px 10px;
  }

  .nav-mobile-menu {
    display: flex;
  }
}

@media (max-width: 420px) {
  .nav-mobile-menu {
    padding-top: 100px;
    padding-inline: 20px;
  }

  .nav-mobile-menu > a:not(.nav-mobile-cta) {
    font-size: clamp(26px, 7.8vw, 36px);
    padding-block: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile-menu,
  .nav-mobile-menu > *,
  .nav-mobile-menu > a:not(.nav-mobile-cta),
  .nav-mobile-menu > a:not(.nav-mobile-cta)::after {
    transition: none;
  }

  .nav-mobile-menu {
    clip-path: none;
    -webkit-clip-path: none;
  }
}

/* services-nav.css */
/* ============================================================
   PassBy — Services dropdown (preview / shared)
   Works with both the premium nav and the legacy nav.
   ============================================================ */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  line-height: inherit;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent-2);
  transition: width .25s var(--ease-out);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--text-primary);
}

.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.is-current::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s var(--ease);
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 3px;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 23px);
  left: 50%;
  z-index: 60;
  width: 286px;
  padding: 7px;
  border: 1px solid var(--border-med);
  border-radius: 14px;
  background: var(--surface-2);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .75);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}

.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  transition: background .18s var(--ease);
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: var(--surface-3);
  outline: none;
}

.nav-dropdown-item:focus-visible {
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.nav-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background: var(--surface-1);
  color: var(--accent-2);
}

.nav-dropdown-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nav-dropdown-text b {
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.nav-dropdown-text small {
  color: var(--text-tertiary);
  font-size: 10.5px;
  line-height: 1.3;
}

.nav-dropdown-item[aria-current="page"] .nav-dropdown-icon {
  border-color: var(--accent-line);
  color: var(--accent);
}

.nav-dropdown-item[aria-current="page"] .nav-dropdown-text b {
  color: var(--accent-2);
}

/* Mobile: a labelled group instead of a floating panel */
.nav-mobile-services {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0;
  padding: 8px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.nav-mobile-services-label {
  padding: 2px 12px 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.nav-mobile-menu .nav-mobile-services a {
  padding: 8px 12px 8px 22px;
  font-size: 13px;
  color: var(--text-secondary);
}

.nav-mobile-menu .nav-mobile-services a:hover {
  color: var(--text-primary);
  background: var(--surface-3);
}

.nav-mobile-menu .nav-mobile-services a[aria-current="page"] {
  color: var(--text-primary);
}

.nav-mobile-menu .nav-mobile-services a[aria-current="page"]::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

/* Keep the preview nav compact enough for the extra item */
@media (max-width: 1180px) {
  .services-preview .nav-pill { gap: 18px; }
  .services-preview .nav-links { gap: 16px; font-size: 13px; }
  .services-preview .nav-dropdown-toggle { font-size: 13px; }
  .services-preview .nav-actions { gap: 8px; }
  .services-preview .nav-contact { padding: 9px 10px; }
}

@media (max-width: 1040px) {
  .services-preview .nav-links > a[href="/#faq"] { display: none; }
}

@media (max-width: 960px) {
  .services-preview .nav-links > a[href="/#why"] { display: none; }
}

/* Production nav: same compacting, scoped to the shared header */
@media (max-width: 1180px) {
  .site-nav .nav-pill { gap: 18px; }
  .site-nav .nav-links { gap: 16px; font-size: 13px; }
  .site-nav .nav-dropdown-toggle { font-size: 13px; }
  .site-nav .nav-actions { gap: 8px; }
  .site-nav .nav-contact { padding: 9px 10px; }
}

@media (max-width: 1040px) {
  .site-nav .nav-links > a[href="/#faq"] { display: none; }
}

@media (max-width: 960px) {
  .site-nav .nav-links > a[href="/#how"] { display: none; }
}

/* premium-blog.css */
/* ============================================================
   PassBy — premium blog index
   Editorial card grid for /articles and category pages.
   Scoped to .blog-page; loads after articles.css.
   ============================================================ */

.blog-page {
  --font-pixel: "Handjet", "JetBrains Mono", monospace;
  --on-accent: #07101f;

  background: var(--canvas);
}

[data-theme="light"] .blog-page {
  --on-accent: #ffffff;
}

.blog-page main {
  padding-top: 112px;
  padding-bottom: 0;
}

.blog-page [hidden] {
  display: none !important;
}

.blog-page .crumbs {
  max-width: none;
  margin: 0 0 20px;
  justify-content: flex-start;
  text-align: left;
}

.blog-page .blog-kicker-label {
  display: block;
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-intro {
  padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.6vw, 44px);
}

.blog-title {
  max-width: 820px;
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.blog-lead {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.62;
  text-wrap: pretty;
}

/* ── Search + categories ─────────────────────────────────── */

.blog-toolbar-band {
  padding: 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-0);
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
  padding-block: 12px;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 380px);
  height: 44px;
  padding: 0 10px 0 13px;
  border: 1px solid var(--border-med);
  border-radius: var(--r-md);
  background: var(--surface-1);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.blog-search:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.blog-search-submit {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.blog-search-submit:hover {
  background: var(--surface-2);
  color: var(--text-primary);
}

.blog-search-icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: currentColor;
}

.blog-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
}

.blog-search input::placeholder {
  color: var(--text-tertiary);
}

.blog-search input::-webkit-search-cancel-button {
  display: none;
}

.blog-search-clear {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  color: var(--text-tertiary);
  font-size: 16px;
  line-height: 1;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.blog-search-clear:hover {
  background: var(--surface-3);
  color: var(--text-primary);
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.blog-page .blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  background-color: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.blog-page .blog-filter-btn span {
  background-color: transparent;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9px;
}

.blog-page .blog-filter-btn:hover {
  border-color: var(--border-med);
  color: var(--text-primary);
  background: var(--surface-2);
}

.blog-page .blog-filter-btn[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.blog-page .blog-filter-btn[aria-current="page"] span {
  color: var(--on-accent);
}

/* ── Section head ────────────────────────────────────────── */

.blog-all {
  padding: clamp(42px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-1);
}

.blog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.blog-section-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.blog-results {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 4px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-reset {
  padding: 0;
  color: var(--accent-2);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-underline-offset: 3px;
}

.blog-reset:hover {
  text-decoration-color: var(--accent-2);
}

/* ── Card grid ───────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.blog-page .article-card {
  display: flex;
  grid-column: span 4;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  transition: border-color .2s var(--ease), transform .2s var(--ease-out);
}

.blog-page .article-card--large {
  grid-column: span 6;
}

.blog-page .article-card--solo,
.blog-grid--uniform > .article-card:last-child:nth-child(3n+1) {
  grid-column: 5 / span 4;
}

.blog-page .article-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-med);
}

.blog-page .article-card-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-2);
}

.blog-page .article-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease-out);
}

.blog-page .article-card:hover .article-card-cover img {
  transform: scale(1.03);
}

.blog-page .article-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--text-primary) 18%, transparent);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--canvas) 76%, transparent);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-page .article-card-index {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: color-mix(in srgb, var(--text-primary) 76%, transparent);
  font-family: var(--font-pixel);
  font-size: 26px;
  font-weight: 500;
  line-height: .8;
  letter-spacing: .01em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}

.blog-page .article-card-fallback {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 17px, var(--border-soft) 17px 18px),
    var(--surface-2);
}

.blog-page .article-card-fallback::before {
  content: "P";
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: clamp(84px, 9vw, 132px);
  line-height: .8;
  opacity: .78;
}

.blog-page .article-card-fallback span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
}

.blog-page .article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 17px 17px;
}

.blog-page .article-card--large .article-card-body {
  padding: 18px 20px 20px;
}

.blog-page .story-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.2;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.blog-page .story-time {
  margin-left: auto;
}

.blog-page .article-card h3 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -.02em;
  text-wrap: balance;
  transition: color .2s var(--ease);
}

.blog-page .article-card--large h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.18;
}

.blog-page .article-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-page .article-card--large p {
  font-size: 13.5px;
}

.blog-page .article-card--large .article-card-cover {
  aspect-ratio: 16 / 8;
}

.blog-page .article-card--large .article-card-index {
  font-size: 30px;
}

.blog-page .article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}

.blog-page .article-card-link svg {
  width: 13px;
  height: 13px;
  transition: transform .2s var(--ease);
}

.blog-page .article-card:hover h3 {
  color: var(--accent-2);
}

.blog-page .article-card:hover .article-card-link {
  color: var(--accent-2);
}

.blog-page .article-card:hover .article-card-link svg {
  transform: translateX(3px);
}

/* ── Empty state ─────────────────────────────────────────── */

.blog-empty {
  padding: 38px 24px;
  border: 1px dashed var(--border-med);
  border-radius: var(--r-lg);
  text-align: center;
}

.blog-empty h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -.02em;
}

.blog-empty p {
  max-width: 42ch;
  margin: 0 auto 17px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ── Pagination ──────────────────────────────────────────── */

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.blog-page-link {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  background-color: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

a.blog-page-link:hover {
  border-color: var(--border-med);
  color: var(--text-primary);
  background: var(--surface-2);
}

.blog-page-link.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.blog-page-link.is-disabled {
  opacity: .35;
}

.blog-page-dots {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ── CTA ─────────────────────────────────────────────────── */

.blog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(48px, 6vw, 78px);
  margin-bottom: clamp(48px, 6vw, 78px);
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--border-med);
  border-radius: var(--r-xl);
  background: var(--surface-1);
}

.blog-cta-copy {
  max-width: 620px;
}

.blog-cta-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-2);
  font-family: var(--font-pixel);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.blog-cta h2 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.blog-cta p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
}

.blog-cta-note {
  display: block;
  margin-top: 12px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-cta .btn-primary {
  flex: none;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1020px) {
  .blog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 15px;
  }

  .blog-search {
    width: 100%;
    max-width: none;
  }

  .blog-topics {
    justify-content: flex-start;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .blog-page .article-card,
  .blog-page .article-card--large,
  .blog-page .article-card--solo,
  .blog-grid--uniform > .article-card:last-child:nth-child(3n+1) {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .blog-page main {
    padding-top: 100px;
  }

  .blog-intro {
    padding-top: 24px;
  }

  .blog-title {
    font-size: clamp(35px, 11vw, 54px);
  }

  .blog-lead {
    max-width: 42ch;
    font-size: 15px;
  }

  .blog-page .blog-filter-btn {
    padding-inline: 10px;
    font-size: 11px;
  }

  .blog-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .blog-results {
    padding-bottom: 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-page .article-card h3,
  .blog-page .article-card--large h3 {
    font-size: 19px;
  }

  .blog-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page .article-card,
  .blog-page .article-card-cover img,
  .blog-page .article-card-link svg {
    transition: none;
  }

  .blog-page .article-card:hover {
    transform: none;
  }

  .blog-page .article-card:hover .article-card-cover img {
    transform: none;
  }
}
