/* www/public/css/home.css — home-page-only sections (www-v2 StoryBrand flow): internal problems, guide,
   PDF waitlist card, stakes, success, sample testimonials, pricing. The vs-alternatives table is in compare.css.
   Shared tokens, buttons, cards, steps, FAQ and forms live in styles.css. RTL-safe: logical properties only. */

/* "Start here" (lib/start-here.mjs): the pillar guide as one wide card, then the six cluster hubs as a list. */
.start-pillar {
  display: block;
  max-width: 760px;
  margin: 0 auto 14px;
  color: inherit;
}
.start-pillar:hover {
  text-decoration: none;
  border-color: var(--color-brand);
}
.start-links {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.start-links li {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
}
.start-lang {
  color: var(--color-text-2);
  font-size: 14px;
  font-weight: 600;
}

/* Internal problems */
.problem-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 680px;
  display: grid;
  gap: 10px;
}
.problem-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface-sunken);
  border: 2px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 17px;
}
/* One sprite icon per problem (img/icons.svg). */
.problem-list .ico {
  width: 40px;
  height: 40px;
}
.belong {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  margin: 36px auto 0;
  max-width: 40ch;
  text-wrap: balance;
}
.belong span {
  color: var(--color-brand-lip);
}

/* Guide */
.guide-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 12px rgba(59, 51, 48, 0.14));
}
.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -8px 0 32px;
}
.pillar {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--color-text-2);
}
.pillar strong {
  color: var(--color-text);
}

/* Waitlist card in the plan section. The PDF card chrome (.waitlist-head, .pdf-tag, .pdf-sub, .field-submit)
   is shared with the blog pages and lives in styles.css. */
.waitlist-plan {
  margin-top: 40px;
}

/* Stakes */
.stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 860px;
  margin-inline: auto;
}
.stat {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 0 var(--color-border);
  padding: 22px 18px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--color-brand-lip);
  line-height: 1.1;
}
.stat span {
  color: var(--color-text-2);
}

/* Success */
.success {
  display: grid;
  /* minmax(0, 1fr): the column never grows past the container (the icon list would push it wider). */
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 8px;
}
.success-art {
  position: relative;
  width: 170px;
  margin-bottom: 26px;
}
/* Centred under Gilda (left/translate is direction-neutral, so it is RTL-safe and never overflows a phone). */
.sticker-success {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  white-space: nowrap;
}

/* Sample testimonials (placeholders until real beta quotes land) */
.sample-label {
  display: inline-block;
  margin: 0 0 14px;
  background: #fff6d6;
  border: 2px dashed #d9b84a;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
}
.quote {
  margin: 0;
  display: grid;
  gap: 14px;
  /* stars · quote (takes the spare height) · caption, so captions line up across a row */
  grid-template-rows: auto 1fr auto;
}
.quote blockquote {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}
.quote figcaption {
  color: var(--color-text-2);
  font-size: 14px;
}

/* Pricing */
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 900px;
  margin-inline: auto;
}
.plan {
  text-align: center;
}
.plan .price {
  margin: 4px 0 6px;
  font-size: 40px;
  font-weight: 900;
  color: var(--color-text);
}
.plan .price small {
  font-size: 16px;
  color: var(--color-text-2);
}
.plan-featured {
  border-color: var(--color-primary);
  box-shadow: 0 4px 0 var(--color-primary);
}
.plans-note {
  text-align: center;
  color: var(--color-text-2);
  margin: 22px 0 0;
}

/* In-copy links: darker than the global link blue so they pass WCAG AA on Panna and the canvas. */
.section-sub a,
.plans-note a,
.step p a,
.waitlist-head .sub a,
.faq a {
  color: #1d6a96;
  text-decoration: underline;
}
