@import url("../tokens.css");

.storefront-policy {
  padding-block: var(--space-12) var(--space-20);
}

.storefront-policy__article {
  max-width: 840px;
}

.storefront-policy__header {
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.storefront-policy__eyebrow {
  margin-bottom: var(--space-3);
  color: var(--color-brand-secondary);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-policy__header h1 {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}

.storefront-policy__header > p:last-child,
.storefront-policy__lead,
.storefront-policy section p,
.storefront-policy li {
  color: var(--color-text-muted);
}

.storefront-policy__lead {
  margin-block: var(--space-8) var(--space-10);
  font-size: var(--text-md);
  line-height: var(--leading-loose);
}

.storefront-policy section + section {
  margin-top: var(--space-10);
}

.storefront-policy h2 {
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.storefront-policy section p,
.storefront-policy li {
  line-height: var(--leading-loose);
}

.storefront-policy section p + p,
.storefront-policy section p + ul {
  margin-top: var(--space-3);
}

.storefront-policy ul,
.storefront-policy ol {
  padding-left: var(--space-6);
}

.storefront-policy ul {
  list-style: disc;
}

.storefront-policy ol {
  list-style: decimal;
}

.storefront-policy li + li {
  margin-top: var(--space-2);
}

.storefront-policy a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 768px) {
  .storefront-policy {
    padding-block: var(--space-8) var(--space-12);
  }

  .storefront-policy__header h1 {
    font-size: var(--text-xl);
  }
}
