/* capsify.app — marketing + support site
 *
 * Minimal static site. Dark theme matching the app's brand language.
 * Comfortaa for the wordmark + display text (same as the app), DM Sans
 * for body. Both pulled from Google Fonts via the HTML <link>.
 */

:root {
  --bg: #0A0A0A;
  --bg-elevated: #141414;
  --text: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.66);
  --text-tertiary: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #FF6B35;
  --max-width: 640px;
}

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

html {
  background: var(--bg);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout ─────────────────────────────────────────────────────────────── */

.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

header.site .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

header.site .brand .wordmark {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
}

header.site .brand .wordmark .dot {
  color: var(--accent);
}

header.site nav {
  display: flex;
  gap: 20px;
}

header.site nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 120ms;
}

header.site nav a:hover {
  color: var(--text);
}

/* Hero ───────────────────────────────────────────────────────────────── */

section.hero {
  text-align: center;
  padding: 32px 0 64px;
}

section.hero img.logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 24px;
}

section.hero .wordmark {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

section.hero .wordmark .dot {
  color: var(--accent);
}

section.hero .tagline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* Content blocks ──────────────────────────────────────────────────────── */

section.block {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

section.block h2 {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

section.block h3 {
  font-weight: 600;
  font-size: 16px;
  margin: 24px 0 8px;
}

section.block p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

section.block a {
  color: var(--accent);
  text-decoration: none;
}

section.block a:hover {
  text-decoration: underline;
}

section.block ul {
  list-style: none;
  padding: 0;
}

section.block ul li {
  color: var(--text-secondary);
  padding: 6px 0 6px 18px;
  position: relative;
}

section.block ul li::before {
  content: '·';
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 20px;
  line-height: 1;
}

/* CTA ────────────────────────────────────────────────────────────────── */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0A0A0A;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 24px;
  transition: transform 120ms, opacity 120ms;
}

.cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.coming-soon {
  display: inline-block;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 24px;
}

/* Footer ─────────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: 13px;
}

footer.site nav {
  display: flex;
  gap: 20px;
}

footer.site nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer.site nav a:hover {
  color: var(--text);
}

/* Mobile ─────────────────────────────────────────────────────────────── */

@media (max-width: 540px) {
  .shell {
    padding: 32px 20px 64px;
  }

  header.site {
    margin-bottom: 32px;
  }

  section.hero .wordmark {
    font-size: 44px;
  }

  section.hero .tagline {
    font-size: 16px;
  }
}
