/* ============================================================================
   GMPCommerce by SellStack — site styles
   Companion property to sellstack.shop. Shared design tokens, adjunct accent.
   ============================================================================ */

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Lato, Arial, Helvetica, sans-serif;
  font-size: calc(1rem + 0.1vw);
  font-weight: 400;
  line-height: 1.6;
  color: #161616;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #f10000; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Design tokens ---------- */
:root {
  /* SellStack core */
  --ss-dark: #161616;
  --ss-dark-2: #212121;
  --ss-light: #ffffff;
  --ss-red: #f10000;
  --ss-gray: #757575;
  --ss-off-white: #F8F8F8;

  /* GMPCommerce accents */
  --gmp-slate: #0a2540;      /* pharma-grade */
  --gmp-slate-tint: #1a3a52;
  --ss-green: #4AF626;       /* highlight / positive */
  --gmp-success: var(--ss-green);  /* alias: positive scorecard */
  --gmp-warn: #c76b00;       /* mid-tier shock */

  /* UI */
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.12);
}

/* ---------- Typography ---------- */
.h1, h1 { font-weight: 800; font-size: calc(3rem + 0.3vw); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 1rem 0; }
.h2, h2 { font-weight: 700; font-size: calc(2.2rem + 0.25vw); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.75rem 0; }
.h3, h3 { font-weight: 600; font-size: calc(1.5rem + 0.17vw); line-height: 1.25; margin: 0 0 0.5rem 0; }
.h4, h4 { font-weight: 600; font-size: calc(1.2rem + 0.15vw); line-height: 1.3; margin: 0 0 0.5rem 0; }
.h5, h5 { font-weight: 500; font-size: calc(1rem + 0.1vw); line-height: 1.4; margin: 0 0 0.5rem 0; }
p { font-size: calc(1rem + 0.1vw); line-height: 1.6; margin: 0 0 1rem 0; }
strong, b { font-weight: 700; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ss-red);
  margin-bottom: 1rem;
  display: inline-block;
}
.eyebrow-slate { color: var(--gmp-slate); }
.eyebrow-light { color: var(--ss-off-white); }

/* ---------- Layout ---------- */
.container { max-width: 90%; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 75%; margin: 0 auto; padding: 0 1rem; }
.container-reading { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 900px) {
  .container, .container-narrow { max-width: 94%; }
  .container-reading { max-width: 94%; }
}
section { padding: 5rem 0; }
section.compact { padding: 3rem 0; }
@media (max-width: 700px) { section { padding: 3rem 0; } }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--ss-dark);
  color: var(--ss-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ss-light);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-wordmark {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  line-height: 1;
}
.brand-wordmark .brand-slash {
  color: var(--ss-red);
  margin: 0 0.1em;
}
.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ss-gray);
  font-weight: 500;
  margin-top: 0.1rem;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ss-light);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.3rem 0;
  border-bottom: 4px solid transparent;
  transition: border-color 0.15s;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.active { border-bottom-color: var(--ss-red); text-decoration: none; }
.site-nav .btn-nav {
  background: var(--ss-red);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--ss-light);
  border-bottom: none;
}
.site-nav .btn-nav:hover { background: #c40000; border-bottom-color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease-in-out;
  line-height: 1.4;
  text-align: center;
}
.btn-primary { background: var(--ss-red); color: var(--ss-light); }
.btn-primary:hover { background: #c40000; color: var(--ss-light); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--ss-dark);
  border-color: var(--ss-dark);
}
.btn-outline:hover { background: var(--ss-dark); color: var(--ss-light); text-decoration: none; }
.btn-outline-light {
  background: transparent;
  color: var(--ss-light);
  border-color: var(--ss-light);
}
.btn-outline-light:hover { background: var(--ss-light); color: var(--ss-dark); text-decoration: none; }
.btn-slate { background: var(--gmp-slate); color: var(--ss-light); }
.btn-slate:hover { background: var(--gmp-slate-tint); color: var(--ss-light); text-decoration: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ss-dark);
  color: var(--ss-light);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: calc(3.2rem + 0.4vw);
  max-width: 20ch;
  margin-bottom: 1.5rem;
}
.hero .lead {
  font-size: calc(1.1rem + 0.15vw);
  color: var(--ss-off-white);
  max-width: 55ch;
  margin-bottom: 2rem;
}

/* Four-dot drumbeat */
.drumbeat {
  font-size: calc(1.6rem + 0.3vw);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 2rem 0;
  color: var(--ss-light);
}
.drumbeat .final { color: var(--ss-red); }
.drumbeat-reactions {
  font-size: 1rem;
  color: var(--ss-gray);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}

/* ---------- Pullquote / callout ---------- */
.content-callout {
  margin: 2.5rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 5px solid var(--ss-red);
  font-weight: 400;
  font-size: calc(1.3rem + 0.1vw);
  line-height: 1.4;
  color: var(--ss-dark);
}
.content-callout-slate { border-left-color: var(--gmp-slate); }
.content-callout cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--ss-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Pillar grid ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .pillar-grid { grid-template-columns: 1fr; }
}
.pillar-card {
  background: var(--ss-off-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--ss-red);
  transition: transform 0.15s;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--gmp-slate);
}
.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pillar-card p { font-size: 1rem; margin-bottom: 0; color: #333; }
.pillar-card.featured { background: var(--gmp-slate); color: var(--ss-light); border-top-color: var(--ss-red); }
.pillar-card.featured p { color: var(--ss-off-white); }
.pillar-card.featured .pillar-icon { color: var(--ss-red); }

/* ---------- Pillar detail (deep page) ---------- */
.pillar-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 4rem 0;
}
.pillar-detail.reverse { grid-template-areas: "copy visual"; }
.pillar-detail.reverse .pillar-visual { grid-area: visual; }
.pillar-detail.reverse .pillar-copy { grid-area: copy; }
@media (max-width: 900px) {
  .pillar-detail { grid-template-columns: 1fr; }
}
.pillar-visual {
  background: var(--gmp-slate);
  padding: 3rem;
  border-radius: var(--radius-lg);
  color: var(--ss-light);
  text-align: center;
}
.pillar-visual svg { width: 120px; height: 120px; color: var(--ss-red); margin: 0 auto; }
.pillar-visual .pillar-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--ss-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pillar-copy h2 { margin-bottom: 1rem; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
  border-left: 3px solid var(--ss-red);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.6rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  background: var(--ss-red);
  border-radius: 50%;
  border: 3px solid var(--ss-light);
  box-shadow: 0 0 0 2px var(--ss-red);
}
.timeline-item.current::before {
  background: var(--gmp-slate);
  box-shadow: 0 0 0 2px var(--gmp-slate);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 2px var(--gmp-slate); }
  50% { box-shadow: 0 0 0 7px rgba(10,37,64,0.2); }
  100% { box-shadow: 0 0 0 2px var(--gmp-slate); }
}
.timeline-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ss-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-item.current .timeline-date { color: var(--gmp-slate); }
.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.25rem 0 0.5rem 0;
}

/* ---------- Honest-counter-claim block ---------- */
.honest-block {
  background: var(--gmp-slate);
  color: var(--ss-light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin: 3rem 0;
}
.honest-block .eyebrow { color: var(--ss-red); }
.honest-block h2 { color: var(--ss-light); }
.honest-block ul { padding-left: 1.5rem; }
.honest-block li { margin-bottom: 0.5rem; }

/* ---------- Section tints ---------- */
.section-dark { background: var(--ss-dark); color: var(--ss-light); }
.section-dark .eyebrow { color: var(--ss-red); }
.section-slate { background: var(--gmp-slate); color: var(--ss-light); }
.section-slate .eyebrow { color: var(--ss-red); }
.section-tint { background: var(--ss-off-white); }

/* ---------- Shock cohort stat block ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  padding: 2rem;
  background: var(--ss-light);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--ss-red);
  box-shadow: var(--shadow-sm);
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gmp-slate);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--ss-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.stat-card.alt { border-left-color: var(--gmp-slate); }
.stat-card.alt .stat-value { color: var(--ss-red); }

/* ---------- Scorecard (diagnostic) ---------- */
.scorecard {
  background: var(--ss-off-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}
@media (max-width: 700px) { .scorecard { padding: 1.5rem; } }
.scorecard-question {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}
.scorecard-question:last-of-type { border-bottom: none; }
.scorecard-question h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.scorecard-options { display: grid; gap: 0.75rem; }
.scorecard-option {
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--ss-light);
  border: 2px solid #ddd;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  gap: 0.75rem;
}
.scorecard-option:hover { border-color: var(--ss-red); }
.scorecard-option input { margin: 0.3rem 0 0 0; accent-color: var(--ss-red); }
.scorecard-option span { flex: 1; }
.scorecard-option.selected { border-color: var(--ss-red); background: #fff5f5; }
.scorecard-submit { text-align: center; margin-top: 2rem; }

/* Scorecard result */
.scorecard-result { display: none; margin-top: 2rem; padding: 2.5rem; border-radius: var(--radius-lg); color: var(--ss-light); }
.scorecard-result.shown { display: block; }
.scorecard-result h2 { color: var(--ss-light); margin-bottom: 0.5rem; }
.scorecard-result .tier-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.result-tier-shock { background: var(--ss-red); }
.result-tier-building { background: var(--gmp-warn); }
.result-tier-ready { background: var(--gmp-success); color: var(--ss-dark); }
.result-tier-ready h2 { color: var(--ss-dark); }
.result-tier-ready .tier-label { background: rgba(0,0,0,0.18); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ss-dark);
  color: var(--ss-light);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--ss-red);
}
.cta-band h2 { color: var(--ss-light); margin-bottom: 1rem; }
.cta-band p { color: var(--ss-off-white); max-width: 55ch; margin: 0 auto 2rem; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ss-dark-2);
  color: var(--ss-off-white);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--ss-off-white); text-decoration: none; }
.site-footer a:hover { color: var(--ss-red); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ss-red);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-brand { font-weight: 900; font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer-brand .brand-slash { color: var(--ss-red); margin: 0 0.1em; }
.footer-tagline { color: var(--ss-gray); font-size: 0.85rem; margin-bottom: 1rem; }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--ss-gray);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ---------- Article (anchor piece) ---------- */
.article-head {
  background: var(--ss-dark);
  color: var(--ss-light);
  padding: 5rem 0 4rem;
}
.article-head h1 {
  max-width: 24ch;
  margin-bottom: 1.5rem;
}
.article-head .article-meta {
  font-size: 0.85rem;
  color: var(--ss-gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.article-body {
  padding: 4rem 0;
}
.article-body h2 { margin-top: 2.5rem; }
.article-body h3 { margin-top: 2rem; }
.article-body p { font-size: 1.1rem; line-height: 1.7; }
.article-body ul, .article-body ol {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.5rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-red { color: var(--ss-red); }
.text-slate { color: var(--gmp-slate); }
.text-muted { color: var(--ss-gray); }
.hyphen { color: var(--ss-red); font-weight: 900; }

/* ---------- Six-beat commerce arc ---------- */
.arc-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin: 3rem 0 1rem;
}
@media (max-width: 820px) { .arc-flow { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; } }
@media (max-width: 460px) { .arc-flow { grid-template-columns: repeat(2, 1fr); } }
.arc-step { text-align: center; position: relative; }
.arc-num {
  width: 3.25rem; height: 3.25rem; margin: 0 auto 0.85rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ss-red); color: var(--ss-light);
  font-weight: 900; font-size: 1.35rem; line-height: 1;
  box-shadow: 0 0 0 4px rgba(241,0,0,0.15);
}
.arc-label {
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 0.82rem; font-weight: 700; color: var(--ss-light);
}
.arc-sub {
  font-size: 0.7rem; letter-spacing: 0.5px; text-transform: uppercase;
  font-weight: 600; margin-top: 0.35rem; line-height: 1.3;
}
.arc-sub.stop { color: var(--ss-red); }
.arc-sub.go { color: var(--gmp-success); }
.arc-step.gate::before {
  content: ""; position: absolute; left: -0.6rem; top: 0;
  height: 3.25rem; border-left: 2px dashed var(--ss-gray);
}
@media (max-width: 820px) { .arc-step.gate::before { display: none; } }
/* lot path arrows between steps */
.arc-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 1.625rem;
  right: -0.65rem;
  transform: translateY(-50%);
  color: var(--ss-green);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 820px) { .arc-step:not(:last-child)::after { display: none; } }
/* lot span rail: shallow open-top brace, ends aligned under step 1 and step 6 */
.arc-rail {
  width: 84%;
  height: 12px;
  margin: 0.25rem auto 0;
  border: 2px solid var(--ss-green);
  border-top: none;
}
@media (max-width: 820px) { .arc-rail { display: none; } }
.arc-ledger-note {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  text-align: center;
  color: var(--ss-off-white);
  font-weight: 500;
}
.arc-ledger-chip {
  color: var(--ss-green);
  font-weight: 800;
  letter-spacing: 1.5px;
  border: 1px solid var(--ss-green);
  border-radius: var(--radius);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

/* ---------- Hero background graphic ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }

/* ---------- Footer logo ---------- */
.footer-logo-link { display: inline-block; margin-top: 1.25rem; }
.footer-logo { width: 180px; height: auto; }
.footer-logo-link:hover { opacity: 0.85; }

/* ---------- Article-head background graphic ---------- */
.article-head { position: relative; overflow: hidden; }
.article-head .container { position: relative; z-index: 2; }
.bg-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: bgpulse 2.6s ease-in-out infinite;
}
@keyframes bgpulse {
  0%   { transform: scale(0.6); opacity: 0.6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .bg-pulse { animation: none; } }

/* ---------- Co-brand header lockup ---------- */
.brand { gap: 0.55rem; }
.brand-logo { height: 34px; width: auto; }
.brand-sep {
  color: var(--ss-red);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
}
@media (max-width: 500px) {
  .brand-logo { height: 28px; }
  .brand-sep { font-size: 1.3rem; }
}

