/* /fomu — the "fear of messing up" page. Hero and base type come from feature-page.css. */

.fomu {
  padding: 56px 0 72px;
}

/* Same size and measure as the hero intro above it, so the two read as one block. */
.fomu-intro p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #444;
  max-width: 42em;
  margin: 0 0 56px;
}

.fomu-heading {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 0 14px;
  line-height: 1.25;
  text-wrap: balance;
}

.fomu-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  max-width: 44em;
  margin: 0 0 28px;
}

.fomu-block {
  margin-top: 80px;
  scroll-margin-top: 100px;
}

.fomu .text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

/* ─── Worries: the fear in their words, then what actually happens ─── */

.fomu-worries {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fomu-worry {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fomu-worry-fear {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 22px 26px 18px;
  background: rgba(181, 164, 203, 0.18);
  color: var(--primary);
}

.fomu-worry-fear svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.fomu-worry-fear h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  font-style: italic;
  font-weight: 600;
}

.fomu-worry-answer {
  padding: 20px 26px 24px;
}

.fomu-worry-answer p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: #444;
}

.fomu-worry-answer p:last-child {
  margin-bottom: 0;
}

/* ─── Migration guides ─── */

.fomu-guides {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fomu-guide {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 22px;
  background: white;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fomu-guide:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.fomu-guide-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fomu-guide-logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(47, 72, 80, 0.1);
  background: white;
  overflow: hidden;
}

.fomu-guide-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.fomu-guide-title {
  flex: 1;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

.fomu-guide-desc {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.55;
}

.fomu-guide-more {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.fomu-guides-more {
  margin: 44px 0 0;
}

.fomu-quote {
  margin-top: 32px;
}

/* ─── Bit by bit ─── */

.fomu-phases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: none;
}

.fomu-phase {
  position: relative;
  padding: 24px 26px 26px;
  background: var(--bg);
  overflow: hidden;
}

.fomu-phase:first-child {
  border-radius: 16px 0 0 16px;
}

.fomu-phase:last-child {
  border-radius: 0 16px 16px 0;
}

/* Each batch is a little bigger than the last: the bar along the top widens. */
.fomu-phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  background: var(--green);
}

.fomu-phase:nth-child(1)::before { width: 25%; }
.fomu-phase:nth-child(2)::before { width: 60%; }
.fomu-phase:nth-child(3)::before { width: 100%; }

.fomu-phase + .fomu-phase {
  border-left: 1px dashed rgba(47, 72, 80, 0.2);
}

.fomu-phase-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.fomu-phase h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--primary);
}

.fomu-phase p {
  margin: 0;
  line-height: 1.6;
  color: #444;
  font-size: 0.97rem;
}

.fomu-note {
  margin: 18px 0 0;
  color: var(--gray);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ─── Not everything on day one: each layer adds to the one before ─── */

.fomu-layers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fomu-layer {
  display: flex;
  align-items: baseline;
  gap: 20px;
  background: white;
  border: 1px solid rgba(47, 72, 80, 0.12);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 16px 22px;
}

/* Indent each later layer a little, so the list reads as building up. */
.fomu-layer:nth-child(2) { margin-left: 32px; }
.fomu-layer:nth-child(3) { margin-left: 64px; }

.fomu-layer-label {
  flex: 0 0 170px;
  font-weight: 700;
  color: var(--primary);
}

.fomu-layer p {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

/* ─── Not alone: four steps ─── */

.fomu-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fomu-step {
  position: relative;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  padding: 26px 22px 24px;
}

.fomu-step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
}

.fomu-step-icon {
  color: var(--green);
  margin-bottom: 14px;
}

.fomu-step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: white;
}

.fomu-step p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ─── FAQ ─── */

.fomu-faqs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.fomu-faq {
  background: white;
  border: 1px solid rgba(47, 72, 80, 0.12);
  border-radius: 12px;
}

.fomu-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  position: relative;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}

.fomu-faq summary::-webkit-details-marker {
  display: none;
}

.fomu-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
}

.fomu-faq[open] summary::after {
  content: "\2212";
}

.fomu-faq p {
  margin: 0;
  padding: 0 22px 20px;
  line-height: 1.7;
  color: #444;
}

/* ─── Talk it through ─── */

.fomu-talk {
  margin-top: 90px;
  text-align: center;
}

.fomu-talk-card {
  display: flex;
  gap: 32px;
  align-items: center;
  text-align: left;
  max-width: 760px;
  margin: 24px auto 0;
  background: white;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fomu-talk-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--green);
}

.fomu-talk-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 2px;
}

.fomu-talk-role {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.fomu-talk-text {
  line-height: 1.65;
  color: #444;
  margin: 0 0 22px;
}

.fomu-talk-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fomu-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fomu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fomu-btn-primary {
  background: var(--green);
  color: white;
}

.fomu-btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 26px;
}

.fomu-credit {
  margin: 48px auto 0;
  max-width: 40em;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
  .fomu-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fomu {
    padding: 40px 0 56px;
  }

  .fomu-heading {
    font-size: 1.5rem;
  }

  .fomu-block {
    margin-top: 60px;
  }

  .fomu-worries,
  .fomu-guides,
  .fomu-steps {
    grid-template-columns: 1fr;
  }

  .fomu-phases {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fomu-phase,
  .fomu-phase:first-child,
  .fomu-phase:last-child {
    border-radius: 12px;
    overflow: hidden;
  }

  .fomu-phase + .fomu-phase {
    border-left: none;
  }

  .fomu-layer {
    flex-direction: column;
    gap: 4px;
  }

  .fomu-layer:nth-child(2) { margin-left: 12px; }
  .fomu-layer:nth-child(3) { margin-left: 24px; }

  .fomu-layer-label {
    flex: none;
  }

  .fomu-talk-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }

  .fomu-talk-actions {
    justify-content: center;
  }
}
