/* A Little Context shop — yellow #F5EF43, ink #151515, Jost */
:root {
  --yellow: #F5EF43;
  --ink: #151515;
  --paper: #fff;
  --muted: #555;
  --sans: "Jost", "Century Gothic", Arial, sans-serif;
  --gutter: 24px;
  --max: 44rem;
  --wide: 64rem;
  --rule: 2px;
  --top-rule: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: 0 0 0.45em; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

.top-rule {
  height: var(--top-rule);
  background: var(--ink);
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.wrap-wide { width: min(var(--wide), calc(100% - var(--gutter) * 2)); }

.site-header {
  background: var(--yellow);
  border-bottom: var(--rule) solid var(--ink);
  padding: 1.25rem 0;
}
.header-inner {
  width: min(var(--wide), calc(100% - var(--gutter) * 2));
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.brand:hover { text-decoration: none; }
.brand-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-name {
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.nav {
  display: flex;
  gap: 1.25rem;
  font-weight: 600;
}
.nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { text-decoration: underline; }

.hero {
  background: var(--yellow);
  border-bottom: var(--rule) solid var(--ink);
  padding: 3rem 0 3.25rem;
}
.hero .lede, .hero p { max-width: 40rem; }

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section { padding: 3rem 0; border-bottom: var(--rule) solid var(--ink); }
.section-intro { max-width: 40rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.25rem 0 0.5rem; }
.price-note, .fine { color: var(--muted); font-size: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
}
.btn:hover {
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--yellow);
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.55rem 0.7rem;
  background: var(--yellow);
  border: var(--rule) solid var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.product-list { list-style: none; padding: 0; margin: 0; }
.product-list li {
  margin: 0;
  padding: 1.75rem 0;
  border-top: var(--rule) solid var(--ink);
}
.product-list li:last-child { border-bottom: var(--rule) solid var(--ink); }
.product-list h2 { margin-bottom: 0.35em; }
.product-list h2 a { text-decoration: none; }
.product-list h2 a:hover { text-decoration: underline; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.skill-groups {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .skill-groups { grid-template-columns: repeat(3, 1fr); }
  .wrap-wide.skills-wrap { width: min(var(--wide), calc(100% - var(--gutter) * 2)); }
}
.group-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.skills { list-style: none; padding: 0; margin: 0; }
.skills li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  align-items: start;
}
.skills .num { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.skills code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
}
.skills p { margin: 0.2em 0 0; }

figure { margin: 2rem 0 0; }
figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 0.6rem; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  margin: 0 0 1.25rem;
  padding-left: 2.5rem;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-weight: 700;
  color: var(--muted);
}
.paths {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.7;
}

.split { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .split-2 { grid-template-columns: 1fr 1fr; } }
.card {
  border: var(--rule) solid var(--ink);
  padding: 1.25rem 1.25rem 0.5rem;
}
.card h3 { margin-bottom: 0.5em; }

.facts { display: grid; grid-template-columns: 8rem 1fr; gap: 0.6rem 1rem; margin: 0; }
.facts dt { font-weight: 700; margin: 0; }
.facts dd { margin: 0; }

.cta-band, .upsell { background: var(--yellow); }

.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--paper);
}
.site-footer .wrap { width: min(var(--wide), calc(100% - var(--gutter) * 2)); }
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin-bottom: 1.75rem;
}
.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.site-footer p { margin: 0 0 0.35rem; }
.footer-meta { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

code { font-size: 0.95em; }

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  body { font-size: 1.05rem; }
  .header-inner { flex-direction: column; gap: 0.5rem; }
}
