/* StackwellCo shared chrome - oh.gg
   SoT: /workspace/tucker-enterprises/brand/BRAND.md (LOCKED)
   Live: https://oh.gg/assets/chrome/stackwell.css
   Served by Caddy catch-all file_server from /opt/stackwellco/www
*/

:root {
  --bg: #0c0f14;
  --bg-elev: #141a22;
  --bg-card: #1a222d;
  --border: #2a3544;
  --text: #e8eef6;
  --muted: #9aa8b8;
  --accent: #3dd68c;
  --accent-dim: #1f8f5a;
  --warn: #f0b429;
  --danger: #f07178;
  --link: #6cb6ff;
  --radius: 12px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* Header chrome */
header.site.sw-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

header.site.sw-chrome .logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
header.site.sw-chrome .logo:hover { text-decoration: none; }
header.site.sw-chrome .logo span { color: var(--accent); }

.sw-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  font-size: 0.88rem;
}
.sw-nav a {
  color: var(--muted);
  text-decoration: none;
}
.sw-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.sw-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

header.site.sw-chrome .badge {
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-elev);
}

/* Footer chrome */
footer.site.sw-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
footer.site.sw-footer p { margin: 0; }
footer.site.sw-footer .sw-footer-links {
  margin-top: 0.65rem;
  font-size: 0.85rem;
}
footer.site.sw-footer .sw-footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 0.35rem;
}
footer.site.sw-footer .sw-footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}
footer.site.sw-footer .sw-footer-legal {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Homepage company hub */
.hub-hero {
  margin-bottom: 1.5rem;
}
.hub-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  font-weight: 700;
}
.hub-hero .tagline {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 640px) {
  .family-grid { grid-template-columns: 1fr; }
  header.site.sw-chrome .badge { order: 3; width: 100%; text-align: center; }
}

.family-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.family-card:hover {
  border-color: var(--accent-dim);
  text-decoration: none;
}
.family-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.family-card .price {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}
.family-card .blurb {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.family-card .cta {
  color: var(--link);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.25rem;
}
.family-card .mvp-badge {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--warn);
  border: 1px solid rgba(240, 180, 41, 0.45);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  width: fit-content;
}

.kit-section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.wrap-hub {
  max-width: 860px;
}

.sw-nav-soon {
  color: var(--muted);
  font-size: 0.88rem;
  opacity: 0.7;
  cursor: default;
}
footer.site.sw-footer .sw-footer-links .sw-nav-soon {
  margin: 0 0.35rem;
  font-size: 0.85rem;
}

.family-card-soon {
  opacity: 0.92;
  border-style: dashed;
  cursor: default;
}
.family-card-soon:hover { border-color: var(--border); }
.family-card-soon .cta { color: var(--muted); }
