:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --surface: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --border: rgba(255, 255, 255, 0.11);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--light);
}
.container { width: min(92%, 1200px); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-logo {
  display: block;
  height: 2.35rem;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-name {
  line-height: 1.15;
}
.nav-links { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; }
.nav-links a { color: var(--gray); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--light); }

.hero { padding: 5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.eyebrow { color: #93c5fd; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin: 0.5rem 0 1rem; }
.hero-content p { color: #cbd5e1; line-height: 1.65; }
.hero-actions { display: flex; gap: 0.7rem; margin: 1rem 0; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 1.5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: 0.2rem; }
.hero-stats strong { font-size: 1.4rem; color: #93c5fd; }
.hero-stats span { color: var(--gray); font-size: 0.86rem; }
.section { padding: 3.5rem 0; }
.alt { background: rgba(15, 23, 42, 0.45); }
.section-head { text-align: center; margin-bottom: 1.4rem; }

.valuation-tools-nav {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0.25rem;
}

.valuation-tools-nav .btn {
  font-size: 0.95rem;
  line-height: 1.25;
}

.valuation-tools-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(9rem, 1fr));
  column-gap: 0.75rem;
  row-gap: 0.45rem;
  width: min(100%, 40rem);
  align-items: end;
}

.valuation-tools-selector .btn {
  justify-self: stretch;
  text-align: center;
  min-width: 0;
}

.valuation-tools-selector__berkus {
  grid-column: 1;
  grid-row: 2;
}

.valuation-tools-selector__market {
  grid-row: 2;
}

.valuation-tools-market__graphic {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  grid-column: 2 / 4;
  grid-row: 1;
  margin-bottom: 0;
  pointer-events: none;
}

.valuation-tools-market__caption-row {
  text-align: center;
}

.valuation-tools-market__caption {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #93c5fd;
  white-space: nowrap;
}

.valuation-tools-market__bracket {
  height: 1.35rem;
  margin-inline: 0.2rem;
  border: 3px solid #3b82f6;
  border-bottom: none;
  border-radius: 0;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .valuation-tools-market__caption {
    white-space: normal;
    max-width: 16rem;
    margin-inline: auto;
    line-height: 1.3;
  }
}

@media (max-width: 640px) {
  .valuation-tools-selector {
    grid-template-columns: 1fr 1fr;
    max-width: 22rem;
  }

  .valuation-tools-market__graphic {
    grid-column: 1 / 3;
  }

  .valuation-tools-selector__berkus {
    grid-column: 1 / 3;
  }
}

.valuation-anchor {
  scroll-margin-top: 5.5rem;
}
.section-head p { color: var(--gray); margin: 0; }
.calculator-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tooltip-wrap {
  position: relative;
  display: inline-flex;
}
.info-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  color: #bfdbfe;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.tooltip-text {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(34rem, 80vw);
  background: #0b1220;
  border: 1px solid #334155;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 30;
}
.tooltip-wrap:hover .tooltip-text,
.tooltip-wrap:focus-within .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.card {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
}
.calculator-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; }
.form-card { display: grid; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label { display: grid; gap: 0.35rem; color: #cbd5e1; font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  padding: 0.72rem;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: var(--light);
}

textarea {
  min-height: 8rem;
  resize: vertical;
  font: inherit;
}

.gradient { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; }
.results h3 { margin-top: 0; }
.result-item { background: rgba(255,255,255,0.15); border-radius: 10px; padding: 0.8rem; margin-bottom: 0.7rem; display: grid; gap: 0.2rem; }
.result-item span { font-size: 0.88rem; opacity: 0.95; }
.result-item strong { font-size: 1.4rem; }
.small-note { color: #dbeafe; min-height: 1.2rem; }

.berkus-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; }
.berkus-card { padding: 1.4rem; }
.category { margin-bottom: 1.2rem; }
.category:last-of-type { margin-bottom: 0.4rem; }
.category-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.category-number {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.category-title { font-weight: 600; }
.category.completed .category-number { background: var(--secondary); }

.berkus-results { padding: 1.4rem; }
.berkus-results h3 { margin-top: 0; }
.berkus-value { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.65rem; }
.berkus-value-placeholder { color: rgba(255,255,255,0.86); margin-bottom: 0.65rem; }
.progress-bar {
  margin-top: 0.5rem;
  width: 100%;
  height: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.25);
}
.progress-fill {
  height: 100%;
  width: var(--berkus-progress-pct, 0%);
  border-radius: 12px;
  background: #fff;
  transition: width 0.25s ease;
}
.max-note {
  font-size: 0.9rem;
  color: #e2e8f0;
  background: rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 0.75rem;
}
.reset-btn { width: 100%; margin-top: 0.6rem; }
.print-btn { width: 100%; margin-top: 0.6rem; }

.feedback-section {
  margin-top: 1rem;
  display: none;
}

.feedback-section.visible {
  display: block;
}

.feedback-header h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.feedback-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  background: rgba(15, 23, 42, 0.6);
  border-left: 4px solid #64748b;
}

.feedback-item:last-child {
  margin-bottom: 0;
}

.feedback-item.excellent { border-left-color: #22c55e; background: rgba(16, 185, 129, 0.1); }
.feedback-item.good { border-left-color: #3b82f6; background: rgba(37, 99, 235, 0.12); }
.feedback-item.moderate { border-left-color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.feedback-item.needs-work { border-left-color: #ef4444; background: rgba(239, 68, 68, 0.12); }

.feedback-icon {
  font-size: 1.1rem;
  line-height: 1.4;
}

.feedback-content h4 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

.feedback-content p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.metric { display: grid; gap: 0.35rem; }
.metric span { color: var(--gray); font-size: 0.86rem; }
.metric strong { font-size: 1.5rem; }
.metric em { font-style: normal; font-size: 0.85rem; }
.up { color: #86efac; }

.chart-card h3 { margin-top: 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.contact-form { max-width: 620px; margin: 0 auto; display: grid; gap: 0.8rem; }

label.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.home-redesign .form-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
}

.form-checkbox span {
  flex: 1;
  min-width: 0;
  color: var(--gray);
}

.contact-form-privacy {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray);
}

.form-feedback {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #047857;
}

.form-feedback:empty {
  display: none;
}

.home-redesign .form-feedback {
  color: #047857;
}

.contact-form-privacy a {
  color: var(--primary);
  text-decoration: underline;
}

.btn {
  padding: 0.72rem 1.1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border: 1px solid #60a5fa; color: #93c5fd; }
.btn-outline:hover { background: rgba(59, 130, 246, 0.16); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.78);
}
.modal-backdrop[hidden] {
  display: none;
}
.modal-card {
  position: relative;
  width: min(92vw, 480px);
  max-width: 480px;
  margin: 0;
  padding: 2rem;
}
.modal-card h2 {
  margin-top: 0;
}
.modal-card p {
  color: #cbd5e1;
  line-height: 1.65;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.16);
  font-size: 1.4rem;
  line-height: 1;
}
.modal-close:hover {
  background: rgba(148, 163, 184, 0.28);
}

.site-footer { border-top: 1px solid var(--border); padding: 1.2rem 0; color: var(--gray); }

.coming-soon-hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.coming-soon-head .coming-soon-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.coming-soon-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.coming-soon-actions {
  justify-content: center;
  margin-top: 1.25rem;
}

/* Risk Factor Summation (scoped; avoids clashing with Berkus #progressFill and global .card) */
.risk-factor-summation {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.risk-factor-summation > .feedback-section {
  margin-top: 1rem;
}
.risk-factor-summation .rfs-section-head {
  position: relative;
  margin-bottom: 1.5rem;
}
.risk-factor-summation .rfs-inner {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
.risk-factor-summation .rfs-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.risk-factor-summation .rfs-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #f8fafc;
}
.risk-factor-summation .rfs-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 15px;
  outline: none;
}
.risk-factor-summation .rfs-baseline-select {
  background: #fef08a;
  border: 2px solid #ca8a04;
  color: #0f172a;
  font-weight: 600;
}
.risk-factor-summation .rfs-baseline-select:focus {
  border-color: #a16207;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.45);
}
.risk-factor-summation .rfs-baseline-select option {
  background: #fef9c3;
  color: #0f172a;
}
.risk-factor-summation .rfs-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 1024px) {
  .risk-factor-summation .rfs-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .risk-factor-summation .rfs-risk-grid {
    grid-template-columns: 1fr;
  }
}
.risk-factor-summation .rfs-risk-item {
  background: #111827;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 18px;
}
.risk-factor-summation .rfs-risk-item h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #f8fafc;
}
.risk-factor-summation .rfs-button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.risk-factor-summation .rfs-btn {
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.risk-factor-summation .rfs-btn-primary {
  border: none;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #fff;
}
.risk-factor-summation .rfs-btn-secondary {
  background: transparent;
  color: #93c5fd;
  border: 1px solid #60a5fa;
}
.risk-factor-summation .rfs-valuation-panel {
  background: linear-gradient(135deg, #3157e0 0%, #7c4dff 100%);
  border-radius: 24px;
  padding: 28px;
  color: white;
  margin-top: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
.risk-factor-summation .rfs-valuation-panel h2 {
  font-size: 22px;
  margin: 0 0 24px;
}
.risk-factor-summation .rfs-valuation-subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}
.risk-factor-summation .rfs-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.risk-factor-summation .rfs-progress-fill {
  height: 100%;
  width: var(--rfs-progress-pct, 0%);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.risk-factor-summation .rfs-progress-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}
.risk-factor-summation .rfs-feedback-box {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.5;
  min-height: 76px;
}
.risk-factor-summation .rfs-result-value {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0 6px;
}
.risk-factor-summation .rfs-muted {
  color: #cbd5e1;
  font-size: 14px;
}

/* Summary scorecard (index; RFS-style slate card + gradient valuation strip) */
.summary-scorecard {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.summary-scorecard .ssv-section-head {
  position: relative;
  margin-bottom: 1.5rem;
}

.summary-scorecard .\73\73\76-inner {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.summary-scorecard .\73\73\76-valuation-panel {
  background: linear-gradient(135deg, #3157e0 0%, #7c4dff 100%);
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.summary-scorecard .\73\73\76-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.summary-scorecard .\73\73\76-valuation-panel > .valuation-ownership-row {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.summary-scorecard .\73\73\76-valuation-panel label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.95);
}

.summary-scorecard .\73\73\76-valuation-panel input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.summary-scorecard .\73\73\76-valuation-panel input[type="text"]:focus {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.summary-scorecard .\73\73\76-valuation-panel .metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.summary-scorecard .\73\73\76-valuation-panel .metric-value {
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.summary-scorecard .\73\73\76-valuation-panel .metric-value.valid {
  color: #bbf7d0;
}

.summary-scorecard .\73\73\76-valuation-panel .metric-value.invalid {
  color: #fecaca;
}

.summary-scorecard .\73\73\76-alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.summary-scorecard .\73\73\76-alert-valid {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.summary-scorecard .\73\73\76-alert-invalid {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.summary-scorecard .\73\73\76-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.summary-scorecard .\73\73\76-card h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #f8fafc;
}

.summary-scorecard .\73\73\76-table-wrap {
  overflow: visible;
}

.summary-scorecard .\73\73\76-card {
  overflow: visible;
}

.summary-scorecard .\73\73\76-card:has(.tooltip-wrap:hover),
.summary-scorecard .\73\73\76-card:has(.tooltip-wrap:focus-within) {
  position: relative;
  z-index: 55;
}

.summary-scorecard .\73\73\76-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.summary-scorecard .\73\73\76-table th,
.summary-scorecard .\73\73\76-table td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid #334155;
  vertical-align: middle;
}

.summary-scorecard .\73\73\76-table th:nth-child(4),
.summary-scorecard .\73\73\76-table td:nth-child(4) {
  text-align: center;
}

.summary-scorecard .\73\73\76-table th {
  color: var(--primary);
  font-weight: 800;
}

.summary-scorecard .\73\73\76-table td {
  color: #e2e8f0;
}

.summary-scorecard .\73\73\76-th-with-tip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.summary-scorecard .\73\73\76-table tbody tr {
  position: relative;
}

.summary-scorecard .\73\73\76-table tbody tr:has(.tooltip-wrap:hover),
.summary-scorecard .\73\73\76-table tbody tr:has(.tooltip-wrap:focus-within) {
  z-index: 10;
}

.summary-scorecard .tooltip-wrap {
  position: relative;
  z-index: 0;
}

.summary-scorecard .tooltip-wrap:hover,
.summary-scorecard .tooltip-wrap:focus-within {
  z-index: 80;
}

.summary-scorecard .tooltip-text {
  z-index: 90;
  isolation: isolate;
  font-weight: 400;
}

.summary-scorecard .factor-name {
  font-weight: 800;
  color: #f8fafc;
}

.summary-scorecard .weight-control {
  display: grid;
  grid-template-columns: 1fr 5.5rem;
  gap: 0.65rem;
  align-items: center;
}

.summary-scorecard .weight-range {
  width: 100%;
  height: 1.45rem;
  accent-color: var(--primary);
  background: transparent;
  border: none;
}

.summary-scorecard .weight-select,
.summary-scorecard .rating-select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
  color: var(--light);
  font-size: 0.88rem;
}

.summary-scorecard .summary-scorecard-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.summary-scorecard .summary-scorecard-actions .btn {
  flex: 1 1 min(12rem, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .summary-scorecard .\73\73\76-metric-grid {
    grid-template-columns: 1fr;
  }

  .summary-scorecard .weight-control {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .summary-scorecard .\73\73\76-table,
  .summary-scorecard .\73\73\76-table thead,
  .summary-scorecard .\73\73\76-table tbody,
  .summary-scorecard .\73\73\76-table th,
  .summary-scorecard .\73\73\76-table td,
  .summary-scorecard .\73\73\76-table tr {
    display: block;
  }

  .summary-scorecard .\73\73\76-table thead {
    display: none;
  }

  .summary-scorecard .\73\73\76-table tr {
    border: 1px solid #334155;
    border-radius: 14px;
    margin-bottom: 14px;
    padding: 12px;
  }

  .summary-scorecard .\73\73\76-table td {
    border-bottom: none;
    padding: 8px 0;
  }

  .summary-scorecard .\73\73\76-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 6px;
  }
}

/* Scorecard valuation (scoped; dark theme to match site) */
.scorecard-valuation {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sc-page-back {
  margin-top: 1rem;
}
.scorecard-valuation .sc-section-head {
  margin-bottom: 1.25rem;
}
.scorecard-valuation .sc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.scorecard-valuation #scFactors {
  display: grid;
  gap: 1rem;
}
.scorecard-valuation .sc-intro-card {
  padding: 1.1rem 1.25rem;
}
.scorecard-valuation .sc-intro-text {
  margin: 0;
  color: var(--gray);
  line-height: 1.55;
  font-size: 0.95rem;
}
.scorecard-valuation .sc-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
}
.scorecard-valuation .sc-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: #e2e8f0;
}
.scorecard-valuation .sc-input,
.scorecard-valuation .sc-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
  color: var(--light);
  font-size: 0.92rem;
}
.scorecard-valuation .sc-weight-input[type="range"] {
  width: 100%;
  padding: 0;
  height: 1.5rem;
  accent-color: var(--primary);
  background: transparent;
  border: none;
}
.scorecard-valuation .sc-metric-label {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.scorecard-valuation .sc-metric-value {
  margin-top: 0.4rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #f8fafc;
}
.scorecard-valuation .sc-valid {
  color: #34d399;
}
.scorecard-valuation .sc-invalid {
  color: #f87171;
}
.scorecard-valuation .sc-alert {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
}
.scorecard-valuation .sc-alert-valid {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}
.scorecard-valuation .sc-alert-invalid {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
.scorecard-valuation .sc-factor-card {
  padding: 1.25rem;
  margin-bottom: 0;
}
.scorecard-valuation .sc-factor-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #f8fafc;
}
.scorecard-valuation .sc-factor-meta {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.45;
}
.scorecard-valuation .sc-factor-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1.1rem;
}
.scorecard-valuation .sc-weight-control {
  display: grid;
  grid-template-columns: 1fr 6.5rem;
  gap: 0.65rem;
  align-items: center;
}
.scorecard-valuation .sc-questions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.scorecard-valuation .sc-question {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1rem;
}
.scorecard-valuation .sc-table-card {
  padding: 1.25rem;
}
.scorecard-valuation .sc-table-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}
.scorecard-valuation .sc-table-wrap {
  overflow-x: auto;
}
.scorecard-valuation .sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.scorecard-valuation .sc-table th,
.scorecard-valuation .sc-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #334155;
}
.scorecard-valuation .sc-table th {
  color: #cbd5e1;
  font-weight: 700;
}
.scorecard-valuation .sc-table td {
  color: #e2e8f0;
}

@media (max-width: 900px) {
  .scorecard-valuation .sc-summary-grid,
  .scorecard-valuation .sc-factor-header,
  .scorecard-valuation .sc-questions {
    grid-template-columns: 1fr;
  }
  .scorecard-valuation .sc-weight-control {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .hero-grid, .calculator-grid, .berkus-layout { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { flex-direction: column; align-items: flex-start; padding: 0.7rem 0; }
  .nav-links { flex-wrap: wrap; }
  .form-row, .features-grid, .metrics-grid { grid-template-columns: 1fr; }
  .feedback-item { flex-direction: column; }
}

.banner {
  padding: 2rem;
  border-radius: 24px;
  margin-bottom: 2rem;
  color: #ffffff;
}

.banner-founders {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.banner-investors {
  background: linear-gradient(135deg, #4338ca, #7c3aed);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f3f4f6;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.coming-soon-page {
  background: #ffffff;
  color: #111827;
}

/* Features page (coming-soon.html): override global dark hero/section/card styles */
.coming-soon-page .hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background: #ffffff;
}

.coming-soon-page .hero .eyebrow {
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.coming-soon-page .hero h1 {
  color: #111827;
}

.coming-soon-page .hero-content > p {
  color: #6b7280;
  line-height: 1.65;
}

.coming-soon-page .hero-stats strong {
  color: #111827;
}

.coming-soon-page .hero-stats span {
  color: #6b7280;
}

.coming-soon-page .coming-soon-hero {
  background: #ffffff;
}

.coming-soon-page .alt {
  background: #f9fafb;
}

.coming-soon-page .section-head h2,
.coming-soon-page .section-head h3 {
  color: #111827;
}

.coming-soon-page .section-head p {
  color: #6b7280;
}

.coming-soon-page .features-grid .card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.coming-soon-page .features-grid .card h3 {
  margin-top: 0;
  color: #111827;
}

.coming-soon-page .features-grid .card p {
  color: #6b7280;
  line-height: 1.55;
}

.coming-soon-page .site-header:not(.coming-soon-header) {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: #e5e7eb;
}

.coming-soon-page .nav-links a {
  color: #6b7280;
}

.coming-soon-page .nav-links a:hover {
  color: #111827;
}

.coming-soon-page .container {
  width: min(100% - 2rem, 1200px);
}

.coming-soon-header {
  z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  backdrop-filter: blur(14px);
}

.coming-soon-page .brand {
  color: #111827;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.coming-soon-nav {
  min-height: 64px;
  gap: 1.25rem;
}

.coming-soon-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.coming-soon-nav-links a,
.coming-soon-footer-links a {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease;
}

.coming-soon-nav-links a:hover,
.coming-soon-footer-links a:hover {
  color: #111827;
}

.coming-soon-footer-links .footer-link-button {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.coming-soon-footer-links .footer-link-button:hover {
  color: #111827;
  text-decoration: underline;
}

.coming-soon-nav-cta {
  border-radius: 999px;
  padding-inline: 1.5rem;
}

.coming-soon-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 10rem) 0;
}

.coming-soon-glow {
  position: absolute;
  z-index: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.58;
  pointer-events: none;
}

.coming-soon-glow-left {
  top: 5rem;
  left: 22%;
  background: rgba(245, 158, 11, 0.12);
}

.coming-soon-glow-right {
  right: 18%;
  bottom: 4rem;
  background: rgba(37, 99, 235, 0.11);
}

.coming-soon-head {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-head .coming-soon-badge,
.audience-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
}

.coming-soon-head .coming-soon-badge {
  color: #d97706;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.coming-soon-head h1 {
  margin: 0 0 1.5rem;
  color: #111827;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.coming-soon-head > p:not(.coming-soon-badge):not(.coming-soon-trust) {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  color: #6b7280;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.coming-soon-actions {
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.btn-pill {
  border-radius: 999px;
}

.btn-large {
  min-height: 3rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.coming-soon-page .btn-primary {
  background: #111827;
  color: #ffffff;
}

.coming-soon-page .btn-primary:hover {
  background: #374151;
}

.coming-soon-page .btn-outline {
  color: #111827;
  border-color: #d1d5db;
  background: #ffffff;
}

.coming-soon-page .btn-outline:hover {
  background: #f9fafb;
}

.coming-soon-trust {
  margin-top: 2.5rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.coming-soon-features {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.feature-audience {
  margin-bottom: clamp(5rem, 8vw, 7rem);
}

.feature-audience:last-child {
  margin-bottom: 0;
}

.feature-section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.audience-badge {
  margin-bottom: 3.5rem;
}

.coming-soon-features .feature-section-head .audience-badge {
  margin-bottom: 4rem;
}

.audience-badge-founders {
  color: #2563eb;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.13), rgba(99, 102, 241, 0.13));
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.audience-badge-investors {
  color: #0d9488;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.13), rgba(16, 185, 129, 0.13));
  border: 1px solid rgba(20, 184, 166, 0.28);
}

.feature-section-head h2 {
  margin: 0 0 1rem;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.feature-section-head p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.redesign-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.redesign-card {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  background: #ffffff;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.redesign-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.redesign-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  font-size: 1.55rem;
  font-weight: 800;
}

.redesign-card h3 {
  margin: 0 0 0.65rem;
  color: #111827;
  font-size: 1.1rem;
}

.redesign-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.65;
}

.icon-blue { color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.icon-emerald { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.icon-violet { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); }
.icon-cyan { color: #06b6d4; background: rgba(6, 182, 212, 0.1); }
.icon-amber { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.icon-yellow { color: #eab308; background: rgba(234, 179, 8, 0.12); }
.icon-teal { color: #14b8a6; background: rgba(20, 184, 166, 0.1); }
.icon-rose { color: #f43f5e; background: rgba(244, 63, 94, 0.1); }
.icon-indigo { color: #6366f1; background: rgba(99, 102, 241, 0.1); }
.icon-orange { color: #f97316; background: rgba(249, 115, 22, 0.1); }
.icon-purple { color: #a855f7; background: rgba(168, 85, 247, 0.1); }
.icon-sky { color: #0ea5e9; background: rgba(14, 165, 233, 0.1); }

.coming-soon-page .modal-backdrop {
  background: rgba(17, 24, 39, 0.2);
  backdrop-filter: blur(6px);
}

.coming-soon-page .modal-card {
  max-width: 28rem;
  padding: 2rem;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  text-align: center;
}

.coming-soon-page .modal-close {
  color: #6b7280;
  background: transparent;
}

.coming-soon-page .modal-close:hover {
  background: #f3f4f6;
}

.beta-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #111827;
  background: #f3f4f6;
  font-size: 1.6rem;
}

.coming-soon-page .modal-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
}

.coming-soon-page .modal-card p {
  color: #6b7280;
}

.beta-access-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.beta-access-form input {
  height: 3rem;
  color: #111827;
  background: #ffffff;
  border-color: #d1d5db;
  border-radius: 0.85rem;
}

.beta-access-form .btn {
  height: 3rem;
  border-radius: 0.85rem;
}

.beta-modal-privacy {
  margin: 1rem 0 0;
  font-size: 0.8rem;
}

.form-checkbox--beta span {
  color: #4b5563;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding: 1rem 0 1.25rem;
  background: #0f172a;
  color: #e2e8f0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}

.cookie-consent-copy {
  flex: 1 1 100%;
  max-width: 52rem;
}

.cookie-consent-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
}

.cookie-consent-desc {
  margin: 0 auto;
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-consent-desc a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-consent-desc a:hover {
  color: #bfdbfe;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-consent-reject,
.cookie-consent-actions .btn-outline.cookie-consent-reject {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
}

.cookie-consent-actions .btn-outline {
  border-color: rgba(148, 163, 184, 0.55);
  color: #e2e8f0;
}

.cookie-consent-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #94a3b8;
  color: #fff;
}

.cookie-consent-actions .btn-outline.cookie-consent-reject:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
}

html.msv-cookie-banner-open {
  padding-bottom: clamp(7rem, 24vh, 12rem);
}

@media (max-width: 640px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: center;
  }

  .cookie-consent-actions {
    justify-content: center;
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

.coming-soon-footer {
  border-top-color: #e5e7eb;
}

.coming-soon-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.coming-soon-footer p {
  color: #6b7280;
  font-size: 0.9rem;
}

.coming-soon-footer-links {
  display: flex;
  gap: 1.5rem;
}

.privacy-policy {
  max-width: 48rem;
  margin: 0 auto;
}

.privacy-policy-page {
  background: #ffffff;
  color: #111827;
}

.privacy-policy-page main {
  background: #ffffff;
}

.privacy-policy-page .section-head {
  text-align: left;
}

.privacy-policy-page .section-head h1,
.privacy-policy-page .section-head p,
.privacy-policy-page .privacy-policy-lead,
.privacy-policy-page .privacy-policy-lead a {
  color: #111827;
}

.privacy-policy-page .privacy-policy-card {
  background: #ffffff;
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.privacy-policy-lead {
  max-width: 40rem;
  margin-left: 0;
  margin-right: 0;
}

.privacy-policy-card h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: #111827;
}

.privacy-policy-card h2:first-of-type {
  margin-top: 0;
}

.privacy-policy-card h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
  font-size: 1rem;
  color: #111827;
}

.privacy-policy-card code {
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.privacy-policy-card p,
.privacy-policy-card li {
  color: #374151;
  line-height: 1.6;
}

.privacy-policy-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.privacy-policy-card li {
  margin-bottom: 0.35rem;
}

.privacy-policy-meta {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #6b7280;
}

@media (max-width: 900px) {
  .redesign-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .coming-soon-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .coming-soon-nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 0.75rem;
  }

  .coming-soon-nav-cta {
    margin-left: auto;
  }

  .coming-soon-actions,
  .coming-soon-footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .redesign-features-grid {
    grid-template-columns: 1fr;
  }

  .coming-soon-head .coming-soon-badge,
  .audience-badge {
    font-size: 0.95rem;
  }
}

.home-redesign .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(4rem, 7vw, 6rem);
}

.home-redesign .hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.home-redesign .hero-content {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}

.home-redesign .hero-content .coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 999px;
  color: #2563eb;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.13), rgba(99, 102, 241, 0.13));
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.home-redesign .hero-content h1 {
  margin: 0 0 1.5rem;
  color: #111827;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.home-redesign .hero-content > p:not(.eyebrow) {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  color: #6b7280;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.home-redesign .hero-actions {
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.home-redesign .hero-stats {
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-redesign .hero-stats div {
  min-width: 11rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.home-redesign .hero-stats strong {
  color: #111827;
}

.home-redesign .hero-stats span {
  color: #6b7280;
}

.home-redesign .section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.home-redesign .alt {
  background: #f9fafb;
}

.home-redesign .section-head {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.home-redesign .section-head h1,
.home-redesign .section-head h2,
.home-redesign .calculator-title {
  color: #111827;
  letter-spacing: -0.04em;
}

.home-redesign .section-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.home-redesign .section-head p,
.home-redesign .small-note,
.home-redesign .metric span,
.home-redesign .feedback-content p {
  color: #6b7280;
}

.home-redesign .card,
.home-redesign .category,
.home-redesign .feedback-item,
.home-redesign .risk-factor-summation .rfs-card,
.home-redesign .risk-factor-summation .rfs-valuation-panel,
.home-redesign .summary-scorecard .\73\73\76-valuation-panel,
.home-redesign .risk-factor-summation .rfs-feedback-list,
.home-redesign .scorecard-valuation .sc-intro-card,
.home-redesign .scorecard-valuation .sc-summary-grid,
.home-redesign .scorecard-valuation .sc-question,
.home-redesign .scorecard-valuation .sc-table-card {
  border-color: #e5e7eb;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.home-redesign .card {
  border-radius: 1.25rem;
}

.home-redesign label,
.home-redesign .category-title,
.home-redesign .feedback-content h4,
.home-redesign .risk-factor-summation .rfs-card h3,
.home-redesign .scorecard-valuation .sc-table-title,
.home-redesign .scorecard-valuation .sc-factor-title,
.home-redesign .scorecard-valuation .sc-metric-value,
.home-redesign .scorecard-valuation .sc-table td,
.home-redesign .scorecard-valuation .sc-table th {
  color: #111827;
}

.home-redesign input,
.home-redesign select,
.home-redesign textarea,
.home-redesign .scorecard-valuation .sc-input,
.home-redesign .scorecard-valuation .sc-select {
  color: #111827;
  background: #ffffff;
  border-color: #d1d5db;
}

.home-redesign input:focus,
.home-redesign select:focus,
.home-redesign textarea:focus,
.home-redesign .scorecard-valuation .sc-input:focus,
.home-redesign .scorecard-valuation .sc-select:focus {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  border-color: #2563eb;
}

.home-redesign .gradient,
.home-redesign .berkus-results {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #374151);
  border-color: transparent;
}

.home-redesign .berkus-results h3,
.home-redesign .berkus-results .berkus-value,
.home-redesign .berkus-results .berkus-value-placeholder {
  color: #ffffff;
}

.home-redesign .valuation-tools-market__caption {
  color: #2563eb;
}

.home-redesign .valuation-tools-market__bracket {
  border-color: #2563eb;
}

.home-redesign .tooltip-text {
  color: #111827;
  background: #ffffff;
  border-color: #e5e7eb;
}

.home-redesign .contact-form {
  padding: 1.5rem;
}

.home-redesign .site-footer {
  background: #ffffff;
}

.home-redesign .berkus-layout .card,
.home-redesign #feedbackSection.card,
.home-redesign #rfsFeedbackSection.card {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border);
  color: var(--light);
  box-shadow: none;
}

.home-redesign .berkus-layout label,
.home-redesign .berkus-layout .category-title,
.home-redesign #feedbackSection .feedback-header h3,
.home-redesign #feedbackSection .feedback-content h4,
.home-redesign #rfsFeedbackSection .feedback-header h3,
.home-redesign #rfsFeedbackSection .feedback-content h4 {
  color: #cbd5e1;
}

.home-redesign .berkus-layout .category {
  padding: 18px;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 16px;
  box-shadow: none;
}

.home-redesign .berkus-layout .category-title {
  color: #f8fafc;
}

.home-redesign .berkus-layout input,
.home-redesign .berkus-layout select {
  color: var(--light);
  background: #0f172a;
  border-color: #334155;
}

.home-redesign .berkus-layout .reset-btn,
.home-redesign .berkus-layout .print-btn {
  width: 100%;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.home-redesign .berkus-layout .reset-btn {
  color: #93c5fd;
  background: transparent;
  border: 1px solid #60a5fa;
}

.home-redesign .berkus-layout .print-btn {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border: none;
}

.home-redesign .berkus-results,
.home-redesign .berkus-layout .berkus-results {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
}

.home-redesign .berkus-results .small-note {
  color: #ffffff;
}

.home-redesign .info-icon {
  color: #111827;
  border-color: #111827;
  background: #ffffff;
}

.valuation-panel-header {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto auto;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.valuation-panel-header h2,
.valuation-panel-header h3 {
  margin: 0;
}

.valuation-ownership-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ownership-control,
.share-value-display {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.home-redesign .berkus-results .ownership-control {
  color: #ffffff;
}

.home-redesign .risk-factor-summation .ownership-control {
  color: #ffffff;
}

.home-redesign .summary-scorecard .\73\73\76-valuation-panel .ownership-control,
.home-redesign .summary-scorecard .\73\73\76-valuation-panel .share-value-display {
  color: #ffffff;
}

.ownership-control input,
.home-redesign .ownership-control input {
  width: 6rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  text-align: center;
  font-weight: 800;
}

.share-value-display strong {
  min-width: 8rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-redesign #feedbackSection .feedback-item,
.home-redesign #rfsFeedbackSection .feedback-item {
  background: rgba(15, 23, 42, 0.6);
  box-shadow: none;
}

.home-redesign #feedbackSection .feedback-item.excellent,
.home-redesign #rfsFeedbackSection .feedback-item.excellent {
  background: rgba(16, 185, 129, 0.1);
}

.home-redesign #feedbackSection .feedback-item.good,
.home-redesign #rfsFeedbackSection .feedback-item.good {
  background: rgba(37, 99, 235, 0.12);
}

.home-redesign #feedbackSection .feedback-item.moderate,
.home-redesign #rfsFeedbackSection .feedback-item.moderate {
  background: rgba(245, 158, 11, 0.12);
}

.home-redesign #feedbackSection .feedback-item.needs-work,
.home-redesign #rfsFeedbackSection .feedback-item.needs-work {
  background: rgba(239, 68, 68, 0.12);
}

.home-redesign #feedbackSection .feedback-content p,
.home-redesign #rfsFeedbackSection .feedback-content p {
  color: #cbd5e1;
}

.home-redesign .risk-factor-summation .rfs-card,
.home-redesign .summary-scorecard .\73\73\76-card {
  position: relative;
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.home-redesign .risk-factor-summation .rfs-label,
.home-redesign .risk-factor-summation .rfs-risk-item h3,
.home-redesign .risk-factor-summation .rfs-card h3 {
  color: #f8fafc;
}

.risk-factor-summation .rfs-baseline-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-redesign .risk-factor-summation .rfs-select {
  color: #e5e7eb;
  background: #0f172a;
  border-color: #334155;
}

.home-redesign .risk-factor-summation .rfs-baseline-select {
  color: #0f172a;
  background: #fef08a;
  border-color: #ca8a04;
}

.home-redesign .risk-factor-summation .rfs-risk-item {
  background: #111827;
  border-color: #334155;
}

.home-redesign .risk-factor-summation .rfs-valuation-panel,
.home-redesign .summary-scorecard .\73\73\76-valuation-panel {
  color: #ffffff;
  background: linear-gradient(135deg, #3157e0 0%, #7c4dff 100%);
  box-shadow: none;
}

.home-redesign .risk-factor-summation .rfs-valuation-panel h2,
.home-redesign .risk-factor-summation .rfs-result-value {
  color: #ffffff;
}

.home-redesign .risk-factor-summation .rfs-valuation-subtext,
.home-redesign .risk-factor-summation .rfs-progress-text {
  color: rgba(255, 255, 255, 0.9);
}

.home-redesign .risk-factor-summation .rfs-feedback-box {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.16);
}

.home-redesign .risk-factor-summation .rfs-muted {
  color: #cbd5e1;
}

.home-redesign .summary-scorecard .\73\73\76-card h2,
.home-redesign .summary-scorecard .factor-name {
  color: #f8fafc;
}

.home-redesign .summary-scorecard .\73\73\76-table th {
  color: var(--primary);
}

.home-redesign .summary-scorecard .\73\73\76-table td {
  color: #e2e8f0;
}

.home-redesign .summary-scorecard .tooltip-text {
  font-weight: 400;
}

.home-redesign .summary-scorecard .\73\73\76-valuation-panel .metric-label {
  color: rgba(255, 255, 255, 0.88);
}

.home-redesign .summary-scorecard .\73\73\76-valuation-panel .metric-value {
  color: #ffffff;
}

.home-redesign .summary-scorecard .\73\73\76-valuation-panel .metric-value.valid {
  color: #bbf7d0;
}

.home-redesign .summary-scorecard .\73\73\76-valuation-panel .metric-value.invalid {
  color: #fecaca;
}

.home-redesign .summary-scorecard .weight-select,
.home-redesign .summary-scorecard .rating-select {
  color: var(--light);
  background: #0f172a;
  border-color: #334155;
}

.home-redesign .summary-scorecard .\73\73\76-valuation-panel input[type="text"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.home-redesign .summary-scorecard .\73\73\76-table th,
.home-redesign .summary-scorecard .\73\73\76-table td {
  border-bottom-color: #334155;
}

.home-redesign .summary-scorecard .\73\73\76-table th:nth-child(4),
.home-redesign .summary-scorecard .\73\73\76-table td:nth-child(4) {
  text-align: center;
}

.home-redesign .summary-scorecard .\73\73\76-card th .info-icon {
  color: #bfdbfe;
  border-color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
}

.home-redesign .summary-scorecard .\73\73\76-alert-valid {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.home-redesign .summary-scorecard .\73\73\76-alert-invalid {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.home-redesign .summary-scorecard .summary-scorecard-actions .btn-outline {
  color: #93c5fd;
  border-color: #60a5fa;
  background: transparent;
}

.home-redesign .summary-scorecard .summary-scorecard-actions .btn-outline:hover {
  background: rgba(59, 130, 246, 0.16);
}

.home-redesign .summary-scorecard .summary-scorecard-actions .btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border: none;
}

.home-redesign .summary-scorecard .summary-scorecard-actions .btn-primary:hover {
  filter: brightness(1.05);
}

.home-redesign .scorecard-valuation .card,
.home-redesign .scorecard-valuation .sc-summary-grid,
.home-redesign .scorecard-valuation .sc-factor-card,
.home-redesign .scorecard-valuation .sc-table-card {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border);
  color: var(--light);
  box-shadow: none;
}

.home-redesign .scorecard-valuation .sc-question {
  background: #111827;
  border-color: #334155;
  color: #f8fafc;
  box-shadow: none;
}

.home-redesign .scorecard-valuation .sc-label,
.home-redesign .scorecard-valuation .sc-factor-title,
.home-redesign .scorecard-valuation .sc-table-title,
.home-redesign .scorecard-valuation .sc-table th,
.home-redesign .scorecard-valuation .sc-table td {
  color: #f8fafc;
}

.home-redesign .scorecard-valuation .sc-factor-meta,
.home-redesign .scorecard-valuation .sc-metric-label {
  color: #94a3b8;
}

.home-redesign .scorecard-valuation .sc-metric-value {
  color: #f8fafc;
}

.home-redesign .scorecard-valuation .sc-valid {
  color: #34d399;
}

.home-redesign .scorecard-valuation .sc-invalid {
  color: #f87171;
}

.home-redesign .scorecard-valuation .sc-input,
.home-redesign .scorecard-valuation .sc-select {
  color: var(--light);
  background: #0f172a;
  border-color: #334155;
}

.home-redesign .scorecard-valuation .sc-weight-input[type="range"] {
  background: transparent;
  border: none;
  accent-color: var(--primary);
}

.home-redesign .scorecard-valuation .sc-table th,
.home-redesign .scorecard-valuation .sc-table td {
  border-bottom-color: #334155;
}

.home-redesign .scorecard-valuation .sc-alert-valid {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
}

.home-redesign .scorecard-valuation .sc-alert-invalid {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

@media (max-width: 720px) {
  .home-redesign .hero-stats {
    flex-direction: column;
  }

  .home-redesign .hero-stats div {
    width: 100%;
  }

  .valuation-panel-header {
    grid-template-columns: 1fr;
  }

  .valuation-ownership-row {
    grid-template-columns: 1fr;
  }

  .ownership-control,
  .share-value-display {
    justify-content: space-between;
    width: 100%;
  }

}
