:root {
  --navy: #2F3C7E;
  --navy-dark: #222A5C;
  --coral: #F96167;
  --gold: #C9A227;
  --slate: #5A5E7A;
  --light-bg: #F7F7FB;
  --card-bg: #FFFFFF;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-bg);
  color: #262A45;
}

h1, h2, h3, h4, .ri-serif {
  font-family: 'Merriweather', serif;
}

.ri-navbar {
  background: var(--navy-dark);
  padding-top: .75rem;
  padding-bottom: .75rem;
  overflow: visible;
}

.ri-brand {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
}
.ri-brand span { color: var(--coral); }
.ri-brand-logo {
  height: 34px;
  width: auto;
  max-width: none;
  display: block;
  vertical-align: middle;
}

.ri-navbar .nav-link {
  color: #D9DCF2 !important;
  font-weight: 500;
}
.ri-navbar .nav-link:hover { color: #fff !important; }

.ri-btn-primary {
  background: var(--coral);
  border: none;
  color: #fff !important;
  font-weight: 600;
}
.ri-btn-primary:hover { background: #e6484f; color: #fff; }

.ri-btn-outline {
  border: 1px solid #6F76B0;
  color: #D9DCF2 !important;
  background: transparent;
}
.ri-btn-outline:hover { background: rgba(255,255,255,0.08); }

.ri-hero {
  background: var(--navy-dark);
  color: #fff;
  border-radius: 1rem;
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.ri-hero .eyebrow {
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: .85rem;
  text-transform: uppercase;
}
.ri-hero h1 {
  font-weight: 900;
  font-size: 2.6rem;
}
.ri-hero p.lead { color: #D9DCF2; }

.ri-stat {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--coral);
}

.ri-card {
  background: var(--card-bg);
  border: 1px solid #E3E4EF;
  border-radius: .75rem;
  box-shadow: 0 4px 14px rgba(30,39,97,0.06);
  transition: box-shadow .15s ease, transform .15s ease;
}
.ri-card:hover { box-shadow: 0 8px 22px rgba(30,39,97,0.12); }

.ri-badge-domain {
  background: #EEF0FB;
  color: var(--navy);
  font-weight: 600;
  font-size: .75rem;
  padding: .3rem .6rem;
  border-radius: 2rem;
}

.ri-badge-status {
  font-weight: 600;
  font-size: .75rem;
  padding: .3rem .7rem;
  border-radius: 2rem;
  text-transform: capitalize;
}
.status-applied { background: #EEF0FB; color: var(--navy); }
.status-screened { background: #FFF3D6; color: #8a6d00; }
.status-shortlisted { background: #E1F7EA; color: #16794a; }
.status-rejected { background: #FDEBEC; color: #b0242a; }
.status-hired { background: var(--navy); color: #fff; }

.ri-score-ring {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  color: var(--navy);
}

.ri-section-title {
  font-weight: 900;
  color: var(--navy);
}

.ri-pill-nav .nav-link {
  border-radius: 2rem;
  color: var(--navy);
  font-weight: 600;
  margin-right: .4rem;
}
.ri-pill-nav .nav-link.active {
  background: var(--navy) !important;
  color: #fff !important;
}

a { text-decoration: none; }

.ri-footer {
  background: #fff;
  border-top: 1px solid #E3E4EF;
  color: var(--slate);
}
.ri-powered-by {
  border-top: 1px solid #EEEFF7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ri-powered-by-logo {
  height: 20px;
  width: auto;
  vertical-align: middle;
  opacity: .9;
}

/* Homepage sponsored ad — responsive 16:9-ish frame that scales to its
   container instead of overflowing on small screens. */
.ri-ad-section {
  border-top: 1px solid #E3E4EF;
  padding-top: 2.5rem;
}
.ri-ad-eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--slate);
}
.ri-ad-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 56.25%; /* 960:540 = 16:9 — padding-top trick works in every browser,
                           unlike aspect-ratio which older engines don't support */
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(34, 42, 92, 0.18);
}
.ri-ad-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-label { font-weight: 600; color: var(--navy); }

.ri-topic-chip {
  display: inline-block;
  background: #EEF0FB;
  color: var(--navy);
  border-radius: 2rem;
  padding: .25rem .7rem;
  font-size: .8rem;
  font-weight: 600;
  margin: 0 .3rem .3rem 0;
}
