:root {
  --blue: #0077c8;
  --blue-deep: #005a9e;
  --blue-soft: #e8f4fc;
  --blue-wash: #f3f9fd;
  --ink: #1a2b3c;
  --muted: #5b6b7c;
  --line: #d7e3ee;
  --white: #ffffff;
  --good: #0b8f5a;
  --warn: #c98500;
  --bad: #d64545;
  --shadow: 0 10px 30px rgba(0, 70, 120, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Nunito", "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--blue-wash);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 15% -10%, rgba(0, 119, 200, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 0%, rgba(0, 170, 230, 0.12), transparent 50%),
    linear-gradient(180deg, #eef6fc 0%, #f7fbfe 40%, #ffffff 100%);
}

.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1.2rem;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
}

.back svg { width: 16px; height: 16px; }
.back:hover { border-color: var(--blue); }

.brand-lock {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: center;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1aa3ff, var(--blue));
  color: white;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(0, 119, 200, 0.28);
}

.brand-lock h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.brand-lock h1 span { color: var(--blue); }

.brand-lock p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(180deg, #1a95e8, var(--blue));
  color: white;
  box-shadow: 0 8px 18px rgba(0, 119, 200, 0.25);
}

.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; filter: none; }

.btn:not(.btn-primary) {
  background: var(--white);
  color: var(--blue);
  border-color: rgba(0, 119, 200, 0.28);
}

.btn:not(.btn-primary):hover { background: var(--blue-soft); }

.wrap {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.15rem 0 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.hero-copy,
.hero-card,
.panel,
.strip,
.cta-banner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy { padding: 1.4rem 1.45rem 1.3rem; }

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h2 {
  margin: 0.45rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 16ch;
}

.lede {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 40rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.hero-pills span {
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-card {
  padding: 1.15rem 1.2rem;
  background: linear-gradient(165deg, #0b7fd0 0%, #005ea8 100%);
  color: white;
  border: none;
}

.hero-card-kicker {
  margin: 0;
  opacity: 0.85;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card-title {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-card ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hero-card li {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
}

.hero-card-note {
  margin: 0.9rem 0 0;
  font-size: 0.72rem;
  opacity: 0.8;
  line-height: 1.35;
}

.story-whisper {
  margin: 0 0 0.9rem;
  padding: 1.05rem 1.25rem 1.1rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 119, 200, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 119, 200, 0.06), rgba(255, 255, 255, 0.92) 42%, rgba(232, 244, 252, 0.55)),
    #ffffff;
  box-shadow: 0 10px 28px rgba(15, 45, 80, 0.05);
  position: relative;
  overflow: hidden;
}

.story-whisper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 119, 200, 0.55), rgba(0, 119, 200, 0.12));
}

.whisper-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.story-whisper h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 36rem;
}

.story-whisper > p:last-child {
  margin: 0.45rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.frame-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.frame-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 0.9rem 0.95rem;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.frame-card-story {
  border-color: rgba(0, 119, 200, 0.28);
  background:
    linear-gradient(160deg, rgba(0, 119, 200, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fbff, #ffffff);
}

.frame-k {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.frame-card h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.frame-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.strip > div {
  padding: 0.95rem 1.1rem;
  border-right: 1px solid var(--line);
}

.strip > div:last-child { border-right: none; }

.strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--blue-deep);
}

.strip span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.hint {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.05rem 1.15rem 1.2rem;
  margin-bottom: 0.9rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.panel-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta {
  color: var(--blue-deep) !important;
  font-weight: 700;
  font-size: 0.82rem !important;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.live-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  background: var(--blue-wash);
}

.live-card .name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
}

.live-card .status {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-card .status.good { color: var(--good); }
.live-card .status.warn { color: var(--warn); }
.live-card .status.bad { color: var(--bad); }
.live-card .status.unknown { color: var(--muted); }

.live-card .desc {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.live-card ul {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.live-card li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--white);
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
}

.live-card li span:last-child {
  color: var(--ink);
  font-weight: 700;
}

.table-scroll { overflow-x: auto; }

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 780px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.9rem;
}

.compare thead th {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare thead th:first-child { border-radius: 12px 0 0 12px; }
.compare thead th:last-child { border-radius: 0 12px 12px 0; }

.compare .dim-label {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
}

.compare .dim-blurb {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.vendors,
.menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.vendor,
.menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--blue-wash);
}

.vendor-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.vendor h4,
.menu h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
}

.vendor .company {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 0.35rem;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--line);
}

.vendor .tagline {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.vendor .hp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hp-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.hp-item .k {
  display: block;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hp-item .v {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.vendor .delivers {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.links a {
  text-decoration: none;
  color: white;
  background: var(--blue);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.links a:hover { background: var(--blue-deep); }

.menu {
  background: var(--white);
}

.menu table {
  width: 100%;
  border-collapse: collapse;
}

.menu th,
.menu td {
  text-align: left;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  vertical-align: top;
}

.menu th {
  color: var(--blue-deep);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu .notes {
  color: var(--muted);
  margin-top: 0.15rem;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, var(--blue-soft), #ffffff);
}

.cta-banner h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
}

.cta-banner p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.price-blurb {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 40rem;
}

.cover-wins {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.cover-win {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  background: var(--blue-soft);
  display: grid;
  gap: 0.25rem;
}

.cover-win strong {
  color: var(--blue);
  font-size: 0.88rem;
}

.cover-win span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.price-quotes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.quote-tier {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 0.9rem;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  align-content: start;
}

.quote-tier.hi,
.quote-tier.tier-max {
  border-color: rgba(0, 119, 200, 0.4);
  box-shadow: 0 12px 24px rgba(0, 119, 200, 0.12);
}

.quote-badge {
  margin: 0;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 119, 200, 0.1);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.quote-name {
  margin: 0.15rem 0 0;
  font-weight: 800;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ink);
}

.quote-price {
  margin: 0;
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.quote-tokens {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quote-pitch {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
  min-height: 2.5em;
}

.quote-yield {
  margin: 0.35rem 0 0;
  padding: 0.45rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.quote-yield li {
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.quote-yield li::before {
  content: "";
}

.apple-sheet.cover {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.84rem;
  margin-bottom: 0.85rem;
}

.apple-sheet.cover th,
.apple-sheet.cover td {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.apple-sheet.cover th:first-child,
.apple-sheet.cover td:first-child {
  text-align: left;
  color: var(--muted);
  font-weight: 700;
}

.apple-sheet.cover thead th span {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
}

.apple-sheet.cover thead th em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.apple-sheet.cover .hi { background: rgba(0, 119, 200, 0.06); }
.apple-sheet.cover .metric td strong { color: var(--blue); font-size: 1rem; }
.apple-sheet.cover .mark.yes { color: var(--blue); font-weight: 800; }
.apple-sheet.cover .mark.no { color: #9aa6b2; }

.limits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.limits-table th,
.limits-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--line);
}

.limits-table th {
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-source {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.price-source a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.price-source a:hover { text-decoration: underline; }

.vendor-plans {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.7rem;
  padding: 0.55rem 0.65rem;
  border: 1px dashed rgba(0, 119, 200, 0.28);
  border-radius: 12px;
  background: var(--blue-soft);
}

.vendor-plans span {
  font-size: 0.8rem;
  color: var(--ink);
}

.vendor-plans strong {
  color: var(--blue);
  margin-right: 0.25rem;
}

.manifesto-panel { padding: 0; overflow: hidden; }

.manifesto {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0;
}

.manifesto-copy {
  padding: 1.25rem 1.3rem;
}

.manifesto-copy .kicker {
  margin: 0;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manifesto-copy h3 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.manifesto-copy p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.manifesto-side {
  background: linear-gradient(165deg, #0b7fd0, #005ea8);
  color: white;
  padding: 1.25rem 1.3rem;
}

.manifesto-side h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
}

.manifesto-side ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.manifesto-side li {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.scorecard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.score {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  background: var(--blue-wash);
}

.score-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: start;
}

.score h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
}

.grade {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: white;
  background: var(--blue);
  flex: 0 0 auto;
}

.grade.A { background: #0b8f5a; }
.grade.B, .grade.B- { background: #1a8fd8; }
.grade.C, .grade.Cplus { background: #c98500; }

.score .posture {
  margin: 0.35rem 0 0;
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 0.82rem;
}

.score .why {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.score .meter {
  margin-top: 0.65rem;
  height: 8px;
  border-radius: 999px;
  background: #d9e7f2;
  overflow: hidden;
}

.score .meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0b8f5a, var(--blue));
}

.score details {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.score summary {
  cursor: pointer;
  color: var(--blue-deep);
  font-weight: 700;
}

.score ul {
  margin: 0.45rem 0 0;
  padding-left: 1.05rem;
  line-height: 1.4;
}

.inventories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.inventory {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  background: var(--white);
}

.inventory h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
}

.inventory .sub {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.inventory .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.inventory .chip {
  border: 1px solid var(--line);
  background: var(--blue-wash);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  color: var(--ink);
}

.inventory .chip.extra {
  background: #fff7e8;
  border-color: #f0d7a4;
}

.incidents {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.incidents h4 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
}

.incident-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.incident-row .impact {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--warn);
}

.incident-row .impact.major { color: var(--bad); }
.incident-row .impact.minor { color: var(--warn); }
.incident-row time { color: var(--muted); font-size: 0.75rem; }

.footnote {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.empty {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .live-grid,
  .vendors,
  .menus,
  .scorecard,
  .inventories,
  .manifesto,
  .strip { grid-template-columns: 1fr; }

  .price-quotes,
  .cover-wins,
  .frame-cards { grid-template-columns: 1fr 1fr; }

  .incident-row { grid-template-columns: 1fr; gap: 0.2rem; }

  .strip > div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .strip > div:last-child { border-bottom: none; }

  .bar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "back reload"
      "brand brand";
  }
  .back { grid-area: back; }
  .btn { grid-area: reload; }
  .brand-lock { grid-area: brand; justify-self: start; }

  .hero h2 { max-width: none; }
  .cta-banner { flex-direction: column; align-items: start; }
}

@media (max-width: 560px) {
  .price-quotes,
  .cover-wins,
  .frame-cards { grid-template-columns: 1fr; }
}
