/* ============================================================
   Prevenii — Landing redesign styles
   ============================================================ */

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,243,240,0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled {
  background: rgba(245,243,240,0.92);
  border-bottom-color: var(--border-light);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 30px; height: 30px;
  background: var(--text);
  color: white;
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--brand) 0%, transparent 65%);
  opacity: .55;
}
.nav-logo-text { font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.nav-logo-text sup {
  font-size: 9px; color: var(--text-muted); font-weight: 500;
  margin-left: 2px; letter-spacing: 0.05em;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 4px;
}
.nav-link {
  font-size: 12.5px; font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
  letter-spacing: -0.005em;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.7); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(255,255,255,0.5);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  padding: 5px 8px; border-radius: 999px;
  color: var(--text-muted);
  font-size: 10.5px;
  transition: color .2s, background .2s;
}
.lang-toggle button.on {
  background: var(--text);
  color: white;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 13px; height: 13px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--text); color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 4px 16px rgba(44,40,36,0.18);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--ink); }
.btn-brand { background: var(--brand); color: white; box-shadow: 0 4px 14px rgba(124,154,146,0.28); }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--white); border-color: var(--text-muted); }
.btn-ink { background: var(--ink); color: white; }
.btn-white { background: white; color: var(--text); }
.btn-white:hover { background: rgba(255,255,255,0.9); }

/* ===== SECTION PRIMITIVES ===== */
.section { padding: var(--density-section) 0; }
.section-sm { padding: calc(var(--density-section) * 0.55) 0; }

.section-label { /* eyebrow for section headings */
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.section-label .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
}
.section-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--text);
  max-width: 18ch;
}
.section-title em {
  font-style: normal;
  color: var(--brand);
}
.section-sub {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 54ch;
  text-wrap: pretty;
}

/* ===== HERO ===== */
.hero {
  padding: 132px 0 120px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: -40% 0 auto 0;
  height: 900px;
  background:
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(124,154,146,0.08), transparent 65%),
    radial-gradient(ellipse 600px 300px at 20% 30%, rgba(196,168,130,0.05), transparent 70%);
  pointer-events: none;
}

/* Hero — photo background variant */
.hero--photo {
  background: var(--bg);
}
.hero--photo::before { display: none; }
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo-bg img.hero-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero-photo-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(96deg,
      var(--bg) 0%,
      var(--bg) 22%,
      rgba(246,244,239,0.86) 40%,
      rgba(246,244,239,0.42) 60%,
      rgba(246,244,239,0.12) 82%,
      rgba(246,244,239,0.04) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(246,244,239,0) 22%);
}
.hero--photo .container { position: relative; z-index: 1; }
.hero--photo .hero-grid { align-items: center; }

@media (max-width: 860px) {
  .hero-photo-scrim {
    background:
      linear-gradient(0deg,
        var(--bg) 0%,
        var(--bg) 30%,
        rgba(246,244,239,0.92) 48%,
        rgba(246,244,239,0.55) 70%,
        rgba(246,244,239,0.2) 100%);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-lighter);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-dark);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px; line-height: 1.55;
  color: var(--text-2);
  max-width: 48ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-actions .btn { padding: 14px 22px; font-size: 13px; }

.hero-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 11.5px; color: var(--text-muted);
  letter-spacing: 0.01em;
}
.hero-meta .sep { width: 18px; height: 1px; background: var(--border); }

/* Hero — live report panel */
.report-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.report-panel::before {
  content: '';
  position: absolute; top: -1px; left: 16px; right: 16px;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}
.rp-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, rgba(245,243,240,0.6), transparent);
}
.rp-dot { width: 7px; height: 7px; border-radius: 50%; }
.rp-title {
  margin-left: 4px;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rp-date {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.rp-body { padding: 22px; }
.rp-metrics {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.metric-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.metric-card.primary {
  background: linear-gradient(140deg, var(--brand-lighter), #F7F9F8);
  border-color: rgba(124,154,146,0.22);
}
.metric-label {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted);
}
.metric-value {
  font-size: 44px;
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 6px;
}
.metric-value .unit { font-size: 13px; color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
.metric-value .decimal { color: var(--text-secondary); }
.metric-delta {
  font-size: 11px;
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.metric-delta.neg { color: var(--rose); }

.spark {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 3px;
  height: 40px;
}
.spark span {
  background: var(--brand);
  border-radius: 2px;
  opacity: 0.55;
  transition: opacity .2s;
}
.spark span:last-child { opacity: 1; }

/* System bars */
.rp-systems {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.rp-systems-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.rp-systems-title {
  font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted);
}
.rp-systems-legend {
  display: flex; gap: 12px;
  font-size: 10px; color: var(--text-muted);
  font-weight: 500;
}
.rp-systems-legend span {
  display: inline-flex; align-items: center; gap: 5px;
}
.rp-systems-legend i {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}

.sys-row {
  display: grid;
  grid-template-columns: 110px 1fr 36px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
}
.sys-row:last-child { border-bottom: none; }
.sys-name { font-size: 12px; color: var(--text-2); font-weight: 500; }
.sys-bar {
  position: relative;
  height: 6px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}
.sys-bar-fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(.2,.8,.2,1);
}
.sys-bar-marker {
  position: absolute; top: -2px; bottom: -2px;
  width: 2px; background: var(--text); border-radius: 2px;
  opacity: 0.6;
}
.sys-val {
  font-size: 11.5px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
}

.logo-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}
.logo-strip-label {
  text-align: center;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: nowrap;
}
.logo-strip-inner .partner-logos-img {
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity .25s ease, filter .25s ease;
}
.logo-strip-inner .partner-logos-img:hover { opacity: 1; filter: grayscale(0%); }
.logo-strip-inner .logo-node {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.55;
  transition: opacity .25s;
  filter: grayscale(100%);
}
.logo-strip-inner .logo-node:hover { opacity: 1; filter: grayscale(0%); }
.logo-sep {
  width: 1px; height: 14px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .logo-strip-inner { gap: 28px; flex-wrap: wrap; }
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: var(--white);
  padding: 96px 0 80px;
}
.quote-block {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  border: 0;
  padding: 0;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.quote-author {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  margin: 0 0 32px;
}
.quote-role {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted, #6b7280);
  max-width: 620px;
  margin: 0 auto;
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .quote-section { padding: 64px 0 56px; }
}

/* ===== SYSTEMS GRID ===== */
.systems-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.systems-toggle {
  display: inline-flex; padding: 3px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 11.5px; font-weight: 600;
  align-self: end;
  justify-self: end;
}
.systems-toggle button {
  padding: 7px 14px; border-radius: 999px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: all .2s;
}
.systems-toggle button.on {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sys-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
  min-height: 180px;
  display: flex; flex-direction: column;
}
.sys-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.sys-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.sys-card-count {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.sys-card-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-lighter);
  color: var(--brand-dark);
  display: grid; place-items: center;
}
.sys-card h3 {
  font-size: 19px; font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--text);
}
.sys-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 12px;
}
.sys-card-foot {
  display: flex; align-items: center; gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.sys-card-foot .chip {
  font-family: var(--font-mono);
  color: var(--text-2);
  font-weight: 500;
}

/* Table view alt */
.sys-table {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.sys-table-row {
  display: grid;
  grid-template-columns: 40px 1.1fr 1.5fr 90px 80px;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  transition: background .15s;
}
.sys-table-row:first-child {
  border-top: 0;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 12px; padding-bottom: 12px;
}
.sys-table-row.data:hover { background: var(--bg); }
.sys-table-row .idx { font-family: var(--font-mono); color: var(--text-muted); font-size: 11px; }
.sys-table-row .name { font-weight: 500; color: var(--text); }
.sys-table-row .desc { color: var(--text-secondary); }
.sys-table-row .count { font-family: var(--font-mono); color: var(--text); font-variant-numeric: tabular-nums; }
.sys-table-row .sample {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

/* ===== INFOBAR (overlapping hero/partners) ===== */
.infobar-wrap {
  position: relative;
  z-index: 5;
  margin-top: -93px;
  padding: 0 24px;
  pointer-events: none;
}
.infobar {
  pointer-events: auto;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.02),
    0 12px 24px -10px rgba(20,28,38,0.08),
    0 28px 60px -20px rgba(20,28,38,0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.infobar-item {
  text-align: center;
  padding: 36px 32px 38px;
  position: relative;
}
.infobar-item + .infobar-item::before {
  content: '';
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 1px;
  background: var(--border-light);
}
.infobar-icon {
  width: 28px; height: 28px;
  margin: 0 auto 14px;
  color: var(--ink);
  display: block;
}
.infobar-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.infobar-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  text-wrap: pretty;
}

/* ===== REPORT FEATURE SECTION ===== */
.section-dark {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 80% 10%, rgba(124,154,146,0.16), transparent 60%),
    radial-gradient(ellipse 500px 300px at 10% 90%, rgba(196,168,130,0.08), transparent 60%);
  pointer-events: none;
}
.section-dark .section-label { color: rgba(255,255,255,0.45); }
.section-dark .section-label .dot { background: var(--brand); }
.section-dark .section-title { color: white; }
.section-dark .section-sub { color: rgba(255,255,255,0.65); }

.report-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.report-feature-bullets {
  list-style: none; margin: 28px 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.report-feature-bullets li {
  display: grid; grid-template-columns: 22px 1fr;
  gap: 12px; align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.report-feature-bullets li svg { margin-top: 3px; }

.report-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
  position: relative;
}
.rp-tabs {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px; padding: 3px;
  margin-bottom: 18px;
  width: fit-content;
}
.rp-tabs button {
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  transition: all .2s;
}
.rp-tabs button.on {
  background: rgba(255,255,255,0.12);
  color: white;
}

.biomarker-list {
  display: flex; flex-direction: column; gap: 2px;
}
.bm-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  align-items: center;
  padding: 13px 4px;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bm-name { font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 500; }
.bm-name small { display: block; font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 400; margin-top: 2px; letter-spacing: 0.04em; }

.bm-track {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: visible;
}
.bm-track::before, .bm-track::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  background: rgba(255,255,255,0.04);
  width: 18%;
}
.bm-track::before { left: 0; border-radius: 999px 0 0 999px; }
.bm-track::after { right: 0; border-radius: 0 999px 999px 0; }
.bm-zone {
  position: absolute; top: 0; bottom: 0;
  background: rgba(124,154,146,0.24);
  left: 18%; right: 18%;
}
.bm-dot {
  position: absolute; top: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(28,26,23,1);
  transition: left .6s cubic-bezier(.2,.8,.2,1);
}
.bm-val {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.bm-val .unit { font-size: 9.5px; color: rgba(255,255,255,0.4); margin-left: 2px; }

.rp-actionbar {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(124,154,146,0.14);
  border: 1px solid rgba(124,154,146,0.22);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
}
.rp-actionbar-ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--brand);
  color: white;
  display: grid; place-items: center;
}
.rp-actionbar-text {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.rp-actionbar-text strong { color: white; font-weight: 600; }

/* ===== ENGINE PILLARS ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--white);
  padding: 32px 24px 28px;
  position: relative;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}
.pillar h4 {
  font-size: 18px; font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--text);
}
.pillar p {
  font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== FLOW ===== */
.flow-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.flow-step {
  background: var(--white);
  padding: 30px 26px 26px;
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 220px;
}
.flow-step-num {
  font-size: 60px;
  font-weight: 200;
  letter-spacing: -0.04em;
  color: var(--brand);
  opacity: 0.35;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.flow-step h4 {
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 6px;
}
.flow-step p {
  font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
}
.flow-step::after {
  content: '→';
  position: absolute; right: -12px; top: 46px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 11px;
  color: var(--text-muted);
  z-index: 2;
}
.flow-step:last-child::after { display: none; }

/* ===== PRICING ===== */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card::before {
  content: 'Plan Base';
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand-dark);
  background: var(--brand-lighter);
  padding: 5px 10px; border-radius: 999px;
}
html[lang="en"] .price-card::before { content: 'Base Plan'; }
html[lang="ca"] .price-card::before { content: 'Pla Base'; }
html[lang="fr"] .price-card::before { content: 'Forfait de Base'; }
.price-name {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.price-value {
  display: flex; align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.price-value .num {
  font-size: 72px;
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.price-value .per {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.price-desc {
  font-size: 14px; line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.price-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 26px;
}
.price-chips span {
  font-size: 11px; font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  color: var(--text-2);
}
.price-bullets {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.price-bullets li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
}
.price-bullets li svg { margin-top: 3px; flex-shrink: 0; }

.addons-panel {
  background: linear-gradient(155deg, var(--brand-lighter), #F7F9F8 55%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  border: 1px solid rgba(124,154,146,0.18);
}
.addons-panel h4 {
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.addons-panel p {
  font-size: 14px; line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.addons-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.addons-list span {
  font-size: 12px;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(124,154,146,0.35);
  display: flex; justify-content: space-between;
  align-items: center;
  font-variant-numeric: tabular-nums;
}
.addons-list span i {
  font-style: normal;
  color: var(--brand-dark);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

/* ===== TRUST ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.trust-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-lighter);
  color: var(--brand-dark);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.trust-card h4 {
  font-size: 15.5px; font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== FAQ ===== */
.faq {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-size: 16px; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  transition: color .2s;
}
.faq-q:hover { color: var(--brand-dark); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  background: var(--text);
  color: white;
  border-color: var(--text);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 40px 24px 0;
  font-size: 14.5px; line-height: 1.7;
  color: var(--text-secondary);
  max-width: 72ch;
}

/* ===== CTA FINAL ===== */
.cta-final {
  text-align: center;
  padding: calc(var(--density-section) * 0.8) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: auto 0 -40% 0;
  height: 600px;
  background: radial-gradient(ellipse 700px 300px at 50% 50%, rgba(124,154,146,0.08), transparent 70%);
}
.cta-final-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 auto 20px;
  max-width: 24ch;
  position: relative;
}
.cta-final-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  color: var(--brand-dark);
  font-weight: 300;
}
.cta-final-sub {
  font-size: 16px; line-height: 1.6;
  color: var(--text-secondary);
  max-width: 44ch;
  margin: 0 auto 32px;
  position: relative;
}
.cta-final-actions {
  display: inline-flex; gap: 10px;
  position: relative;
}
.cta-final-actions .btn { padding: 14px 24px; }

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 36px;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.6;
  max-width: 32ch;
  margin-top: 14px;
}
.footer-col h5 {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--brand-dark); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SYSTEM MODAL ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(28,26,23,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: backdropIn .2s ease;
}
@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 680px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(28,26,23,0.22);
  animation: modalIn .25s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.modal-header-left { display: flex; align-items: center; gap: 14px; }
.modal-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-lighter);
  color: var(--brand-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.modal-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.modal-title {
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}
.modal-header-right { display: flex; align-items: center; gap: 12px; }
.modal-count {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg);
  padding: 5px 12px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all .2s;
}
.modal-close:hover { background: var(--bg); color: var(--text); border-color: var(--text-muted); }

.modal-summary {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
  flex-shrink: 0;
}
.modal-summary-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border-light);
  font-size: 11.5px;
}
.modal-summary-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0;
}
.modal-summary-n { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.modal-summary-label { color: var(--text-muted); }
.modal-desc {
  font-size: 12.5px; color: var(--text-secondary);
  margin-left: auto;
  max-width: 280px;
  text-align: right;
  line-height: 1.5;
}

.modal-body {
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}
.modal-list-head {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
  padding: 10px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
  position: sticky; top: 0; z-index: 1;
}
.modal-list { padding: 4px 0; }
.modal-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.modal-row:last-child { border-bottom: none; }
.modal-row:hover { background: var(--bg); }
.modal-row-name {
  font-size: 13.5px; font-weight: 500;
  color: var(--text);
  display: flex; align-items: baseline; gap: 7px;
}
.modal-row-name small {
  font-size: 10.5px; color: var(--text-muted);
  font-weight: 400; font-family: var(--font-mono);
}
.modal-row-ref {
  font-size: 12px; color: var(--text-secondary);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.modal-status-pill {
  display: inline-flex; align-items: center;
  padding: 4px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: lowercase;
  white-space: nowrap;
}

.modal-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
  flex-shrink: 0;
  gap: 16px;
}
.modal-footer p {
  font-size: 12.5px; color: var(--text-muted);
  line-height: 1.5; max-width: 32ch;
}

/* Clickable card/row hint */
.sys-card-clickable { cursor: pointer; }
.sys-card-cta {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  color: var(--brand-dark);
  opacity: 0;
  transition: opacity .2s;
  white-space: nowrap;
}
.sys-card:hover .sys-card-cta { opacity: 1; }
.sys-table-row.sys-card-clickable { cursor: pointer; }

@media (max-width: 640px) {
  .modal { max-height: 92vh; border-radius: var(--radius); }
  .modal-header { padding: 18px 18px 14px; }
  .modal-list-head,
  .modal-row { grid-template-columns: 1fr 80px; padding: 11px 18px; }
  .modal-summary { padding: 12px 18px; }
  .modal-desc { display: none; }
  .modal-footer { padding: 14px 18px; flex-direction: column; align-items: flex-start; }
}

/* ===== TWEAKS PANEL ===== */
.tweaks-panel {
  position: fixed;
  bottom: 16px; right: 16px;
  width: 300px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  z-index: 200;
  overflow: hidden;
  font-size: 12px;
}
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}
.tweaks-head h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text);
}
.tweaks-close {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: background .2s;
}
.tweaks-close:hover { background: var(--border-light); color: var(--text); }
.tweaks-body { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.tweak { display: flex; flex-direction: column; gap: 6px; }
.tweak-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.tweak-options {
  display: flex; gap: 4px;
  background: var(--bg);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.tweak-options button {
  flex: 1;
  padding: 6px 8px;
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: all .2s;
}
.tweak-options button.on {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.tweak-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.tweak-swatches button {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  transition: transform .15s, border-color .15s;
  position: relative;
}
.tweak-swatches button.on {
  border-color: var(--text);
  transform: scale(1.05);
}
.tweak-swatches button.on::after {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 5px;
  border: 2px solid white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid, .systems-head, .report-feature, .pricing-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sys-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .flow-rail { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .sys-grid { grid-template-columns: 1fr; }
  .trust-grid, .pillars, .flow-rail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 16px; }
  .sys-table-row { grid-template-columns: 1fr 70px; gap: 8px; font-size: 12px; }
  .sys-table-row .idx, .sys-table-row .desc, .sys-table-row .sample { display: none; }
  .tweaks-panel { right: 8px; bottom: 8px; width: calc(100% - 16px); max-width: 320px; }
  .rp-metrics { grid-template-columns: 1fr; }
  .infobar { grid-template-columns: 1fr; }
  .infobar-item { padding: 22px 24px 24px; }
  .infobar-item + .infobar-item::before {
    left: 24px; right: 24px;
    top: 0; bottom: auto;
    width: auto; height: 1px;
  }
  .infobar-wrap { margin-top: -32px; padding: 0 16px; }
}

/* ===== SYSTEM MODAL ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(28,26,23,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: backdropIn .2s ease;
}
@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 680px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(28,26,23,0.22);
  animation: modalIn .25s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.modal-header-left { display: flex; align-items: center; gap: 14px; }
.modal-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-lighter);
  color: var(--brand-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.modal-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 3px;
}
.modal-title {
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.02em; color: var(--text);
}
.modal-header-right { display: flex; align-items: center; gap: 12px; }
.modal-count {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-muted); background: var(--bg);
  padding: 5px 12px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-muted); border: 1px solid var(--border);
  transition: all .2s;
}
.modal-close:hover { background: var(--bg); color: var(--text); border-color: var(--text-muted); }
.modal-summary {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg); flex-shrink: 0;
}
.modal-summary-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border-light);
  font-size: 11.5px;
}
.modal-summary-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.modal-summary-n { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.modal-summary-label { color: var(--text-muted); }
.modal-desc {
  font-size: 12.5px; color: var(--text-secondary);
  margin-left: auto; max-width: 280px; text-align: right; line-height: 1.5;
}
.modal-body { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.modal-list-head {
  display: grid; grid-template-columns: 1fr 110px;
  gap: 12px; padding: 10px 24px;
  background: var(--bg); border-bottom: 1px solid var(--border-light);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  position: sticky; top: 0; z-index: 1;
}
.modal-list { padding: 4px 0; }
.modal-row {
  display: grid; grid-template-columns: 1fr 110px;
  gap: 12px; align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.modal-row:last-child { border-bottom: none; }
.modal-row:hover { background: var(--bg); }
.modal-row-name {
  font-size: 13.5px; font-weight: 500; color: var(--text);
  display: flex; align-items: baseline; gap: 7px;
}
.modal-row-name small {
  font-size: 10.5px; color: var(--text-muted);
  font-weight: 400; font-family: var(--font-mono); letter-spacing: 0.02em;
}
.modal-row-ref {
  font-size: 12px; color: var(--text-secondary);
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
}
.modal-status-pill {
  display: inline-flex; align-items: center;
  padding: 4px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; white-space: nowrap;
}
.modal-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg); flex-shrink: 0; gap: 16px;
}
.modal-footer p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; max-width: 32ch; }
.sys-card-clickable { cursor: pointer; }
.sys-card-cta {
  margin-left: auto; font-size: 11px; font-weight: 600;
  color: var(--brand-dark); opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.sys-card:hover .sys-card-cta { opacity: 1; }
.sys-table-row.sys-card-clickable { cursor: pointer; }
@media (max-width: 640px) {
  .modal { max-height: 92vh; border-radius: var(--radius); }
  .modal-header { padding: 18px 18px 14px; }
  .modal-list-head, .modal-row { grid-template-columns: 1fr 80px; padding: 11px 18px; }
  .modal-summary { padding: 12px 18px; }
  .modal-desc { display: none; }
  .modal-footer { padding: 14px 18px; flex-direction: column; align-items: flex-start; }
}

/* === Pricing banner with personal.png background === */
.pricing-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 56px;
  padding: 72px 56px;
  min-height: 420px;
  display: flex; align-items: center;
  isolation: isolate;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.45);
}
.pricing-banner-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 28%;
  z-index: -2;
  transform: scale(1.02);
}
.pricing-banner-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,28,32,0.78) 0%, rgba(20,28,32,0.55) 48%, rgba(20,28,32,0.18) 100%),
    linear-gradient(180deg, rgba(20,28,32,0.25) 0%, rgba(20,28,32,0.15) 60%, rgba(20,28,32,0.45) 100%);
  z-index: -1;
}
.pricing-banner-content {
  position: relative;
  max-width: 640px;
  width: 100%;
}
.pricing-banner-content .section-title {
  color: #fff;
}
@media (max-width: 720px) {
  .pricing-banner { padding: 44px 28px; min-height: 360px; border-radius: 16px; }
  .pricing-banner-img { background-position: center center; }
}
