/* =========================================================
   Startup Selection Subpage CSS – v4 full content
   ========================================================= */

:root {
  --color-main:    #000000;
  --color-main2:   #2A62A0;
  --color-light:   #ffffff;
  --color-grey4:   #c3c3c3;
  --color-grey5:   #e7e7e7;
  --color-grey6:   #f4f4f4;
  --color-bg:      #f7f7f5;
  --color-green:   #1a7a4a;
  --color-purple:  #5b4fcf;
  --color-red:     #c0392b;
  --font-main: "Archivo", "Helvetica", "Arial", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; line-height: 1.15; scroll-behavior: smooth; }
body { font-family: var(--font-main); font-weight: 300; color: var(--color-main); background-color: var(--color-bg); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: inline-block; }
ul { list-style: none; }
strong { font-weight: 600; }

.container        { width: 100%; max-width: 960px;  margin: 0 auto; padding: 0 1.6rem; }
.container.is-large { max-width: 1200px; }

/* =========================================================
   HEADER
   ========================================================= */
.page-header { background-color: #000; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-main { height: 26px; width: auto; }

.nav-hor {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-hor li a {
  color: #aaa;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-hor li a:hover { color: #fff; }

.btn-cta-nav {
  background: #fff !important;
  color: #000 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem;
  letter-spacing: 0 !important;
  transition: background 0.2s !important;
  border-radius: 4px;
}
.btn-cta-nav:hover { background: #e0e0e0 !important; }

/* =========================================================
   HERO
   ========================================================= */
.sub-hero {
  background-color: var(--color-bg);
  padding: 4rem 0 4rem;
  text-align: center;
}

.sub-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Breadcrumb */
.sub-breadcrumb {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #888;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sub-breadcrumb a { color: #888; transition: color 0.2s; }
.sub-breadcrumb a:hover { color: #333; }
.breadcrumb-sep { color: #bbb; }

/* Badge pill */
.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ece9ff;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.75rem;
}
.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-purple);
}

.sub-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.sub-hero-desc {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: #555;
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.btn-primary-large {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2.25rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.btn-primary-large:hover { background: #333; }

.btn-secondary-large {
  display: inline-block;
  background: transparent;
  color: #333;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.9rem 2.25rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  letter-spacing: 0.01em;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary-large:hover { border-color: #666; color: #000; }

.btn-coming-soon {
  cursor: default !important;
  opacity: 0.55;
  pointer-events: none;
  font-size: 0.9rem !important;
  letter-spacing: 0 !important;
}
.btn-coming-soon:hover { border-color: #ccc !important; color: #333 !important; }

.sub-hero-meta {
  font-size: 0.875rem;
  color: #666;
  font-weight: 300;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.meta-chip {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}
.meta-chip--green { background: #d4edda; color: #1a7a4a; }

.sub-trust-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.sub-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #444;
}

.sub-trust-divider { color: #ccc; font-size: 1rem; }

/* =========================================================
   SECTION DIVIDER
   ========================================================= */
.section-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.sub-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
}

.sub-section--grey {
  background-color: #f0f0ee;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-purple);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.375rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-purple);
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.7; }

.sub-section-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.01em;
}

/* =========================================================
   BENEFITS GRID
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.benefit-item { display: flex; flex-direction: column; }

.benefit-icon {
  width: 46px;
  height: 46px;
  background: #ece9ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--color-purple);
  padding: 10px;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  color: #1a1a1a;
}

.benefit-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: #555;
  flex: 1;
  margin-bottom: 0.9rem;
}

.benefit-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-purple);
  transition: opacity 0.2s;
  margin-top: auto;
}
.benefit-link:hover { opacity: 0.7; }

/* =========================================================
   STAGES GRID
   ========================================================= */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stage-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  position: relative;
}

.stage-card--active {
  border-color: #1a1a1a;
  background: #fafafa;
}

.stage-badge-pill {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.stage-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.stage-card--active .stage-label { color: #1a1a1a; font-weight: 800; }

.stage-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #555;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.stage-criteria { display: flex; flex-direction: column; gap: 0.35rem; }

.stage-criteria-item {
  font-size: 0.75rem;
  font-weight: 300;
  color: #777;
  padding-left: 0.85rem;
  position: relative;
}
.stage-criteria-item::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #bbb;
}

.stages-note {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #888;
  font-style: italic;
}

/* =========================================================
   FORMULA BOX
   ========================================================= */
.formula-box {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
}

.formula-part {
  flex: 1;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.formula-part:last-child { border-right: none; }

.formula-plus, .formula-equals {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 300;
  color: #aaa;
  padding: 0 0.5rem;
  flex-shrink: 0;
  background: #fff;
}

.formula-result {
  flex: 1;
  padding: 1.5rem 1.25rem;
  background: #fdf3e0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.formula-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
}

.formula-weight {
  font-size: 1.625rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.formula-weight--accent { color: #b07a00; }

.formula-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #666;
  line-height: 1.5;
}

/* =========================================================
   DIMENSIONS TABLE
   ========================================================= */
.dimensions-table {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 2rem;
}

.dim-row {
  display: grid;
  grid-template-columns: 200px 90px 1fr 140px;
  border-bottom: 1px solid #f0f0f0;
}
.dim-row:last-child { border-bottom: none; }

.dim-row--header {
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.dim-col {
  padding: 0.9rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #444;
  display: flex;
  align-items: center;
}

.dim-row--header .dim-col {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

.dim-col--name { border-right: 1px solid #f0f0f0; }
.dim-col--weight { border-right: 1px solid #f0f0f0; justify-content: center; }
.dim-col--desc { border-right: 1px solid #f0f0f0; }
.dim-col--source { font-size: 0.8125rem; color: #888; }

.dim-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.dim-badge--high { background: #ece9ff; color: var(--color-purple); }
.dim-badge--mid  { background: #e8f4fd; color: #2A62A0; }

/* =========================================================
   BADGES SECTION
   ========================================================= */
.badges-section {
  background-color: var(--color-bg);
  padding: 5rem 0;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.badge-card {
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-silver  { background: #f5f5f5; border-color: #ddd; }
.badge-gold    { background: #fdf3e0; border-color: #e8c97a; }
.badge-platinum{ background: #e8f0fb; border-color: #a8c0e8; }
.badge-diamond { background: #ece9ff; border-color: #b0a8e8; }

.badge-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.badge-circle--silver  { background: #9e9e9e; color: #fff; }
.badge-circle--gold    { background: #c8860a; color: #fff; }
.badge-circle--platinum{ background: #2A62A0; color: #fff; }
.badge-circle--diamond { background: #5b4fcf; color: #fff; }

.badge-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.badge-score {
  font-size: 0.875rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.2rem;
}

.badge-pct {
  font-size: 0.75rem;
  font-weight: 300;
  color: #888;
  margin-bottom: 0.9rem;
}

.badge-desc {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
  text-align: center;
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid #f0f0f0;
}
.step-item:last-child { border-bottom: none; }

.step-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #e0e0e0;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  text-align: right;
}

.step-content { flex: 1; }

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: #555;
}

/* =========================================================
   PRIVACY TWO-COL
   ========================================================= */
.privacy-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.privacy-col {
  border-radius: 10px;
  padding: 1.75rem 2rem;
}

.privacy-col--do   { background: #edf7f2; border: 1px solid #b8dfc9; }
.privacy-col--dont { background: #fdf0ef; border: 1px solid #f0c0bc; }

.privacy-col-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.privacy-col-header--green { color: var(--color-green); }
.privacy-col-header--red   { color: var(--color-red); }

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.privacy-list li {
  font-size: 0.9375rem;
  font-weight: 300;
  color: #333;
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}

.privacy-col--do .privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
  font-size: 0.875rem;
}

.privacy-col--dont .privacy-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.875rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background 0.15s;
}
.faq-question:hover { background: #fafafa; }

.faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: #888;
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: #555;
  border-top: 1px solid #f0f0f0;
}
.faq-answer.is-open { display: block; }

/* =========================================================
   FINAL CTA SECTION
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 60%, #1a1a2e 100%);
  padding: 5.5rem 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b8fe8;
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #bbb;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.btn-cta-white {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  margin-bottom: 1rem;
}
.btn-cta-white:hover { background: #e8e8e8; }

.cta-meta {
  font-size: 0.8125rem;
  color: #888;
  font-weight: 300;
  margin-bottom: 2rem;
}

.cta-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #2d2d4e;
  margin-left: -8px;
  display: inline-block;
}
.avatar:first-child { margin-left: 0; }

.cta-social-text {
  font-size: 0.875rem;
  font-weight: 300;
  color: #aaa;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding-top: 3rem; background: var(--color-bg); }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.footer-about {
  flex: 0 0 calc(33.333% - 0.8rem);
  max-width: calc(33.333% - 0.8rem);
}

.footer-brand { font-size: 0.875rem; font-weight: 600; }

.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 300;
  margin-top: 0.8rem;
  line-height: 1.6;
  color: #555;
}

.footer-contact-label { font-size: 0.875rem; font-weight: 600; margin-top: 2rem; }
.footer-contact-email { font-size: 0.8125rem; margin-top: 0.5rem; }
.footer-contact-email a { color: var(--color-main2); }
.footer-contact-email a:hover { text-decoration: underline; }

.footer-links {
  flex: 0 0 calc(66.666% - 0.8rem);
  max-width: calc(66.666% - 0.8rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 4rem;
  font-size: 0.8125rem;
}

.nav-vert li { margin-bottom: 0.55rem; line-height: 1.4; }
.nav-vert li.nav-title { font-weight: 600; margin-bottom: 0.75rem; }
.nav-vert li.nav-title a { font-weight: 600; pointer-events: none; cursor: default; }
.nav-vert a { color: #333; font-weight: 300; transition: opacity 0.2s; }
.nav-vert a:hover { opacity: 0.55; }

.footer-divider { border: none; border-top: 1px solid #ccc; margin-top: 1.5rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-copyright p { font-size: 0.8125rem; font-weight: 300; color: #666; }

.footer-partner-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.partner-logo {
  max-width: 110px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .stages-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .dim-row { grid-template-columns: 160px 80px 1fr; }
  .dim-col--source { display: none; }
}

@media (max-width: 768px) {
  .sub-hero-title { font-size: 2.25rem; }
  .section-title { font-size: 1.875rem; }
  .cta-title { font-size: 2rem; }
  .benefits-grid { grid-template-columns: 1fr; gap: 2rem; }
  .formula-box { flex-direction: column; }
  .formula-plus, .formula-equals { padding: 0.25rem 0; font-size: 1rem; }
  .privacy-two-col { grid-template-columns: 1fr; }
  .footer-about, .footer-links { flex: 0 0 100%; max-width: 100%; }
  .footer-links { justify-content: flex-start; gap: 2rem; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .stages-grid { grid-template-columns: 1fr; }
  .badges-grid { grid-template-columns: 1fr 1fr; }
  .dim-row { grid-template-columns: 1fr 70px; }
  .dim-col--desc { display: none; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav-hor { gap: 1rem; flex-wrap: wrap; }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .btn-primary-large, .btn-secondary-large { width: 100%; text-align: center; }
  .step-item { gap: 1rem; padding: 1.25rem; }
}

/* =========================================================
   SCORING SCHEMA DIAGRAM
   ========================================================= */
.schema-diagram {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2.5rem 2rem 2rem;
  margin-bottom: 3rem;
  overflow-x: auto;
}

.schema-level {
  margin-bottom: 0;
}

.schema-level-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.75rem;
}

/* Rows */
.schema-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  justify-content: center;
}

.schema-row--3  { gap: 1rem; }
.schema-row--5  { gap: 0.75rem; }
.schema-row--4  { gap: 1rem; }
.schema-row--1  { justify-content: center; }
.schema-row--overall {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

/* Nodes */
.schema-node {
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  text-align: center;
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
}

.schema-node--grey {
  background: #f5f5f3;
  border-color: #ddd;
}

.schema-node--purple {
  background: #ece9ff;
  border-color: #c5bef5;
}

.schema-node--teal {
  background: #e8f5f0;
  border-color: #a8d8c8;
}

.schema-node--gold {
  background: #fdf3e0;
  border-color: #e8c97a;
  flex: 2;
  margin: 0 1rem;
}

.schema-node--silver    { background: #f5f5f5; border-color: #ccc; }
.schema-node--gold-badge{ background: #fdf3e0; border-color: #e8c97a; }
.schema-node--platinum  { background: #e8f0fb; border-color: #a8c0e8; }
.schema-node--diamond   { background: #ece9ff; border-color: #b0a8e8; }

.schema-node--wide {
  min-width: 280px;
  max-width: 380px;
  flex: 0 0 auto;
}

.schema-node--side {
  flex: 0 0 160px;
  max-width: 160px;
  font-size: 0.8125rem;
}

/* Node text */
.schema-node-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.schema-node--purple .schema-node-title { color: var(--color-purple); }
.schema-node--teal   .schema-node-title { color: #1a6b50; }
.schema-node--gold   .schema-node-title { color: #8a5e00; font-size: 1.0625rem; }
.schema-node--silver .schema-node-title { color: #555; }
.schema-node--gold-badge .schema-node-title { color: #8a5e00; }
.schema-node--platinum   .schema-node-title { color: #2A62A0; }
.schema-node--diamond    .schema-node-title { color: var(--color-purple); }

.schema-node-sub {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #666;
  line-height: 1.4;
}

.schema-node--purple .schema-node-sub { color: var(--color-purple); opacity: 0.8; }
.schema-node--gold   .schema-node-sub { color: #8a5e00; opacity: 0.85; }

.schema-node-pct {
  font-size: 1rem;
  font-weight: 700;
  color: #1a6b50;
  margin-top: 0.1rem;
}

.schema-node-ref {
  font-size: 0.75rem;
  font-weight: 300;
  color: #888;
}

.schema-node-range {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #555;
  margin-top: 0.1rem;
}
.schema-node--gold-badge .schema-node-range { color: #8a5e00; }
.schema-node--platinum   .schema-node-range { color: #2A62A0; }
.schema-node--diamond    .schema-node-range { color: var(--color-purple); }

/* Connectors (vertical lines with branches) */
.schema-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 2.5rem;
  margin: 0;
}

/* Simple vertical line for 3→1 and 5→1 and 1→5 */
.schema-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100%;
  background: #ccc;
}

/* Fan lines for 1→5 */
.schema-connector--1to5 {
  height: 3rem;
  overflow: visible;
}

.schema-connector--1to5::before { display: none; }

.schema-connector--1to5::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100%;
  background: #ccc;
}

/* Fan for 5→1 */
.schema-connector--5to1 {
  height: 3rem;
}
.schema-connector--5to1::before { display: none; }
.schema-connector--5to1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100%;
  background: #ccc;
}

/* 3→1 */
.schema-connector--3to1::before { display: none; }
.schema-connector--3to1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100%;
  background: #ccc;
}

/* 1→4 */
.schema-connector--1to4::before { display: none; }
.schema-connector--1to4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100%;
  background: #ccc;
}

/* SVG connector overlay for fan lines */
.schema-connector {
  overflow: visible;
}

/* Formula note at bottom */
.schema-formula-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #ccc;
}

.schema-formula-dash {
  font-size: 0.875rem;
  color: #bbb;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.schema-formula-text {
  font-size: 0.875rem;
  font-weight: 300;
  color: #555;
  line-height: 1.5;
}

.schema-footer-note {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 300;
  font-style: italic;
  color: #aaa;
  margin-top: 1.5rem;
}

/* SVG fan lines drawn via JS */
.schema-svg-connector {
  display: block;
  width: 100%;
  overflow: visible;
}

/* Responsive */
@media (max-width: 768px) {
  .schema-row--5 { flex-wrap: wrap; }
  .schema-row--5 .schema-node { flex: 0 0 calc(50% - 0.5rem); }
  .schema-row--overall { flex-direction: column; align-items: stretch; }
  .schema-node--side { flex: 1; max-width: none; }
  .schema-node--gold { margin: 0.5rem 0; flex: 1; }
  .schema-node--wide { min-width: unset; max-width: none; }
}

/* =========================================================
   SCHEMA2 – Redesigned scoring diagram
   ========================================================= */
.schema2 {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 2.5rem 2rem 2rem;
  margin: 2rem 0;
  overflow: hidden;
}

.s2-step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
}

.s2-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Rows */
.s2-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.s2-row--1  { justify-content: center; }
.s2-row--3  { }
.s2-row--5  { }
.s2-row--4  { }
.s2-row--overall {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* SVG connectors */
.s2-svg-wrap {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0;
}
.s2-svg {
  width: 100%;
  height: 56px;
  display: block;
}

/* Base card */
.s2-card {
  flex: 1;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  transition: box-shadow 0.2s;
}

/* Input cards (Level 1) */
.s2-card--input {
  background: #fff;
  border-color: #e0e0e0;
  text-align: center;
}
.s2-card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: #555;
}
.s2-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}
.s2-card-sub {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #777;
}
.s2-card-weight {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  background: #f0f0f0;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}

/* Scoring card (Level 2) */
.s2-card--scoring {
  text-align: center;
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  max-width: 380px;
  padding: 1.2rem 2rem;
}
.s2-scoring-range {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.s2-scoring-label {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
}

/* Index cards (Level 3) */
.s2-card--index {
  text-align: center;
  background: #fff;
  border-color: #e0d8c0;
  padding: 0.9rem 0.5rem;
}
.s2-index-pct {
  font-size: 1.375rem;
  font-weight: 800;
  color: #b07a00;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.s2-card--index .s2-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a1a;
}
.s2-card-ref {
  font-size: 0.6875rem;
  font-weight: 300;
  color: #aaa;
  margin-top: 0.2rem;
}

/* Context side cards (Level 4) */
.s2-card--context {
  flex: 0 0 200px;
  background: #f5f5f3;
  border-color: #e0e0e0;
  text-align: center;
}
.s2-context-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}
.s2-context-items {
  font-size: 0.75rem;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
}

/* Score centre card (Level 4) */
.s2-card--score {
  flex: 1;
  text-align: center;
  background: #fff8ec;
  border-color: #e8c97a;
  padding: 1.2rem;
}
.s2-score-value {
  font-size: 2rem;
  font-weight: 800;
  color: #b07a00;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.s2-score-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}
.s2-score-sub {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #888;
}

/* Badge cards (Level 5) */
.s2-card--badge {
  text-align: center;
  padding: 1.2rem 0.75rem;
}
.s2-badge-gem {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.s2-badge-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.s2-badge-range {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.s2-badge-pct {
  font-size: 0.75rem;
  font-weight: 300;
  opacity: 0.7;
}

.s2-badge--silver  { background: #f5f5f5; border-color: #c8c8c8; }
.s2-badge--silver  .s2-badge-gem  { color: #888; }
.s2-badge--silver  .s2-badge-name { color: #555; }
.s2-badge--silver  .s2-badge-range{ color: #555; }

.s2-badge--gold    { background: #fff8ec; border-color: #e8c97a; }
.s2-badge--gold    .s2-badge-gem  { color: #c8960c; }
.s2-badge--gold    .s2-badge-name { color: #8a5e00; }
.s2-badge--gold    .s2-badge-range{ color: #8a5e00; }

.s2-badge--platinum { background: #edf3fb; border-color: #a8c0e8; }
.s2-badge--platinum .s2-badge-gem  { color: #2A62A0; }
.s2-badge--platinum .s2-badge-name { color: #2A62A0; }
.s2-badge--platinum .s2-badge-range{ color: #2A62A0; }

.s2-badge--diamond  { background: #f0eeff; border-color: #b8b0e8; }
.s2-badge--diamond  .s2-badge-gem  { color: #5b4fcf; }
.s2-badge--diamond  .s2-badge-name { color: #5b4fcf; }
.s2-badge--diamond  .s2-badge-range{ color: #5b4fcf; }

/* Formula note */
.s2-formula {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1.2rem;
  background: #f7f7f5;
  border: 1px dashed #ccc;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #555;
}
.s2-formula-icon {
  font-size: 1rem;
  color: #888;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.s2-formula-text {
  font-weight: 300;
  line-height: 1.5;
}

.s2-footer-note {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 300;
  color: #aaa;
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 768px) {
  .s2-row--5 { flex-wrap: wrap; }
  .s2-row--5 .s2-card { flex: 0 0 calc(50% - 0.4rem); }
  .s2-row--overall { flex-direction: column; }
  .s2-card--context { flex: 1; }
}
