:root {
  --bg: #0f1a14;
  --bg-alt: #16241c;
  --surface: #1c2f24;
  --text: #e8efe9;
  --muted: #9fb3a6;
  --accent: #4caf7d;
  --accent-hover: #5fc392;
  --border: #2a4132;
  --max-width: 1040px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 680px; }

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

/* Header */
.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}
.brand img { display: block; height: 36px; width: auto; }
.brand-accent { color: var(--accent); }

.site-nav { display: flex; gap: 24px; }
.site-nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: linear-gradient(160deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 2.75rem; margin: 0 0 16px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #07140d; }
.btn-primary:hover { background: var(--accent-hover); color: #07140d; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.page-head {
  padding: 56px 0 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-head h1 { font-size: 2.25rem; margin: 0 0 12px; }
h2 { font-size: 1.75rem; margin: 0 0 16px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
.section-intro { color: var(--muted); max-width: 680px; margin: 0 0 36px; }
.muted { color: var(--muted); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-link { font-weight: 600; }

.product-block { max-width: 720px; }
.product-block .btn { margin-top: 12px; }

/* Contact */
.contact-email { font-size: 1.4rem; font-weight: 600; margin: 24px 0; }

/* Draft markers */
.draft-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #5a4a12;
  color: #ffe08a;
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 8px;
}
.draft-note {
  background: var(--surface);
  border-left: 3px solid #ffe08a;
  padding: 14px 18px;
  border-radius: 6px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-nav { display: flex; gap: 18px; }

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hero h1 { font-size: 2.1rem; }
}
