/* Technical Capabilities page (tc).
   Mobile first. White dominant canvas with brand teal accents. Section
   backgrounds run full width, and content sits in a 1290px container.
   Every text color below is at least 7 to 1 against the surface it is used on,
   which tests/test-technical-capabilities.php verifies by computation.
   No image is used, so the page has no layout shift and its largest paint is text. */

.tc {
  --tc-teal: #003737;
  --tc-teal-2: #0a5c56;
  --tc-tint: #e8f6f3;
  --tc-tint-line: #b9ddd7;
  --tc-ink: #0f172a;
  --tc-body: #1e293b;
  --tc-soft: #334155;
  --tc-line: #cbd5e1;
  --tc-hair: #e2e8f0;
  --tc-surface: #f8fafc;
  --tc-white: #ffffff;
  --tc-on-dark: #e6f4f1;
  --tc-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--tc-body);
  font-size: 1rem;
  line-height: 1.7;
}
.tc *, .tc *::before, .tc *::after { box-sizing: border-box; }
.tc p { margin: 0 0 16px; color: var(--tc-body); }
.tc a { color: var(--tc-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tc a:hover { color: var(--tc-teal-2); }
.tc :focus-visible { outline: 3px solid var(--tc-teal); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--tc-white); }
.tc .bi { color: var(--tc-teal); }

/* Layout */
.tc-wrap { max-width: 1290px; margin: 0 auto; padding: 0 20px; }
.tc-band { padding: 80px 0; background: var(--tc-white); }
.tc-band--surface { background: var(--tc-surface); }
.tc-band--tint { background: var(--tc-tint); }
.tc-band--line { border-top: 1px solid var(--tc-hair); }
@media (min-width: 860px) { .tc-wrap { padding: 0 32px; } .tc-band { padding: 80px 0; } }

/* Type */
.tc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 14px; border: 1px solid var(--tc-tint-line); border-radius: 100px; background: var(--tc-tint); color: var(--tc-teal); font-family: var(--tc-display); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.tc-h1 { font-family: var(--tc-display); font-size: clamp(2rem, 5.2vw, 3.25rem); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; color: var(--tc-ink); margin: 0 0 20px; }
.tc-h2 { font-family: var(--tc-display); font-size: clamp(1.55rem, 3.4vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--tc-ink); margin: 0 0 14px; }
.tc-h3 { font-family: var(--tc-display); font-size: 1.125rem; font-weight: 700; line-height: 1.35; color: var(--tc-ink); margin: 0 0 8px; }
.tc-lead { font-size: 1.0625rem; color: var(--tc-body); max-width: 72ch; margin: 0 0 28px; }
.tc-head { margin: 0 0 32px; }

/* Hero */
.tc-hero { background: var(--tc-white); padding: 48px 0 56px; border-bottom: 1px solid var(--tc-hair); }
.tc-hero__grid { display: grid; gap: 32px; align-items: start; }
.tc-answer { background: var(--tc-tint); border-left: 5px solid var(--tc-teal); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 0 0 24px; }
.tc-answer p { margin: 0; font-size: 1.0625rem; color: var(--tc-ink); }
.tc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 2px solid var(--tc-teal); border-radius: 12px; font-family: var(--tc-display); font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; }
.tc a.tc-btn { text-decoration: none; }
.tc a.tc-btn--solid { background: var(--tc-teal); color: var(--tc-white); }
.tc a.tc-btn--solid .bi { color: var(--tc-white); }
.tc a.tc-btn--solid:hover { background: var(--tc-teal-2); border-color: var(--tc-teal-2); color: var(--tc-white); }
.tc a.tc-btn--ghost { background: var(--tc-white); color: var(--tc-teal); }
.tc a.tc-btn--ghost:hover { background: var(--tc-tint); color: var(--tc-teal); }
.tc-trust { font-size: .9375rem; color: var(--tc-soft); margin: 0; }
/* On a phone the hero is tightened so the direct answer and the primary action
   are both on the first screen. */
@media (max-width: 559px) {
  .tc-hero { padding: 26px 0 44px; }
  .tc-eyebrow { margin-bottom: 12px; padding: 6px 12px; }
  .tc-h1 { font-size: 1.75rem; margin-bottom: 14px; }
  .tc-answer { padding: 14px 16px; margin-bottom: 18px; }
  .tc-answer p { font-size: 1rem; line-height: 1.6; }
  .tc-actions .tc-btn { width: 100%; }
}
@media (max-width: 380px) {
  .tc-hero { padding-top: 18px; }
  .tc-h1 { font-size: 1.625rem; margin-bottom: 12px; }
  .tc-answer { padding: 12px 14px; margin-bottom: 14px; }
  .tc-answer p { line-height: 1.5; }
}
@media (min-width: 992px) {
  .tc-hero { padding: 72px 0 80px; }
  .tc-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; }
}

/* Measured figures */
.tc-stats { margin: 0; padding: 22px; border: 1px solid var(--tc-tint-line); border-radius: 18px; background: var(--tc-surface); display: grid; gap: 12px; }
.tc-stats__list { margin: 0; display: grid; gap: 12px; }
.tc-stats__title { font-family: var(--tc-display); font-weight: 700; color: var(--tc-ink); margin: 0 0 4px; font-size: 1rem; }
.tc-stat { background: var(--tc-white); border: 1px solid var(--tc-hair); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column-reverse; }
.tc-stat dt { font-size: .9375rem; font-weight: 500; color: var(--tc-body); line-height: 1.45; }
.tc-stat dd { margin: 0; font-family: var(--tc-display); font-size: 1.9rem; font-weight: 700; line-height: 1.15; color: var(--tc-teal); }
.tc-stats__note { font-size: .875rem; color: var(--tc-soft); margin: 4px 0 0; }
.tc-figures { display: grid; gap: 14px; margin: 0 0 32px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .tc-figures { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tc-figures { grid-template-columns: repeat(3, 1fr); } }

/* Key takeaways */
.tc-takeaways { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tc-takeaways li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; background: var(--tc-white); border: 1px solid var(--tc-hair); border-radius: 12px; padding: 16px 18px; color: var(--tc-body); }
.tc-takeaways .bi { font-size: 1.25rem; line-height: 1.5; }
@media (min-width: 860px) { .tc-takeaways { grid-template-columns: 1fr 1fr; } .tc-takeaways li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Systems in production */
.tc-systems { display: grid; gap: 16px; }
.tc-system { display: flex; flex-direction: column; gap: 10px; background: var(--tc-white); border: 1px solid var(--tc-line); border-radius: 16px; padding: 22px; }
.tc-system__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tc-system__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tc-tint); font-size: 1.3rem; }
.tc-chip { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tc-ink); background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: 100px; padding: 5px 11px; white-space: nowrap; }
.tc-system p { margin: 0; flex: 1; }
.tc-system__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 0; }
@media (min-width: 640px) { .tc-systems { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tc-systems { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .tc-system { transition: border-color .2s ease, box-shadow .2s ease; }
  .tc-btn { transition: background-color .2s ease, border-color .2s ease; }
}
.tc-system:hover { border-color: var(--tc-teal); box-shadow: 0 8px 24px rgba(0, 55, 55, .08); }

/* Tables */
.tc-tablewrap { overflow-x: auto; border: 1px solid var(--tc-line); border-radius: 16px; background: var(--tc-white); }
.tc-table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.tc-table caption { caption-side: top; text-align: left; padding: 16px 18px; font-family: var(--tc-display); font-weight: 700; color: var(--tc-ink); background: var(--tc-surface); border-bottom: 1px solid var(--tc-line); }
.tc-table thead th { text-align: left; padding: 13px 18px; background: var(--tc-teal); color: var(--tc-white); font-weight: 700; }
.tc-table tbody th { text-align: left; padding: 15px 18px; font-weight: 700; color: var(--tc-ink); vertical-align: top; border-top: 1px solid var(--tc-hair); min-width: 190px; }
.tc-table td { padding: 15px 18px; color: var(--tc-body); vertical-align: top; border-top: 1px solid var(--tc-hair); min-width: 220px; }

/* A grid child may not grow wider than its track, whatever it contains. */
.tc-cases > *, .tc-systems > *, .tc-split > *, .tc-hero__grid > *, .tc-claims > *, .tc-figures > * { min-width: 0; }

/* Split layout: heading rail beside content */
.tc-split { display: grid; gap: 28px; }
@media (min-width: 992px) { .tc-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } }

/* Standards */
.tc-standards { list-style: none; counter-reset: tc-standard; margin: 0; padding: 0; display: grid; gap: 14px; }
.tc-standards li { counter-increment: tc-standard; display: grid; grid-template-columns: 46px 1fr; gap: 16px; background: var(--tc-white); border: 1px solid var(--tc-hair); border-radius: 14px; padding: 18px 20px; }
.tc-standards li::before { content: counter(tc-standard); display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tc-teal); color: var(--tc-white); font-family: var(--tc-display); font-weight: 700; font-size: 1.1rem; }
.tc-standards p { margin: 0; }

/* Restricted uses and escalations */
.tc-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--tc-line); border-radius: 16px; overflow: hidden; background: var(--tc-white); }
.tc-rows li { display: grid; gap: 4px; padding: 16px 20px; border-top: 1px solid var(--tc-hair); }
.tc-rows li:first-child { border-top: 0; }
.tc-rows strong { color: var(--tc-ink); }
.tc-rows span { color: var(--tc-body); }
@media (min-width: 760px) { .tc-rows li { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; } }

/* Case studies */
.tc-cases { display: grid; gap: 16px; }
.tc-case { background: var(--tc-white); border: 1px solid var(--tc-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tc-case p { margin: 0; }
.tc-case__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-case__meta .tc-chip { white-space: normal; }
.tc-case__limit { font-size: .9375rem; color: var(--tc-soft); border-left: 4px solid var(--tc-line); padding-left: 12px; }
@media (min-width: 860px) { .tc-cases { grid-template-columns: 1fr 1fr; } }

/* Founder */
.tc-panel { background: var(--tc-white); border: 1px solid var(--tc-line); border-radius: 18px; padding: 26px; }
.tc-list { margin: 0 0 16px; padding-left: 22px; }
.tc-list li { margin: 8px 0; color: var(--tc-body); }
.tc-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tc-links li { margin: 0; padding: 0; }
.tc-links a { display: inline-flex; align-items: center; min-height: 48px; }

/* Dark band: what we claim and what we do not */
.tc-band--dark { background: var(--tc-teal); }
.tc-band--dark .tc-h2, .tc-band--dark .tc-h3 { color: var(--tc-white); }
.tc-band--dark p, .tc-band--dark li { color: var(--tc-on-dark); }
.tc-band--dark .bi { color: var(--tc-white); }
.tc-band--dark :focus-visible { outline-color: var(--tc-white); box-shadow: 0 0 0 6px var(--tc-teal); }
.tc-claims { display: grid; gap: 20px; }
.tc-claim { border: 1px solid rgba(255, 255, 255, .34); border-radius: 16px; padding: 24px; background: rgba(255, 255, 255, .06); }
.tc-claim ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tc-claim li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
@media (min-width: 860px) { .tc-claims { grid-template-columns: 1fr 1fr; } }

/* FAQ, built on native details so it works with no script */
.tc-faq { border-top: 1px solid var(--tc-line); }
.tc-faq details { border-bottom: 1px solid var(--tc-line); }
.tc-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 18px 4px; font-family: var(--tc-display); font-size: 1.0625rem; font-weight: 700; color: var(--tc-ink); line-height: 1.4; }
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq summary::after { content: '+'; flex-shrink: 0; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--tc-teal); color: var(--tc-teal); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.tc-faq details[open] summary::after { transform: rotate(45deg); background: var(--tc-teal); color: var(--tc-white); }
@media (prefers-reduced-motion: no-preference) { .tc-faq summary::after { transition: transform .2s ease, background-color .2s ease; } }
.tc-faq__a { padding: 0 4px 22px; max-width: 78ch; }
.tc-faq__a p:last-child { margin: 0; }

/* Spacing helpers, so the page carries no inline style */
.tc-mt-sm { margin-top: 20px; }
.tc-mt-md { margin-top: 40px; }
.tc-mb-sm { margin-bottom: 16px; }

/* Closing band */
.tc-close { text-align: left; }
.tc-close .tc-lead { margin-bottom: 24px; }

@media (forced-colors: active) {
  .tc :focus-visible { outline-color: Highlight; }
  .tc-btn, .tc-system, .tc-stat, .tc-claim { border: 2px solid CanvasText; }
}
@media print {
  .tc-band, .tc-hero { padding: 18pt 0; }
  .tc-band--dark { background: #ffffff; }
  .tc-band--dark .tc-h2, .tc-band--dark .tc-h3, .tc-band--dark p, .tc-band--dark li { color: #0f172a; }
  .tc-actions { display: none; }
  .tc-faq details { break-inside: avoid; }
}
