/* ==========================================================================
   137 CORE SPC — SB 253 Reasonable Assurance Framework (sub-page)
   Owner-supplied styling. Palette: #000000 bg · #ffffff text · #888888 / #a0a0a0
   gray · #E5A93C gold · #141414 hairlines · #050505 panels. One 4px gold stripe.
   Selectors are class-scoped (.sb-header) rather than bare `header`, so this
   stylesheet stays safe if the two pages are ever merged.
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.top-stripe {
  height: 4px;
  background: linear-gradient(90deg, #E5A93C, #F3D078, #E5A93C);
  width: 100%;
}

.sb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid #141414;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  white-space: nowrap;
}
.logo span { color: #E5A93C; }

.back-link {
  color: #888888;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.back-link:hover { color: #E5A93C; }

.content-moat {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 4rem;
}

.page-title { margin-bottom: 3rem; }
.page-title h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.page-title p {
  color: #E5A93C;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* METRIC CORE LAYOUT PANELS */
.framework-panel {
  background-color: #050505;
  border: 1px solid #141414;
  padding: 3rem;
  margin-bottom: 2.5rem;
}

.panel-meta {
  color: #888888;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.panel-meta span { color: #E5A93C; }

.framework-panel h2 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.framework-panel p {
  color: #a0a0a0;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* CHECKLIST SYSTEM */
.bullet-stack {
  list-style: none;
  margin-top: 1.5rem;
}
.bullet-stack li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #ffffff;
}
.bullet-stack li::before {
  content: "\25AA";
  position: absolute;
  left: 0;
  color: #E5A93C;
}
.bullet-stack strong {
  color: #E5A93C;
  font-weight: 700;
}

/* Scope note — added; this page makes statutory claims and must not read as legal advice. */
.statute-note {
  border-top: 1px solid #141414;
  padding-top: 1.5rem;
  margin-top: 3rem;
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.7;
}
.statute-note strong { color: #a0a0a0; font-weight: 700; }

/* ==========================================================================
   LIVE REGULATORY COMPLIANCE TRACKER
   Owner-supplied styling. NOTE: the pasted snippet interleaved the HTML and the
   CSS — the section's class name arrived split as
   `class="live-tracker-va/* LIVE TRACKER CONTAINER STYLING */…"`. Reconstructed
   to `live-tracker-vault` to match the rule below, which is the only valid reading.
   ========================================================================== */
.live-tracker-vault {
  background-color: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-left: 3px solid #E5A93C;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.tracker-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.tracker-title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

/* Was .live-pulse (green, glowing). This panel is a hand-maintained static
   summary, so the green "systems online" treatment was removed along with the
   live-feed wording it implied. Muted gold/gray to match the page palette. */
.log-status {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888888;
}

/* scoped to the tracker: this page's stylesheet has no other .status-dot, but
   css/style.css defines a different .pulse-dot (7px, #34D399, animated) used by
   the main page's ledger panel — keep the two from ever being conflated.
   No glow and no animation: nothing here is live. */
.live-tracker-vault .status-dot {
  width: 8px;
  height: 8px;
  background-color: #E5A93C;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Shared footnote used by the change-log and the calendar panel. Both panels
   carry unverified, hand-authored regulatory dates; this note is what tells the
   reader so. */
.panel-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #141414;
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.6;
}
.panel-note strong { color: #ffffff; }

/* TRACK LOG LINE ITEMS */
.log-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;      /* <ol> was used for timeline semantics; no visible markers */
  padding-left: 0;
  margin: 0;
}

.log-entry {
  border-bottom: 1px dashed #141414;
  padding-bottom: 1rem;
}
.log-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.log-meta {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: monospace;
  color: #E5A93C;
  margin-bottom: 0.3rem;
}
/* .log-meta span and its 640px override were removed in the thirty-seventh pass:
   they existed to lay out the "| SOURCE: …" trailing span, and the status dates
   that span sat beside have now been removed, so each entry carries one plain
   source label with no span to style. */

.log-desc {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.log-desc strong {
  color: #ffffff;
}

/* ==========================================================================
   STATUTORY MANDATE COUNTDOWN CALENDAR
   Owner-supplied styling. The pasted snippet interleaved HTML, JS and CSS; the
   inline `style` attribute on the <h2> was moved to .calendar-heading so this
   page keeps a single source of truth for styling, and the supplied 3-column
   grid shipped with no breakpoints (added in the responsive block below).
   ========================================================================== */
.calendar-timeline-container {
  background-color: #050505;
  border: 1px solid #141414;
  padding: 3rem;
  margin-bottom: 2.5rem;
}

.calendar-heading {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.calendar-phase-card {
  background-color: #0d0d0d;
  border: 1px solid #1a1a1a;
  padding: 2rem;
  /* flex column so the badge occupies its own line: absolutely positioning it
     in the corner collided with the phase title at every width, because the
     badge label is wide and the cards are narrow inside the 1100px moat */
  display: flex;
  flex-direction: column;
}

.calendar-phase-card.active-phase { border-color: #E5A93C; }

.phase-badge {
  align-self: flex-end;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: monospace;
  padding: 0.2rem 0.6rem;
  border-radius: 0px;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.active-phase .phase-badge {
  background-color: #E5A93C;
  color: #000000;
}

.pending-phase .phase-badge {
  background-color: #111111;
  color: #888888;
  border: 1px solid #1a1a1a;
}

.calendar-phase-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.calendar-phase-card p {
  color: #888888;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Date markers were removed with the hard dates in the thirty-seventh pass, so
   the cards now lead with their h3. This gives the first card's heading the same
   optical top spacing the badge used to supply above it. */
.calendar-phase-card h3 { margin-top: 0; }

/* <strong> inside a card paragraph — matches the .log-desc strong treatment */
.calendar-phase-card strong { color: #ffffff; }

/* Countdown bar removed in the thirty-seventh pass along with the hard dates:
   it was bound to a single fixed date, so it could not survive the dates being
   removed. .countdown-strip / .countdown-label / .countdown-timer-metrics and the
   .date-marker rules were deleted with it, as were their 640px overrides. */

/* ==========================================================================
   Responsive — owner-supplied CSS had no breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .sb-header { padding: 1.25rem 2.5rem; }
  .content-moat { padding: 0 2.5rem; margin: 3rem auto; }
  .framework-panel { padding: 2.5rem; }
  .live-tracker-vault { padding: 2rem; }
  .calendar-timeline-container { padding: 2.5rem; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 640px) {
  .sb-header { padding: 1rem 1.25rem; flex-wrap: wrap; }
  .logo { font-size: 1.15rem; letter-spacing: 1.5px; }
  .content-moat { padding: 0 1.25rem; margin: 2.5rem auto; }
  .page-title { margin-bottom: 2rem; }
  .page-title h1 { font-size: 1.75rem; }
  .page-title p { font-size: 0.8rem; letter-spacing: 1.5px; }
  .framework-panel { padding: 1.5rem; margin-bottom: 1.75rem; }
  .framework-panel h2 { font-size: 1.15rem; }
  .panel-meta { flex-direction: column; gap: 0.35rem; }
  .bullet-stack li { font-size: 0.9rem; padding-left: 1.25rem; }
  .live-tracker-vault { padding: 1.5rem; margin-bottom: 2rem; }
  .tracker-title { font-size: 0.95rem; }
  .log-status { font-size: 0.68rem; letter-spacing: 1px; }
  .panel-note { font-size: 0.76rem; }
  .log-desc { font-size: 0.86rem; }
  .calendar-timeline-container { padding: 1.5rem; margin-bottom: 2rem; }
  .calendar-heading { font-size: 1.15rem; }
  .calendar-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.5rem; }
  .calendar-phase-card { padding: 1.5rem; }
  .calendar-phase-card h3 { font-size: 1rem; }
}

/* ==========================================================================
   CURRENT SCOPE AND ROADMAP — two-column status table
   Kept separate from the page's panel classes so the roadmap can change
   without touching the statutory panels. Palette, hairlines and the 640px
   block-stacking pattern match the rest of the sub-pages: the header row is
   hidden and each cell carries its own column name via ::before, so neither
   column is hidden behind a sideways scroll on a phone.
   ========================================================================== */
.scope-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.scope-table th {
  background-color: #0d0d0d;
  color: #E5A93C;
  text-align: left;
  padding: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #1a1a1a;
}

.scope-table td {
  padding: 1rem;
  border: 1px solid #1a1a1a;
  color: #ffffff;
  vertical-align: top;
}

.scope-table tr:nth-child(even) { background-color: #050505; }

/* Status values are machine state, not prose — monospace matches how the rest
   of the site renders telemetry values. */
.scope-table td:last-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Element-qualified on purpose: `.framework-panel p` and `.calendar-phase-card p`
   are (0,1,1) and would otherwise win the colour if this ever moves inside a
   panel. */
p.scope-note {
  color: #888888;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .scope-table { display: block; font-size: 0.85rem; }
  .scope-table thead { display: none; }
  .scope-table tbody,
  .scope-table tr,
  .scope-table td { display: block; width: 100%; }

  .scope-table tr {
    border: 1px solid #1a1a1a;
    margin-bottom: 0.75rem;
    background-color: #050505;
  }
  .scope-table tr:nth-child(even) { background-color: #050505; }

  .scope-table td {
    border: 0;
    border-bottom: 1px dashed #1a1a1a;
    padding: 0.7rem 1rem;
  }
  .scope-table td:last-child { border-bottom: 0; }

  .scope-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #E5A93C;
    margin-bottom: 0.2rem;
  }

  p.scope-note { font-size: 0.76rem; }
}
