:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --text: #1f1b16;
  --muted: #6b6259;
  --accent: #c2410c;
  --accent-ink: #ffffff;
  --line: #e7e1d8;
  --soft: #f0ebe3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15130f;
    --surface: #1f1c17;
    --text: #f3eee7;
    --muted: #b3a999;
    --accent-ink: #15130f;
    --line: #36312a;
    --soft: #29251f;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.draft { background: #f5c542; color: #1f1b16; text-align: center; font-size: 14px; padding: 6px 16px; }

/* Header and network bar */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--text); letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.bar nav a { margin-left: 20px; text-decoration: none; color: var(--muted); font-weight: 500; }
.network { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.network a { flex: none; font-size: 14px; text-decoration: none; color: var(--muted); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); }
.network a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* Hero */
.hero { padding: 48px 0 32px; }
.hero.has-photo { background-size: cover; background-position: center; color: #fff; padding: 88px 0 72px; }
.hero.has-photo .eyebrow { color: #fff; opacity: 0.85; }
.hero.has-photo .lede { color: rgba(255,255,255,0.88); }
.eyebrow { text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; margin: 0 0 8px; }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 820px; }
.lede { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0; }
.disclose { font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 12px; margin: 24px 0; max-width: 760px; }

/* Quick picks, tips, table */
.quick { background: var(--soft); border-radius: 14px; padding: 20px 24px; margin-bottom: 8px; }
.quick h2 { margin: 0 0 8px; font-size: 18px; }
.quick ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.qp-label { display: inline-block; min-width: 150px; font-weight: 700; }
.tips, .glance { padding-top: 40px; }
.tips h2, .glance h2, .tier h2, .how h2, .faq h2, .more h2 { font-size: 26px; margin: 0 0 16px; letter-spacing: -0.01em; }
.tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.tip h3 { margin: 8px 0 6px; font-size: 18px; }
.tip p { margin: 0; color: var(--muted); }
.tip-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
td:last-child { white-space: nowrap; }
.toc { font-size: 15px; color: var(--muted); margin-top: 32px; }
.toc a { margin-left: 12px; }

/* Product cards */
.tier { padding-top: 32px; }
.tier h2 small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.3; padding-right: 40px; }
.card p { margin: 0 0 12px; }
.card .for { font-size: 14px; color: var(--accent); font-weight: 600; }
.num { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.btn { margin-top: auto; align-self: flex-start; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; }
.btn:hover { filter: brightness(1.08); }

.how, .faq { padding-top: 40px; max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }

/* Guide and sister-site cards */
.more { padding-top: 48px; }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s; }
.guide-card:hover { transform: translateY(-2px); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--soft); }
.guide-card div { padding: 18px 20px 20px; }
.guide-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.guide-card p { color: var(--muted); margin: 0; font-size: 15px; }
.sisters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sister { position: relative; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; font-weight: 700; }
.sister img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; filter: brightness(.6); }
.sister span { position: absolute; left: 14px; bottom: 12px; right: 14px; }
.prose { max-width: 720px; padding-top: 40px; padding-bottom: 40px; }

footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 24px 0; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
  .qp-label { display: block; min-width: 0; }
  .toc a { display: inline-block; }
  .hero.has-photo { padding: 56px 0 44px; }
  .bar { height: auto; min-height: 56px; }
  .brand { font-size: 17px; }
  .bar nav a { margin-left: 14px; }
}
