/* Global MX Agenda — stone + sage */
:root {
  --ink: #1c1917;
  --slate: #292524;
  --sage: #4d7c6f;
  --sage-deep: #3a5f55;
  --mist: #f5f2eb;
  --paper: #fffcf7;
  --line: #e7e2d9;
  --muted: #78716c;
  --accent: #4d7c6f;
  --wide: 980px;
  --radius: 6px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
}
a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--sage-deep); }
.wide { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 999; background: var(--sage); color: #fff; padding: 8px 12px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 10px; }

.ribbon { background: var(--slate); color: #e7e5e4; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ribbon__inner { max-width: var(--wide); margin: 0 auto; padding: 7px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ribbon a { color: #fff; font-weight: 600; }
.ribbon__meta { opacity: .7; }

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.masthead__inner { max-width: var(--wide); margin: 0 auto; padding: 0 22px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__seal {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage); color: #fff; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
.brand__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.brand__sub { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }

.topnav { display: flex; align-items: center; gap: 4px; }
.topnav__link { padding: 8px 11px; color: var(--slate); font-weight: 600; font-size: 13px; border-radius: var(--radius); }
.topnav__link:hover { background: var(--mist); color: var(--ink); }
.topnav__link.is-active { background: var(--mist); color: var(--sage-deep); }
.topnav__cta { margin-left: 6px; padding: 9px 16px; background: var(--sage); color: #fff; border-radius: 999px; font-weight: 700; font-size: 13px; }
.topnav__cta:hover { background: var(--sage-deep); color: #fff; }
.burger { display: none; flex-direction: column; gap: 4px; padding: 8px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--ink); }

.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(77,124,111,.12), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; display: inline-block; }
.hero__title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; line-height: 1.08; margin-bottom: 16px; }
.hero__title em { font-style: italic; color: var(--sage-deep); }
.hero__lead { color: var(--muted); max-width: 40ch; margin-bottom: 24px; font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; font-weight: 700; font-size: 14px; border-radius: 999px; border: 1px solid transparent;
}
.btn--gold, .btn--primary { background: var(--sage); color: #fff; }
.btn--gold:hover, .btn--primary:hover { background: var(--sage-deep); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--sage); color: var(--sage-deep); }
.btn--forest { background: var(--slate); color: #fff; }
.btn--forest:hover { color: #fff; opacity: .92; }

.agenda-card {
  background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.agenda-card h2 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 14px; }
.agenda-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.agenda-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start;
  font-size: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.agenda-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.agenda-list span {
  width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}

.section { padding: 52px 0; }
.section--cream { background: var(--mist); }
.section--paper { background: var(--paper); }
.section-head { margin-bottom: 28px; max-width: 36rem; }
.section-head__kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.section-head__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
.section-head__desc { color: var(--muted); margin-top: 8px; }

.mosaic { display: grid; gap: 14px; }
.mosaic--3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.tile__num { font-family: var(--font-display); font-size: 1.4rem; color: var(--sage); margin-bottom: 8px; }
.tile__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.tile__text { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.tile__link { font-weight: 700; font-size: 13px; }

.banner {
  border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--mist);
  text-align: left; display: grid; gap: 12px; max-width: 640px;
}
.banner h2 { font-family: var(--font-display); font-size: 1.4rem; }
.banner p { color: var(--muted); font-size: 14px; }

.page-head { padding: 40px 0 0; }
.page-head__kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.page-head__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-head__desc { color: var(--muted); max-width: 48ch; }

.footer { background: var(--slate); color: #a8a29e; padding: 40px 0 24px; font-size: 13px; }
.footer a { color: #e7e5e4; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.footer__brand-name { font-family: var(--font-display); color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #78716c; margin-bottom: 10px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer__bottom { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; }

.timeline { max-width: 620px; margin: 0 auto; }
.tl-item { position: relative; padding-left: 28px; padding-bottom: 22px; border-left: 2px solid var(--line); margin-left: 8px; }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-item__dot { position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); }
.tl-item__phase { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tl-item__title { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.tl-item__text { font-size: 14px; color: var(--muted); }

.ledger { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 18px; }
.ledger th, .ledger td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; background: var(--paper); }
.ledger th { background: var(--mist); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.ledger .yes { color: #15803d; font-weight: 700; }
.ledger .no { color: #b91c1c; font-weight: 700; }
.scope-note { padding: 14px 16px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; max-width: 880px; }
.aside-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 12px; }
.aside-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.aside-card dt { font-size: 11px; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-weight: 700; }
.aside-card dt:first-child { margin-top: 0; }
.aside-card dd { margin-top: 2px; font-size: 13px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 14px; background: var(--paper);
}

.wizard { max-width: 520px; margin: 0 auto; }
.wizard__track { display: flex; gap: 6px; margin-bottom: 22px; }
.wizard__seg { flex: 1; height: 3px; background: var(--line); border-radius: 999px; }
.wizard__seg.is-done, .wizard__seg.is-current { background: var(--sage); }
.wizard__step-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.wizard__step-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 16px; }
.wizard__nav { display: flex; gap: 10px; margin-top: 18px; }
.wizard__prev, .wizard__next { flex: 1; }

.topic-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.topic-pill {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer; background: var(--paper);
}
.topic-pill.is-active { background: var(--sage); color: #fff; border-color: var(--sage); }

.faq { max-width: 640px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; background: var(--paper); }
.faq__q { padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__a { padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
.prose { max-width: 640px; }
.prose h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 22px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; font-size: 14px; }
.prose ul { padding-left: 18px; }

@media (max-width: 768px) {
  .burger { display: flex; }
  .topnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 12px 22px 16px;
    border-bottom: 1px solid var(--line);
  }
  .topnav.is-open { display: flex; }
  .topnav__cta { margin-left: 0; text-align: center; }
  .hero__grid, .mosaic--3, .footer__grid, .contact-grid { grid-template-columns: 1fr; }
}
