:root {
  color-scheme: light;
  --page-bg: #f7f8fc;
  --panel: #ffffff;
  --ink: #0b1436;
  --muted: #677187;
  --line: #e5e8f1;
  --accent: #8c35ee;
  --accent-strong: #6d25d5;
  --shadow: 0 24px 70px rgba(20, 31, 66, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(140, 53, 238, 0.14), transparent 32%),
    radial-gradient(circle at 12% 0%, rgba(44, 136, 255, 0.1), transparent 28%),
    var(--page-bg);
  color: var(--ink);
  font-family: ui-sans-serif, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

.welcome-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 64px;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 260px;
  text-align: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 850;
}

.lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 650;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
}

.step-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70%;
  max-width: 980px;
  margin: 0 auto;
}

.step-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 32px 24px;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: linear-gradient(180deg, #b456ff 0%, var(--accent) 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(140, 53, 238, 0.28);
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 850;
}

.step-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.42;
  font-weight: 650;
}

.step-image-frame {
  width: calc(100% - 56px);
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.step-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .welcome-shell {
    width: min(100% - 20px, 1120px);
    padding: 34px 0 44px;
  }

  .hero {
    min-height: 220px;
  }

  .step-card {
    border-radius: 20px;
    width: 100%;
    max-width: none;
  }

  .step-image-frame {
    width: calc(100% - 24px);
    margin-bottom: 18px;
    border-radius: 14px;
  }

  .step-copy {
    align-items: flex-start;
    gap: 12px;
    padding: 20px 18px 18px;
  }

  .step-number {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }
}
