* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0f1a;
  --bg-card: #111827;
  --accent: #f5a623;
  --text: #e0e6ed;
  --text-muted: #a0aec0;
  --text-dim: #4a5568;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

/* Header */
.site-header {
  border-bottom: 1px solid #1f2937;
  padding: 1rem 2rem;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 40px; width: auto; }
nav { display: flex; gap: 1.5rem; }
nav a { color: var(--text-muted); font-size: 0.95rem; }
nav a:hover { color: var(--accent); }

/* Main */
main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

/* Maintenance */
.maintenance {
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.maintenance-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}
.maintenance h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.maintenance p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Home hero */
.hero {
  text-align: center;
  padding: 4rem 0 3rem;
}
.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.2s;
}
.cta:hover { opacity: 0.85; color: var(--bg); }
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2rem auto;
  opacity: 0.4;
}

/* Section page (listing) */
.section-header {
  margin-bottom: 2rem;
}
.section-header h1 {
  font-size: 1.8rem;
  color: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid #1f2937;
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent); }
.card .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.card h2 a { color: inherit; }
.card h2 a:hover { color: var(--accent); }
.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Post */
.post { max-width: 720px; margin: 0 auto; }
.post-header { margin-bottom: 2rem; }
.post-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.post-header h1 {
  font-size: 1.8rem;
  color: #fff;
  margin-top: 0.5rem;
  line-height: 1.3;
}
.post-body {
  color: var(--text-muted);
  line-height: 1.8;
}
.post-body p { margin-bottom: 1rem; }
.post-body strong { color: var(--text); }
.post-body a { color: var(--accent); }

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.post-nav {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2937;
}
.post-nav a { color: var(--text-muted); }
.post-nav a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid #1f2937;
  padding: 1.5rem 2rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 600px) {
  .header-inner { flex-direction: column; gap: 0.75rem; }
  .hero h1 { font-size: 1.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
