/* ==========================================================================
   TenderOS — global (non-render-blocking) styles
   Components, articles, sections, forms and utilities
   ========================================================================== */

/* General utilities -------------------------------------------------------- */
.te-section { padding-block: var(--te-section-pad, clamp(44px, 6vw, 84px)); }
.te-section--tint { background: var(--te-ink-50); }
.te-section--teal { background: linear-gradient(160deg, var(--te-teal-800), var(--te-teal-900)); color: #fff; }
.te-section--teal h2, .te-section--teal h3 { color: #fff; }
.te-section--teal p { color: rgba(255,255,255,.86); }

.te-section__head { max-width: 780px; margin-inline: auto; text-align: center; margin-block-end: 44px; }
.te-section__eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--te-teal-600); background: var(--te-teal-50); padding: 6px 14px; border-radius: 50px;
  margin-block-end: 16px;
}
.te-section--teal .te-section__eyebrow { color: #fff; background: rgba(255,255,255,.15); }
.te-section__lead { font-size: 1.1rem; color: var(--te-ink-500); margin-block-start: 14px; }
.te-section--teal .te-section__lead { color: rgba(255,255,255,.85); }

.te-text-center { text-align: center; }
.te-mt-lg { margin-block-start: 40px; }
.te-mt-md { margin-block-start: 24px; }
.te-grid { display: grid; gap: var(--te-grid-gap, 22px); }
.te-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.te-grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.te-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Cards -------------------------------------------------------------------- */
.te-card {
  background: #fff; border: 1px solid var(--te-ink-100); border-radius: var(--te-radius);
  padding: 26px; box-shadow: var(--te-shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%;
}
.te-card:hover { transform: translateY(-3px); box-shadow: var(--te-shadow-lg); border-color: var(--te-teal-500); }
/* Alternate card style: visible border, no shadow (set by DESIGN.cardStyle via the root attribute) */
[data-cards='outline'] .te-card { box-shadow: none; border-color: var(--te-ink-300); }
[data-cards='outline'] .te-card:hover { box-shadow: none; border-color: var(--te-teal-600); }
.te-card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px;
  background: var(--te-teal-50); color: var(--te-teal-700); margin-block-end: 16px; font-size: 22px; font-weight: 800;
}
.te-card h3 { margin-block-end: 10px; }
.te-card p { color: var(--te-ink-700); }
/* min-block-size >= 44px keeps the tap target comfortable on mobile. */
.te-card__link { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 16px; font-weight: 700; min-block-size: 44px; }
.te-card__link::after { content: '\2192'; }

/* Article card ------------------------------------------------------------- */
.te-article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--te-ink-100);
  border-radius: var(--te-radius); overflow: hidden; box-shadow: var(--te-shadow);
  transition: transform .2s, box-shadow .2s;
}
.te-article-card:hover { transform: translateY(-3px); box-shadow: var(--te-shadow-lg); }
.te-article-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.te-article-card__cat {
  align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--te-teal-700);
  background: var(--te-teal-50); padding: 4px 11px; border-radius: 50px;
}
.te-article-card__title { font-size: 1.14rem; }
.te-article-card__title a { color: var(--te-ink-900); }
.te-article-card__title a:hover { color: var(--te-teal-700); text-decoration: none; }
.te-article-card__excerpt { color: var(--te-ink-500); font-size: .94rem; flex: 1; }
.te-article-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--te-ink-500); margin-block-start: 6px; }

/* Stats -------------------------------------------------------------------- */
.te-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.te-stat { text-align: center; }
.te-stat__num { font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 800; color: var(--te-teal-600); line-height: 1.05; }
.te-section--teal .te-stat__num { color: #fff; }
.te-stat__label { color: var(--te-ink-500); margin-block-start: 8px; font-weight: 600; font-size: .95rem; }
.te-section--teal .te-stat__label { color: rgba(255,255,255,.8); }

/* Steps -------------------------------------------------------------------- */
.te-steps { counter-reset: step; display: grid; gap: 20px; }
.te-step { position: relative; padding-inline-start: 60px; }
.te-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; inset-inline-start: 0; inset-block-start: 0;
  width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center;
  background: var(--te-teal-700); color: #fff; font-weight: 800; font-size: 17px;
}
.te-step h3 { margin-block-end: 6px; }
.te-step p { color: var(--te-ink-700); }

/* FAQ accordion ------------------------------------------------------------ */
.te-faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.te-faq__item { border: 1px solid var(--te-ink-100); border-radius: var(--te-radius-sm); background: #fff; overflow: hidden; }
.te-faq__item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.04rem; color: var(--te-ink-900);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.te-faq__item summary::-webkit-details-marker { display: none; }
.te-faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--te-teal-600); font-weight: 400; transition: transform .2s; }
.te-faq__item[open] summary::after { transform: rotate(45deg); }
.te-faq__item summary:hover { color: var(--te-teal-700); }
.te-faq__answer { padding: 0 22px 20px; color: var(--te-ink-700); }

/* Footer ------------------------------------------------------------------- */
.te-site-footer { background: var(--te-ink-900); color: #cbd5e1; padding-block: 52px 26px; margin-block-start: 40px; }
.te-site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(auto-fit, minmax(150px, 1fr)); gap: 38px; }
.te-site-footer__brand .te-brand__name { color: #fff; font-size: 21px; display: inline-block; margin-block-end: 12px; }
.te-site-footer__brand p { color: #94a3b8; margin-block-end: 18px; font-size: .93rem; }
.te-site-footer__title { color: #fff; font-size: .98rem; margin-block-end: 15px; }
.te-site-footer__col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.te-site-footer__col a { color: #94a3b8; font-size: .93rem; }
.te-site-footer__col a:hover { color: #fff; text-decoration: none; }
.te-site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-block-start: 1px solid #1e293b; margin-block-start: 38px; padding-block-start: 22px;
  font-size: .88rem; color: #64748b;
}
.te-site-footer__contact { display: flex; gap: 10px; align-items: center; }
.te-site-footer__contact a { color: #94a3b8; }
@media (max-width: 780px) { .te-site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .te-site-footer__grid { grid-template-columns: 1fr; } }

/* Breadcrumbs -------------------------------------------------------------- */
.te-breadcrumbs { background: var(--te-ink-50); border-block-end: 1px solid var(--te-ink-100); font-size: 14px; }
.te-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding-block: 12px; }
.te-breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--te-ink-500); }
.te-breadcrumbs a { color: var(--te-ink-700); }
.te-breadcrumbs [aria-current='page'] { color: var(--te-teal-700); font-weight: 600; }
.te-breadcrumbs__sep { color: var(--te-ink-300); }

/* Hero --------------------------------------------------------------------- */
.te-hero { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--te-teal-50), #fff 62%); }
.te-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; padding-block: clamp(40px, 6vw, 78px); }
.te-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px;
  color: var(--te-teal-700); background: #fff; padding: 7px 15px; border-radius: 50px; box-shadow: var(--te-shadow); margin-block-end: 18px;
  border: 1px solid var(--te-ink-100);
}
.te-hero h1 { margin-block-end: 16px; }
.te-hero__lead { font-size: 1.14rem; color: var(--te-ink-700); margin-block-end: 26px; max-width: 60ch; }
.te-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-end: 24px; }
.te-hero__trust { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: var(--te-ink-500); }
.te-hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.te-hero__trust span::before { content: '\2713'; color: var(--te-teal-600); font-weight: 800; }
.te-hero__card {
  background: #fff; border-radius: var(--te-radius); box-shadow: var(--te-shadow-lg); padding: 24px;
  border: 1px solid var(--te-ink-100);
}
.te-hero__card h2 { font-size: 1.12rem; margin-block-end: 14px; }
@media (max-width: 900px) { .te-hero__inner { grid-template-columns: 1fr; gap: 30px; } .te-hero__card { order: 2; } }

/* Mobile hero: stacking doubles the height, so tighten the rhythm and drop the
   trust strip (its promises repeat verbatim in the hero card below). */
@media (max-width: 640px) {
  .te-hero__inner { padding-block: 24px; gap: 18px; }
  .te-hero h1 { line-height: 1.18; }
  .te-hero__lead { font-size: 1.02rem; margin-block-end: 18px; }
  .te-hero__actions { gap: 10px; margin-block-end: 16px; }
  .te-hero__trust { display: none; }
  .te-hero__card { padding: 16px; }
  .te-hero__card h2 { margin-block-end: 10px; font-size: 1rem; }
  .te-hero__card .te-check-list { gap: 8px; font-size: .89rem; }
  .te-hero__card .te-check-list li::before { width: 20px; height: 20px; font-size: 11px; }
  .te-hero__card p { font-size: .8rem !important; margin-block-start: 12px !important; }
}

/* CTA band ----------------------------------------------------------------- */
.te-cta-band { text-align: center; }
.te-cta-band h2 { margin-block-end: 14px; }
.te-cta-band p { max-width: 660px; margin: 0 auto 24px; font-size: 1.06rem; }
.te-cta-band .te-btn { font-size: 16.5px; padding: 15px 32px; }
.te-cta-band__note { font-size: .88rem; margin-block-start: 16px; }

/* Article body (prose) ----------------------------------------------------- */
.te-prose { max-width: 760px; margin-inline: auto; }
.te-prose > * + * { margin-block-start: 1.2em; }
/* scroll-margin must derive from --te-header-h (the header is sticky). A hard-coded
   number hides the heading under the header when jumping from the table of contents. */
.te-prose h2 { margin-block-start: 1.8em; padding-block-end: .3em; border-block-end: 2px solid var(--te-teal-50); scroll-margin-top: calc(var(--te-header-h, 68px) + 16px); }
.te-prose h3 { margin-block-start: 1.5em; color: var(--te-teal-800); scroll-margin-top: calc(var(--te-header-h, 68px) + 16px); }
.te-prose p, .te-prose li { color: var(--te-ink-700); }
.te-prose ul, .te-prose ol { padding-inline-start: 1.3em; display: grid; gap: .45em; }
.te-prose li { padding-inline-start: 4px; }
.te-prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.te-prose strong { color: var(--te-ink-900); }
.te-prose blockquote {
  border-inline-start: 4px solid var(--te-teal-600); background: var(--te-teal-50);
  padding: 16px 22px; border-radius: 0 var(--te-radius-sm) var(--te-radius-sm) 0; color: var(--te-ink-700); font-style: normal;
}
.te-prose blockquote p { margin: 0; }
.te-prose img { border-radius: var(--te-radius-sm); margin-block: 1.5em; box-shadow: var(--te-shadow); }
.te-prose code {
  background: var(--te-ink-100); padding: 2px 7px; border-radius: 5px; font-size: .9em;
  font-family: var(--font-mono, monospace); display: inline-block;
}

/* Responsive tables -------------------------------------------------------- */
.te-table-wrap { overflow-x: auto; margin-block: 1.5em; border-radius: var(--te-radius-sm); border: 1px solid var(--te-ink-100); }
.te-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.te-prose thead { background: var(--te-teal-700); color: #fff; }
.te-prose th, .te-prose td { padding: 12px 15px; text-align: start; border-block-end: 1px solid var(--te-ink-100); }
.te-prose tbody tr:nth-child(even) { background: var(--te-ink-50); }
.te-prose tbody tr:hover { background: var(--te-teal-50); }

/* Critical on mobile: min-width 460px makes every table wider than the article
   column (~335px on a 375px screen). Drop the minimum on narrow screens. */
@media (max-width: 560px) {
  .te-prose table { min-width: 0; font-size: .85rem; }
  .te-prose th, .te-prose td { padding: 9px 10px; }
}

/* Answer / featured-snippet box -------------------------------------------- */
.te-answer-box {
  background: var(--te-teal-50); border: 1px solid var(--te-teal-500); border-inline-start-width: 5px;
  border-radius: var(--te-radius-sm); padding: 20px 24px; margin-block: 1.5em;
}
.te-answer-box strong { color: var(--te-teal-800); }

/* Table of contents -------------------------------------------------------- */
.te-toc { background: var(--te-ink-50); border: 1px solid var(--te-ink-100); border-radius: var(--te-radius); padding: 20px 24px; margin-block: 2em; }
.te-toc h2 { font-size: 1.05rem; margin: 0 0 12px; border: 0; padding: 0; }
.te-toc ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 7px; }
.te-toc a { color: var(--te-ink-700); text-decoration: none; }
.te-toc a:hover { color: var(--te-teal-700); text-decoration: underline; }

/* Article header ----------------------------------------------------------- */
.te-article-header { max-width: 760px; margin-inline: auto; text-align: center; padding-block: 36px 8px; }
.te-article-header__cat { color: var(--te-teal-700); font-weight: 700; }
.te-article-header h1 { margin-block: 14px 16px; }
.te-article-header__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center;
  color: var(--te-ink-500); font-size: .9rem;
}
.te-article-header__meta time, .te-article-header__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Author box (E-E-A-T) ----------------------------------------------------- */
.te-author-box {
  display: flex; gap: 18px; align-items: center; max-width: 760px; margin: 44px auto 0;
  padding: 22px; background: var(--te-ink-50); border: 1px solid var(--te-ink-100); border-radius: var(--te-radius);
}
.te-author-box__avatar {
  width: 58px; height: 58px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--te-teal-600), var(--te-teal-900)); color: #fff; font-size: 24px; font-weight: 800;
}
.te-author-box__name { font-weight: 800; color: var(--te-ink-900); }
.te-author-box__title { color: var(--te-ink-500); font-size: .9rem; }

/* Related articles --------------------------------------------------------- */
.te-related { border-block-start: 1px solid var(--te-ink-100); margin-block-start: 44px; padding-block-start: 38px; }

/* Forms -------------------------------------------------------------------- */
.te-form-field { display: grid; gap: 6px; margin-block-end: 18px; }
.te-form-field label { font-weight: 700; font-size: .93rem; }
.te-form-field input, .te-form-field textarea, .te-form-field select {
  font-family: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--te-ink-300);
  border-radius: var(--te-radius-sm); background: #fff; color: var(--te-ink-900); width: 100%;
}
.te-form-field input:focus, .te-form-field textarea:focus, .te-form-field select:focus {
  outline: none; border-color: var(--te-teal-600); box-shadow: 0 0 0 3px rgba(34,88,159,.18);
}

/* Check list --------------------------------------------------------------- */
.te-check-list { list-style: none; padding: 0; display: grid; gap: 13px; }
.te-check-list li { display: flex; gap: 12px; align-items: flex-start; }
.te-check-list li::before {
  content: '\2713'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
  background: var(--te-teal-50); color: var(--te-teal-700); display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.te-check-list--dark li::before { background: rgba(255,255,255,.16); color: #fff; }
.te-check-list--dark li { color: rgba(255,255,255,.9); }

/* Pills -------------------------------------------------------------------- */
.te-pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-block-start: 18px; }
.te-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 50px;
  background: #fff; border: 1px solid var(--te-ink-300); color: var(--te-ink-700);
  font-size: .87rem; font-weight: 600; line-height: 1.4;
}
.te-pill--solid { background: var(--te-teal-50); border-color: var(--te-teal-500); color: var(--te-teal-800); }
.te-section--teal .te-pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; }

/* Tender → Workspace flow visual ------------------------------------------- */
.te-flow { display: grid; grid-template-columns: 1fr auto 1.35fr; gap: 22px; align-items: center; }
.te-flow__col { background: #fff; border: 1px solid var(--te-ink-300); border-radius: var(--te-radius); padding: 22px; }
.te-flow__col h3 { font-size: 1.02rem; margin-block-end: 12px; color: var(--te-teal-800); }
.te-flow__doc { display: grid; gap: 7px; }
.te-flow__line { height: 8px; border-radius: 3px; background: var(--te-ink-100); }
.te-flow__line--short { width: 62%; }
.te-flow__line--mid { width: 84%; }
.te-flow__arrow { font-size: 1.7rem; color: var(--te-teal-600); font-weight: 800; text-align: center; }
.te-flow__items { display: flex; flex-wrap: wrap; gap: 8px; }
.te-flow__item {
  padding: 8px 13px; border-radius: var(--te-radius-sm); background: var(--te-teal-50);
  border: 1px solid var(--te-teal-500); color: var(--te-teal-800); font-weight: 700; font-size: .86rem;
}
@media (max-width: 820px) {
  .te-flow { grid-template-columns: 1fr; }
  .te-flow__arrow { transform: rotate(90deg); }
}

/* Pricing plans ------------------------------------------------------------ */
.te-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.te-plan {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--te-ink-300);
  border-radius: var(--te-radius); padding: 26px 22px;
}
.te-plan--featured { border-color: var(--te-teal-600); border-width: 2px; box-shadow: var(--te-shadow-lg); }
.te-plan__badge {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--te-teal-900); background: var(--te-amber-500); padding: 4px 11px; border-radius: 50px; margin-block-end: 12px;
}
.te-plan__name { font-size: 1.16rem; font-weight: 800; color: var(--te-ink-900); }
.te-plan__price { font-size: 2.05rem; font-weight: 800; color: var(--te-teal-700); line-height: 1.1; margin-block-start: 12px; }
.te-plan__period { font-size: .88rem; color: var(--te-ink-500); font-weight: 600; }
.te-plan__desc { color: var(--te-ink-500); font-size: .92rem; margin-block-start: 10px; min-block-size: 48px; }
.te-plan__cta { margin-block: 18px; width: 100%; }
.te-plan__features { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .9rem; color: var(--te-ink-700); flex: 1; }
.te-plan__features li { display: flex; gap: 9px; align-items: flex-start; }
.te-plan__features li::before { content: '\2713'; color: var(--te-teal-600); font-weight: 800; flex-shrink: 0; }
.te-plan__features li.is-off { color: var(--te-ink-500); }
.te-plan__features li.is-off::before { content: '\2013'; color: var(--te-ink-300); }

/* Key–value spec rows ------------------------------------------------------ */
.te-kv { display: grid; gap: 0; border: 1px solid var(--te-ink-100); border-radius: var(--te-radius); overflow: hidden; }
.te-kv__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-block-end: 1px solid var(--te-ink-100); }
.te-kv__row:last-child { border-block-end: 0; }
.te-kv__k { padding: 12px 16px; background: var(--te-ink-50); font-weight: 700; font-size: .92rem; color: var(--te-ink-900); }
.te-kv__v { padding: 12px 16px; font-size: .92rem; color: var(--te-ink-700); }
@media (max-width: 560px) { .te-kv__row { grid-template-columns: 1fr; } .te-kv__k { border-block-end: 1px solid var(--te-ink-100); } }

/* Note / callout ----------------------------------------------------------- */
.te-note {
  border: 1px solid var(--te-ink-300); border-inline-start: 4px solid var(--te-teal-600);
  border-radius: var(--te-radius-sm); padding: 16px 20px; background: var(--te-ink-50); font-size: .94rem; color: var(--te-ink-700);
}
.te-note--warn { border-inline-start-color: var(--te-amber-500); background: #fffbf2; }
.te-note strong { color: var(--te-ink-900); }

/* Demo / status badge ------------------------------------------------------ */
.te-badge {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; background: var(--te-ink-100); color: var(--te-ink-700);
}
.te-badge--demo { background: var(--te-amber-500); color: var(--te-teal-900); }
.te-badge--free { background: var(--te-teal-50); color: var(--te-teal-800); border: 1px solid var(--te-teal-500); }

/* Routing hub (topic clusters) --------------------------------------------- */
.te-link-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.te-link-hub__col { background: #fff; border: 1px solid var(--te-ink-300); border-radius: var(--te-radius); padding: 22px; }
.te-link-hub__col h3 { font-size: 1rem; color: var(--te-teal-800); margin-block-end: 12px; }
.te-link-hub__col ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.te-link-hub__col a { color: var(--te-ink-700); }
.te-link-hub__col a:hover { color: var(--te-teal-700); }

/* Split feature block ------------------------------------------------------ */
.te-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.te-split--rev .te-split__text { order: 2; }
@media (max-width: 860px) { .te-split { grid-template-columns: 1fr; gap: 26px; } .te-split--rev .te-split__text { order: 0; } }

/* Mini compliance-matrix preview ------------------------------------------- */
.te-matrix-demo { width: 100%; border-collapse: collapse; font-size: .84rem; }
.te-matrix-demo th { background: var(--te-teal-800); color: #fff; padding: 9px 11px; text-align: start; font-weight: 700; white-space: nowrap; }
.te-matrix-demo td { padding: 9px 11px; border-block-end: 1px solid var(--te-ink-100); color: var(--te-ink-700); vertical-align: top; }
.te-matrix-demo tbody tr:nth-child(even) { background: var(--te-ink-50); }
.te-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.te-tag--must { background: #fde7e7; color: #9b1c1c; }
.te-tag--ok { background: #e3f5e9; color: #14663a; }
.te-tag--gap { background: #fff3d6; color: #8a5a06; }
.te-tag--info { background: var(--te-teal-50); color: var(--te-teal-800); }

/* Mobile tap targets ------------------------------------------------------- */
/* Measured at 375px: pills came out 35px, the header CTA 43px and routing-hub
   text links 20px. Anything a thumb has to hit gets at least ~44px of height. */
@media (max-width: 720px) {
  .te-pill { min-block-size: 44px; padding-block: 10px; }
  .te-site-nav__cta { min-block-size: 46px; }
  .te-brand { min-block-size: 44px; }
  .te-link-hub__col ul { gap: 2px; }
  .te-link-hub__col li a { display: block; padding-block: 11px; }
  .te-site-footer__col ul { gap: 2px; }
  .te-site-footer__col li a { display: inline-block; padding-block: 10px; }
}

/* Accessibility: reduced motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
