:root {
  --bg: #0d1117;
  --surface: #161b22;
  --border: #232a33;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #ff9900;
  --accent-text: #111;
  --max: 820px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: #58a6ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.site-header .brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}
.site-header nav a {
  color: var(--muted);
  margin-left: 1rem;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

/* ---- Index grid ---- */
.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.hero p {
  color: var(--muted);
  margin-top: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--text);
}
.card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.card .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--accent);
}
.card-image {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.card h2 {
  font-size: 1.1rem;
  margin: 0.4rem 0;
}
.card .meta {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Review page ---- */
.review-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent);
}
.review-header h1 {
  font-size: 2.1rem;
  margin: 0.3rem 0 0.5rem;
}
.review-header .lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-image {
  margin: 1.5rem 0 0;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  margin: 1.25rem 0;
}
.cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}
.cta.full {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.specs th,
.specs td {
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
}
.specs th {
  color: var(--muted);
  font-weight: 500;
  width: 45%;
}
.specs tr:last-child th,
.specs tr:last-child td {
  border-bottom: none;
}

.prose {
  margin-top: 2rem;
}
.prose h2 {
  margin-top: 2rem;
}
.prose img {
  max-width: 100%;
  border-radius: 8px;
}

.social {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.social h2 {
  font-size: 1.2rem;
}
.social-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
}
.social-card .platform {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--accent);
}
.empty {
  color: var(--muted);
}
