/* ============================================================================
   PRAVAHA — FITCO Design System v4
   The one and only design system for fitcoindia.com
   Version 4.0.0 | 2026-06-10
   Replaces: fds-v3.css, fitco-unified-design-system.css, and every
   per-page token vocabulary. All color truth lives HERE and only here.

   DESIGN LANGUAGE
   "Pravaha" (प्रवाह) — flow. Calm, light, inevitable. The site should feel
   like a well-run laboratory: bright, ordered, quietly expensive.

   - Deep Trust Blue ........ authority, engineering rigor (North, water)
   - Prosperity Green ....... growth, commerce (used for success & progress)
   - Auspicious Gold ........ Lakshmi accent — earned, never decorative noise
   - Warm Sandstone ......... earth & paper, replaces every cold grey
   - Saffron ................ rare energy. One per viewport, at most.
   - Light only. No dark mode. No pure black, no pure grey, ever.

   HARD RULES
   1. No hex codes outside this file. Pages consume var(--p-*).
   2. Type: Manrope (display) + Inter (text). Weights 400/600/700/800 only.
   3. Radii: 4 / 8 / 14 px. Shadows: the three tokens below. Nothing else.
   4. Breakpoints: 560 / 900 / 1180 px.
   5. New pages scope under .p-page; Knowledge Centre content under .fud-v1
      (legacy class API, restyled here — markup unchanged).
   ============================================================================ */

/* ════════════════════════ 01 · TOKENS ════════════════════════ */
:root {
  /* Deep Trust Blue */
  --p-blue-50:  #F2F7FB;
  --p-blue-100: #E1EDF5;
  --p-blue-200: #C3DBEA;
  --p-blue-300: #97C0DA;
  --p-blue-400: #62A0C4;
  --p-blue-500: #3B82AC;
  --p-blue-600: #266992;
  --p-blue-700: #1D5578;
  --p-blue-800: #16435E;
  --p-blue-900: #123349;

  /* Prosperity Green */
  --p-green-50:  #F0F9F4;
  --p-green-100: #DCF2E5;
  --p-green-200: #B5E3C9;
  --p-green-300: #82CDA4;
  --p-green-400: #4FB07D;
  --p-green-500: #2E9560;
  --p-green-600: #1F7D4E;
  --p-green-700: #196740;
  --p-green-800: #155434;
  --p-green-900: #104227;

  /* Auspicious Gold */
  --p-gold-50:  #FBF7EE;
  --p-gold-100: #F6EDD8;
  --p-gold-200: #EDDBB0;
  --p-gold-300: #DFC07C;
  --p-gold-400: #CFA452;
  --p-gold-500: #BC8A33;
  --p-gold-600: #9F7226;
  --p-gold-700: #835D1F;
  --p-gold-800: #6A4B1B;
  --p-gold-900: #523A15;

  /* Saffron — emphatic, rare */
  --p-saffron-600: #B5541F;
  --p-saffron-700: #97431A;

  /* Warm Sandstone */
  --p-ivory:       #FBFAF7;
  --p-sand-50:     #F7F5F0;
  --p-sand-100:    #EFEBE3;
  --p-line:        #E4E1D9;
  --p-line-strong: #C8C2B4;

  /* Ink — warm blue-black */
  --p-ink:    #0E1B26;
  --p-ink-2:  #16242F;
  --p-muted:  #51626F;
  --p-white:  #FFFFFF;

  /* Functional */
  --p-error:        #B3402E;   /* forms only */
  --p-error-border: #D3543F;

  /* Semantic aliases */
  --p-primary:        var(--p-blue-600);
  --p-primary-strong: var(--p-blue-700);
  --p-primary-soft:   var(--p-blue-50);
  --p-success:        var(--p-green-600);
  --p-accent:         var(--p-gold-500);
  --p-text:           var(--p-ink);
  --p-text-muted:     var(--p-muted);
  --p-bg:             var(--p-ivory);
  --p-surface:        var(--p-white);

  /* Typography */
  --p-font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --p-font-text:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --p-font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale — Major Third, fluid display sizes */
  --p-text-xs:   0.75rem;
  --p-text-sm:   0.875rem;
  --p-text-base: 1rem;
  --p-text-lg:   1.125rem;
  --p-text-xl:   1.25rem;
  --p-text-2xl:  1.5625rem;
  --p-text-3xl:  clamp(1.75rem, 1.45rem + 1vw, 1.953rem);
  --p-text-4xl:  clamp(2.05rem, 1.55rem + 1.7vw, 2.441rem);
  --p-text-5xl:  clamp(2.45rem, 1.8rem + 2.4vw, 3.052rem);

  /* Weights — only these four are loaded */
  --p-regular: 400;
  --p-semibold: 600;
  --p-bold: 700;
  --p-extrabold: 800;

  /* Spacing — 4px base */
  --p-space-1: 0.25rem;
  --p-space-2: 0.5rem;
  --p-space-3: 0.75rem;
  --p-space-4: 1rem;
  --p-space-5: 1.25rem;
  --p-space-6: 1.5rem;
  --p-space-8: 2rem;
  --p-space-10: 2.5rem;
  --p-space-12: 3rem;
  --p-space-14: 3.5rem;
  --p-space-16: 4rem;
  --p-space-20: 5rem;
  --p-space-24: 6rem;

  /* Radii */
  --p-radius-sm: 4px;
  --p-radius:    8px;
  --p-radius-lg: 14px;
  --p-radius-full: 999px;

  /* Elevation — daylight from the north-east */
  --p-shadow-sm: 0 1px 2px rgba(14, 27, 38, 0.06);
  --p-shadow:    0 1px 2px rgba(14, 27, 38, 0.05), 0 8px 24px -12px rgba(14, 27, 38, 0.12);
  --p-shadow-lg: 0 2px 4px rgba(14, 27, 38, 0.05), 0 24px 48px -16px rgba(14, 27, 38, 0.18);

  /* Motion */
  --p-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --p-fast: 160ms;
  --p-normal: 260ms;

  /* Layout */
  --p-container: 1180px;
  --p-container-wide: 1360px;
  --p-header-offset: 96px;

  /* Z-scale — every layer has a named home. No raw z-index in new work. */
  --p-z-raised: 10;
  --p-z-sticky: 100;
  --p-z-header: 1000;
  --p-z-dropdown: 1100;
  --p-z-fab: 1200;
  --p-z-overlay: 1300;
  --p-z-modal: 1400;
  --p-z-skiplink: 1600;
}

/* Brand text selection — quiet gold, everywhere */
::selection { background: var(--p-gold-200); color: var(--p-ink); }

/* ════════════════ 02 · LEGACY TOKEN ALIASES (deprecated) ════════════════ */
/* Older templates referenced these names. They now resolve to Pravaha.
   Do not use in new work. */
:root {
  --fitco-accent-700: var(--p-blue-700);
  --fitco-accent-600: var(--p-blue-500);
  --fitco-accent-500: var(--p-blue-300);
  --fds-blue-600: var(--p-blue-600);
  --fds-blue-700: var(--p-blue-700);
  --fds-gold-500: var(--p-gold-500);
  --fds-green-600: var(--p-green-600);
  --fds-ivory: var(--p-ivory);
  --fds-sand-50: var(--p-sand-50);
  --fds-line: var(--p-line);
  --fds-ink: var(--p-ink);
  --fds-muted: var(--p-muted);
}

/* ════════════════════════ 03 · BASE (.p-page) ════════════════════════ */
.p-page {
  font-family: var(--p-font-text);
  font-size: var(--p-text-base);
  line-height: 1.6;
  color: var(--p-text);
  background: var(--p-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.p-page *,
.p-page *::before,
.p-page *::after { box-sizing: border-box; }

.p-page :where(h1, h2, h3, h4, h5) {
  font-family: var(--p-font-display);
  font-weight: var(--p-bold);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--p-ink);
  margin: 0 0 var(--p-space-4);
}

.p-page h1 { font-size: var(--p-text-5xl); font-weight: var(--p-extrabold); }
.p-page h2 { font-size: var(--p-text-4xl); }
.p-page h3 { font-size: var(--p-text-2xl); }
.p-page h4 { font-size: var(--p-text-xl); }
.p-page h5 { font-size: var(--p-text-lg); }

.p-page p { margin: 0 0 var(--p-space-4); color: var(--p-text-muted); }
.p-page p:last-child { margin-bottom: 0; }

.p-page a {
  color: var(--p-primary);
  text-decoration: none;
  transition: color var(--p-fast) var(--p-ease);
}
.p-page a:hover { color: var(--p-primary-strong); }

.p-page :where(img, svg, video, canvas) { display: block; max-width: 100%; }

.p-page :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--p-blue-500);
  outline-offset: 2px;
  border-radius: var(--p-radius-sm);
}

/* ════════════════════════ 04 · LAYOUT ════════════════════════ */
.p-container {
  width: min(var(--p-container), 100% - 3rem);
  margin-inline: auto;
}
.p-container--wide { width: min(var(--p-container-wide), 100% - 3rem); }

.p-section { padding-block: var(--p-space-20); }
.p-section--tint { background: var(--p-sand-50); }
.p-section--paper { background: var(--p-white); }
.p-section--dawn {
  background: linear-gradient(135deg, var(--p-blue-50) 0%, var(--p-ivory) 42%, var(--p-gold-50) 100%);
}
.p-section--authority {
  /* the only sanctioned deep surface: trust-blue, never black */
  background: linear-gradient(135deg, var(--p-blue-900) 0%, var(--p-blue-800) 100%);
  color: var(--p-white);
}
.p-section--authority :where(h1,h2,h3,h4) { color: var(--p-white); }
.p-section--authority p { color: var(--p-blue-200); }

.p-grid { display: grid; gap: var(--p-space-6); }
.p-grid--2 { grid-template-columns: repeat(2, 1fr); }
.p-grid--3 { grid-template-columns: repeat(3, 1fr); }
.p-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .p-grid--3, .p-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .p-grid--2, .p-grid--3, .p-grid--4 { grid-template-columns: 1fr; }
}

/* Section header rhythm: eyebrow → title → lede */
.p-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-primary);
}
.p-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--p-gold-400);
}
.p-lede {
  font-size: var(--p-text-lg);
  color: var(--p-text-muted);
  max-width: 62ch;
}

/* ════════════════════════ 05 · COMPONENTS ════════════════════════ */
/* Buttons — one family, three voices */
.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--p-radius);
  font-family: var(--p-font-text);
  font-size: var(--p-text-base);
  font-weight: var(--p-semibold);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--p-fast) var(--p-ease),
              border-color var(--p-fast) var(--p-ease),
              color var(--p-fast) var(--p-ease),
              transform var(--p-fast) var(--p-ease),
              box-shadow var(--p-fast) var(--p-ease);
}
.p-btn--primary {
  background: var(--p-primary);
  color: var(--p-white);
  box-shadow: var(--p-shadow-sm);
}
.p-btn--primary:hover {
  background: var(--p-primary-strong);
  transform: translateY(-1px);
  box-shadow: var(--p-shadow);
}
.p-btn--quiet {
  background: var(--p-white);
  color: var(--p-primary-strong);
  border-color: var(--p-line-strong);
}
.p-btn--quiet:hover { border-color: var(--p-blue-400); background: var(--p-blue-50); }
.p-btn--gold {
  background: var(--p-gold-500);
  color: var(--p-white);
}
.p-btn--gold:hover { background: var(--p-gold-600); }
.p-btn--on-dark {
  background: var(--p-white);
  color: var(--p-blue-800);
}
.p-btn--on-dark:hover { background: var(--p-blue-50); }
.p-btn--outline-on-dark {
  background: transparent;
  color: var(--p-white);
  border-color: rgba(255, 255, 255, 0.45);
}
.p-btn--outline-on-dark:hover { border-color: var(--p-white); background: rgba(255, 255, 255, 0.08); }

/* Cards */
.p-card {
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-lg);
  padding: var(--p-space-8);
  box-shadow: var(--p-shadow-sm);
  transition: box-shadow var(--p-normal) var(--p-ease),
              border-color var(--p-normal) var(--p-ease),
              transform var(--p-normal) var(--p-ease);
}
.p-card:hover {
  border-color: var(--p-blue-200);
  box-shadow: var(--p-shadow);
  transform: translateY(-2px);
}
.p-card--flat:hover { transform: none; box-shadow: var(--p-shadow-sm); }

/* Badges */
.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--p-radius-full);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
}
.p-badge--trust  { background: var(--p-blue-50);  color: var(--p-blue-700);  border: 1px solid var(--p-blue-200); }
.p-badge--growth { background: var(--p-green-50); color: var(--p-green-700); border: 1px solid var(--p-green-200); }
.p-badge--legacy { background: var(--p-gold-50);  color: var(--p-gold-700);  border: 1px solid var(--p-gold-200); }

/* Stats */
.p-stat { text-align: left; }
.p-stat__value {
  font-family: var(--p-font-display);
  font-size: var(--p-text-4xl);
  font-weight: var(--p-extrabold);
  color: var(--p-blue-700);
  line-height: 1;
}
.p-stat__value sup { color: var(--p-gold-500); font-size: 0.5em; }
.p-stat__label {
  margin-top: var(--p-space-2);
  font-size: var(--p-text-sm);
  color: var(--p-text-muted);
}

/* Credibility band — slim trust strip under heroes */
.p-credibility {
  background: var(--p-sand-50);
  border-block: 1px solid var(--p-line);
  padding-block: var(--p-space-8);
}
.p-credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--p-space-8);
}
.p-credibility .p-stat { padding-left: var(--p-space-4); border-left: 2px solid var(--p-gold-300); }
.p-credibility .p-stat__value { font-size: var(--p-text-3xl); white-space: nowrap; }
@media (max-width: 900px) { .p-credibility__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-credibility__grid { grid-template-columns: 1fr; gap: var(--p-space-6); } }

/* Logo trust strip */
.p-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-8) var(--p-space-12);
  padding: var(--p-space-6) 0;
  border-block: 1px solid var(--p-line);
  background: var(--p-white);
}
.p-trust-strip img {
  height: 36px;
  width: auto;
  filter: grayscale(1) opacity(0.65);
  transition: filter var(--p-normal) var(--p-ease);
}
.p-trust-strip img:hover { filter: none; }

/* Data tables — spec sheets are sales documents; treat them with respect */
.p-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--p-white);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  font-size: var(--p-text-sm);
}
.p-table th {
  background: var(--p-blue-800);
  color: var(--p-white);
  font-family: var(--p-font-display);
  font-weight: var(--p-bold);
  text-align: left;
  padding: var(--p-space-3) var(--p-space-4);
  letter-spacing: 0.02em;
}
.p-table td {
  padding: var(--p-space-3) var(--p-space-4);
  border-top: 1px solid var(--p-line);
  color: var(--p-ink-2);
}
.p-table tbody tr:nth-child(even) { background: var(--p-sand-50); }
.p-table tbody tr:hover { background: var(--p-blue-50); }

/* Forms */
.p-field {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--p-line-strong);
  border-radius: var(--p-radius);
  background: var(--p-white);
  color: var(--p-ink);
  font: inherit;
  transition: border-color var(--p-fast) var(--p-ease), box-shadow var(--p-fast) var(--p-ease);
}
.p-field:focus {
  border-color: var(--p-blue-500);
  box-shadow: 0 0 0 3px var(--p-blue-100);
  outline: none;
}
.p-field--error { border-color: var(--p-error-border); }
.p-error-msg { color: var(--p-error); font-size: var(--p-text-sm); }

/* Callouts */
.p-callout {
  display: grid;
  gap: var(--p-space-2);
  padding: var(--p-space-5) var(--p-space-6);
  border-radius: var(--p-radius);
  border: 1px solid var(--p-line);
  border-left: 3px solid var(--p-blue-500);
  background: var(--p-blue-50);
}
.p-callout--success { border-left-color: var(--p-green-500); background: var(--p-green-50); }
.p-callout--gold    { border-left-color: var(--p-gold-400);  background: var(--p-gold-50); }

/* CTA band */
.p-cta {
  padding-block: var(--p-space-20);
  background: linear-gradient(135deg, var(--p-blue-900) 0%, var(--p-blue-800) 100%);
  color: var(--p-white);
  text-align: center;
}
.p-cta h2 { color: var(--p-white); }
.p-cta p { color: var(--p-blue-200); max-width: 62ch; margin-inline: auto; }
.p-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-space-4);
  justify-content: center;
  margin-top: var(--p-space-8);
}

/* Button sizes + states */
.p-btn--sm { padding: 0.5rem 1rem; font-size: var(--p-text-sm); }
.p-btn--lg { padding: 0.95rem 2rem; font-size: var(--p-text-lg); }
.p-btn[disabled],
.p-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Form labels & help text */
.p-label {
  display: block;
  margin-bottom: var(--p-space-2);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
  color: var(--p-ink-2);
}
.p-help { margin-top: var(--p-space-1); font-size: var(--p-text-xs); color: var(--p-text-muted); }

/* Responsive table wrapper */
.p-table-wrap {
  overflow-x: auto;
  border-radius: var(--p-radius-lg);
  -webkit-overflow-scrolling: touch;
}

/* Pagination */
.p-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  margin-block: var(--p-space-12);
}
.p-pagination a,
.p-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: var(--p-space-3);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--p-white);
  color: var(--p-ink-2);
  font-weight: var(--p-semibold);
  font-size: var(--p-text-sm);
  text-decoration: none;
  transition: border-color var(--p-fast) var(--p-ease), background-color var(--p-fast) var(--p-ease);
}
.p-pagination a:hover { border-color: var(--p-blue-400); background: var(--p-blue-50); color: var(--p-primary-strong); }
.p-pagination .current,
.p-pagination [aria-current] {
  background: var(--p-blue-700);
  border-color: var(--p-blue-700);
  color: var(--p-white);
}

/* Gold hairline — the auspicious thread */
.p-divider {
  height: 1px;
  border: 0;
  margin: var(--p-space-12) auto;
  width: min(160px, 40%);
  background: linear-gradient(90deg, transparent, var(--p-gold-400), transparent);
}

/* ════════════════ 06 · EDITORIAL LAYER (.fud-v1 class API) ════════════════ */
/* Knowledge Centre content (WP-stored markup) uses these classes.
   The API is honored; the design is Pravaha. */

.fud-v1 *,
.fud-v1 *::before,
.fud-v1 *::after { box-sizing: border-box; margin: 0; padding: 0; }

.fud-v1 {
  font-family: var(--p-font-text);
  font-size: var(--p-text-base);
  line-height: 1.65;
  color: var(--p-text);
  background: linear-gradient(180deg, var(--p-white) 0%, var(--p-ivory) 100%);
  -webkit-font-smoothing: antialiased;
}

.fud-v1 :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--p-font-display);
  font-weight: var(--p-bold);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--p-ink);
}
.fud-v1 h1 { font-size: var(--p-text-5xl); font-weight: var(--p-extrabold); }
.fud-v1 h2 { font-size: var(--p-text-3xl); }
.fud-v1 h3 { font-size: var(--p-text-xl); }
.fud-v1 h4 { font-size: var(--p-text-lg); }
.fud-v1 p { color: var(--p-text-muted); }
.fud-v1 a { color: var(--p-primary); text-decoration: none; }
.fud-v1 a:hover { color: var(--p-primary-strong); }
.fud-v1 img { max-width: 100%; display: block; }
.fud-v1 .muted { color: var(--p-text-muted); }
.fud-v1 .text-accent { color: var(--p-gold-700); } /* gold-700: AA contrast for text */
.fud-v1 .text-gradient {
  background: linear-gradient(120deg, var(--p-blue-700), var(--p-blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fud-v1 .container { width: min(var(--p-container), 100% - 3rem); margin-inline: auto; }
.fud-v1 section, .fud-v1 .fud-section, .fud-v1 .section { padding-block: var(--p-space-16); }

/* — Standard page header (hero) — */
.fud-v1 .standard-header {
  padding: var(--p-space-16) 0 var(--p-space-12);
  background: linear-gradient(135deg, var(--p-blue-50) 0%, var(--p-ivory) 46%, var(--p-gold-50) 100%);
  border-bottom: 1px solid var(--p-line);
}
.fud-v1 .standard-tag,
.fud-v1 .tag, .fud-v1 .pill, .fud-v1 .badge, .fud-v1 .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--p-radius-full);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
  background: var(--p-blue-50);
  color: var(--p-blue-700);
  border: 1px solid var(--p-blue-200);
  margin-bottom: var(--p-space-4);
}
.fud-v1 .standard-title { margin: var(--p-space-2) 0 var(--p-space-4); }
.fud-v1 .standard-lead {
  font-size: var(--p-text-lg);
  color: var(--p-text-muted);
  max-width: 68ch;
}
.fud-v1 .standard-meta,
.fud-v1 .meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-space-3) var(--p-space-6);
  margin-top: var(--p-space-6);
}
.fud-v1 .meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
  color: var(--p-ink-2);
  background: var(--p-white);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-full);
  padding: 0.375rem 0.875rem;
  box-shadow: var(--p-shadow-sm);
}
.fud-v1 .meta-icon { color: var(--p-gold-500); display: inline-flex; }
.fud-v1 .standard-image-wrapper {
  margin-top: var(--p-space-10);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  border: 1px solid var(--p-line);
  box-shadow: var(--p-shadow);
  background: var(--p-white);
}

/* — Standard layout: sticky TOC + content — */
.fud-v1 .standard-layout {
  display: grid;
  gap: var(--p-space-10);
  padding: var(--p-space-14) 0 var(--p-space-24);
  align-items: start;
}
@media (min-width: 992px) {
  .fud-v1 .standard-layout { grid-template-columns: 264px minmax(0, 1fr); }
}
.fud-v1 .standard-toc, .fud-v1 .toc {
  position: sticky;
  top: var(--p-header-offset);
  background: var(--p-white);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-lg);
  padding: var(--p-space-6);
  box-shadow: var(--p-shadow-sm);
}
.fud-v1 .standard-toc a {
  display: block;
  padding: var(--p-space-2) var(--p-space-3);
  border-radius: var(--p-radius-sm);
  font-size: var(--p-text-sm);
  color: var(--p-text-muted);
  border-left: 2px solid transparent;
}
.fud-v1 .standard-toc a:hover {
  color: var(--p-primary-strong);
  background: var(--p-blue-50);
  border-left-color: var(--p-gold-400);
}
.fud-v1 .standard-content { display: grid; gap: var(--p-space-12); min-width: 0; }
.fud-v1 .standard-item { scroll-margin-top: var(--p-header-offset); }
.fud-v1 .standard-content > * + h2 { margin-top: var(--p-space-6); }

/* — Bento grid — */
.fud-v1 .bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: var(--p-space-6);
}
.fud-v1 .col-span-3  { grid-column: span 3; }
.fud-v1 .col-span-4  { grid-column: span 4; }
.fud-v1 .col-span-6  { grid-column: span 6; }
.fud-v1 .col-span-8  { grid-column: span 8; }
.fud-v1 .col-span-12 { grid-column: span 12; }
.fud-v1 .row-span-2  { grid-row: span 2; }
@media (max-width: 991px) {
  .fud-v1 .bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; }
  .fud-v1 :where(.col-span-3, .col-span-4) { grid-column: span 3; }
  .fud-v1 :where(.col-span-6, .col-span-8, .col-span-12) { grid-column: span 6; }
}
@media (max-width: 600px) {
  .fud-v1 .bento-grid { grid-template-columns: 1fr; }
  .fud-v1 :where(.col-span-3, .col-span-4, .col-span-6, .col-span-8, .col-span-12) { grid-column: auto; }
}

.fud-v1 .bento-card, .fud-v1 .card, .fud-v1 .card-elevated, .fud-v1 .stat-card, .fud-v1 .span-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--p-white);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-lg);
  padding: var(--p-space-8);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--p-normal) var(--p-ease),
              border-color var(--p-normal) var(--p-ease),
              transform var(--p-normal) var(--p-ease);
}
.fud-v1 :where(.bento-card, .card, .card-elevated):hover {
  border-color: var(--p-blue-200);
  box-shadow: var(--p-shadow);
  transform: translateY(-2px);
}
.fud-v1 .card-label {
  font-size: var(--p-text-xs);
  font-weight: var(--p-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-gold-700); /* AA contrast */
  margin-bottom: var(--p-space-2);
}
.fud-v1 .card-title { font-size: var(--p-text-xl); margin-bottom: var(--p-space-3); }
.fud-v1 :where(.card-desc, .card-description) { color: var(--p-text-muted); font-size: var(--p-text-sm); }
.fud-v1 .card-content { display: grid; gap: var(--p-space-3); }
.fud-v1 .card-arrow {
  margin-top: auto;
  padding-top: var(--p-space-4);
  color: var(--p-primary);
  font-weight: var(--p-semibold);
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
}

/* glow-blob: retired as glow; now a quiet dawn wash */
.fud-v1 .glow-blob {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--p-gold-100), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

/* — Stats — */
.fud-v1 .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--p-space-6); }
@media (max-width: 600px) { .fud-v1 .stats-grid { grid-template-columns: 1fr; } }
.fud-v1 .stat-value {
  font-family: var(--p-font-display);
  font-size: var(--p-text-4xl);
  font-weight: var(--p-extrabold);
  color: var(--p-blue-700);
  line-height: 1;
}
.fud-v1 .stat-label { margin-top: var(--p-space-2); font-size: var(--p-text-sm); color: var(--p-text-muted); }

/* — Tables — */
.fud-v1 :where(.standard-table, .specs-table, .specs table) {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--p-white);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  font-size: var(--p-text-sm);
}
.fud-v1 :where(.standard-table, .specs-table) th {
  background: var(--p-blue-800);
  color: var(--p-white);
  font-family: var(--p-font-display);
  font-weight: var(--p-bold);
  text-align: left;
  padding: var(--p-space-3) var(--p-space-4);
}
.fud-v1 :where(.standard-table, .specs-table) td {
  padding: var(--p-space-3) var(--p-space-4);
  border-top: 1px solid var(--p-line);
  color: var(--p-ink-2);
}
.fud-v1 :where(.standard-table, .specs-table) tbody tr:nth-child(even) { background: var(--p-sand-50); }
.fud-v1 :where(.standard-table, .specs-table) tbody tr:hover { background: var(--p-blue-50); }
.fud-v1 .standard-table-wrapper { overflow-x: auto; border-radius: var(--p-radius-lg); }

/* — Callouts & tips — */
.fud-v1 :where(.callout, .standard-callout, .tip) {
  display: grid;
  gap: var(--p-space-2);
  padding: var(--p-space-5) var(--p-space-6);
  border-radius: var(--p-radius);
  border: 1px solid var(--p-line);
  border-left: 3px solid var(--p-blue-500);
  background: var(--p-blue-50);
}
.fud-v1 .callout-title { font-weight: var(--p-bold); color: var(--p-ink); }
.fud-v1 .callout-info    { border-left-color: var(--p-blue-500);  background: var(--p-blue-50); }
.fud-v1 .callout-success { border-left-color: var(--p-green-500); background: var(--p-green-50); }
.fud-v1 .callout-warning { border-left-color: var(--p-saffron-600); background: var(--p-gold-50); }
.fud-v1 .tip { border-left-color: var(--p-gold-400); background: var(--p-gold-50); }

/* — Buttons — */
.fud-v1 :where(.btn, .btn-primary, .btn-secondary, .btn-outline) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--p-radius);
  font-weight: var(--p-semibold);
  font-size: var(--p-text-base);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--p-fast) var(--p-ease),
              border-color var(--p-fast) var(--p-ease),
              transform var(--p-fast) var(--p-ease);
}
.fud-v1 :where(.btn, .btn-primary) { background: var(--p-primary); color: var(--p-white); }
.fud-v1 :where(.btn, .btn-primary):hover { background: var(--p-primary-strong); transform: translateY(-1px); color: var(--p-white); }
.fud-v1 .btn-secondary { background: var(--p-white); color: var(--p-primary-strong); border-color: var(--p-line-strong); }
.fud-v1 .btn-secondary:hover { border-color: var(--p-blue-400); background: var(--p-blue-50); }
.fud-v1 .btn-outline { background: transparent; color: var(--p-primary-strong); border-color: var(--p-blue-300); }
.fud-v1 .btn-outline:hover { background: var(--p-blue-50); }

/* — Section headers, breadcrumb, hero family, CTA — */
.fud-v1 .section-header { max-width: 760px; margin: 0 auto var(--p-space-10); text-align: center; }
.fud-v1 .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--p-space-2);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--p-primary);
  margin-bottom: var(--p-space-3);
}
.fud-v1 .section-title { font-size: var(--p-text-3xl); margin-bottom: var(--p-space-3); }
.fud-v1 .section-description { color: var(--p-text-muted); }

.fud-v1 .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--p-space-2);
  font-size: var(--p-text-sm);
  color: var(--p-text-muted);
  margin-bottom: var(--p-space-6);
}
.fud-v1 .breadcrumb-separator { color: var(--p-line-strong); }

.fud-v1 .hero { padding: var(--p-space-20) 0 var(--p-space-14); }
.fud-v1 .hero-grid {
  display: grid;
  gap: var(--p-space-10);
  align-items: center;
}
@media (min-width: 900px) { .fud-v1 .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.fud-v1 .hero-title { font-size: var(--p-text-5xl); }
.fud-v1 :where(.hero-subtitle, .hero-desc) { font-size: var(--p-text-lg); color: var(--p-text-muted); margin-top: var(--p-space-4); max-width: 62ch; }
.fud-v1 .hero-actions, .fud-v1 .cta-actions, .fud-v1 .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-space-4);
  margin-top: var(--p-space-8);
}
.fud-v1 :where(.hero-media, .header-media) {
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  border: 1px solid var(--p-line);
  box-shadow: var(--p-shadow);
  background: var(--p-white);
}
.fud-v1 .hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }

.fud-v1 :where(.cta-section, .cta-gradient) {
  background: linear-gradient(135deg, var(--p-blue-900) 0%, var(--p-blue-800) 100%);
  color: var(--p-white);
  border-radius: 0;
}
.fud-v1 .cta-box {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  padding: var(--p-space-8) 0;
}
.fud-v1 :where(.cta-section, .cta-gradient) :where(.cta-title, h2, h3) { color: var(--p-white); }
.fud-v1 :where(.cta-section, .cta-gradient) :where(.cta-description, p) { color: var(--p-blue-200); }
.fud-v1 :where(.cta-section, .cta-gradient) .cta-actions { justify-content: center; }
.fud-v1 :where(.cta-section, .cta-gradient) :where(.btn, .btn-primary) { background: var(--p-white); color: var(--p-blue-800); }
.fud-v1 :where(.cta-section, .cta-gradient) .btn-secondary {
  background: transparent;
  color: var(--p-white);
  border-color: rgba(255, 255, 255, 0.45);
}

/* — Misc API — */
.fud-v1 .grid { display: grid; gap: var(--p-space-6); }
.fud-v1 .grid-2 { display: grid; gap: var(--p-space-6); grid-template-columns: repeat(2, 1fr); }
.fud-v1 .grid-3 { display: grid; gap: var(--p-space-6); grid-template-columns: repeat(3, 1fr); }
.fud-v1 .grid-4 { display: grid; gap: var(--p-space-6); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .fud-v1 :where(.grid-3, .grid-4) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fud-v1 :where(.grid-2, .grid-3, .grid-4) { grid-template-columns: 1fr; } }
.fud-v1 .span-grid { display: grid; gap: var(--p-space-6); grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .fud-v1 .span-grid { grid-template-columns: 1fr; } }
.fud-v1 :where(.list-container, .list-section) ul { padding-left: 1.2rem; display: grid; gap: var(--p-space-2); color: var(--p-text-muted); }
.fud-v1 .header-content { max-width: 760px; }
.fud-v1 .reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--p-blue-500), var(--p-gold-400));
  z-index: 999;
}


/* — Responsive column aliases (legacy md: prefix) — */
.fud-v1 .md\:col-span-4 { grid-column: span 4; }
.fud-v1 .md\:col-span-8 { grid-column: span 8; }
@media (max-width: 991px) {
  .fud-v1 :where(.md\:col-span-4) { grid-column: span 3; }
  .fud-v1 :where(.md\:col-span-8) { grid-column: span 6; }
}
@media (max-width: 600px) {
  .fud-v1 :where(.md\:col-span-4, .md\:col-span-8) { grid-column: auto; }
}

/* — Hero copy block — */
.fud-v1 .hero-copy { max-width: 640px; }
.fud-v1 .hero-copy .lead { font-size: var(--p-text-lg); color: var(--p-text-muted); margin: var(--p-space-4) 0 var(--p-space-8); }
.fud-v1 .hero-copy .actions { display: flex; gap: var(--p-space-4); flex-wrap: wrap; }

/* — Related-standards bento section (3-up, natural heights) — */
.fud-v1 .bento-section { padding: var(--p-space-16) 0; }
.fud-v1 .bento-section .section-header { margin-bottom: var(--p-space-10); }
.fud-v1 .bento-section .bento-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: var(--p-space-5);
}
.fud-v1 .bento-section .bento-grid .col-span-4 { grid-column: span 1; }
@media (max-width: 991px) { .fud-v1 .bento-section .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fud-v1 .bento-section .bento-grid { grid-template-columns: 1fr; } }

/* — Ordered lists: plain + stepped procedures — */
.fud-v1 .standard-content ol:not(.stepped) {
  list-style: none;
  counter-reset: p-ol;
  padding: 0;
  display: grid;
  gap: var(--p-space-2);
}
.fud-v1 .standard-content ol:not(.stepped) li {
  counter-increment: p-ol;
  position: relative;
  padding-left: var(--p-space-8);
  line-height: 1.7;
  color: var(--p-text-muted);
}
.fud-v1 .standard-content ol:not(.stepped) li::before {
  content: counter(p-ol) ".";
  position: absolute;
  left: 0;
  color: var(--p-gold-700); /* AA contrast */
  font-weight: var(--p-semibold);
}
.fud-v1 .standard-content ol.stepped {
  list-style: none;
  counter-reset: p-step;
  padding: 0;
  display: grid;
  gap: var(--p-space-3);
}
.fud-v1 .standard-content ol.stepped li {
  counter-increment: p-step;
  display: flex;
  gap: var(--p-space-4);
  align-items: flex-start;
  padding: var(--p-space-4) var(--p-space-5);
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  background: var(--p-white);
  line-height: 1.7;
  color: var(--p-text-muted);
}
.fud-v1 .standard-content ol.stepped li::before {
  content: counter(p-step);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--p-blue-700);
  color: var(--p-white);
  font-size: var(--p-text-xs);
  font-weight: var(--p-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fud-v1 .standard-content ol.stepped li:hover { border-color: var(--p-blue-200); }

/* — Span-card key/value rows — */
.fud-v1 .span-card .th {
  font-family: var(--p-font-display);
  font-weight: var(--p-bold);
  color: var(--p-ink);
  margin-bottom: var(--p-space-2);
}
.fud-v1 .span-card .rows { display: flex; align-items: center; gap: var(--p-space-2); flex-wrap: wrap; }
.fud-v1 .span-card .val { font-size: var(--p-text-sm); font-weight: var(--p-semibold); color: var(--p-ink-2); }
.fud-v1 .note { font-size: var(--p-text-sm); color: var(--p-text-muted); }

/* — Standard-item directory rows (used on standards index pages) — */
.fud-v1 .standard-item { display: flex; gap: var(--p-space-5); align-items: flex-start; }
.fud-v1 .standard-item .item-content { flex: 1; min-width: 0; }
.fud-v1 .standard-item .item-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: var(--p-radius-full);
  background: var(--p-blue-50);
  color: var(--p-blue-700);
  border: 1px solid var(--p-blue-200);
  font-size: var(--p-text-xs);
  font-weight: var(--p-bold);
  letter-spacing: 0.04em;
}
.fud-v1 .standard-item .item-title { font-size: var(--p-text-xl); margin: var(--p-space-3) 0 var(--p-space-2); }
.fud-v1 .item-note { font-size: var(--p-text-sm); color: var(--p-text-muted); max-width: 60ch; }
.fud-v1 .standard-item .item-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  padding: 0.7rem 1.1rem;
  border-radius: var(--p-radius-full);
  border: 1px solid var(--p-line-strong);
  background: var(--p-white);
  color: var(--p-primary-strong);
  font-size: var(--p-text-sm);
  font-weight: var(--p-bold);
  transition: background-color var(--p-fast) var(--p-ease), border-color var(--p-fast) var(--p-ease);
}
.fud-v1 .standard-item:hover .item-action { background: var(--p-blue-50); border-color: var(--p-blue-400); }

/* ════════ 06b · KNOWLEDGE HOME SCOPES (.fitco-testing-home / .fitco-standards-home) ════════ */
/* Index/landing pages for Testing Solutions and ASTM/ISO standards keep their
   class API; visual language is Pravaha. */

:where(.fitco-testing-home, .fitco-standards-home) .standard-header {
  padding: var(--p-space-16) 0 var(--p-space-14);
  background: linear-gradient(135deg, var(--p-blue-50) 0%, var(--p-ivory) 46%, var(--p-gold-50) 100%);
  border-bottom: 1px solid var(--p-line);
}
.fitco-standards-home .standard-header .container,
.fitco-testing-home .hero-layout {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
}
@media (min-width: 900px) {
  .fitco-standards-home .standard-header .container,
  .fitco-testing-home .hero-layout { grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr); }
}
:where(.fitco-testing-home, .fitco-standards-home) .header-content,
.fitco-testing-home .hero-copy { max-width: 760px; }
.fitco-standards-home .standard-title { max-width: 14ch; }
.fitco-standards-home .standard-lead { max-width: 54ch; }

:where(.fitco-testing-home, .fitco-standards-home) :where(.standards-home-actions) {
  display: flex;
  gap: var(--p-space-3);
  flex-wrap: wrap;
  margin-top: var(--p-space-8);
}
:where(.fitco-testing-home, .fitco-standards-home) .hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--p-space-2);
  padding: 0.75rem 1.1rem;
  border-radius: var(--p-radius-full);
  background: var(--p-white);
  border: 1px solid var(--p-line-strong);
  color: var(--p-primary-strong);
  font-size: var(--p-text-sm);
  font-weight: var(--p-semibold);
  transition: border-color var(--p-fast) var(--p-ease), background-color var(--p-fast) var(--p-ease);
}
:where(.fitco-testing-home, .fitco-standards-home) .hero-chip:hover {
  border-color: var(--p-blue-400);
  background: var(--p-blue-50);
}

:where(.fitco-testing-home, .fitco-standards-home) :where(.hero-panel, .standards-home-panel) {
  border-radius: var(--p-radius-lg);
  padding: var(--p-space-6);
  background: var(--p-white);
  border: 1px solid var(--p-line);
  box-shadow: var(--p-shadow);
}
:where(.fitco-testing-home, .fitco-standards-home) :where(.hero-panel-label, .standards-home-panel-label) {
  display: inline-block;
  margin-bottom: var(--p-space-4);
  font-size: var(--p-text-xs);
  font-weight: var(--p-extrabold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-gold-700); /* AA contrast */
}
:where(.fitco-testing-home, .fitco-standards-home) :where(.hero-panel-grid, .standards-home-panel-grid) {
  display: grid;
  gap: var(--p-space-4);
}
:where(.fitco-testing-home, .fitco-standards-home) :where(.hero-panel-item, .standards-home-panel-item) strong {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--p-font-display);
  font-size: var(--p-text-base);
  line-height: 1.25;
  color: var(--p-ink);
}
:where(.fitco-testing-home, .fitco-standards-home) :where(.hero-panel-item, .standards-home-panel-item) span {
  display: block;
  font-size: var(--p-text-sm);
  line-height: 1.6;
  color: var(--p-text-muted);
}

:where(.fitco-testing-home, .fitco-standards-home) .section-heading { display: grid; gap: var(--p-space-2); max-width: 580px; margin-bottom: var(--p-space-8); }
:where(.fitco-testing-home, .fitco-standards-home) .section-kicker {
  font-size: var(--p-text-xs);
  font-weight: var(--p-extrabold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-primary);
}
:where(.fitco-testing-home, .fitco-standards-home) .section-note { font-size: var(--p-text-sm); line-height: 1.65; color: var(--p-text-muted); }

:where(.fitco-testing-home, .fitco-standards-home) .bento-card.is-featured {
  background: linear-gradient(135deg, var(--p-blue-900) 0%, var(--p-blue-800) 100%);
  border-color: var(--p-blue-800);
}
:where(.fitco-testing-home, .fitco-standards-home) .bento-card.is-featured :where(.card-title, h3) { color: var(--p-white); font-size: clamp(1.7rem, 2.3vw, 2.2rem); max-width: 14ch; }
:where(.fitco-testing-home, .fitco-standards-home) .bento-card.is-featured :where(.card-desc, .card-description, p) { color: var(--p-blue-200); }
:where(.fitco-testing-home, .fitco-standards-home) .bento-card.is-featured .card-label { color: var(--p-gold-300); }

:where(.fitco-testing-home, .fitco-standards-home) .card-meta { display: flex; flex-wrap: wrap; gap: var(--p-space-2); margin-top: var(--p-space-4); }
:where(.fitco-testing-home, .fitco-standards-home) .card-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: var(--p-radius-full);
  background: var(--p-sand-50);
  border: 1px solid var(--p-line);
  color: var(--p-ink-2);
  font-size: var(--p-text-xs);
  font-weight: var(--p-semibold);
  letter-spacing: 0.02em;
}
:where(.fitco-testing-home, .fitco-standards-home) .bento-card.is-featured .card-meta span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--p-blue-100);
}
:where(.fitco-testing-home, .fitco-standards-home) .card-footer {
  margin-top: auto;
  padding-top: var(--p-space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--p-space-4);
}
:where(.fitco-testing-home, .fitco-standards-home) .card-link { font-size: var(--p-text-sm); font-weight: var(--p-bold); color: var(--p-primary); }
:where(.fitco-testing-home, .fitco-standards-home) .bento-card.is-featured .card-link { color: var(--p-gold-300); }

@media (max-width: 600px) {
  :where(.fitco-testing-home, .fitco-standards-home) .hero-chip { width: 100%; }
  :where(.fitco-testing-home, .fitco-standards-home) .standards-home-actions { flex-direction: column; align-items: stretch; }
}

/* ════════════════════════ 07 · MOTION & A11Y ════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .p-page *, .p-page *::before, .p-page *::after,
  .fud-v1 *, .fud-v1 *::before, .fud-v1 *::after {
    animation-duration: 0.01ms !important; /* a11y: motion safety requires the override */
    animation-iteration-count: 1 !important; /* a11y */
    transition-duration: 0.01ms !important; /* a11y */
  }
}

@media print {
  .fud-v1 .standard-toc, .fud-v1 .reading-progress { display: none; }
  .fud-v1, .p-page { background: #FFFFFF; }
}
