/* M+A Portal — styles built ON shared brand.css tokens. No new colors. */

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
}

.masthead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px;
  background: #121536;   /* exact lockup navy — seamless with ma-lockup.png */
  color: var(--cream);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-lockup { height: 34px; width: auto; display: block; }
.brand-tag {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  padding-left: 14px; border-left: 1px solid rgba(244,241,235,.22);
}
.masthead .who .label-smallcaps { color: var(--gold); }

.wrap { max-width: 920px; margin: 44px auto; padding: 0 28px; }
h1 { font-family: var(--font-display); font-weight: 500; font-size: 32px; margin: 6px 0 8px; color: var(--navy); }
.lede { font-family: var(--font-body); font-size: 16px; color: var(--navy-75); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Tool cards — responsive grid; a single card (external) sits left-aligned. */
.cards {
  display: grid; gap: 16px; margin: 30px 0;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.tool-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  transition: box-shadow .15s ease, transform .15s ease;
}
.tool-card:hover {
  box-shadow: 0 6px 20px rgba(18,21,54,.10);
  transform: translateY(-1px);
}
.tool-card:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.tool-title {
  font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--navy);
}
.tool-desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.tool-go {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .04em; color: var(--gold); margin-top: 6px;
}

a { color: var(--navy); }
