:root {
  --navy-950: #08111f;
  --navy-900: #0e1a2b;
  --navy-850: #14233a;
  --navy-800: #1a2b45;
  --slate-700: #3f4e64;
  --slate-600: #59677c;
  --slate-100: #edf1f6;
  --slate-050: #f7f9fc;
  --white: #ffffff;
  --magenta: #d41472;
  --magenta-dark: #a90f59;
  --blue: #1897d4;
  --green: #78bd2f;
  --gold: #f2b434;
  --purple: #5b2aa0;
  --cyan: #27b7d7;
  --border: #dbe3ee;
  --shadow: 0 22px 70px rgba(8, 17, 31, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(212, 20, 114, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--white);
  background: var(--magenta);
  border-radius: 6px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 17, 31, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  min-width: max-content;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 34px;
  color: var(--white);
  background: var(--magenta);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 8px;
  color: var(--white) !important;
  background: var(--magenta) !important;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(8, 17, 31, 0.98), rgba(20, 35, 58, 0.98) 62%, rgba(8, 17, 31, 0.98)),
    var(--navy-950);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f0a8cd;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

h1 {
  max-width: 760px;
  font-size: 58px;
  font-weight: 800;
}

h2 {
  font-size: 38px;
  font-weight: 780;
}

h3 {
  font-size: 21px;
  font-weight: 760;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 660px;
}

.hero-lede {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
}

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

.button-primary:hover {
  background: var(--magenta-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: var(--navy-900);
  border-color: var(--border);
  background: var(--white);
}

.hero-panel {
  min-width: 0;
}

.dashboard-frame {
  overflow: hidden;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.dashboard-frame img {
  display: block;
  border-radius: 18px;
}

.hero-lineage {
  margin-top: 16px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.hero-lineage img {
  width: 138px;
  padding: 8px;
  background: var(--white);
  border-radius: 6px;
}

.hero-lineage span {
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
}

.proof-strip {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.proof-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--slate-600);
  font-weight: 670;
}

.proof-dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--magenta);
}

.proof-item:nth-child(2) .proof-dot {
  background: var(--blue);
}

.proof-item:nth-child(3) .proof-dot {
  background: var(--green);
}

.proof-item:nth-child(4) .proof-dot {
  background: var(--gold);
}

.heritage-strip {
  background: var(--slate-050);
  border-bottom: 1px solid var(--border);
}

.heritage-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 1fr);
  gap: 30px;
  align-items: center;
}

.heritage-logo {
  width: 300px;
  max-width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(8, 17, 31, 0.08);
}

.heritage-copy h2 {
  font-size: 24px;
}

.heritage-copy p {
  margin-top: 8px;
  color: var(--slate-600);
}

.color-ribbon {
  display: flex;
  width: 100%;
  height: 5px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
}

.color-ribbon span {
  flex: 1;
}

.color-ribbon span:nth-child(1) {
  background: var(--gold);
}

.color-ribbon span:nth-child(2) {
  background: var(--green);
}

.color-ribbon span:nth-child(3) {
  background: var(--cyan);
}

.color-ribbon span:nth-child(4) {
  background: var(--purple);
}

.section {
  padding: 82px 24px;
}

.section-muted {
  background: var(--slate-050);
}

.section-dark {
  color: var(--white);
  background: var(--navy-900);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  margin-top: 16px;
  color: var(--slate-600);
  font-size: 18px;
}

.section-dark .section-heading p,
.section-dark .split-copy p,
.section-dark .metric-label {
  color: rgba(255, 255, 255, 0.74);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(8, 17, 31, 0.06);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.card p {
  margin-top: 12px;
  color: var(--slate-600);
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.72);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy-850);
  border-radius: 8px;
}

.card-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.card:nth-child(2n) .card-icon {
  background: var(--magenta);
}

.card:nth-child(3n) .card-icon {
  background: var(--green);
}

.card:nth-child(4n) .card-icon {
  background: var(--blue);
}

.card:nth-child(5n) .card-icon {
  background: var(--gold);
}

.card:nth-child(6n) .card-icon {
  background: var(--purple);
}

.accent-card {
  position: relative;
  overflow: hidden;
}

.accent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--cyan), var(--purple), var(--magenta));
}

.logo-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.logo-card img {
  width: 220px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.spaced-card {
  margin-bottom: 22px;
}

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

.split-copy p {
  margin-top: 18px;
  color: var(--slate-600);
  font-size: 18px;
}

.feature-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--slate-600);
}

.section-dark .feature-list li {
  color: rgba(255, 255, 255, 0.76);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--magenta);
}

.workflow-panel {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.workflow-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.workflow-row:last-child {
  border-bottom: 0;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--navy-850);
  border-radius: 8px;
  font-weight: 800;
}

.workflow-row:nth-child(2) .workflow-step {
  background: var(--magenta);
}

.workflow-row:nth-child(3) .workflow-step {
  background: var(--green);
}

.workflow-row:nth-child(4) .workflow-step {
  background: var(--blue);
}

.workflow-row h3 {
  font-size: 18px;
}

.workflow-row p {
  color: var(--slate-600);
}

.status-pill {
  min-width: 92px;
  padding: 7px 10px;
  color: var(--navy-850);
  background: var(--slate-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(8, 17, 31, 0.08);
}

.module-item {
  padding: 28px;
  border-right: 1px solid var(--border);
}

.module-item:last-child {
  border-right: 0;
}

.module-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--magenta);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-item:nth-child(2) .module-kicker {
  color: var(--blue);
}

.module-item:nth-child(3) .module-kicker {
  color: var(--green);
}

.module-item:nth-child(4) .module-kicker {
  color: var(--purple);
}

.module-item p {
  margin-top: 10px;
  color: var(--slate-600);
}

.intake-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.intake-item {
  padding: 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--magenta);
  border-radius: 8px;
  background: var(--white);
}

.intake-item:nth-child(2) {
  border-left-color: var(--blue);
}

.intake-item:nth-child(3) {
  border-left-color: var(--green);
}

.intake-item:nth-child(4) {
  border-left-color: var(--gold);
}

.intake-item:nth-child(5) {
  border-left-color: var(--purple);
}

.intake-item:nth-child(6) {
  border-left-color: var(--cyan);
}

.intake-item p {
  margin-top: 8px;
  color: var(--slate-600);
}

.experience-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 42px;
  align-items: start;
}

.experience-list {
  display: grid;
  gap: 14px;
}

.experience-item {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--magenta);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.experience-item:nth-child(2) {
  border-left-color: var(--blue);
}

.experience-item:nth-child(3) {
  border-left-color: var(--green);
}

.experience-item:nth-child(4) {
  border-left-color: var(--gold);
}

.experience-item p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
}

.metric {
  padding: 24px;
  border-left: 3px solid var(--magenta);
  background: rgba(255, 255, 255, 0.06);
}

.metric:nth-child(2) {
  border-color: var(--blue);
}

.metric:nth-child(3) {
  border-color: var(--green);
}

.metric:nth-child(4) {
  border-color: var(--gold);
}

.metric:nth-child(5) {
  border-color: var(--purple);
}

.metric-value {
  display: block;
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 8px;
}

.section:not(.section-dark) .metric {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 34px rgba(8, 17, 31, 0.06);
}

.section:not(.section-dark) .metric-value {
  color: var(--navy-900);
}

.section:not(.section-dark) .metric-label {
  color: var(--slate-600);
}

.page-hero {
  color: var(--white);
  background: var(--navy-900);
}

.page-hero .container {
  padding: 76px 24px 70px;
}

.page-hero h1 {
  font-size: 50px;
}

.page-hero p {
  max-width: 780px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.capability-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.capability-row {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 28px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.capability-row:last-child {
  border-bottom: 0;
}

.capability-row p {
  color: var(--slate-600);
}

.contact-band {
  padding: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 8px;
}

.contact-band p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 40px;
}

.contact-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-card a {
  color: var(--magenta-dark);
  font-weight: 760;
}

.contact-intro {
  margin-top: 14px;
  color: var(--slate-600);
}

.contact-email {
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

label {
  color: var(--navy-850);
  font-weight: 760;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #cbd5e3;
  border-radius: 7px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--slate-600);
  font-size: 14px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.message-panel {
  max-width: 720px;
}

.message-panel p {
  margin-top: 14px;
  color: var(--slate-600);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-company {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.62);
}

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 73px;
    display: none;
    padding: 10px 24px 22px;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-inner,
  .split,
  .contact-layout,
  .experience-band {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 64px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 33px;
  }

  .proof-grid,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-strip,
  .intake-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-band {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .heritage-inner,
  .logo-card {
    grid-template-columns: 1fr;
  }

  .hero-lineage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    padding: 13px 18px;
  }

  .brand-name {
    display: none;
  }

  .site-nav {
    top: 69px;
  }

  .hero-inner,
  .section,
  .page-hero .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1,
  .page-hero h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  h2 {
    font-size: 29px;
    line-height: 1.15;
  }

  .hero-lede,
  .page-hero p,
  .section-heading p,
  .split-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-grid,
  .grid-2,
  .grid-3,
  .metrics,
  .module-strip,
  .intake-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .card,
  .workflow-panel,
  .contact-card {
    padding: 22px;
  }

  .workflow-row,
  .capability-row {
    grid-template-columns: 1fr;
  }

  .module-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .module-item:last-child {
    border-bottom: 0;
  }

  .status-pill {
    width: max-content;
  }

  .contact-band {
    padding: 26px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
