/* Monas Financial — shared stylesheet */
/* Dark institutional theme, inspired by Chronic Internet LLC */

:root {
  --bg: #0a0a0c;
  --bg-elev: #111316;
  --bg-card: #14161a;
  --border: #232830;
  --border-soft: #1b1f25;
  --text: #e8e8ea;
  --text-muted: #9aa0a8;
  --text-dim: #6b7178;
  --accent: #1f8a7a;        /* deep teal */
  --accent-soft: #2aa899;
  --gold: #b89248;          /* muted gold, used sparingly */
  --maxw: 1080px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f2f2f4;
}

h1 { font-size: 2.6rem; margin: 0 0 0.5em; }
h2 { font-size: 1.7rem; margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }

p { margin: 0 0 1.1em; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: #45c4b2; text-decoration: underline; }

.mono {
  font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.brand a { color: var(--text); text-decoration: none; }
.brand .name {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand .tick {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  color: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border-soft);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.hero h1 { font-size: 3.2rem; max-width: 18ch; }
.hero .lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-top: 18px;
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-divider { border-top: 1px solid var(--border-soft); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-soft);
  margin-bottom: 14px;
  display: block;
}

/* ---------- Grid / Cards ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-top: 0; }
.card .label {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.card p:last-child { margin-bottom: 0; }

/* ---------- Desk blocks ---------- */
.desk {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 30px 28px;
  margin-bottom: 22px;
}
.desk-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.desk-num {
  font-family: "SF Mono", Menlo, monospace;
  color: var(--accent-soft);
  font-size: 0.85rem;
}
.desk h3 { margin: 0; font-size: 1.35rem; }
.desk dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 20px;
  margin: 18px 0 0;
  border-top: 1px solid var(--border-soft);
  padding-top: 18px;
}
.desk dt {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.desk dd { margin: 0; color: var(--text-muted); }

/* ---------- Disclosure / callout ---------- */
.disclosure {
  border: 1px solid var(--accent);
  border-left: 3px solid var(--accent-soft);
  background: rgba(31,138,122,0.07);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 30px 0;
}
.disclosure h3 { margin-top: 0; color: var(--accent-soft); }
.disclosure p:last-child { margin-bottom: 0; }

.note {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Team ---------- */
.person {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 28px;
  margin-bottom: 20px;
}
.person .glyph {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--accent-soft);
}
.person .role {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.person h3 { margin: 0 0 8px; }
.badge {
  display: inline-block;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Pipeline steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li {
  position: relative;
  padding: 0 0 22px 48px;
  border-left: 1px solid var(--border);
  margin-left: 16px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -16px;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.85rem;
}
.steps li strong { color: var(--text); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elev);
  transition: border-color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #03110e;
  font-weight: 600;
}
.btn.primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* ---------- Contact ---------- */
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 32px;
  max-width: 560px;
}
.contact-card .addr {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 1.1rem;
  color: var(--accent-soft);
}

/* ---------- Legal ---------- */
.legal-body h2 { margin-top: 2em; }
.legal-body { max-width: 76ch; }
.legal-body p { color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 48px 0 40px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand .name {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--text);
}
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; max-width: 42ch; margin-top: 10px; }
.footer-nav { display: flex; gap: 38px; flex-wrap: wrap; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: var(--text-muted); font-size: 0.88rem; text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-nav .head {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  margin-top: 32px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom .ai-line { margin-bottom: 6px; }

/* ---------- Utilities ---------- */
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 64ch; }
.muted { color: var(--text-muted); }
.maxw-prose { max-width: 70ch; }
hr.rule { border: 0; border-top: 1px solid var(--border-soft); margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero h1 { font-size: 2.3rem; }
  h1 { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .desk dl { grid-template-columns: 1fr; gap: 4px 0; }
  .desk dt { margin-top: 12px; }
  .nav { height: auto; flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
  .nav-links { gap: 16px; }
  .footer-grid { flex-direction: column; }
}


/* ---------- Agent grid / cards ---------- */
.agent-head { display:flex; align-items:center; gap:22px; margin-top:18px; }
.agent-photo { width:160px; height:160px; border-radius:8px; object-fit:cover; border:1px solid var(--border); }
.agent-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:14px; }
.agent-grid-1 { grid-template-columns:1fr; max-width:560px; }
.agent-card { display:flex; gap:18px; align-items:center; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; text-decoration:none; transition:border-color .15s; }
.agent-card:hover { border-color:var(--accent); text-decoration:none; }
.agent-card-photo { width:84px; height:84px; flex:0 0 84px; border-radius:50%; object-fit:cover; border:1px solid var(--border); }
.agent-card-name { font-family:Georgia,serif; font-size:1.15rem; color:#f2f2f4; margin-bottom:4px; }
.agent-card-role { font-family:"SF Mono",Menlo,monospace; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--accent-soft); }
.agent-card-cov { color:var(--text-dim); font-size:0.86rem; margin-top:6px; }
@media (max-width:820px){ .agent-grid{grid-template-columns:1fr;} .agent-head{flex-direction:column;align-items:flex-start;} }
