/* SwingOS Marketing Site — styles.css */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ─── RESET & BASE ────────────────────────────────────────────────────────── */

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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a24;
  --bg-elevated: #22222e;
  --border-color: #2a2a3a;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #707080;
  --accent-primary: #6366f1;
  --accent-secondary: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─────────────────────────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-wordmark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-secondary);
  text-decoration: none;
}

.btn-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--accent-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cta:hover {
  background: #5558e6;
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 120px 48px 100px;
  text-align: center;
}

.hero-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-cta {
  padding: 14px 36px;
  font-size: 15px;
}

/* ─── GTM ENTROPY ─────────────────────────────────────────────────────────── */

.entropy-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 48px;
}

.entropy-inner {
  max-width: 780px;
  margin: 0 auto;
}

.entropy-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 24px;
}

.entropy-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.entropy-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ─── TERMS ───────────────────────────────────────────────────────────────── */

.terms-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 48px;
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
}

.term {
  max-width: 480px;
}

.term-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.term-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.term-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.term-closer {
  margin-top: 12px;
  font-weight: 600;
  color: var(--text-primary);
  font-style: italic;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 32px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-sep {
  opacity: 0.5;
  margin: 0 2px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav {
    padding: 20px 24px;
  }

  .hero {
    padding: 80px 24px 64px;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-subhead {
    font-size: 16px;
  }

  .entropy-section {
    padding: 64px 24px;
  }

  .entropy-heading {
    font-size: 28px;
  }

  .entropy-body {
    font-size: 16px;
  }

  .terms-section {
    padding: 64px 24px;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer {
    padding: 24px;
    font-size: 12px;
  }
}
