/* ==========================================================================
   WhiteBox — main stylesheet
   Zero-build, vanilla CSS. Sections:
   1. Design tokens (:root)
   2. Reset & base
   3. Typography
   4. Layout (container, grid, sections)
   5. Components (buttons, cards, nav, forms, etc.)
   6. Patterns (hero, feature grid, pricing, FAQ, CTA, footer)
   7. Utilities
   8. Accessibility & motion
   ========================================================================== */

/* 1. DESIGN TOKENS ========================================================= */
:root {
  /* Brand palette */
  --wb-ink:        #0E1525;   /* near-black navy — headings / primary text */
  --wb-ink-soft:   #38415A;   /* body text */
  --wb-muted:      #5B6478;   /* secondary text */
  --wb-faint:      #5C6573;   /* captions, meta — AA contrast (5.9:1 on white) */

  --wb-primary:        #1F5EFF;   /* electric cobalt — brand + CTAs */
  --wb-primary-700:    #1746C2;
  --wb-primary-600:    #1A52E0;
  --wb-primary-050:    #EEF3FF;
  --wb-primary-100:    #DCE7FF;

  --wb-accent:     #FF6A3D;   /* coral — nods to original chevron, used sparingly */
  --wb-accent-700: #E5491D;

  --wb-success:    #12B886;   /* in-stock / positive */
  --wb-warning:    #F08C00;   /* low-stock */
  --wb-danger:     #E03131;   /* out-of-stock */

  /* Surfaces & lines */
  --wb-white:      #FFFFFF;
  --wb-surface:    #F6F8FC;   /* page tint / alt sections */
  --wb-surface-2:  #EEF2F8;
  --wb-ink-bg:     #0B1020;   /* dark sections / footer */
  --wb-ink-bg-2:   #131A2E;
  --wb-border:     #E5EAF2;
  --wb-border-strong: #D4DBE8;

  /* Typography */
  --wb-font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wb-font-display: "Plus Jakarta Sans", var(--wb-font-sans);

  --wb-fs-xs:   0.8125rem;  /* 13 */
  --wb-fs-sm:   0.9375rem;  /* 15 */
  --wb-fs-base: 1.0625rem;  /* 17 */
  --wb-fs-lg:   1.1875rem;  /* 19 */
  --wb-fs-xl:   1.375rem;   /* 22 */
  --wb-fs-2xl:  1.75rem;    /* 28 */
  --wb-fs-3xl:  2.25rem;    /* 36 */
  --wb-fs-4xl:  2.875rem;   /* 46 */
  --wb-fs-5xl:  3.5rem;     /* 56 */

  --wb-lh-tight: 1.1;
  --wb-lh-snug:  1.25;
  --wb-lh-body:  1.65;

  /* Spacing scale (4px base) */
  --wb-s1:  0.25rem;  --wb-s2: 0.5rem;  --wb-s3: 0.75rem; --wb-s4: 1rem;
  --wb-s5:  1.5rem;   --wb-s6: 2rem;    --wb-s7: 2.5rem;  --wb-s8: 3rem;
  --wb-s9:  4rem;     --wb-s10: 5rem;   --wb-s11: 6.5rem; --wb-s12: 8rem;

  /* Radius, shadow, ring */
  --wb-r-sm: 8px;  --wb-r: 12px;  --wb-r-lg: 18px;  --wb-r-xl: 26px; --wb-r-pill: 999px;
  --wb-shadow-sm:  0 1px 2px rgba(14,21,37,.06), 0 1px 3px rgba(14,21,37,.05);
  --wb-shadow:     0 4px 12px rgba(14,21,37,.07), 0 2px 6px rgba(14,21,37,.05);
  --wb-shadow-lg:  0 18px 48px rgba(14,21,37,.12), 0 6px 16px rgba(14,21,37,.07);
  --wb-shadow-primary: 0 12px 28px rgba(31,94,255,.30);
  --wb-ring: 0 0 0 4px var(--wb-primary-100);

  /* Layout */
  --wb-container: 1180px;
  --wb-container-narrow: 760px;
  --wb-gutter: clamp(1.25rem, 4vw, 3rem);
  --wb-section-y: clamp(3.5rem, 8vw, 7rem);
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--wb-font-sans);
  font-size: var(--wb-fs-base);
  line-height: var(--wb-lh-body);
  color: var(--wb-ink-soft);
  background: var(--wb-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { border-radius: inherit; }
a { color: var(--wb-primary); text-decoration: none; }
a:hover { color: var(--wb-primary-700); }
ul, ol { padding-left: 1.25rem; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--wb-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--wb-primary-100); color: var(--wb-ink); }

/* 3. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--wb-font-display);
  color: var(--wb-ink);
  line-height: var(--wb-lh-tight);
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, var(--wb-fs-5xl)); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--wb-fs-4xl)); }
h3 { font-size: var(--wb-fs-2xl); }
h4 { font-size: var(--wb-fs-xl); }
p { color: var(--wb-ink-soft); }
p + p { margin-top: var(--wb-s4); }
strong { color: var(--wb-ink); font-weight: 650; }
small { font-size: var(--wb-fs-sm); }
.eyebrow {
  font-family: var(--wb-font-display);
  font-size: var(--wb-fs-sm); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--wb-primary);
}
.lead { font-size: clamp(1.0625rem, 2.2vw, var(--wb-fs-xl)); color: var(--wb-muted); line-height: 1.6; }

/* 4. LAYOUT ================================================================ */
.container { width: 100%; max-width: var(--wb-container); margin-inline: auto; padding-inline: var(--wb-gutter); }
.container--narrow { max-width: var(--wb-container-narrow); }
.section { padding-block: var(--wb-section-y); }
.section--tint { background: var(--wb-surface); }
.section--ink { background: var(--wb-ink-bg); color: #C8D0E0; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: var(--wb-s8); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-top: var(--wb-s3); }
.section__head p { margin-top: var(--wb-s4); font-size: var(--wb-fs-lg); color: var(--wb-muted); }

.grid { display: grid; gap: var(--wb-s6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* 5. COMPONENTS ============================================================ */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--wb-font-display); font-weight: 650; font-size: var(--wb-fs-sm);
  line-height: 1; padding: .85rem 1.4rem; border-radius: var(--wb-r-pill);
  border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--wb-primary); color: #fff; box-shadow: var(--wb-shadow-primary); }
.btn--primary:hover { background: var(--wb-primary-700); color: #fff; }
.btn--ghost { background: var(--wb-white); color: var(--wb-ink); border-color: var(--wb-border-strong); }
.btn--ghost:hover { border-color: var(--wb-ink); color: var(--wb-ink); }
.btn--ink { background: var(--wb-ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: var(--wb-fs-base); }
.btn--block { width: 100%; }
.btn svg { width: 1.05em; height: 1.05em; }

/* Pills / badges */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--wb-fs-xs); font-weight: 600; padding: .35rem .75rem;
  border-radius: var(--wb-r-pill); background: var(--wb-primary-050); color: var(--wb-primary-700);
}
.badge--soft { background: var(--wb-surface-2); color: var(--wb-muted); }
.badge--accent { background: #FFF1EC; color: var(--wb-accent-700); }
.badge--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Cards */
.card {
  background: var(--wb-white); border: 1px solid var(--wb-border);
  border-radius: var(--wb-r-lg); padding: var(--wb-s6);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--wb-shadow-lg); border-color: transparent; }
.card__icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: var(--wb-s5);
  border-radius: var(--wb-r); background: var(--wb-primary-050); color: var(--wb-primary);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--wb-fs-xl); margin-bottom: var(--wb-s3); }
.card p { font-size: var(--wb-fs-sm); color: var(--wb-muted); }

/* Forms */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: var(--wb-s4); }
.field label { font-size: var(--wb-fs-sm); font-weight: 600; color: var(--wb-ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--wb-fs-sm); padding: .8rem 1rem; width: 100%;
  border: 1px solid var(--wb-border-strong); border-radius: var(--wb-r-sm); background: var(--wb-white);
  color: var(--wb-ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--wb-primary); box-shadow: var(--wb-ring);
}

/* 6. PATTERNS ============================================================== */
/* --- Site header --- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--wb-border);
}
.site-header__inner { display: flex; align-items: center; gap: var(--wb-s6); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--wb-font-display);
  font-weight: 800; font-size: 1.3rem; color: var(--wb-ink); letter-spacing: -0.02em; }
.brand:hover { color: var(--wb-ink); }
.brand__mark { width: 30px; height: 30px; }
.primary-nav { display: flex; align-items: center; gap: var(--wb-s5); margin-inline: auto; }
.primary-nav a { color: var(--wb-ink-soft); font-size: var(--wb-fs-sm); font-weight: 550; }
.primary-nav a:hover { color: var(--wb-primary); }
.header-actions { display: flex; align-items: center; gap: var(--wb-s3); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--wb-ink); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .primary-nav, .header-actions .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { justify-content: space-between; }
  .primary-nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--wb-s4);
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: var(--wb-s6) var(--wb-gutter);
    border-bottom: 1px solid var(--wb-border); box-shadow: var(--wb-shadow); margin: 0;
  }
}

/* --- Hero --- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% -5%, rgba(31,94,255,.10), transparent 70%),
    radial-gradient(45% 40% at 5% 0%, rgba(255,106,61,.08), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--wb-s9); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: var(--wb-s7); } }
.hero h1 { margin-top: var(--wb-s4); }
.hero .lead { margin-top: var(--wb-s5); max-width: 32ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--wb-s3); margin-top: var(--wb-s6); }
.hero__trust { margin-top: var(--wb-s6); font-size: var(--wb-fs-sm); color: var(--wb-faint); }
.hero__media img { border-radius: var(--wb-r-xl); box-shadow: var(--wb-shadow-lg); border: 1px solid var(--wb-border); }

/* --- Logo cloud --- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--wb-s8); }
.logos img, .logos span { height: 26px; filter: grayscale(1); color: var(--wb-faint); font-weight: 700; font-family: var(--wb-font-display); }

/* --- Feature alt rows --- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wb-s9); align-items: center; }
.feature-row + .feature-row { margin-top: var(--wb-s10); }
.feature-row:nth-child(even) .feature-row__media { order: -1; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; gap: var(--wb-s6); }
  .feature-row:nth-child(even) .feature-row__media { order: 0; } }
.feature-row__media img { border-radius: var(--wb-r-lg); box-shadow: var(--wb-shadow); border: 1px solid var(--wb-border); }
.feature-list { list-style: none; padding: 0; margin-top: var(--wb-s5); display: grid; gap: var(--wb-s3); }
.feature-list li { position: relative; padding-left: 1.9rem; color: var(--wb-ink-soft); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem;
  background: var(--wb-primary-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5EFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/0.8rem no-repeat;
  border-radius: 50%;
}

/* --- Stats band --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--wb-s6); text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num { font-family: var(--wb-font-display); font-weight: 800; font-size: var(--wb-fs-4xl); color: var(--wb-ink); letter-spacing: -0.03em; }
.section--ink .stat__num { color: #fff; }
.stat__label { font-size: var(--wb-fs-sm); color: var(--wb-muted); margin-top: var(--wb-s1); }
.section--ink .stat__label { color: #98A2BC; }

/* --- Pricing --- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wb-s6); align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wb-border);
  border-radius: var(--wb-r-lg); padding: var(--wb-s7); }
.plan--featured { border-color: var(--wb-primary); box-shadow: var(--wb-shadow-lg); position: relative; }
.plan--featured::after { content: "Most popular"; position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
  background: var(--wb-primary); color: #fff; font-size: var(--wb-fs-xs); font-weight: 600;
  padding: .3rem .8rem; border-radius: var(--wb-r-pill); }
.plan__name { font-family: var(--wb-font-display); font-weight: 700; font-size: var(--wb-fs-lg); color: var(--wb-ink); }
.plan__price { font-family: var(--wb-font-display); font-weight: 800; font-size: var(--wb-fs-4xl); color: var(--wb-ink); margin-block: var(--wb-s3); letter-spacing: -.03em; }
.plan__price span { font-size: var(--wb-fs-sm); font-weight: 500; color: var(--wb-muted); }
.plan__price-alt { font-size: var(--wb-fs-sm); color: var(--wb-faint); margin-top: -.35rem; margin-bottom: var(--wb-s2); }
.plan ul { list-style: none; padding: 0; margin: var(--wb-s5) 0; display: grid; gap: var(--wb-s3); }
.plan li { position: relative; padding-left: 1.6rem; font-size: var(--wb-fs-sm); color: var(--wb-ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--wb-success); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* --- FAQ --- */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--wb-border); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: var(--wb-s5) 0;
  font-family: var(--wb-font-display); font-weight: 650; font-size: var(--wb-fs-lg); color: var(--wb-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q svg { width: 22px; height: 22px; color: var(--wb-primary); transition: transform .2s ease; flex: none; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a-inner { padding-bottom: var(--wb-s5); color: var(--wb-muted); }

/* --- CTA band --- */
.cta-band { background: linear-gradient(120deg, var(--wb-primary) 0%, #3D74FF 55%, #6A5BFF 100%);
  border-radius: var(--wb-r-xl); padding: clamp(2.5rem,5vw,4rem); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 48ch; margin-inline: auto; margin-top: var(--wb-s4); }
.cta-band .hero__cta { justify-content: center; }
.cta-band .btn--primary { background: #fff; color: var(--wb-primary-700); box-shadow: none; }
.cta-band .btn--primary:hover { background: #F0F4FF; color: var(--wb-primary-700); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }

/* --- Testimonial --- */
.quote { max-width: 820px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--wb-font-display); font-weight: 600; font-size: clamp(1.3rem,3vw,var(--wb-fs-2xl));
  line-height: 1.4; color: var(--wb-ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: var(--wb-s5); font-size: var(--wb-fs-sm); color: var(--wb-muted); }
.quote cite { color: var(--wb-ink); font-style: normal; font-weight: 600; }

/* --- Blog cards --- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wb-border);
  border-radius: var(--wb-r-lg); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--wb-shadow-lg); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--wb-surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--wb-s5); display: flex; flex-direction: column; gap: var(--wb-s3); flex: 1; }
.post-card__meta { font-size: var(--wb-fs-xs); color: var(--wb-faint); display: flex; gap: .6rem; align-items: center; }
.post-card h3 { font-size: var(--wb-fs-lg); }
.post-card h3 a { color: var(--wb-ink); }
.post-card h3 a:hover { color: var(--wb-primary); }

/* --- Article (single) --- */
.article { max-width: var(--wb-container-narrow); margin-inline: auto; }
.article__header { text-align: center; margin-bottom: var(--wb-s8); }
.article__meta { font-size: var(--wb-fs-sm); color: var(--wb-faint); margin-top: var(--wb-s4); }
.prose { font-size: var(--wb-fs-lg); line-height: var(--wb-lh-body); color: var(--wb-ink-soft); }
.prose > * + * { margin-top: var(--wb-s5); }
.prose h2 { font-size: var(--wb-fs-2xl); margin-top: var(--wb-s8); }
.prose h3 { font-size: var(--wb-fs-xl); margin-top: var(--wb-s7); }
.prose img, .prose figure { border-radius: var(--wb-r); margin-block: var(--wb-s6); }
.prose blockquote { border-left: 3px solid var(--wb-primary); padding-left: var(--wb-s5); color: var(--wb-muted); font-style: italic; }
.prose code { background: var(--wb-surface-2); padding: .15em .4em; border-radius: 5px; font-size: .9em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
/* Comparison tables (used in vs / alternatives articles) */
.prose table { width: 100%; border-collapse: collapse; font-size: var(--wb-fs-sm); margin-block: var(--wb-s6);
  border: 1px solid var(--wb-border); border-radius: var(--wb-r); overflow: hidden; }
.prose thead th { background: var(--wb-surface); color: var(--wb-ink); text-align: left; font-family: var(--wb-font-display); }
.prose th, .prose td { padding: .8rem 1rem; border-bottom: 1px solid var(--wb-border); vertical-align: top; text-align: left; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: rgba(246,248,252,.6); }
.prose td:first-child, .prose th:first-child { border-right: 1px solid var(--wb-border); }
@media (max-width: 600px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; } }

/* --- Breadcrumbs --- */
.breadcrumbs { font-size: var(--wb-fs-sm); color: var(--wb-faint); padding-block: var(--wb-s5) 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; }
.breadcrumbs li::after { content: "/"; margin-left: .5rem; color: var(--wb-border-strong); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--wb-muted); }

/* --- Site footer --- */
.site-footer { background: var(--wb-ink-bg); color: #98A2BC; padding-block: var(--wb-s10) var(--wb-s7); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--wb-s7); }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--wb-s6); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h2 { color: #fff; font-size: var(--wb-fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--wb-s4); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--wb-s3); }
.site-footer a { color: #98A2BC; font-size: var(--wb-fs-sm); }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { margin-top: var(--wb-s8); padding-top: var(--wb-s5); border-top: 1px solid var(--wb-ink-bg-2);
  display: flex; flex-wrap: wrap; gap: var(--wb-s4); justify-content: space-between; font-size: var(--wb-fs-xs); color: #98A2BC; }

/* 7. UTILITIES ============================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--wb-s4); } .mt-6 { margin-top: var(--wb-s6); } .mt-8 { margin-top: var(--wb-s8); }
.mx-auto { margin-inline: auto; }
.maxw-narrow { max-width: var(--wb-container-narrow); }
.flex { display: flex; } .items-center { align-items: center; } .gap-3 { gap: var(--wb-s3); } .gap-4 { gap: var(--wb-s4); }
.flex-wrap { flex-wrap: wrap; }
.hide-mobile { } @media (max-width: 640px) { .hide-mobile { display: none; } }

.wb-inline-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; color: var(--wb-primary); }
.wb-feature-img { border-radius: var(--wb-r-lg); border: 1px solid var(--wb-border); box-shadow: var(--wb-shadow); }

/* Pagination */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem;
  border: 1px solid var(--wb-border); border-radius: var(--wb-r-sm); color: var(--wb-ink-soft); font-size: var(--wb-fs-sm); font-weight: 600; }
.pagination .page-numbers.current { background: var(--wb-primary); color: #fff; border-color: var(--wb-primary); }
.pagination a.page-numbers:hover { border-color: var(--wb-primary); color: var(--wb-primary); }

/* Image placeholder (shown until real imagery is fetched) */
.wb-placeholder {
  display: grid; place-items: center; width: 100%;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(31,94,255,.12), transparent 55%),
    linear-gradient(135deg, #EEF3FF, #F6F8FC 60%, #FFF1EC);
  border: 1px solid var(--wb-border); border-radius: inherit;
}
.wb-placeholder svg { width: 72px; height: 72px; opacity: .55; }
.hero__media .wb-placeholder { border-radius: var(--wb-r-xl); box-shadow: var(--wb-shadow-lg); }
.feature-row__media .wb-placeholder { border-radius: var(--wb-r-lg); }

/* 8. ACCESSIBILITY & MOTION ================================================ */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--wb-ink); color: #fff; padding: .75rem 1rem; z-index: 100; border-radius: 0 0 var(--wb-r-sm) 0; }
.skip-link:focus { left: 0; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
