/* Werner Harmonic Labs — shared stylesheet (Office 2026 light) */

:root {
  --accent: #0078d4;
  --accent-hover: #106ebe;
  --accent-soft: #deecf9;
  --accent-deep: #1a3a5c;

  --bg-page: #faf9f8;
  --bg-surface: #ffffff;
  --bg-subtle: #f3f2f1;
  --bg-card-hover: #f8f8f8;

  --border: #e1dfdd;
  --border-strong: #c8c6c4;

  --text: #1f1f1f;
  --text-secondary: #424242;
  --text-muted: #605e5c;
  --text-dim: #8a8886;

  --success: #107c10;
  --success-bg: #dff6dd;
  --warning: #986f00;
  --warning-bg: #fff4ce;
  --info: #0078d4;
  --info-bg: #deecf9;
  --critical: #d13438;
  --critical-bg: #fde7e9;

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

  --shadow-2: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-4: 0 2px 4px rgba(0,0,0,0.05), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-8: 0 4px 8px rgba(0,0,0,0.06), 0 8px 16px rgba(0,0,0,0.08);
  --shadow-16: 0 8px 16px rgba(0,0,0,0.08), 0 16px 32px rgba(0,0,0,0.10);
  --shadow-accent: 0 4px 16px rgba(0,120,212,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

code, pre, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.875rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text);
  white-space: nowrap;
}
.brand-accent { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.875rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s;
  box-shadow: var(--shadow-2);
}
.nav-cta:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,120,212,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(0,120,212,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.hero-inner.left { text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(0,120,212,0.25);
  border-radius: 999px;
  background: var(--accent-soft);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

h1.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--text);
}
h1.hero-title-sm {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}
.hero-title-accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.55;
}
.hero-inner.left .hero-sub { margin-left: 0; }
.hero-ctas {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-inner.left .hero-ctas { justify-content: flex-start; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-2);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== PROOF BAR ===== */
.proof-bar {
  max-width: 1240px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.proof-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.proof-stat:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}
.proof-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.proof-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== SECTIONS ===== */
section { padding: 5rem 0; }
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-inner.narrow {
  max-width: 900px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
h2.section-title {
  font-size: clamp(1.75rem, 3.25vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}
h3.subsection-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Two-column body layout for inner pages */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.prose h2, .prose h3 { color: var(--text); margin: 2.5rem 0 1rem; }
.prose h2 { font-size: 1.625rem; letter-spacing: -0.015em; }
.prose h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code {
  background: var(--bg-subtle);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  color: var(--accent-deep);
}
.prose pre {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
  margin: 1.25rem 0;
}
.prose pre code {
  background: transparent;
  padding: 0;
  color: var(--text-secondary);
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-style: italic;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* THESIS / quote sections */
.thesis {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.thesis-quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.4;
  padding: 0 1rem;
}
.thesis-quote strong { color: var(--accent); font-weight: 700; }
.thesis-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.875rem;
  margin: 3rem auto 0;
  max-width: 1100px;
}
.flow-step {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  text-align: left;
}
.flow-step-num {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.flow-step-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.flow-step-body {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* CARD GRIDS — products, moat, domains */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-8);
  transform: translateY(-2px);
}
.card.linked { cursor: pointer; }

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}
.status-ship { background: var(--success-bg); color: var(--success); }
.status-build { background: var(--warning-bg); color: var(--warning); }
.status-strategic { background: var(--info-bg); color: var(--info); }
.status-filed { background: var(--success-bg); color: var(--success); }
.status-draft { background: var(--warning-bg); color: var(--warning); }

.card-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
  color: var(--text);
}
.card-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-bottom: 1rem;
}
.card-body {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.card-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.card-stat {
  display: flex;
  flex-direction: column;
}
.card-stat-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.card-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-weight: 500;
}
.card-cta {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

/* SUBTLE bg variant (alternating sections) */
.bg-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bg-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* PROOF DEEP */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.proof-cell {
  padding: 1.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.proof-cell-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.proof-cell-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.proof-cell-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* FEATURE LIST (for product/platform pages) */
.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.feature-item {
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-marker {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  font-family: ui-monospace, monospace;
}
.feature-content { flex: 1; }
.feature-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.feature-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* PRICING TABLE */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.tier {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.tier.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  position: relative;
}
.tier-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.tier-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.tier-price-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.tier-features {
  list-style: none;
  margin-top: 1rem;
}
.tier-features li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.tier-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
}
.tier-features li:last-child { border-bottom: none; }

/* TARGET CUSTOMERS LIST */
.targets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.target-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: all 0.15s;
}
.target-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* TABLE */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.data-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: var(--bg-card-hover); }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #0c4a72 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.cta-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}
.cta-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.cta-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
.cta-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: white;
}
.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.cta .btn-primary { background: white; color: var(--accent); }
.cta .btn-primary:hover {
  background: var(--bg-subtle);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.cta .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.cta .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

/* FOOTER */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand-block { max-width: 320px; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--accent);
  font-weight: 500;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; color: var(--text-dim); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0.75rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  section { padding: 3.5rem 0; }
}

.latency-chart { padding: 1.5rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.latency-chart svg { width: 100%; height: auto; display: block; max-width: 720px; margin: 0 auto; }
.latency-chart .bar-label { font-family: 'Inter', sans-serif; font-size: 12px; fill: var(--text); }
.latency-chart .bar-value { font-family: ui-monospace, monospace; font-size: 12px; fill: var(--text); font-weight: 600; }
.latency-chart .bar-whl { fill: var(--accent); }
.latency-chart .bar-industry { fill: #8a8886; }
.latency-chart .axis-line { stroke: var(--text-muted); stroke-width: 1; }

.receipt-chain-svg { overflow-x: auto; padding: 2rem 0; }
.receipt-chain-svg svg { display: block; min-width: 900px; margin: 0 auto; }
.receipt-chain-svg .receipt-box { fill: var(--bg-surface); stroke: var(--accent); stroke-width: 1.5; rx: 8; }
.receipt-chain-svg .receipt-text { font-family: ui-monospace, monospace; font-size: 10px; fill: var(--text); }
.receipt-chain-svg .receipt-title { font-family: 'Inter', sans-serif; font-size: 11px; fill: var(--accent); font-weight: 700; }
.receipt-chain-svg .arrow { stroke: var(--accent); stroke-width: 2; fill: none; }
.receipt-chain-svg .arrow-label { font-family: ui-monospace, monospace; font-size: 9px; fill: var(--text-muted); }
@keyframes chainPulse {
  0%, 100% { stroke-opacity: 0.35; }
  50% { stroke-opacity: 1; }
}
.receipt-chain-svg .arrow { animation: chainPulse 2.4s ease-in-out infinite; }
.receipt-chain-svg .arrow:nth-child(odd) { animation-delay: 0.4s; }
.receipt-chain-svg .arrow:nth-child(3n) { animation-delay: 0.8s; }

.timeline { padding: 2rem 0; }
.timeline-track { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 4rem 0 0; }
.timeline-track::before { content: ""; position: absolute; left: 4%; right: 4%; top: 5.5rem; height: 2px; background: var(--accent); }
.timeline-node { position: relative; flex: 1; text-align: center; min-width: 120px; padding: 0 0.5rem; }
.timeline-node .dot { width: 16px; height: 16px; background: var(--accent); border: 3px solid var(--bg-page); border-radius: 50%; margin: 0 auto 0.875rem; box-shadow: 0 0 0 1px var(--accent); position: relative; z-index: 2; }
.timeline-node .date { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-bottom: 0.375rem; letter-spacing: 0.5px; }
.timeline-node .label { font-size: 0.8125rem; color: var(--text); line-height: 1.4; max-width: 140px; margin: 0 auto; }
@media (max-width: 768px) {
  .timeline-track { flex-direction: column; gap: 1.5rem; align-items: flex-start; padding-left: 1.5rem; }
  .timeline-track::before { left: 1.95rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline-node { text-align: left; padding-left: 2rem; }
  .timeline-node .dot { position: absolute; left: -0.75rem; top: 0.5rem; margin: 0; }
}

.test-output {
  background: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 1.5rem 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.test-output code { background: transparent; padding: 0; color: inherit; font-family: inherit; }
.test-output .pass { color: #3fb950; font-weight: 600; }
.test-output .fail { color: #f85149; font-weight: 600; }
.test-output .skip { color: #d29922; font-weight: 600; }
.test-output .info { color: #58a6ff; }
.test-output .dim { color: #6e7681; }
.test-output-note {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-md);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
}
.footer-social a {
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.15s;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer-legal {
  display: flex;
  gap: 1rem;
}
.footer-legal a {
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal a[href="/owner/login.html"] {
  border-left: 1px solid var(--border);
  padding-left: 1rem;
  margin-left: 0.5rem;
}

/* ===== SURPRISE CALLOUT (evidence.html) ===== */
.surprise-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-xl);
  margin: 2.5rem 0;
  align-items: center;
  box-shadow: var(--shadow-accent);
}
.surprise-callout-num {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.surprise-callout-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.surprise-callout-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.surprise-callout-body p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}
.surprise-callout-body code {
  background: var(--bg-surface);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  color: var(--accent-deep);
}
@media (max-width: 720px) {
  .surprise-callout { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.5rem; }
  .surprise-callout-num { font-size: 3rem; }
}

/* ===== CYCLE FRAMES (about.html — One Cycle explainer) ===== */
.cycle-frames {
  list-style: none;
  counter-reset: cycle;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.cycle-frames li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
}
.cycle-frames li:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-4);
}
.cycle-frame-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
}
.cycle-frame-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.375rem;
}
.cycle-frames li p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.cycle-frames li code {
  background: var(--bg-subtle);
  padding: 0.0625rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  color: var(--accent-deep);
}
.cycle-summary {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}
.cycle-summary p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.cycle-summary p:last-child { margin-bottom: 0; }
.cycle-summary strong { color: var(--text); }
@media (max-width: 600px) {
  .cycle-frames li { grid-template-columns: 1fr; gap: 0.5rem; padding: 1rem 1.25rem; }
  .cycle-frame-num { width: 40px; height: 40px; font-size: 0.875rem; }
}

/* ===== PRINT STYLES ===== */
/* Every product/platform page renders as a clean one-pager when printed.
   Run File > Print or Cmd/Ctrl+P on any product page to get a PDF-ready handout. */
@media print {
  /* Hide everything that doesn't belong on a one-pager */
  .nav, .nav-cta, footer, .cta, #try-it-live, #try-live, .footer-social, .footer-legal,
  .test-output, #test-results, .receipt-chain-svg,
  iframe, video, audio, .hero-ctas, .hero-bg, .nav-links, .breadcrumb {
    display: none !important;
  }

  /* Compact the rest */
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
    line-height: 1.4;
  }
  .hero {
    padding: 0 0 1rem !important;
    page-break-after: avoid;
  }
  h1.hero-title, h1.hero-title-sm {
    font-size: 24pt !important;
    color: black !important;
  }
  .hero-title-accent {
    color: #0078d4 !important;
  }
  .hero-sub {
    font-size: 11pt !important;
    color: #333 !important;
    margin-bottom: 0.5rem !important;
  }
  .eyebrow {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #0078d4 !important;
    font-size: 9pt !important;
    margin-bottom: 0.5rem !important;
  }
  .eyebrow::before { display: none !important; }
  .proof-bar {
    margin: 0.5rem 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
  }
  .proof-stat {
    background: white !important;
    border: 1px solid #ccc !important;
    padding: 0.5rem !important;
    page-break-inside: avoid;
  }
  .proof-num {
    font-size: 14pt !important;
    color: #0078d4 !important;
  }
  .proof-label {
    font-size: 7pt !important;
    color: #444 !important;
  }
  section {
    padding: 1rem 0 !important;
    page-break-inside: avoid;
  }
  .section-inner {
    padding: 0 1rem !important;
    max-width: 100% !important;
  }
  .section-title {
    font-size: 14pt !important;
    color: black !important;
  }
  .section-eyebrow {
    color: #0078d4 !important;
    font-size: 8pt !important;
  }
  .section-lead {
    font-size: 10pt !important;
    color: #333 !important;
  }
  .card-grid {
    gap: 0.5rem !important;
    margin-top: 0.5rem !important;
  }
  .card {
    border: 1px solid #ccc !important;
    background: white !important;
    color: black !important;
    padding: 0.75rem !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .card-name {
    font-size: 11pt !important;
    color: black !important;
  }
  .card-tag {
    font-size: 8pt !important;
    color: #0078d4 !important;
  }
  .card-body {
    font-size: 9pt !important;
    color: #333 !important;
  }
  .card-cta { display: none !important; }
  .card-status {
    background: white !important;
    border: 1px solid #999 !important;
    color: #333 !important;
    font-size: 7pt !important;
    padding: 0.125rem 0.375rem !important;
  }
  .data-table {
    font-size: 9pt !important;
    page-break-inside: avoid;
  }
  .data-table th, .data-table td {
    padding: 0.375rem 0.5rem !important;
    border: 1px solid #ccc !important;
  }
  a {
    color: black !important;
    text-decoration: none !important;
  }
  a[href^="/"]:after, a[href^="https://wernerharmoniclabs.com"]:after {
    content: " (" attr(href) ")";
    color: #666;
    font-size: 7pt;
  }

  /* Add a small WHL footer at the bottom of every printed page */
  @page {
    margin: 0.5in;
  }
  body::after {
    content: "Werner Harmonic Labs LLC · wernerharmoniclabs.com · contact@wernerharmoniclabs.com";
    display: block;
    text-align: center;
    font-size: 8pt;
    color: #666;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ccc;
  }
}
