/* DLC Ecommerce LLC — ink & ledger
   paper #EFF1EE · ink #16211F · pine #0F5C4A · muted #6B7A76 · rule #D2D8D4 */

:root {
  --paper: #EFF1EE;
  --paper-raised: #F7F8F6;
  --ink: #16211F;
  --pine: #0F5C4A;
  --muted: #62716C;
  --rule: #D2D8D4;
  --max: 68rem;
  --gut: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* ---------- type ---------- */

h1, h2, h3, .eyebrow, .band, nav, .btn, th {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

h1 {
  font-size: clamp(2.25rem, 6.5vw, 4.25rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-stretch: 108%;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 0.4rem;
}

p { margin: 0 0 1.1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.125rem, 2.1vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 48ch;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

a { color: var(--pine); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gut);
  top: 0.75rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 3px;
}

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 1.4rem;
}
.wordmark {
  font-family: "Archivo", sans-serif;
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--pine); }
.masthead nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2rem, 5vw, 3.5rem); }

.hero .lede { color: var(--muted); }

/* the signature: an operating band, not a stat row.
   These four facts are what a client (and a payment processor) actually needs. */
.band {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.band div {
  padding: 1rem 1.25rem 1.1rem 0;
  border-right: 1px solid var(--rule);
}
.band div:last-child { border-right: 0; }
.band dt {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.band dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 105%;
  letter-spacing: -0.005em;
}
@media (max-width: 40rem) {
  .band { grid-template-columns: repeat(2, 1fr); }
  .band div:nth-child(2) { border-right: 0; }
  .band div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

/* ---------- sections ---------- */

section { padding-block: clamp(3rem, 7vw, 5rem); }
section + section { border-top: 1px solid var(--rule); }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem 2.5rem;
}
.cols p { color: var(--muted); font-size: 0.9375rem; margin: 0; }

/* scope: what we do / what we don't — the honest pair */
.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--paper-raised);
}
.scope > div { padding: clamp(1.5rem, 3vw, 2rem); }
.scope > div:first-child { border-right: 1px solid var(--rule); }
.scope h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.scope ul { margin: 0; padding: 0; list-style: none; }
.scope li {
  font-size: 0.9375rem;
  line-height: 1.45;
  padding: 0.5rem 0 0.5rem 1.35rem;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.scope li:last-child { border-bottom: 0; }
.scope li::before {
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.scope .yes li::before { content: "+"; color: var(--pine); font-weight: 700; }
.scope .no li::before { content: "\2013"; color: var(--muted); }
.scope .no li { color: var(--muted); }
@media (max-width: 44rem) {
  .scope { grid-template-columns: 1fr; }
  .scope > div:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* billing steps — a real sequence, so it earns its numbering */
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
ol.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
ol.steps li:first-child { border-top: 1px solid var(--rule); }
ol.steps li::before {
  content: counter(s);
  font-family: "Archivo", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pine);
  letter-spacing: 0.04em;
}
ol.steps p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9375rem; }
ol.steps h3 { grid-column: 2; }
ol.steps p { grid-column: 2; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.75rem 2.5rem;
}
.contact-grid dt {
  font-family: "Archivo", sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-grid dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

.todo {
  background: #FFF3CD;
  border: 1px dashed #A97C1A;
  color: #6B4E0C;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  font-family: "Archivo", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ---------- legal pages ---------- */

.legal { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.legal h1 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); margin-bottom: 0.5rem; }
.legal .updated {
  font-family: "Archivo", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.125rem;
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p, .legal li { color: var(--ink); font-size: 1rem; }
.legal ul { max-width: 62ch; padding-left: 1.1rem; }
.legal li { margin-bottom: 0.45rem; }

/* ---------- footer ---------- */

footer {
  border-top: 2px solid var(--ink);
  padding-block: 2rem 3rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .legal-name { font-family: "Archivo", sans-serif; font-weight: 500; }

/* ---------- motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: none; }
}
.hero h1, .hero .lede, .hero .band {
  animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.hero .lede { animation-delay: 0.08s; }
.hero .band { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
