:root {
  --navy: #17122f;
  --navy-soft: #241b47;
  --purple: #6d45d7;
  --purple-deep: #5130aa;
  --lavender: #ede8ff;
  --ink: #171629;
  --muted: #66637a;
  --line: rgba(35, 28, 70, 0.12);
  --surface: #ffffff;
  --surface-soft: #f8f6ff;
  --gold: #d7b56d;
  --shadow: 0 24px 70px rgba(23, 18, 47, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.1rem;
}

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

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.logo-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #413b5b;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-grid a:hover {
  color: var(--purple);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(109, 69, 215, 0.26);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(109, 69, 215, 0.34);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.button-secondary {
  color: var(--navy);
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.button-light {
  color: var(--navy);
  background: white;
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding-top: 120px;
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(109, 69, 215, 0.55), transparent 34%),
    radial-gradient(circle at 8% 18%, rgba(215, 181, 109, 0.24), transparent 24%),
    linear-gradient(135deg, #120e29 0%, #1c1540 52%, #34216e 100%);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 460px;
  height: 460px;
  content: "";
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42% 58% 60% 40%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
  gap: 56px;
  align-items: center;
}

.hero h1,
.hero h2,
.hero h3,
.hero p {
  color: white;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.candidate-panel .eyebrow,
.final-cta-panel .eyebrow {
  color: #d8cbff;
}

.hero-subheadline {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  opacity: 0.9;
}

.hero-actions,
.credibility-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.credibility-strip span {
  padding: 9px 14px;
  color: #eee9ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.card-label {
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-card-group {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card-group span {
  display: block;
  margin-bottom: 6px;
  color: #cfc8ed;
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card-group strong {
  display: block;
  color: white;
  line-height: 1.35;
}

.mini-panel {
  padding: 18px;
  color: #fbf8ee;
  background: rgba(215, 181, 109, 0.14);
  border: 1px solid rgba(215, 181, 109, 0.24);
  border-radius: 18px;
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.split-grid p {
  font-size: 1.08rem;
}

.solution-section,
.muted-section {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.wide-heading {
  max-width: 850px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.role-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(23, 18, 47, 0.06);
}

.role-card {
  min-height: 126px;
}

.role-card h3 {
  margin-bottom: 0;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

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

.service-list div {
  padding: 18px 18px 18px 44px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 750;
  position: relative;
}

.service-list div::before {
  position: absolute;
  left: 18px;
  content: "•";
  color: var(--purple);
}

.candidate-section,
.final-cta {
  padding-block: 72px;
}

.candidate-panel,
.final-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 46px;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgba(109, 69, 215, 0.42), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.candidate-panel h2,
.candidate-panel p,
.final-cta-panel h2,
.final-cta-panel p {
  color: white;
}

.candidate-panel p,
.final-cta-panel p {
  max-width: 760px;
  opacity: 0.86;
}

.forms-section {
  background: linear-gradient(180deg, #fbfaff 0%, #f3f0ff 100%);
}

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

.form-card {
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.field,
.checkbox-field {
  display: grid;
  gap: 7px;
}

.full-field {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fcfbff;
  border: 1px solid rgba(35, 28, 70, 0.18);
  border-radius: 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(109, 69, 215, 0.22);
  border-color: var(--purple);
}

.checkbox-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.checkbox-field input {
  min-height: auto;
  margin-top: 4px;
}

.form-message {
  min-height: 26px;
  margin: 18px 0 0;
  color: #167147;
  font-weight: 800;
}

.site-footer {
  padding: 42px 0;
  color: #d8d3ef;
  background: #100d22;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-grid strong,
.footer-grid a,
.footer-grid p {
  color: inherit;
}

.footer-grid p {
  margin: 6px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.is-open .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-links a {
    padding: 12px;
  }

  .hero-grid,
  .split-grid,
  .forms-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-actions,
  .button,
  .button-secondary,
  .button-light {
    width: 100%;
  }

  .role-grid,
  .why-grid,
  .service-list,
  .form-grid,
  .candidate-panel,
  .final-cta-panel {
    grid-template-columns: 1fr;
  }

  .candidate-panel,
  .final-cta-panel,
  .form-card,
  .hero-card {
    padding: 26px;
    border-radius: 24px;
  }

  .footer-grid {
    display: grid;
  }
}
