/* KEYHOLD — dark tech theme.
   Blacks and dark greys only. No frameworks, no webfonts. */

:root {
  --bg: #141417;
  --bg-deep: #1b1b20;
  --ink: #d6d6da;
  --ink-soft: #9a9aa2;
  --ink-faint: #6e6e76;
  --accent: #c9c9d2;
  --ember: #d08a4e;         /* forge ember */
  --steel: #6aa3d8;          /* steel blue */
  --copper: #b08050;         /* peasant copper */
  --line: #26262c;
  --card: #1b1b20;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.25;
  color: #f2f2f4;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.1rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.5rem; margin: 2.2rem 0 0.75rem; border-bottom: 2px solid #3a3a42; padding-bottom: 0.3rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }

a { color: #e8e8ec; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header ---------- */
.site-header {
  background: #101013;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { padding-top: 1.4rem; padding-bottom: 1.4rem; }
.brand {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
}
.brand small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.22em; margin-top: 0.25rem; }
.nav { margin-top: 0.9rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0 1.8rem;
}
.hero p.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.updated {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  background: #1e1e24;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  color: var(--ink-soft);
}
.updated strong { color: #fff; }

/* ---------- pick cards ---------- */
.pick {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.4rem 0;
  position: relative;
}
.pick .badge {
  position: absolute;
  top: -0.85rem;
  left: 1.2rem;
  background: #2c2c34;
  color: #e8e8ec;
  border: 1px solid #3a3a44;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}
.pick h3 { margin-top: 0.4rem; font-size: 1.35rem; }
.pick h3 .price { font-family: inherit; font-size: 1rem; color: var(--ink-soft); font-weight: normal; }
.pick-img {
  display: block;
  width: 100%;
  max-width: 340px;
  max-height: 260px;
  object-fit: contain;
  background: #0a0a0c;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1rem 0;
  padding: 0.75rem;
}
.pick-img-fallback {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0c;
  border: 1px dashed #3a3a44;
  border-radius: 8px;
  margin: 1rem 0;
  color: var(--ink-faint);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem 1.2rem;
  margin: 0.9rem 0;
  font-size: 0.92rem;
}
.specs div { background: #1c1c21; border-radius: 6px; padding: 0.45rem 0.7rem; }
.specs dt, .specs .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-faint); }
.specs dd, .specs .v { margin: 0; font-weight: 600; color: var(--ink); }
.pick p { margin: 0.6rem 0; }
.fineprint { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 640px; background: var(--card); font-size: 0.93rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #1e1e24; color: #fff; font-weight: 600; font-size: 0.95rem; }
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) td { background: #131316; }

/* ---------- blog ---------- */
.post-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.post-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
}
.post-list h3 { margin: 0 0 0.3rem; font-size: 1.25rem; }
.post-list time { font-size: 0.82rem; color: var(--ink-soft); }
.post-list p { margin: 0.5rem 0 0; color: var(--ink-soft); }

article.post time { font-size: 0.85rem; color: var(--ink-soft); }
article.post .disclaimer {
  background: #1c1c21;
  border-left: 4px solid #4a4a54;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border-radius: 0 8px 8px 0;
  margin: 1.4rem 0;
  color: var(--ink-soft);
}
article.post ul { padding-left: 1.3rem; }
article.post li { margin-bottom: 0.45rem; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 3rem;
  background: #101013;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.site-footer .wrap { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.site-footer a { color: #e8e8ec; }
.site-footer p { margin: 0.4rem 0; }

/* ---------- misc ---------- */
.cta-box {
  background: #1e1e24;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
}
.cta-box h2 { color: #fff; border: none; margin-top: 0; padding: 0; }
.cta-box a { color: #fff; }

hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .pick { padding: 1.1rem; }
}

.brand-logo { height: 40px; width: 40px; border-radius: 8px; vertical-align: middle; margin-right: 0.6rem; }
.pick-recommended { position: relative; border-color: #4a4a55; }
.dwarf-approved {
  position: absolute; top: -22px; right: 12px; width: 104px; height: 104px;
  background: #1b1b20; border: 2px solid var(--ember); box-shadow: 0 4px 18px rgba(208,138,78,0.25); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg); box-shadow: 0 4px 18px rgba(0,0,0,0.6); z-index: 2;
}
.dwarf-approved img { width: 52px; height: 52px; border-radius: 50%; }
.dwarf-approved span { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
  color: #d6d6da; text-align: center; line-height: 1.25; margin-top: 2px; }
.gaming-approved { transform: rotate(-8deg); border-color: var(--steel); box-shadow: 0 4px 18px rgba(106,163,216,0.25); }

.budget-pick { transform: rotate(5deg); border-color: var(--copper); box-shadow: 0 4px 18px rgba(176,128,80,0.22); }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 1.6rem 0 0.4rem; }
.pick-grid .pick { margin: 0; }
@media (max-width: 780px) { .pick-grid { grid-template-columns: 1fr; } }

.buy { margin-top: 1.1rem; }
.buy a {
  display: inline-block; background: var(--ember); color: #141417;
  font-weight: 700; font-size: 0.95rem; padding: 0.55rem 1.25rem;
  border-radius: 8px; text-decoration: none;
}
.buy a:hover { color: #141417; filter: brightness(1.12); }
.buy a.hist {
  display: inline; background: none; color: var(--muted, #a9a9b3);
  font-weight: 400; font-size: 0.82rem; padding: 0; border-radius: 0;
  text-decoration: underline; text-underline-offset: 2px;
}
.buy a.hist:hover { color: var(--ember); filter: none; }

.tagline {
  font-style: italic; font-size: 1.05rem; color: var(--ember);
  margin: 0.9rem 0 0.2rem; line-height: 1.45;
}

.group-label {
  font-size: 1.25rem; margin: 2.4rem 0 0.3rem;
  padding-left: 0.65rem; border-left: 3px solid var(--ember);
}
.group-sub { color: #a9a9b3; margin: 0 0 1.2rem; max-width: 70ch; }

/* ---------- fresh updates box ---------- */
.fresh-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin: 1.6rem 0;
}
.fresh-box h2 {
  margin: 0 0 0.5rem; font-size: 1.02rem; letter-spacing: 0.05em;
  text-transform: uppercase; border: none; padding: 0;
}
.fresh-box ul { margin: 0; padding: 0; list-style: none; }
.fresh-box li { margin: 0.35rem 0; font-size: 0.93rem; color: var(--ink-soft); }
.fresh-box time { color: var(--ember); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
