/* rera.watch brand system — v1 */

/* ── Tokens ── */
:root {
  --obsidian:        oklch(0.20 0.015 260);
  --obsidian-raised: oklch(0.26 0.015 260);
  --obsidian-line:   oklch(0.33 0.01 260);
  --text-on-dark:    oklch(0.97 0.004 250);
  --muted-on-dark:   oklch(0.70 0.015 260);
  --paper:           oklch(0.985 0.004 250);
  --card:            #ffffff;
  --border:          oklch(0.91 0.006 255);
  --row-div:         oklch(0.95 0.006 255);
  --ink:             oklch(0.24 0.02 258);
  --ink-strong:      oklch(0.21 0.02 258);
  --muted:           oklch(0.52 0.015 258);

  --healthy-text:    oklch(0.48 0.12 155);
  --healthy-tint:    oklch(0.96 0.03 155);
  --healthy-glow:    oklch(0.72 0.15 155);
  --caution-text:    oklch(0.48 0.12 75);
  --caution-tint:    oklch(0.96 0.03 75);
  --caution-glow:    oklch(0.80 0.13 80);
  --alert-text:      oklch(0.50 0.14 27);
  --alert-tint:      oklch(0.96 0.03 27);
  --alert-glow:      oklch(0.65 0.17 27);
  --ink-bar:         oklch(0.32 0.02 258);
}

/* ── Base ── */
html { background: var(--paper); }
body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--paper);
}

/* ── Animation ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.82); }
}

/* ── Font helpers ── */
.font-mono    { font-family: 'IBM Plex Mono', monospace; }
.font-display { font-family: 'Newsreader', serif; font-weight: 500; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-dark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ── Global header ── */
.rw-header {
  background: var(--obsidian);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--obsidian-line);
}
.rw-header-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.rw-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.rw-logo-outer {
  width: 24px; height: 24px; border-radius: 999px;
  border: 1.5px solid oklch(0.9 0.01 260);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rw-logo-inner {
  width: 13px; height: 13px; border-radius: 999px;
  border: 1.5px solid oklch(0.55 0.01 260);
  display: flex; align-items: center; justify-content: center;
}
.rw-logo-dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--healthy-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.rw-wordmark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px; font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}
.rw-wordmark .dot { color: var(--healthy-glow); }

/* Nav links */
.rw-nav { display: flex; align-items: center; gap: 6px; }
.rw-nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--muted-on-dark);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s;
}
.rw-nav-link:hover,
.rw-nav-link.active { color: var(--text-on-dark); }

/* Header search */
.rw-search {
  background: var(--obsidian-raised);
  border: 1px solid var(--obsidian-line);
  border-radius: 8px;
  height: 34px;
  padding: 0 12px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 12.5px;
  color: var(--text-on-dark);
  outline: none;
  transition: border-color 0.15s;
}
.rw-search::placeholder { color: var(--muted-on-dark); }
.rw-search:focus { border-color: oklch(0.5 0.01 260); }

/* Search suggestions */
.rw-suggestions {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(20,24,40,0.1);
}
.rw-suggestions li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  border-bottom: 1px solid var(--row-div);
}
.rw-suggestions li:last-child a { border-bottom: none; }
.rw-suggestions li a:hover { background: var(--paper); }

/* ── Obsidian masthead (detail pages) ── */
.rw-masthead {
  background: var(--obsidian);
  padding: 24px 20px 28px;
}
.rw-masthead-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.rw-masthead-breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted-on-dark);
  margin-bottom: 10px;
}
.rw-masthead-breadcrumb a {
  color: var(--muted-on-dark);
  text-decoration: none;
}
.rw-masthead-breadcrumb a:hover { color: var(--text-on-dark); }
.rw-masthead-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 0;
  line-height: 1.1;
}
.rw-masthead-sub {
  font-size: 14px;
  font-weight: 500;
  color: oklch(0.82 0.01 260);
  margin-top: 6px;
}
.rw-masthead-sub .mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted-on-dark);
  margin-left: 8px;
}
.rw-masthead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Page header (listing/index pages) ── */
.rw-page-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 16px;
}
.rw-page-header h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin: 6px 0 0;
}
.rw-page-count {
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}
.rw-page-count strong {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  color: var(--ink);
}

/* ── Signal chips ── */
.sig-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.sig-chip .dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
/* On paper */
.sig-chip--healthy { background: var(--healthy-tint); color: var(--healthy-text); border-color: oklch(0.85 0.05 155); }
.sig-chip--healthy .dot { background: var(--healthy-text); }
.sig-chip--caution { background: var(--caution-tint); color: var(--caution-text); border-color: oklch(0.85 0.05 75); }
.sig-chip--caution .dot { background: var(--caution-text); }
.sig-chip--alert   { background: var(--alert-tint);   color: var(--alert-text);   border-color: oklch(0.85 0.06 27); }
.sig-chip--alert .dot { background: var(--alert-text); }
/* On obsidian */
.sig-chip--dark-healthy { background: oklch(0.26 0.02 155); color: oklch(0.80 0.13 155); border-color: oklch(0.40 0.06 155); }
.sig-chip--dark-healthy .dot { background: var(--healthy-glow); }
.sig-chip--dark-caution { background: oklch(0.26 0.02 75);  color: oklch(0.85 0.12 80);  border-color: oklch(0.40 0.06 75); }
.sig-chip--dark-caution .dot { background: var(--caution-glow); }
.sig-chip--dark-alert   { background: oklch(0.25 0.03 27);  color: oklch(0.75 0.15 27);  border-color: oklch(0.38 0.07 27); }
.sig-chip--dark-alert .dot { background: var(--alert-glow); }

/* ── Stat tiles ── */
.stat-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.stat-tile .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.stat-tile .value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.stat-tile .value--healthy { color: var(--healthy-text); }
.stat-tile .value--caution { color: var(--caution-text); }
.stat-tile .value--alert   { color: var(--alert-text); }
.stat-tile .sublabel {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.stat-tile .stat-icon {
  width: 18px; height: 18px;
  opacity: 0.45;
  margin-bottom: 8px;
  filter: grayscale(1);
}

/* ── Progress bars ── */
.progress-track {
  height: 6px;
  border-radius: 999px;
  background: oklch(0.93 0.006 255);
  overflow: hidden;
}
.progress-track.tall { height: 8px; }
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--ink-bar);
}
.progress-fill--healthy { background: var(--healthy-text); }
.progress-fill--alert   { background: var(--alert-text); }
.progress-fill--caution { background: var(--caution-text); }

/* ── Listing rows ── */
.listing-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 64px;
}
.listing-col-header {
  display: grid;
  grid-template-columns: 2.4fr 1.1fr 1fr 1.2fr;
  gap: 18px;
  padding: 0 20px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.listing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.listing-row {
  display: grid;
  grid-template-columns: 2.4fr 1.1fr 1fr 1.2fr;
  gap: 18px;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--row-div);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.listing-row:last-child { border-bottom: none; }
.listing-row:hover { background: var(--paper); }
.listing-row .project-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-strong);
  letter-spacing: -0.005em;
}
.listing-row .project-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.listing-row .avail-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--healthy-text);
}
.listing-row .avail-num--zero { color: var(--muted); }
.listing-built {
  display: flex;
  align-items: center;
  gap: 9px;
}
.listing-built .pct {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-bar);
  flex-shrink: 0;
}

/* ── Filter rail ── */
.filter-rail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 78px;
}
.filter-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 7px;
}
.filter-select-wrap {
  position: relative;
}
.filter-select-wrap .caret {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 10px;
  color: var(--muted);
}
select.rw-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 30px 9px 11px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
select.rw-select:focus { border-color: var(--ink-bar); }
.filter-text-input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.filter-text-input:focus { border-color: var(--ink-bar); }
.filter-text-input::placeholder { color: var(--muted); }

/* Segmented toggle */
.seg-toggle { display: flex; gap: 6px; }
.seg-toggle button {
  flex: 1;
  cursor: pointer;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 7px;
  padding: 8px 0;
  text-align: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.seg-toggle button.active {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
}

/* ── Pagination ── */
.rw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  flex-wrap: wrap;
}
.rw-pagination a,
.rw-pagination span {
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.rw-pagination a:hover { background: var(--paper); }
.rw-pagination .current {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
  font-weight: 600;
}
.rw-pagination .disabled { color: var(--muted); border-color: var(--row-div); cursor: default; }

/* ── Empty state ── */
.empty-state {
  padding: 56px 20px;
  text-align: center;
}
.empty-state .title {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-strong);
}
.empty-state .helper {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.empty-state .reset-btn {
  display: inline-block;
  margin-top: 16px;
  cursor: pointer;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark);
  background: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  text-decoration: none;
}

/* ── Hero (obsidian, index page) ── */
.rw-hero {
  background: var(--obsidian);
  padding: 40px 20px 36px;
}
.rw-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.rw-hero h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 10px 0 0;
  max-width: 20ch;
}
@media (max-width: 640px) {
  .rw-hero h1 { font-size: 32px; }
  .rw-masthead-title { font-size: 28px; }
  .rw-page-header h1 { font-size: 30px; }
}
.rw-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
}
.rw-hero-stat .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-on-dark);
  line-height: 1;
}
.rw-hero-stat .num--alert { color: var(--alert-glow); }
.rw-hero-stat .label {
  font-size: 12px;
  color: var(--muted-on-dark);
  margin-top: 3px;
}

/* Hero search form */
.rw-hero-form {
  display: flex;
  max-width: 520px;
  gap: 8px;
  margin-top: 24px;
}
.rw-hero-input {
  flex: 1;
  background: var(--obsidian-raised);
  border: 1px solid var(--obsidian-line);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  color: var(--text-on-dark);
  outline: none;
  transition: border-color 0.15s;
}
.rw-hero-input::placeholder { color: var(--muted-on-dark); }
.rw-hero-input:focus { border-color: oklch(0.5 0.01 260); }
.rw-hero-btn {
  background: var(--card);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.rw-hero-btn:hover { background: var(--paper); }

/* Quick links under hero search */
.rw-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}
.rw-quick-links a {
  font-size: 13px;
  color: var(--muted-on-dark);
  text-decoration: none;
}
.rw-quick-links a:hover { color: var(--text-on-dark); }

/* ── Index section headings ── */
.rw-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.rw-section-head h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink-strong);
}
.rw-section-head a {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  margin-left: auto;
}
.rw-section-head a:hover { color: var(--ink); }

/* Index project mini cards */
.rw-mini-card {
  display: block;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: border-color 0.12s;
}
.rw-mini-card--alert   { background: var(--alert-tint);   border-color: oklch(0.88 0.05 27); }
.rw-mini-card--healthy { background: var(--healthy-tint); border-color: oklch(0.88 0.05 155); }
.rw-mini-card--caution { background: var(--caution-tint); border-color: oklch(0.88 0.05 75); }
.rw-mini-card--alert:hover   { border-color: oklch(0.75 0.1 27); }
.rw-mini-card--healthy:hover { border-color: oklch(0.65 0.1 155); }
.rw-mini-card--caution:hover { border-color: oklch(0.72 0.1 75); }

.rw-mini-card .card-name {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-strong);
}
.rw-mini-card .card-district {
  font-size: 11.5px;
  margin-top: 2px;
  color: var(--muted);
}
.rw-mini-card .card-stat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}
.rw-mini-card--alert   .card-stat { color: var(--alert-text); }
.rw-mini-card--healthy .card-stat { color: var(--healthy-text); }
.rw-mini-card--caution .card-stat { color: var(--caution-text); }
.rw-mini-card .card-sub {
  font-size: 11.5px;
  margin-top: 2px;
  color: var(--muted);
}

/* ── Stat cards grid (index) ── */
.rw-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}
.rw-stat-card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}
.rw-stat-card .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Content wrappers ── */
.content-detail  { max-width: 1060px; margin: 0 auto; padding: 0 20px 64px; }
.content-listing { max-width: 1180px; margin: 0 auto; padding: 0 20px 64px; }

/* ── Footer ── */
.rw-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

/* ── Section card (white card used on detail pages) ── */
.rw-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
}
.rw-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.rw-card-title img { width: 18px; height: 18px; opacity: 0.4; filter: grayscale(1); }
.rw-card-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Quarter tabs */
.rw-tab-active {
  background: var(--ink) !important;
  color: var(--text-on-dark) !important;
  border-color: var(--ink) !important;
}
.rw-tab {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.rw-tab:hover { background: var(--paper); color: var(--ink); }

/* Table styles */
.rw-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.rw-table th {
  text-align: left;
  padding: 10px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--row-div);
  background: var(--paper);
}
.rw-table th:first-child { padding-left: 20px; }
.rw-table th:last-child  { padding-right: 20px; }
.rw-table th.right,
.rw-table td.right { text-align: right; }
.rw-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--row-div);
  color: var(--ink);
}
.rw-table td:first-child { padding-left: 20px; }
.rw-table td:last-child  { padding-right: 20px; }
.rw-table tr:last-child td { border-bottom: none; }
.rw-table .mono { font-family: 'IBM Plex Mono', monospace; }
.rw-table .avail { color: var(--healthy-text); font-family: 'IBM Plex Mono', monospace; font-weight: 600; }
.rw-table .zero  { color: var(--muted); }

/* Overdue highlight */
.text-alert { color: var(--alert-text); }
.text-healthy { color: var(--healthy-text); }
.text-caution { color: var(--caution-text); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }

/* Detail metadata grid */
.rw-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
@media (min-width: 768px) {
  .rw-meta-grid { grid-template-columns: repeat(3, 1fr); }
}
.rw-meta-grid dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.rw-meta-grid dd {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.rw-meta-grid dd.mono { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }

/* ── Homepage product sections ── */

/* Hero subtitle */
.rw-hero-sub {
  font-size: 15px;
  color: var(--muted-on-dark);
  margin: 10px 0 0;
  max-width: 48ch;
  line-height: 1.55;
}

/* Section wrapper */
.rw-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}
.rw-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.rw-section-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--ink-strong);
  margin: 0 0 28px;
}

/* Value prop cards */
.rw-prop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 24px;
}
.rw-prop-card--healthy { border-top-color: var(--healthy-text); }
.rw-prop-card--caution { border-top-color: var(--caution-text); }
.rw-prop-card--alert   { border-top-color: var(--alert-text); }
.rw-prop-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rw-prop-card--healthy .rw-prop-eyebrow { color: var(--healthy-text); }
.rw-prop-card--caution .rw-prop-eyebrow { color: var(--caution-text); }
.rw-prop-card--alert   .rw-prop-eyebrow { color: var(--alert-text); }
.rw-prop-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  margin: 0 0 8px;
}
.rw-prop-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* How it works steps */
.rw-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.rw-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -3px;
}
.rw-step-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-strong);
  margin: 0 0 5px;
}
.rw-step-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Feature tiles */
.rw-feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.rw-feature-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-strong);
  margin: 0 0 5px;
}
.rw-feature-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Discover / explore tiles */
.rw-discover-tile {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.12s;
  min-height: 90px;
}
.rw-discover-tile:hover {
  border-color: var(--ink-bar);
  background: var(--paper);
}
.rw-discover-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.rw-discover-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-strong);
  flex: 1;
  line-height: 1.35;
}
.rw-discover-arrow {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  font-family: 'IBM Plex Mono', monospace;
}
.rw-discover-tile:hover .rw-discover-arrow { color: var(--ink); }

/* Testimonial quote cards */
.rw-quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 24px 20px;
}
.rw-quote-mark {
  font-family: 'Newsreader', serif;
  font-size: 40px;
  line-height: 1;
  color: var(--border);
  margin-bottom: 6px;
}
.rw-quote-text {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 16px;
}
.rw-quote-attr {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

/* CTA banner */
.rw-cta-section {
  background: var(--obsidian);
  padding: 60px 20px;
  text-align: center;
}
.rw-cta-headline {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 0 0 10px;
}
@media (max-width: 640px) { .rw-cta-headline { font-size: 26px; } }
.rw-cta-body {
  font-size: 15px;
  color: var(--muted-on-dark);
  margin: 0 0 28px;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}
.rw-cta-btn {
  display: inline-block;
  background: var(--card);
  color: var(--ink);
  border-radius: 8px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  transition: background 0.12s;
}
.rw-cta-btn:hover { background: var(--paper); }

/* Complaint chip */
.complaint-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.complaint-chip--disposed { background: var(--healthy-tint); color: var(--healthy-text); }
.complaint-chip--pending  { background: var(--caution-tint); color: var(--caution-text); }
