/* ===== Base / layout ===== */
.rfs{ display:block; }

.rfs > section:not(.rfs-ai-section){
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.rfs > section{ margin-bottom: 48px; }
.rfs > section:last-of-type{ margin-bottom: 0; }

.rfs .section__title .hl{ color: var(--accent-2); }

/* ===== Hero ===== */
.rfs-hero__inner{ align-items:start; }
.rfs-hero__col{ min-width:0; }

/* ===== Learning tracks + training formats ===== */
.rfs-tracks{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.rfs-track{
  background: var(--bg-card);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding:24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.rfs-track:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); border-color:var(--text-faint); }
.rfs-track h3{ font-size:18px; margin-bottom:14px; }
.rfs-track ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.rfs-track li{
  position:relative;
  padding-left:22px;
  font-size:14.5px;
  color: var(--text-dim);
}
.rfs-track li::before{
  content:"›";
  position:absolute; left:4px; top:0;
  color: var(--accent-2);
  font-weight:700;
}
.rfs-track li strong{ font-family:var(--font-display); font-weight:600; color:var(--text); }

/* ===== Projects ===== */
.rfs-projects{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.rfs-project{
  background: var(--bg-card);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rfs-project:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card), 0 18px 34px -22px rgba(88,80,236,0.28); }
.rfs-project__mock{ background: var(--dark-bg); padding:14px; }
.rfs-project__mock svg{ width:100%; height:110px; display:block; }
.rfs-project__mock rect{ fill: var(--accent-light); }
.rfs-project__row-bg{ fill: var(--dark-border); }
.rfs-project__ring{ fill:none; stroke:var(--dark-border); stroke-width:10; }
.rfs-project__ring--fg{ stroke:var(--success-light); stroke-dasharray:180 283; stroke-linecap:round; }
.rfs-project__line{ fill:none; stroke:var(--success-light); stroke-width:2.5; }
.rfs-project__area{ fill:rgba(74,222,154,.12); stroke:none; }
.rfs-project__body{ padding:20px; }
.rfs-project__body h3{ font-size:18px; margin-bottom:10px; }
.rfs-project__row{ font-size:13.5px; margin:0 0 8px; }

/* ===== Curriculum ===== */
.rfs-phase-num{
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-weight:700;
  margin-right:8px;
}
.rfs-curriculum__foot{ margin-top:26px; }

/* ===== Certificate ===== */
.rfs-cert{ display:grid; grid-template-columns:1fr 1.15fr; gap:32px; align-items:center; }
.rfs-cert__doc{
  background: var(--dark-bg);
  border:1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-dark);
}
.rfs-cert__doc img{ display:block; width:100%; height:auto; }
.rfs-cert__points{ display:flex; flex-direction:column; gap:14px; counter-reset:cert; list-style:none; padding:0; margin:0; }
.rfs-cert__points li{
  counter-increment:cert;
  position:relative;
  padding-left:38px;
  font-size:14.5px;
  color: var(--text-dim);
}
.rfs-cert__points li::before{
  content:counter(cert);
  position:absolute; left:0; top:0;
  width:26px; height:26px;
  border-radius:50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family:var(--font-mono); font-weight:700; font-size:12.5px;
  display:flex; align-items:center; justify-content:center;
}
.rfs-cert__points li span{ display:block; font-family:var(--font-display); font-weight:600; color:var(--text); font-size:15px; }

/* ===== Support ===== */
.rfs-support{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }

/* ===== Alumni + snapshot stats ===== */
.rfs-alumni{ display:flex; flex-direction:column; gap:26px; }
.rfs-snapshot{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background: var(--border);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:hidden;
}
.rfs-stat{
  background: var(--bg-card);
  padding:26px 18px;
  text-align:center;
  display:flex; flex-direction:column; gap:6px;
}
.rfs-stat__value{ font-family:var(--font-display); font-weight:700; font-size:24px; color:var(--accent-2); }
.rfs-stat__label{ font-family:var(--font-mono); font-size:12px; color:var(--text-faint); }

/* ===== Placement ===== */
.rfs-placement{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.rfs-placement__item{
  background: var(--bg-card);
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  padding:22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.rfs-placement__item:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); border-color:var(--text-faint); }
.rfs-placement__item h3{ font-size:16.5px; margin-bottom:8px; }
.rfs-placement__item p{ font-size:14px; margin:0; }

/* ===== Comparison table ===== */
.rfs-compare{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.rfs-compare__table{ width:100%; min-width:620px; border-collapse:collapse; text-align:left; }
.rfs-compare__table th,
.rfs-compare__table td{
  padding:14px 18px;
  font-size:14.5px;
  color: var(--text-dim);
  border-bottom:1px solid var(--border-soft);
  vertical-align:top;
}
.rfs-compare__table thead th{
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size:12.5px;
  color: var(--text-dim);
}
.rfs-compare__table tbody th{ font-family:var(--font-display); font-weight:600; color:var(--text); }
.rfs-compare__table thead th:last-child{ background:var(--accent-soft); color:var(--accent-2); }
.rfs-compare__table td:last-child{ background:var(--accent-soft); color:var(--text); font-weight:600; }
.rfs-compare__table tbody tr:last-child th,
.rfs-compare__table tbody tr:last-child td{ border-bottom:0; }

/* ===== Pricing / FAQ ===== */
.rfs-enroll{ display:flex; justify-content:center; }
.rfs-enroll .price-card{ max-width:420px; width:100%; }
.rfs-enroll__ctas{ display:flex; flex-direction:column; gap:10px; }
.rfs-faq{ max-width:780px; }

/* ===== Final CTA banner text ===== */
.cta-banner__inner{ text-align:center; }
.rfs-cta__text{
  color: var(--dark-text-dim);
  max-width: 100ch;
  margin: 0 auto 28px;
  text-align: center;
  text-wrap: balance;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .rfs-projects{ grid-template-columns:repeat(2,1fr); }
  .rfs-support{ grid-template-columns:repeat(2,1fr); }
  .rfs-snapshot{ grid-template-columns:repeat(2,1fr); }
  .rfs-cert{ grid-template-columns:1fr; }
}

@media (max-width: 900px){
  .rfs-cta__text{ max-width:100%; font-size:15px; }
}

@media (max-width: 720px){
  .rfs > section{ margin-bottom:28px; }
  .rfs-projects{ grid-template-columns:1fr; }
  .rfs-support{ grid-template-columns:1fr; }
  .rfs-tracks{ grid-template-columns:1fr; }
  .rfs-placement{ grid-template-columns:1fr; }
  .rfs-compare__table th,
  .rfs-compare__table td{ padding:12px 14px; font-size:13.5px; }
}