/* keel's Readiness, drawn like the app, shared by the homepage and the
   solutions pages (moved here 2026-10-22). */
/* The hero: keel's Readiness, drawn like the app (dark; made-up
   names): what needs action across aircraft and people, and why. */
.hero {
  margin: 8px 0 0;
  padding: 10px;
  border-radius: 16px;
  background: #0f1115;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px rgba(21, 24, 30, 0.18),
    0 8px 20px rgba(21, 24, 30, 0.1);
}
.ready {
  --r-bg: #15181e;
  --r-line: #262b35;
  --r-head: #f5f6f8;
  --r-text: #dfe3e9;
  --r-sub: #9099a8;
  --r-link: #a6a1ff;
  --r-red: #ff7a90;
  --r-red-bg: #3d1622;
  --r-red-line: #6b2438;
  --r-amber: #ffa35c;
  --r-amber-bg: #3a250f;
  --r-amber-line: #6a4415;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 32px 12px;
  border-radius: 8px;
  background: var(--r-bg);
  color: var(--r-text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.ready svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
/* Today (Oct 26, as the app): aircraft online and crew on duty, each
   "x of y" with its bar and names, then Action needed as one list. */
.r-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--r-head);
}
.r-today {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.r-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.r-label {
  color: var(--r-sub);
  font-size: 13px;
}
.r-num {
  color: var(--r-head);
  font-size: 22px;
  line-height: 28px;
}
.r-num small {
  color: var(--r-sub);
  font-size: 13px;
}
.r-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--r-line);
  overflow: hidden;
}
.r-bar i {
  display: block;
  height: 100%;
  background: #8f88ff;
}
.r-names {
  color: var(--r-link);
  font-size: 13px;
  line-height: 19px;
}
.r-sq {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: 0;
}
.r-sq.na {
  background: var(--r-red);
}
.r-sq.soon {
  background: var(--r-amber);
}
.r-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 12px;
  border-bottom: 1px solid var(--r-line);
}
.r-group strong {
  color: var(--r-head);
  font-size: 22px;
  line-height: 28px;
}
.r-group span {
  color: var(--r-sub);
  font-size: 22px;
}
.r-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.r-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--r-line);
}
.r-item .r-sq {
  margin: 0;
}
.r-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.r-name {
  color: var(--r-link);
  font-weight: 600;
}
.r-why {
  color: var(--r-sub);
}
.r-side {
  color: var(--r-sub);
  font-size: 13px;
  line-height: 18px;
  text-align: right;
}
.r-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  border: 1px solid;
  font-size: 12px;
  white-space: nowrap;
}
.r-badge svg {
  width: 12px;
  height: 12px;
}
.r-badge.na {
  color: var(--r-red);
  background: var(--r-red-bg);
  border-color: var(--r-red-line);
}
.r-badge.soon {
  color: var(--r-amber);
  background: var(--r-amber-bg);
  border-color: var(--r-amber-line);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* A phone: the two counts stacked, as the app draws them. */
@media (max-width: 640px) {
  .hero {
    padding: 6px;
    border-radius: 12px;
  }
  .ready {
    padding: 20px 16px 4px;
    gap: 16px;
  }
  .r-today {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
