/* ===================================================================
   Echo: Audiobook Study Player — site styles
   Brand: deep night blue, silver + gold (AuDHD community colors),
   OpenDyslexic everywhere (the accessibility thesis, worn proudly).
   No external requests: fonts are self-hosted, there is no JS, no
   analytics, no trackers. The site practices what the app preaches.
   =================================================================== */

@font-face {
  font-family: 'OpenDyslexic';
  src: url('assets/OpenDyslexic-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenDyslexic';
  src: url('assets/OpenDyslexic-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #0b0f19;
  --bg-raised: #111726;
  --text-primary: #eef1f7;
  --text-secondary: #9aa7bd;
  --accent-gold: #d4af37;
  --accent-gold-soft: rgba(212, 175, 55, 0.14);
  --accent-silver: #c0c0c0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --link: #e8c95c;
  --max-prose: 72ch;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: 'OpenDyslexic', sans-serif;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(1200px 500px at 50% -10%, rgba(212, 175, 55, 0.07), transparent 70%),
    radial-gradient(900px 420px at 90% 20%, rgba(192, 192, 192, 0.05), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--accent-gold);
  color: #000;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-gold);
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  font-weight: bold;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ----------------------------------------------------------------- */
/* Header                                                             */
/* ----------------------------------------------------------------- */

header.site-header {
  padding: 1.25rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-container a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.logo-container img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: -0.02em;
}

.logo-text .infinity {
  color: var(--accent-gold);
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

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

nav.site-nav a[aria-current="page"] {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.nav-cta {
  border: 1px solid var(--accent-gold);
  border-radius: 999px;
  padding: 0.35rem 1.1rem !important;
  color: var(--accent-gold) !important;
  border-bottom: 1px solid var(--accent-gold) !important;
}

.nav-cta:hover {
  background: var(--accent-gold-soft);
}

/* ----------------------------------------------------------------- */
/* Main / hero                                                        */
/* ----------------------------------------------------------------- */

main {
  flex: 1;
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero {
  text-align: center;
  margin-bottom: 5rem;
  padding: 3rem 0 2rem;
  position: relative;
}

.hero-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  margin-bottom: 2rem;
  background: var(--accent-gold-soft);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: bold;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-silver) 55%, var(--accent-gold) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.hero p.tagline {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto 2.5rem auto;
}

/* Echo ripple: concentric rings radiating from the app icon. */
.echo-stage {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 2.2rem;
}

.echo-stage img {
  position: absolute;
  inset: 26px;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.echo-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--accent-gold);
  border-radius: 50%;
  opacity: 0;
  animation: echoRipple 3.6s ease-out infinite;
}

.echo-ring:nth-child(2) { animation-delay: 1.2s; border-color: var(--accent-silver); }
.echo-ring:nth-child(3) { animation-delay: 2.4s; }

@keyframes echoRipple {
  0%   { transform: scale(0.62); opacity: 0; }
  18%  { opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
  color: #000;
  padding: 0.95rem 2.4rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.cta-button.secondary:hover {
  border-color: var(--accent-silver);
  box-shadow: 0 10px 24px rgba(192, 192, 192, 0.12);
}

/* ----------------------------------------------------------------- */
/* Section scaffolding                                                */
/* ----------------------------------------------------------------- */

section.band {
  margin-bottom: 5.5rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: var(--max-prose);
  margin-bottom: 2.2rem;
}

/* Story band */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.story-text p {
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.story-text strong {
  color: var(--text-primary);
}

.story-quote {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-gold);
  border-radius: 18px;
  padding: 2.2rem;
  font-size: 1.25rem;
  line-height: 1.55;
}

.story-quote footer {
  border: none;
  padding: 1.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: left;
}

/* Numbered feature grid */
.features,
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}

.feature-card,
.num-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover,
.num-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.num-card .num {
  font-size: 0.85rem;
  color: var(--accent-gold);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 0.9rem;
}

.feature-card h3,
.num-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.feature-card p,
.num-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.num-card a,
.feature-card a {
  color: var(--link);
}

/* Science strip */
.science-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.science-card {
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0.02));
  border-radius: 20px;
  padding: 2rem;
}

.science-card .phenomenon {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}

.science-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.science-card p {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

/* Platforms + trust */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.platform-chip {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.trust-strip {
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--bg-raised);
  padding: 2.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}

.trust-strip h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--accent-silver);
}

.trust-strip p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-final {
  text-align: center;
  padding: 3.5rem 2rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(212, 175, 55, 0.12), transparent 75%),
    var(--glass-bg);
}

.cta-final h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta-final p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------------- */
/* Long-form documentation pages                                      */
/* ----------------------------------------------------------------- */

.page-hero {
  padding: 2.5rem 0 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-silver) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: var(--max-prose);
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}

.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 3.2rem;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 6rem;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass-bg);
  padding: 1.4rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.docs-toc h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-bottom: 0.9rem;
}

.docs-toc ol {
  list-style: none;
  counter-reset: toc;
}

.docs-toc li {
  margin-bottom: 0.45rem;
}

.docs-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.4;
  display: block;
  transition: color 0.15s;
}

.docs-toc a:hover {
  color: var(--accent-gold);
}

.prose {
  max-width: var(--max-prose);
}

.prose h2 {
  font-size: 1.65rem;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  letter-spacing: -0.01em;
  border-top: 1px solid var(--glass-border);
}

.prose h2:first-of-type {
  border-top: none;
  margin-top: 0.5rem;
}

.prose h2 .sec-num {
  color: var(--accent-gold);
  margin-right: 0.6rem;
  font-size: 1.05rem;
  vertical-align: 0.12em;
  letter-spacing: 0.08em;
}

.prose h3 {
  font-size: 1.18rem;
  margin: 2rem 0 0.7rem;
  color: var(--accent-silver);
}

.prose p {
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

.prose strong {
  color: var(--text-primary);
}

.prose ul,
.prose ol {
  color: var(--text-secondary);
  margin: 0 0 1.2rem 1.4rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--link);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  font-size: 0.93rem;
}

.prose th {
  text-align: left;
  color: var(--accent-gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.prose td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-secondary);
  vertical-align: top;
}

.prose td:first-child {
  color: var(--text-primary);
}

/* Callouts */
.science-note,
.tip-note,
.safety-note {
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 1.6rem 0;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.science-note {
  border-left: 4px solid var(--accent-gold);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
}

.tip-note {
  border-left: 4px solid var(--accent-silver);
}

.safety-note {
  border-left: 4px solid #e07856;
}

.science-note .label,
.tip-note .label,
.safety-note .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 0.6rem;
}

.science-note .label { color: var(--accent-gold); }
.tip-note .label { color: var(--accent-silver); }
.safety-note .label { color: #e07856; }

.science-note p,
.tip-note p,
.safety-note p {
  margin-bottom: 0.6rem;
}

.science-note p:last-child,
.tip-note p:last-child,
.safety-note p:last-child {
  margin-bottom: 0;
}

.prose blockquote {
  border-left: 4px solid var(--accent-gold);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 1.6rem 0;
  color: var(--text-primary);
  font-size: 1.08rem;
}

.prose code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  font-size: 0.92em;
}

.sources {
  font-size: 0.88rem;
  border-top: 1px dashed var(--glass-border);
  padding-top: 1.4rem;
  margin-top: 2.5rem;
}

.sources li {
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

/* ----------------------------------------------------------------- */
/* Devlog timeline                                                    */
/* ----------------------------------------------------------------- */

.devlog-timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2.2rem;
  max-width: var(--max-prose);
}

.devlog-timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-silver) 60%, transparent);
}

.week-entry {
  position: relative;
  margin-bottom: 3rem;
}

.week-entry::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.45rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--bg-color);
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.week-entry:nth-child(even)::before {
  border-color: var(--accent-silver);
  box-shadow: 0 0 0 4px rgba(192, 192, 192, 0.12);
}

.week-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
}

.week-entry h2 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  border: none;
  padding: 0;
}

.week-entry p {
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.week-entry strong {
  color: var(--text-primary);
}

/* ----------------------------------------------------------------- */
/* Privacy / legal                                                    */
/* ----------------------------------------------------------------- */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.legal-content ul {
  padding-left: 1.5rem;
}

/* ----------------------------------------------------------------- */
/* Footer                                                             */
/* ----------------------------------------------------------------- */

footer.site-footer {
  text-align: center;
  padding: 3rem 5%;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-fineprint {
  font-size: 0.82rem;
  opacity: 0.8;
  max-width: 60ch;
  margin: 0.6rem auto 0;
}

/* ----------------------------------------------------------------- */
/* Motion & responsive                                                */
/* ----------------------------------------------------------------- */

.fade-up {
  animation: fadeUp 0.7s ease-out both;
}

.fade-up.d1 { animation-delay: 0.12s; }
.fade-up.d2 { animation-delay: 0.24s; }
.fade-up.d3 { animation-delay: 0.36s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .echo-ring { animation: none; opacity: 0.25; transform: scale(1.1); }
  .echo-ring:nth-child(2) { transform: scale(1.3); opacity: 0.15; }
  .echo-ring:nth-child(3) { display: none; }
  .fade-up { animation: none; }
  .feature-card, .num-card, .cta-button { transition: none; }
}

@media (max-width: 980px) {
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-toc {
    position: static;
    max-height: none;
  }
  .story {
    grid-template-columns: 1fr;
  }
  /* Wide tables scroll within themselves instead of stretching the page. */
  .prose table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  main { padding: 2.5rem 6%; }
  .hero { padding-top: 1.5rem; }
  .hero p.tagline { font-size: 1.15rem; }
  nav.site-nav { gap: 1rem; font-size: 0.9rem; }
  .trust-strip { padding: 1.6rem; }
}

/* ----------------------------------------------------------------- */
/* Feature status tags                                                */
/* "Coming in 1.0" = in active development; "Roadmap" = planned       */
/* after 1.0. Site copy describes the full vision in present tense;   */
/* these tags keep it honest (see MARKETING.md honesty ledger).       */
/* ----------------------------------------------------------------- */

.tag-soon,
.tag-future {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.64rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  line-height: 1;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  margin-left: 0.55rem;
  white-space: nowrap;
}

.tag-soon {
  color: #0b0f19;
  background: linear-gradient(135deg, var(--accent-gold), #e8c95c);
  border: 1px solid var(--accent-gold);
}

.tag-future {
  color: var(--accent-silver);
  background: rgba(192, 192, 192, 0.08);
  border: 1px solid rgba(192, 192, 192, 0.45);
}

.num-card .tag-soon,
.num-card .tag-future,
.science-card .tag-soon,
.science-card .tag-future {
  font-size: 0.58rem;
  padding: 0.28rem 0.6rem;
}

.tag-legend {
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: 1px dashed var(--glass-border);
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  margin: 1.2rem 0 0;
  max-width: var(--max-prose);
}

/* ----------------------------------------------------------------- */
/* Screenshot placeholders (swapped for real captures before launch)  */
/* ----------------------------------------------------------------- */

.shot-placeholder {
  border: 2px dashed rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  background: var(--glass-bg);
  padding: 2.6rem 1.5rem;
  text-align: center;
  margin: 1.8rem 0;
}

.shot-placeholder .shot-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.shot-placeholder figcaption {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 44ch;
  margin: 0 auto;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin: 1.8rem 0;
}

.shot-row .shot-placeholder {
  margin: 0;
}

/* ----------------------------------------------------------------- */
/* FAQ accordions — native <details>, no JavaScript                   */
/* ----------------------------------------------------------------- */

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-bg);
  margin-bottom: 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 2.8rem 1rem 1.3rem;
  font-weight: bold;
  color: var(--text-primary);
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-gold);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-body {
  padding: 0 1.3rem 1.15rem;
  color: var(--text-secondary);
}

.faq-item .faq-body p {
  margin-bottom: 0.7rem;
}

.faq-item .faq-body p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------------- */
/* "How Echo helps" callout (Focus field guide)                       */
/* ----------------------------------------------------------------- */

.echo-note {
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  margin: 1.6rem 0;
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent-gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(192, 192, 192, 0.04) 65%, transparent);
}

.echo-note .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 0.6rem;
  color: var(--accent-gold);
}

.echo-note p {
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.echo-note ul {
  color: var(--text-secondary);
  margin: 0 0 0.6rem 1.3rem;
}

.echo-note p:last-child,
.echo-note ul:last-child {
  margin-bottom: 0;
}
