/* Styles for the embed flow pages (embed/ and embed/how-it-works/). Loaded after base.css and intro.css. */

main {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 20ch;
}

/* Landing page (embed/): the two points ("broken on purpose" and "no prior experience") share one title size. */
.point-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  max-width: none;
}

/* inline-block keeps the highlighted phrase together on one line where it fits. */
.h1-accent {
  display: inline-block;
  color: var(--warning);
}

/* Brand purple, matching the links and eyebrow label. Orange is kept for the "broken on purpose" warning. */
.h1-accent--purple {
  color: var(--accent-light);
}

.lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 1.5rem;
}

/* "No prior experience" point: a ticked title and text under a hairline, not a boxed banner.
   The icon sits inline in the title so all text lines up with the left edge of the section above. */
.assurance {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
  max-width: 62ch;
}

/* Icon at the start of each point title: wrench (orange) for "broken on purpose", tick (green) for "no prior experience". */
.point-icon {
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: -0.25rem;
  margin-right: 0.3rem;
}

.point-icon--warning {
  color: var(--warning);
}

.point-icon--success {
  color: var(--success);
}

.assurance p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.assurance strong {
  color: var(--text);
}

.steps {
  margin-bottom: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  main {
    padding: 1.25rem;
  }
}
