/* Footer: the section library's footer (entry 48), copied as written. Its
   design tokens are set here so the library's rules apply unchanged. */
.ft {
  --color-ink-deep: #05080d; --color-ink-on-dark: #F2F3F4; --color-accent: var(--rn-accent-deep, #00AEB5); --color-icon-glyph: #FFFFFF;
  --lb-green: #02B60A; --lb-blue: #056FC1; --lb-orange: #F7981E; --lb-purple: #8C66DA; --lb-red: #F92403; --lb-teal: var(--rn-accent-deep, #00AEB5);
  --container: 1280px; --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem;
  --radius-pill: 999px; --radius-xl: 24px; --text-caption: 0.6875rem; --text-fine: 0.75rem; --text-small: 0.875rem;
  --tracking-caption: 0.1em; --weight-bold: 700; --weight-semibold: 600; --leading-normal: 1.6;
  --dur-fast: 160ms; --ease-standard: cubic-bezier(0.20, 0.00, 0.00, 1.00);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
:is(section, div):has(+ footer.ft),
main:has(+ footer.ft) > :is(section, div):last-child,
main:has(+ footer.ft) {
  padding-bottom: 0; margin-bottom: 0;
}

.ft {
  background: var(--color-ink-deep); color: var(--color-ink-on-dark);
  padding: var(--space-24) 0 var(--space-10);
  /* The dark ground floats inset from the page edges, rounded, so the page
     shows around it instead of the footer slamming the viewport. */
  margin: 0 var(--space-5) var(--space-5);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.ft-inner { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.ft-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); flex-wrap: wrap;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid color-mix(in srgb, var(--color-ink-on-dark) 14%, transparent);
}
.ft-brand { display: inline-flex; }
.ft-brand img { display: block; width: auto; height: var(--space-10); }
/* The ask-about row. Real deep links into each assistant with the question
   pre-filled, opened in a new tab. No assistant logos: this icon set has none,
   and drawing someone else's mark from memory is not an option. */
.ft-ask { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.ft-ask-label {
  font-size: var(--text-small); font-weight: var(--weight-semibold);
  color: color-mix(in srgb, var(--color-ink-on-dark) 72%, transparent);
}
.ft-ask-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); flex-wrap: wrap; }
.ft-ask-btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: var(--space-10); padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--color-ink-on-dark) 18%, transparent);
  background: color-mix(in srgb, var(--color-ink-on-dark) 5%, transparent);
  font-size: var(--text-small); color: var(--color-ink-on-dark);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
.ft-ask-btn:hover {
  background: color-mix(in srgb, var(--color-ink-on-dark) 12%, transparent);
  border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.ft-ask-ico { width: var(--space-4); height: var(--space-4); flex: 0 0 auto; }
/* Each assistant carries its own hue from the logo palette, set per button in
   the markup, so the row does not read as four copies of the accent. */
.ft-ask-ico path { fill: var(--ask-hue, var(--color-accent)); }

.ft-cols {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-10) var(--space-5);
  align-items: start;
  padding: var(--space-10) 0;
}

.ft-h {
  display: flex; align-items: center; gap: var(--space-2);
  margin: 0 0 var(--space-5);
  font-size: var(--text-caption); letter-spacing: var(--tracking-caption);
  text-transform: uppercase; font-weight: var(--weight-bold);
  color: var(--color-ink-on-dark);
}
.ft-h-ico { width: var(--space-4); height: var(--space-4); flex: 0 0 auto; }
/* The column marks take the logo's own hues, set per heading in the markup,
   so the footer reads as the lockup does rather than as nine copies of the
   accent. */
.ft-h-ico path { fill: var(--ft-hue, var(--color-accent)); }

.ft-list + .ft-h { margin-top: var(--space-8); }
.ft-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.ft-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) 0;
  font-size: var(--text-small); line-height: var(--leading-normal);
  color: color-mix(in srgb, var(--color-ink-on-dark) 72%, transparent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
.ft-link:hover { color: var(--color-ink-on-dark); }
.ft-li { display: grid; place-items: center; flex: 0 0 auto; }
.ft-li-ico { width: var(--space-4); height: var(--space-4); }
.ft-li-ico path { fill: color-mix(in srgb, var(--color-ink-on-dark) 46%, transparent); }
.ft-link:hover .ft-li-ico path { fill: var(--color-accent); }

.ft-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4) var(--space-8); flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--color-ink-on-dark) 14%, transparent);
}
.ft-copy {
  margin: 0;
  font-size: var(--text-fine); line-height: var(--leading-normal);
  color: color-mix(in srgb, var(--color-ink-on-dark) 52%, transparent);
}
.ft-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-6); }
.ft-legal .ft-link { font-size: var(--text-fine); }


/* The marks the product is built against. Same files as the strip higher up
   the page, at a quarter of the size. Headed "Built against" and never
   "certified" or "compliant": nothing here is a certification we hold. */
.ft-frameworks {
  padding: var(--space-8) 0;
  border-top: 1px solid color-mix(in srgb, var(--color-ink-on-dark) 14%, transparent);
}
/* Two equal rows of nine, no heading: the grid splits the eighteen marks
   evenly instead of letting flex wrap wherever the widths land. */
.ft-marks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: center; justify-items: center;
  gap: var(--space-4) var(--space-8);
}
.ft-mark img {
  display: block; width: auto; height: var(--space-8);
  filter: grayscale(1) invert(1); opacity: .58;
  transition: opacity var(--dur-fast) var(--ease-standard);
}
.ft-mark img:hover { opacity: 1; }

/* Circular social buttons, the one detail taken from the other reference. */
.ft-social-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-3); }
.ft-social {
  display: grid; place-items: center;
  width: var(--space-10); height: var(--space-10);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-ink-on-dark) 10%, transparent);
  transition: background-color var(--dur-fast) var(--ease-standard);
}
.ft-social:hover { background: var(--color-accent); }
.ft-social-ico { width: var(--space-4); height: var(--space-4); }
.ft-social-ico path { fill: color-mix(in srgb, var(--color-ink-on-dark) 78%, transparent); }
.ft-social:hover .ft-social-ico path { fill: var(--color-icon-glyph); }

.ft-copy { margin: var(--space-6) 0 0; }

@media (max-width: 1200px) {
  .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-marks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 820px)  {
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-marks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ft { padding: var(--space-16) 0 var(--space-8); }
  .ft-top { justify-content: flex-start; }
  .ft-cols { grid-template-columns: minmax(0, 1fr); }
  .ft-mark img { height: var(--space-6); }
  .ft-marks { gap: var(--space-3) var(--space-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-cols { padding: var(--space-10) 0; gap: var(--space-8); }
  /* Real touch targets once a finger is doing the pointing. The legal links
     are --text-fine and measured 35px without this. */
  .ft-link { min-height: var(--space-12); padding: var(--space-2) 0; }
  .ft-legal { flex-wrap: wrap; gap: var(--space-5); }
}
/* The library sizes every box with its padding included. */
.ft, .ft *, .ft *::before, .ft *::after { box-sizing: border-box; }
/* Index2 keeps a gap between the last section and the footer. */
/* The footer panel sits on the light ground, as it does in the library. */
.ft-band { background: #FCFCFD; margin-top: -1px; padding: 20px; }
.ft-band .ft { margin: 0; }
@media (max-width: 700px) { .ft-band { padding: 10px; } }

/* The maker, linked (owner, 2026-10-21). */
.ft-copy .ft-maker { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.ft-copy .ft-maker:hover, .ft-copy .ft-maker:focus-visible { color: var(--rn-primary-tint, #7be8d4); text-decoration-color: currentColor; }
