/* Momtides — design system */
:root {
  --bg: #FBF7F1;
  --bg-soft: #F3ECE0;
  --bg-card: #FFFFFF;
  --ink: #26211C;
  --ink-soft: #6E5F52;
  --ink-faint: #9A8C7E;
  --teal: #1E6E66;
  --teal-dark: #175550;
  --teal-soft: #E4EFEC;
  --clay: #C06B4A;
  --clay-soft: #F6E5DC;
  --sage: #A9C2A0;
  --blush: #EAD3C4;
  --line: #E7DCCB;
  --gold: #C79A3B;
  --shadow: 0 1px 2px rgba(38,33,28,.05), 0 6px 24px rgba(38,33,28,.06);
  --shadow-lg: 0 2px 4px rgba(38,33,28,.06), 0 16px 48px rgba(38,33,28,.10);
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16.5px;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; font-weight: 600; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 650; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; height: auto; }
.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  margin-bottom: .9rem;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,241,.9); backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--sage));
  display: grid; place-items: center; color: #fff; font-size: 1.05rem; flex: none;
}
.brand em { font-style: normal; color: var(--clay); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 550; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 650; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--clay); color: #fff; }
.btn-accent:hover { background: #A85A3C; color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 76px 0 60px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { font-size: .85rem; color: var(--ink-faint); margin-top: 14px; }
.hero-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero-card .stat { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--teal); }
.hero-card .stat-label { font-size: .82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Tribe grid */
.tribes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tribe {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .14s, box-shadow .14s; position: relative;
}
.tribe:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tribe .icon { font-size: 1.9rem; }
.tribe h3 { margin: 14px 0 8px; }
.tribe p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.tribe .tag { display: inline-block; margin-top: 14px; font-size: .75rem; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 4px 10px; border-radius: 999px; }

/* Trust promise band */
.trust-band {
  background: var(--teal); color: #fff; border-radius: var(--radius-lg);
  padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.trust-band h2 { color: #fff; }
.trust-band p { color: rgba(255,255,255,.85); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.trust-list .check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-top: 1px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 22px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--clay-soft); color: var(--clay); font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: .93rem; }
.card .meta { font-size: .8rem; color: var(--ink-faint); }

/* Gate / join form */
.gate {
  max-width: 520px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 650; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: var(--sans);
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.hint { font-size: .8rem; color: var(--ink-faint); margin-top: 6px; }
.form-msg { font-size: .92rem; margin-top: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: var(--teal-soft); color: var(--teal-dark); }
.form-msg.err { display: block; background: #FBE9E4; color: #9C3B22; }

/* Vendor table */
.vendor-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vendor-table th, .vendor-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.vendor-table th { background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.vendor-table tr:last-child td { border-bottom: none; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.pill-good { background: var(--teal-soft); color: var(--teal-dark); }
.pill-warn { background: #FBF0DB; color: #8A5A1B; }
.pill-bad { background: #FBE9E4; color: #9C3B22; }
.locked {
  position: relative; padding: 44px 30px; text-align: center; border: 1px dashed var(--line);
  border-radius: var(--radius); background: var(--bg-soft); color: var(--ink-soft);
}
.locked .lock { font-size: 2rem; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article p, .article li { color: #3A332C; }
.article .callout { background: var(--teal-soft); border-left: 3px solid var(--teal); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; }
.article .callout.warn { background: #FBF0DB; border-left-color: var(--gold); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 64px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--ink-soft); font-size: .92rem; margin-bottom: 9px; }
.disclaimer { font-size: .78rem; color: var(--ink-faint); max-width: 60em; margin-top: 32px; line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tribes, .steps, .grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-band { grid-template-columns: 1fr; padding: 34px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 16px; }
}
@media (max-width: 560px) {
  .tribes, .steps, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 44px 0 40px; }
  .section { padding: 44px 0; }
}
