/* Rhythm Assembly website (members) – amber version of the Rhythm Assistant site. The look of the owner's chosen plans page (design/plans-page-reference.html):
   deep teal-black "record sleeve" stage, mint accent, Barlow Condensed italic uppercase headings, Barlow body. */
:root {
  --bg: #0e1a1a;
  --panel: #162a2a;
  --card: #1e3637;
  --line: #2f4c4d;
  --text: #f4efe6;
  --muted: #a9b8b5;
  --mint: #f2a93b; /* the accent: Rhythm Assembly amber (variable names shared with the Assistant site) */
  --mint-soft: #f7c977;
  --on-mint: #1a1206;
  --amber: #8ee0a6; /* the hand-off to Rhythm Assistant (promoters) is mint */
  --on-amber: #0b2414;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
a { color: var(--mint); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint-soft); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: var(--on-mint); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
main.wrap { padding-block: 32px 56px; display: grid; gap: 56px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(14, 26, 26, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.topbar .brand { display: flex; align-items: center; }
.topbar .brand img { width: 170px; display: block; }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 8px; }
.topbar nav a:hover, .topbar nav a[aria-current='page'] { color: var(--mint); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: 600 15px var(--font-body); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .topbar nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .topbar nav.open { display: flex; }
  .topbar nav a { padding: 12px 8px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.btn.mint { background: var(--mint); color: var(--on-mint); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn.amber { background: var(--amber); color: var(--on-amber); }
.btn small { font-weight: 600; opacity: 0.8; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.soon { display: inline-block; font-size: 13px; color: var(--mint-soft); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* hero */
.hero { display: grid; gap: 16px; justify-items: start; }
.hero .logo { width: min(340px, 80vw); }
.hero h1 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(38px, 8vw, 72px); line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; margin: 6px 0 0; text-wrap: balance; }
.hero h1 em { color: var(--mint); font-style: italic; }
.hero p { margin: 0; color: var(--muted); max-width: 62ch; font-size: 18px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-art { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, var(--card) 0 18%, var(--bg) 18.5% 20%, var(--panel) 20.5% 100%);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 0 10px var(--panel); position: relative; }
.hero-art::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 6px, rgba(242, 169, 59, 0.07) 6px 7px); }
.hero-art img { width: 46%; position: relative; animation: spin-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes spin-in { from { transform: rotate(-200deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { width: min(240px, 60vw); } }

/* sections */
section h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(28px, 5vw, 40px); text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 6px; line-height: 1; text-wrap: balance; }
section > p.lead { margin: 0 0 20px; color: var(--muted); max-width: 65ch; font-size: 17px; }
.kicker { color: var(--mint-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 6px; }

/* two sides */
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .sides { grid-template-columns: 1fr; } }
.side { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.side.mint { border-top: 4px solid var(--mint); }
.side.amber { border-top: 4px solid var(--amber); }
.side img { width: 200px; }
.side h3 { margin: 0; font-size: 19px; }
.side p { margin: 0; color: var(--muted); }

/* plan cards (from the plans page) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.plan.top { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint) inset; }
.plan .name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-size: 40px; font-weight: 700; color: var(--mint); font-variant-numeric: tabular-nums; line-height: 1; }
.plan .price span { color: var(--muted); }
.plan .fee { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.plan .fee strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.plan .for { margin: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: '✓'; color: var(--mint); font-weight: 700; }
.plan .plus { color: var(--mint-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* feature tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.tile .ico { font-size: 26px; line-height: 1; }
.tile h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .tag { justify-self: start; font-size: 12px; font-weight: 700; color: var(--on-mint); background: var(--mint); border-radius: 999px; padding: 2px 8px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; border-left: 2px solid var(--mint); padding: 2px 0 2px 14px; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 30px; color: var(--mint); line-height: 1; margin-bottom: 4px; }
.steps h3 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* "Good to know" notes (from the plans page) */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.note { border-left: 2px solid var(--mint); padding: 2px 0 2px 14px; min-width: 0; }
.note h3 { margin: 0 0 4px; font-size: 16px; }
.note p { margin: 0; color: var(--muted); font-size: 15px; }

/* the hand-off to Rhythm Assembly (members) */
.fans { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 14px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.fans img { width: 220px; }
.fans h2 { color: var(--amber); }
.fans p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .fans { grid-template-columns: 1fr; } }

/* the comparison table (from the plans page) */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { position: sticky; top: 0; background: var(--card); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
thead th small { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 13px; color: var(--mint); text-transform: none; letter-spacing: 0; }
th.col, td.col { text-align: center; width: 17%; white-space: nowrap; }
tbody th { font-weight: 500; }
tr.group th { background: var(--bg); color: var(--mint-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 16px; }
td.yes { color: var(--mint); font-weight: 700; }
td.no { color: var(--line); }
td.val { font-weight: 600; font-variant-numeric: tabular-nums; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
/* simpler tables (Rewards) */
.table-scroll.plain table { min-width: 520px; font-variant-numeric: tabular-nums; }
.table-scroll.plain thead th { font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
td.num { text-align: right; white-space: nowrap; font-weight: 700; }
td.on, .fast { color: var(--mint); font-weight: 700; }
.lvl { display: inline-block; font-weight: 700; font-size: 13px; padding: 2px 10px; border-radius: 999px; color: #14191c; }
.lvl.bronze { background: #c98a5b; } .lvl.silver { background: #c9d1d6; } .lvl.gold { background: #f2c14e; } .lvl.platinum { background: #e7e3f4; }

/* big numbers (Rewards) */
.gives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .gives { grid-template-columns: 1fr; } }
.give { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.give b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; color: var(--mint); }
.give span { font-weight: 600; }
.give p { margin: 0; font-size: 15px; color: var(--muted); }

/* a mint call-out panel */
.cta { background: var(--mint); color: var(--on-mint); border-radius: 16px; padding: 22px; display: grid; gap: 8px; }
.cta h2 { color: var(--on-mint); margin: 0; }
.cta p { margin: 0; }
.cta a { color: var(--on-mint); font-weight: 700; }

/* reading pages (FAQ, legal) */
.prose { max-width: 70ch; display: grid; gap: 12px; }
.prose h2 { margin-top: 12px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
details.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 16px; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin: 10px 0 0; color: var(--muted); }
.faqs { display: grid; gap: 10px; max-width: 75ch; }
.muted { color: var(--muted); }
/* the owner's tag line (Home): "the POWER behind…" */
.kicker.tagline { font-size: 14px; letter-spacing: 0.1em; line-height: 1.4; max-width: 60ch; }
.kicker.tagline strong { color: var(--mint); font-weight: 800; }

/* footer */
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-foot .wrap { padding-block: 28px 40px; display: grid; gap: 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.foot-cols h3 { margin: 0 0 8px; color: var(--text); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--mint); }
.placeholder { border: 1px dashed var(--amber); color: var(--amber); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
