:root {
  --ink: #08131c;
  --navy: #10283f;
  --deep: #061018;
  --paper: #f3ece1;
  --cream: #faf6ef;
  --sand: #e4d8c6;
  --line: rgba(16, 40, 63, 0.12);
  --line-soft: rgba(250, 246, 239, 0.14);
  --copper: #c6843b;
  --gold: #e3b56a;
  --teal: #1f7d76;
  --mist: #6a7682;
  --white: #fffdf8;
  --header-h: 116px;
  --topbar-h: 38px;
  --nav-h: 78px;
  --max: 1160px;
  --sans: "Outfit", system-ui, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(227, 181, 106, 0.12), transparent 28%),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0;
  color: var(--mist);
}

.lead {
  font-size: 1.14rem;
  max-width: 64ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #07131c;
  border-bottom: 1px solid var(--line-soft);
  overflow: visible;
}

.topbar {
  height: var(--topbar-h);
  background: #050d14;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  min-width: 0;
}

.topbar-badges span {
  white-space: nowrap;
  padding: 0 0.55em;
  border-right: 1px solid rgba(255, 253, 248, 0.22);
  line-height: 1;
}

.topbar-badges span:first-child {
  padding-left: 0;
}

.topbar-badges span:last-child {
  border-right: 0;
  padding-right: 0;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 253, 248, 0.92);
  white-space: nowrap;
}

.topbar-contact a:hover {
  color: var(--gold);
}

.topbar-contact svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.9;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  display: block;
  pointer-events: none;
}

@media (max-width: 980px) {
  .topbar-badges {
    display: none;
  }

  .topbar-inner {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  :root {
    --topbar-h: 34px;
    --nav-h: 70px;
    --header-h: 104px;
  }

  .topbar {
    font-size: 0.68rem;
  }

  .topbar-contact {
    gap: 12px;
  }

  .topbar-contact a:first-child {
    display: none;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@media print {
  .site-header,
  .wa-float {
    display: none !important;
  }
}

main {
  position: relative;
  z-index: 0;
}

.header-inner,
.hero-grid,
.split,
.cards-3,
.cards-2,
.module-grid,
.steps,
.footer-grid,
.contact-grid,
.stat-row {
  display: grid;
  gap: 20px;
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  height: var(--nav-h);
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
}

.brand-name small {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.card,
.module,
.step,
.bench-card {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 2px;
  height: var(--nav-h);
}

.nav > a,
.nav-top {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0 10px;
  height: 100%;
  white-space: nowrap;
}

.nav > a:hover,
.nav > a[aria-current="page"],
.nav-top:hover,
.nav-top[aria-current="page"] {
  color: var(--white);
}

.nav-item {
  position: static;
  display: flex;
  align-items: stretch;
}

.nav-top::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #0b1c2a;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.18s ease;
  z-index: 120;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px 0 32px;
}

.mega-intro h2 {
  margin: 8px 0 10px;
  font-size: 1.55rem;
  color: var(--white);
}

.mega-intro p {
  color: rgba(255, 253, 248, 0.62);
  margin-bottom: 16px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.mega-grid.exec {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(255, 253, 248, 0.08);
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
}

.mega-tile:hover {
  background: rgba(227, 181, 106, 0.12);
  border-color: rgba(227, 181, 106, 0.35);
  color: var(--white);
}

.mega-tile img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.mega-tile span {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 0.72rem;
  color: rgba(255, 253, 248, 0.55);
}

.mega-grid.exec .mega-tile {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.mega-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.mega-foot a {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--copper));
  color: var(--ink);
}

.btn-ghost,
.btn-outline {
  background: transparent;
  border: 1px solid currentColor;
}

.btn-ghost {
  color: var(--white);
}

.btn-outline,
.btn-dark {
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.hero,
.page-hero,
.band,
.strip,
.site-footer {
  color: var(--white);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(227, 181, 106, 0.2), transparent 24%),
    linear-gradient(165deg, #061018 0%, #10283f 62%, #16384f 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
  pointer-events: none;
}

.hero {
  padding: 76px 0 84px;
}

.page-hero {
  padding: 72px 0 58px;
}

.hero-grid,
.contact-grid,
.split,
.cards-2 {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-grid,
.page-hero .container,
.band .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  margin: 14px 0 18px;
  max-width: 13ch;
}

.page-hero.wide h1 {
  max-width: 16ch;
}

.industry-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.industry-jump a {
  padding: 8px 14px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
}

.industry-jump a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section .industry-jump a {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.industry {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.industry-meta {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
}

.hero .lead,
.page-hero p,
.band p,
.card.dark p,
.site-footer p,
.bench-card span,
.bench-card small {
  color: rgba(255, 253, 248, 0.74);
}

.hero-actions,
.choice-row,
.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 28px 0 16px;
}

.hero-note {
  color: rgba(255, 253, 248, 0.55);
  font-size: 0.92rem;
}

.bench,
.cards-3,
.module-grid,
.steps {
  display: grid;
  gap: 14px;
}

.bench-card,
.card,
.module,
.step,
.matcher,
.faq details {
  border-radius: 20px;
}

.bench-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 8px 16px;
  padding: 18px 20px;
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.bench-card > div {
  display: grid;
  gap: 6px;
}

.bench-card strong,
.bench-card span {
  display: block;
}

.pill {
  align-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31, 125, 118, 0.3);
  color: #c8f3ee;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strip {
  background: #0a1c2c;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.strip-row {
  justify-content: center;
  color: rgba(255, 253, 248, 0.68);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section {
  padding: 88px 0;
}

.section.sand {
  background: var(--paper);
}

.section a:not(.btn) {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-head p,
.card p,
.module p,
.step p {
  margin-top: 12px;
}

.cards-3,
.module-grid {
  grid-template-columns: repeat(3, 1fr);
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.module,
.step,
.matcher,
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
}

.card,
.module,
.step,
.matcher {
  padding: 26px;
}

.card,
.module,
.step {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover,
.module:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(8, 19, 28, 0.08);
}

.card.dark {
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.card.dark .list,
.card.dark a {
  color: rgba(255, 253, 248, 0.78);
}

.num,
.stat b {
  display: block;
  color: var(--copper);
  font-family: var(--serif);
}

.num {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.stat-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.stat b {
  font-size: 2.4rem;
  line-height: 1;
}

.steps {
  grid-template-columns: repeat(5, 1fr);
}

.step {
  border-top: 3px solid var(--copper);
  border-radius: 0 0 18px 18px;
}

.band {
  padding: 72px 0;
  background: var(--deep);
}

.matcher h2 {
  font-size: 1.7rem;
}

.choice {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.choice[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.faq details {
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq p {
  margin-top: 10px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--cream);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f5f3;
  color: var(--teal);
}

.form-status.show {
  display: block;
}

.form-status.error {
  background: #f8e8e4;
  color: #8a2b2b;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-card {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

.contact-card p {
  color: var(--ink);
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--mist);
}

.list li + li {
  margin-top: 8px;
}

.site-footer {
  background: var(--deep);
  padding: 56px 0 24px;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  margin-bottom: 32px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 253, 248, 0.66);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.salary-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.salary-table th,
.salary-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.salary-table th {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
}

.salary-table td.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.salary-table tbody tr:last-child td {
  border-bottom: 0;
}

.salary-note {
  margin-top: 12px;
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: auto;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    padding: 12px 16px 24px;
    background: #061018;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.open,
  .menu-toggle {
    display: flex;
  }

  .nav > a,
  .nav-top {
    height: auto;
    padding: 12px 8px;
  }

  .nav-item {
    flex-direction: column;
  }

  .mega {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .nav-item.open .mega {
    display: block;
  }

  .nav-item:hover .mega,
  .nav-item:focus-within .mega {
    display: none;
  }

  .nav-item.open:hover .mega,
  .nav-item.open:focus-within .mega,
  .nav-item.open .mega {
    display: block;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    padding: 8px 0 16px;
    gap: 14px;
  }

  .mega-grid,
  .mega-grid.exec {
    grid-template-columns: 1fr 1fr;
  }

  .mega-intro .btn {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .cards-3,
  .cards-2,
  .module-grid,
  .steps,
  .footer-grid,
  .contact-grid,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 20px 24px;
    background: #061018;
    flex-direction: column;
  }

  .nav.open,
  .menu-toggle {
    display: flex;
  }

  .hero-grid,
  .split,
  .cards-3,
  .cards-2,
  .module-grid,
  .steps,
  .footer-grid,
  .contact-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero,
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
