/* VIP-599 — Product status typography and presentation.
   Independent of the legacy screenshot concepts and Vigo operator styles.
   17px reading baseline approximates the former experience at ~120% zoom. */

:root {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 17px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--canvas);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.audo {
  --ink: #202d32;
  --muted: #526167;
  --fine: #64747a;
  --line: #dce2e2;
  --canvas: #faf9f6;
  --paper: #fff;
  --accent: #a8732d;
  --accent-ink: #81531b;
  --accent-soft: #f6f1e7;
}
.tsc {
  --ink: #192f32;
  --muted: #536469;
  --fine: #65777a;
  --line: #d9e3e0;
  --canvas: #f8faf9;
  --paper: #fff;
  --accent: #19766c;
  --accent-ink: #12665e;
  --accent-soft: #edf5f1;
}

.shell { width: min(1140px, calc(100% - 3.2rem)); margin: 0 auto; }
.preview-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  padding: .55rem 1rem;
  color: #fff;
  background: #37444c;
  font: 500 .78rem/1.5 system-ui, sans-serif;
}
.preview-strip strong { font-weight: 700; letter-spacing: .02em; }
.preview-strip span { opacity: .89; }

/* Masthead — keep product identity unmistakable without a promotional hero. */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 110px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.logo { display: block; object-fit: contain; object-position: left center; }
.audo .logo { width: 188px; height: 78px; }
.tsc .logo { width: 64px; height: 64px; }
.brand-name {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.masthead-end { display: flex; align-items: center; gap: 1.6rem; }
.masthead-label {
  color: var(--muted);
  font: 700 .78rem/1.3 system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}
.product-link .status-glyph { width: 17px; height: 17px; }
.product-link:hover,
.product-link:focus-visible { border-bottom-color: var(--accent); color: var(--accent-ink); }

/* Condition summary — compact, with the state itself as the emphasis. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  align-items: center;
  gap: 2.25rem;
  padding: 1.7rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}
.kicker {
  margin: 0 0 .55rem;
  color: var(--accent-ink);
  font: 700 .78rem/1.4 system-ui, sans-serif;
  letter-spacing: .075em;
}
.hero h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; }
.lede { max-width: 66ch; margin: 0 0 .95rem; color: var(--muted); font-size: .94rem; }
.hero-condition {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  color: var(--muted);
  font-size: .85rem;
}
.condition {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .32rem .65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}
.dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #87979b;
}
.hero-aside {
  align-self: stretch;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: .5rem 0 .5rem 1.55rem;
  border-left: 1px solid var(--line);
}
.coverage-label { color: var(--muted); font: 600 .82rem/1.45 system-ui, sans-serif; }
.coverage-value {
  display: flex;
  align-items: baseline;
  gap: .2rem;
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.coverage-value strong { font-size: 2.65rem; font-weight: 650; line-height: 1.2; letter-spacing: -.065em; }
.coverage-value span { font-size: 1.12rem; color: var(--fine); }
.hero-aside p { margin: .2rem 0 0; color: var(--muted); font: .8rem/1.5 system-ui, sans-serif; }

/* Provenance is evidence, not a second navigation bar. */
.source-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem 1.3rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: .82rem/1.55 system-ui, sans-serif;
}
.source-title { display: inline-flex; align-items: center; gap: .42rem; }
.source-title .status-glyph { width: 17px; height: 17px; color: var(--accent-ink); }
.source-title strong { color: var(--ink); font-weight: 650; }

.services { padding: 1.7rem 0 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: .9rem;
  margin-bottom: 1rem;
}
.section-heading h2 {
  margin: 0 0 .2rem;
  font-size: 1.46rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.section-count { color: var(--fine); font: 600 .8rem/1.45 system-ui, sans-serif; white-space: nowrap; }
.checks { display: grid; gap: .75rem; }

/* Evidence cards — labels are comfortably readable at normal browser zoom. */
.check {
  min-width: 0;
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 2px 10px rgb(21 38 40 / 2%);
}
.check-identity { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.check-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.status-glyph { display: block; width: 21px; height: 21px; }
.check-names { flex: 1; min-width: 0; }
.check-title { margin: 0; font-size: 1.05rem; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; }
.check-sub { display: block; margin: .13rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.check-state {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font: 650 .84rem/1.4 system-ui, sans-serif;
  text-align: right;
  white-space: nowrap;
}
.check-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .12rem .47rem;
  margin: .6rem 0 0;
  color: var(--muted);
  font: .79rem/1.5 system-ui, sans-serif;
}
.check-meta .sep { color: var(--fine); }
.metrics {
  display: grid;
  grid-template-columns: 1.05fr .85fr 1.1fr;
  gap: .4rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.metrics > div { min-width: 0; }
.metrics > div + div { padding-left: .8rem; border-left: 1px solid var(--line); }
.metrics dt { margin: 0; color: var(--muted); font: 500 .78rem/1.5 system-ui, sans-serif; }
.metrics dd { margin: .17rem 0 0; color: var(--ink); font: 650 1.32rem/1.3 system-ui, sans-serif; letter-spacing: -.035em; }
.check-provenance {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem 1rem;
  color: var(--fine);
  font: .78rem/1.5 system-ui, sans-serif;
}
/* .auDO reads as a compact evidence register. */
.audo .check{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  align-items: center;
  column-gap: 1.2rem;
  row-gap: .8rem;
}
.audo .check-identity { grid-column: 1; grid-row: 1; }
.audo .check-meta { grid-column: 1; grid-row: 2; margin: 0; }
.audo .metrics {
  grid-column: 2;
  grid-row: 1;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}
.audo .check-provenance {
  grid-column: 2;
  grid-row: 2;
  flex-direction: column;
  gap: .12rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}
/* ThreatScope keeps product and API peers, with matching metric anatomy. */
.tsc .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsc .check { display: flex; flex-direction: column; gap: .85rem; }
.tsc .check-meta { margin: 0; }
.tsc .metrics { margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); }
.tsc .check-provenance {
  flex-direction: column;
  gap: .16rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
}

/* A subordinate signal — visibly linked to the primary services. */
.supporting {
  display: grid;
  grid-template-columns: minmax(285px, 1.1fr) minmax(195px, .78fr) minmax(195px, .72fr);
  align-items: center;
  gap: 1.15rem;
  margin-top: .75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.supporting-identity { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.supporting-identity .check-icon { background: var(--canvas); }
.supporting-kicker { color: var(--accent-ink); font: 650 .77rem/1.4 system-ui, sans-serif; }
.supporting h3 { margin: .15rem 0 .18rem; font-size: .96rem; font-weight: 600; line-height: 1.35; }
.supporting-identity p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.secondary-details { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.status-line { display: flex; align-items: center; gap: .45rem; color: var(--muted); font: 650 .85rem/1.4 system-ui, sans-serif; }
.supporting-cadence, .supporting-observed { color: var(--muted); font: .79rem/1.5 system-ui, sans-serif; }
.supporting-summary { min-width: 0; padding-left: 1rem; border-left: 1px solid var(--line); }
#supporting-state { color: var(--ink); font: 650 .84rem/1.4 system-ui, sans-serif; }
.supporting-summary p { margin: .3rem 0 0; color: var(--muted); font: .78rem/1.5 system-ui, sans-serif; }

/* Interpretation, not a large boilerplate panel. */
.boundary {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 1.3rem 0 1.65rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.boundary-symbol { color: var(--accent-ink); margin-top: .14rem; }
.boundary h2 {
  margin: 0 0 .28rem;
  font: 700 .76rem/1.4 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.boundary p { margin: 0 0 .36rem; color: var(--muted); font: .81rem/1.55 system-ui, sans-serif; }
.boundary .history-boundary { color: var(--fine); }
footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding: 1.1rem 0 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--fine);
  font: .79rem/1.5 system-ui, sans-serif;
}

/* Colour is meaningful only for the product identity and state exceptions. */
.hero[data-core-state="operational"] .condition .dot,
.check[data-state="operational"] .dot,
.secondary-details[data-state="operational"] .dot { background: #13805d; }
.hero[data-core-state="outage"] .condition .dot,
.check[data-state="outage"] .dot,
.secondary-details[data-state="outage"] .dot { background: #c4414d; }
.hero[data-core-state="degraded"] .condition .dot,
.check[data-state="degraded"] .dot,
.secondary-details[data-state="degraded"] .dot { background: #bd7d21; }
.hero[data-core-state="maintenance"] .condition .dot,
.check[data-state="maintenance"] .dot,
.secondary-details[data-state="maintenance"] .dot { background: #6b70ba; }
.hero[data-core-state="unknown"] .condition .dot,
.check[data-state="unknown"] .dot,
.secondary-details[data-state="unknown"] .dot { background: #89989a; }
.hero[data-core-state="outage"] .condition,
.check[data-state="outage"] .check-state { color: #a53640; border-color: #eacdd0; }
.hero[data-core-state="degraded"] .condition,
.check[data-state="degraded"] .check-state { color: #98601b; border-color: #e9d7b9; }
.hero[data-core-state="operational"] .condition,
.check[data-state="operational"] .check-state { color: #126b50; }
.hero[data-core-state="unknown"] .condition,
.check[data-state="unknown"] .check-state { color: #66767c; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* Preserve visual rhythm when the wider typography forces wrapping. */
@media (max-width: 1000px) {
  .supporting { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .supporting-summary { grid-column: 1 / -1; padding: .65rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 840px) {
  .shell { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: .9rem; padding: 1.4rem 0; }
  .hero-aside {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: .85rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .coverage-value { grid-row: 1 / 3; grid-column: 2; }
  .hero-aside p { grid-row: 2; grid-column: 1; }
  .audo .check { grid-template-columns: 1fr; gap: .85rem; }
  .audo .check-identity, .audo .check-meta,
  .audo .metrics, .audo .check-provenance { grid-column: 1; grid-row: auto; }
  .audo .metrics { border-left: 0; border-top: 1px solid var(--line); padding: .7rem 0 0; }
  .audo .check-provenance { padding: 0; border-left: 0; }
  .tsc .checks { grid-template-columns: 1fr; }
  .supporting { grid-template-columns: 1fr; gap: .75rem; }
  .supporting-summary { grid-column: 1; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 1.25rem); }
  .masthead { min-height: 92px; gap: .6rem; }
  .masthead-end { gap: .55rem; }
  .masthead-label { display: none; }
  .audo .logo { width: 148px; height: 64px; }
  .tsc .logo { width: 48px; height: 48px; }
  .brand { gap: .55rem; }
  .brand-name { font-size: 1.03rem; }
  .product-link { font-size: .76rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.15rem); }
  .section-heading { align-items: flex-start; }
  .check, .supporting { padding: 1rem .9rem; }
  .check-identity { flex-wrap: wrap; }
  .check-state { flex-basis: 100%; margin-left: 49px; text-align: left; }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metrics dd { font-size: 1.17rem; }
  .metrics > div + div { padding-left: .45rem; }
  .check-provenance { font-size: .77rem; }
}
@media (max-width: 360px) {
  .tsc .brand-name { max-width: 95px; }
  .product-link { white-space: normal; text-align: right; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .65rem; }
  .metrics > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
