:root {
  --candidate-ink: #163246;
  --candidate-copy: #4c6270;
  --candidate-line: #d2e2eb;
  --candidate-line-strong: #bfd6e2;
  --candidate-surface: rgba(255, 255, 255, 0.94);
  --candidate-primary: #0b5f86;
  --candidate-primary-deep: #093f5b;
  --candidate-primary-soft: #dff1fb;
  --candidate-primary-soft-strong: #c5e4f2;
  --candidate-shadow: 0 28px 70px -50px rgba(8, 38, 56, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.candidate-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(173, 224, 247, 0.35), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7fb 18%, #f4f8fb 100%);
  color: var(--candidate-ink);
  font-family: "Manrope", sans-serif;
}

.candidate-skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0d4764;
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.candidate-skip-link:focus {
  top: 12px;
}

.candidate-body a {
  color: inherit;
  text-decoration: none;
}

.candidate-body svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.candidate-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.candidate-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(251, 253, 255, 0.88);
  border-bottom: 1px solid rgba(219, 231, 238, 0.75);
  backdrop-filter: blur(18px);
}

.candidate-header .header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.candidate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.candidate-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d5f88 0%, #1183af 100%);
  color: #fff;
  box-shadow: 0 14px 28px -20px rgba(13, 95, 136, 0.9);
}

.candidate-brand-mark svg {
  width: 18px;
  height: 18px;
}

.candidate-brand-wordmark {
  color: var(--candidate-ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.candidate-header .main-nav a,
.candidate-header .nav-more-toggle,
.candidate-header .nav-toggle {
  color: var(--candidate-primary-deep);
}

.candidate-header .main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.candidate-header .main-nav a:hover,
.candidate-header .nav-more-toggle:hover {
  background: rgba(11, 95, 134, 0.1);
}

.candidate-header .main-nav a {
  padding: 10px 14px;
  color: var(--candidate-copy);
  font-size: 0.98rem;
  font-weight: 600;
}

.candidate-mobile-nav-link {
  display: none !important;
}

.candidate-header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(8, 63, 91, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, #083c56 0%, #0b5f86 100%);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: 0 20px 42px -28px rgba(8, 60, 86, 0.82);
}

.candidate-header-cta:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.candidate-hero {
  padding: 68px 0 38px;
}

.candidate-hero-grid,
.candidate-grid-header,
.candidate-card-grid,
.candidate-workflow-grid,
.candidate-browse-grid,
.candidate-story-grid,
.candidate-cta-shell,
.candidate-signal-row,
.candidate-panel-stats,
.candidate-quick-links,
.candidate-link-stack,
.candidate-link-grid,
.candidate-seo-blocks,
.candidate-scope-list {
  display: grid;
  gap: 16px;
}

.candidate-hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 42px;
  align-items: stretch;
}

.candidate-hero-copy {
  display: grid;
  align-content: space-between;
  gap: 16px;
  max-width: 720px;
  min-height: 100%;
}

.candidate-hero-intro {
  display: contents;
}

.candidate-eyebrow,
.candidate-section-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--candidate-primary-soft-strong);
  border-radius: 999px;
  background: var(--candidate-primary-soft);
  color: var(--candidate-primary-deep);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.candidate-section-label-light {
  border-color: rgba(196, 234, 249, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #d8f4ff;
}

.candidate-hero-copy h1,
.candidate-grid-header h2,
.candidate-story h2,
.candidate-cta h2,
.candidate-hero-panel h2,
.candidate-story-panel h3,
.candidate-footer-brand,
.candidate-stat-value,
.candidate-stat-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.candidate-hero-copy h1 {
  margin: 0;
  max-width: 13.4ch;
  font-size: clamp(3.05rem, 5.45vw, 5rem);
  line-height: 0.92;
}

.candidate-lead,
.candidate-grid-header p,
.candidate-tool-card p,
.candidate-feature-panel p,
.candidate-detail-card p,
.candidate-story-copy,
.candidate-seo-blocks p,
.candidate-scope-list p,
.candidate-trust-card p,
.candidate-browse-card p,
.candidate-cta p,
.candidate-footer-copy,
.candidate-stat-copy {
  color: var(--candidate-copy);
  line-height: 1.7;
}

.candidate-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 1.04rem;
}

.candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.candidate-proofline,
.candidate-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.candidate-proofline {
  margin-top: 16px;
}

.candidate-actions-right {
  justify-content: flex-end;
}

.candidate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.candidate-btn:hover {
  transform: translateY(-1px);
}

.candidate-btn-primary {
  background: linear-gradient(135deg, #083c56 0%, #0b5f86 100%);
  color: #fff;
  box-shadow: 0 22px 50px -28px rgba(8, 60, 86, 0.72);
}

.candidate-btn-secondary {
  border-color: var(--candidate-line-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--candidate-primary-deep);
}

.candidate-btn-light {
  border-color: rgba(8, 63, 91, 0.18);
  background: linear-gradient(135deg, #083c56 0%, #0b5f86 100%);
  color: #fff;
  box-shadow: 0 20px 46px -30px rgba(8, 60, 86, 0.75);
}

.candidate-btn-outline-light {
  border-color: rgba(214, 239, 248, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.candidate-header .candidate-header-cta,
.candidate-btn.candidate-btn-primary,
.candidate-btn.candidate-btn-primary:link,
.candidate-btn.candidate-btn-primary:visited,
.candidate-btn.candidate-btn-primary:hover,
.candidate-btn.candidate-btn-primary:active,
.candidate-cta .candidate-btn-light,
.candidate-cta .candidate-btn-outline-light {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.candidate-signal-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
  padding-top: 0;
}

.candidate-signal {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--candidate-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px -28px rgba(15, 58, 80, 0.42);
  color: #24485b;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.candidate-proofline span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(199, 219, 230, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--candidate-primary-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.candidate-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(212, 228, 237, 0.5);
  border-radius: 34px;
  background: linear-gradient(160deg, #09354b 0%, #0b5f86 54%, #1590bb 100%);
  color: #fff;
  box-shadow: 0 32px 90px -50px rgba(8, 31, 46, 0.9);
}

.candidate-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.candidate-panel-kicker,
.candidate-stat-label,
.candidate-feature-label,
.candidate-tag {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.candidate-panel-kicker {
  color: rgba(255, 255, 255, 0.7);
}

.candidate-hero-panel h2,
.candidate-story-panel h3 {
  margin: 12px 0 0;
  max-width: 11ch;
  font-size: 2.15rem;
  line-height: 1.04;
}

.candidate-panel-shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #b8eaff;
}

.candidate-panel-shield svg,
.candidate-tool-icon svg {
  width: 24px;
  height: 24px;
}

.candidate-quick-links a,
.candidate-link-stack a,
.candidate-link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.candidate-quick-links a {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(211, 238, 248, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  font-weight: 700;
}

.candidate-quick-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.candidate-panel-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.candidate-panel-stats article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--candidate-ink);
}

.candidate-panel-stats .candidate-stat-dark,
.candidate-story-panel {
  background: linear-gradient(180deg, #0b5a7d 0%, #08354b 100%);
  color: #fff;
}

.candidate-stat-label,
.candidate-feature-label,
.candidate-tag {
  color: var(--candidate-primary);
}

.candidate-stat-dark .candidate-stat-label {
  color: #93e4ff;
}

.candidate-stat-value,
.candidate-stat-title {
  margin: 10px 0 0;
  font-size: 2rem;
  line-height: 1;
}

.candidate-stat-title {
  font-size: 1.3rem;
  line-height: 1.18;
}

.candidate-stat-copy {
  margin: 10px 0 0;
}

.candidate-stat-dark .candidate-stat-copy,
.candidate-cta p,
.candidate-story-panel p,
.candidate-story-panel .candidate-panel-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.candidate-section {
  padding: 40px 0 0;
}

.candidate-workflow,
.candidate-story,
.candidate-browse,
.candidate-cta {
  padding-top: 64px;
}

.candidate-grid-header {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.85fr);
  align-items: end;
  margin-bottom: 28px;
}

.candidate-grid-header h2,
.candidate-story h2,
.candidate-cta h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.02;
}

.candidate-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.candidate-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.candidate-workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.candidate-browse-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidate-tool-card,
.candidate-detail-card,
.candidate-trust-card,
.candidate-browse-card,
.candidate-feature-panel,
.candidate-story-panel {
  border: 1px solid var(--candidate-line);
  border-radius: 28px;
  background: var(--candidate-surface);
  box-shadow: var(--candidate-shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.candidate-story-panel {
  border-color: rgba(119, 182, 211, 0.34);
  background: linear-gradient(180deg, #0b5a7d 0%, #08354b 100%);
  box-shadow: 0 34px 80px -54px rgba(7, 30, 45, 0.88);
}

.candidate-tool-card,
.candidate-detail-card,
.candidate-trust-card {
  padding: 24px;
}

.candidate-feature-panel,
.candidate-browse-card,
.candidate-story-panel {
  padding: 28px;
}

.candidate-tool-card:hover,
.candidate-detail-card:hover,
.candidate-trust-card:hover,
.candidate-browse-card:hover,
.candidate-feature-panel:hover {
  transform: translateY(-3px);
  border-color: #bdd8e6;
}

.candidate-chip-bar {
  margin-top: 22px;
  align-items: center;
}

.candidate-chip-label,
.candidate-chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.candidate-chip-label {
  background: #0d4764;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.candidate-chip-link {
  border: 1px solid var(--candidate-line-strong);
  background: rgba(255, 255, 255, 0.75);
  color: var(--candidate-primary-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.candidate-chip-link:hover {
  border-color: #9fc8da;
  background: #ebf6fb;
}

.candidate-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--candidate-primary-soft);
  color: var(--candidate-primary-deep);
}

.candidate-tool-card h3,
.candidate-feature-panel h3,
.candidate-detail-card h3,
.candidate-trust-card h3,
.candidate-browse-card h3,
.candidate-scope-list h4,
.candidate-seo-blocks h3 {
  margin: 18px 0 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.candidate-link-stack,
.candidate-link-grid,
.candidate-seo-blocks,
.candidate-scope-list {
  margin-top: 20px;
}

.candidate-link-stack a,
.candidate-link-grid a {
  padding: 14px 16px;
  border: 1px solid #e3edf3;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
  color: var(--candidate-ink);
  font-weight: 700;
}

.candidate-link-stack a::after,
.candidate-link-grid a::after {
  content: "->";
  color: var(--candidate-primary);
}

.candidate-seo-blocks article {
  padding: 18px;
  border: 1px solid var(--candidate-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 253, 0.96) 100%);
  box-shadow: 0 18px 40px -34px rgba(10, 49, 71, 0.22);
}

.candidate-seo-blocks h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.candidate-seo-blocks p {
  margin: 10px 0 0;
}

.candidate-seo-blocks a {
  color: var(--candidate-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.candidate-story-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  align-items: start;
}

.candidate-scope-list article {
  padding: 16px 18px;
  border: 1px solid rgba(200, 234, 247, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.candidate-cta {
  padding-bottom: 88px;
}

.candidate-cta-shell {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, #083c56 0%, #0b5f86 50%, #1489b4 100%);
  color: #fff;
  box-shadow: 0 34px 90px -54px rgba(10, 49, 71, 0.9);
}

.candidate-footer {
  padding: 0 0 54px;
  border-top: 0;
  background: transparent;
}

.candidate-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 0;
  border-top: 1px solid var(--candidate-line);
}

.candidate-footer-brand {
  margin: 0;
  font-size: 1.1rem;
}

.candidate-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.candidate-footer-links a {
  color: var(--candidate-primary-deep);
  font-weight: 700;
}

.candidate-body a:focus-visible,
.candidate-btn:focus-visible,
.candidate-header-cta:focus-visible {
  outline: 3px solid #83cbea;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .candidate-card-grid-four,
  .candidate-card-grid-three,
  .candidate-workflow-grid,
  .candidate-browse-grid,
  .candidate-hero-grid,
  .candidate-story-grid,
  .candidate-cta-shell {
    grid-template-columns: 1fr;
  }

  .candidate-actions-right {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .candidate-shell {
    width: min(100% - 28px, 1180px);
  }

  .candidate-header {
    padding: 14px 0;
  }

  .candidate-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
  }

  .candidate-hero {
    padding-top: 40px;
  }

  .candidate-signal-row,
  .candidate-panel-stats,
  .candidate-grid-header,
  .candidate-card-grid-four,
  .candidate-card-grid-three,
  .candidate-workflow-grid,
  .candidate-browse-grid {
    grid-template-columns: 1fr;
  }

  .candidate-chip-bar {
    align-items: flex-start;
  }

  .candidate-header-cta {
    display: none;
  }

  .candidate-header .main-nav {
    width: 100%;
    justify-content: stretch;
  }

  .candidate-header .main-nav a {
    font-size: 0.95rem;
  }

  .candidate-mobile-nav-link {
    display: inline-block !important;
  }

  .candidate-footer-shell {
    display: grid;
    text-align: left;
  }
}
