/* Clearstep - Minimal, calm, mobile-friendly styles */

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #2d2d2d;
  --color-text-muted: #6b6b6b;
  --color-primary: #4a7c59;
  --color-primary-hover: #3d6649;
  --color-border: #e5e5e5;
  --color-accent: #f0f4f1;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 720px;
  --spacing: 1.5rem;
}

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

/* Base */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
}

/* Main Content */
.content {
  flex: 1;
  padding: 3rem 0;
}

.content .container {
  max-width: var(--max-width);
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Feature List */
.features {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.features h2 {
  margin-top: 0;
  text-align: center;
}

.features ul {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.features li::before {
  content: "\2713";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* How It Works */
.how-it-works {
  margin: 3rem 0;
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
}

.step-number {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Privacy Promise */
.privacy-promise {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.privacy-promise h2 {
  margin-top: 0;
  color: var(--color-primary);
}

.privacy-promise p {
  margin-bottom: 0;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-accent);
  text-decoration: none;
}

/* FAQ */
.faq {
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.faq-item p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Legal Pages */
.legal-content {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 2rem;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-weight: 600;
  color: var(--color-primary);
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.25rem;
}

.footer-contact {
  margin-top: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  :root {
    --spacing: 1rem;
  }

  .site-header .container {
    justify-content: center;
    text-align: center;
  }

  .site-nav {
    justify-content: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .features {
    padding: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}
