:root {
  --primary: #1a365d;
  --primary-light: #2b6cb0;
  --accent: #3182ce;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --text: #2d3748;
  --text-light: #718096;
  --max-width: 800px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Navigation */
.nav {
  background: var(--primary);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #e2e8f0;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e0;
  max-width: 520px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.section p {
  margin-bottom: 1rem;
}

/* App Card */
.app-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.app-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.app-features {
  list-style: none;
  margin: 1rem 0;
}

.app-features li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}

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

/* Contact Details */
.contact-grid {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-grid dt {
  font-weight: 600;
  color: var(--primary);
}

.contact-grid dd {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--primary);
  color: #a0aec0;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer a {
  color: #cbd5e0;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

/* Page header (for subpages) */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
}

.page-header p {
  color: #cbd5e0;
  margin-top: 0.5rem;
}

/* Content page styles */
.content h2 {
  margin-top: 2rem;
}

.content h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.content li {
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 1.25rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Print */
@media print {
  .nav, .footer {
    display: none;
  }

  .hero, .page-header {
    background: none;
    color: #000;
    padding: 1rem 0;
  }

  .section {
    padding: 1rem 0;
  }
}
