:root {
  --ink: #090817;
  --ink-2: #151128;
  --paper: #f1eef8;
  --paper-2: #e4dcf4;
  --violet: #c7b6ff;
  --violet-deep: #5a3f93;
  --lavender: #c7b6ff;
  --amethyst: #8f7aff;
  --line: rgba(241, 238, 248, 0.18);
  --line-dark: rgba(42, 29, 73, 0.16);
  --muted: rgba(241, 238, 248, 0.72);
  --muted-dark: rgba(24, 16, 44, 0.68);
  --shadow: 0 24px 70px rgba(33, 20, 62, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3,
.brand,
.button,
.section-label {
  font-family: "Archivo", "Avenir Next", sans-serif;
}

h1 {
  max-width: 960px;
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 5.4vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 6vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

li + li {
  margin-top: 8px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(199, 182, 255, 0.28);
  background: rgba(12, 9, 28, 0.74);
  backdrop-filter: blur(18px);
  color: var(--paper);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(199, 182, 255, 0.42);
  background: rgba(12, 9, 28, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(142px, 15vw, 204px);
  height: 46px;
  object-fit: contain;
  object-position: center;
}

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

.site-nav a {
  padding: 11px 14px;
  color: rgba(244, 240, 232, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(244, 240, 232, 0.12);
  color: var(--paper);
  outline: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--violet);
  cursor: pointer;
}

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

.section,
.contact {
  padding: 118px max(24px, calc((100vw - 1180px) / 2));
}

.section-dark {
  background:
    radial-gradient(circle at 75% 12%, rgba(199, 182, 255, 0.18), transparent 34%),
    var(--ink);
  color: var(--paper);
}

.section-dark p {
  color: var(--muted);
}

.section-label {
  margin-bottom: 22px;
  color: var(--violet-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-dark .section-label {
  color: var(--lavender);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  padding: 140px max(24px, calc((100vw - 1180px) / 2)) 58px;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.95) contrast(1.12);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 8, 23, 0.95) 0%, rgba(26, 18, 54, 0.64) 54%, rgba(83, 57, 139, 0.32) 100%),
    linear-gradient(0deg, rgba(9, 8, 23, 0.9) 0%, rgba(9, 8, 23, 0.08) 42%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(94vh - 198px);
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  align-items: end;
}

.eyebrow {
  max-width: 610px;
  margin-bottom: 24px;
  color: var(--lavender);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(244, 240, 232, 0.83);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--lavender);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 34px rgba(90, 63, 147, 0.28);
}

.button-ghost {
  border-color: rgba(244, 240, 232, 0.34);
  color: var(--paper);
}

.button-ghost:hover {
  border-color: var(--paper);
  background: rgba(244, 240, 232, 0.1);
}

.hero-panel {
  display: grid;
  gap: 10px;
  align-self: end;
  padding-bottom: 16px;
}

.hero-panel span {
  border: 1px solid rgba(244, 240, 232, 0.2);
  background: rgba(8, 16, 27, 0.46);
  padding: 14px 16px;
  color: rgba(244, 240, 232, 0.82);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  gap: 56px;
  align-items: end;
}

.split-heading p {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.reason-grid,
.advantage-grid,
.industry-grid,
.risk-grid,
.plan-grid {
  display: grid;
  gap: 14px;
}

.reason-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.reason-grid article,
.advantage-grid article,
.industry-grid article,
.risk-grid article,
.plan-grid article,
.timeline article {
  border: 1px solid var(--line-dark);
  padding: 24px;
}

.reason-grid article {
  min-height: 300px;
  background: var(--paper-2);
}

.reason-grid span,
.timeline span,
.service-index {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--violet-deep);
  font-family: "Archivo", "Avenir Next", sans-serif;
  font-weight: 800;
}

.services {
  position: relative;
  overflow: hidden;
}

.services::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42vw;
  height: 100%;
  background:
    linear-gradient(90deg, transparent, rgba(199, 182, 255, 0.12)),
    repeating-linear-gradient(120deg, transparent 0 28px, rgba(244, 240, 232, 0.07) 29px 30px);
  content: "";
}

.services-head,
.service-stack {
  position: relative;
  z-index: 1;
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

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

.service-card {
  border: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.06);
  padding: 26px;
}

.service-card.featured {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 0.72fr 1fr 0.92fr;
  gap: 38px;
  align-items: start;
  background: var(--paper);
  color: var(--ink);
}

.service-card.featured p {
  color: var(--muted-dark);
}

.service-card.featured ul {
  margin-top: 0;
}

.section-dark .service-index {
  color: var(--lavender);
}

.service-card.featured .service-index {
  color: var(--violet-deep);
}

.agency {
  background:
    radial-gradient(circle at 10% 8%, rgba(199, 182, 255, 0.32), transparent 30%),
    var(--paper-2);
}

.advantage-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 42px;
}

.advantage-grid article {
  background: rgba(255, 255, 255, 0.34);
}

.process h2,
.industries h2,
.faq h2 {
  max-width: 880px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 0;
  margin-top: 42px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.timeline article {
  min-width: 200px;
  border-right: 0;
  background: var(--paper-2);
}

.timeline article:last-child {
  border-right: 1px solid var(--line-dark);
}

.compliance {
  background:
    linear-gradient(180deg, rgba(91, 58, 164, 0.38), transparent 34%),
    var(--ink);
}

.risk-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 42px;
}

.risk-grid article,
.plan-grid article {
  border-color: var(--line);
  background: rgba(244, 240, 232, 0.06);
}

.compliance-note,
.industry-note {
  max-width: 900px;
  margin: 38px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--lavender);
  font-weight: 700;
}

.industry-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.industry-grid article {
  background: rgba(255, 255, 255, 0.38);
}

.industry-note {
  border-color: var(--violet-deep);
}

.plans {
  background:
    linear-gradient(135deg, rgba(199, 182, 255, 0.16), transparent 32%),
    linear-gradient(315deg, rgba(167, 139, 250, 0.22), transparent 44%),
    var(--ink);
}

.plan-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.plan-grid article {
  min-height: 430px;
}

.plan-highlight {
  background: var(--paper) !important;
  color: var(--ink);
  transform: translateY(-18px);
  box-shadow: var(--shadow);
}

.plan-highlight p {
  color: var(--muted-dark);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin-top: 42px;
}

details {
  border: 1px solid var(--line-dark);
  background: var(--paper-2);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-family: "Archivo", "Avenir Next", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  list-style: none;
  text-transform: uppercase;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  float: right;
  color: var(--violet-deep);
  content: "+";
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 24px 24px;
}

.contact {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 62px;
  align-items: start;
  background:
    linear-gradient(110deg, rgba(199, 182, 255, 0.3), transparent 32%),
    var(--ink);
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-points span {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: rgba(244, 240, 232, 0.78);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.08);
  padding: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(244, 240, 232, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 0;
  background: rgba(8, 16, 27, 0.58);
  color: var(--paper);
  font: inherit;
  padding: 14px;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--violet);
}

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

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  background: #070512;
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  color: rgba(244, 240, 232, 0.62);
}

.site-footer > a:last-child {
  color: var(--lavender);
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1060px) {
  .reason-grid,
  .advantage-grid,
  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 10px;
    display: none;
    width: calc(100vw - 20px);
    border: 1px solid rgba(244, 240, 232, 0.18);
    background: rgba(8, 16, 27, 0.96);
    padding: 10px;
  }

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

  .site-nav a {
    padding: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .hero-grid,
  .split-heading,
  .services-head,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-panel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 18px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .hero-panel::-webkit-scrollbar {
    display: none;
  }

  .hero-panel span {
    flex: 0 0 238px;
    padding: 10px 12px;
  }

  .section,
  .contact {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .reason-grid,
  .advantage-grid,
  .risk-grid,
  .service-stack,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .plan-highlight {
    transform: none;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  h1 {
    margin-bottom: 20px;
    font-size: 2.25rem;
    line-height: 0.96;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.72rem;
  }

  .hero-lede {
    margin-bottom: 24px;
    font-size: 0.95rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .reason-grid article,
  .advantage-grid article,
  .industry-grid article,
  .risk-grid article,
  .plan-grid article,
  .timeline article,
  .service-card {
    padding: 20px;
  }
}
