/* MusoFi.org — brand-aligned with the MusoFi Platform (#5abe83 green). */
:root {
  --ink: #14231b;
  --ink-2: #1c2f24;
  --paper: #fbfaf7;
  --paper-2: #f3f1ea;
  --green: #5abe83;
  --green-deep: #2f7d55;
  --green-soft: #e2f3e9;
  --muted: #5c6a61;
  --line: rgba(20, 35, 27, .13);
  --shadow: 0 24px 60px rgba(18, 34, 26, .14);
  --radius: 20px;
  --font-display: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 99; }
.skip-link:focus { left: 8px; top: 8px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h1 span { color: var(--green-deep); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 14px; }
.eyebrow-light { color: var(--green); }
.large-copy p { font-size: 1.12rem; color: var(--ink-2); }
.large-copy p + p { margin-top: 14px; }

/* Buttons */
.button { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .95rem; padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #0e1f16; box-shadow: 0 10px 26px rgba(90, 190, 131, .35); }
.button-primary:hover { background: #6bcb92; }
.button-outline { background: transparent; border-color: currentColor; color: inherit; }
.button-small { padding: 9px 18px; font-size: .85rem; }
.text-link { font-weight: 600; text-decoration: none; color: var(--green-deep); }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.footer-brand .brand-name { color: var(--paper); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.button):hover { color: var(--green-deep); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 84px 0 70px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero-lead { font-size: 1.2rem; color: var(--muted); margin: 22px 0 28px; max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: .92rem; color: var(--muted); }
.hero-note a { color: var(--green-deep); font-weight: 600; }
.hero-panel { display: flex; justify-content: center; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); max-width: 320px; }
.panel-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 6px; }
.panel-card strong { font-family: var(--font-display); font-size: 1.25rem; display: block; margin-bottom: 14px; }
.panel-card ul { list-style: none; }
.panel-card li { padding: 8px 0 8px 26px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; }
.panel-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--green-deep); font-weight: 700; }

/* Statement band */
.statement-band { background: var(--ink); color: var(--paper); padding: 42px 0; }
.statement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.statement-grid p { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.4; border-left: 3px solid var(--green); padding-left: 16px; }

/* Sections */
.section { padding: 88px 0; }
.section-light { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .eyebrow { color: var(--green); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-heading > p { color: var(--muted); }
.section-ink .section-heading > p { color: rgba(251, 250, 247, .75); }

/* Program cards */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card { background: rgba(251, 250, 247, .06); border: 1px solid rgba(251, 250, 247, .16); border-radius: var(--radius); padding: 28px; }
.program-card.featured { background: rgba(90, 190, 131, .12); border-color: rgba(90, 190, 131, .4); }
.card-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.program-card h3 { margin-bottom: 14px; }
.program-card ul { list-style: none; }
.program-card li { padding: 10px 0; border-top: 1px solid rgba(251, 250, 247, .14); font-size: .95rem; color: rgba(251, 250, 247, .85); }
.program-card li strong { color: var(--paper); }

/* Platform */
.platform-section { background: var(--paper-2); }
.platform-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.platform-copy > p { color: var(--muted); margin: 14px 0 20px; max-width: 36em; }
.check-list { list-style: none; margin: 0 0 26px; }
.check-list li { padding: 9px 0 9px 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--green-deep); font-weight: 700; }
.fine-note { margin-top: 18px; font-size: .88rem; color: var(--muted); max-width: 36em; }
.fine-note a { color: var(--green-deep); }
.platform-visual { display: flex; justify-content: center; }
.phone { width: 270px; border-radius: 38px; background: var(--ink); padding: 12px; box-shadow: var(--shadow); }
.phone-screen { background: linear-gradient(170deg, #1e3428 0%, #14231b 100%); color: var(--paper); border-radius: 28px; padding: 22px 20px 26px; min-height: 430px; }
.phone-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mini-logo { width: 30px; height: 30px; border-radius: 9px; display: block; }
.phone-title { font-family: var(--font-display); font-weight: 700; }
.phone-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.phone-screen h3 { font-size: 1.3rem; margin-bottom: 20px; }
.phone-card { background: rgba(251, 250, 247, .08); border: 1px solid rgba(251, 250, 247, .14); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.phone-card span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.phone-card strong { font-family: var(--font-display); display: block; margin: 2px 0; }
.phone-card small { color: rgba(251, 250, 247, .65); }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-stats div { background: rgba(251, 250, 247, .08); border-radius: 14px; padding: 12px 14px; }
.phone-stats span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 250, 247, .6); }
.phone-stats strong { font-family: var(--font-display); font-size: 1.05rem; }

/* Dues */
.dues-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.dues-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.dues-card h3 { margin-bottom: 16px; }
.dues-cta { background: var(--green-soft); border-color: rgba(90, 190, 131, .5); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.dues-cta p { color: var(--ink-2); }

/* Founder */
.founder-section { background: var(--ink-2); color: var(--paper); }
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.founder-head { position: sticky; top: 100px; }
.founder-letter p { margin-bottom: 16px; color: rgba(251, 250, 247, .88); max-width: 42em; }
.founder-letter .signature { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--paper); margin-top: 28px; }
.founder-letter .signature span { font-weight: 500; font-size: .9rem; color: var(--green); }

/* Join */
.join-section { padding: 88px 0; background: linear-gradient(160deg, var(--green-deep) 0%, #235c40 100%); color: var(--paper); }
.join-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.join-card h2 { margin-bottom: 14px; }
.join-card p { color: rgba(251, 250, 247, .85); margin-bottom: 22px; max-width: 32em; }
.join-card .eyebrow-light { color: #bfe9d1; }
.signup-form { display: flex; flex-direction: column; gap: 12px; background: rgba(14, 31, 22, .35); border: 1px solid rgba(251, 250, 247, .2); border-radius: var(--radius); padding: 26px; }
.signup-form input { padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(251, 250, 247, .3); background: rgba(251, 250, 247, .95); font-size: 1rem; font-family: var(--font-body); }
.signup-form .button-outline { color: var(--paper); }
.form-note { font-size: .85rem; color: rgba(251, 250, 247, .7); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(251, 250, 247, .8); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(251, 250, 247, .14); }

.footer-grid p { margin-top: 12px; max-width: 30em; font-size: .95rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links strong { display: block; color: var(--paper); font-family: var(--font-display); margin-bottom: 12px; }
.footer-links a { display: block; text-decoration: none; padding: 5px 0; font-size: .95rem; }
.footer-links a:hover { color: var(--green); }
.footer-legal { padding: 20px 0 0; }
.footer-legal p { font-size: .82rem; color: rgba(251, 250, 247, .55); max-width: 62em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; font-size: .88rem; color: rgba(251, 250, 247, .6); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split-grid, .platform-grid, .founder-grid, .join-card, .dues-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .statement-grid { grid-template-columns: 1fr; gap: 14px; }
  .program-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .founder-head { position: static; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 4vw; left: 4vw; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; }
  .site-nav a:hover { background: var(--paper-2); }
  .site-nav .button { margin-top: 6px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
