/* Design tokens */
:root {
  --purple: #9d3aff;
  --black: #050505;
  --white: #ffffff;
  --deep-purple: #110228;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-heading: Poppins, Helvetica, Arial, sans-serif;
  --font-size-reading: 16px;
  --font-size-secondary: 14px;
  --font-size-micro: 12px;
  --font-size-component-title: 18px;
  --font-size-modal-title: 22px;
}

/* Reset and shared layout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  background: #fff;
  font-family: var(--font-body);
  font-size: var(--font-size-reading);
  line-height: 1.7;
}

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

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

.row {
  width: min(90%, 1080px);
  margin-inline: auto;
}

.black {
  background: var(--black);
}

.purple {
  background: var(--purple);
}

/* Shared hero elements */
.hero-break,
.mobile-break {
  display: none;
}

.hero h1 {
  padding-bottom: 10px;
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.hero h1 > span:not(.hero-break) {
  color: var(--purple);
}

.hero-subtitle {
  width: min(90%, 800px);
  margin-top: 15px;
}

.hero-subtitle p {
  padding-bottom: 10px;
  color: var(--deep-purple);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 200;
  line-height: 32px;
  text-align: center;
}

.hero-no-wrap {
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  padding-top: 10px;
}

.button {
  display: inline-flex;
  width: 245px;
  height: 55.2px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 25px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--font-size-reading);
  font-weight: 300;
  line-height: 27.2px;
  text-align: center;
  white-space: nowrap;
  transition: box-shadow 160ms ease;
}

.button-icon {
  display: flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button:hover {
  box-shadow: 0 10px 24px rgba(17, 2, 40, 0.18);
}

.button:focus-visible {
  outline: 3px solid rgba(157, 58, 255, 0.28);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 17px;
    margin-top: 24px;
  }

  .hero-break,
  .mobile-break {
    display: inline;
  }

}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }

}
