/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Onest", sans-serif;
  background: #ffffff;
  color: #111;
}

/* Section */
.how-tinypal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 16px 100px;
}

/* Header */
.how-header {
  text-align: center;
  margin-bottom: 48px;
}

.how-header h2 {
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.how-header .hint {
  margin-top: 8px;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #71717a;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Step */
.step {
  display: flex;
  align-items: center;
  gap: 120px;
}

/* Reverse layout */
.step.reverse {
  flex-direction: row-reverse;
}

/* Image */
.step-image {
  width: 400px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

/* Step number column */
.step-number {
  position: relative;
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number img {
  width: 70px;
  height: 70px;
}

.step-number span {
  position: absolute;
  top: 22px;
  font-family: "Quicksand", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

/* Lines */
.step-number .line {
  width: 1px;
  height: 210px;
  background: #a5a5a5;
  margin-top: 8px;
}

.step-number .line.top {
  height: 48px;
  margin-bottom: 8px;
}

/* Content */
.step-content {
  max-width: 400px;
}

.step-content h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.step-content p {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .step,
  .step.reverse {
    flex-direction: column;
    gap: 24px;
  }

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

  .step-number .line {
    display: none;
  }
}