/* Shared styles for content pages (FAQ, Blog) */
/* Reuses design tokens from the landing page */

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

:root {
  --pine-dark: #0f1c18;
  --pine-medium: #132824;
  --pine-soft: #18322c;
  --mist: #cfe1d8;
  --text-primary: rgba(244, 248, 246, 0.96);
  --text-secondary: rgba(244, 248, 246, 0.72);
  --text-tertiary: rgba(244, 248, 246, 0.5);
  --gold: #d9bf96;
  --gold-hover: #e3cda8;
  --surface-glass: rgba(207, 225, 216, 0.08);
  --border-hairline: rgba(207, 225, 216, 0.14);
  --success: #6ee7b7;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(217, 191, 150, 0.12), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(207, 225, 216, 0.08), transparent 60%),
    linear-gradient(180deg, #0f1c18 0%, #132824 40%, #18322c 70%, #0f1c18 100%);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-bottom: 32px;
  border-bottom: 0.5px solid var(--border-hairline);
}
.logo-text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  text-decoration: none;
}
.header-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.header-links a:hover { color: var(--text-primary); }

/* Page title */
.page-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Article meta */
.article-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--border-hairline);
}

/* Content */
.content h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}
.content strong {
  color: var(--text-primary);
  font-weight: 600;
}
.content ul, .content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.content li {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}
.content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--surface-glass);
  border-radius: 0 12px 12px 0;
}
.content blockquote p {
  margin-bottom: 0;
  font-style: italic;
}

/* FAQ specific */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--surface-glass);
  border: 0.5px solid var(--border-hairline);
  border-radius: 16px;
  overflow: hidden;
}
.faq-question {
  padding: 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}
.faq-arrow {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 24px;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.comparison-table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--border-hairline);
  color: var(--text-secondary);
}
.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Steps / instructions */
.steps-box {
  background: var(--surface-glass);
  border: 0.5px solid var(--border-hairline);
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0;
}
.steps-box ol {
  padding-left: 20px;
}
.steps-box li {
  margin-bottom: 12px;
  font-size: 16px;
}

/* CTA box */
.cta-box {
  background: rgba(217, 191, 150, 0.06);
  border: 1px solid rgba(217, 191, 150, 0.2);
  border-radius: 20px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.cta-box h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.cta-box .app-store-badge {
  height: 48px;
  border-radius: 12px;
  transition: transform 0.2s, opacity 0.2s;
}
.cta-box .app-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Blog listing */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-card {
  background: var(--surface-glass);
  border: 0.5px solid var(--border-hairline);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 225, 216, 0.25);
}
.blog-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.blog-card-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.blog-card-meta {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Author box */
.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface-glass);
  border: 0.5px solid var(--border-hairline);
  border-radius: 16px;
  margin-top: 48px;
}
.author-info .author-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.author-info .author-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Source reference */
.source-ref {
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 16px 0;
  border-top: 0.5px solid var(--border-hairline);
  margin-top: 40px;
}
.source-ref a {
  color: var(--gold);
  text-decoration: none;
}
.source-ref a:hover {
  text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin-top: 32px;
  font-style: italic;
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 0.5px solid var(--border-hairline);
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 768px) {
  .page-title { font-size: 32px; }
  .content h2 { font-size: 24px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
  .header { flex-direction: column; gap: 16px; }
  .article-meta { flex-direction: column; gap: 8px; }
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
