/* wage30.com product hub — professional multi-product landing */
:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --tt: #0369a1;
  --tt-soft: #e0f2fe;
  --kl: #0d9488;
  --kl-soft: #ccfbf1;
  --sr: #7c3aed;
  --sr-soft: #ede9fe;
  --so: #059669;
  --so-soft: #d1fae5;
  --w3: #d97706;
  --w3-soft: #fef3c7;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e0f2fe 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #d1fae5 0%, transparent 50%),
    var(--paper);
  min-height: 100vh;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: min(1240px, calc(100% - 2rem)); margin: 0 auto; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f172a, #0369a1);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}
.brand-text strong { display: block; font-size: 1.05rem; letter-spacing: -0.03em; }
.brand-text span { font-size: 0.78rem; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-admin {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}
.btn-admin-subtle {
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.55;
}
.btn-admin-subtle:hover {
  opacity: 1;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}
.brand-logo,
.product-logo {
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}
.product-logo-lg {
  border-radius: 18px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.hero-with-logo {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.product-card .product-logo {
  margin-bottom: 0.85rem;
}
.founder-panel p {
  color: #334155;
  line-height: 1.6;
}
.prose-panel p {
  color: #334155;
  line-height: 1.6;
}
html[data-site-access="public-app"] #master-access-public-banner .admin-only-public,
html[data-site-access="public-hub"] [data-staff-only-chrome] {
  display: none !important;
}
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-soft { background: #fff; border-color: var(--line); width: 100%; }
.btn-accent { color: #fff; width: 100%; }

/* Hero */
.hero { padding: 2.5rem 0 1.5rem; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  max-width: 18ch;
}
.hero p.lead {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Product grid */
.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 3rem;
}
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .products { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-card .swatch {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}
.product-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.product-card .tagline {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
  min-height: 2.6em;
  flex: 1;
}
.product-card .actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-card .btn-accent { border: 0; }
.product-card.tt .swatch, .product-card.tt .btn-accent { background: var(--tt); }
.product-card.kl .swatch, .product-card.kl .btn-accent { background: var(--kl); }
.product-card.sr .swatch, .product-card.sr .btn-accent { background: var(--sr); }
.product-card.so .swatch, .product-card.so .btn-accent { background: var(--so); }
.product-card.w3 .swatch, .product-card.w3 .btn-accent { background: var(--w3); }

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer strong { color: var(--ink); }

/* Inner pages */
.page-hero {
  padding: 2rem 0 1rem;
}
.page-hero .crumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.page-hero .crumb a { color: var(--tt); text-decoration: none; font-weight: 600; }
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.badge.tt { background: var(--tt-soft); color: #075985; }
.badge.kl { background: var(--kl-soft); color: #115e59; }
.badge.sr { background: var(--sr-soft); color: #5b21b6; }
.badge.so { background: var(--so-soft); color: #065f46; }
.badge.w3 { background: var(--w3-soft); color: #92400e; }

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.25rem;
  padding-bottom: 3rem;
}
@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.panel h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 0.95rem;
}
.points { margin: 0; padding-left: 1.15rem; color: #334155; }
.points li { margin: 0.45rem 0; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1rem 0;
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr; }
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
}
.stat strong { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.stat span { font-size: 0.78rem; color: var(--muted); }
.side-actions { display: flex; flex-direction: column; gap: 0.55rem; }
.side-actions .btn { width: 100%; }
.muted { color: var(--muted); font-size: 0.9rem; }
.deck-list { list-style: none; margin: 0; padding: 0; }
.deck-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.deck-list a { font-weight: 700; color: var(--tt); text-decoration: none; }
.note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.lead-strong {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 650;
  max-width: 40rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.table-wrap { overflow-x: auto; margin: 0.75rem 0; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
}
.data-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.data-table tr:nth-child(even) td { background: #f8fafc; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  background: #fff;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0.55rem 0 0.15rem;
  color: #334155;
  font-size: 0.92rem;
}
.ask-panel {
  border-color: #cbd5e1;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}
.burn-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 140px;
  margin: 1rem 0 0.35rem;
  padding: 0.5rem 0.25rem 0;
  border-bottom: 1px solid var(--line);
}
.burn-col { flex: 1; text-align: center; }
.burn-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 110px;
}
.burn-bar {
  width: 14px;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}
.burn-bar.opex { background: #94a3b8; }
.burn-bar.rev { background: #059669; }
.burn-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.35rem; font-weight: 650; }
.burn-legend {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  align-items: center;
}
.burn-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.burn-legend .dot.opex { background: #94a3b8; }
.burn-legend .dot.rev { background: #059669; }
