/* CALM Index™ — Content Page Styles */
:root {
  --bg: #081228;
  --surface: #0B1828;
  --border: rgba(0, 187, 221, 0.14);
  --text: #C8D4EC;
  --muted: #7A8AA8;
  --heading: #EEF2FF;
  --accent: #00BBDD;
  --green: #00C49A;
  --radius: 10px;
  --max-w: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(8, 18, 40, 0.96);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.2px;
}
.nav-brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #081228;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* HERO */
.hero {
  max-width: var(--max-w);
  margin: 60px auto 44px;
  padding: 0 24px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: monospace;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading);
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}
.hero-intro {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  max-width: 600px;
}

/* CONTENT */
.content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}
h2 {
  font-size: clamp(19px, 3.5vw, 24px);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 48px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  margin: 24px 0 8px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--heading); font-weight: 600; }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 8px; line-height: 1.65; }

.callout {
  background: rgba(0, 187, 221, 0.07);
  border: 1px solid rgba(0, 187, 221, 0.2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 16px;
  color: var(--text);
}

/* CTA BLOCK */
.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  margin: 44px 0;
  text-align: center;
}
.cta-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  font-family: monospace;
  margin-bottom: 12px;
}
.cta-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 8px;
  border: none;
  padding: 0;
}
.cta-block p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #081228;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.cta-trust {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* FAQ */
.faq-section { margin-top: 52px; }
.faq-section > h2 { margin-top: 0; border-top: none; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--surface);
  overflow: hidden;
}
details[open] { border-color: rgba(0, 187, 221, 0.3); }
summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 18px; color: var(--accent); flex-shrink: 0; }
details[open] summary::after { content: '−'; }
.faq-body {
  padding: 14px 20px 18px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-body p { margin-bottom: 10px; }
.faq-body p:last-child { margin-bottom: 0; }

/* RELATED LINKS */
.related-links {
  margin-top: 44px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.related-links .rl-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: monospace;
  margin-bottom: 14px;
}
.related-links ul { list-style: none; padding: 0; margin: 0; }
.related-links li { margin-bottom: 10px; }
.related-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-links a::before { content: '→'; }
.related-links a:hover { text-decoration: underline; }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--muted); font-family: monospace; }

@media (max-width: 600px) {
  .hero { margin-top: 36px; }
  h1 { font-size: 26px; }
  .cta-block { padding: 24px 18px; }
  .nav-brand span { display: none; }
}
