.shopify-feature,
.shopify-hero,
.shopify-page > section {
  border-top: 1px solid var(--line);
  padding: clamp(3.25rem, 7vw, 6rem) 0;
}

.shopify-intro,
.shopify-method,
.shopify-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
}

.shopify-intro {
  align-items: end;
}

.shopify-feature h2 span {
  color: var(--red);
}

.shopify-feature .shopify-intro p,
.shopify-page .shopify-intro p,
.shopify-page .lead {
  max-width: 42rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.shopify-areas,
.shopify-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.shopify-areas,
.shopify-service-grid,
.shopify-proof {
  margin: 2rem 0;
}

.shopify-area,
.shopify-service,
.shopify-proof article {
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}

.shopify-feature h3,
.shopify-page h3 {
  font-family: var(--heading-font);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.2;
  margin: 0 0 .625rem;
}

.shopify-page p,
.shopify-page li,
.shopify-feature p {
  line-height: 1.55;
}

.shopify-cta {
  font-weight: 700;
  text-underline-offset: .3em;
}

.shopify-cta:hover {
  color: var(--red);
}

@media (max-width: 760px) {
  .shopify-intro,
  .shopify-method,
  .shopify-service-grid,
  .shopify-areas,
  .shopify-proof {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Shopify service page */
.sp-hero, .sp-economics, .sp-close {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.sp-pitch .button { margin-top: .5rem; }
.sp-explorer {
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 2.25rem);
  border: 0;
  color: var(--paper);
  background: var(--ink);
  box-shadow: .45rem .45rem 0 var(--red);
}
.sp-board-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.sp-board-heading > span:last-child { color: #ccc; font-size: .875rem; }
.sp-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.sp-switch input, .sp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sp-switch label {
  padding: .8rem .25rem;
  text-align: center;
  border: 1px solid #777;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(.875rem, 1.2vw, 1rem);
}
.sp-switch input:checked + label { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sp-switch input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; z-index: 1; }
.sp-screen {
  display: none;
  grid-column: 1 / -1;
  padding: clamp(1rem, 2.5vw, 2rem);
  margin-top: .75rem;
  background: var(--paper);
  color: var(--ink);
}
#sp-product:checked ~ #sp-product-view,
#sp-stock:checked ~ #sp-stock-view,
#sp-repeat:checked ~ #sp-repeat-view { display: block; }
.sp-kicker { display:flex; gap:.6rem; align-items:center; font-weight:700; font-size:.875rem; }
.sp-kicker::before { content:""; width:1.7rem; height:.35rem; background:var(--red); }
.shopify-page .sp-screen h3 { font-size:clamp(1.6rem, 3vw, 2.65rem); letter-spacing:-.05em; }
.sp-screen p, .sp-service-list p { margin-bottom: 1rem; }
.sp-spec, .sp-ledger dl { margin: 0; }
.sp-spec > div, .sp-ledger dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: .65rem 0;
}
.sp-spec dt, .sp-spec dd { font-size:.9rem; }
.sp-spec dd, .sp-ledger dd { margin:0; text-align:right; }
.sp-spec dd, .sp-ledger dt { font-weight:700; }
.sp-service-list { margin-top:clamp(2rem,4vw,4rem); }
.sp-service-list article {
  display:grid;
  grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);
  gap:clamp(1rem, 6vw, 6rem);
  padding:clamp(1.4rem,3vw,2.8rem) 0;
  border-top:1px solid var(--line);
}
.shopify-page .sp-service-list h3 { max-width:18ch; font-size:clamp(1.5rem,3vw,2.5rem); letter-spacing:-.045em; }
.sp-service-list p:last-child { margin:0; font-size:1rem; }
.sp-service-list strong { display:block; }
.shopify-page > .sp-economics {
  color:var(--paper);
  background:var(--ink);
  padding:clamp(1.5rem,4vw,4rem);
}
.sp-econ-copy .eyebrow { color:#ff857c; }
.sp-econ-copy .lead, .sp-close .lead { margin-top:1.25rem; }
.sp-ledger { color:var(--ink); background:var(--paper); padding:clamp(1rem,2.5vw,2rem); }
.sp-ledger-title { font-weight:900; font-size:1.375rem; margin-bottom:1rem; }
.sp-ledger dd { font-size:.9rem; max-width:55%; }
.sp-ledger dt span { display:inline-block; font-weight:900; }
.sp-ledger dl > .sp-ledger-total { border-top:3px solid var(--red); }
.sp-close .button { justify-self:end; }
@media (max-width: 850px) {
  .sp-hero, .sp-economics, .sp-close { grid-template-columns:minmax(0,1fr); }
  .sp-close .button { justify-self:start; }
}
@media (max-width: 650px) {
  .sp-service-list article { grid-template-columns:minmax(0,1fr); gap:.6rem; }
  .shopify-page .sp-service-list h3 { max-width:none; }
}
