/* Shared styles for guide and landing pages. The homepage keeps its own inline styles. */
:root {
  --bg: #faf7f2;
  --ink: #16130f;
  --ink-soft: #4a443d;
  --line: #1a1714;
  --accent: #c0392b;
  --accent-deep: #8b2a20;
  --paper: #fffdf8;
  --muted: #ece6da;
  --shadow: 0 1px 0 rgba(22,19,15,0.06), 0 8px 24px rgba(22,19,15,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ---------- Nav (matches homepage) ---------- */
nav.top {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
nav.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 18px;
  text-decoration: none;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 22%, var(--ink) 23% 95%, var(--bg) 96% 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
  font-size: 14px; text-decoration: none; background: var(--ink); color: var(--paper);
  transition: transform .12s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  nav.top .wrap { padding: 14px 20px; gap: 12px; }
  .brand { font-size: 16px; gap: 10px; white-space: nowrap; }
  .brand-mark { width: 24px; height: 24px; flex-shrink: 0; }
  .nav-cta { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 380px) {
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 22px; height: 22px; }
  .nav-cta { padding: 7px 12px; }
}
@media (max-width: 340px) {
  .nav-cta { display: none; }
}

/* ---------- Article header ---------- */
.article-head { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06; letter-spacing: -0.02em; font-weight: 700;
}
.dek { margin-top: 18px; font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); }
.byline {
  margin-top: 22px;
  font-family: 'Courier New', monospace; font-size: 13px;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- Prose ---------- */
.prose { padding: 8px 0 72px; }
.prose h2 {
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.15; letter-spacing: -0.015em; font-weight: 700;
  margin: 56px 0 16px;
}
.prose h3 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; }
.prose p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }
.prose p strong, .prose li strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { font-size: 17px; color: var(--ink-soft); margin-bottom: 10px; }
.prose a { color: var(--accent); text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-deep); }

.callout {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 30px 14px; box-shadow: var(--shadow); margin-top: 44px;
}
.callout h2 {
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 14px;
}
.callout ul { margin-left: 20px; }

/* Timeline */
.timeline { list-style: none; margin: 24px 0 8px 6px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 26px; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--bg);
}
.timeline .date {
  display: block; margin-bottom: 2px;
  font-family: 'Courier New', monospace; font-size: 13px;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
}

/* Shipping cost comparison (matches homepage) */
.compare {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 28px; box-shadow: var(--shadow); margin: 24px 0 12px;
}
.compare h3 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.compare-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed rgba(22,19,15,0.15);
}
.compare-row:last-of-type { border-bottom: 0; }
.compare-row .label { font-size: 15px; color: var(--ink-soft); }
.compare-row .price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.compare-row .price.bad { color: var(--accent); }
.compare-row .price.good { color: #2d6a4f; }
.compare-note { margin-top: 10px; font-size: 13px !important; font-style: italic; }

/* Options */
.options { display: grid; gap: 16px; margin: 22px 0 8px; }
.option {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px 8px; box-shadow: var(--shadow);
}
.option h3 { margin: 0 0 8px; }
.option p { font-size: 16px; }

/* CTA */
.cta-box {
  margin-top: 48px; padding: 32px 30px; border-radius: 14px;
  background: var(--ink); color: var(--paper);
}
.cta-box h2 { color: var(--paper); margin: 0 0 12px; }
.cta-box p { color: #d9d2c5; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-block; padding: 13px 20px; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 500;
  transition: transform .12s ease, background .12s ease;
}
.prose .btn-primary { background: var(--accent); color: white; }
.prose .btn-primary:hover { background: var(--accent-deep); color: white; transform: translateY(-1px); }
.prose .btn-ghost { border: 1px solid #6b645a; color: var(--paper); }
.prose .btn-ghost:hover { background: #2a251f; color: var(--paper); }

.disclaimer {
  margin-top: 40px; padding: 16px 20px;
  border: 1px dashed var(--line); border-radius: 10px; background: var(--paper);
}
.disclaimer p { font-size: 14px; margin: 0; }
.sources li { font-size: 14px; margin-bottom: 6px; }

/* ---------- Footer (matches homepage) ---------- */
footer { padding: 36px 0 56px; border-top: 1px solid var(--line); }
footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-soft); gap: 16px; flex-wrap: wrap;
}
footer .brand { font-size: 14px; }

::selection { background: var(--accent); color: white; }

/* ---------- Numbered steps (landing pages) ---------- */
.how-steps { list-style: none; counter-reset: step; margin: 24px 0 8px; display: grid; gap: 16px; }
.how-steps li {
  counter-increment: step; position: relative; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px 14px 74px; box-shadow: var(--shadow);
}
.how-steps li::before {
  content: counter(step);
  position: absolute; left: 24px; top: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.how-steps h3 { margin: 4px 0 6px; }
.how-steps p { font-size: 16px; }
@media (max-width: 480px) {
  .how-steps li { padding: 64px 20px 12px; }
  .how-steps li::before { left: 20px; top: 18px; }
}

/* ---------- Related links ---------- */
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 {
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 12px;
}
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 8px; }
