/* ==========================================================================
   CEEAMA — imported-content components
   --------------------------------------------------------------------------
   Styles for the copy imported from the original static site (CMS page bodies
   and the extra home-page sections). Everything is built from the design
   tokens in site.css, so light / dark / system themes work with no extra rules.
   Page-body components are scoped under .prose so they can't leak elsewhere.
   ========================================================================== */

/* ---- page-body components (.prose) ---- */
.prose .lede { font-size: 1.15rem; color: var(--muted); }
.prose .eyebrow { color: var(--accent-text); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; margin-bottom: 0.25rem; }
.prose a.btn { text-decoration: none; }

.prose ul.tick { list-style: none; padding-left: 0; }
.prose ul.tick li { position: relative; padding-left: 1.9rem; }
.prose ul.tick li::before {
  content: '\2713'; position: absolute; left: 0; top: 0.2em; width: 1.3rem; height: 1.3rem; line-height: 1.3rem;
  text-align: center; font-size: 0.75rem; font-weight: 800; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
}

.prose ol.stepline { list-style: none; counter-reset: step; padding-left: 0; }
.prose ol.stepline li { counter-increment: step; position: relative; margin: 0; padding: 0.75rem 0 0.75rem 3rem; border-bottom: 1px solid var(--border); }
.prose ol.stepline li:last-child { border-bottom: 0; }
.prose ol.stepline li::before {
  content: counter(step); position: absolute; left: 0; top: 0.7rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: var(--brand-fill); color: #fff;
}

.prose blockquote.pull { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.5; padding: 1.1rem 1.4rem; }

.prose .grid { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
.prose .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .prose .grid-3, .prose .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .prose .grid-2, .prose .grid-3, .prose .grid-4 { grid-template-columns: 1fr; } }

.prose .card { display: block; height: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.prose .card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.prose .card h3:has([data-count-to]) { font-size: 2.2rem; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.prose .card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.prose .card ul { margin-bottom: 0; }

.prose .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin: 2rem 0 0; padding: 1.75rem 2rem; }
.prose .cta-band h3 { color: #fff; margin: 0 0 0.3rem; font-size: 1.3rem; }
.prose .cta-band p { margin: 0; color: var(--chrome-text); }
.prose .cta-band > div { flex: 1 1 280px; }
.prose .cta-band a.btn { color: #fff; flex: none; }

.prose .table-wrap { margin: 1.5rem 0; }
.prose .table-wrap table { margin: 0; }
.prose table.fees th, .prose table.fees td { min-width: 0; }
.prose table.fees th:not(:first-child) { white-space: nowrap; }
.prose table.fees td.amount { font-weight: 700; color: var(--brand); white-space: nowrap; }

.prose details.acc { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.75rem; background: var(--surface); overflow: hidden; }
.prose details.acc > summary { cursor: pointer; list-style: none; padding: 0.9rem 1.1rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.prose details.acc > summary::-webkit-details-marker { display: none; }
.prose details.acc > summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--brand); transition: transform 0.2s var(--ease); }
.prose details.acc[open] > summary { background: var(--surface-2); }
.prose details.acc[open] > summary::after { transform: rotate(45deg); }
.prose details.acc .acc-body { padding: 0.75rem 1.1rem 0.5rem; color: var(--muted); }

.prose ul.timeline { list-style: none; margin: 1.5rem 0 0 0.5rem; padding: 0; border-left: 2px solid var(--border); }
.prose ul.timeline li { position: relative; margin: 0; padding: 0 0 1.75rem 1.75rem; }
.prose ul.timeline li::before { content: ''; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 0 4px var(--bg); }
.prose .timeline .date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); }
.prose .timeline h3 { margin: 0.2rem 0 0.3rem; font-size: 1.08rem; }
.prose .timeline p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed='true'] { background: var(--brand-fill); border-color: var(--brand-fill); color: #fff; }
.chip:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

/* ---- home page: welcome stats, membership categories, addresses ---- */
.stat-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat-panel .stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.25rem; box-shadow: var(--shadow-sm); text-align: left; }
.stat-panel .stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--brand); letter-spacing: -0.02em; line-height: 1.1; }
.stat-panel .stat span { display: block; margin-top: 0.35rem; font-size: 0.9rem; color: var(--muted); }

.pull-quote { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.5; padding: 1.1rem 1.4rem; margin: 1rem 0 1.25rem; border-left: 4px solid var(--accent-fill); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.address-card h3 { font-size: 1.05rem; }
.address-card p { color: var(--muted); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.footer-social a:hover { background: var(--accent-fill); transform: translateY(-2px); padding-left: 0; }
.footer-address { color: var(--chrome-text); }

.pill-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.pill-nav a { display: inline-block; padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.pill-nav a:hover { border-color: var(--brand); color: var(--brand); }

@media print { .chip-row, .pill-nav { display: none; } }
