:root {
  --public-bg: #1e293b;
  --public-panel: rgba(30, 41, 59, 0.78);
  --public-panel-strong: rgba(30, 41, 59, 0.92);
  --public-border: rgba(203, 213, 225, 0.16);
  --public-text: #f8fafc;
  --public-text-muted: #cbd5e1;
  --public-text-soft: #94a3b8;
  --public-accent: #0f8b8d;
  --public-accent-strong: #14b8a6;
  --public-success: #16a34a;
  --public-warm: #f8fafc;
  --public-slate: #334155;
  --public-accent-gradient: linear-gradient(to right, #06b6d4, #22d3ee);
  --public-shadow: 0 24px 80px rgba(2, 8, 23, 0.42);
  --public-shadow-soft: 0 16px 48px rgba(2, 8, 23, 0.28);
  
  /* Premium visual enhancements */
  --shadow-premium-xs: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-premium-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-premium-md: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-premium-lg: 0 12px 32px rgba(0, 0, 0, 0.24);
  --shadow-premium-xl: 0 20px 48px rgba(0, 0, 0, 0.32);
  --shadow-premium-cyan: 0 20px 48px rgba(6, 182, 212, 0.15);
  --shadow-premium-glow: 0 0 32px rgba(6, 182, 212, 0.08);
  
  --gradient-cyan-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --gradient-premium: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(20, 184, 166, 0.08) 100%);
}

.public-theme {
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 26%),
    linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: var(--public-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Light mode: remaining public page elements ===== */

/* Index page story band */
html[data-theme='light'] .public-theme .story-band {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.95), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.7);
}

/* Index page story contrast cards */
html[data-theme='light'] .public-theme .story-contrast-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.82);
}
html[data-theme='light'] .public-theme .story-contrast-card--pain {
  border-color: rgba(251, 146, 60, 0.4);
  background: rgba(255, 247, 237, 0.96);
}
html[data-theme='light'] .public-theme .story-contrast-card--gain {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(236, 254, 255, 0.96);
}

/* Near-white accent text — invisible on light backgrounds */
html[data-theme='light'] .public-theme .text-cyan-200,
html[data-theme='light'] .public-theme .text-cyan-100 { color: #0c4a6e !important; }
html[data-theme='light'] .public-theme .text-amber-200,
html[data-theme='light'] .public-theme .text-amber-100 { color: #78350f !important; }
html[data-theme='light'] .public-theme .text-emerald-200,
html[data-theme='light'] .public-theme .text-emerald-100 { color: #064e3b !important; }
html[data-theme='light'] .public-theme .text-violet-200,
html[data-theme='light'] .public-theme .text-violet-100 { color: #4c1d95 !important; }
html[data-theme='light'] .public-theme .text-slate-100 { color: #1e293b !important; }

/* About page: inner gradient cards inside .founder-program */
html[data-theme='light'] .public-theme .founder-program [class*="from-amber-"],
html[data-theme='light'] .public-theme .founder-program [class*="from-cyan-"],
html[data-theme='light'] .public-theme .founder-program [class*="from-emerald-"] {
  background: rgba(248, 250, 252, 0.98) !important;
  background-image: none !important;
  border-color: rgba(203, 213, 225, 0.82) !important;
}

/* Compare pages: competitor summary card (amber gradient to dark slate) */
html[data-theme='light'] .public-theme .rounded-xl[class*="from-amber-"] {
  background: rgba(255, 255, 255, 0.95) !important;
  background-image: none !important;
  border-color: rgba(203, 213, 225, 0.82) !important;
}

html[data-theme='light'] .public-theme {
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef6f7 100%);
  color: #0f172a;
}

html[data-theme='light'] .public-theme,
html[data-theme='light'] .public-theme body {
  color: #0f172a;
}

html[data-theme='light'] .public-theme .public-nav-shell,
html[data-theme='light'] .public-theme .public-footer-shell {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(203, 213, 225, 0.95) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

html[data-theme='light'] .public-theme .public-nav-logo-mark {
  filter: saturate(1.05) contrast(0.95);
}

html[data-theme='light'] .public-theme .public-nav-tagline,
html[data-theme='light'] .public-theme .public-footer-shell p,
html[data-theme='light'] .public-theme .public-footer-shell a,
html[data-theme='light'] .public-theme .public-footer-shell span,
html[data-theme='light'] .public-theme nav a,
html[data-theme='light'] .public-theme button,
html[data-theme='light'] .public-theme .section-lead,
html[data-theme='light'] .public-theme .section-kicker,
html[data-theme='light'] .public-theme .metric-pill,
html[data-theme='light'] .public-theme .trust-pill,
html[data-theme='light'] .public-theme .proof-pill {
  color: #334155 !important;
}

html[data-theme='light'] .public-theme .text-white,
html[data-theme='light'] .public-theme .section-display,
html[data-theme='light'] .public-theme .saas-card h3,
html[data-theme='light'] .public-theme .pricing-card h2,
html[data-theme='light'] .public-theme .trust-grid-card h3 {
  color: #0f172a !important;
}

html[data-theme='light'] .public-theme .public-nav-cta {
  color: #0f172a !important;
}

html[data-theme='light'] .public-theme .bg-slate-950,
html[data-theme='light'] .public-theme .bg-gray-950,
html[data-theme='light'] .public-theme [class*="bg-slate-950\/"],
html[data-theme='light'] .public-theme [class*="bg-gray-950\/"] {
  background-color: #f8fafc !important;
  background-image: none !important;
}

html[data-theme='light'] .public-theme .bg-slate-900,
html[data-theme='light'] .public-theme .bg-gray-900,
html[data-theme='light'] .public-theme [class*="bg-slate-900\/"],
html[data-theme='light'] .public-theme [class*="bg-gray-900\/"] {
  background-color: #ffffff !important;
  background-image: none !important;
}

html[data-theme='light'] .public-theme .bg-slate-800,
html[data-theme='light'] .public-theme .bg-gray-800,
html[data-theme='light'] .public-theme [class*="bg-slate-800\/"],
html[data-theme='light'] .public-theme [class*="bg-gray-800\/"] {
  background-color: #f8fafc !important;
  background-image: none !important;
}

html[data-theme='light'] .public-theme .text-slate-100,
html[data-theme='light'] .public-theme .text-gray-100,
html[data-theme='light'] .public-theme .text-slate-200,
html[data-theme='light'] .public-theme .text-gray-200 {
  color: #0f172a !important;
}

html[data-theme='light'] .public-theme .text-slate-300,
html[data-theme='light'] .public-theme .text-gray-300,
html[data-theme='light'] .public-theme .text-slate-400,
html[data-theme='light'] .public-theme .text-gray-400,
html[data-theme='light'] .public-theme .text-slate-500,
html[data-theme='light'] .public-theme .text-gray-500 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .border-slate-800,
html[data-theme='light'] .public-theme .border-gray-800,
html[data-theme='light'] .public-theme .border-slate-700,
html[data-theme='light'] .public-theme .border-gray-700 {
  border-color: rgba(203, 213, 225, 0.95) !important;
}

html[data-theme='light'] .public-theme .hover\:text-white:hover {
  color: #0f172a !important;
}

html[data-theme='light'] .public-theme .hover\:border-slate-500:hover,
html[data-theme='light'] .public-theme .hover\:border-slate-400:hover {
  border-color: rgba(20, 184, 166, 0.45) !important;
}

html[data-theme='light'] .public-theme .public-footer-shell .text-slate-400,
html[data-theme='light'] .public-theme .public-footer-shell .text-slate-500 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .public-footer-shell {
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.98));
}

.public-theme main {
  overflow-x: clip;
}

.public-theme h1,
.public-theme h2,
.public-theme h3,
.public-theme h4,
.public-theme h5,
.public-theme h6,
.public-theme .section-display,
.public-theme .pricing-card h2,
.public-theme .trust-grid-card h3,
.public-theme .saas-card h3 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.public-theme section {
  position: relative;
}

.public-theme .public-page-hero {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 36%),
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(8, 15, 32, 0.94), rgba(15, 23, 42, 0.98));
}

.public-theme a,
.public-theme button,
.public-theme input,
.public-theme select,
.public-theme textarea,
.public-theme summary {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.public-theme :focus-visible {
  outline: 2px solid rgba(20, 184, 166, 0.82);
  outline-offset: 3px;
}

.public-theme [x-cloak] {
  display: none !important;
}

.public-theme .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #14b8a6;
}

.public-theme .section-kicker::before {
  content: '';
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.22rem;
  background: linear-gradient(135deg, #0f8b8d 0%, #14b8a6 45%, #16a34a 100%);
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.12), 0 0 16px rgba(20, 184, 166, 0.28);
  transform: rotate(12deg);
}

.public-theme .section-display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.public-theme .section-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--public-text-muted);
}

.public-theme .comparison-hero {
  position: relative;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 15, 32, 0.94), rgba(15, 23, 42, 0.98));
}

.public-theme .comparison-hero__panel {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.96));
  box-shadow: var(--public-shadow);
}

.public-theme .comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  background: rgba(20, 184, 166, 0.08);
  color: #14b8a6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.public-theme .comparison-card,
.public-theme .comparison-table-shell,
.public-theme .comparison-faq-item,
.public-theme .comparison-cta-shell {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.76), rgba(15, 23, 42, 0.94));
  box-shadow: var(--public-shadow-soft);
}

.public-theme .comparison-table-shell {
  overflow: hidden;
}

.public-theme .comparison-table-shell table {
  width: 100%;
  border-collapse: collapse;
}

.public-theme .comparison-table-shell thead th {
  background: rgba(15, 23, 42, 0.92);
  color: #cbd5e1;
}

.public-theme .comparison-table-shell tbody tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.28);
}

.public-theme .comparison-table-shell tbody td,
.public-theme .comparison-table-shell tbody th {
  color: #e2e8f0;
}

.public-theme .comparison-table-shell .comparison-section-row td {
  background: rgba(15, 23, 42, 0.72) !important;
  color: #94a3b8 !important;
}

.public-theme .comparison-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(30, 41, 59, 0.72);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
}

.public-theme .comparison-chip--match {
  border-color: rgba(20, 184, 166, 0.28);
  background: rgba(20, 184, 166, 0.12);
  color: #5eead4;
}

.public-theme .comparison-chip--missing {
  background: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
}

.public-theme .comparison-callout {
  border-left: 4px solid rgba(20, 184, 166, 0.72);
}

.public-theme .comparison-signal-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-theme .comparison-signal {
  height: 100%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.25rem;
  background: rgba(8, 17, 31, 0.34);
  padding: 1rem 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.public-theme .comparison-signal__label {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.public-theme .comparison-signal__value {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.public-theme .comparison-section-intro {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.public-theme .comparison-note {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.46);
  color: #94a3b8;
  padding: 0.9rem 1rem;
  text-align: center;
}

.public-theme .comparison-table-shell tbody tr:hover td {
  background: rgba(20, 184, 166, 0.08);
}

.public-theme .comparison-faq-trigger {
  color: #f8fafc;
}

.public-theme .comparison-faq-answer {
  color: #cbd5e1;
}

.public-theme .comparison-cta-actions a {
  min-width: 11rem;
}

html[data-theme='light'] .public-theme .comparison-hero {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fafc, #eef6f7);
  border-bottom-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .public-theme .public-page-hero {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 36%),
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.06), transparent 34%),
    linear-gradient(180deg, #f8fafc, #eef6f7);
  border-bottom-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .public-theme .comparison-hero__panel,
html[data-theme='light'] .public-theme .comparison-card,
html[data-theme='light'] .public-theme .comparison-table-shell,
html[data-theme='light'] .public-theme .comparison-faq-item,
html[data-theme='light'] .public-theme .comparison-cta-shell {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .public-theme .comparison-table-shell thead th {
  background: #f8fafc;
  color: #475569;
}

html[data-theme='light'] .public-theme .comparison-table-shell tbody td,
html[data-theme='light'] .public-theme .comparison-table-shell tbody th {
  color: #1e293b;
}

html[data-theme='light'] .public-theme .comparison-table-shell tbody tr:nth-child(even) td {
  background: rgba(241, 245, 249, 0.82);
}

html[data-theme='light'] .public-theme .comparison-table-shell .comparison-section-row td {
  background: rgba(226, 232, 240, 0.8) !important;
  color: #334155 !important;
}

/* Table rows with bg-slate-900/50 (section group header rows in comparison tables) */
html[data-theme='light'] .public-theme .comparison-table-shell tr[class*="bg-slate-9"] {
  background: #f1f5f9 !important;
}

html[data-theme='light'] .public-theme .comparison-chip {
  background: rgba(241, 245, 249, 0.9);
  color: #334155;
}

html[data-theme='light'] .public-theme .comparison-chip--match {
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
}

html[data-theme='light'] .public-theme .comparison-chip--missing {
  color: #64748b;
}

html[data-theme='light'] .public-theme .comparison-callout {
  border-left-color: rgba(15, 139, 141, 0.78);
}

html[data-theme='light'] .public-theme .comparison-signal {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94));
  border-color: rgba(203, 213, 225, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

html[data-theme='light'] .public-theme .comparison-signal__label {
  color: #0f8b8d;
}

html[data-theme='light'] .public-theme .comparison-signal__value {
  color: #0f172a;
}

html[data-theme='light'] .public-theme .comparison-note {
  background: rgba(255, 255, 255, 0.96);
  color: #475569;
  border-color: rgba(203, 213, 225, 0.95);
}

html[data-theme='light'] .public-theme .comparison-table-shell tbody tr:hover td {
  background: rgba(226, 232, 240, 0.68);
}

html[data-theme='light'] .public-theme .comparison-faq-trigger {
  color: #0f172a;
}

html[data-theme='light'] .public-theme .comparison-faq-answer {
  color: #334155;
}

.public-theme .public-grid-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(203, 213, 225, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 225, 0.05) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.75), transparent 88%);
  pointer-events: none;
}

.public-theme .saas-panel,
.public-theme .saas-card,
.public-theme .pricing-card,
.public-theme .founder-program,
.public-theme .comparison-strip {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.public-theme .saas-panel {
  border: 1px solid var(--public-border);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.94));
  box-shadow: var(--public-shadow);
}

.public-theme .saas-card {
  border: 1px solid var(--public-border);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72), rgba(10, 18, 32, 0.92));
  box-shadow: var(--public-shadow-soft);
}

.public-theme .saas-card:hover,
.public-theme .marketing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow: 0 24px 64px rgba(2, 8, 23, 0.34);
}

.public-theme .marketing-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* Normalize legacy feature cards that don't yet carry .marketing-card */
.public-theme article.group.rounded-2xl.border.border-slate-800 {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.public-theme article.group.rounded-2xl.border.border-slate-800:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow: 0 24px 64px rgba(2, 8, 23, 0.34);
}

.public-theme .metric-pill,
.public-theme .trust-pill,
.public-theme .proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(30, 41, 59, 0.65);
  padding: 0.7rem 1rem;
  color: var(--public-text-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.public-theme .metric-pill strong,
.public-theme .trust-pill strong,
.public-theme .proof-pill strong {
  color: #f8fafc;
}

.public-theme .hero-surface {
  position: relative;
  border-radius: 2rem;
  border: 1px solid rgba(20, 184, 166, 0.18);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.96));
  box-shadow: var(--public-shadow);
  overflow: hidden;
}

.public-theme .hero-surface::after {
  content: '';
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 70%);
  pointer-events: none;
}

.public-theme .hero-float-card {
  position: absolute;
  z-index: 2;
  min-width: 12rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 17, 31, 0.88);
  box-shadow: 0 20px 44px rgba(2, 8, 23, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.public-theme .hero-float-card--one {
  top: -1.25rem;
  left: -1.25rem;
}

.public-theme .hero-float-card--two {
  right: -1.25rem;
  bottom: 2rem;
}

.public-theme .hero-float-card--three {
  bottom: -1rem;
  left: 1.25rem;
}

.public-theme .command-mini-chart {
  display: flex;
  align-items: end;
  gap: 0.25rem;
  height: 3rem;
}

.public-theme .command-mini-chart span {
  flex: 1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #14b8a6, #16a34a);
  opacity: 0.85;
}

.public-theme .public-stat-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.1rem;
  background: rgba(30, 41, 59, 0.62);
  padding: 1rem;
}

.public-theme .public-stat-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
}

.public-theme .hero-proof-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.public-theme .telemetry-strip {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.74), rgba(8, 17, 31, 0.92));
  padding: 0.85rem 1rem;
}

.public-theme .telemetry-strip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--public-text-muted);
}

.public-theme .telemetry-strip-item strong {
  color: #fff;
  letter-spacing: -0.01em;
}

.public-theme .public-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.public-theme .public-checklist li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--public-text-muted);
}

.public-theme .public-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f8b8d, #14b8a6 55%, #16a34a);
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.12);
}

.public-theme .cta-inline-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.public-theme .cta-inline-arrow:hover svg,
.public-theme .cta-inline-arrow:hover span[aria-hidden="true"] {
  transform: translateX(2px);
}

.public-theme .cta-inline-arrow svg,
.public-theme .cta-inline-arrow span[aria-hidden="true"] {
  transition: transform 180ms ease;
}

.public-theme .pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.84), rgba(8, 17, 31, 0.96));
  padding: 2rem;
  box-shadow: var(--public-shadow-soft);
}

.public-theme .pricing-tier-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.public-theme .pricing-toggle-shell {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.84);
  padding: 0.25rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.public-theme .pricing-value {
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.public-theme .pricing-cta {
  width: 100%;
}

.public-theme .pricing-card--featured {
  border-color: rgba(20, 184, 166, 0.42);
  background:
    radial-gradient(circle at top, rgba(20, 184, 166, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(13, 24, 42, 0.98), rgba(10, 18, 32, 0.98));
  box-shadow: 0 28px 90px rgba(20, 184, 166, 0.2);
  transform: translateY(-8px);
}

.public-theme .pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.75), rgba(59, 130, 246, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.public-theme .pricing-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.public-theme .pricing-chip--featured {
  background: rgba(20, 184, 166, 0.14);
  color: #ccfbf1;
  border: 1px solid rgba(20, 184, 166, 0.28);
}

.public-theme .pricing-chip--neutral {
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.public-theme .comparison-strip {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(8, 17, 31, 0.94));
}

.public-theme .founder-program {
  border-radius: 1.8rem;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(8, 17, 31, 0.98));
  box-shadow: 0 24px 84px rgba(245, 158, 11, 0.08);
}

.public-theme .trust-grid-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.25rem;
  background: rgba(30, 41, 59, 0.76);
  padding: 1.3rem;
}

.public-theme .mockup-dock {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 1.5rem;
  background: rgba(30, 41, 59, 0.75);
  padding: 0.75rem;
  box-shadow: var(--public-shadow-soft);
}

.public-theme .mockup-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.public-theme .mockup-tab {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.65);
}

.public-theme .demo-choice {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(8, 17, 31, 0.96));
  box-shadow: var(--public-shadow-soft);
}

.public-theme .demo-choice--featured {
  border-color: rgba(20, 184, 166, 0.36);
  box-shadow: 0 24px 72px rgba(20, 184, 166, 0.16);
}

.public-theme header.public-nav-shell,
.public-theme footer.public-footer-shell {
  background-color: rgba(15, 23, 42, 0.9) !important;
}

.public-theme .public-nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.12), rgba(20, 184, 166, 0.18));
  border: 1px solid rgba(20, 184, 166, 0.22);
  color: #f8fafc;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.18);
  overflow: hidden;
}

.public-theme .public-nav-logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.public-theme .public-nav-tagline {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}

.public-theme .public-nav-cta {
  background: linear-gradient(to right, #06b6d4, #22d3ee) !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25) !important;
  color: #0f172a !important;
}

.public-theme .public-nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.public-theme .public-brand-button,
.public-theme .brand-button,
.public-theme a[href^="/signup"].bg-cyan-500,
.public-theme a[href^="/demo"].bg-cyan-500,
.public-theme button.bg-cyan-500 {
  background: linear-gradient(to right, #06b6d4, #22d3ee) !important;
  border-color: rgba(6, 182, 212, 0.3) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25) !important;
}

.public-theme .bg-cyan-500:hover,
.public-theme .hover\:bg-cyan-500:hover,
.public-theme .hover\:bg-cyan-400:hover,
.public-theme button.bg-cyan-500:hover,
.public-theme a[href^="/signup"].bg-cyan-500:hover,
.public-theme a[href^="/demo"].bg-cyan-500:hover {
  background: linear-gradient(to right, #0891b2, #06b6d4) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4) !important;
  transform: translateY(-1px);
}

.public-theme .bg-cyan-500\/5,
.public-theme .bg-cyan-500\/10,
.public-theme .bg-cyan-500\/15,
.public-theme .bg-cyan-500\/20,
.public-theme .bg-cyan-500\/60,
.public-theme .bg-cyan-500\/80,
.public-theme .bg-cyan-900\/20,
.public-theme .bg-cyan-900\/40 {
  background-color: rgba(15, 139, 141, 0.08) !important;
}

.public-theme .text-cyan-50,
.public-theme .text-cyan-100,
.public-theme .text-cyan-200,
.public-theme .text-cyan-300,
.public-theme .text-cyan-400,
.public-theme .hover\:text-cyan-200:hover,
.public-theme .hover\:text-cyan-300:hover,
.public-theme .hover\:text-cyan-400:hover {
  color: #14b8a6 !important;
}

.public-theme .text-cyan-50 {
  color: #f8fafc !important;
}

.public-theme .border-cyan-500,
.public-theme .border-cyan-500\/20,
.public-theme .border-cyan-500\/25,
.public-theme .border-cyan-500\/30,
.public-theme .border-cyan-500\/40,
.public-theme .border-cyan-500\/50,
.public-theme .hover\:border-cyan-500\/40:hover,
.public-theme .hover\:border-cyan-500\/50:hover {
  border-color: rgba(20, 184, 166, 0.28) !important;
}

.public-theme .focus\:ring-cyan-500\/40:focus,
.public-theme .focus\:ring-cyan-500\/50:focus,
.public-theme .ring-cyan-500\/20 {
  --tw-ring-color: rgba(20, 184, 166, 0.34) !important;
}

.public-theme .shadow-cyan-500\/25,
.public-theme .shadow-emerald-500\/50 {
  --tw-shadow-color: rgba(20, 184, 166, 0.24) !important;
}

.public-theme .bg-blue-600,
.public-theme .bg-blue-700,
.public-theme .bg-blue-800\/80,
.public-theme .bg-blue-900\/20,
.public-theme .bg-blue-900\/40 {
  background-color: rgba(15, 139, 141, 0.08) !important;
}

.public-theme .border-blue-800,
.public-theme .border-blue-800\/50,
.public-theme .border-blue-800\/60,
.public-theme .border-blue-800\/70 {
  border-color: rgba(20, 184, 166, 0.24) !important;
}

.public-theme .text-blue-400,
.public-theme .text-blue-300 {
  color: #14b8a6 !important;
}

.public-theme .hero-surface,
.public-theme .saas-panel,
.public-theme .pricing-card,
.public-theme .comparison-strip,
.public-theme .founder-program,
.public-theme .mockup-dock,
.public-theme .demo-choice,
.public-theme .trust-grid-card {
  border-color: rgba(203, 213, 225, 0.14);
}

.public-theme .hero-surface,
.public-theme .pricing-card--featured,
.public-theme .demo-choice--featured {
  box-shadow: 0 24px 72px rgba(20, 184, 166, 0.14);
}

.public-theme .section-kicker + .section-display,
.public-theme .section-kicker + h1,
.public-theme .section-kicker + h2 {
  margin-top: 0.35rem;
}

/* Premium SaaS visual enhancements */

/* Enhanced card styling for premium depth */
.public-theme .pricing-card,
.public-theme .saas-card,
.public-theme .trust-grid-card,
.public-theme .comparison-card {
  border: 1px solid rgba(203, 213, 225, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.public-theme .pricing-card:hover,
.public-theme .saas-card:hover,
.public-theme .trust-grid-card:hover,
.public-theme .comparison-card:hover {
  border-color: rgba(20, 184, 166, 0.24);
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(6, 182, 212, 0.12) !important;
}

/* Premium button styling */
.public-theme a[href^="/signup"],
.public-theme a[href^="/demo"],
.public-theme a[href^="/contact"],
.public-theme button.bg-gradient-to-r {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.public-theme a[href^="/signup"].bg-gradient-to-r:hover,
.public-theme button.bg-gradient-to-r:hover {
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.25) !important;
  transform: translateY(-2px) scale(1.02);
}

.public-theme a[href^="/demo"],
.public-theme a[href^="/contact"] {
  position: relative;
  overflow: hidden;
}

.public-theme a[href^="/demo"]::before,
.public-theme a[href^="/contact"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}

.public-theme a[href^="/demo"]:hover::before,
.public-theme a[href^="/contact"]:hover::before {
  transform: translateX(100%);
}

/* Enhanced spacing rhythm */
.public-theme section + section {
  margin-top: 0;
}

.public-theme section {
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
}

/* Premium heading styling */
/* Hero gradient text for premium h1/h2 headings */
.public-theme .hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme='light'] .public-theme .hero-gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.public-theme .section-display {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme='light'] .public-theme .section-display {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Featured tier glow effect */
.public-theme .pricing-card.group {
  position: relative;
}

.public-theme .pricing-card.group::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
  z-index: -1;
}

.public-theme .pricing-card.group:hover::before {
  opacity: 1;
}

/* Smooth section transitions */
.public-theme main > section {
  animation: fadeInUp 600ms ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0.9;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Improved list item styling */
.public-theme .public-checklist li {
  transition: transform 180ms ease, color 180ms ease;
}

.public-theme .public-checklist li:hover {
  transform: translateX(4px);
  color: #14b8a6;
}

/* Premium focus states */
.public-theme a:focus,
.public-theme button:focus,
.public-theme input:focus,
.public-theme select:focus,
.public-theme textarea:focus {
  outline: 2px solid rgba(20, 184, 166, 0.5);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
}

/* Enhanced details element styling */
.public-theme details.saas-card {
  cursor: pointer;
  overflow: hidden;
}

.public-theme details.saas-card[open] summary {
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
  margin-bottom: 1rem;
}

.public-theme details.saas-card summary:hover {
  color: #14b8a6;
}

.public-theme details.saas-card summary::marker {
  color: rgba(20, 184, 166, 0.6);
}

.public-theme .product-mockup,
.public-theme [class*="product-mockup"],
.public-theme [class*="screenshot"],
.public-theme .product-screenshot-frame {
  box-shadow: 0 24px 72px rgba(2, 8, 23, 0.42) !important;
}

.public-theme input,
.public-theme select,
.public-theme textarea,
.public-theme .form-input,
.public-theme .input {
  background-color: rgba(15, 23, 42, 0.96) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  color: #f8fafc !important;
}

.public-theme input::placeholder,
.public-theme textarea::placeholder {
  color: #64748b !important;
}

/* Premium public form system (contact/demo/signup) */
.public-theme form[action="/contact"],
.public-theme form[action="/demo"],
.public-theme form[action="/signup"] {
  border: 1px solid rgba(34, 211, 238, 0.2);
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.95), rgba(2, 6, 23, 0.98));
  box-shadow: 0 28px 90px rgba(2, 8, 23, 0.38), 0 0 0 1px rgba(34, 211, 238, 0.06) inset;
  border-radius: 1.4rem;
}

.public-theme form[action="/contact"] label span,
.public-theme form[action="/demo"] label span,
.public-theme form[action="/signup"] label {
  color: #dbeafe !important;
  letter-spacing: 0.01em;
}

.public-theme form[action="/contact"] input,
.public-theme form[action="/contact"] select,
.public-theme form[action="/contact"] textarea,
.public-theme form[action="/demo"] input,
.public-theme form[action="/demo"] select,
.public-theme form[action="/demo"] textarea,
.public-theme form[action="/signup"] input,
.public-theme form[action="/signup"] select,
.public-theme form[action="/signup"] textarea {
  min-height: 50px;
  border-radius: 0.9rem !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.public-theme form[action="/contact"] textarea,
.public-theme form[action="/demo"] textarea,
.public-theme form[action="/signup"] textarea {
  min-height: 140px;
}

.public-theme form[action="/contact"] input:focus,
.public-theme form[action="/contact"] select:focus,
.public-theme form[action="/contact"] textarea:focus,
.public-theme form[action="/demo"] input:focus,
.public-theme form[action="/demo"] select:focus,
.public-theme form[action="/demo"] textarea:focus,
.public-theme form[action="/signup"] input:focus,
.public-theme form[action="/signup"] select:focus,
.public-theme form[action="/signup"] textarea:focus {
  border-color: rgba(34, 211, 238, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12), 0 12px 32px rgba(34, 211, 238, 0.12) !important;
}

.public-theme form[action="/contact"] button[type="submit"],
.public-theme form[action="/demo"] button[type="submit"],
.public-theme form[action="/signup"] button[type="submit"] {
  min-height: 52px;
  border-radius: 0.95rem !important;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #22d3ee, #06b6d4) !important;
  box-shadow: 0 14px 36px rgba(34, 211, 238, 0.28) !important;
}

.public-theme form[action="/contact"] button[type="submit"]:hover,
.public-theme form[action="/demo"] button[type="submit"]:hover,
.public-theme form[action="/signup"] button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Product mockup readability + depth */
.public-theme .product-mockup-frame {
  border-color: rgba(34, 211, 238, 0.24) !important;
  box-shadow: 0 34px 100px rgba(2, 8, 23, 0.55), 0 0 0 1px rgba(34, 211, 238, 0.1) inset !important;
}

.public-theme .product-mockup-frame .text-slate-500 {
  color: #94a3b8 !important;
}

.public-theme .product-mockup-frame .text-slate-400 {
  color: #cbd5e1 !important;
}

.public-theme .product-mockup-frame .text-xs.font-bold.text-white,
.public-theme .product-mockup-frame .text-sm.font-bold.text-white,
.public-theme .product-mockup-frame .text-base.font-bold.text-white {
  letter-spacing: -0.01em;
}

/* Operational storytelling band */
.public-theme .story-band {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.1), transparent 32%),
    radial-gradient(circle at 80% 100%, rgba(52, 211, 153, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}

.public-theme .story-contrast-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85), rgba(8, 17, 31, 0.95));
}

.public-theme .story-contrast-card--pain {
  border-color: rgba(251, 146, 60, 0.35);
  background: linear-gradient(180deg, rgba(124, 45, 18, 0.28), rgba(30, 41, 59, 0.9));
}

.public-theme .story-contrast-card--gain {
  border-color: rgba(34, 211, 238, 0.36);
  background: linear-gradient(180deg, rgba(14, 116, 144, 0.28), rgba(15, 23, 42, 0.92));
}

.public-theme table {
  background: rgba(8, 17, 31, 0.85);
}

.public-theme th {
  color: #e2e8f0;
}

.public-theme td {
  color: #cbd5e1;
}

.public-theme .text-slate-300,
.public-theme .text-gray-300 {
  color: var(--public-text-muted) !important;
}

.public-theme .text-slate-400,
.public-theme .text-gray-400,
.public-theme .text-slate-500,
.public-theme .text-gray-500 {
  color: var(--public-text-soft) !important;
}

.public-theme .text-white,
.public-theme .text-slate-100,
.public-theme .text-gray-100,
.public-theme .text-slate-200,
.public-theme .text-gray-200 {
  color: var(--public-text) !important;
}

html[data-theme='light'] .public-theme {
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.06), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: #1e293b;
}

html[data-theme='light'] .public-theme .section-kicker {
  color: #0f8b8d;
}

html[data-theme='light'] .public-theme .section-kicker::before {
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.08), 0 0 16px rgba(20, 184, 166, 0.18);
}

html[data-theme='light'] .public-theme .section-lead,
html[data-theme='light'] .public-theme .text-slate-400,
html[data-theme='light'] .public-theme .text-gray-400,
html[data-theme='light'] .public-theme .text-slate-500,
html[data-theme='light'] .public-theme .text-gray-500 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .saas-panel,
html[data-theme='light'] .public-theme .saas-card,
html[data-theme='light'] .public-theme .pricing-card,
html[data-theme='light'] .public-theme .comparison-strip,
html[data-theme='light'] .public-theme .founder-program,
html[data-theme='light'] .public-theme .trust-grid-card,
html[data-theme='light'] .public-theme .mockup-dock,
html[data-theme='light'] .public-theme .demo-choice {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.82);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

html[data-theme='light'] .public-theme .demo-dark-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.82);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

html[data-theme='light'] .public-theme .demo-step-item {
  background: rgba(248, 250, 252, 0.98);
  border-color: rgba(203, 213, 225, 0.8);
}

html[data-theme='light'] .public-theme .demo-form-section {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(203, 213, 225, 0.82);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

html[data-theme='light'] .public-theme .pricing-best-fit {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(203, 213, 225, 0.7);
}

html[data-theme='light'] .public-theme .pricing-best-fit .text-white {
  color: #0f172a !important;
}

html[data-theme='light'] .public-theme .pricing-best-fit strong {
  color: #1e293b !important;
}

html[data-theme='light'] .public-theme .pricing-toggle-shell button[class*='bg-slate-800'] {
  background-color: #1e293b !important;
  color: #f8fafc !important;
}

html[data-theme='light'] .public-theme .pricing-price-box {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(203, 213, 225, 0.7);
}

html[data-theme='light'] .public-theme .pricing-price-box .text-white,
html[data-theme='light'] .public-theme .pricing-price-box strong {
  color: #0f172a !important;
}

html[data-theme='light'] .public-theme .pricing-price-box .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .pricing-price-box .text-emerald-300 {
  color: #059669 !important;
}

html[data-theme='light'] .public-theme .hero-surface {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.8);
}

html[data-theme='light'] .public-theme .hero-float-card,
html[data-theme='light'] .public-theme .public-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(203, 213, 225, 0.8);
}

html[data-theme='light'] .public-theme .mockup-tab {
  background: rgba(241, 245, 249, 0.95);
  color: #334155;
  border-color: rgba(203, 213, 225, 0.9);
}

html[data-theme='light'] .public-theme .pricing-card--featured {
  background:
    radial-gradient(circle at top, rgba(20, 184, 166, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 22px 56px rgba(20, 184, 166, 0.12);
}

html[data-theme='light'] .public-theme .telemetry-strip {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(203, 213, 225, 0.9);
}

html[data-theme='light'] .public-theme .pricing-toggle-shell {
  background: rgba(248, 250, 252, 0.96);
  border-color: rgba(203, 213, 225, 0.9);
}

html[data-theme='light'] .public-theme .pricing-tier-rank {
  color: #334155;
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
}

html[data-theme='light'] .public-theme .pricing-chip--featured {
  background: rgba(20, 184, 166, 0.12);
  color: #0f8b8d;
}

html[data-theme='light'] .public-theme .public-nav-shell,
html[data-theme='light'] .public-theme footer.public-footer-shell {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(203, 213, 225, 0.82) !important;
}

html[data-theme='light'] .public-theme .public-nav-logo-mark {
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.08), rgba(20, 184, 166, 0.14));
  border-color: rgba(20, 184, 166, 0.24);
  color: #1e293b;
}

html[data-theme='light'] .public-theme .public-nav-tagline {
  color: #64748b;
}

html[data-theme='light'] .public-theme .public-nav-cta,
html[data-theme='light'] .public-theme .public-brand-button,
html[data-theme='light'] .public-theme .brand-button,
html[data-theme='light'] .public-theme a[href^="/signup"].bg-cyan-500,
html[data-theme='light'] .public-theme a[href^="/demo"].bg-cyan-500,
html[data-theme='light'] .public-theme button.bg-cyan-500 {
  background: linear-gradient(to right, #06b6d4, #22d3ee) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3) !important;
}

html[data-theme='light'] .public-theme .bg-cyan-500\/5,
html[data-theme='light'] .public-theme .bg-cyan-500\/10,
html[data-theme='light'] .public-theme .bg-cyan-500\/15,
html[data-theme='light'] .public-theme .bg-cyan-500\/20,
html[data-theme='light'] .public-theme .bg-cyan-900\/20,
html[data-theme='light'] .public-theme .bg-cyan-900\/40 {
  background-color: rgba(15, 139, 141, 0.08) !important;
}

html[data-theme='light'] .public-theme .text-cyan-50,
html[data-theme='light'] .public-theme .text-cyan-100,
html[data-theme='light'] .public-theme .text-cyan-200,
html[data-theme='light'] .public-theme .text-cyan-300,
html[data-theme='light'] .public-theme .text-cyan-400,
html[data-theme='light'] .public-theme .hover\:text-cyan-200:hover,
html[data-theme='light'] .public-theme .hover\:text-cyan-300:hover,
html[data-theme='light'] .public-theme .hover\:text-cyan-400:hover {
  color: #0f8b8d !important;
}

html[data-theme='light'] .public-theme input,
html[data-theme='light'] .public-theme select,
html[data-theme='light'] .public-theme textarea,
html[data-theme='light'] .public-theme .form-input,
html[data-theme='light'] .public-theme .input {
  background: rgba(255, 255, 255, 0.96) !important;
  background-image: none !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  color: #1e293b !important;
}

html[data-theme='light'] .public-theme form[action="/contact"] input,
html[data-theme='light'] .public-theme form[action="/contact"] select,
html[data-theme='light'] .public-theme form[action="/contact"] textarea,
html[data-theme='light'] .public-theme form[action="/demo"] input,
html[data-theme='light'] .public-theme form[action="/demo"] select,
html[data-theme='light'] .public-theme form[action="/demo"] textarea,
html[data-theme='light'] .public-theme form[action="/signup"] input,
html[data-theme='light'] .public-theme form[action="/signup"] select,
html[data-theme='light'] .public-theme form[action="/signup"] textarea {
  background: rgba(255, 255, 255, 0.96) !important;
  background-image: none !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  color: #1e293b !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme='light'] .public-theme input::placeholder,
html[data-theme='light'] .public-theme textarea::placeholder {
  color: #64748b !important;
}

html[data-theme='light'] .public-theme table {
  background: rgba(255, 255, 255, 0.92);
}

html[data-theme='light'] .public-theme th {
  color: #334155;
}

html[data-theme='light'] .public-theme td {
  color: #475569;
}

/* ── Light mode: saas-card / saas-panel inner content ──────────────────────
   These cards contain inline Tailwind utility classes that are hardcoded for
   dark mode. Override them so they remain readable on a light background.      */

/* Inner content rows / item boxes inside saas-card (e.g. Workflow Coverage) */
html[data-theme='light'] .public-theme .saas-card .rounded-2xl.border.border-slate-800,
html[data-theme='light'] .public-theme .saas-panel .rounded-2xl.border.border-slate-800,
html[data-theme='light'] .public-theme .saas-card [class*="border-slate-800"],
html[data-theme='light'] .public-theme .saas-panel [class*="border-slate-800"] {
  border-color: rgba(203, 213, 225, 0.7) !important;
}

html[data-theme='light'] .public-theme .saas-card [class*="bg-slate-950"],
html[data-theme='light'] .public-theme .saas-panel [class*="bg-slate-950"] {
  background-color: rgba(241, 245, 249, 0.85) !important;
}

/* Progress bar tracks inside saas-card (bg-slate-800 → visible light gray) */
html[data-theme='light'] .public-theme .saas-card .h-2.rounded-full.bg-slate-800,
html[data-theme='light'] .public-theme .saas-card .h-2[class*="bg-slate-8"],
html[data-theme='light'] .public-theme .saas-panel .h-2.rounded-full.bg-slate-800,
html[data-theme='light'] .public-theme .saas-panel .h-2[class*="bg-slate-8"] {
  background-color: #e2e8f0 !important;
}

/* Text inside those inner items */
html[data-theme='light'] .public-theme .saas-card .text-slate-300,
html[data-theme='light'] .public-theme .saas-panel .text-slate-300 {
  color: #334155 !important;
}

/* Section bands using slate-900/slate-800 backgrounds on the public page */
html[data-theme='light'] .public-theme section.border-y.border-slate-800,
html[data-theme='light'] .public-theme section[class*="bg-slate-900"],
html[data-theme='light'] .public-theme section[class*="bg-slate-800"] {
  background-color: #f1f5f9 !important;
  border-color: rgba(203, 213, 225, 0.7) !important;
}

/* Workflow feature cards (rounded-2xl border-slate-800 bg-slate-900) */
html[data-theme='light'] .public-theme .rounded-2xl.border.border-slate-800.bg-slate-900\/50,
html[data-theme='light'] .public-theme .rounded-2xl.border.border-slate-800[class*="bg-slate-900"] {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(203, 213, 225, 0.75) !important;
}

@media (max-width: 1024px) {
  .public-theme .hero-float-card {
    position: static;
    min-width: 0;
  }

  .public-theme .pricing-card--featured {
    transform: none;
  }

  .public-theme .comparison-signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .public-theme .section-display {
    font-size: 2.6rem;
  }

  .public-theme .section-lead {
    font-size: 1rem;
  }

  .public-theme .metric-pill,
  .public-theme .trust-pill,
  .public-theme .proof-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .public-theme .mockup-tab-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Long-tail public page parity pass (/compare, /guides, /for, feature detail pages) */
.public-theme .bg-slate-950,
.public-theme .bg-slate-900,
.public-theme .bg-slate-800\/50,
.public-theme .bg-slate-800\/40,
.public-theme .bg-slate-800\/30,
.public-theme .bg-slate-800\/20 {
  background-color: rgba(15, 23, 42, 0.72) !important;
}

.public-theme .rounded-xl.border.border-slate-800.bg-slate-900,
.public-theme .rounded-xl.border.border-slate-700.bg-slate-900,
.public-theme .rounded-xl.border.border-slate-700.bg-slate-800\/50,
.public-theme .rounded-lg.border.border-slate-800.bg-slate-900 {
  border-color: rgba(203, 213, 225, 0.18) !important;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(8, 17, 31, 0.92)) !important;
  box-shadow: 0 14px 38px rgba(2, 8, 23, 0.24);
}

.public-theme .rounded-xl.border.border-cyan-500\/30.bg-cyan-500\/5,
.public-theme .rounded-xl.border.border-cyan-500\/20.bg-cyan-500\/10,
.public-theme .rounded-xl.border.border-cyan-500\/30.bg-cyan-500\/10 {
  border-color: rgba(20, 184, 166, 0.32) !important;
  background: linear-gradient(180deg, rgba(15, 139, 141, 0.12), rgba(15, 23, 42, 0.84)) !important;
  box-shadow: 0 16px 42px rgba(20, 184, 166, 0.14);
}

.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 {
  border-color: rgba(203, 213, 225, 0.2) !important;
  box-shadow: 0 14px 38px rgba(2, 8, 23, 0.2);
}

.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 table {
  border-collapse: separate;
  border-spacing: 0;
}

.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 td,
.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 th {
  line-height: 1.45;
}

.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 thead tr {
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.28);
}

.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 tbody tr td {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 tbody tr td[colspan="3"] {
  background: linear-gradient(90deg, rgba(51, 65, 85, 0.58), rgba(30, 41, 59, 0.34)) !important;
  color: #cbd5e1 !important;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.public-theme article.prose-style {
  color: var(--public-text-muted);
}

.public-theme article.prose-style p {
  line-height: 1.72;
}

.public-theme article.prose-style section h2 {
  margin-bottom: 0.85rem;
}

.public-theme article.prose-style section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.public-theme a.text-sm.border.border-slate-700 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-color: rgba(148, 163, 184, 0.28) !important;
  background: rgba(30, 41, 59, 0.44);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.public-theme a.text-sm.border.border-slate-700:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 184, 166, 0.44) !important;
  background: rgba(15, 139, 141, 0.12);
}

html[data-theme='light'] .public-theme .bg-slate-950,
html[data-theme='light'] .public-theme .bg-slate-900,
html[data-theme='light'] .public-theme .bg-slate-800\/50,
html[data-theme='light'] .public-theme .bg-slate-800\/40,
html[data-theme='light'] .public-theme .bg-slate-800\/30,
html[data-theme='light'] .public-theme .bg-slate-800\/20 {
  background-color: #f8fafc !important;
}

html[data-theme='light'] .public-theme .rounded-xl.border.border-slate-800.bg-slate-900,
html[data-theme='light'] .public-theme .rounded-xl.border.border-slate-700.bg-slate-900,
html[data-theme='light'] .public-theme .rounded-xl.border.border-slate-700.bg-slate-800\/50,
html[data-theme='light'] .public-theme .rounded-lg.border.border-slate-800.bg-slate-900 {
  border-color: rgba(203, 213, 225, 0.9) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

html[data-theme='light'] .public-theme .rounded-xl.border.border-cyan-500\/30.bg-cyan-500\/5,
html[data-theme='light'] .public-theme .rounded-xl.border.border-cyan-500\/20.bg-cyan-500\/10,
html[data-theme='light'] .public-theme .rounded-xl.border.border-cyan-500\/30.bg-cyan-500\/10 {
  border-color: rgba(15, 139, 141, 0.34) !important;
  background: linear-gradient(180deg, rgba(15, 139, 141, 0.08), rgba(255, 255, 255, 0.94)) !important;
}

html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 {
  border-color: rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 thead tr {
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.34);
}

html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 tbody tr td {
  border-top: 1px solid rgba(203, 213, 225, 0.62);
}

html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 tbody tr td[colspan="3"] {
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.88), rgba(248, 250, 252, 0.94)) !important;
  color: #334155 !important;
  border-top: 1px solid rgba(203, 213, 225, 0.9);
  border-bottom: 1px solid rgba(203, 213, 225, 0.82);
}

html[data-theme='light'] .public-theme a.text-sm.border.border-slate-700 {
  border-color: rgba(203, 213, 225, 0.92) !important;
  background: rgba(248, 250, 252, 0.94);
  color: #334155 !important;
}

html[data-theme='light'] .public-theme a.text-sm.border.border-slate-700:hover {
  border-color: rgba(15, 139, 141, 0.34) !important;
  background: rgba(15, 139, 141, 0.08);
  color: #0f8b8d !important;
}

/* ===== Readability + premium rhythm global pass ===== */
.public-theme main {
  line-height: 1.68;
}

.public-theme p {
  max-width: 78ch;
}

.public-theme .text-slate-300,
.public-theme .text-gray-300 {
  color: #dbe7f5 !important;
}

.public-theme .text-slate-400,
.public-theme .text-gray-400 {
  color: #b9c9dc !important;
}

.public-theme .text-slate-500,
.public-theme .text-gray-500 {
  color: #93a8c1 !important;
}

.public-theme .section-display {
  font-size: clamp(3rem, 6.2vw, 5.35rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.public-theme .section-lead {
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  line-height: 1.72;
}

.public-theme main > section {
  position: relative;
}

.public-theme main > section:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.28), transparent);
}

.public-theme .saas-card,
.public-theme .trust-grid-card,
.public-theme .comparison-strip,
.public-theme .demo-choice,
.public-theme .marketing-card,
.public-theme .story-contrast-card,
.public-theme .founder-program {
  border-width: 1px;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 18px 48px rgba(2, 8, 23, 0.28);
}

.public-theme .trust-pill,
.public-theme .proof-pill,
.public-theme .metric-pill {
  border-color: rgba(148, 163, 184, 0.34);
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.75), rgba(30, 41, 59, 0.9));
  color: #dbe7f5;
}

.public-theme .public-checklist li {
  line-height: 1.62;
}

/* Legal/trust document system */
.public-theme .legal-doc-page .legal-doc-shell {
  position: relative;
  border: 1px solid rgba(56, 189, 248, 0.26) !important;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98)) !important;
  box-shadow: 0 28px 84px rgba(2, 8, 23, 0.42);
}

.public-theme .legal-doc-page .legal-doc-shell > p:first-of-type {
  margin-bottom: 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(34, 211, 238, 0.08);
  color: #cfe8ff;
  font-size: 0.92rem;
}

.public-theme .legal-doc-page section {
  margin-top: 1.15rem;
}

.public-theme .legal-doc-page section h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.public-theme .legal-doc-page section p,
.public-theme .legal-doc-page section li {
  color: #d8e5f5 !important;
  font-size: 1.01rem;
  line-height: 1.74;
}

.public-theme .legal-doc-toc {
  margin: 0 0 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.95rem;
  padding: 0.9rem 0.95rem;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.92));
}

.public-theme .legal-doc-toc-title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
}

.public-theme .legal-doc-toc-links {
  display: grid;
  gap: 0.42rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.public-theme .legal-doc-toc-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.56);
  color: #d7e6f7;
  font-size: 0.86rem;
  text-decoration: none;
}

.public-theme .legal-doc-toc-links a:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.12);
}

html[data-theme='light'] .public-theme .text-slate-300,
html[data-theme='light'] .public-theme .text-gray-300 {
  color: #1e293b !important;
}

html[data-theme='light'] .public-theme .text-slate-400,
html[data-theme='light'] .public-theme .text-gray-400 {
  color: #334155 !important;
}

/* Light mode product mockup styling */
html[data-theme='light'] .public-theme .product-mockup,
html[data-theme='light'] .public-theme [class*="product-mockup"],
html[data-theme='light'] .public-theme [class*="screenshot"],
html[data-theme='light'] .public-theme .product-screenshot-frame {
  box-shadow: 0 24px 72px rgba(15, 139, 141, 0.18) !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame {
  border-color: rgba(15, 139, 141, 0.28) !important;
  box-shadow: 0 34px 100px rgba(15, 139, 141, 0.16), 0 0 0 1px rgba(15, 139, 141, 0.12) inset !important;
  background: #ffffff !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame .text-slate-400 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame .text-slate-500 {
  color: #64748b !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame .bg-slate-900 {
  background-color: #ffffff !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame .bg-slate-950 {
  background-color: #f8fafc !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame .border-slate-700 {
  border-color: rgba(203, 213, 225, 0.95) !important;
}

html[data-theme='light'] .public-theme .product-mockup-frame .border-slate-800 {
  border-color: rgba(203, 213, 225, 0.85) !important;
}

html[data-theme='light'] .public-theme .text-slate-500,
html[data-theme='light'] .public-theme .text-gray-500 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .legal-doc-page .legal-doc-shell {
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 20px 58px rgba(15, 23, 42, 0.1);
}

html[data-theme='light'] .public-theme .legal-doc-page .legal-doc-shell > p:first-of-type {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  color: #0f172a;
}

html[data-theme='light'] .public-theme .legal-doc-page section p,
html[data-theme='light'] .public-theme .legal-doc-page section li {
  color: #1e293b !important;
}

html[data-theme='light'] .public-theme .legal-doc-toc {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(148, 163, 184, 0.45);
}

html[data-theme='light'] .public-theme .legal-doc-toc-links a {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.38);
  color: #0f172a;
}

/* ===== Tranche: trust center architecture + form hierarchy polish ===== */
.public-theme .trust-hub-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr);
}

.public-theme .trust-hub-nav {
  position: sticky;
  top: 6.2rem;
  height: fit-content;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.98));
  padding: 1rem;
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.32);
}

.public-theme .trust-hub-nav h2 {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
}

.public-theme .trust-hub-nav ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.public-theme .trust-hub-nav a {
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.7rem;
  padding: 0.5rem 0.6rem;
  background: rgba(15, 23, 42, 0.62);
  color: #d8e5f5;
  font-size: 0.82rem;
  text-decoration: none;
}

.public-theme .trust-hub-nav a:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.12);
}

.public-theme .trust-hub-doc-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-theme .trust-hub-doc-card {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.76), rgba(8, 17, 31, 0.94));
  padding: 1rem;
  box-shadow: 0 14px 38px rgba(2, 8, 23, 0.24);
}

.public-theme .trust-hub-doc-card p {
  max-width: none;
}

.public-theme .trust-hub-doc-card .trust-hub-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.28rem 0.58rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #cfe8ff;
}

.public-theme .form-clarity-band {
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(15, 139, 141, 0.14), rgba(15, 23, 42, 0.72));
  padding: 0.95rem 1rem;
  box-shadow: 0 12px 30px rgba(2, 8, 23, 0.2);
}

.public-theme .form-clarity-band p {
  max-width: none;
}

.public-theme form[action="/contact"] .form-step-title,
.public-theme form[action="/demo"] .form-step-title,
.public-theme form[action="/signup"] .form-step-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
}

.public-theme form[action="/contact"] .form-step-title::before,
.public-theme form[action="/demo"] .form-step-title::before,
.public-theme form[action="/signup"] .form-step-title::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #14b8a6);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.public-theme .product-mockup-frame .signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.2rem 0.45rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-theme .product-mockup-frame .signal-chip--attention {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
  background: rgba(180, 83, 9, 0.18);
}

.public-theme .product-mockup-frame .signal-chip--good {
  border-color: rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
  background: rgba(5, 150, 105, 0.2);
}

html[data-theme='light'] .public-theme .trust-hub-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

html[data-theme='light'] .public-theme .trust-hub-nav a {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(203, 213, 225, 0.85);
  color: #0f172a;
}

html[data-theme='light'] .public-theme .trust-hub-doc-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

html[data-theme='light'] .public-theme .trust-hub-doc-card .trust-hub-meta {
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(241, 245, 249, 0.9);
}

html[data-theme='light'] .public-theme .form-clarity-band {
  border-color: rgba(56, 189, 248, 0.28);
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.88), rgba(248, 250, 252, 0.98));
}

@media (max-width: 1024px) {
  .public-theme .trust-hub-grid {
    grid-template-columns: 1fr;
  }

  .public-theme .trust-hub-nav {
    position: static;
  }
}

@media (max-width: 768px) {
  .public-theme .trust-hub-doc-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Tranche: global readability hardening (compare/guides/public copy) ===== */
.public-theme .text-sm.text-slate-400,
.public-theme .text-sm.text-gray-400,
.public-theme p.text-sm.text-slate-400,
.public-theme p.text-sm.text-gray-400 {
  color: #d4e2f1 !important;
  line-height: 1.72;
}

.public-theme .text-sm.text-slate-500,
.public-theme .text-sm.text-gray-500,
.public-theme p.text-sm.text-slate-500,
.public-theme p.text-sm.text-gray-500 {
  color: #bfd0e4 !important;
  line-height: 1.7;
}

.public-theme .text-xs.text-slate-500,
.public-theme .text-xs.text-gray-500,
.public-theme .text-xs.font-bold.text-slate-500,
.public-theme .text-xs.font-medium.text-slate-500 {
  color: #a9bdd3 !important;
  line-height: 1.6;
}

.public-theme .overflow-x-auto th.text-slate-400,
.public-theme .overflow-x-auto td.text-slate-400,
.public-theme .overflow-x-auto td.text-slate-500,
.public-theme table th.text-slate-400,
.public-theme table td.text-slate-400,
.public-theme table td.text-slate-500 {
  color: #d4e2f1 !important;
}

.public-theme .comparison-faq-item .text-slate-400,
.public-theme .comparison-faq-item .text-slate-500,
.public-theme details .text-slate-400,
.public-theme details .text-slate-500 {
  color: #c9dbef !important;
}

html[data-theme='light'] .public-theme .text-sm.text-slate-400,
html[data-theme='light'] .public-theme .text-sm.text-gray-400,
html[data-theme='light'] .public-theme p.text-sm.text-slate-400,
html[data-theme='light'] .public-theme p.text-sm.text-gray-400 {
  color: #334155 !important;
}

html[data-theme='light'] .public-theme .text-sm.text-slate-500,
html[data-theme='light'] .public-theme .text-sm.text-gray-500,
html[data-theme='light'] .public-theme p.text-sm.text-slate-500,
html[data-theme='light'] .public-theme p.text-sm.text-gray-500 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .text-xs.text-slate-500,
html[data-theme='light'] .public-theme .text-xs.text-gray-500,
html[data-theme='light'] .public-theme .text-xs.font-bold.text-slate-500,
html[data-theme='light'] .public-theme .text-xs.font-medium.text-slate-500 {
  color: #475569 !important;
}

html[data-theme='light'] .public-theme .overflow-x-auto th.text-slate-400,
html[data-theme='light'] .public-theme .overflow-x-auto td.text-slate-400,
html[data-theme='light'] .public-theme .overflow-x-auto td.text-slate-500,
html[data-theme='light'] .public-theme table th.text-slate-400,
html[data-theme='light'] .public-theme table td.text-slate-400,
html[data-theme='light'] .public-theme table td.text-slate-500 {
  color: #334155 !important;
}

html[data-theme='light'] .public-theme .comparison-faq-item .text-slate-400,
html[data-theme='light'] .public-theme .comparison-faq-item .text-slate-500,
html[data-theme='light'] .public-theme details .text-slate-400,
html[data-theme='light'] .public-theme details .text-slate-500 {
  color: #334155 !important;
}

/* ===== Comparison pages: light-mode gradient parity for legacy templates ===== */
html[data-theme='light'] .public-theme .from-slate-950 {
  --tw-gradient-from: #f8fafc var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

html[data-theme='light'] .public-theme .to-slate-900 {
  --tw-gradient-to: #eef2f7 var(--tw-gradient-to-position) !important;
}

html[data-theme='light'] .public-theme .from-slate-900\/80 {
  --tw-gradient-from: rgb(248 250 252 / 0.98) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(248 250 252 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

html[data-theme='light'] .public-theme .to-slate-900\/60 {
  --tw-gradient-to: rgb(241 245 249 / 0.94) var(--tw-gradient-to-position) !important;
}

html[data-theme='light'] .public-theme .to-slate-900\/40 {
  --tw-gradient-to: rgb(248 250 252 / 0.98) var(--tw-gradient-to-position) !important;
}

html[data-theme='light'] .public-theme .bg-gradient-to-b.from-slate-950.to-slate-900,
html[data-theme='light'] .public-theme .bg-gradient-to-b.from-amber-500\/5.to-slate-900\/60,
html[data-theme='light'] .public-theme .bg-gradient-to-b.from-slate-900\/80.to-slate-900\/40 {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

/* ===== Restraint pass: editorial composition over decorative styling ===== */
.public-theme {
  letter-spacing: 0;
}

.public-theme .hero-gradient-text,
.public-theme .section-display {
  background: none !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: border-box !important;
}

.public-theme .section-display {
  font-size: clamp(2.55rem, 5.2vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.034em;
}

.public-theme .section-lead {
  max-width: 66ch;
  line-height: 1.78;
}

.public-theme .bg-gradient-to-b,
.public-theme .bg-gradient-to-br,
.public-theme .bg-gradient-to-r {
  background-image: none !important;
}

.public-theme .proof-pill,
.public-theme .trust-pill,
.public-theme .metric-pill {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  color: #cbd5e1 !important;
}

.public-theme .proof-pill strong,
.public-theme .trust-pill strong,
.public-theme .metric-pill strong {
  color: inherit !important;
}

.public-theme .saas-card,
.public-theme .marketing-card,
.public-theme .comparison-card,
.public-theme .comparison-faq-item,
.public-theme .comparison-cta-shell,
.public-theme .comparison-strip,
.public-theme .mockup-dock,
.public-theme .trust-grid-card {
  background: rgba(15, 23, 42, 0.74) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 8px 24px rgba(2, 8, 23, 0.2) !important;
}

.public-theme #ops-foundation article,
.public-theme #client-experience article,
.public-theme #revenue-reports article,
.public-theme #scale-org article {
  border-color: rgba(148, 163, 184, 0.2) !important;
  background: rgba(15, 23, 42, 0.72) !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, transform 180ms ease;
}

.public-theme #ops-foundation article:hover,
.public-theme #client-experience article:hover,
.public-theme #revenue-reports article:hover,
.public-theme #scale-org article:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.34) !important;
}

.public-theme #ops-foundation article .w-12,
.public-theme #client-experience article .w-12,
.public-theme #revenue-reports article .w-12,
.public-theme #scale-org article .w-12 {
  background: rgba(51, 65, 85, 0.45) !important;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: none !important;
}

.public-theme .public-page-hero .grid.gap-3.sm\:grid-cols-3 > div {
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: none !important;
}

.public-theme .public-page-hero .grid.gap-3.sm\:grid-cols-3 > div p {
  color: #cbd5e1 !important;
}

html[data-theme='light'] .public-theme .public-page-hero .grid.gap-3.sm\:grid-cols-3 > div {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
}

html[data-theme='light'] .public-theme .public-page-hero .grid.gap-3.sm\:grid-cols-3 > div p {
  color: #334155 !important;
}

.public-theme .comparison-hero,
.public-theme .comparison-hero__panel,
.public-theme .comparison-table-shell,
.public-theme .comparison-note {
  background: rgba(15, 23, 42, 0.7) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: none !important;
}

.public-theme .comparison-badge,
.public-theme .comparison-chip,
.public-theme .comparison-chip--match,
.public-theme .comparison-chip--missing {
  border-color: rgba(148, 163, 184, 0.3) !important;
  background: rgba(30, 41, 59, 0.52) !important;
  color: #cbd5e1 !important;
}

.public-theme .comparison-table-shell thead th {
  background: rgba(15, 23, 42, 0.86);
  color: #cbd5e1;
}

.public-theme .comparison-table-shell tbody td,
.public-theme .comparison-table-shell tbody th {
  color: #dbe5f2;
}

.public-theme .comparison-table-shell tbody tr:hover td {
  background: rgba(51, 65, 85, 0.38) !important;
}

.public-theme .product-mockup,
.public-theme .product-mockup-frame,
.public-theme .product-screenshot-frame {
  border-color: rgba(148, 163, 184, 0.26) !important;
  box-shadow: 0 12px 34px rgba(2, 8, 23, 0.24) !important;
}

.public-theme .rounded-2xl,
.public-theme .rounded-\[1\.35rem\],
.public-theme .rounded-\[1\.5rem\],
.public-theme .rounded-\[1\.6rem\],
.public-theme .rounded-\[1\.8rem\],
.public-theme .rounded-\[2rem\] {
  border-radius: 0.9rem !important;
}

html[data-theme='light'] .public-theme .proof-pill,
html[data-theme='light'] .public-theme .trust-pill,
html[data-theme='light'] .public-theme .metric-pill {
  background: transparent;
  border-color: transparent;
  color: #334155 !important;
}

html[data-theme='light'] .public-theme .saas-card,
html[data-theme='light'] .public-theme .marketing-card,
html[data-theme='light'] .public-theme .comparison-card,
html[data-theme='light'] .public-theme .comparison-faq-item,
html[data-theme='light'] .public-theme .comparison-cta-shell,
html[data-theme='light'] .public-theme .comparison-strip,
html[data-theme='light'] .public-theme .mockup-dock,
html[data-theme='light'] .public-theme .trust-grid-card,
html[data-theme='light'] .public-theme #ops-foundation article,
html[data-theme='light'] .public-theme #client-experience article,
html[data-theme='light'] .public-theme #revenue-reports article,
html[data-theme='light'] .public-theme #scale-org article {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.92) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme='light'] .public-theme .comparison-hero,
html[data-theme='light'] .public-theme .comparison-hero__panel,
html[data-theme='light'] .public-theme .comparison-table-shell,
html[data-theme='light'] .public-theme .comparison-note {
  background: #f8fafc !important;
  border-color: rgba(203, 213, 225, 0.95) !important;
}

html[data-theme='light'] .public-theme .comparison-badge,
html[data-theme='light'] .public-theme .comparison-chip,
html[data-theme='light'] .public-theme .comparison-chip--match,
html[data-theme='light'] .public-theme .comparison-chip--missing {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
}

/* ===== Comparison + trust refinement tranche ===== */
.public-theme .comparison-table-shell {
  border-radius: 1rem;
}

.public-theme .comparison-table-shell th,
.public-theme .comparison-table-shell td {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.public-theme .comparison-table-shell tbody td {
  line-height: 1.55;
}

.public-theme .comparison-faq-item button {
  min-height: 52px;
}

.public-theme .legal-doc-page .legal-doc-shell section + section {
  margin-top: 1.2rem;
}

/* calmer conversion controls */
.public-theme .comparison-cta-shell a,
.public-theme .comparison-strip a {
  min-height: 44px;
}

@media (max-width: 768px) {
  .public-theme .comparison-table-shell th,
  .public-theme .comparison-table-shell td {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
  }

  .public-theme form[action="/contact"],
  .public-theme form[action="/demo"],
  .public-theme form[action="/signup"] {
    border-radius: 1rem;
    padding: 1rem !important;
  }

  .public-theme form[action="/contact"] input,
  .public-theme form[action="/contact"] select,
  .public-theme form[action="/contact"] textarea,
  .public-theme form[action="/demo"] input,
  .public-theme form[action="/demo"] select,
  .public-theme form[action="/demo"] textarea,
  .public-theme form[action="/signup"] input,
  .public-theme form[action="/signup"] select,
  .public-theme form[action="/signup"] textarea {
    min-height: 46px;
  }
}

  /* ===== Light mode: form containers, error text, remaining dark gradients ===== */

  /* Sections using Tailwind gradient-from dark slate (signup hero, etc.) */
  html[data-theme='light'] .public-theme section[class*="from-slate-9"],
  html[data-theme='light'] .public-theme section[class*="from-slate-8"] {
    background: #f8fafc !important;
    background-image: none !important;
    border-color: rgba(203, 213, 225, 0.7) !important;
  }

  /* Contact form container — dark gradient cleared */
  html[data-theme='light'] .public-theme form[action="/contact"] {
    background: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    border-color: rgba(203, 213, 225, 0.7) !important;
  }

  /* Signup form card DIV — dark gradient cleared */
  html[data-theme='light'] .public-theme .signup-form-card {
    background: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    border-color: rgba(203, 213, 225, 0.7) !important;
  }

  /* form-step-title — cyan (#67e8f9) invisible on white, remap to dark cyan */
  html[data-theme='light'] .public-theme .form-step-title,
  html[data-theme='light'] .public-theme form[action="/contact"] .form-step-title,
  html[data-theme='light'] .public-theme form[action="/demo"] .form-step-title {
    color: #0e7490 !important;
  }

  /* Error message text — near-white rose palette invisible on light bg */
  html[data-theme='light'] .public-theme .text-rose-200,
  html[data-theme='light'] .public-theme .text-rose-100 { color: #9f1239 !important; }
  html[data-theme='light'] .public-theme .text-rose-300 { color: #be123c !important; }

  /* Index page workflow anchor cards — bg-slate-900/70 not covered by global rule */
  html[data-theme='light'] .public-theme a.rounded-2xl[class*="bg-slate-9"],
  html[data-theme='light'] .public-theme a.rounded-2xl[class*="bg-slate-8"] {
    background: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    border-color: rgba(203, 213, 225, 0.82) !important;
  }

  /* Accent cyan text — low contrast on light backgrounds */
  html[data-theme='light'] .public-theme .text-cyan-400 { color: #0369a1 !important; }
  html[data-theme='light'] .public-theme .text-cyan-300 { color: #0e7490 !important; }

  /* Broad catch-all: any div/article carrying a dark slate gradient start-color */
  html[data-theme='light'] .public-theme div[class*="from-slate-9"],
  html[data-theme='light'] .public-theme div[class*="from-slate-8"],
  html[data-theme='light'] .public-theme article[class*="from-slate-9"],
  html[data-theme='light'] .public-theme article[class*="from-slate-8"] {
    background: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    border-color: rgba(203, 213, 225, 0.7) !important;
  }

  /* Catch div/article where gradient END is dark slate (e.g., from-amber-500/5 to-slate-900/50) */
  html[data-theme='light'] .public-theme div[class*="to-slate-9"],
  html[data-theme='light'] .public-theme div[class*="to-slate-8"],
  html[data-theme='light'] .public-theme article[class*="to-slate-9"],
  html[data-theme='light'] .public-theme article[class*="to-slate-8"] {
    background: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    border-color: rgba(203, 213, 225, 0.7) !important;
  }

  /* Hover state: secondary ghost buttons use hover:bg-slate-800 / hover:bg-slate-900.
     In light mode these would flash dark on hover — remap to a subtle light hover tint. */
  html[data-theme='light'] .public-theme [class*="hover:bg-slate-7"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:bg-slate-8"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:bg-slate-9"]:hover {
    background-color: rgba(148, 163, 184, 0.18) !important;
    background-image: none !important;
  }

  /* hover:text-white and group-hover:text-white would be invisible on a light background */
  html[data-theme='light'] .public-theme [class*="hover:text-white"]:hover {
    color: #0f172a !important;
  }
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-white"] {
    color: #0f172a !important;
  }

  /* hover/group-hover accent color variants — light Tailwind shades 3xx/4xx are
     nearly invisible on white; remap to accessible dark counterparts */
  html[data-theme='light'] .public-theme [class*="hover:text-cyan-3"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:text-cyan-4"]:hover { color: #0369a1 !important; }
  html[data-theme='light'] .public-theme [class*="hover:text-emerald-3"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:text-emerald-4"]:hover { color: #047857 !important; }
  html[data-theme='light'] .public-theme [class*="hover:text-violet-3"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:text-violet-4"]:hover { color: #6d28d9 !important; }
  html[data-theme='light'] .public-theme [class*="hover:text-amber-3"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:text-amber-4"]:hover { color: #92400e !important; }

  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-cyan-3"],
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-cyan-4"] { color: #0369a1 !important; }
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-emerald-3"],
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-emerald-4"] { color: #047857 !important; }
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-violet-3"],
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-violet-4"] { color: #6d28d9 !important; }
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-amber-3"],
  html[data-theme='light'] .public-theme .group:hover [class*="group-hover:text-amber-4"] { color: #92400e !important; }

  /* hover: gradient variants — cards that re-apply dark slate gradients on hover */
  html[data-theme='light'] .public-theme [class*="hover:from-slate-9"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:from-slate-8"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:to-slate-9"]:hover,
  html[data-theme='light'] .public-theme [class*="hover:to-slate-8"]:hover {
    background: rgba(241, 245, 249, 0.9) !important;
    background-image: none !important;
  }

  /* Comparison table section header cells in raw-Tailwind compare pages (non comparison-table-shell) */
  html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 td[colspan] {
    background: #e2e8f0 !important;
    color: #374151 !important;
  }

  /* Comparison table header row in raw-Tailwind compare pages */
  html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 thead tr,
  html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 thead th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }

  /* Alternating row tints */
  html[data-theme='light'] .public-theme .overflow-x-auto.rounded-xl.border.border-slate-700 tbody tr[class*="bg-slate-8"] {
    background: rgba(241, 245, 249, 0.7) !important;
  }
