/* static/css/areas/marketing.css
   Area styles for the marketing site (templates/marketing/**) and the
   logged-in Summary shell (templates/home_base.html).
   Plain CSS, design-system tokens only. Extracted from the per-template
   <style> blocks during the Decision 17 design-system-first cleanup.

   Both marketing/base.html and home_base.html are INDEPENDENT shells: each
   <head> links output.css, tabler-icons.min.css, components.css, then this
   file. Marketing subpages extend marketing/base.html and inherit these rules. */

/* ════════════════════════════════════════════════════════════════════
   SHARED PRIMITIVES
   ════════════════════════════════════════════════════════════════════ */
[x-cloak] { display: none !important; }

.mk-body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ════════ NAVBAR ════════ */
.mk-nav {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 64px;
}
.mk-nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}
.mk-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.mk-logo-mark {
  height: 30px; width: auto; display: block;
}
.mk-logo-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: hsl(var(--brand)); }

.mk-links { display: flex; align-items: center; gap: 4px; margin-left: 40px; }
.mk-link {
  padding: 8px 14px; border-radius: 7px; font-size: 13.5px; font-weight: 500;
  color: hsl(var(--foreground) / .7); text-decoration: none;
  transition: color .12s, background .12s;
}
.mk-link:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); text-decoration: none; }

/* Dropdown container */
.mk-dd { position: relative; }
.mk-dd-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.mk-dd-trigger svg { width: 12px; height: 12px; opacity: .5; transition: transform .15s; }
.mk-dd-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mk-dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px; background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border)); border-radius: 10px;
  padding: 6px; box-shadow: 0 8px 28px rgba(0,0,0,.12); z-index: 60;
}
.mk-dd-item {
  display: block; padding: 9px 12px; border-radius: 7px;
  font-size: 13px; font-weight: 500; color: hsl(var(--foreground));
  text-decoration: none; transition: background .1s;
}
.mk-dd-item:hover { background: hsl(var(--secondary)); text-decoration: none; }
.mk-dd-item .sub { font-size: 11px; color: hsl(var(--muted-foreground)); font-weight: 400; margin-top: 1px; }

.mk-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mk-login {
  padding: 8px 16px; border-radius: 7px; font-size: 13px; font-weight: 500;
  color: hsl(var(--foreground) / .7); text-decoration: none;
  transition: color .12s;
}
.mk-login:hover { color: hsl(var(--foreground)); text-decoration: none; }
.mk-cta {
  padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: hsl(var(--accent)); color: #fff; text-decoration: none;
  transition: opacity .12s;
}
.mk-cta:hover { opacity: .9; text-decoration: none; }

/* Mobile nav toggle */
.mk-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; color: hsl(var(--foreground));
}
.mk-mobile-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .mk-links, .mk-right { display: none; }
  .mk-mobile-toggle { display: block; }
  .mk-links.mobile-open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: hsl(var(--card));
    border-bottom: 1px solid hsl(var(--border));
    padding: 12px 16px; gap: 2px; z-index: 55;
  }
  .mk-right.mobile-open {
    display: flex; position: absolute; top: 64px; right: 16px;
    z-index: 56; gap: 8px;
  }
}

/* ════════ CONTENT ════════ */
.mk-content { min-height: calc(100vh - 64px - 280px); }
.mk-section {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px;
}
.mk-section-tight { padding: 40px 24px; }
.mk-flash-wrap { max-width: 1200px; margin: 16px auto 0; padding: 0 24px; }

/* ════════ FOOTER ════════ */
.mk-footer {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 48px 24px 28px;
}
.mk-footer-inner { max-width: 1200px; margin: 0 auto; }
.mk-footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .mk-footer-grid { grid-template-columns: repeat(2, 1fr); } }
.mk-footer-col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: hsl(var(--primary-foreground) / .5);
  margin: 0 0 12px;
}
.mk-footer-col a {
  display: block; font-size: 13px; color: hsl(var(--primary-foreground) / .75);
  text-decoration: none; padding: 3px 0; transition: color .12s;
}
.mk-footer-col a:hover { color: #fff; }
.mk-footer-bottom {
  border-top: 1px solid hsl(var(--primary-foreground) / .12);
  padding-top: 20px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.mk-footer-brand { font-size: 13px; color: hsl(var(--primary-foreground) / .5); }
.mk-footer-legal { display: flex; gap: 16px; align-items: center; }
.mk-footer-legal a { font-size: 12px; color: hsl(var(--primary-foreground) / .45); text-decoration: none; }
.mk-footer-legal a:hover { color: hsl(var(--primary-foreground) / .75); }
.mk-footer-copy { font-size: 12px; color: hsl(var(--primary-foreground) / .35); }

/* ════════ SHARED COMPONENTS ════════ */
.btn-accent {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 28px; border-radius: 9px; font-size: 14px; font-weight: 600;
  background: hsl(var(--accent)); color: #fff; text-decoration: none;
  transition: opacity .12s; border: none; cursor: pointer;
}
.btn-accent:hover { opacity: .9; text-decoration: none; }
.btn-outline-lg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 28px; border-radius: 9px; font-size: 14px; font-weight: 600;
  background: transparent; color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border)); text-decoration: none;
  transition: background .12s;
}
.btn-outline-lg:hover { background: hsl(var(--secondary)); text-decoration: none; }

.flash { padding: 12px 18px; margin-bottom: 16px; border-radius: 8px; font-size: 13px; }
.flash-success { background: hsl(var(--success) / .14); color: hsl(var(--success-strong)); }
.flash-error { background: hsl(var(--destructive) / .12); color: hsl(var(--destructive)); }
.flash-warning { background: hsl(var(--warning) / .16); color: hsl(var(--warning-strong)); }
.flash-info { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }

/* Inline CTA spacing helpers (replace per-page inline style margins) */
.mk-cta-row { display: flex; gap: 12px; justify-content: center; }
.mk-cta-row-left { display: flex; gap: 12px; }
.btn-spaced { margin-right: 10px; }
/* compact CTA buttons used in homepage section copy blocks */
.price-cta-sm { padding: 10px 22px; font-size: 13px; }

/* ════════════════════════════════════════════════════════════════════
   HOMEPAGE (marketing/home.html)
   ════════════════════════════════════════════════════════════════════ */

/* ════════ HERO ════════ */
.hero { padding: 80px 24px 60px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-text h1 {
  font-size: 36px; font-weight: 800; letter-spacing: -.03em;
  line-height: 1.15; color: hsl(var(--foreground)); margin: 0 0 16px;
}
.hero-text p {
  font-size: 16px; line-height: 1.6; color: hsl(var(--muted-foreground));
  margin: 0 0 28px; max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero mockup — dashboard preview */
.hero-mockup {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.hm-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: hsl(var(--primary));
  color: hsl(var(--primary-foreground)); font-size: 11px; font-weight: 600;
}
.hm-bar-id { margin-left: auto; font-family: var(--font-mono); font-size: 10px; }
.hm-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--accent)); }
.hm-body { padding: 12px; }
.hm-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border-bottom: 1px solid hsl(var(--border)); font-size: 11px;
}
.hm-row:last-child { border-bottom: none; }
.hm-chip {
  padding: 2px 8px; border-radius: 4px; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.chip-finalized { background: hsl(var(--success) / .14); color: hsl(var(--success-strong)); }
.chip-working { background: hsl(var(--accent) / .14); color: hsl(var(--accent-strong)); }
.chip-review { background: hsl(var(--primary) / .12); color: hsl(var(--primary)); }
.chip-evidence { background: hsl(var(--warning) / .14); color: hsl(var(--warning-strong)); }
.chip-mapped { background: hsl(var(--success) / .14); color: hsl(var(--success-strong)); }
.chip-unmapped { background: hsl(var(--accent) / .14); color: hsl(var(--accent-strong)); }
.hm-cat { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--muted-foreground)); min-width: 100px; }
.hm-count { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--foreground)); margin-left: auto; }

/* ════════ PROBLEM ════════ */
.problem { background: hsl(var(--secondary)); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-grid.gap-top { margin-top: 28px; }
@media (max-width: 700px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; padding: 24px;
}
.problem-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: hsl(var(--foreground)); }
.problem-card p { font-size: 13px; line-height: 1.6; color: hsl(var(--muted-foreground)); margin: 0; }
.problem-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.problem-icon svg { width: 18px; height: 18px; }
.problem-icon-accent { background: hsl(var(--accent) / .12); }
.problem-icon-primary { background: hsl(var(--primary) / .1); }
.problem-icon-success { background: hsl(var(--success) / .14); }

.mk-center-link { text-align: center; margin-top: 24px; }
.mk-inline-link { font-size: 13px; color: hsl(var(--accent)); font-weight: 600; text-decoration: none; }

/* ════════ PIPELINE ════════ */
.pipeline-viz { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.pipe-stage {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 14px; min-width: 110px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; position: relative;
}
.pipe-stage.pipe-stage-final { border-color: hsl(var(--success) / .4); }
.pipe-stage .label { font-size: 11px; font-weight: 600; color: hsl(var(--foreground)); text-align: center; }
.pipe-stage .count { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--muted-foreground)); }
.pipe-arrow { color: hsl(var(--muted-foreground) / .4); font-size: 18px; flex-shrink: 0; }
.pipe-icon { width: 20px; height: 20px; }
.pipe-icon-accent { stroke: hsl(var(--accent)); }
.pipe-icon-primary { stroke: hsl(var(--primary)); }
.pipe-icon-foreground { stroke: hsl(var(--foreground)); }
.pipe-icon-warning { stroke: hsl(var(--warning-strong)); }
.pipe-icon-success { stroke: hsl(var(--success-strong)); }
.mk-center-block { text-align: center; margin-top: 28px; }

/* ════════ FIRMS ════════ */
.firms-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .firms-grid { grid-template-columns: 1fr; } }
.firms-text h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.firms-text p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 12px; }
.firms-cta-row { margin-top: 20px; display: flex; gap: 10px; }
.firms-mockup {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; overflow: hidden;
}
.fm-header { padding: 10px 14px; background: hsl(var(--primary)); color: #fff; font-size: 11px; font-weight: 600; }
.fm-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  border-bottom: 1px solid hsl(var(--border)); font-size: 11.5px;
}
.fm-row:last-child { border-bottom: none; }
.fm-client { font-weight: 600; min-width: 120px; }
.fm-status { margin-left: auto; }
.fm-status-note { margin-left: auto; font-size: 10px; color: hsl(var(--muted-foreground)); }

/* ════════ AI CLASSIFICATION ════════ */
.ai-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-mockup {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; padding: 16px;
}
.ai-mockup-label, .audit-mockup-label {
  font-size: 11px; font-weight: 700; color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: .05em;
}
.ai-mockup-label { padding: 4px 0 10px; }
.audit-mockup-label { padding: 0 0 10px; }
.ai-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border)); font-size: 11px;
}
.ai-row:last-child { border-bottom: none; }
.ai-desc { flex: 1; min-width: 0; font-weight: 500; }
.ai-acct { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--primary)); min-width: 70px; }
.ai-acct.ai-acct-unknown { color: hsl(var(--muted-foreground)); }
.ai-conf { font-family: var(--font-mono); font-size: 10px; }
.ai-conf-high { color: hsl(var(--success-strong)); }
.ai-conf-mid { color: hsl(var(--accent)); }
.ai-conf-low { color: hsl(var(--destructive)); }
.ai-source { font-size: 9.5px; color: hsl(var(--muted-foreground)); min-width: 65px; }
.ai-action { font-size: 10px; font-weight: 600; color: hsl(var(--accent)); cursor: pointer; }
.ai-action.ai-action-low { color: hsl(var(--destructive)); }
.ai-text h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.ai-text p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 12px; }

/* ════════ AUDIT ════════ */
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .audit-grid { grid-template-columns: 1fr; } }
.audit-mockup {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; padding: 16px;
}
.audit-item { padding: 7px 0; border-bottom: 1px solid hsl(var(--border)); }
.audit-item:last-child { border-bottom: none; }
.audit-label { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: hsl(var(--muted-foreground)); margin-bottom: 2px; }
.audit-val { font-size: 12px; color: hsl(var(--foreground)); }
.audit-val.audit-val-sm { font-size: 11px; }
.audit-hash { font-family: var(--font-mono); font-size: 10px; color: hsl(var(--primary)); word-break: break-all; }
.audit-text h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.audit-text p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 12px; }
.audit-cta-row { margin-top: 20px; display: flex; gap: 10px; }

/* ════════ UI PREVIEW ════════ */
.uipreview { background: hsl(var(--secondary)); }
.uip-mockup {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 12px; overflow: hidden; margin-top: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.uip-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: hsl(var(--primary)); color: #fff;
  font-size: 12px; font-weight: 600;
}
.uip-logo-badge {
  width: 20px; height: 20px; border-radius: 5px; background: hsl(var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.uip-company-chip {
  margin-left: 12px; padding: 4px 10px; background: rgba(255,255,255,.12);
  border-radius: 6px; font-size: 10px;
}
.uip-body { display: flex; }
.uip-sidebar {
  width: 160px; flex-shrink: 0; padding: 12px 8px;
  background: hsl(var(--sidebar)); color: hsl(var(--sidebar-foreground));
  border-right: 1px solid hsl(var(--sidebar-border));
}
.uip-nav { padding: 6px 8px; font-size: 11px; border-radius: 5px; margin-bottom: 2px; color: hsl(var(--sidebar-foreground) / .6); }
.uip-nav.active { background: hsl(var(--sidebar-accent)); color: #fff; font-weight: 600; }
.uip-nav-spacer { height: 12px; }
.uip-main { flex: 1; padding: 12px 16px; }
.uip-table { width: 100%; font-size: 10.5px; border-collapse: collapse; }
.uip-table th { text-align: left; padding: 6px 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; color: hsl(var(--muted-foreground)); border-bottom: 2px solid hsl(var(--border)); }
.uip-table td { padding: 6px 8px; border-bottom: 1px solid hsl(var(--border)); }
.uip-table .mono { font-family: var(--font-mono); font-size: 10px; }
.uip-table .num { text-align: right; }
.uip-table .hm-chip { font-size: 8px; }
.uip-ev-attached { font-size: 9px; color: hsl(var(--success-strong)); }
.uip-ev-needed { font-size: 9px; color: hsl(var(--accent)); }

/* ════════ PRICING PREVIEW ════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; padding: 28px 24px; text-align: center;
}
.price-card.featured { border-color: hsl(var(--accent)); }
.price-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.price-card .audience { font-size: 12px; color: hsl(var(--muted-foreground)); margin: 0 0 16px; }
.price-card .price { font-size: 14px; font-weight: 600; color: hsl(var(--foreground)); margin: 0 0 20px; }
.price-card .btn-outline-lg, .price-card .btn-accent { padding: 10px 22px; font-size: 13px; }

/* ════════ FINAL CTA ════════ */
.final-cta {
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  text-align: center; padding: 64px 24px;
}
.final-cta h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; color: hsl(var(--primary-foreground)); }
.final-cta p { font-size: 15px; color: hsl(var(--primary-foreground) / .7); margin: 0 0 28px; }
.final-cta .btn-accent { background: hsl(var(--accent)); }
.final-cta .btn-outline-lg { color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary-foreground) / .25); }
.final-cta .btn-outline-lg:hover { background: hsl(var(--primary-foreground) / .1); }

.section-head { text-align: center; margin-bottom: 8px; }
.section-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.section-head p { font-size: 14px; color: hsl(var(--muted-foreground)); margin: 0 auto; max-width: 640px; line-height: 1.6; }

.mk-section-secondary { background: hsl(var(--secondary)); }

/* ════════════════════════════════════════════════════════════════════
   DETAIL PAGES (features/**, workflow/**) — shared dt-* language
   ════════════════════════════════════════════════════════════════════ */
.dt-hero { padding: 80px 24px 48px; }
.dt-hero-inner { max-width: 800px; margin: 0 auto; }
.dt-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--accent)); margin: 0 0 10px; }
.dt-hero-inner h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 16px; }
.dt-hero-inner p { font-size: 15px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 28px; max-width: 640px; }
.dt-section { max-width: 900px; margin: 0 auto; padding: 60px 24px; }
.dt-section h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.dt-section p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 12px; }
.dt-mockup { background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); border-radius: 10px; overflow: hidden; }
.dt-mockup-bar { padding: 10px 14px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: 11px; font-weight: 600; }
.mono { font-family: var(--font-mono); }
.dt-card { background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); border-radius: 10px; padding: 22px; }
.dt-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.dt-card p { font-size: 13px; line-height: 1.6; color: hsl(var(--muted-foreground)); margin: 0 0 10px; }
.dt-card a { font-size: 12px; font-weight: 600; color: hsl(var(--accent)); text-decoration: none; }
.dt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .dt-grid { grid-template-columns: 1fr; } }
.dt-table { width: 100%; border-collapse: collapse; }
.dt-table th { padding: 8px 12px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid hsl(var(--border)); text-align: left; color: hsl(var(--muted-foreground)); }
.dt-table td { padding: 10px 12px; font-size: 11.5px; border-bottom: 1px solid hsl(var(--border)); }

/* features/index.html extras */
.feat-card-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feat-card-icon svg { width: 18px; height: 18px; }

/* workflow/index.html — stage bands */
.stage-band { padding: 48px 24px; }
.stage-band:nth-child(even) { background: hsl(var(--secondary)); }
.stage-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.stage-num { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.stage-num-accent { background: hsl(var(--accent) / .12); color: hsl(var(--accent)); }
.stage-num-primary { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.stage-num-success { background: hsl(var(--success) / .14); color: hsl(var(--success-strong)); }
.stage-num-warning { background: hsl(var(--warning) / .14); color: hsl(var(--warning-strong)); }
.stage-body h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.stage-body p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 8px; }
.stage-tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border-radius: 4px; background: hsl(var(--primary) / .08); color: hsl(var(--primary)); }

/* intake_pipeline.html — pipe diagram + staging rows */
.pipe-diagram { display: flex; align-items: stretch; gap: 2px; margin: 28px 0; flex-wrap: wrap; }
.pipe-step { flex: 1; min-width: 140px; background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); border-radius: 8px; padding: 18px 14px; }
.pipe-step .step-num { font-size: 10px; font-weight: 800; color: hsl(var(--accent)); margin-bottom: 6px; }
.pipe-step h4 { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.pipe-step p { font-size: 11.5px; line-height: 1.5; color: hsl(var(--muted-foreground)); margin: 0; }
.staging-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid hsl(var(--border)); font-size: 11px; }
.staging-row:last-child { border-bottom: none; }

/* workflow/demo.html — animated timeline */
.demo-timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.demo-step { position: relative; margin-bottom: 32px; opacity: 0; animation: fadeSlideIn .5s ease forwards; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.demo-dot { position: absolute; left: -33px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid hsl(var(--border)); background: hsl(var(--background)); z-index: 1; }
.demo-dot.done { border-color: hsl(var(--success)); background: hsl(var(--success)); }
.demo-dot.active { border-color: hsl(var(--accent)); background: hsl(var(--accent)); }
.demo-card { background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); border-radius: 10px; padding: 16px 18px; }
.demo-card h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.demo-card p { font-size: 12px; line-height: 1.55; color: hsl(var(--muted-foreground)); margin: 0 0 6px; }
.demo-detail { font-family: var(--font-mono); font-size: 10px; padding: 8px 10px; background: hsl(var(--secondary)); border-radius: 6px; margin-top: 8px; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════════════
   PRICING (marketing/pricing.html)
   ════════════════════════════════════════════════════════════════════ */
.pr-hero { text-align: center; padding: 56px 24px 32px; max-width: 760px; margin: 0 auto; }
.pr-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.pr-hero p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }

.pr-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  max-width: 1280px; margin: 0 auto; padding: 0 24px 40px;
}
@media (max-width: 1100px) { .pr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .pr-grid { grid-template-columns: 1fr; max-width: 420px; } }

.pr-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 12px; padding: 24px 20px; display: flex; flex-direction: column;
  position: relative;
}
.pr-card.featured { border-color: hsl(var(--accent)); border-width: 2px; }
.pr-card.featured::before {
  content: 'Most popular'; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%); background: hsl(var(--accent)); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 4px;
}
.pr-card h2 { font-size: 20px; font-weight: 700; margin: 0 0 2px; }
.pr-aud { font-size: 11.5px; color: hsl(var(--muted-foreground)); margin: 0 0 14px; min-height: 32px; line-height: 1.4; }
.pr-price { font-size: 26px; font-weight: 800; margin: 0 0 2px; letter-spacing: -.02em; }
.pr-price-suffix { font-size: 13px; font-weight: 500; color: hsl(var(--muted-foreground)); }
.pr-note { font-size: 11px; color: hsl(var(--muted-foreground)); margin: 0 0 18px; min-height: 16px; }

.pr-list { list-style: none; padding: 0; margin: 0 0 18px; }
.pr-list li {
  padding: 5px 0; font-size: 12.5px; color: hsl(var(--foreground));
  display: flex; align-items: baseline; gap: 7px; line-height: 1.4;
}
.pr-list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: hsl(var(--accent)); flex-shrink: 0; margin-top: 6px;
}
.pr-list li.muted { color: hsl(var(--muted-foreground)); }
.pr-list li.muted::before { background: hsl(var(--muted-foreground)); }
.pr-cta { margin-top: auto; }
.pr-cta .btn-primary, .pr-cta .btn-outline { width: 100%; text-align: center; padding: 9px 14px; font-size: 13px; }

/* Comparison matrix */
.pr-matrix-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 24px 40px; overflow-x: auto; }
.pr-matrix-title { font-size: 22px; font-weight: 700; margin: 0 0 18px; text-align: center; }
.pr-matrix {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 13px; min-width: 800px;
}
.pr-matrix thead th {
  text-align: left; font-weight: 700; padding: 14px 12px;
  background: hsl(var(--secondary)); border-bottom: 2px solid hsl(var(--border));
  font-size: 13px;
}
.pr-matrix thead th:first-child { border-top-left-radius: 8px; }
.pr-matrix thead th:last-child { border-top-right-radius: 8px; }
.pr-matrix tbody td {
  padding: 11px 12px; border-bottom: 1px solid hsl(var(--border));
  font-family: var(--font-mono); font-size: 12.5px;
}
.pr-matrix tbody td:first-child {
  font-family: var(--font-sans); font-weight: 600; color: hsl(var(--foreground));
}
.pr-matrix tbody tr:last-child td { border-bottom: 0; }
.pr-matrix .yes { color: hsl(var(--accent)); font-weight: 700; }
.pr-matrix .no { color: hsl(var(--muted-foreground)); }
.pr-matrix .na { color: hsl(var(--muted-foreground)); font-style: italic; }

/* Outgrowth callout */
.pr-outgrowth { max-width: 900px; margin: 0 auto; padding: 0 24px 48px; }
.pr-outgrowth-card { background: hsl(var(--secondary)); border-radius: 10px; padding: 22px 26px; }
.pr-outgrowth-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.pr-outgrowth-card p { font-size: 13.5px; color: hsl(var(--foreground)); line-height: 1.6; margin: 0 0 8px; }
.pr-outgrowth-card p:last-child { margin-bottom: 0; }

/* FAQ */
.pr-faq { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; }
.pr-faq h2 { font-size: 22px; font-weight: 700; margin: 0 0 18px; text-align: center; }
.pr-faq-item { border-bottom: 1px solid hsl(var(--border)); padding: 14px 0; }
.pr-faq-item:last-child { border-bottom: 0; }
.pr-faq-item h3 { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.pr-faq-item p { font-size: 13px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }

/* ════════════════════════════════════════════════════════════════════
   SIMPLE PAGE (marketing/simple_page.html)
   ════════════════════════════════════════════════════════════════════ */
.sp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 36px; align-items: center;
  max-width: 980px; margin: 0 auto; padding: 72px 24px 44px;
}
.sp-eyebrow {
  margin: 0 0 12px; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--accent));
}
.sp-hero h1 {
  max-width: 760px; margin: 0 0 16px; font-size: 44px;
  line-height: 1.04; font-weight: 800; letter-spacing: -.03em;
}
.sp-hero p {
  max-width: 720px; margin: 0; font-size: 17px;
  line-height: 1.65; color: hsl(var(--muted-foreground));
}
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sp-visual {
  overflow: hidden; border: 1px solid hsl(var(--card-border));
  border-radius: 14px; background: hsl(var(--card));
  box-shadow: 0 18px 48px rgba(0,0,0,.14);
}
.sp-visual img { display: block; width: 100%; height: auto; }
.sp-visual-caption {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-top: 1px solid hsl(var(--card-border));
  font-family: var(--font-mono); font-size: 11px;
  color: hsl(var(--muted-foreground)); background: hsl(var(--secondary));
}
.sp-panel { max-width: 980px; margin: 0 auto 72px; padding: 0 24px; }
.sp-image-band {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px; align-items: center; margin-top: 22px; padding: 22px;
  border: 1px solid hsl(var(--card-border)); border-radius: 12px; background: hsl(var(--card));
}
.sp-image-band img { width: 100%; border-radius: 10px; border: 1px solid hsl(var(--border)); display: block; }
.sp-image-copy h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.sp-image-copy p { margin: 0; font-size: 13px; line-height: 1.65; color: hsl(var(--muted-foreground)); }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) {
  .sp-hero { grid-template-columns: 1fr; }
  .sp-hero h1 { font-size: 34px; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-image-band { grid-template-columns: 1fr; }
}
.sp-card { background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); border-radius: 10px; padding: 22px; }
.sp-card h2 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.sp-card p { margin: 0; font-size: 13px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.sp-note {
  margin-top: 20px; padding: 18px 20px; border-left: 3px solid hsl(var(--accent));
  background: hsl(var(--secondary)); border-radius: 8px;
  font-size: 13px; line-height: 1.6; color: hsl(var(--foreground));
}

/* ════════════════════════════════════════════════════════════════════
   ABOUT (marketing/about.html)
   ════════════════════════════════════════════════════════════════════ */
.ab-hero { text-align: center; padding: 64px 24px 24px; max-width: 700px; margin: 0 auto; }
.ab-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.ab-hero p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }
.ab-body { max-width: 680px; margin: 0 auto; padding: 40px 24px 64px; }
.ab-body h2 { font-size: 20px; font-weight: 800; margin: 0 0 12px; }
.ab-body p { font-size: 14.5px; line-height: 1.7; color: hsl(var(--muted-foreground)); margin: 0 0 16px; }
.ab-cta { text-align: center; padding: 20px 24px 64px; }

/* ════════════════════════════════════════════════════════════════════
   PHILOSOPHY (marketing/philosophy.html)
   ════════════════════════════════════════════════════════════════════ */
.ph-hero { text-align: center; padding: 64px 24px 24px; max-width: 700px; margin: 0 auto; }
.ph-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.ph-hero p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }
.ph-body { max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; }
.ph-section { margin-bottom: 48px; }
.ph-section h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; color: hsl(var(--foreground)); }
.ph-section p { font-size: 14.5px; line-height: 1.7; color: hsl(var(--muted-foreground)); margin: 0 0 14px; }
.ph-section p:last-child { margin-bottom: 0; }
.ph-cta { text-align: center; padding: 40px 24px 64px; }

/* ════════════════════════════════════════════════════════════════════
   CONTACT (marketing/contact.html)
   ════════════════════════════════════════════════════════════════════ */
.ct-hero { text-align: center; padding: 64px 24px 24px; max-width: 600px; margin: 0 auto; }
.ct-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.ct-hero p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }
.ct-body { max-width: 520px; margin: 0 auto; padding: 32px 24px 64px; }
.ct-form-group { margin-bottom: 16px; }
.ct-form-group label {
  display: block; font-size: 12px; font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 5px;
}
.ct-form-group input, .ct-form-group textarea, .ct-form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid hsl(var(--border));
  border-radius: 8px; font-family: var(--font-sans); font-size: 13px;
  background: hsl(var(--card)); color: hsl(var(--foreground)); box-sizing: border-box;
}
.ct-form-group input:focus, .ct-form-group textarea:focus, .ct-form-group select:focus {
  outline: none; border-color: hsl(var(--accent));
}
.ct-form-group textarea { min-height: 120px; resize: vertical; }
.ct-submit { width: 100%; justify-content: center; }
.ct-alt { margin-top: 40px; padding-top: 32px; border-top: 1px solid hsl(var(--border)); }
.ct-alt h2 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.ct-alt p { font-size: 13px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0 0 8px; }
.ct-alt a { color: hsl(var(--accent)); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════
   START (marketing/start.html)
   ════════════════════════════════════════════════════════════════════ */
.st-hero { text-align: center; padding: 80px 24px 40px; max-width: 600px; margin: 0 auto; }
.st-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.st-hero p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0 0 32px; }
.st-steps { max-width: 480px; margin: 0 auto; padding: 0 24px 40px; }
.st-step { display: flex; gap: 16px; margin-bottom: 24px; }
.st-num {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; font-family: var(--font-mono);
}
.st-step-body h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.st-step-body p { font-size: 13px; color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.5; }
.st-cta { text-align: center; padding: 0 24px 80px; }
.st-cta-btn { font-size: 16px; padding: 14px 36px; }
.st-cta-note { margin-top: 12px; font-size: 12px; color: hsl(var(--muted-foreground)); }

/* ════════════════════════════════════════════════════════════════════
   SECURITY (marketing/security.html)
   ════════════════════════════════════════════════════════════════════ */
.sec-hero { text-align: center; padding: 64px 24px 24px; max-width: 700px; margin: 0 auto; }
.sec-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.sec-hero p { font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0; }
.sec-body { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.sec-section { margin-bottom: 40px; }
.sec-section h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.sec-section p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 12px; }
.sec-section ul { padding-left: 18px; margin: 0 0 12px; }
.sec-section li { font-size: 13.5px; line-height: 1.6; color: hsl(var(--muted-foreground)); margin-bottom: 4px; }
.sec-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--card-border));
  border-radius: 10px; padding: 20px 24px; margin-bottom: 12px;
}
.sec-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.sec-card p { font-size: 13px; color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.55; }
.sec-cta { text-align: center; padding: 20px 24px 64px; }
.sec-mask { font-family: var(--font-mono); font-size: 12px; }

/* ════════════════════════════════════════════════════════════════════
   LEGAL (marketing/privacy.html, marketing/terms.html)
   ════════════════════════════════════════════════════════════════════ */
.legal-hero { text-align: center; padding: 64px 24px 24px; max-width: 700px; margin: 0 auto; }
.legal-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.legal-hero p { font-size: 13px; color: hsl(var(--muted-foreground)); margin: 0; }
.legal-body { max-width: 720px; margin: 0 auto; padding: 40px 24px 64px; }
.legal-body h2 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; color: hsl(var(--foreground)); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 14px; line-height: 1.65; color: hsl(var(--muted-foreground)); margin: 0 0 12px; }
.legal-body ul { padding-left: 18px; margin: 0 0 12px; }
.legal-body li { font-size: 13.5px; line-height: 1.6; color: hsl(var(--muted-foreground)); margin-bottom: 4px; }
.legal-note {
  background: hsl(var(--secondary)); border-radius: 8px; padding: 16px 20px;
  font-size: 12px; color: hsl(var(--muted-foreground)); margin-bottom: 24px;
  border-left: 3px solid hsl(var(--accent));
}
.legal-link { color: hsl(var(--accent)); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════
   SUMMARY SHELL (templates/home_base.html) — stg-* editorial sidebar
   ════════════════════════════════════════════════════════════════════ */
.stg-app { display: flex; min-height: 100vh; }

/* ── Sidebar — light editorial panel ── */
.stg-sidebar {
  width: 232px; flex-shrink: 0;
  background: hsl(var(--card));
  border-right: 1px solid hsl(var(--border));
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.stg-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 19px 18px 14px; text-decoration: none;
}
.stg-brand-mark { height: 28px; width: auto; display: block; }
.stg-brand-name { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: hsl(var(--brand)); }

.stg-section-label {
  margin: 6px 18px 4px;
  font-size: 9.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: hsl(var(--muted-foreground));
}

.stg-nav { padding: 4px 14px; flex: 1; }
.stg-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 11px; border-radius: 7px; font-size: 13px;
  color: hsl(var(--muted-foreground)); text-decoration: none;
  transition: background .12s, color .12s; margin-bottom: 1px;
}
.stg-nav-item:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); text-decoration: none; }
.stg-nav-item.active { background: hsl(var(--primary)); color: #fff; font-weight: 500; }
.stg-nav-item svg { width: 16px; height: 16px; stroke-width: 2; flex-shrink: 0; }
.stg-nav-item .ct {
  margin-left: auto; font-size: 11px; font-weight: 700;
  font-family: var(--font-mono);
  background: hsl(var(--accent)); color: #fff;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.stg-nav-item.active .ct { background: rgba(255,255,255,.22); }
/* disabled nav item — reserved feature, not yet clickable */
.stg-nav-item.disabled {
  color: hsl(var(--muted-foreground) / .5);
  cursor: not-allowed; pointer-events: none;
}
.stg-nav-item.disabled .soon {
  margin-left: auto; font-size: 8.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: hsl(var(--secondary)); color: hsl(var(--muted-foreground));
  padding: 2px 6px; border-radius: 5px;
}
.stg-nav-divider { height: 1px; background: hsl(var(--border)); margin: 10px 4px; }

/* ── User card footer ── */
.stg-side-foot { border-top: 1px solid hsl(var(--border)); padding: 12px 14px; }
.stg-user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 9px; border-radius: 9px; background: hsl(var(--secondary));
}
.stg-user-card .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: hsl(var(--primary)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; letter-spacing: .02em;
}
.stg-user-card .meta { min-width: 0; flex: 1; }
.stg-user-card .nm {
  font-size: 12.5px; font-weight: 600; color: hsl(var(--foreground));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stg-user-card .em {
  font-size: 10.5px; color: hsl(var(--muted-foreground));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stg-logout-btn {
  margin-top: 8px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 10px; border-radius: 8px;
  background: transparent; border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground)); font-size: 12px; font-weight: 500;
  cursor: pointer; transition: background .12s, color .12s, border-color .12s;
  font-family: var(--font-sans);
}
.stg-logout-btn:hover {
  background: hsl(var(--destructive) / .08);
  border-color: hsl(var(--destructive) / .35);
  color: hsl(var(--destructive));
}
.stg-logout-btn svg { width: 14px; height: 14px; stroke-width: 2; }

/* ── Main + masthead ── */
.stg-main { flex: 1; min-width: 0; }
.stg-wrap { max-width: 920px; margin: 0 auto; padding: 30px 40px 60px; }
.stg-masthead {
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 2px solid hsl(var(--foreground));
}
.stg-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: hsl(var(--accent));
}
.stg-headline {
  font-size: 28px; font-weight: 700; letter-spacing: -.03em;
  margin-top: 4px; line-height: 1.1; color: hsl(var(--foreground));
}
.stg-dateline { font-size: 13px; color: hsl(var(--muted-foreground)); margin-top: 5px; }
.stg-flash { margin-bottom: 20px; }
.stg-flash > div { margin-bottom: 8px; }
