/* Sector worked-example pages. Loaded after styles.css, which supplies every token used here. */

.sx-hero { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.sx-h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; max-width: 22ch; margin: 0 0 1rem; }
.sx-lede { font-size: 1.0625rem; color: var(--ink-soft); max-width: 66ch; line-height: 1.7; margin: 0 0 1.4rem; }
.sx-decision {
  display: inline-block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); border: 1px solid var(--brand);
  padding: 0.35rem 0.7rem; border-radius: 2px; margin-bottom: 1.2rem;
}

.sx-synthetic {
  border-left: 2px solid var(--rule-strong); background: var(--panel);
  padding: 1rem 1.2rem; margin: 1.6rem 0 0; max-width: 72ch;
}
.sx-synthetic b { display: block; font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 0.45rem; font-family: var(--mono); }
.sx-synthetic p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

.sx-sec { padding-block: 0 3rem; }
.sx-sec h2 { font-size: 1.4rem; margin: 2.4rem 0 0.5rem; }
.sx-sec .sx-sub { font-size: 0.9375rem; color: var(--ink-soft); max-width: 66ch; line-height: 1.65; margin: 0 0 1.2rem; }

/* the document bundle */
.sx-bundle { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sx-doc { background: var(--paper); padding: 0.9rem 1.1rem; }
.sx-doc b { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.2rem; }
.sx-doc span { display: block; font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.55; }

/* what the core examines */
.sx-caps { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem; }
.sx-caps span {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.05em;
  border: 1px solid var(--rule-strong); color: var(--ink-soft);
  padding: 0.28rem 0.55rem; border-radius: 2px;
}

/* findings */
.sx-find { border: 1px solid var(--rule); border-radius: 3px; background: var(--paper);
  padding: 1.1rem 1.2rem; margin-bottom: 0.9rem; }
.sx-find-h { display: flex; align-items: baseline; justify-content: space-between; gap: 0.7rem; margin-bottom: 0.6rem; }
.sx-find-t { font-size: 1rem; font-weight: 600; }
.sx-kind { font-family: var(--mono); font-size: 0.5625rem; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.15rem 0.4rem; border-radius: 2px; border: 1px solid var(--rule-strong); color: var(--muted); white-space: nowrap; }
.sx-find p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.65; margin: 0 0 0.7rem; }
.sx-anchor { border-top: 1px solid var(--rule); padding-top: 0.65rem; margin-top: 0.2rem; }
.sx-anchor b { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand); display: block; margin-bottom: 0.35rem; }
.sx-anchor ul { margin: 0; padding-left: 1.1rem; }
.sx-anchor li { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 0.2rem; }
.sx-benign { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.6; margin: 0.7rem 0 0;
  padding-top: 0.65rem; border-top: 1px solid var(--rule); }
.sx-benign b { color: var(--ink); font-weight: 600; }

/* verdict */
.sx-verdict { border: 1px solid var(--brand); border-radius: 3px; padding: 1.3rem 1.4rem; background: var(--panel); }
.sx-verdict-n { font-family: var(--mono); font-size: 1.1rem; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 0.6rem; }
.sx-verdict p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.7; margin: 0 0 0.7rem; }
.sx-verdict p:last-child { margin-bottom: 0; }

/* nav between sectors */
.sx-other { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.sx-other a {
  font-size: 0.8125rem; border: 1px solid var(--rule-strong); border-radius: 2px;
  padding: 0.4rem 0.7rem; color: var(--ink-soft); text-decoration: none;
}
.sx-other a:hover { border-color: var(--brand); color: var(--brand); }
.sx-other a.here { border-color: var(--brand); color: var(--brand); }
