/* ============================================================
   SmartCVI marketing site — dark-unified theme.
   Loaded after Bootstrap + tokens.css on the public pages
   (templates/public_base.html). References the semantic tokens
   from static/css/tokens.css — never raw hex where a token
   exists. Scope: marketing templates only.
   ============================================================ */

main {
  min-height: 70vh;
}

/* Headings carry hierarchy through weight; strong text color per the DS base layer. */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);
}

/* ── Brand device: blue square + two-tone wordmark ── */
.brand-mark {
  display: inline-flex;
  align-items: center;
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.brand-square {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-right: 0.5rem;
  border-radius: var(--radius-xs);
  background: var(--accent);
}
.brand-smart {
  color: var(--text-strong);
  font-weight: var(--fw-bold);
}
.brand-suffix {
  color: var(--text-muted);
}

/* ── Navbar / footer chrome ── */
.public-nav {
  background: var(--surface-card);
  border-bottom: var(--border-w) solid var(--border);
  padding-top: 14px;
  padding-bottom: 14px;
}
.public-nav .nav-link {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease-standard);
}
.public-nav .nav-link:hover,
.public-nav .nav-link:focus {
  color: var(--text-body);
}

.public-footer {
  background: var(--surface-card);
  border-top: var(--border-w) solid var(--border);
}

/* ── Hero ── */
.public-hero {
  padding: 72px 0 56px;
  background: radial-gradient(1200px 400px at 20% -10%, rgba(13, 110, 253, 0.18), transparent 70%);
}
.public-hero h1 {
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.public-hero .lead {
  max-width: 44ch;
  color: var(--text-muted);
}

/* ── Badges ── */
.badge-soft-warning {
  background: rgba(230, 168, 23, 0.18);
  color: var(--warning-deep);
  border-radius: var(--radius-xs);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  padding: 0.28em 0.55em;
}
.status-badge {
  font-size: 0.85rem;
}

/* ── Cards ── */
/* Stock Bootstrap cards (features/technical/contact, invite pages) get the DS
   card surface: raised panel + hairline border, not flush with the page bg. */
.card {
  background: var(--surface-card);
  border-color: var(--border-subtle);
  border-radius: var(--radius-lg);
}
.card > .card-header {
  background: transparent;
  border-bottom-color: var(--border-subtle);
}
.marketing-card {
  background: var(--surface-card);
  border: var(--border-w) solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-header-soft {
  padding: 12px 16px;
  background: transparent;
  border-bottom: var(--border-w) solid var(--border-subtle);
  color: var(--text-strong);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}
.card-header-soft .bi {
  color: var(--text-muted);
}

/* Hero card checklist: accent icons, dense copy */
.hero-card-list li {
  display: flex;
  gap: 10px;
  font-size: var(--fs-sm);
}
.hero-card-list .bi {
  color: var(--accent);
}

/* ── Feature grid ── */
.feature-grid h5 {
  font-size: var(--fs-lg);
  color: var(--text-strong);
}
.feature-grid h5 .bi {
  color: var(--accent);
}
.feature-grid p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ── Forms ── */
.honeypot-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
