:root {
  --black: #000000;
  --white: #ffffff;
  --violet: #6b3fd8;
  --violet-soft: #b8a4f5;
  --grey-on-black: #a3a3a3;
  --grey-on-white: #4a4a4a;
  --line-dark: #2b2b2b;
  --line-light: #e2e2e2;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line-dark);
  background: var(--black);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--grey-on-black); }
.nav a:hover { color: var(--white); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 132px;
}
.hero-slant {
  position: absolute;
  top: -10%;
  right: 8%;
  width: 190px;
  height: 125%;
  background: var(--violet);
  border-radius: 28px;
  transform: skewX(-28deg);
}
.hero-content { position: relative; max-width: 760px; }
.hero h1 {
  margin: 0 0 28px;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 40px;
  max-width: 34em;
  font-size: 19px;
  color: var(--grey-on-black);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--white);
}
.button.primary { background: var(--white); color: var(--black); }
.button.primary:hover { background: var(--violet-soft); border-color: var(--violet-soft); }
.button.ghost:hover { border-color: var(--violet-soft); color: var(--violet-soft); }

/* Sections */
.section { padding: 104px 0; }
.section h2 {
  margin: 0 0 16px;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.section .lead {
  margin: 0 0 56px;
  max-width: 36em;
  font-size: 19px;
  color: var(--grey-on-black);
}

/* Services list */
.services { border-top: 1px solid var(--line-dark); }
.service {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-dark);
}
.service h3 { margin: 0; font-size: 22px; font-weight: 500; }
.service p { margin: 0; color: var(--grey-on-black); max-width: 38em; }

/* Product section (light) */
.light {
  background: var(--white);
  color: var(--black);
}
.light .lead { color: var(--grey-on-white); }
.status {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #efe9fc;
  color: #4a26a8;
  font-size: 14px;
  font-weight: 500;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 2px solid var(--black); padding-top: 22px; }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 44px;
  font-weight: 300;
  font-style: italic;
  color: var(--violet);
  line-height: 1;
}
.steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; }
.steps p { margin: 0; color: var(--grey-on-white); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.details { margin: 0; }
.details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}
.details dt { color: var(--grey-on-black); font-size: 15px; }
.details dd { margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 36px 0;
  font-size: 14px;
  color: var(--grey-on-black);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* Legal pages */
.legal {
  background: var(--white);
  color: #1a1a1a;
  padding: 72px 0 96px;
}
.legal article { max-width: 70ch; }
.legal h1 {
  margin: 0 0 8px;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
}
.legal .updated { margin: 0 0 40px; color: var(--grey-on-white); font-size: 15px; }
.legal h2 { margin: 44px 0 12px; font-size: 22px; font-weight: 600; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; }
.legal p, .legal li { line-height: 1.7; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal a { color: #4a26a8; }
.legal .box {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--violet);
  background: #f6f3fd;
}

@media (max-width: 820px) {
  .nav { display: none; }
  .hero { padding: 84px 0 96px; }
  .hero-slant { top: auto; bottom: -20%; right: -40px; width: 90px; height: 60%; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .details div { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
