/* Polymade Store — guide page styles only (site-store/learn/*.html).

   Loaded AFTER /assets/style.css, which owns every design token used below.
   Never edit style.css for this: the guide pages are generated by
   growth_b/store_seo_renderer.py and style.css is hand-owned, which is why it
   is in that renderer's forbidden-write list. Same two-file split Line A uses
   (site/assets/seo.css), same reason.

   The class names are shared with Line A's generated pages because the body
   markup is shared; the values here are the store's own, matched to
   site-store/assets/style.css's .legal block so a guide page reads like the
   licensing page rather than like a different site. */

/* Breadcrumb trail (Phase 1.md WS4.2). Visible on purpose: the BreadcrumbList
   JSON-LD on these pages describes this trail, and structured data that
   describes something a reader cannot see is exactly the answer-engine
   misrepresentation the guide pages' tests guard against. */

.seo-crumbs {
  max-width: 740px;
  padding-top: 44px;
}

.seo-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.seo-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.45;
}

.seo-crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.seo-crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.seo-crumbs [aria-current="page"] {
  color: var(--ink);
}

.seo-body {
  max-width: 740px;
  padding-top: 88px;
  padding-bottom: 40px;
}

/* The trail replaces the top of the block below it rather than adding to it. */

.seo-crumbs + .seo-body {
  padding-top: 26px;
}

.seo-crumbs + .seo-hub-list {
  margin-top: 26px;
}

.seo-section {
  margin-bottom: 40px;
}

.seo-section h2 {
  font-size: 1.5rem;
  margin: 0 0 0.7em;
}

.seo-section p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1em;
}

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

.seo-faq {
  margin-bottom: 40px;
}

.seo-faq h2 {
  font-size: 1.5rem;
  margin: 0 0 0.7em;
}

.seo-faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.seo-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.seo-faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-cta {
  padding: 16px 0 8px;
}

.seo-cta.center {
  text-align: center;
}

/* Hub (learn/index.html) */

.seo-hub-list {
  list-style: none;
  max-width: 740px;
  margin: 88px auto 24px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.seo-hub-item {
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}

.seo-hub-item a {
  font-family: var(--disp);
  font-size: 1.14rem;
  text-decoration: none;
}

.seo-hub-item a:hover {
  text-decoration: underline;
}

.seo-hub-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .seo-crumbs {
    padding-top: 30px;
  }

  .seo-body {
    padding-top: 56px;
  }

  .seo-hub-list {
    margin-top: 56px;
  }

  .seo-crumbs + .seo-body {
    padding-top: 20px;
  }

  .seo-crumbs + .seo-hub-list {
    margin-top: 20px;
  }
}
