body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f1115;
    color: #e1e1e6;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #161b22;
    border-bottom: 1px solid #30363d;
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
}

nav a {
    color: #8b949e;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}

nav a:hover {
    color: #58a6ff;
}

.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(to bottom, #161b22, #0f1115);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.section {
    padding: 4rem 0;
}

.alt-bg {
    background-color: #161b22;
    border-top: 1px solid #30363d;
    border-bottom: 1px solid #30363d;
}

.section-desc {
    color: #8b949e;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card, .product-card {
    background: #21262d;
    border: 1px solid #30363d;
    padding: 20px;
    border-radius: 8px;
}

.placeholder-img {
    background: #30363d;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
}

.btn.primary {
    background: #238636;
    color: #fff;
}

.btn.primary:hover {
    background: #2ea043;
}

.btn.secondary {
    background: #30363d;
    color: #c9d1d9;
    margin-left: 10px;
}

.btn.secondary:hover {
    background: #484f58;
}

.affiliate-link {
    color: #58a6ff;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #8b949e;
    font-size: 0.875rem;
}

/* ---- store grid (higgchat shop) ---- */
:root {
  --steel-0: #21242a;
  --steel-1: #2b2f36;
  --steel-2: #363b43;
  --steel-3: #40454e;
  --border: #454b55;
  --border-hover: #565e6a;
  --text-primary: #e8eaed;
  --text-secondary: #9aa3b0;
  --text-muted: #6c7382;
  --blue: #3b5bdb;
  --blue-bright: #6684ea;
  --blue-text: #a8bcf5;
}

body {
  margin: 0;
  background: var(--steel-0);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--steel-1);
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.wordmark span { color: var(--blue-bright); }

.main-nav { display: flex; gap: 28px; font-size: 14px; }

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover { color: var(--text-primary); }

.main-nav a.active {
  color: var(--text-primary);
  border-bottom-color: var(--blue);
}

.hero { padding: 56px 32px 40px; max-width: 720px; }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.hero p { color: var(--text-secondary); font-size: 15px; margin: 0; max-width: 46ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  padding: 0 32px 64px;
  max-width: 1200px;
}

.card {
  background: var(--steel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.card:hover { border-color: var(--border-hover); }

.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--steel-3); overflow: hidden; }

.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-media.placeholder { display: flex; align-items: center; justify-content: center; }

.card-media.placeholder svg { width: 34px; height: 34px; stroke: var(--text-muted); }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(33, 36, 42, 0.85);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 5px;
}

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card-title { font-size: 14px; font-weight: 500; margin: 0; }

.card-price { font-size: 13px; color: var(--text-secondary); margin: 0; }

.card-cta {
  margin-top: auto;
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.card-cta:hover { background: var(--blue); color: #fff; }

.card-cta.muted { border-color: var(--border); color: var(--text-muted); cursor: default; }

.card-cta.muted:hover { background: transparent; color: var(--text-muted); }

@media (max-width: 480px) {
  .site-header { padding: 16px 20px; }
  .main-nav { gap: 18px; }
  .hero { padding: 40px 20px 28px; }
  .grid { padding: 0 20px 48px; gap: 16px; }
}

/* ---- blog / post layout ---- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 64px;
}

.page .hero { padding: 56px 0 32px; max-width: none; }

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.post-list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.post-list-item a {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
}

.post-list-item a:hover { color: var(--blue-bright); }

.post-date {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  margin-left: 16px;
}

.page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 28px;
  margin: 40px 0 16px;
}

.page p {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.page a { color: var(--blue-bright); text-decoration: underline; }

@media (max-width: 480px) {
  .page { padding: 0 20px 48px; }
}
