/* ==========================================================================
   landing.css — Fleet / Claims / Government audience pages
   Adds four components: .filebar (cross-page register strip), .proof
   (credential strip), .h1-payoff (headline payoff line) and .crumb
   (visible breadcrumb). Everything else on these pages reuses styles.css
   exactly as-is. Do not edit styles.css from this file.
   ========================================================================== */

/* -------------------------------------------------------------- filebar -- */
/* Sits directly under the hero card, full-bleed, like a strip of file
   tabs under a document — reinforces the "capability file" register. */

.filebar {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.filebar__inner {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem clamp(1rem, 3vw, 2.5rem);
  padding: 0.85rem clamp(0.25rem, 1.6vw, 1.6rem);
}

.filebar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.filebar__label i {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--line);
}

.filebar__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-left: auto;
}

.filebar__tabs a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.filebar__tabs a b {
  font-weight: 700;
  opacity: 0.55;
}

.filebar__tabs a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.filebar__tabs a.is-active {
  color: var(--lime);
  border-color: rgba(170, 230, 51, 0.35);
  background: rgba(170, 230, 51, 0.08);
}

.filebar__tabs a.is-active b {
  opacity: 0.85;
}

@media (max-width: 720px) {
  .filebar__inner {
    justify-content: flex-start;
  }
  .filebar__tabs {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------------------------------------------------------------- proof -- */
/* Credential strip — same hairline-grid construction as .info / .steps
   (1px gap coloured as the border, tiles painted over it). */

.proof {
  display: grid;
  /* One row of equal tiles, however many there are: the strip fills with 5 or 6, so a tile can
     come out without leaving a gap. */
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1px;
  background-color: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.proof__item {
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(0.75rem, 1.6vw, 1.3rem);
  background: var(--panel);
  text-align: center;
}

.proof__n {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.proof__l {
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--muted);
}

.proof__item--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.proof__item--brand img {
  height: 30px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.9;
}

@media (max-width: 980px) {
  .proof {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* an odd tile out stretches to close its row instead of leaving an empty cell */
  .proof__item:last-child:nth-child(3n + 2) { grid-column: span 2; }
}

@media (max-width: 560px) {
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof__item:last-child:nth-child(3n + 2) { grid-column: auto; }
  .proof__item:last-child:nth-child(2n + 1) { grid-column: span 2; }
}

/* ------------------------------------------------------------ h1 payoff -- */
/* Small editorial payoff line under a locked-intent H1 headline. Scales
   with the h1's own clamp() via em, so no separate breakpoints needed. */

.h1-payoff {
  display: inline-block;
  margin-top: 0.2em;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lime);
}

/* -------------------------------------------------------------- crumb -- */
/* Visible breadcrumb, sits quietly above the hero. Mirrors the
   BreadcrumbList already declared in each page's JSON-LD — this is that
   trail made visible, per Google's own guidance that structured data
   should reflect something a visitor can actually see. */

.crumb {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  /* The header is position:fixed (styles.css .header) and inner heroes clear
     it with 92px of padding-top (.hero--inner). The crumb is the first element
     inside <main>, ahead of the hero, so it needs that same 92px clearance
     itself — without it the trail rendered underneath the header (seen live
     23/09/2026 at 1280 and 375). The hero that follows then only needs its
     normal gap below the crumb, not a second 92px. */
  padding: calc(92px + 0.9rem) clamp(0.25rem, 1.6vw, 1.6rem) 0;
}

.crumb + .hero--inner { padding-top: 0.9rem; }

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--faint);
}

.crumb li {
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.crumb li:not(:last-child)::after {
  content: "/";
  opacity: 0.4;
}

.crumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.crumb a:hover {
  color: var(--lime);
}

.crumb li[aria-current] {
  color: var(--muted);
}
