/* ============================================================
   Auto Video Maker Publisher — static site stylesheet
   Dark, professional, minimal. No frameworks, no JavaScript.
   ============================================================ */

:root {
  --bg: #0d1117;
  --bg-alt: #131a23;
  --bg-card: #161d27;
  --border: #26303c;
  --text: #e6edf3;
  --text-muted: #9aa7b4;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.12);
  --max-width: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background-color: rgba(13, 17, 23, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.brand-name {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.brand-name strong {
  color: var(--text);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  background-color: var(--bg-card);
}

.site-nav a.active {
  color: var(--accent);
  background-color: var(--accent-soft);
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 88px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(79, 140, 255, 0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(79, 140, 255, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ---------- Page hero (legal pages) ---------- */

.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, rgba(79, 140, 255, 0.07), transparent 60%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-sub {
  color: var(--text-muted);
  max-width: 680px;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 1.05rem;
}

/* ---------- How It Works steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.step {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.step-number {
  counter-increment: step;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Legal content ---------- */

.legal-content {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 72px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-content ul {
  color: var(--text-muted);
  margin: 0 0 14px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.placeholder-note {
  font-size: 0.88rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--bg-alt);
  padding: 40px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text);
  background-color: var(--bg-card);
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.84rem;
  max-width: 640px;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .header-inner {
    justify-content: center;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 52px 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}