/* ============================================================
   Ephemeral Sentinel — Marketing Site Styles
   Clean cybersecurity SaaS aesthetic. Blue tones. Responsive.
   ============================================================ */

/* --- Google Font Import ------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties -------------------------------- */
:root {
  --bg-base:        #070c18;
  --bg-surface:     #0d1829;
  --bg-card:        #111f35;
  --bg-card-hover:  #152640;
  --border:         #1e3350;
  --border-subtle:  #172a42;

  --accent-blue:    #2b7de9;
  --accent-blue-lt: #4d9ef7;
  --accent-cyan:    #00c8e8;
  --accent-green:   #22d3a0;
  --accent-red:     #f05252;
  --accent-yellow:  #f5a623;

  --text-primary:   #e8f0fe;
  --text-secondary: #8faebf;
  --text-muted:     #546e80;
  --text-label:     #a0c4d8;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(43, 125, 233, 0.12);

  --max-width: 1100px;
  --section-pad: 5rem 1.5rem;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-blue-lt);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-cyan);
}

ul {
  list-style: none;
}

/* --- Layout Utilities -------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad);
}

.section--dark {
  background-color: var(--bg-surface);
}

.section--card {
  background-color: var(--bg-card);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation -------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 12, 24, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav__brand-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__brand-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.nav__brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a.nav__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue-lt);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background-color 0.2s;
}

.nav__links a.nav__cta:hover {
  border-color: var(--accent-blue);
  background-color: rgba(43, 125, 233, 0.08);
  color: var(--accent-blue-lt);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text-secondary);
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(43, 125, 233, 0.12) 0%, transparent 70%),
              var(--bg-base);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 51, 80, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 51, 80, 0.3) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(43, 125, 233, 0.1);
  border: 1px solid rgba(43, 125, 233, 0.25);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue-lt);
  margin-bottom: 1.75rem;
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.hero__title .gradient-text {
  background: linear-gradient(90deg, var(--accent-blue-lt), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__image {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero__image img {
  width: 100%;
  border-radius: var(--radius-xl);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-blue);
  color: white;
}

.btn--primary:hover {
  background: var(--accent-blue-lt);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(43, 125, 233, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
  background: rgba(43, 125, 233, 0.06);
}

.btn--outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 200, 232, 0.35);
}

.btn--outline-cyan:hover {
  background: rgba(0, 200, 232, 0.08);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* --- Cards ------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(43, 125, 233, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  background: rgba(43, 125, 233, 0.12);
  border: 1px solid rgba(43, 125, 233, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card__body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Grids ------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* --- Feature List ------------------------------------------ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(43, 125, 233, 0.1);
  border: 1px solid rgba(43, 125, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.15rem;
}

.feature-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feature-item__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Process / Steps --------------------------------------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}

.step:last-child {
  padding-bottom: 0;
}

.step__line {
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

.step:last-child .step__line {
  display: none;
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue-lt);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__content {
  padding-top: 0.5rem;
}

.step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- Audience Split ---------------------------------------- */
.audience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.audience-card:hover {
  border-color: rgba(43, 125, 233, 0.4);
  box-shadow: var(--shadow-glow);
}

.audience-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: block;
}

.audience-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.audience-card__body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.audience-card__points {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.audience-card__points li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.audience-card__points li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  flex-shrink: 0;
}

/* --- Security Pillars ------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.pillar__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.pillar__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pillar__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Example Report Preview ------------------------------- */
.report-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.report-preview__header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.report-preview__subject {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.report-badge--malicious {
  background: rgba(240, 82, 82, 0.12);
  border: 1px solid rgba(240, 82, 82, 0.3);
  color: #f87171;
}

.report-badge--suspicious {
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: var(--accent-yellow);
}

.report-badge--benign {
  background: rgba(34, 211, 160, 0.12);
  border: 1px solid rgba(34, 211, 160, 0.3);
  color: var(--accent-green);
}

.report-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.report-preview__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.report-section__content {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Auth Results ----------------------------------------- */
.auth-results {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auth-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
}

.auth-key {
  color: var(--text-muted);
  width: 52px;
  flex-shrink: 0;
}

.auth-result {
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.auth-result--pass {
  background: rgba(34, 211, 160, 0.1);
  color: var(--accent-green);
}

.auth-result--fail {
  background: rgba(240, 82, 82, 0.1);
  color: var(--accent-red);
}

.auth-result--neutral {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.auth-desc {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
}

/* --- Signal Tags ------------------------------------------ */
.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.signal-tag {
  background: rgba(240, 82, 82, 0.08);
  border: 1px solid rgba(240, 82, 82, 0.2);
  color: #fca5a5;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* --- Narrative Box ---------------------------------------- */
.narrative-box {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
}

/* --- Action Box ------------------------------------------- */
.action-box {
  background: rgba(34, 211, 160, 0.05);
  border: 1px solid rgba(34, 211, 160, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.action-box::before {
  content: '→';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* --- Architecture Image ----------------------------------- */
.arch-image {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  width: 100%;
}

/* --- Stat Bar --------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.stat__value .accent {
  color: var(--accent-cyan);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA Section ------------------------------------------ */
.cta-section {
  padding: var(--section-pad);
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(43, 125, 233, 0.1) 0%, transparent 70%),
              var(--bg-base);
  border-top: 1px solid var(--border-subtle);
}

.cta-section .section-title {
  margin-bottom: 1rem;
}

.cta-section .section-subtitle {
  margin-bottom: 2rem;
}

/* --- Split Sections --------------------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

/* --- Page Header ------------------------------------------ */
.page-header {
  padding: 5rem 1.5rem 3rem;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(43, 125, 233, 0.1) 0%, transparent 70%),
              var(--bg-base);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.page-header .section-label {
  display: inline-block;
  margin-bottom: 1rem;
}

/* --- Benefit List ----------------------------------------- */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.benefit-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(43, 125, 233, 0.1);
  border: 1px solid rgba(43, 125, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.benefit-item__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Comparison Table ------------------------------------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.875rem;
}

.compare-table th {
  background: var(--bg-surface);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.check {
  color: var(--accent-green);
  font-weight: 700;
}

.cross {
  color: var(--text-muted);
}

/* --- Full Report Page ------------------------------------- */
.report-full {
  max-width: 800px;
  margin: 0 auto;
}

.report-full__meta {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.5rem;
}

.report-full__meta-key {
  color: var(--text-muted);
}

.report-full__meta-val {
  color: var(--text-secondary);
}

.report-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.report-block__header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-block__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.report-block__body {
  padding: 1.5rem;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.score-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: -0.04em;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}

.score-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.score-bar-wrap {
  width: 200px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-red));
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Prose Paragraphs (split-section body text) ----------- */
.prose-p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.prose-p:last-child { margin-bottom: 0; }

.prose-p--lead {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.prose-p--sm {
  color: var(--text-secondary);
  margin-top: 2rem;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* --- Column Stack ----------------------------------------- */
.col-stack { display: flex; flex-direction: column; gap: 1rem; }

/* --- Card Variants ---------------------------------------- */
.card--centered { text-align: center; padding: 2rem 1.25rem; }
.card--accent-red  { border-left: 3px solid var(--accent-red); }
.card--accent-green { border-left: 3px solid var(--accent-green); }
.card__title--red   { color: var(--accent-red); }
.card__title--green { color: var(--accent-green); }
.card__body--muted  { color: var(--text-muted); font-style: italic; }

/* --- Card Inner Elements ---------------------------------- */
.card__emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.card__emoji--sm { font-size: 1.5rem; margin-bottom: 0.75rem; }

.card__stat-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.card__stat-body { font-size: 0.8rem; color: var(--text-muted); }

/* --- Text Emphasis ---------------------------------------- */
.text-em { color: var(--text-primary); }

/* --- Grid Modifiers --------------------------------------- */
.grid-2--tight { gap: 1rem; }
.grid--mb { margin-bottom: 3rem; }
.grid-2--constrained { max-width: 880px; margin: 0 auto; gap: 1rem; }

/* --- Content Width Containers ----------------------------- */
.content-mw-700 { max-width: 700px; margin: 0 auto; }
.content-mw-800 { max-width: 800px; margin: 0 auto; }
.content-mw-860 { max-width: 860px; margin: 0 auto; }

/* --- About Container -------------------------------------- */
.about-container { max-width: 720px; margin: 0 auto; text-align: center; }

/* --- Architecture Diagram Wrapper ------------------------- */
.arch-diagram-wrap { text-align: center; }
.arch-diagram-wrap .arch-image { max-width: 900px; margin: 0 auto; }

/* --- Section Subtitle Modifiers --------------------------- */
.section-subtitle--centered { margin-left: auto; margin-right: auto; }
.section-subtitle--mb-lg { margin-bottom: 2.5rem; }

/* --- Steps Modifier --------------------------------------- */
.steps--mt { margin-top: 1.5rem; }

/* --- Text Center Modifier --------------------------------- */
.text-center--mt { margin-top: 2rem; }

/* --- Inline Code ------------------------------------------ */
.inline-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8em;
  color: var(--accent-cyan);
}

/* --- rdoc Signal Group Spacing ---------------------------- */
.rdoc-signals-group--mt { margin-top: 1rem; }

/* --- Button Row ------------------------------------------- */
.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CTA Section overrides -------------------------------- */
.cta-section .section-label {
  display: inline-block;
  margin-bottom: 1rem;
}

.cta-section .section-subtitle {
  margin: 0 auto 2rem;
}

/* --- Compare Table Key Column ----------------------------- */
.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

/* --- About Section ---------------------------------------- */
.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* --- Pilot CTA -------------------------------------------- */
.cta-pilot {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.cta-pilot__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 280px;
}

.footer__brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer__brand-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer__nav-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav-group a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__nav-group a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .audience-split {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-section--reverse {
    direction: ltr;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 3.5rem 1rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .hero {
    padding: 4rem 1rem 3.5rem;
  }

  .score-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .score-bar-wrap {
    width: 160px;
  }

  .footer__nav {
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
