/* —— Hero (one composition: brand + pitch + CTA + shot) —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.75rem 3rem;
  align-items: center;
  padding: 1.5rem 0 4rem;
  border-bottom: 1px solid var(--line-color);
}

.hero-copy {
  display: grid;
  gap: 1.5rem;
  animation: fade-in 0.65s ease 0.06s both;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  color: var(--text-color);
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-brand img {
  width: clamp(2.75rem, 5vw, 3.75rem);
  height: clamp(2.75rem, 5vw, 3.75rem);
  border-radius: 12px;
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--text-color-muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-shot {
  animation: fade-in 0.7s ease 0.14s both;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line-color);
}

.section:last-of-type {
  border-bottom: none;
}

.section h2 {
  margin: 0 0 1.1rem;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--text-color-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.75rem 3rem;
  align-items: center;
}

.section-copy p {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  line-height: 1.7;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.section-cta {
  text-align: center;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.section-cta .section-lead {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

/* —— Problem list —— */
.problem-list {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.problem-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
}

.problem-list .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.1rem;
  font-size: 1.25rem;
  color: var(--text-color);
  background: var(--color-blue);
  border-radius: 8px;
}

.problem-list strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.problem-list p {
  margin: 0;
  line-height: 1.65;
}

/* —— Screenshot frames (swap placeholder for <img> later) —— */
.screenshot-frame {
  margin: 0;
  overflow: hidden;
  background: var(--header-bg-color);
  border: 1px solid var(--line-color);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screenshot-frame:hover {
  transform: translateY(-2px);
  border-color: rgb(255 255 255 / 0.14);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.4rem;
  min-height: 16rem;
  padding: 2rem 1.25rem;
  color: var(--text-color-muted);
  text-align: center;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--color-blue) 12%, transparent), transparent 55%),
    var(--card-bg-color);
}

.hero-shot .screenshot-placeholder {
  min-height: 22rem;
}

.screenshot-placeholder .material-symbols-outlined {
  margin-bottom: 0.35rem;
  font-size: 2rem;
  color: var(--color-blue-bright);
}

.screenshot-placeholder p {
  margin: 0;
  color: var(--text-color);
  font-weight: 600;
}

.screenshot-hint {
  color: var(--text-color-muted) !important;
  font-weight: 400 !important;
  font-size: 0.9rem;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.screenshot-row .screenshot-placeholder {
  min-height: 12.5rem;
}

/* —— Rules —— */
.rules-list {
  display: grid;
  gap: 1.85rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  max-width: 48rem;
  counter-reset: rule-step;
}

.rules-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  counter-increment: rule-step;
}

.rules-list .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-top: 0.1rem;
  font-size: 1.25rem;
  color: var(--text-color);
  background: var(--color-blue);
  border-radius: 8px;
}

.rules-list strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.rules-list strong::before {
  content: counter(rule-step) ". ";
  color: var(--color-yellow);
}

.rules-list p {
  margin: 0;
  line-height: 1.65;
}

.rules-note {
  margin: 0;
  max-width: 48rem;
  line-height: 1.7;
}

/* —— How it works —— */
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how-step;
}

.steps-list li {
  margin: 0;
  padding: 0;
  counter-increment: how-step;
}

.steps-list strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.steps-list strong::before {
  content: "Step " counter(how-step) " — ";
  color: var(--color-blue-bright);
}

.steps-list p {
  margin: 0;
  line-height: 1.6;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero,
  .section-split {
    grid-template-columns: 1fr;
  }

  .hero-shot .screenshot-placeholder {
    min-height: 16rem;
  }

  .screenshot-row,
  .steps-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 1rem 0 3rem;
  }

  .section {
    padding: 3.25rem 0;
  }
}
