:root {
  --cep-accent: #2357d6;
  --cep-secondary: #0f766e;
  --cep-surface: #f6f8fb;
  --cep-text: #101828;
  --cep-muted: #667085;
  --cep-border: #d9e1ec;
  --cep-card: #ffffff;
  --cep-warning: #fff7e6;
  --cep-danger: #fff1f0;
  --cep-success: #edfdf7;
  --cep-shadow: 0 18px 55px rgba(16, 24, 40, 0.10);
  --cep-radius: 20px;
  --cep-radius-sm: 12px;
  --cep-max-width: 1180px;
  --cep-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cep-theme {
  margin: 0;
  font-family: var(--cep-font);
  color: var(--cep-text);
  background: var(--cep-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cep-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.screen-reader-text,
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #fff;
  color: var(--cep-text);
  border: 2px solid var(--cep-accent);
  border-radius: 10px;
}

.cep-container {
  width: min(calc(100% - 40px), var(--cep-max-width));
  margin-inline: auto;
}

.cep-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217,225,236,0.8);
}
.cep-site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cep-brand { display: flex; flex-direction: column; gap: 2px; min-width: 210px; }
.cep-brand a.custom-logo-link { display: block; line-height: 0; }
.cep-brand img { max-height: 54px; width: auto; }
.cep-brand__text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cep-text);
  letter-spacing: -0.02em;
}
.cep-brand__tagline { font-size: 0.78rem; color: var(--cep-muted); }

.cep-primary-nav { display: flex; align-items: center; }
.cep-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.cep-menu li { position: relative; }
.cep-menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  color: #344054;
  font-weight: 650;
  font-size: 0.94rem;
}
.cep-menu a:hover,
.cep-menu .current-menu-item > a {
  background: rgba(35,87,214,0.08);
  color: var(--cep-accent);
  text-decoration: none;
}
.cep-nav-toggle {
  display: none;
  border: 1px solid var(--cep-border);
  background: #fff;
  color: var(--cep-text);
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.cep-main { min-height: 60vh; }
.cep-hero,
.cep-page-hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(35,87,214,0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(15,118,110,0.16), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--cep-surface) 100%);
  border-bottom: 1px solid rgba(217,225,236,0.8);
}
.cep-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 82px 0;
}
.cep-page-hero__inner { padding: 52px 0 38px; }
.cep-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cep-secondary);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.cep-hero h1,
.cep-page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
  color: var(--cep-text);
}
.cep-page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.cep-hero__lead,
.cep-page-hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 1.18rem;
  color: #475467;
}
.cep-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cep-button,
button.cep-button,
input[type="submit"].cep-button,
.cex-button,
.cex-btn,
.cex-submit,
.cex-actions a,
.cex-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cep-button:hover,
.cex-button:hover,
.cex-btn:hover,
.cex-actions a:hover,
.cex-actions button:hover { transform: translateY(-1px); text-decoration: none; }
.cep-button--primary,
.cex-button-primary,
.cex-btn-primary,
.cex-submit,
.cex-actions .primary {
  color: #fff;
  background: var(--cep-accent);
  box-shadow: 0 12px 28px rgba(35,87,214,0.24);
}
.cep-button--secondary,
.cex-button-secondary,
.cex-btn-secondary {
  color: #fff;
  background: var(--cep-secondary);
  box-shadow: 0 12px 28px rgba(15,118,110,0.20);
}
.cep-button--ghost,
.cex-button-ghost,
.cex-btn-ghost {
  color: var(--cep-text);
  background: #fff;
  border-color: var(--cep-border);
}

.cep-trust-note,
.cex-trust-note,
.cex-warning,
.cex-notice,
.cex-info-box {
  margin-top: 24px;
  padding: 15px 17px;
  border-radius: var(--cep-radius-sm);
  border: 1px solid rgba(35,87,214,0.18);
  background: rgba(35,87,214,0.06);
  color: #344054;
}
.cep-hero-card {
  display: grid;
  gap: 14px;
}
.cep-metric-card,
.cep-info-card,
.cex-card,
.cex-entity-card,
.cex-review-card,
.cex-report-card,
.cex-dashboard-card,
.cex-metric-card,
.cex-company-reply,
.cex-locked-card {
  background: var(--cep-card);
  border: 1px solid rgba(217,225,236,0.95);
  border-radius: var(--cep-radius);
  box-shadow: 0 10px 28px rgba(16,24,40,0.06);
  padding: 22px;
}
.cep-metric-card span,
.cex-card-label,
.cex-metric-label {
  display: inline-block;
  color: var(--cep-secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.cep-metric-card strong,
.cex-metric-value {
  display: block;
  margin-top: 5px;
  color: var(--cep-text);
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.cep-metric-card p,
.cep-info-card p { color: var(--cep-muted); margin-bottom: 0; }

.cep-section { padding: 58px 0; }
.cep-section--surface { background: #fff; border-block: 1px solid rgba(217,225,236,0.8); }
.cep-section-heading { margin-bottom: 24px; max-width: 760px; }
.cep-section-heading h2,
.cep-info-card h2,
.cex-section-title,
.cex-card h2,
.cex-card h3 {
  margin: 0 0 12px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.cep-card-grid,
.cex-grid,
.cex-stats-grid,
.cex-dashboard-grid {
  display: grid;
  gap: 20px;
}
.cep-card-grid--3,
.cex-stats-grid,
.cex-dashboard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cep-shortcode-panel,
.cep-content-shell {
  background: #fff;
  border: 1px solid rgba(217,225,236,0.9);
  border-radius: calc(var(--cep-radius) + 6px);
  box-shadow: var(--cep-shadow);
  padding: clamp(22px, 4vw, 36px);
}
.cep-content { max-width: 980px; margin-inline: auto; }
.cep-content > *:first-child { margin-top: 0; }
.cep-content h2,
.cep-content h3 { letter-spacing: -0.035em; }

/* Candidate Experience Index plugin styling */
.cex-page,
.cex-wrapper,
.cex-form-wrap,
.cex-dashboard,
.cex-reports,
.cex-entity-profile,
.cex-rankings,
.cex-search {
  width: 100%;
}
.cex-hero,
.cex-page-header {
  padding: 28px;
  border-radius: var(--cep-radius);
  background: linear-gradient(135deg, rgba(35,87,214,0.09), rgba(15,118,110,0.08));
  border: 1px solid rgba(35,87,214,0.14);
  margin-bottom: 24px;
}
.cex-form,
.cex-submit-review-form,
.cex-claim-form,
.cex-privacy-form,
.cex-dsa-form,
.cex-billing-form,
form[class*="cex-"] {
  display: grid;
  gap: 16px;
}
.cex-form label,
form[class*="cex-"] label {
  font-weight: 750;
  color: #344054;
}
.cex-form input[type="text"],
.cex-form input[type="email"],
.cex-form input[type="url"],
.cex-form input[type="number"],
.cex-form select,
.cex-form textarea,
form[class*="cex-"] input[type="text"],
form[class*="cex-"] input[type="email"],
form[class*="cex-"] input[type="url"],
form[class*="cex-"] input[type="number"],
form[class*="cex-"] select,
form[class*="cex-"] textarea,
.cex-search input,
.cex-search select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--cep-text);
  font: inherit;
}
.cex-form textarea,
form[class*="cex-"] textarea { min-height: 130px; resize: vertical; }
.cex-form input:focus,
.cex-form textarea:focus,
.cex-form select:focus,
.cex-search input:focus,
.cex-search select:focus {
  outline: 3px solid rgba(35,87,214,0.18);
  border-color: var(--cep-accent);
}
.cex-field-help,
.cex-help,
.cex-muted,
.cex-small { color: var(--cep-muted); font-size: 0.92rem; }
.cex-review-card,
.cex-entity-card { margin-bottom: 16px; }
.cex-company-reply {
  margin-top: 14px;
  background: rgba(15,118,110,0.06);
  border-color: rgba(15,118,110,0.22);
}
.cex-locked,
.cex-locked-card,
.cex-paid-locked {
  background: linear-gradient(135deg, #fff, var(--cep-warning));
  border-color: #f4d58d;
}
.cex-status-published,
.cex-badge-success { background: var(--cep-success); color: #047857; }
.cex-status-pending,
.cex-badge-warning { background: var(--cep-warning); color: #92400e; }
.cex-status-removed,
.cex-badge-danger { background: var(--cep-danger); color: #b42318; }
.cex-badge,
.cex-status,
.cex-signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.cex-score,
.cex-stat-number {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.cex-report-teaser,
.cex-report-content,
.cex-legal-text { color: #475467; }

.cep-legal-links { display: flex; flex-direction: column; gap: 7px; }
.cep-site-footer {
  margin-top: 70px;
  background: #0b1220;
  color: rgba(255,255,255,0.78);
  padding: 52px 0 22px;
}
.cep-site-footer a { color: rgba(255,255,255,0.82); }
.cep-site-footer a:hover { color: #fff; }
.cep-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
.cep-footer-brand h2,
.cep-footer-col h3 { color: #fff; margin-top: 0; }
.cep-footer-col { display: flex; flex-direction: column; gap: 7px; }
.cep-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
}

.cep-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 44px; }
.cep-pagination { grid-column: 1 / -1; }

@media (max-width: 960px) {
  .cep-hero__grid,
  .cep-card-grid--3,
  .cex-stats-grid,
  .cex-dashboard-grid,
  .cep-footer-grid,
  .cep-archive-grid { grid-template-columns: 1fr; }
  .cep-primary-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: #fff;
    border: 1px solid var(--cep-border);
    border-radius: 18px;
    box-shadow: var(--cep-shadow);
    padding: 12px;
  }
  .cep-primary-nav.is-open { display: block; }
  .cep-menu { flex-direction: column; align-items: stretch; }
  .cep-menu a { border-radius: 12px; }
  .cep-nav-toggle { display: inline-flex; }
  .cep-footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .cep-container { width: min(calc(100% - 28px), var(--cep-max-width)); }
  .cep-site-header__inner { min-height: 68px; }
  .cep-hero__grid { padding: 48px 0; }
  .cep-section { padding: 38px 0; }
  .cep-actions { flex-direction: column; align-items: stretch; }
  .cep-button,
  .cex-button,
  .cex-btn,
  .cex-actions a,
  .cex-actions button { width: 100%; }
  .cep-shortcode-panel,
  .cep-content-shell { padding: 18px; border-radius: 18px; }
}
