/*
  REVALYTICS — DEPARTMENTS / BY ROLE
  Page-specific styles. Loaded after footer.css.
*/

/* ─── Page wrapper ───────────────────────────────── */
.page {
  max-width: 1920px;
  margin: 0 auto;
}

/* ─── Section scaffold ───────────────────────────── */
.section {
  margin: 25px 30px;
  background: #fff;
  border-radius: 25px;
  box-shadow: var(--rev-shadow-card);
  overflow: hidden;
}

.section-pad {
  padding: clamp(40px, 6vw, 90px) clamp(28px, 5vw, 73px);
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  margin: 90px 30px 0;
  border-radius: 25px;
  overflow: hidden;
  background-color: var(--rev-navy-900);
  background-image: var(--rev-hero-gradient);
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 0;
  padding: clamp(16px, 2vw, 28px) clamp(32px, 6vw, 80px) clamp(16px, 2vw, 28px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../images/hero-section-backgroud-blue-gradient.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4, 18, 45, 0.82) 0%, rgba(4, 18, 45, 0.68) 35%, rgba(4, 18, 45, 0.35) 65%, rgba(4, 18, 45, 0.55) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 18, 45, 0.35) 0%, transparent 25%, transparent 75%, rgba(4, 18, 45, 0.25) 100%);
  z-index: 2;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rev-blue-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 16px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-pos);
  animation: wire-pulse 1.4s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 10px 0 28px;
  max-width: 850px;
}

.hero-title em {
  font-style: italic;
  color: var(--rev-blue-300);
  white-space: nowrap;
}

.hero-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin: 0;
}

.hero-lede em {
  font-style: italic;
  color: #fff;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 40px;
}

.hero-stat-card {
  background: rgba(4, 18, 45, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 28px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 5;
}

.hero-stat-card .sc-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-blue-300);
  margin: 0 0 20px;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-row:first-of-type { padding-top: 0; }

.hero-stat-num {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  min-width: 44px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.35;
}

/* ─── Section headers ────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rev-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.sec-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}

.sec-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--rev-text);
  margin: 20px 0 0;
}

.sec-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue);
}

.sec-side {
  font-size: 18px;
  line-height: 1.45;
  color: var(--rev-text);
  font-weight: 500;
}

.sec-body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--rev-text);
  max-width: 720px;
}

.sec-body + .sec-body { margin-top: 16px; }

.sec-body strong {
  font-weight: 700;
  color: var(--rev-text);
}

/* ─── Role cards ─────────────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rev-navy-900);
  border-radius: 20px;
  overflow: hidden;
}

.role-card {
  background: #fff;
  padding: clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--rev-text);
  display: flex;
  flex-direction: column;
  transition: background var(--rev-dur), color var(--rev-dur);
}

.role-card:hover {
  background: var(--rev-navy-900);
  color: #fff;
}

.role-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.role-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-blue);
  transition: color var(--rev-dur);
}

.role-card:hover .role-tag { color: var(--rev-blue-300); }

.role-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-text-muted);
  transition: color var(--rev-dur);
}

.role-card:hover .role-num { color: rgba(255, 255, 255, 0.35); }

.role-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--rev-text);
  margin-bottom: 14px;
  transition: color var(--rev-dur);
}

.role-card:hover .role-title { color: #fff; }

.role-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue);
  transition: color var(--rev-dur);
}

.role-card:hover .role-title em { color: var(--rev-blue-300); }

.role-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--rev-text);
  margin-bottom: 24px;
  flex: 1;
  transition: color var(--rev-dur);
  /* max-width: 600px; */
}

.role-card:hover .role-desc { color: rgba(255, 255, 255, 0.6); }

.role-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--rev-border);
  border-bottom: 1px solid var(--rev-border);
  margin-bottom: 20px;
  transition: border-color var(--rev-dur);
}

.role-card:hover .role-meta {
  border-top-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.role-meta-item .meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-text-muted);
  margin-bottom: 4px;
  transition: color var(--rev-dur);
}

.role-card:hover .meta-label { color: rgba(255, 255, 255, 0.35); }

.role-meta-item .meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--rev-text);
  transition: color var(--rev-dur);
}

.role-card:hover .meta-val { color: #fff; }

.role-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rev-blue);
  padding-top: 16px;
  border-top: 1px solid var(--rev-border);
  transition: color var(--rev-dur), border-color var(--rev-dur);
}

.role-card:hover .role-cta {
  color: var(--rev-blue-300);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.role-cta svg { transition: transform 0.2s ease; }
.role-card:hover .role-cta svg { transform: translateX(4px); }

/* ─── Revenue cycle (dark) ───────────────────────── */
.cycle-section {
  margin: 25px 30px;
  background: var(--rev-navy-900);
  color: #fff;
  border-radius: 25px;
  padding: clamp(50px, 6vw, 90px) clamp(28px, 5vw, 73px);
  box-shadow: var(--rev-shadow-card);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: start;
}

.cycle-section::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(75, 133, 234, 0.12);
  filter: blur(60px);
  pointer-events: none;
}

.cycle-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rev-blue-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.cycle-title {
  margin: 24px 0 32px;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.cycle-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue-500);
}

.cycle-body p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
  max-width: 600px;
}

.cycle-body p em {
  color: #fff;
  font-style: italic;
  font-weight: 500;
}

.cycle-timeline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cycle-timeline .tl-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rev-blue-300);
  margin-bottom: 24px;
}

.tl-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-row:last-child { border-bottom: none; padding-bottom: 0; }
.tl-row:first-of-type { padding-top: 0; }

.tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rev-blue-500);
  flex-shrink: 0;
  margin-top: 6px;
}

.tl-stage {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-blue-300);
  margin-bottom: 4px;
}

.tl-name {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.tl-who {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.tl-who span { color: rgba(255, 255, 255, 0.85); }

.tl-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Find Your Fit ──────────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rev-navy-900);
  border-radius: 20px;
  overflow: hidden;
}

.fit-card {
  background: #fff;
  padding: clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--rev-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--rev-dur), color var(--rev-dur);
}

.fit-card:hover {
  background: var(--rev-navy-900);
  color: #fff;
}

.fit-card .fc-prompt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rev-text-muted);
  transition: color var(--rev-dur);
}

.fit-card:hover .fc-prompt {
  color: rgba(255, 255, 255, 0.35);
}

.fit-card .fc-q {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--rev-text);
  letter-spacing: -0.01em;
  transition: color var(--rev-dur);
}

.fit-card:hover .fc-q {
  color: #fff;
}

.fit-card .fc-ans {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--rev-text-light);
  margin-top: 4px;
  transition: color var(--rev-dur);
}

.fit-card:hover .fc-ans {
  color: rgba(255, 255, 255, 0.6);
}

.fit-card .fc-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--rev-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color var(--rev-dur);
}

.fit-card:hover .fc-link {
  color: var(--rev-blue-300);
}

.fit-card .fc-link svg path {
  transition: stroke var(--rev-dur);
}

.fit-card:hover .fc-link svg path {
  stroke: var(--rev-blue-300);
}

/* ─── FAQ ────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--rev-border);
  padding: 0;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.faq-btn-text {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  color: var(--rev-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.faq-plus {
  font-size: 22px;
  font-weight: 300;
  color: var(--rev-text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-answer {
  font-size: 16px;
  line-height: 1.6;
  color: var(--rev-text);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ─── Dept CTA (light card) ──────────────────────── */
.dept-cta-card-rev {
  margin: 25px 30px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 24px rgba(4, 18, 45, 0.08);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 60px);
}

.dept-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.dept-cta-left { align-self: start; }

.cta-eyebrow-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rev-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}


.dept-cta-h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--rev-navy-900);
  margin: 0 0 20px;
}

.dept-cta-h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rev-blue);
}

.dept-cta-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--rev-text);
  margin: 0 0 24px;
  max-width: 480px;
}

.dept-cta-right {
  background: linear-gradient(135deg, #0056EB 0%, #0041b8 100%);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 86, 235, 0.25);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.dept-cta-glow {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(75, 133, 234, 0.4);
  filter: blur(40px);
  pointer-events: none;
}

.dept-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
}

.dept-cta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b85ea;
  box-shadow: 0 0 0 4px rgba(75, 133, 234, 0.3);
  animation: wire-pulse 1.6s ease-in-out infinite;
  display: inline-block;
}

.dept-cta-right h3 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
}

.dept-cta-right > p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 24px;
  position: relative;
}

.dept-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.dept-cta-book-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--rev-navy-900);
  font-size: 17px;
  font-weight: 600;
  height: 60px;
  padding: 0 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.dept-cta-book-btn:hover { background: #f0f5ff; }

.dept-cta-fine {
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin: 14px 0 0;
  position: relative;
  letter-spacing: 0.01em;
}

/* ─── Scoreboard widget ──────────────────────────── */
#scoreboard {
  position: fixed;
  bottom: 24px;
  right: 100px;
  width: 340px;
  background: var(--rev-blue);
  color: #fff;
  font-size: 14px;
  z-index: 9000;
  box-shadow: 0 8px 40px rgba(4, 18, 45, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#scoreboard.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

#scoreboard.min #sb-body { display: none; }

#sb-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--rev-navy-900);
}

#sb-header {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  cursor: pointer;
  user-select: none;
}

#sb-toggle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.25s;
}

#sb-toggle svg {
  transform: rotate(0deg);
  transition: transform 0.25s;
}

#sb-header[aria-expanded="true"] #sb-toggle svg { transform: rotate(180deg); }

.sb-section-label {
  font-family: var(--rev-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

.sb-big {
  font-size: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.sb-delta {
  font-size: 10px;
  margin-left: 6px;
}

.sb-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.sb-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.sb-row span:last-child {
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.sb-row span:last-child.pos { color: var(--rev-pos); }

.sb-demo-btn {
  display: block;
  text-align: center;
  background: var(--rev-blue);
  color: #fff;
  font-family: var(--rev-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  transition: opacity 0.2s;
  border-radius: 99px;
}

.sb-demo-btn:hover { opacity: 0.85; }

.sb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rev-pos);
  animation: live-glow 1.4s infinite;
  flex-shrink: 0;
}

@keyframes live-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92, 151, 103, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(92, 151, 103, 0); }
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .cycle-section { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .dept-cta-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .roles-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 720px) {
  .hero { margin: 16px 12px; padding: 40px 24px 60px; border-radius: 20px; }
  .cycle-section { margin: 48px 12px; border-radius: 20px; }
}

@media (max-width: 640px) {
  html, body { max-width: 100%; overflow-x: hidden; }

  .hero,
  .section,
  .cycle-section,
  .dept-cta-card-rev {
    margin-left: 12px !important;
    margin-right: 12px !important;
    border-radius: 0 !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero {
    margin-top: 82px !important;
    padding-top: 40px !important;
    padding-bottom: 32px !important;
  }

  .hero-stat-card {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: left !important;
    border-radius: 20px !important;
  }

  .section,
  .cycle-section,
  .dept-cta-card-rev {
    margin-top: 12px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .section-pad { padding-left: 0 !important; padding-right: 0 !important; }

  .hero-title {
    font-size: 36px !important;
    line-height: 1.1 !important;
    margin-top: 16px !important;
    text-align: center !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 0 !important;
    gap: 40px !important;
  }

  .hero-eyebrow { justify-content: center !important; width: 100% !important; }
  .hero-lede { margin-top: 20px !important; font-size: 16px !important; }
  .hero-actions { flex-wrap: nowrap !important; justify-content: center !important; width: 100% !important; gap: 12px !important; }

  .roles-grid,
  .fit-grid {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    border-radius: 0 !important;
  }

  .role-card,
  .fit-card {
    border-radius: 0 !important;
    padding: 32px 24px !important;
  }

  .cycle-timeline {
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 24px auto 0 !important;
  }

  .dept-cta-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  .site-footer { margin-top: 12px !important; }
}

@media (max-width: 600px) {
  #scoreboard {
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -4px 30px rgba(4, 18, 45, 0.5) !important;
  }

  #sb-body {
    max-width: 460px;
    margin: 0 auto;
    padding: 20px !important;
  }

  #sb-header {
    max-width: 460px;
    margin: 0 auto;
    width: 100% !important;
  }
}
