/* =========================================================
   NovinoAI — Design System + Site Styles
   Brand: purple accents on black, IBM Plex Mono display,
          Inter body, retro-futuristic terminal aesthetic.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colors — primitives (from Figma DS) */
  --black: #000000;
  --white: #FFFFFF;
  --gray-900: #292929;
  --gray-800: #1E2939;
  --gray-600: #6A7282;
  --gray-500: #808080;
  --gray-300: #D1D5DC;
  --gray-200: #EAECEF;
  --gray-100: #F8FAFB;

  --purple-900: #1B0633;
  --purple-700: #500AA0;
  --purple-500: #8101FF;  /* primary brand */
  --purple-400: #DB00FF;  /* accent */
  --purple-100: #D0C2E2;

  --green-500: #10B981;
  --red-500:   #DC282B;
  --blue-500:  #2563EB;
  --yellow-500:#F58E0B;
  --orange-500:#EA880C;

  /* Type */
  --font-display: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing + radius */
  --radius-card: 10px;
  --radius-pill: 999px;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 6px;

  /* Layout */
  --page-max: 1400px;
  --page-pad: 40px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med:  320ms;
  --dur-slow: 600ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Body paragraphs default to white for legibility on dark bg */
p { color: var(--white); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.mono { font-family: var(--font-display); letter-spacing: 0.08em; }
.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-400);
}
.section-marker {
  font-family: var(--font-display);
  color: var(--gray-600);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding: 20px var(--page-pad);
  border-bottom: 1px solid var(--gray-900);
  text-transform: uppercase;
}
.section-marker::before { content: "// "; }

/* ---------- Capped content area ----------
   Full-bleed strips (status, nav, marquee, footer) keep edge-to-edge
   backgrounds. Their CONTENT caps at --page-max and centers by using
   responsive side-padding: min 40px, or half the overflow on wider viewports.
   Content-only sections (hero, section-heading, etc.) cap directly.
*/

/* Side-padding helper — centers content within --page-max when viewport is wider */
.status-strip,
.topnav,
.marquee .marquee-head,
.cta-band,
.site-footer .footer-grid,
.site-footer .ascii,
.site-footer .bottom-bar {
  padding-left:  max(var(--page-pad), calc((100vw - var(--page-max)) / 2)) !important;
  padding-right: max(var(--page-pad), calc((100vw - var(--page-max)) / 2)) !important;
}

/* Content-only containers — cap directly + center */
.hero,
.section > .section-marker,
.section-heading,
.card-grid,
.testimonials-grid,
.founder {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
}

/* The marquee track is intentionally NOT capped — it's the scrolling element
   and should be allowed to overflow its container. */

/* ---------- Status strip ---------- */
.status-strip {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--purple-900);
  border-bottom: 1px solid var(--purple-500);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px var(--page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--purple-400);
}
.status-strip .right { display: flex; align-items: center; gap: 16px; }
.status-strip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}
.status-strip .nominal { color: var(--white); }
.status-strip .aux { color: var(--gray-500); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky;
  top: 32px;
  z-index: 110;
  background: var(--black);
  border-bottom: 1px solid var(--gray-900);
  padding: 20px var(--page-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.topnav .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: transform var(--dur-fast) var(--ease-out);
}
.topnav .logo-link:hover { transform: translateX(2px); }
.topnav .logo-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 16px;
  height: 16px;
}
.topnav .logo-mark span {
  background: var(--purple-400);
  border-radius: 50%;
}
.topnav .logo-link sup {
  font-size: 8px;
  font-weight: 400;
  color: var(--gray-500);
  vertical-align: super;
  margin-left: 2px;
}
/* SVG logo (replaces the dot-grid + text combo) */
.logo-svg {
  display: block;
  height: 22px;
  width: auto;
}
.logo-svg-lg {
  display: block;
  height: 32px;
  width: auto;
}
.topnav .links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topnav .links a {
  position: relative;
  color: var(--white);
  transition: color var(--dur-fast) var(--ease-out);
}
.topnav .links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--purple-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.topnav .links a:hover { color: var(--purple-400); }
.topnav .links a:hover::after { transform: scaleX(1); }
.topnav .sep { width: 1px; height: 18px; background: var(--gray-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-500);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(129, 1, 255, 0);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px 2px rgba(129, 1, 255, 0.45);
}
.btn-outline {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--gray-600);
}
.btn-ghost:hover {
  border-color: var(--purple-400);
  color: var(--purple-400);
}

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid var(--purple-700);
  background: var(--purple-900);
  color: var(--purple-400);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-400);
}
.pill-metric {
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px var(--page-pad) 160px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}
.hero::before {
  top: -240px; right: -200px;
  width: 620px; height: 620px;
  background: rgba(129, 1, 255, 0.09);
}
.hero::after {
  bottom: -160px; left: -200px;
  width: 420px; height: 420px;
  background: rgba(219, 0, 255, 0.07);
  animation-delay: -6s;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 40px); }
}
.hero .fade-top {
  position: absolute;
  top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, var(--black), transparent);
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.hero-kicker { margin-bottom: 32px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}
.hero .lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  color: var(--white);
  opacity: 0.9;
  max-width: 620px;
  margin: 0 0 40px;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  gap: 32px;
  padding-top: 24px;
}
.hero-proof .item .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.hero-proof .item .l {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ---------- FlexLIS Preview mock (hero right column) ---------- */
.flexlis-preview {
  background: var(--gray-900);
  border: 1px solid var(--purple-700);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.flexlis-preview .chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--black);
  border-bottom: 1px solid var(--gray-900);
}
.flexlis-preview .chrome .dots {
  display: flex; gap: 6px;
}
.flexlis-preview .chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.flexlis-preview .chrome .dots span:nth-child(1) { background: var(--red-500); }
.flexlis-preview .chrome .dots span:nth-child(2) { background: var(--gray-500); }
.flexlis-preview .chrome .dots span:nth-child(3) { background: var(--green-500); }
.flexlis-preview .chrome .url {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--gray-500);
}
.flexlis-preview .body {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.flexlis-preview .sidebar {
  background: var(--black);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 11px;
}
.flexlis-preview .sidebar .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}
.flexlis-preview .sidebar .brand .mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 13px; height: 13px;
}
.flexlis-preview .sidebar .brand .mark span {
  background: var(--purple-400);
  border-radius: 50%;
}
.flexlis-preview .sidebar .item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--gray-500);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.flexlis-preview .sidebar .item::before {
  content: ""; display: inline-block;
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--gray-600);
}
.flexlis-preview .sidebar .item.active {
  background: var(--purple-700);
  color: var(--white);
  font-weight: 600;
}
.flexlis-preview .sidebar .item.active::before { background: var(--purple-400); }
.flexlis-preview .sidebar .item:hover:not(.active) {
  background: rgba(129,1,255,0.12);
  color: var(--white);
}
.flexlis-preview .content {
  background: var(--gray-100);
  color: var(--black);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.flexlis-preview .page-head {
  display: flex; justify-content: space-between; align-items: center;
}
.flexlis-preview .page-head h3 {
  font: 700 16px/1 var(--font-body);
  margin: 0;
}
.flexlis-preview .page-head .subtitle {
  font-size: 11px; color: var(--gray-600); margin-top: 2px;
}
.flexlis-preview .accession-btn {
  background: var(--black); color: var(--white);
  padding: 7px 12px; border-radius: 4px;
  font: 600 11px/1 var(--font-body);
}
.flexlis-preview .kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.flexlis-preview .kpi {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 10px;
}
.flexlis-preview .kpi .bar {
  height: 2px; width: 24px;
  background: var(--purple-400);
  margin-bottom: 4px;
}
.flexlis-preview .kpi.stat .bar { background: var(--red-500); }
.flexlis-preview .kpi.ok .bar { background: var(--green-500); }
.flexlis-preview .kpi .n {
  font: 700 20px/1 var(--font-display);
  color: var(--black);
}
.flexlis-preview .kpi .l {
  font: 500 9px/1 var(--font-display);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-600);
  margin-top: 4px;
}
.flexlis-preview .table {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.flexlis-preview .table thead {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.flexlis-preview .table th {
  text-align: left;
  font: 500 9px/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 9px 12px;
}
.flexlis-preview .table td {
  padding: 10px 12px;
  border-top: 1px solid var(--gray-200);
  font: 400 11px/1 var(--font-body);
  color: var(--black);
}
.flexlis-preview .table td.case {
  font: 500 11px/1 var(--font-display);
}
.flexlis-preview .table .conf {
  display: inline-flex; align-items: center; gap: 4px;
  font: 700 11px/1 var(--font-display);
  color: var(--purple-500);
}
.flexlis-preview .table .conf::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-400);
}
.flexlis-preview .status-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 10px;
  font: 700 9px/1 var(--font-display);
  letter-spacing: 0.08em;
}
.status-chip.stat       { background: #fee2e2; color: var(--red-500); }
.status-chip.urgent     { background: #fef3c7; color: #b45309; }
.status-chip.routine    { background: #dbeafe; color: var(--blue-500); }
.status-chip.pending    { background: #fed7aa; color: var(--orange-500); }
.status-chip.accessioned{ background: #d1fae5; color: var(--green-500); }

/* ---------- Generic Section ---------- */
.section {
  position: relative;
  padding: 40px 0 160px;
  border-top: 1px solid var(--gray-900);
}
.section .fade-top {
  position: absolute;
  top: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to bottom, var(--black), transparent);
  pointer-events: none;
  z-index: 1;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 96px;
  padding: 40px var(--page-pad) 96px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-heading p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  opacity: 0.9;
  margin: 0;
  align-self: end;
}

/* ---------- Product cards ---------- */
.card-grid {
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--black);
  border: 1px solid var(--gray-900);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
}
.product-card:hover {
  border-color: var(--purple-500);
  box-shadow: 0 0 32px 2px rgba(129, 1, 255, 0.35);
  transform: translateY(-4px);
}
.product-card .top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.product-card .idx {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: 42px;
  color: var(--purple-400);
  line-height: 1;
}
/* Extra-thin numerals for any [ 0X ] index callout (overrides inline font-weight too) */
.idx { font-weight: 100 !important; }
.product-card .tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.product-card .motion {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--purple-900);
  border: 1px solid var(--purple-700);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--purple-400);
}
.product-card .motion .bar {
  display: block;
  width: 100px; height: 4px;
  background: var(--purple-700);
  border-radius: 2px;
  overflow: hidden;
}
.product-card .motion .bar span {
  display: block; height: 100%;
  background: var(--purple-400);
  width: 84%;
  animation: fill 3s ease-in-out infinite alternate;
}
@keyframes fill {
  from { width: 12%; }
  to   { width: 92%; }
}
.product-card .motion .scanline {
  position: relative;
  width: 76px; height: 20px;
  background: var(--purple-700);
  border-radius: 2px;
  overflow: hidden;
}
.product-card .motion .scanline::after {
  content: ""; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 100%;
  background: var(--purple-400);
  box-shadow: 0 0 12px var(--purple-400);
  animation: scan 2s linear infinite;
}
@keyframes scan {
  0%, 100% { left: 0; }
  50% { left: calc(100% - 3px); }
}
.product-card .motion .pulse {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.product-card .motion .pulse::before,
.product-card .motion .pulse::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--purple-400);
}
.product-card .motion .pulse::before {
  animation: ring 2s ease-out infinite;
}
.product-card .motion .pulse::after {
  inset: 8px;
  background: var(--purple-400);
  border: 0;
}
@keyframes ring {
  0%   { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.2); opacity: 0; }
}
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}
.product-card p {
  font-size: 14px;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.75;
  margin: 0;
}
.product-card .footer {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px;
}
.product-card .footer .metric {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.product-card .footer .learn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--white);
}
.product-card:hover .footer .learn { color: var(--purple-400); }

/* ---------- Founder Note ---------- */
.founder {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  padding: 0 var(--page-pad);
  align-items: start;
}
.founder .portrait-wrap {
  display: flex; flex-direction: column; gap: 16px;
}
.founder .portrait {
  position: relative;
  width: 400px; aspect-ratio: 400/460;
  border-radius: var(--radius-card);
  border: 1px solid var(--purple-700);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, #E8E1F0, #D8CDEA 70%);
}
.founder .portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.founder .portrait > *:not(img) { position: absolute; z-index: 1; }
.founder .portrait .chip {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 9px; letter-spacing: 0.12em;
  color: var(--purple-400);
  background: var(--black);
  padding: 5px 8px;
  border-radius: 2px;
}
.founder .portrait .corner {
  position: absolute; width: 10px; height: 10px;
  border-color: var(--purple-500);
  border-style: solid;
  border-width: 0;
}
.founder .portrait .corner.tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.founder .portrait .corner.tr { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.founder .portrait .corner.bl { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.founder .portrait .corner.br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.founder .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.founder .title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.founder .content { display: flex; flex-direction: column; gap: 28px; }
.founder .qmark {
  font-family: var(--font-display); font-weight: 700;
  color: var(--purple-400);
  font-size: 80px; line-height: 0.5;
}
.founder blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
.founder .bio {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  opacity: 0.9;
  line-height: 1.8;
  margin: 0;
  max-width: 700px;
}
.founder .creds {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* ---------- Article / Insights cards ---------- */
.article-card {
  padding: 0 !important;       /* override product-card padding */
  gap: 0 !important;
  overflow: hidden;
}
.article-photo {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 900ms var(--ease-out);
}
.article-card:hover .article-photo { transform: scale(1.04); }
.article-photo--featured {
  border-radius: var(--radius-card);
  border: 1px solid var(--purple-700);
  overflow: hidden;
}
.article-photo .photo-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 8px;
  background: var(--black);
  border: 1px solid var(--purple-400);
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9px;
  color: var(--purple-400);
  letter-spacing: 0.12em;
}
.article-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-date {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}
.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}
.article-read {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.article-arrow {
  color: var(--purple-400);
  font-weight: 700;
  font-family: var(--font-display);
  transition: transform var(--dur-fast) var(--ease-out);
}
.article-card:hover .article-arrow { transform: translateX(4px); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote-card {
  background: var(--black);
  border: 1px solid var(--gray-900);
  border-radius: var(--radius-card);
  padding: 44px 36px 36px;
  display: flex; flex-direction: column; gap: 28px;
  transition: border-color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
}
.quote-card:hover {
  border-color: var(--purple-500);
  transform: translateY(-2px);
}
.quote-card .qmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 0.4;
  color: var(--purple-400);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--white);
}
.quote-card .divider {
  width: 40px; height: 1px;
  background: var(--purple-500);
}
.quote-card .author { display: flex; align-items: center; gap: 14px; }
.quote-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple-500);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  color: var(--white); font-size: 16px;
}
.quote-card .avatar.green { background: var(--green-500); }
.quote-card .author .meta { display: flex; flex-direction: column; gap: 2px; }
.quote-card .author .name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px;
}
.quote-card .author .role {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--gray-500);
}
.quote-card .author .co {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-400);
}
.quote-card .author .co::before { content: "▸ "; }

/* ---------- Trusted By Marquee ---------- */
.marquee {
  background: var(--purple-900);
  border-top: 1px solid var(--purple-700);
  border-bottom: 1px solid var(--purple-700);
  overflow: hidden;
  padding: 20px 0 28px;
}
.marquee .marquee-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--page-pad);
  margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple-400);
}
.marquee .marquee-head .ticker {
  display: flex; align-items: center; gap: 8px;
  font-weight: 400;
}
.marquee .marquee-head .ticker::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-400);
  animation: pulse 2s ease-in-out infinite;
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.marquee-partner {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.1em; color: var(--white);
  flex-shrink: 0;
}
.marquee-partner .mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 12px; height: 12px;
}
.marquee-partner .mark span {
  background: var(--gray-500);
  border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--purple-900);
  border: 1px solid var(--purple-700);
  border-radius: var(--radius-card);
  margin: 0 var(--page-pad);
  padding: 120px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
}
.cta-band .sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--purple-400);
  max-width: 640px;
  margin: 0;
}
.cta-band .buttons { display: flex; gap: 16px; align-items: center; }
.cta-band .note {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--purple-400);
  opacity: 0.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  padding: 120px var(--page-pad) 48px;
  border-top: 1px solid var(--gray-900);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 380px repeat(4, 1fr);
  gap: 100px;
  padding-bottom: 48px;
}
.site-footer .brand-col { display: flex; flex-direction: column; gap: 24px; }
.site-footer .brand-col .logo-lg {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
}
.site-footer .brand-col .logo-lg sup {
  font-size: 12px; color: var(--gray-500); font-weight: 400;
}
.site-footer .brand-col .logo-lg .mark {
  display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  width: 20px; height: 20px;
}
.site-footer .brand-col .logo-lg .mark span {
  background: var(--purple-400);
  border-radius: 50%;
}
.site-footer .brand-col .tagline {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.8;
  color: var(--white);
  opacity: 0.75;
}
.site-footer .brand-col .status {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-500);
}
.site-footer .brand-col .status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
  animation: pulse 2s ease-in-out infinite;
}
.site-footer .col h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple-400);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--purple-900);
}
.site-footer .col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer .col a {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--white);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-footer .col a:hover { color: var(--purple-400); }
.site-footer .ascii {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--purple-900);
  padding: 24px 0;
  border-top: 1px solid var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
}
.site-footer .bottom-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray-600);
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
  background: var(--gray-900);
  border: 1px solid var(--purple-500);
  border-radius: var(--radius-card);
  width: 640px; max-width: calc(100% - 48px);
  overflow: hidden;
  box-shadow: 0 0 60px 8px rgba(129, 1, 255, 0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease-out),
              opacity var(--dur-med) var(--ease-out);
}
.modal-backdrop.open .modal {
  transform: translateY(0); opacity: 1;
}
.modal .modal-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: var(--black);
  border-bottom: 1px solid var(--purple-700);
}
.modal .modal-top .chrome {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--gray-500);
}
.modal .modal-top .chrome .dots {
  display: flex; gap: 6px;
}
.modal .modal-top .chrome .dots span {
  width: 8px; height: 8px; border-radius: 50%;
}
.modal .modal-top .chrome .dots span:nth-child(1) { background: var(--purple-400); }
.modal .modal-top .chrome .dots span:nth-child(2) { background: var(--purple-500); }
.modal .modal-top .chrome .dots span:nth-child(3) { background: var(--green-500); }
.modal .close-btn {
  padding: 6px 10px;
  border: 1px solid var(--gray-600);
  border-radius: 2px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px;
  color: var(--white);
}
.modal .close-btn:hover { border-color: var(--purple-400); color: var(--purple-400); }
.modal .modal-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.modal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.modal .modal-sub {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
  opacity: 0.85;
  margin: 0;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.field input, .field textarea, .field select {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--gray-900);
  border-radius: var(--radius-sm);
  padding: 12px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(129, 1, 255, 0.2);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt {
  padding: 7px 10px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px;
  background: var(--black);
  border: 1px solid var(--gray-600);
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.chip-opt.active { background: var(--purple-500); border-color: var(--purple-500); color: var(--white); }
.chip-opt:hover:not(.active) { border-color: var(--purple-400); color: var(--white); }
.modal-submit-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.route-note {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gray-600);
}

/* ---------- Scroll fade-in ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Typewriter + Cursor
   ========================================================= */
.type-wrap {
  display: inline-block;
  position: relative;
  min-height: 1em;
}
.type-wrap .type-output { white-space: pre-wrap; }
.type-wrap .type-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 4px;
  transform: translateY(0.08em);
  background: var(--purple-400);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* =========================================================
   Parallax helpers (JS writes --py, --px CSS vars)
   ========================================================= */
[data-parallax] {
  will-change: transform;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 120ms linear;
}

/* =========================================================
   Auto Accession section  — "Scan a slide. FlexLIS fills the paperwork."
   ========================================================= */
.auto-accession {
  position: relative;
  padding: 40px 0 140px;
  border-top: 1px solid var(--border-soft);
}
.auto-accession .intro {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--page-pad) 48px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 96px;
  align-items: start;
}
.auto-accession .intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}
.auto-accession .intro .copy {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 56px 0 0;
}
.auto-accession .stage {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.accession-mock {
  background: var(--surface-0);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(129, 1, 255, 0.45);
}
.accession-mock .chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-soft);
}
.accession-mock .chrome .dots {
  display: flex; gap: 6px;
}
.accession-mock .chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.accession-mock .chrome .dots span:nth-child(1) { background: var(--red-500); }
.accession-mock .chrome .dots span:nth-child(2) { background: var(--gray-500); }
.accession-mock .chrome .dots span:nth-child(3) { background: var(--green-500); }
.accession-mock .chrome .url {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
}
.accession-mock .chrome .pill-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--purple-500);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--purple-400);
}
.accession-mock .chrome .pill-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-400);
  animation: pulse 2s ease-in-out infinite;
}
.accession-mock .body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 380px;
}
.accession-mock .scanner {
  background: var(--surface-0);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid var(--border-soft);
}
.accession-mock .scanner .head {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--purple-400);
  text-transform: uppercase;
}
.accession-mock .scanner .head .mag {
  color: var(--text-muted);
  margin-left: auto;
}
.accession-mock .scanner .viewport {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--text-muted);
  padding: 10px;
}
.accession-mock .scanner .viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(129, 1, 255, 0.12) 0%,
      transparent 50%,
      rgba(219, 0, 255, 0.08) 100%);
}
.accession-mock .scanner .viewport::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; height: 3px;
  background: linear-gradient(90deg,
    transparent, var(--purple-400), transparent);
  box-shadow: 0 0 12px var(--purple-400);
  animation: scanner-sweep 3.2s ease-in-out infinite;
}
@keyframes scanner-sweep {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.accession-mock .scanner .progress {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.accession-mock .scanner .progress .track {
  flex: 1;
  height: 3px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.accession-mock .scanner .progress .track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-400));
  width: 0%;
  animation: accession-fill 4s ease-in-out infinite;
}
@keyframes accession-fill {
  0%   { width: 0%; }
  70%  { width: 100%; }
  100% { width: 100%; opacity: 0.4; }
}
.accession-mock .scanner .cta-scan {
  margin-top: auto;
  padding: 14px;
  background: var(--purple-500);
  color: var(--white);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  animation: btn-glow 2.4s ease-in-out infinite;
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129, 1, 255, 0); }
  50%      { box-shadow: 0 0 24px 2px rgba(129, 1, 255, 0.55); }
}
.accession-mock .form-panel {
  background: var(--surface-form);
  color: var(--text-on-light);
  padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.accession-mock .form-panel .form-head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.accession-mock .form-panel h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 2px;
}
.accession-mock .form-panel .sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-600);
}
.accession-mock .form-panel .waiting {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  display: inline-flex; align-items: center; gap: 6px;
}
.accession-mock .form-panel .waiting::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-500);
}
.accession-mock .form-panel .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.accession-mock .form-panel .f label {
  display: block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.accession-mock .form-panel .f .input {
  height: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 0 10px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gray-600);
  background: var(--white);
  display: flex; align-items: center;
  position: relative;
}
.accession-mock .form-panel .f .input::after {
  content: "_";
  color: var(--gray-500);
  animation: blink 1s steps(2, start) infinite;
  margin-left: 2px;
}
.accession-mock .form-panel .save-row {
  margin-top: 8px;
  display: flex; justify-content: flex-end;
}
.accession-mock .form-panel .save-btn {
  padding: 8px 16px;
  background: var(--gray-200);
  color: var(--gray-600);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  border-radius: 2px;
  text-transform: uppercase;
}
.auto-accession .ticker {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.auto-accession .ticker::before { content: "▸ "; color: var(--purple-400); }

/* =========================================================
   Integration section — "From first conversation to first case"
   ========================================================= */
.integration {
  position: relative;
  padding: 40px 0 140px;
  border-top: 1px solid var(--border-soft);
}
.integration .inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--page-pad) 0;
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 72px;
  align-items: start;
}
.integration .kicker { margin-bottom: 32px; }
.integration h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.integration .lede {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 32px;
}
.integration .checks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.integration .checks li {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 12px;
}
.integration .checks li::before {
  content: "✓";
  color: var(--green-500);
  font-weight: 700;
}
.code-panel {
  background: var(--surface-0);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-display);
  box-shadow: 0 40px 80px -40px rgba(129, 1, 255, 0.35);
}
.code-panel .tab {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-soft);
}
.code-panel .tab .file {
  font-size: 12px;
  color: var(--text-muted);
}
.code-panel .tab .file::before { content: "// "; color: var(--purple-400); }
.code-panel .tab .badge {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--purple-400);
  padding: 4px 10px;
  border: 1px solid var(--purple-500);
  border-radius: 2px;
}
.code-panel .code {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
  font-size: 13px;
  line-height: 1.8;
}
.code-panel .gutter {
  text-align: right;
  padding-right: 14px;
  color: var(--text-dim);
  user-select: none;
  border-right: 1px solid var(--border-soft);
}
.code-panel .lines {
  padding: 0 22px;
  color: var(--text-primary);
}
.code-panel .lines .c-step { color: var(--purple-400); font-weight: 700; margin-right: 6px; }
.code-panel .lines .c-done { color: var(--green-500); }
.code-panel .lines .c-run  { color: var(--purple-400); }
.code-panel .lines .c-next { color: var(--text-dim); }
.code-panel .lines .c-str  { color: var(--green-500); }
.code-panel .lines .c-cmt  { color: var(--text-dim); }
.code-panel .lines .c-key  { color: var(--purple-400); }
.code-panel .lines .hl     { background: rgba(129, 1, 255, 0.12); padding: 1px 4px; border-radius: 2px; }

/* =========================================================
   Theme Toggle (day/night)
   ========================================================= */
.theme-toggle {
  position: relative;
  width: 54px;
  height: 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gray-600);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
}
.theme-toggle:hover { border-color: var(--purple-400); }
.theme-toggle .knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 12px rgba(219, 0, 255, 0.5);
  transition: transform var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  display: grid; place-items: center;
}
.theme-toggle .knob svg {
  width: 14px; height: 14px;
  color: var(--black);
  transition: transform var(--dur-med) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
}
.theme-toggle .icon-sun  { opacity: 0; transform: rotate(-90deg); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg); }
[data-theme="light"] .theme-toggle {
  background: var(--surface-2);
}
[data-theme="light"] .theme-toggle .knob {
  transform: translateX(26px);
  background: #FFC94D;
  box-shadow: 0 0 12px rgba(255, 201, 77, 0.6);
}
[data-theme="light"] .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0deg); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg); }

/* =========================================================
   THEME TOKENS — default (dark) + light mode
   Semantic aliases layered on top of the primitive tokens
   so sections above can reference surfaces/text agnostically.
   ========================================================= */
:root {
  --bg-page:       var(--black);
  --surface-0:     var(--gray-900);
  --surface-1:     var(--black);
  --surface-2:     #151515;
  --surface-form:  var(--gray-100);
  --text-primary:  var(--white);
  --text-muted:    rgba(255, 255, 255, 0.7);
  --text-dim:      var(--gray-500);
  --text-on-light: var(--black);
  --border-soft:   var(--gray-900);
  --border-accent: var(--purple-700);
}
[data-theme="light"] {
  --bg-page:       #FAFAF8;
  --surface-0:     #FFFFFF;
  --surface-1:     #F3F2EF;
  --surface-2:     #EAE8E3;
  --surface-form:  #FFFFFF;
  --text-primary:  #141414;
  --text-muted:    rgba(20, 20, 20, 0.72);
  --text-dim:      #7A7A75;
  --text-on-light: #141414;
  --border-soft:   #E2DFD8;
  --border-accent: #C9B8E9;
  --purple-900:    #F0E6FF;   /* use as soft lavender tint */
  --purple-700:    #C9B8E9;
  --purple-500:    #7A00E6;   /* primary brand, deepened for white bg */
  --purple-400:    #A810CF;   /* accent, readable on pearl */
  --gray-900:      #E2DFD8;
  --gray-600:      #6F6A62;
  --gray-500:      #8F8A82;
  --gray-300:      #CFCAC1;
  --gray-200:      #E8E4DC;
  --gray-100:      #F3F2EF;
}

/* Route the existing palette references through the theme */
body { background: var(--bg-page); color: var(--text-primary); }
p    { color: var(--text-primary); }
.status-strip { background: var(--purple-900); }
[data-theme="light"] .status-strip { color: var(--purple-500); border-bottom-color: var(--purple-700); }
[data-theme="light"] .status-strip .nominal { color: var(--text-primary); }
.topnav { background: var(--bg-page); border-bottom-color: var(--border-soft); }
.section { border-top-color: var(--border-soft); }
.section .fade-top,
.hero .fade-top { background: linear-gradient(to bottom, var(--bg-page), transparent); }
.product-card { background: var(--surface-0); border-color: var(--border-soft); }
.product-card p { color: var(--text-primary); }
.quote-card { background: var(--surface-0); border-color: var(--border-soft); }
.quote-card blockquote { color: var(--text-primary); }
.founder .bio { color: var(--text-muted); }
.section-heading p { color: var(--text-muted); }
.hero .lede { color: var(--text-muted); }
.site-footer { background: var(--bg-page); border-top-color: var(--border-soft); }
.site-footer .ascii { color: var(--border-accent); border-top-color: var(--border-soft); }
.site-footer .brand-col .tagline { color: var(--text-muted); }
.site-footer .col a { color: var(--text-primary); }
.flexlis-preview { background: var(--surface-0); border-color: var(--border-accent); }
.flexlis-preview .chrome { background: var(--surface-1); border-bottom-color: var(--border-soft); }
.flexlis-preview .sidebar { background: var(--surface-1); }

/* Light-mode-specific adjustments that can't be handled via token swap alone */
[data-theme="light"] .btn-outline {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
[data-theme="light"] .btn-outline:hover { background: #2a2a2a; }
[data-theme="light"] .btn-ghost { color: var(--black); border-color: var(--gray-600); }
[data-theme="light"] .btn-ghost:hover { color: var(--purple-500); border-color: var(--purple-500); }
[data-theme="light"] .hero::before { background: rgba(129, 1, 255, 0.12); }
[data-theme="light"] .hero::after  { background: rgba(219, 0, 255, 0.10); }
[data-theme="light"] .hero h1 { color: var(--black); }
[data-theme="light"] .status-strip .aux { color: var(--gray-600); }
[data-theme="light"] .topnav .links a { color: var(--text-primary); }
[data-theme="light"] .topnav .sep { background: var(--gray-300); }
[data-theme="light"] .flexlis-preview .sidebar .item { color: var(--gray-600); }
[data-theme="light"] .flexlis-preview .sidebar .brand { color: var(--black); }
[data-theme="light"] .flexlis-preview .chrome .url { color: var(--gray-600); }
[data-theme="light"] .marquee { background: var(--surface-1); border-color: var(--border-accent); }
[data-theme="light"] .marquee-partner { color: var(--black); }
[data-theme="light"] .marquee .marquee-head { color: var(--purple-500); }
[data-theme="light"] .cta-band { background: #1B0633; border-color: var(--purple-700); }
[data-theme="light"] .cta-band h2 { color: var(--white); }
[data-theme="light"] .cta-band .sub { color: rgba(255, 255, 255, 0.85); }
[data-theme="light"] .cta-band .kicker { color: #DB00FF; }
[data-theme="light"] .cta-band .note { color: rgba(255, 255, 255, 0.6); }
[data-theme="light"] .cta-band .author div { color: var(--white); }
[data-theme="light"] .cta-band .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
[data-theme="light"] .cta-band .btn-ghost:hover { color: #DB00FF; border-color: #DB00FF; }
[data-theme="light"] .product-card p,
[data-theme="light"] .product-card h3 { color: var(--black); }
[data-theme="light"] .product-card .tag { color: var(--black); }
[data-theme="light"] .quote-card blockquote { color: var(--black); }
[data-theme="light"] .quote-card .author .name { color: var(--black); }
[data-theme="light"] .site-footer .col h4 { color: var(--purple-500); border-color: var(--purple-700); }
[data-theme="light"] .site-footer .bottom-bar { color: var(--gray-600); }
[data-theme="light"] .founder blockquote { color: var(--black); }
[data-theme="light"] .founder .name { color: var(--black); }
[data-theme="light"] .section-heading h2 { color: var(--black); }
[data-theme="light"] .integration h2,
[data-theme="light"] .auto-accession .intro h2 { color: var(--black); }
[data-theme="light"] .integration .checks li { color: var(--black); }
[data-theme="light"] .code-panel .lines { color: var(--black); }
[data-theme="light"] .accession-mock .scanner { background: #0C0C0C; color: var(--white); }
[data-theme="light"] .accession-mock { box-shadow: 0 40px 80px -40px rgba(129, 1, 255, 0.25); }
[data-theme="light"] .modal { background: var(--surface-0); }
[data-theme="light"] .modal h2 { color: var(--black); }
[data-theme="light"] .field input { background: var(--white); color: var(--black); border-color: var(--gray-300); }
[data-theme="light"] .chip-opt { background: var(--white); color: var(--gray-600); border-color: var(--gray-300); }
[data-theme="light"] .hero-proof .item .n { color: var(--text-primary); }
[data-theme="light"] .product-card .footer .learn { color: var(--purple-500); }
[data-theme="light"] .modal .close-btn { color: var(--text-dim); }
[data-theme="light"] .modal .modal-sub { color: var(--text-muted); }
[data-theme="light"] .modal .field label { color: var(--text-dim); }
[data-theme="light"] .flexlis-preview .sidebar .item.active { color: var(--purple-500); }
[data-theme="light"] .article-arrow { color: var(--purple-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid, .section-heading, .founder,
  .card-grid, .testimonials-grid,
  .site-footer .footer-grid,
  .auto-accession .intro,
  .integration .inner { grid-template-columns: 1fr; }
  .integration .inner { gap: 32px; }
  .auto-accession .intro { gap: 32px; }
  .auto-accession .intro .copy { margin-top: 0; }
  .accession-mock .body { grid-template-columns: 1fr; }
  .card-grid, .testimonials-grid { gap: 20px; }
  .hero h1 { font-size: 44px; }
  .cta-band h2 { font-size: 48px; }
  .founder .portrait { width: 100%; }
  .topnav .links { display: none; }
  .site-footer .footer-grid { gap: 40px; }
  .auto-accession .intro h2 { font-size: 40px; }
  .integration h2 { font-size: 36px; }
}
@media (max-width: 720px) {
  :root { --page-pad: 20px; }
  .hero h1 { font-size: 32px; }
  .status-strip { font-size: 10px; flex-wrap: wrap; }
  .cta-band { padding: 64px 24px; }
  .cta-band h2 { font-size: 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- News + Publications rows ---------- */
.news-row,
.pub-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-900);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-fast) var(--ease-out),
              padding var(--dur-fast) var(--ease-out);
}
a.news-row:hover,
a.pub-row:hover {
  background: var(--purple-900);
  padding-left: 16px;
  padding-right: 16px;
}
.news-meta,
.pub-year {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.news-main,
.pub-main { min-width: 0; }
.news-main .article-title,
.pub-main .article-title { margin: 0 0 8px; }
.news-sub,
.pub-authors {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  opacity: 0.8;
  margin: 0;
}
.pub-cite {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin: 6px 0 0;
}
.news-row .article-arrow,
.pub-row .article-arrow {
  align-self: center;
  font-size: 18px;
}
a.news-row:hover .article-arrow,
a.pub-row:hover .article-arrow { transform: translateX(4px); }

@media (max-width: 760px) {
  .news-row,
  .pub-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .news-meta,
  .pub-year {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

/* ---------- Top-nav FlexLIS login ---------- */
.topnav .links a.topnav-login {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--gray-600);
  border-radius: 4px;
  color: var(--gray-500);
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.topnav .links a.topnav-login::after { content: none; }
.topnav .links a.topnav-login:hover {
  color: var(--purple-400);
  border-color: var(--purple-400);
}

/* ---------- Form submit status ---------- */
.form-status {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.02em;
  margin: 14px 0 0;
  min-height: 1em;
}
.form-status[data-kind="success"] { color: var(--purple-400); }
.form-status[data-kind="error"] { color: #ff6b6b; }
.form-status[data-kind="pending"] { color: var(--gray-500); }

/* ---------- Workflow diagram ---------- */
.workflow-diagram { padding: 32px var(--page-pad) 8px; }
.wf-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
}
.wf-node {
  flex: 1 1 0;
  min-width: 0;
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}
.wf-node .wf-ico {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-400);
}
.wf-node h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  margin: 10px 0 6px;
  color: var(--text-primary);
}
.wf-node p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.wf-node .wf-sys {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  color: var(--purple-500);
}
.wf-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--purple-400);
  font-weight: 700;
  font-size: 18px;
}
.wf-legend {
  padding: 12px var(--page-pad) 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
@media (max-width: 900px) {
  .wf-track { flex-direction: column; }
  .wf-node { width: 100%; }
  .wf-node .wf-sys { margin-top: 12px; }
  .wf-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ---------- App-screen mocks (fake LIS UI) ---------- */
.app-grid {
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.app-window {
  background: var(--surface-0);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(129, 1, 255, 0.35);
  display: flex;
  flex-direction: column;
}
.app-window .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-1);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.app-window .bar .dots { display: inline-flex; gap: 5px; }
.app-window .bar .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); }
.app-window .bar .dots span:nth-child(1) { background: var(--purple-400); }
.app-window .screen { padding: 14px; flex: 1; }
.app-cap {
  padding: 12px 16px 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* WSI viewer */
.wsi-viewer {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.wsi-viewer .anno {
  position: absolute;
  border: 1.5px solid var(--purple-400);
  border-radius: 3px;
  box-shadow: 0 0 0 9999px rgba(27, 6, 51, 0.12);
}
.wsi-viewer .anno::after {
  content: attr(data-label);
  position: absolute;
  top: -16px; left: -1px;
  background: var(--purple-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}
.wsi-viewer .mag {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
}
.wsi-viewer .toolbar {
  position: absolute;
  left: 10px; top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wsi-viewer .toolbar span {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--purple-500);
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
}

/* AI results panel */
.ai-panel { display: flex; flex-direction: column; gap: 12px; }
.ai-row { font-family: var(--font-display); font-size: 11px; }
.ai-row .lbl { display: flex; justify-content: space-between; color: var(--text-primary); margin-bottom: 5px; }
.ai-row .lbl .v { color: var(--purple-500); font-weight: 700; }
.ai-row .meter { height: 7px; background: var(--surface-1); border-radius: 4px; overflow: hidden; }
.ai-row .meter i { display: block; height: 100%; background: var(--purple-400); border-radius: 4px; }
.ai-panel .verdict {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}

@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; }
}

/* App-window reuses the dashboard table styling */
.app-window .table { width: 100%; border-collapse: collapse; background: var(--surface-0); border: 1px solid var(--gray-200); border-radius: 4px; overflow: hidden; }
.app-window .table thead { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.app-window .table th { text-align: left; font: 500 9px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-600); padding: 9px 10px; }
.app-window .table td { padding: 9px 10px; border-top: 1px solid var(--gray-200); font: 400 11px/1 var(--font-body); color: var(--text-primary); }
.app-window .table td.case { font: 500 11px/1 var(--font-display); }
.app-window .table .conf { display: inline-flex; align-items: center; gap: 4px; font: 700 11px/1 var(--font-display); color: var(--purple-500); }
.app-window .table .conf::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--purple-400); }
.app-window .status-chip { display: inline-block; padding: 3px 7px; border-radius: 10px; font: 700 8px/1 var(--font-display); letter-spacing: 0.06em; }

/* ---------- Generated LIS/IMS screenshots in banners ---------- */
.shot-grid { padding: 0 var(--page-pad); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lis-shot {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: 0 34px 80px -50px rgba(129, 1, 255, 0.55);
}
.shot-cap { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.04em; color: var(--text-dim); margin: 12px 0 0; }
.shot-fig { margin: 0; }
@media (max-width: 900px) { .shot-grid { grid-template-columns: 1fr; } }

/* ================= Mobile nav + responsive overrides ================= */
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .topnav { position: relative; flex-wrap: wrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-left: auto;
    border: 1px solid var(--border-soft); border-radius: 8px;
    background: var(--surface-0); color: var(--text-primary);
    font-size: 18px; line-height: 1; cursor: pointer;
  }
  .topnav .links { display: none; }
  .topnav.nav-open .links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-page); border-bottom: 1px solid var(--border-soft);
    padding: 12px var(--page-pad) 20px; gap: 4px; z-index: 300;
    box-shadow: 0 22px 44px -26px rgba(0,0,0,0.4);
  }
  .topnav.nav-open .links a {
    padding: 12px 4px; border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
  }
  .topnav.nav-open .links a::after { content: none; }
  .topnav.nav-open .links .sep { display: none; }
  .topnav.nav-open .links .topnav-login,
  .topnav.nav-open .links .btn {
    width: 100%; text-align: center; justify-content: center; margin-top: 10px;
  }
}

/* Collapse inline-styled grids (inline style beaten via !important) */
@media (max-width: 900px) {
  [style*="1fr 480px"], [style*="1fr 460px"], [style*="1fr 520px"],
  [style*="1fr auto 1fr"],
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* tighten oversized inline gaps when stacked */
  [style*="gap: 64px"], [style*="gap: 56px"] { gap: 32px !important; }
}
@media (max-width: 720px) {
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  /* shrink oversized inline display type */
  [style*="font-size: 96px"] { font-size: 54px !important; }
  [style*="font-size: 80px"] { font-size: 44px !important; }
  [style*="font-size: 44px"] { font-size: 28px !important; }
  [style*="font-size: 38px"] { font-size: 26px !important; }
  [style*="font-size: 36px"] { font-size: 26px !important; }
}
