:root {
  --ink: #1e1a46;
  --muted: #55516a;
  --purple: #282260;
  --gold: #ffc505;
  --pale: #f5f3fa;
  --line: #e2deed;
  --white: #fff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 1rem/1.6 "Segoe UI", system-ui, sans-serif;
}

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

a {
  color: inherit;
  text-underline-offset: .25em;
}

a:focus-visible {
  outline: 3px solid #8469e0;
  outline-offset: 5px;
}

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

h1, h2, h3 {
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  letter-spacing: -.05em;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.shell {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: 1rem;
  z-index: 2;
  padding: .6rem 1rem;
  transform: translateY(-150%);
  background: var(--white);
}

.skip-link:focus {
  transform: none;
}

.header-inner, nav, .hero-actions, .footer {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 5.5rem;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1rem;
}

.brand {
  width: clamp(10rem, 22vw, 14rem);
}

nav {
  flex-wrap: wrap;
  gap: clamp(.9rem, 3vw, 2rem);
}

nav a, .footer a {
  font-size: .925rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover, .footer a:hover {
  text-decoration: underline;
}

.nav-contact {
  border: 1px solid var(--line);
  border-radius: .4rem;
  padding: .45rem .9rem;
}

.hero {
  background: var(--purple);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 6.25rem);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: .99;
  letter-spacing: -.067em;
}

.hero h1 span {
  color: var(--gold);
  white-space: nowrap;
}

.hero p {
  max-width: 36ch;
  margin-top: 1.65rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: #eae7ff;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: .82rem 1.15rem;
  border-radius: .42rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.button-gold {
  background: var(--gold);
  color: var(--ink);
}

.button-gold:hover {
  background: #ffda57;
}

.hero-link {
  font-weight: 650;
}

.hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: .65rem;
  box-shadow: .75rem .75rem 0 #15113d;
}

.hero-image img {
  width: 100%;
}

.section {
  padding-block: clamp(3rem, 6.2vw, 5.5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}

.service-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
}

.service-card h3::before {
  display: block;
  width: 1.7rem;
  height: .24rem;
  margin-bottom: 1rem;
  border-radius: .25rem;
  background: var(--gold);
  content: "";
}

.service-card p, .steps p {
  margin-top: .6rem;
  color: var(--muted);
}

.approach {
  background: var(--pale);
}

.approach-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.75rem 3rem;
}

.steps {
  display: grid;
  gap: 1.4rem;
  margin: 0;
  padding-left: 1.45rem;
}

.steps li {
  padding-left: .5rem;
}

.steps li::marker {
  color: var(--purple);
  font-weight: 750;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: clamp(1.5rem, 4.5vw, 3.5rem);
  border-radius: .65rem;
  color: var(--white);
  background: var(--purple);
}

.contact-panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.contact-panel p {
  margin-top: .7rem;
  color: #eae7ff;
}

.contact-panel .button {
  flex-shrink: 0;
}

.footer {
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 50rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-width: 36rem;
  }

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

@media (max-width: 39rem) {
  .shell {
    width: calc(100% - 2.5rem);
  }

  .header-inner, .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    gap: .75rem;
  }

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