/* =========================================================================
   iMember360 — modern static rebuild
   Single stylesheet. Modern redesign that takes brand cues from the live
   imember360.com (Keap-green #109d44, Roboto Condensed display, illustrated
   cards, skewed CTA buttons, 3-column dark footer) and reinterprets them
   with cleaner typography, more whitespace, refined elevation, and
   smoother motion.
   ========================================================================= */

/* ---------------------------------------------------------------- 1. Reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}
body { margin: 0; min-height: 100vh; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }

/* ---------------------------------------------------------- 2. Design tokens */
:root {
  /* Brand */
  --c-primary:        #109d44;
  --c-primary-600:    #0e8a3d;
  --c-primary-700:    #0b7432;
  --c-primary-100:    #d6f5e1;
  --c-primary-050:    #ecfaf2;

  /* Neutrals */
  --c-ink-900:        #0a0f0c;
  --c-ink-800:        #14201a;
  --c-ink-700:        #2a3530;
  --c-ink-500:        #56615b;
  --c-ink-400:        #7a847e;
  --c-ink-300:        #a3aaa6;
  --c-ink-200:        #d3d8d5;
  --c-ink-100:        #ebeeec;
  --c-bg:             #ffffff;
  --c-surface:        #ecefed;
  --c-surface-soft:   #f4f6f5;

  /* Semantic */
  --c-text:           var(--c-ink-800);
  --c-muted:          var(--c-ink-500);
  --c-border:         var(--c-ink-100);
  --c-border-strong:  var(--c-ink-200);

  /* Type */
  --f-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-display: 'Roboto Condensed', system-ui, sans-serif;

  /* Layout */
  --container: 132rem;
  --container-narrow: 90rem;
  --gutter: clamp(2rem, 4vw, 4rem);
  --header-h: 8rem;

  /* Spacing scale (8px-based, fluid) */
  --s-1:  0.4rem;
  --s-2:  0.8rem;
  --s-3:  1.2rem;
  --s-4:  1.6rem;
  --s-5:  2.4rem;
  --s-6:  3.2rem;
  --s-7:  4.8rem;
  --s-8:  6.4rem;
  --s-9:  9.6rem;
  --s-10: 12.8rem;

  /* Radius */
  --r-sm: 0.6rem;
  --r-md: 1.2rem;
  --r-lg: 2rem;
  --r-pill: 999px;

  /* Elevation */
  --e-1: 0 1px 2px rgba(10, 15, 12, 0.04), 0 2px 8px rgba(10, 15, 12, 0.04);
  --e-2: 0 2px 4px rgba(10, 15, 12, 0.05), 0 12px 32px rgba(10, 15, 12, 0.07);
  --e-3: 0 4px 12px rgba(10, 15, 12, 0.08), 0 24px 56px rgba(10, 15, 12, 0.12);
  --e-cta: 6px 6px 0 var(--c-primary);
  --e-cta-hover: 10px 10px 0 var(--c-ink-700);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* -------------------------------------------------------------- 3. Typography */
body {
  font-family: var(--f-sans);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 var(--s-4);
  color: var(--c-ink-900);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(3.6rem, 4.6vw + 1rem, 7.2rem); text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.8rem, 2.4vw + 1rem, 4.8rem); text-transform: uppercase; }
h3 { font-size: clamp(2rem, 1vw + 1.4rem, 2.8rem); }
h4 { font-size: 2rem; }
p  { margin: 0 0 var(--s-4); }
strong { font-weight: 600; }
small { font-size: 0.875em; }
a:not([class]) {
  color: var(--c-primary-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s var(--ease);
}
a:not([class]):hover { color: var(--c-primary); }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--c-primary-100); color: var(--c-ink-900); }

/* Brand mark — preserve "iMEMBER360" exact casing even inside elements that
   apply text-transform: uppercase (headings, eyebrows, buttons, etc). */
.brand {
  text-transform: none;
  font-feature-settings: inherit;
  letter-spacing: inherit;
}

/* ------------------------------------------------------- 4. Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(6rem, 8vw, 12rem); }
.section--surface { background: var(--c-surface); }
.section--soft { background: var(--c-surface); }
.section--dark { background: var(--c-ink-900); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  text-align: center;
  margin: 0 auto var(--s-7);
}
/* h2 spans the available container width so long titles like
   "Unlimited Membership Use Cases" stay on one line on desktop */
.section-head h2 { max-width: none; }
.section-head .lede { max-width: 64ch; margin-inline: auto; }
.section-cta {
  text-align: center;
  margin-top: var(--s-7);
}
.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 0.4rem 1rem;
  border: 1px solid var(--c-primary-100);
  background: var(--c-primary-050);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
}
.lede {
  font-size: clamp(1.7rem, 0.4vw + 1.6rem, 2rem);
  line-height: 1.55;
  color: var(--c-muted);
  max-width: 64ch;
}
.section-head .lede { margin-inline: auto; }
.text-center { text-align: center; }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* -------------------------------------------------------------- 5. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  /* Backdrop-filter switches via class toggle and gets a gentle fade.
     Background-color/border on .is-home is scroll-driven (see --hdr-fade)
     so it tracks scroll exactly — no time-based delay. */
  transition:
    backdrop-filter 0.6s var(--ease),
    -webkit-backdrop-filter 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
  will-change: background-color, backdrop-filter;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: var(--header-h);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
}
.site-header__logo img {
  height: 4rem;
  width: auto;
}
.site-header__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.login-link {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--c-ink-700);
  transition: color 0.18s var(--ease);
}
.login-link:hover { color: var(--c-primary); }

.nav-toggle {
  display: none;
  width: 4.4rem;
  height: 4.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink-800);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.15s ease;
}
.nav-toggle__bars::before { transform: translateY(-7px); }
.nav-toggle__bars::after  { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-2px) rotate(-45deg); }

/* On homepage, the header is fixed over the hero from the start. The
   appearance is driven by a single CSS variable --hdr-fade (0 → 1) that
   JS updates per scroll frame, so the background fades in pixel-by-pixel
   exactly as the user scrolls. No threshold snap, no time lag. */
.is-home .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  --hdr-fade: 0;
  background-color: rgba(20, 32, 26, calc(0.86 * var(--hdr-fade)));
  border-bottom-color: rgba(255, 255, 255, calc(0.10 * var(--hdr-fade)));
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, calc(0.45 * var(--hdr-fade)));
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}
/* Backdrop-filter (blur+saturate) fades in via class toggle once the user
   has actually started scrolling — it's expensive to interpolate per frame */
.is-home .site-header.is-scrolled {
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.is-home .site-header,
.is-home .primary-nav__list > li > a,
.is-home .primary-nav__list > li > button,
.is-home .login-link { color: #fff; }
.is-home .primary-nav__list > li > a:hover,
.is-home .primary-nav__list > li > button:hover,
.is-home .login-link:hover { color: var(--c-primary-100); }
.is-home .nav-toggle { border-color: rgba(255, 255, 255, 0.4); }
.is-home .nav-toggle__bars,
.is-home .nav-toggle__bars::before,
.is-home .nav-toggle__bars::after { background: #fff; }

/* Logo: source PNG has gray "iMember" + green "360". On dark backgrounds the
   gray disappears, so brighten the gray-channel to white while keeping the
   green tones via a hue-rotate trick. brightness(0)+invert(1) flattens
   everything to pure white — cleanest readable result on dark photos. */
.is-home .site-header__logo img {
  filter: brightness(0) invert(1);
}
.site-footer .footer-brand img {
  filter: brightness(0) invert(1);
}

/* ---------------------------------------------------------------- 6. Nav */
.primary-nav { flex: 1 1 auto; }
.primary-nav__list {
  display: flex;
  align-items: center;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1.45rem;
}
.primary-nav__list > li > a,
.primary-nav__list > li > button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  color: var(--c-ink-700);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.primary-nav__list > li > a:hover,
.primary-nav__list > li > button:hover { color: var(--c-primary); }
.primary-nav__list > li > a[aria-current="page"] { color: var(--c-primary); }

.has-dropdown { position: relative; }
.has-dropdown__toggle::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  transition: transform 0.2s var(--ease);
}
.has-dropdown.is-open .has-dropdown__toggle::after { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 22rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--e-2);
  padding: var(--s-2) 0;
  display: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.has-dropdown.is-open .dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 1rem 1.6rem;
  color: var(--c-ink-700);
  font-weight: 500;
  text-decoration: none;
}
.dropdown li a:hover { background: var(--c-surface); color: var(--c-primary); }

/* -------------------------------------------------------------- 7. Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 80vh, 880px);
  padding-top: calc(var(--header-h) + var(--s-7));
  padding-bottom: var(--s-9);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(16, 157, 68, 0.28), transparent 60%),
    linear-gradient(95deg, rgba(10, 15, 12, 0.72) 0%, rgba(10, 15, 12, 0.55) 45%, rgba(10, 15, 12, 0.20) 75%, rgba(10, 15, 12, 0.05) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: center;
  width: 100%;
}
.hero__copy { max-width: 64rem; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__eyebrow::before {
  content: '';
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 12px var(--c-primary);
}
.hero__title {
  font-size: clamp(4rem, 5.5vw, 8rem);
  line-height: 1.02;
  color: #fff;
  margin-bottom: var(--s-5);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__title .accent { color: var(--c-primary-100); }
.hero__sub {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 1vw + 1.4rem, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-primary-100);
  margin: 0 0 var(--s-5);
}
.hero__lede {
  font-size: clamp(1.7rem, 0.4vw + 1.6rem, 2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
  margin: 0 0 var(--s-6);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero__visual img {
  width: 100%;
  height: auto;
  max-width: 56rem;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* -------------------------------------------------------------- 8. Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 2.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-primary-600);
}
.btn--secondary {
  background: transparent;
  color: var(--c-ink-900);
  border: 1.5px solid var(--c-ink-900);
}
.btn--secondary:hover { border-color: var(--c-primary); color: var(--c-primary); }
.hero .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn--secondary:hover {
  color: var(--c-primary-100);
  border-color: var(--c-primary-100);
}
.btn .icon-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* -------------------------------------------------------------- 9. Cards */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary-100);
  box-shadow: var(--e-2);
}

/* Illustrated card (image-on-top with title — used in core features + use cases) */
.illust-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}
/* --3 uses an implicit 6-column track so each card can span 2 cells.
 * That sub-cell granularity lets us centre underfilled trailing rows:
 *   1 trailing → start at cell 3 (offset by one card-width)
 *   2 trailing → first starts at cell 2 (offset by half a card-width) */
.illust-grid--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.illust-grid--3 > .illust-card { grid-column: span 2; }
.illust-grid--3 > .illust-card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.illust-grid--3 > .illust-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
.illust-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.illust-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.illust-card {
  display: flex;
}
.illust-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-4);
  padding: 0 0 var(--s-5);
  width: 100%;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--c-ink-900);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.illust-card a:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: var(--e-2);
}
.illust-card .illust-card__art {
  width: 100%;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-050);
  padding: var(--s-4);
  transition: background 0.25s var(--ease);
}
.illust-card a:hover .illust-card__art { background: var(--c-primary-100); }
.illust-card img {
  width: auto;
  height: auto;
  max-width: 14rem;
  max-height: 14rem;
  object-fit: contain;
}
/* The WP wordmark is a square 1000×1000 fill while the other 3rd-party logos
 * are 400×160 landscape strips — at 100% it visually dominates. Scale down so
 * its optical weight matches the rest of the integrations grid. */
.illust-card img[src$="logo_wordpress.png"] { max-width: 8rem; max-height: 8rem; }
.illust-card h3 {
  font-size: 1.7rem;
  margin: 0;
  padding: 0 var(--s-5);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-ink-900);
  transition: color 0.2s var(--ease);
}
.illust-card a:hover h3 { color: var(--c-primary); }
.illust-card a > p {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--c-ink-700);
  margin: 0;
  padding: 0 var(--s-5);
  max-width: 42ch;
}
.illust-card__art--glyph {
  font-size: 7rem;
  line-height: 1;
  color: var(--c-primary);
}
.illust-card__art--glyph i { display: inline-block; line-height: 1; }

/* Generic feature card (title + body text) */
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 0.25s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-primary-100);
  box-shadow: var(--e-2);
}
.feature-card h3 { margin: 0; color: var(--c-ink-900); }
.feature-card h3 a { color: inherit; }
.feature-card h3 a:hover { color: var(--c-primary); }
.feature-card p { color: var(--c-muted); margin: 0; }
.feature-card p:last-child { margin-top: auto; }

/* Whole-card link variant (e.g. homepage support tiles) */
a.feature-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.feature-card--link:hover { border-color: var(--c-primary); }
a.feature-card--link:hover h3 { color: var(--c-primary); }
.feature-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--c-primary-700);
  transition: color 0.2s var(--ease);
}
a.feature-card--link:hover .feature-card__more { color: var(--c-primary); }
a.feature-card--link:hover .feature-card__more .icon-arrow { transform: translateX(3px); }
.feature-card__more .icon-arrow { transition: transform 0.2s var(--ease); }

/* ----------------------------------------------------- 10. Boost / counters (mirrors imember360.com "content-21") */
.boost {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  align-items: stretch;
}
.boost__left {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-4);
  align-items: stretch;
}
.boost__counters {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-width: 0;
}
.boost__counter {
  flex: 1 1 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2);
  color: #fff;
  overflow: hidden;
}
.boost__counter--primary { background: var(--c-primary); }
.boost__counter--neutral { background: #5a5a5a; }
.boost__counter-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 2.6vw + 1rem, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}
.boost__counter-prefix { color: #fff; }
.boost__counter-label {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.35;
}
.boost__visual {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.boost__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.boost__info {
  background: var(--c-surface-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(var(--s-5), 3vw, var(--s-7));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.boost__heading {
  margin: 0 0 var(--s-3);
}
.boost__accent {
  margin: 0 0 var(--s-4);
  font-size: clamp(1.8rem, 0.6vw + 1.4rem, 2.2rem);
  color: var(--c-muted);
  line-height: 1.35;
}
.boost__desc {
  margin: 0 0 var(--s-5);
  font-size: 1.7rem;
  color: var(--c-ink-700);
  line-height: 1.6;
}
.boost__cta { margin: 0; }

/* Integrations cluster (standalone section) — 15 logos in symmetric 5×3 grid */
.integrations {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s-4);
  max-width: 110rem;
  margin: 0 auto;
}
.integration {
  aspect-ratio: 1 / 1;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-3);
}
.integration img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* --------------------------------------------- 11. CTA banner / dark band */
.cta-band {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--c-ink-900), var(--c-ink-800));
  color: #fff;
  padding-block: clamp(7rem, 10vw, 12rem);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 25rem at 80% 30%, rgba(16, 157, 68, 0.22), transparent 70%),
    radial-gradient(40rem 25rem at 20% 80%, rgba(16, 157, 68, 0.12), transparent 70%);
}
.cta-band h2 { color: #fff; max-width: 60rem; margin-inline: auto; }
.cta-band .lede { color: rgba(255, 255, 255, 0.78); max-width: 70ch; margin: 0 auto var(--s-6); }

/* ---------------------------------------------------------- 12. Support (icons + map) — mirrors imember360.com */
.support-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  margin: 0 0 var(--s-6);
  padding: 0;
  list-style: none;
}
.support-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
}
.support-icon__glyph {
  width: 6.4rem;
  height: 6.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}
.support-icon__glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.support-icon__label {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--c-ink-900);
}
.support-map-figure {
  margin: 0 0 var(--s-6);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
}
.support-map-figure img {
  width: auto;
  height: auto;
  max-width: 75%;
  max-height: 100%;
  display: block;
}
.support-cta {
  text-align: center;
  margin: 0;
}

/* ---------------------------------------------------------- 13. Footer */
.site-footer {
  background: var(--c-ink-900);
  color: var(--c-ink-300);
  padding-block: clamp(6rem, 8vw, 10rem) var(--s-5);
}
.site-footer a { color: var(--c-ink-200); text-decoration: none; transition: color 0.18s var(--ease); }
.site-footer a:hover { color: var(--c-primary-100); }
.site-footer h4 {
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 var(--s-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(3rem, 5vw, 6rem);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img { height: 4.4rem; margin-bottom: var(--s-4); }
.footer-brand p { color: var(--c-ink-300); max-width: 38ch; }
.footer-grid ul li + li { margin-top: 0.8rem; }
.footer-social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.footer-social a {
  width: 4rem;
  height: 4rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.footer-social a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.footer-social svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-5);
  font-size: 1.3rem;
  color: var(--c-ink-400);
}
.footer-bottom ul { display: flex; gap: var(--s-5); flex-wrap: wrap; }

.footer-cta {
  background: linear-gradient(135deg, var(--c-ink-800) 0%, var(--c-ink-900) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: clamp(3rem, 5vw, 6rem);
  text-align: center;
  margin-bottom: var(--s-7);
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(30rem 20rem at 100% 0%, rgba(16, 157, 68, 0.18), transparent 70%);
  pointer-events: none;
}
.footer-cta h2 { color: #fff; margin-bottom: var(--s-3); }
.footer-cta p { color: var(--c-ink-300); max-width: 60ch; margin: 0 auto var(--s-5); }

/* ---------------------------------------------------------- 14. Page header */
.page-header {
  padding-block: clamp(5rem, 7vw, 9rem);
  text-align: center;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.page-header h1 { margin: 0 0 var(--s-4); }
.page-header p { color: var(--c-muted); max-width: 70ch; margin: 0 auto; font-size: 1.7rem; }
.page-header .subpage__meta { justify-content: center; margin: var(--s-4) 0 0; }
.page-header .breadcrumbs { justify-content: center; margin: var(--s-5) 0 0; }

.breadcrumbs {
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--c-muted);
  margin-bottom: var(--s-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.breadcrumbs a { color: var(--c-primary-700); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumbs span + span::before { content: '/'; padding-right: 0.5rem; color: var(--c-ink-300); }

/* ---------------------------------------------------------- 15. Prose */
.prose { max-width: 78rem; margin-inline: auto; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-5); }
.prose ul:not([class]), .prose ol:not([class]) {
  padding-left: var(--s-5);
  margin: 0 0 var(--s-5);
}
.prose ul:not([class]) { list-style: disc; }
.prose ol:not([class]) { list-style: decimal; }
.prose li + li { margin-top: 0.4rem; }
.prose code {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 0.1em 0.5em;
  border-radius: var(--r-sm);
  font-size: 0.92em;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 var(--s-5);
  font-size: 1.45rem;
}
.prose th,
.prose td {
  min-width: 16rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--c-surface);
  color: var(--c-ink-900);
  font-weight: 700;
}
.prose td { color: var(--c-ink-700); }
.prose td code { white-space: nowrap; }

/* ---------------------------------------------------------- 16. Callout */
.callout {
  background: var(--c-primary-050);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: var(--s-5);
  margin-block: var(--s-6);
}
.callout p:last-child { margin-bottom: 0; }
.callout--notice {
  background: #fff8e6;
  border-left-color: #f0a500;
}

/* ---------------------------------------------------------- 17. FAQ */
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-3);
  background: var(--c-bg);
  transition: border-color 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--c-primary-100); }
.faq-item h3 { font-size: 2rem; margin: 0 0 var(--s-2); color: var(--c-ink-900); }
.faq-item p:last-child { margin-bottom: 0; color: var(--c-muted); }

/* ---------------------------------------------------------- 18. Tag chip */
.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--c-primary-050);
  color: var(--c-primary-700);
  border: 1px solid var(--c-primary-100);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--r-pill);
}

/* ---------------------------------------------------------- 19. /updates/ */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34rem, 1fr));
  gap: var(--s-5);
}
.update-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.update-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary-100);
  box-shadow: var(--e-2);
}
.update-card__body {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.update-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 1.35rem;
  color: var(--c-muted);
}
.update-card h3 {
  font-family: var(--f-display);
  font-size: 2.2rem;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.update-card__excerpt { color: var(--c-muted); margin: 0; flex: 1; }
.update-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--c-primary-700);
  transition: color 0.2s var(--ease);
}

/* Whole-card link variant */
a.update-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.update-card--link:hover { border-color: var(--c-primary); }
a.update-card--link:hover h3 { color: var(--c-primary); }
a.update-card--link:hover .update-card__more { color: var(--c-primary); }

/* ---------------------------------------------- 20. Sub-page sidebar layout */
.subpage { padding: clamp(4rem, 6vw, 8rem) 0; background: var(--c-surface); }
.subpage__layout {
  display: grid;
  grid-template-columns: 28rem minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
}
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--s-4));
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.sidebar__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 var(--s-3);
  color: var(--c-primary-700);
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--c-primary);
}
.sidebar__list { display: grid; gap: 0.2rem; }
.sidebar__list a {
  display: block;
  padding: 0.6rem 0.8rem;
  font-size: 1.45rem;
  color: var(--c-ink-700);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.sidebar__list a:hover { background: var(--c-bg); color: var(--c-primary-700); }
.sidebar__list a.is-active {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
}
.subpage__main {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-5) clamp(3rem, 5vw, 5rem);
}
.subpage__main--flush {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.subpage__header h1 {
  font-size: clamp(2.6rem, 3vw + 1rem, 4.4rem);
  margin: var(--s-3) 0 var(--s-5);
  color: var(--c-ink-900);
}
.subpage__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  font-size: 1.4rem;
  color: var(--c-muted);
  margin-bottom: var(--s-3);
}
.subpage__body { max-width: none; }
.subpage__body h2 { margin-top: var(--s-6); font-size: 2.2rem; }
.subpage__body h3 { margin-top: var(--s-5); font-size: 1.9rem; }
.subpage__body p { color: var(--c-ink-700); }
.subpage__body ul, .subpage__body ol { padding-left: var(--s-5); margin-bottom: var(--s-4); }
.subpage__body ul { list-style: disc; }
.subpage__body ol { list-style: decimal; }
.subpage__footer {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--c-primary-700);
}
.back-link:hover { color: var(--c-primary); }

/* External documentation CTA at the bottom of the sticky sidebar on integration / feature sub-pages */
.sidebar__doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  width: 100%;
}
.sidebar__doc-link:hover { color: var(--c-primary-700); }
.subpage__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

/* ---------------------------------------------------------- 21. Pricing */
.billing-toggle {
  display: flex;
  gap: 0.4rem;
  padding: 0.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  width: max-content;
  margin: 0 auto var(--s-7);
}
.billing-toggle__btn {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 0;
  background: transparent;
  color: var(--c-ink-700);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.billing-toggle__btn:hover { color: var(--c-ink-900); }
.billing-toggle__btn.is-active {
  background: var(--c-primary);
  color: #fff;
}

.pricing-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform 0.25s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary-100);
  box-shadow: var(--e-2);
}
.pricing-card--featured {
  border-color: var(--c-primary);
  box-shadow: var(--e-2);
}
.pricing-card--featured:hover {
  border-color: var(--c-primary);
  box-shadow: var(--e-3);
}
.pricing-card__badge {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: var(--r-pill);
}
.pricing-card__head { display: flex; flex-direction: column; gap: var(--s-2); }
.pricing-card__name {
  font-size: 2.4rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-ink-900);
}
.pricing-card__tagline { color: var(--c-muted); margin: 0; font-size: 1.5rem; }
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: var(--s-3);
  border-block: 1px solid var(--c-border);
}
.pricing-card__amount {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1;
  color: var(--c-ink-900);
}
.pricing-card__period { color: var(--c-muted); font-size: 1.5rem; }
.pricing-card__save {
  margin: 0 0 0 auto;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-primary-700);
  background: var(--c-primary-100);
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.pricing-card__features li {
  position: relative;
  padding-left: 2.4rem;
  color: var(--c-ink-700);
  font-size: 1.55rem;
}
.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--c-primary-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23109d44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card__cta { margin-top: auto; justify-content: center; }

/* ---------------------------------------------------------- 22. Responsive */
@media (max-width: 1024px) {
  :root { --header-h: 7rem; }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* tablet: 2 cards per row → 4 implicit cells, each card spans 2 */
  .illust-grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .illust-grid--3 > .illust-card { grid-column: span 2; }
  /* override desktop centring rules so they don't fire on full tablet rows */
  .illust-grid--3 > .illust-card:last-child:nth-child(3n+1),
  .illust-grid--3 > .illust-card:nth-last-child(2):nth-child(3n+1) { grid-column: span 2; }
  /* tablet centring: 1 trailing card in a 2-col layout → start at cell 2 */
  .illust-grid--3 > .illust-card:last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
  .illust-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .illust-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* 15 integration logos: tablet → 3×5 (still symmetric) */
  .integrations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .boost {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .boost__left { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .support-icons { gap: var(--s-4); }
  .support-icon__glyph { width: 5.6rem; height: 5.6rem; }
  .subpage__layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .pricing-card--featured { order: -1; }
}

@media (max-width: 767px) {
  :root { --header-h: 6.4rem; --gutter: 2rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .illust-grid--4, .illust-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* phone: keep --3 at 2 cards per row using the 4-cell track + centring rule from the tablet block above */
  .illust-grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .boost__left { grid-template-columns: 1fr; gap: var(--s-4); }
  .boost__counters { flex-direction: row; gap: var(--s-4); }
  .boost__counter { aspect-ratio: 1 / 1; padding: var(--s-4); }
  .boost__counter-num { font-size: 3.2rem; }
  .boost__visual { aspect-ratio: 4 / 3; }
  .boost__visual img { height: auto; max-height: 100%; }
  .support-icons { grid-template-columns: 1fr; gap: var(--s-5); }
  /* 15 integration logos on phone: 3×5 keeps symmetry; logos are small icons */
  .integrations { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s-3); }

  .nav-toggle { display: inline-flex; order: 3; }
  .login-link { display: none; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--s-5) var(--gutter);
    transform: translateX(100%);
    transition: transform 0.25s var(--ease);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    font-size: 1.7rem;
    gap: 0.4rem;
  }
  .primary-nav__list > li > a,
  .primary-nav__list > li > button {
    padding: 1.2rem 0.4rem;
    width: 100%;
    color: var(--c-ink-800);
  }
  .has-dropdown__toggle::after { display: none; }
  .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 var(--s-5);
    min-width: 0;
    background: transparent;
    opacity: 1;
    transform: none;
  }
  .dropdown li a { padding: 0.8rem 0.4rem; color: var(--c-muted); }

  .is-home .primary-nav.is-open { background: rgba(255, 255, 255, 0.98); }
  .is-home .primary-nav.is-open .primary-nav__list > li > a,
  .is-home .primary-nav.is-open .primary-nav__list > li > button { color: var(--c-ink-800); }

  .article__body { font-size: 1.7rem; }
  .updates-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: var(--s-6); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
