:root {
  --ink: #132f54;
  --muted: #5b6762;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --line: #ddd8ce;
  --accent: #edc22e;
  --accent-dark: #b68b18;
  --green: #1f6b58;
  --blue: #1f3d68;
  --shadow: 0 20px 55px rgba(16, 38, 32, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(247, 243, 236, .92);
  border-bottom: 1px solid rgba(221, 216, 206, .7);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.panel-top,
.metric-grid,
.contact-lines {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: min(292px, 46vw);
  height: auto;
}

.site-nav {
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #ece6da;
  color: var(--ink);
}

.nav-cta {
  color: #fff !important;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(24px, 4.8vw, 60px) clamp(18px, 5vw, 64px) clamp(34px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(31, 61, 104, .08), transparent 46%),
    radial-gradient(circle at 86% 12%, rgba(237, 194, 46, .12), transparent 32%),
    var(--paper);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--accent-dark);
  max-width: 820px;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.25;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-text,
.section-heading p,
.contact-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--accent);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(31, 61, 104, .24);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--accent);
}

.hero-panel {
  width: min(1120px, 100%);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .72)),
    linear-gradient(45deg, rgba(49, 79, 114, .16), rgba(183, 135, 68, .18));
  box-shadow: var(--shadow);
}

.panel-top {
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.panel-top strong {
  color: var(--green);
}

.score-card {
  margin: 0 0 22px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
}

.score {
  display: block;
  max-width: 1080px;
  margin-bottom: 12px;
  font-size: clamp(27px, 3.3vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  text-align: justify;
  text-wrap: balance;
}

.score-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(237, 194, 46, .72);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 3px 0 0 var(--blue);
}

.metric-grid span,
.benefit-list p,
.site-footer {
  color: var(--muted);
}

.metric-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
}

.metric-grid strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.24;
}

.section {
  padding: clamp(46px, 6vw, 78px) clamp(18px, 5vw, 64px);
}

.status-section {
  display: flex;
  justify-content: center;
  padding: 0 clamp(18px, 5vw, 64px) clamp(38px, 5vw, 62px);
  background: var(--paper);
}

.problem-section {
  display: block;
  padding: clamp(40px, 5.4vw, 68px) clamp(18px, 5vw, 64px) clamp(34px, 4.8vw, 56px);
  background: #fff;
}

.problem-copy {
  max-width: 1120px;
}

.problem-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.problem-highlight {
  display: block;
  max-width: 1120px;
  margin-top: 28px;
  color: var(--blue);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 950;
  line-height: 1.02;
  text-align: justify;
  text-wrap: balance;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.problem-list p {
  margin: 0;
  padding: 20px 22px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  color: var(--ink);
  background: #faf8f3;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.services-section {
  background: #fff;
}

.service-stack {
  display: grid;
  gap: 22px;
}

.service-detail {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(19, 47, 84, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(19, 47, 84, .07);
}

.service-detail summary {
  position: relative;
  display: grid;
  gap: 8px;
  padding-right: 54px;
  cursor: pointer;
  list-style: none;
}

.service-detail summary::-webkit-details-marker {
  display: none;
}

.service-detail summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(19, 47, 84, .2);
  border-radius: 8px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  transform: translateY(-50%);
}

.service-detail[open] summary::after {
  content: "-";
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(237, 194, 46, .16);
}

.service-detail summary strong {
  color: var(--ink);
  font-size: clamp(29px, 3.2vw, 44px);
  line-height: 1.08;
}

.service-detail summary small {
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
}

.service-body {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(19, 47, 84, .12);
}

.service-detail-featured {
  color: #fff;
  margin: clamp(14px, 2.4vw, 28px) 0;
  padding: clamp(34px, 5.6vw, 68px);
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--blue), var(--ink));
  box-shadow: 0 26px 70px rgba(19, 47, 84, .22);
}

.service-kicker {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-detail-featured .service-kicker,
.service-detail-featured h3,
.service-detail-featured h4 {
  color: var(--accent);
}

.service-detail-featured .service-kicker {
  font-size: clamp(16px, 1.8vw, 24px);
}

.service-detail-featured h4 {
  color: var(--accent);
  font-size: 20px;
}

.service-detail h3 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 48px);
}

.service-detail h4 {
  margin: 24px 0 10px;
  color: var(--blue);
  font-size: 17px;
}

.service-detail p,
.service-detail li {
  color: var(--muted);
  font-size: 17px;
}

.service-detail-featured p,
.service-detail-featured li {
  color: rgba(255, 255, 255, .8);
}

.service-detail .lead {
  display: inline-block;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--accent);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.02;
}

.service-detail-featured .lead {
  color: var(--ink);
}

.service-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.vitae-results {
  padding: 22px;
  border: 1px solid rgba(237, 194, 46, .68);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.vitae-results h4 {
  margin-top: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
}

.vitae-results li {
  color: #fff;
  font-weight: 800;
}

.service-close {
  margin-top: 22px;
  font-weight: 900;
}

.featured-line,
.win-rate {
  display: block;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 8px;
  color: var(--blue);
  background: rgba(237, 194, 46, .18);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.16;
}

.win-rate {
  color: var(--ink);
  background: var(--accent);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  text-transform: uppercase;
}

.service-detail-featured .featured-line {
  color: var(--ink);
  background: var(--accent);
}

.vitae-button {
  margin-top: 24px;
}

.benefits-band {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
  color: var(--ink);
  background: var(--paper);
}

.benefits-band .eyebrow {
  color: var(--accent-dark);
}

.benefits-band h2 {
  color: var(--ink);
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list p {
  margin: 0;
  padding: 20px 22px;
  border: 1px solid rgba(237, 194, 46, .68);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .76);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, .86fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.contact-lines {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  font-weight: 800;
}

.contact-lines span {
  color: var(--muted);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(183, 135, 68, .38);
  outline-offset: 2px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, .74);
  background: var(--ink);
  font-size: 14px;
}

.site-footer img {
  display: block;
  width: min(210px, 56vw);
  height: auto;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .problem-section,
  .benefits-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand img {
    width: min(218px, 56vw);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-panel {
    min-height: auto;
    padding: 18px;
  }

  .score {
    font-size: 58px;
  }

  .metric-grid,
  .problem-list,
  .service-columns {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
