/* After Dark Kit — night-visibility themed affiliate guide */
:root {
  --bg: #0b0f14;
  --bg-soft: #11161d;
  --card: #151c25;
  --card-hi: #1a2330;
  --line: #26303d;
  --text: #e8edf2;
  --muted: #9aa7b4;
  --accent: #d7ff3e;
  --accent-dim: #b8e02e;
  --accent-ink: #141a08;
  --warn: #ffb454;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* disclosure bar */
.disclosure-bar {
  background: #1d2707;
  color: #e5f5a8;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 14px;
  border-bottom: 1px solid #33450c;
}

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 16px;
}
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 18px; font-size: 0.92rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px;
  align-items: center; padding: 44px 0 40px;
}
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid #3d5310; border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
  background: rgba(215,255,62,0.06);
}
.hero h1 { font-size: 2.55rem; line-height: 1.14; font-weight: 800; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { color: var(--muted); margin: 18px 0 26px; font-size: 1.06rem; max-width: 34rem; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; text-decoration: none; border-radius: 999px;
  padding: 14px 30px; font-size: 1rem; letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(215,255,62,0.35); transition: box-shadow .2s, transform .2s;
}
.btn:hover { box-shadow: 0 0 24px 2px rgba(215,255,62,0.35); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--accent); border: 1.5px solid var(--accent-dim);
  box-shadow: none; margin-left: 10px;
}
.hero-figure { position: relative; }
.hero-figure img {
  border-radius: 20px; border: 1px solid var(--line);
  background: #fff;
}
.hero-figure figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(11,15,20,0.82); border: 1px solid var(--line);
  font-size: 0.76rem; color: var(--muted); border-radius: 8px; padding: 5px 10px;
}

/* category strip */
.cat-strip {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 0 30px;
}
.cat-strip .chip {
  font-size: 0.85rem; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  background: var(--bg-soft);
}
.cat-strip .chip:hover { color: var(--accent); border-color: var(--accent-dim); }
.cat-strip .chip b { color: var(--text); font-weight: 700; }

/* section headers */
section { padding: 34px 0; }
.sec-head { margin-bottom: 22px; }
.sec-head .kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sec-head h2 { font-size: 1.7rem; font-weight: 800; margin-top: 4px; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 46rem; }

/* editor picks */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pick {
  background: linear-gradient(160deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.pick img { aspect-ratio: 1/1; object-fit: cover; background: #fff; }
.pick .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pick .rank { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.pick h3 { font-size: 1.02rem; line-height: 1.35; }
.pick .why { color: var(--muted); font-size: 0.88rem; flex: 1; }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.price small { display: block; font-weight: 400; font-size: 0.7rem; color: var(--muted); }
.mini-cta {
  font-size: 0.84rem; font-weight: 700; color: var(--accent-ink); background: var(--accent);
  border-radius: 999px; padding: 8px 16px; text-decoration: none; white-space: nowrap;
}

/* decision guide */
.guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.guide-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(215,255,62,0.12); color: var(--accent); font-weight: 800; font-size: 0.9rem;
  margin-bottom: 10px;
}
.guide-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.guide-card p { color: var(--muted); font-size: 0.9rem; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { aspect-ratio: 1/1; object-fit: cover; background: #fff; }
.card .body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card .tag {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(215,255,62,0.1); border-radius: 6px; padding: 3px 8px;
}
.card h3 { font-size: 0.92rem; line-height: 1.35; }
.card .blurb { color: var(--muted); font-size: 0.8rem; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.card .foot .price { font-size: 0.98rem; }
.card .foot a { font-size: 0.8rem; font-weight: 700; text-decoration: none; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: var(--card); }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--bg-soft); }
tr:last-child td { border-bottom: none; }
td.p { font-weight: 700; white-space: nowrap; }

/* trust module */
.trust {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: stretch;
}
.trust .main {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.trust .main h3 { margin-bottom: 8px; }
.trust .main p { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.trust .side {
  background: #1d2707; border: 1px solid #33450c; border-radius: var(--radius); padding: 24px 26px;
  color: #d9e9a3; font-size: 0.88rem;
}
.trust .side b { color: #e5f5a8; }

/* checklist bottom area */
.checklist { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; align-items: start; }
.check-board {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0;
}
.check-row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.check-row:last-child { border-bottom: none; }
.check-row .box {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--accent-dim);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 900; font-size: 0.8rem;
}
.check-row h4 { font-size: 0.95rem; }
.check-row p { color: var(--muted); font-size: 0.82rem; }
.check-row .pill {
  font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.final-cta {
  background: linear-gradient(150deg, #223005, #141a08 70%);
  border: 1px solid #3d5310; border-radius: 18px; padding: 30px 28px;
  position: sticky; top: 20px;
}
.final-cta .kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.final-cta h3 { font-size: 1.45rem; margin: 8px 0 10px; line-height: 1.25; }
.final-cta p { color: #c4d48e; font-size: 0.9rem; margin-bottom: 18px; }
.final-cta .btn { width: 100%; text-align: center; }
.final-cta .micro { margin-top: 12px; font-size: 0.74rem; color: #8fa35c; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.faq-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.faq-item h4::before { content: "Q  "; color: var(--accent); font-weight: 800; }
.faq-item p { color: var(--muted); font-size: 0.86rem; }

/* footer */
footer.site-footer {
  margin-top: 40px; border-top: 1px solid var(--line); padding: 30px 0 46px;
  color: var(--muted); font-size: 0.84rem;
}
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 18px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer .links a { color: var(--muted); text-decoration: none; }
footer .links a:hover { color: var(--accent); }
footer .disc { font-size: 0.78rem; color: #6d7a88; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .picks { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust, .checklist, .faq, footer .cols { grid-template-columns: 1fr; }
  .final-cta { position: static; }
  .hero h1 { font-size: 1.9rem; }
  .site-nav { display: none; }
}
