/* =========================================================
   Verified findings (#examples)
   Kept in its own file because everything under assets/ is
   immutable-cached for a year: editing site.css in place would
   not reach returning visitors, a new filename does.
   Relies on the design tokens declared in site.css.
   ========================================================= */
.examples {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 44px);
}

.examples__intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 80px;
}

.examples__lead {
  flex: 1 1 480px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.examples__blurb {
  flex: 1 1 320px;
  max-width: 460px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
}


/* ---------- Controls (injected by examples.js) ---------- */
.examples__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.examples__controls[hidden] { display: none; }

.examples__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.examples__tab,
.examples__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  border-radius: 0;
}

.examples__tab {
  width: 40px;
  height: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.examples__tab[aria-selected="true"] {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.examples__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.examples__counter {
  padding-right: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.examples__step {
  width: 48px;
  height: 48px;
}

.examples__tab:focus-visible,
.examples__step:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* ---------- Finding card ---------- */
.examples__panels {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}

.finding-case {
  border: var(--border-strong);
  box-shadow: clamp(6px, 0.7vw, 10px) clamp(6px, 0.7vw, 10px) 0 var(--shadow);
  background: var(--bg-dark); /* shows through the 1px gaps as hairlines */
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.finding-case[hidden] { display: none; }

.finding-case__head {
  min-height: 48px;
  padding: 12px clamp(20px, 2.4vw, 32px);
  background: var(--bg-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.finding-case__sheets { color: var(--text-muted); }

.finding-case__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
}

.finding-case__col {
  padding: 24px clamp(20px, 2.4vw, 32px) 28px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.finding-case__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.finding-case__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
