:root {
  --ink: #13201d;
  --muted: #5f6f69;
  --line: #d9e2dc;
  --paper: #f7faf7;
  --white: #ffffff;
  --teal: #0f6b62;
  --teal-dark: #0a4d47;
  --coral: #d86f45;
  --gold: #caa24a;
  --blue: #315f9d;
  --shadow: 0 20px 55px rgba(19, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(14, 31, 29, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.main-nav,
.site-footer nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.main-nav a,
.site-footer nav a {
  color: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.header-cta {
  justify-self: end;
  padding: 10px 15px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  padding: 138px clamp(20px, 5vw, 72px) 64px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 28, 25, 0.92) 0%, rgba(9, 28, 25, 0.72) 48%, rgba(9, 28, 25, 0.28) 100%),
    linear-gradient(180deg, rgba(9, 28, 25, 0.2), rgba(9, 28, 25, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(3rem, 6.4vw, 6.7rem);
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.hero .button.primary {
  background: var(--coral);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 670px;
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

section:not(.hero) {
  padding: 78px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.benchmark-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
  background: var(--white);
}

.benchmark-tool,
.result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.benchmark-tool {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.benchmark-tool label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.benchmark-tool label span {
  color: var(--muted);
  font-size: 0.84rem;
}

select,
input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.benchmark-tool .button {
  align-self: end;
}

.result-panel {
  grid-column: 2;
  padding: 24px;
}

.result-panel h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.salary-band {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.salary-meter {
  position: relative;
  height: 12px;
  overflow: hidden;
  background: #dfe8e3;
  border-radius: 99px;
}

.salary-meter span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--position, 50%);
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.role-section,
.trust-section {
  background: var(--paper);
}

.role-grid,
.method-list,
.insight-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.role-grid article,
.method-list div,
.feature-article {
  min-height: 190px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.role-grid h3,
.method-list h3,
.feature-article h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.role-grid p,
.method-list p,
.feature-article p,
.result-panel p,
.faq-section p,
.site-footer p {
  color: var(--muted);
}

.insights-section {
  background: #eaf3ef;
}

.feature-article {
  min-height: 250px;
}

.feature-article a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 900;
}

.method-list span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.faq-section {
  background: var(--white);
}

details {
  max-width: 900px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  font-size: 1.12rem;
  font-weight: 900;
  cursor: pointer;
}

.cta-section {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  background: var(--teal-dark);
}

.cta-section .eyebrow {
  color: #ffb18d;
}

.cta-section .button.primary {
  flex: 0 0 auto;
  background: var(--coral);
}

.site-footer {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #13201d;
}

.site-footer p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .benchmark-band {
    grid-template-columns: 1fr;
  }

  .result-panel {
    grid-column: auto;
  }

  .role-grid,
  .method-list,
  .insight-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 88vh;
    padding: 108px 18px 42px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .hero-stats,
  .benchmark-tool,
  .role-grid,
  .method-list,
  .insight-layout {
    grid-template-columns: 1fr;
  }

  section:not(.hero) {
    padding: 56px 18px;
  }

  .cta-section,
  .site-footer {
    display: grid;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
