/* Purpose: Shared look for rebuilt public landing pages (block: wlp = webpages landing page)
   Used by: webpages/templates/webpages/seo/shopify_delivery_qatar.html (first page rebuilt to the landing-page-strategy skill)
   Notes: Layout is Bootstrap utilities in the template; this file only adds visual styling. Yellow appears only on
          the "Create a business account" buttons (.btn-primary). Reuse these classes for the next seo/ rebuild. */

/* Fluid H1: 30px on a phone up to 44px on desktop; the stacked hero lets it run the full width. */
.wlp__title {
  font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--brand-grey-800);
  text-wrap: balance;
}

.wlp__lead {
  color: var(--brand-grey-600);
}

/* No word left alone on a paragraph's last line (landing-page-strategy: a defect). */
.wlp p {
  text-wrap: pretty;
}

/* --- Hero: flat light surface, one hairline under it -------------------------- */
.wlp__hero {
  background: var(--brand-grey-50);
  border-bottom: 1px solid var(--brand-grey-200);
  padding: 2.25rem 0 3rem;
}

.wlp__facts {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-grey-700);
}

.wlp__facts i {
  color: var(--brand-success);
}

/* --- One order's journey: four hairline tiles, status as dot + word ---------- */
.wlp__flow-caption {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-grey-500);
}

.wlp__flow-step {
  position: relative;
  height: 100%;
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-200);
  border-radius: var(--brand-radius-md);
  padding: 1.125rem;
}

.wlp__flow-head {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-grey-600);
}

.wlp__flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--brand-navy);
  color: var(--brand-white);
  font-size: 0.75rem;
  font-weight: 700;
}

.wlp__flow-ref {
  margin: 0.75rem 0 0.375rem;
  font-size: 1.25rem;
  color: var(--brand-grey-800);
}

.wlp__flow-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--brand-grey-600);
}

/* Chevron sits in the 1rem gutter between tiles (desktop only; the numbers carry the order on phones). */
.wlp__flow-arrow {
  position: absolute;
  top: 50%;
  right: -0.8rem;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--brand-grey-450);
}

.wlp__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Status: a swatch dot plus the word (brandkit Recipe 4), never a loud pill. */
.wlp__status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.wlp__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.wlp__status--neutral { color: var(--brand-grey-600); }
.wlp__status--neutral::before { background: var(--brand-grey-400); }
.wlp__status--info { color: var(--brand-info-dark); }
.wlp__status--info::before { background: var(--brand-info); }
.wlp__status--warning { color: var(--brand-warning-text); }
.wlp__status--warning::before { background: var(--brand-warning); }
.wlp__status--success { color: var(--brand-success); }
.wlp__status--success::before { background: var(--brand-success-light); }

/* --- Text links: ink with an underline, never yellow text on white ------------ */
.wlp__link {
  color: var(--brand-grey-800);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brand-grey-400);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 150ms ease-out;
}

.wlp__link:hover,
.wlp__link:focus-visible {
  color: var(--brand-navy);
  text-decoration-color: var(--brand-primary);
}

/* --- Section surfaces and static content cards (no hover lift: nothing to click) --- */
.wlp__band {
  background: var(--brand-grey-50);
}

.wlp__card {
  background: var(--brand-white);
  border: 1px solid var(--brand-grey-200);
  border-radius: var(--brand-radius-md);
  padding: 1.5rem;
  color: var(--brand-grey-700);
}

.wlp__icon {
  color: var(--brand-navy);
}

/* Numbered setup steps: navy number, the sequence is real. */
.wlp__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-navy);
  color: var(--brand-white);
  font-weight: 700;
}

/* --- FAQ: question + answer pairs separated by hairlines --------------------- */
.wlp__faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--brand-grey-200);
  color: var(--brand-grey-700);
}

.wlp__faq-item:first-child {
  padding-top: 0;
}

.wlp__faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* --- Final call to action: navy band, the yellow button carries the accent ----- */
.wlp__cta {
  background: var(--brand-gradient-navy);
  color: var(--brand-white);
}

.wlp__cta p {
  color: rgba(255, 255, 255, 0.8);
}

.wlp__cta-link {
  color: var(--brand-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.2em;
}

.wlp__cta-link:hover,
.wlp__cta-link:focus-visible {
  color: var(--brand-white);
  text-decoration-color: var(--brand-primary);
}

.wlp__cta-sep {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Breadcrumb trail (matches the BreadcrumbList JSON-LD) -------------------- */
.wlp__crumbs {
  font-size: 0.8125rem;
  color: var(--brand-grey-500);
}

.wlp__crumbs-link {
  color: var(--brand-grey-600);
  text-decoration: underline;
  text-decoration-color: var(--brand-grey-300);
  text-underline-offset: 0.2em;
}

.wlp__crumbs-link:hover,
.wlp__crumbs-link:focus-visible {
  color: var(--brand-navy);
}
