/* Membership page. Mobile-first; breakpoints 640 / 960 / 1280. */

.container--narrow { max-width: 52rem; }

.m-hero { position: relative; padding-block: var(--s-8) var(--s-7); background: var(--g-hero); border-bottom: 1px solid var(--c-line); overflow: hidden; }
.m-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: var(--g-grid); background-size: var(--g-grid-size); -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.m-hero .container { position: relative; }
.m-hero h1 { font-size: var(--t-hero); line-height: 1.04; max-width: 16ch; text-shadow: 0 0 40px rgba(59, 227, 255, .25); }
.m-hero__lead { max-width: 40rem; font-size: 1.125rem; color: var(--c-text-muted); }
.m-status {
  display: inline-flex; align-items: center; gap: var(--s-3); margin: var(--s-3) 0 0; padding: var(--s-2) var(--s-4);
  font-family: var(--f-mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-amber); background: #2A2412; border: 1px solid var(--c-amber); border-radius: var(--r-1);
}
.m-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-amber); box-shadow: 0 0 10px var(--c-amber); flex: none; }

.m-section { padding-block: var(--s-7); }
.m-section--alt { background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg)); border-block: 1px solid var(--c-line); }
@media (min-width: 960px) { .m-section { padding-block: var(--s-8); } }

/* tiers */
.tiers { display: grid; gap: var(--s-5); }
.tiers__pitch { margin: 0; color: var(--c-text); }
.tiers .c-tier__list { flex: 1; margin-bottom: var(--s-3); }
.tiers__cta { width: 100%; }
@media (min-width: 960px) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; } .c-tier--featured { transform: translateY(-12px); } }

/* feature matrix */
.matrix-wrap { position: relative; overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-1); background: var(--c-panel); }
.matrix { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: var(--t-sm); }
.matrix th, .matrix td { padding: var(--s-3) var(--s-4); text-align: center; border-bottom: 1px solid var(--c-line); }
.matrix thead th { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; background: var(--c-panel-2); color: var(--c-text); position: sticky; top: 0; }
.matrix tbody th { text-align: left; font-weight: 500; color: var(--c-text); }
.matrix td { font-family: var(--f-mono); color: var(--c-text); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th:first-child, .matrix tbody th { text-align: left; }
.matrix thead th:nth-child(3), .matrix td:nth-child(3) { background: rgba(59, 227, 255, .06); }
.matrix .yes { color: var(--c-go); font-size: 1.125rem; font-weight: 700; }
.matrix .no { color: var(--c-text-muted); }

/* faq */
.faq { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.faq__item { background: linear-gradient(180deg, var(--c-panel-2), var(--c-panel)); border: 1px solid var(--c-line-strong); border-radius: var(--r-2); }
.faq__item[open] { border-color: var(--c-signal); box-shadow: 0 0 22px rgba(59, 227, 255, .12); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 44px; padding: var(--s-3) var(--s-4); cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; letter-spacing: .02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-family: var(--f-mono); font-size: 1.25rem; color: var(--c-signal); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0; padding: 0 var(--s-4) var(--s-4); color: var(--c-text-muted); }

/* final band */
.m-final { padding-block: var(--s-8); text-align: center; background: radial-gradient(ellipse at 50% 100%, #12234a 0%, var(--c-bg) 65%); border-top: 1px solid var(--c-line); }
.m-final__inner { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.m-final h2 { margin: 0; font-size: var(--t-2xl); }
.m-final p { margin: 0; color: var(--c-text-muted); max-width: 34rem; }
main:has(> .m-final) + .site-footer { margin-top: 0; }
