/* Nxt7a – shared styles for the deliverables hub pages
   (index / sales / investors / employment). Tokens from tokens.css. */
@import url('./tokens.css');

body {
  margin: 0; padding: 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f0fdf4 100%);
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--fg1);
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 40px 32px 96px; }

/* ── Cross-hub nav ─────────────────────────────────────────── */
.hubnav {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 48px;
  padding: 6px; border-radius: 12px;
  background: #fff; border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 16px; z-index: 20;
}
.hubnav a {
  flex: 1; text-align: center; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
  padding: 10px 14px; border-radius: 8px;
  color: var(--fg2); text-decoration: none;
  transition: all 180ms var(--ease-standard);
}
.hubnav a:hover { color: var(--brand-strong); background: var(--nxt-mint-50); }
.hubnav a[aria-current="page"] { background: var(--brand-strong); color: #fff; }

/* ── Back link (replaces the old pill nav) ─────────────────── */
.back {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg3); margin-bottom: 28px; transition: color 160ms var(--ease-standard);
}
.back:hover { color: var(--brand); }
.back svg { width: 14px; height: 14px; stroke-width: 2.25; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { margin-bottom: 56px; }
.hero__logo { height: 38px; margin-bottom: 28px; display: block; }
.hero__kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--brand); font-weight: 600; margin-bottom: 12px;
}
.hero h1 {
  font-size: 44px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin: 0 0 16px 0; color: var(--fg1); max-width: 22ch;
}
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 17px; line-height: 1.6; color: var(--fg2); margin: 0; max-width: 60ch; }

/* ── Section ───────────────────────────────────────────────── */
section { margin-top: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.section-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0; color: var(--fg1); }
.section-head .hint { font-size: 13px; color: var(--fg3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* ── Card grid ─────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 22px 22px 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: all 200ms var(--ease-standard);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--border); transform: translateY(-1px); }
.card__chip {
  display: inline-block; font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 700; padding: 4px 10px;
  background: var(--nxt-mint-100); color: var(--brand-strong);
  border-radius: 999px; align-self: flex-start;
}
.card__title { font-size: 16px; font-weight: 700; color: var(--fg1); margin: 0; letter-spacing: -0.01em; line-height: 1.3; }
.card__desc { font-size: 13.5px; color: var(--fg2); line-height: 1.5; margin: 0; flex-grow: 1; }

.card__actions { display: flex; gap: 8px; margin-top: 4px; }
.card__actions a {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 600;
  padding: 9px 12px; border-radius: 8px; text-decoration: none;
  transition: all 200ms var(--ease-standard);
}
.card__actions a.preview { background: #fff; color: var(--fg1); border: 1px solid var(--border); }
.card__actions a.preview:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--nxt-mint-50); }
.card__actions a.docx { background: var(--brand-strong); color: #fff; border: 1px solid var(--brand-strong); }
.card__actions a.docx:hover { background: #126c33; border-color: #126c33; }

/* Full-width feature card (dark forest) */
.sig-card { grid-column: 1 / -1; background: var(--nxt-forest); color: #fff; border: none; }
.sig-card .card__title { color: #fff; }
.sig-card .card__desc { color: rgba(255,255,255,0.78); }
.sig-card .card__chip { background: rgba(255,255,255,0.12); color: #86efac; }
.sig-card .card__actions a.preview { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.22); }
.sig-card .card__actions a.preview:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }

/* ── Notes ─────────────────────────────────────────────────── */
.note {
  margin-top: 64px; padding: 24px 28px; background: #fff;
  border-radius: 12px; border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
  font-size: 13.5px; color: var(--fg2); line-height: 1.6;
}
.note h3 { font-size: 14px; font-weight: 700; color: var(--brand-strong); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px 0; }
.note ul { margin: 0; padding-left: 18px; }
.note li { margin-bottom: 4px; }
.note strong { color: var(--fg1); }

footer {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--fg3); display: flex; justify-content: space-between;
  text-transform: uppercase; letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .hubnav { position: static; }
  .hero h1 { font-size: 34px; }
}
