/* Size guide — storefront page-chrome aligned with /collection + /bespoke. */

.sg {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-6) var(--pad-x-d) var(--s-9);
}

.sg-hero {
  padding: var(--s-7) 0 var(--s-6);
  border-bottom: var(--rule);
}

.sg-hero .crumb {
  color: var(--ink-3);
  margin-bottom: var(--s-4);
}

.sg-hero .crumb a {
  color: inherit;
  text-decoration: none;
}

.sg-hero .crumb .sep {
  margin: 0 var(--s-2);
  color: var(--ink-4);
}

.sg-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.04;
  margin: 0 0 var(--s-4);
}

.sg-hero .standfirst {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.sg-section {
  padding: var(--s-7) 0 var(--s-5);
  border-bottom: var(--rule);
}

.sg-section:last-child {
  border-bottom: 0;
}

.sg-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 var(--s-4);
}

.sg-section p {
  max-width: 64ch;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 var(--s-3);
}

.sg-section a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.sg-howto {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4) var(--s-6);
  max-width: 80ch;
}

.sg-howto li {
  color: var(--ink-2);
  line-height: 1.55;
  border-top: var(--rule);
  padding-top: var(--s-3);
}

.sg-howto b {
  color: var(--ink);
}

.sg-tbl-wrap {
  overflow-x: auto;
  border: var(--rule);
  border-radius: 2px;
}

.sg-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sg-tbl th,
.sg-tbl td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: var(--rule);
  font-variant-numeric: tabular-nums;
}

.sg-tbl thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-2);
}

.sg-tbl tbody tr:last-child td {
  border-bottom: 0;
}

.sg-tbl tbody td:first-child {
  font-weight: 600;
  width: 80px;
}

.sg-help {
  background: var(--paper-2);
  padding: var(--s-6);
  border: var(--rule);
  border-radius: 2px;
  margin-top: var(--s-6);
}
