:root {
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --gray: #94a3b8;
  --bg: #0f172a;
  --surface: #1e293b;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #052e16;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid #334155;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
}

.stats-bar {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  margin: 40px auto;
  max-width: 700px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

.legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.dot.available { background: var(--green); }
.dot.limit { background: var(--yellow); }
.dot.empty { background: var(--red); }
.dot.unknown { background: var(--gray); }

section {
  padding: 48px 0;
}

section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
}

.faq-item {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
}

.cta {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.08));
}

footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid #334155;
}

footer a {
  margin: 0 8px;
}

.footer-contact {
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.5;
}

.footer-contact a {
  margin: 0;
  color: var(--muted);
}

.footer-contact a:hover {
  opacity: 1;
  color: var(--text);
}

.copy-email {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: var(--muted);
  cursor: pointer;
}

.footer-contact .copy-email:hover {
  color: var(--text);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.96);
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.copy-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-header {
  padding: 16px 20px;
  border-bottom: 1px solid #334155;
  max-width: 960px;
  margin: 0 auto;
}

.site-header a {
  color: var(--muted);
  font-size: 14px;
}

.site-header a:hover {
  color: var(--text);
}

.article-page {
  padding: 32px 0 48px;
}

.article-page h1 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.25;
  margin-bottom: 12px;
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.article-page h2 {
  text-align: left;
  font-size: 20px;
  margin: 28px 0 12px;
}

.article-page p,
.article-page li {
  color: var(--muted);
  margin-bottom: 12px;
}

.article-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-card {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
}

.article-card h2 {
  text-align: left;
  font-size: 18px;
  margin-bottom: 8px;
}

.article-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-cta {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
}

.subscribe-section {
  padding: 48px 0 24px;
}

.subscribe-box {
  background: var(--surface);
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.subscribe-box h2 {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 10px;
}

.subscribe-lead {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 20px;
  font-size: 15px;
}

.subscribe-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.subscribe-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subscribe-fields input[type="email"],
.subscribe-fields input[type="text"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid #334155;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
}

.subscribe-fields .btn {
  flex: 0 0 auto;
}

.subscribe-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.subscribe-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.subscribe-status {
  margin-top: 12px;
  font-size: 14px;
}

.subscribe-status[data-state="success"] {
  color: var(--green);
}

.subscribe-status[data-state="error"] {
  color: var(--red);
}

.subscribe-status[data-state="pending"] {
  color: var(--muted);
}

.subscribe-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 24px; }
  .stats-bar { gap: 16px; }
}
