:root {
  --rh-primary: #2f6f57;
  --rh-primary-dark: #245742;
  --rh-secondary: #f4efe6;
  --rh-accent: #dca94b;
  --rh-text: #21302a;
  --rh-muted: #6b7b73;
  --rh-border: #dfe7e2;
  --rh-surface: #fcfcfa;
  --rh-soft: #f7f5f0;
  --rh-danger: #b42318;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(33, 48, 42, 0.08);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rh-primary);
}

.btn-primary {
  background-color: var(--rh-primary);
  border-color: var(--rh-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--rh-primary-dark);
  border-color: var(--rh-primary-dark);
}

.btn-outline-primary {
  color: var(--rh-primary);
  border-color: var(--rh-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--rh-primary);
  border-color: var(--rh-primary);
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(220, 169, 75, 0.16), transparent 22%),
    linear-gradient(180deg, #f9f5ee 0%, #fcfcfa 100%);
  padding: 5.5rem 0 2.75rem;
  border-bottom: 1px solid rgba(33, 48, 42, 0.06);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-hero p {
  color: var(--rh-muted);
  max-width: 46rem;
  font-size: 1.08rem;
}

.hero-badge,
.step-badge,
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-badge,
.step-badge {
  background: rgba(47, 111, 87, 0.08);
  color: var(--rh-primary);
}

.info-pill {
  background: var(--rh-soft);
  color: var(--rh-muted);
}

.section-eyebrow {
  color: var(--rh-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.form-shell,
.sidebar-card,
.section-card,
.success-card {
  background: #fff;
  border: 1px solid var(--rh-border);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2rem rgba(33, 48, 42, 0.05);
}

.form-shell,
.sidebar-card,
.success-card {
  padding: 1.5rem;
}

.section-card {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.section-card:last-child {
  margin-bottom: 0;
}

.section-head {
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rh-border);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.section-copy {
  color: var(--rh-muted);
  margin-bottom: 0;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
  border-color: var(--rh-border);
}

.form-control,
.form-select,
textarea.form-control {
  min-height: 3rem;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
}

textarea.form-control {
  min-height: 7.5rem;
  resize: vertical;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(47, 111, 87, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(47, 111, 87, 0.12);
}

.form-text {
  color: var(--rh-muted);
}

.required {
  color: var(--rh-danger);
}

.step-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-number {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(47, 111, 87, 0.1);
  color: var(--rh-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.step-item p,
.sidebar-copy,
.check-list li {
  color: var(--rh-muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rh-primary);
  font-weight: 700;
}

.sticky-sidebar {
  position: sticky;
  top: 5.5rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--rh-border);
}

.security-note {
  color: var(--rh-muted);
  font-size: 0.95rem;
}

footer {
  background: #1f2c27;
  color: rgba(255, 255, 255, 0.85);
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .sticky-sidebar {
    position: static;
  }
}
