/* ============================================
   TRADESMAN OFFICE — Master Stylesheet
   Editorial / Refined / Trade-Professional
   Navy + gold palette matching Etsy brand
   ============================================ */

/* --- Design Tokens --- */
:root {
  --navy: #1B2A4B;
  --navy-deep: #152038;
  --navy-light: #243556;
  --gold: #D4A23A;
  --gold-dark: #AC8033;
  --gold-soft: rgba(212, 162, 58, 0.12);
  --cream: #F5F1E8;
  --white: #FFFFFF;
  --slate: #8B96AB;
  --slate-light: #B8C0CE;

  --bg: var(--navy);
  --bg-alt: var(--navy-deep);
  --bg-card: var(--navy-light);
  --text: var(--cream);
  --accent: var(--gold);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem; --s-32: 8rem;

  --container: 1240px;
  --container-narrow: 960px;
  --container-text: 720px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 0 1px rgba(212, 162, 58, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding-left: var(--s-6); }
li { margin-bottom: var(--s-2); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-top: var(--s-16); margin-bottom: var(--s-5); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-top: var(--s-10); margin-bottom: var(--s-4); }
h4 { font-size: 1.2rem; margin-top: var(--s-6); margin-bottom: var(--s-3); }
.accent { color: var(--gold); font-style: italic; }

p { margin-bottom: var(--s-4); }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); }
em { font-style: italic; }

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.container-text {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.section { padding: var(--s-20) 0; position: relative; }
.section-sm { padding: var(--s-12) 0; }
.section-lg { padding: var(--s-24) 0; }
.center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 162, 58, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold-soft); color: var(--white); }
.btn-lg { padding: var(--s-5) var(--s-10); font-size: 1.05rem; }
.btn-arrow::after {
  content: '';
  display: inline-block;
  margin-left: var(--s-1);
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* --- Site Header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27, 42, 75, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 162, 58, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-4) var(--s-6);
  max-width: var(--container);
  margin: 0 auto;
}
.logo-text { display: inline-flex; gap: 0; }
.logo-text .accent {
  color: var(--gold);
  font-style: normal;
  margin-left: 2px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo:hover { color: var(--white); }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-body);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: var(--s-2) 0;
}
.nav a:hover { color: var(--gold); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav-cta {
  flex-shrink: 0;
}
.nav-cta .btn {
  padding: var(--s-3) var(--s-5);
  font-size: 0.88rem;
}
.nav-toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: var(--s-2);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    gap: 0;
    padding: var(--s-6);
    border-bottom: 1px solid rgba(212, 162, 58, 0.2);
  }
  .nav.open, .nav.active { display: flex; }
  .nav a { padding: var(--s-3) 0; width: 100%; }
  .nav-toggle { display: block; }
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--slate);
  padding: var(--s-5) 0 0;
}
.breadcrumbs.container { padding-top: var(--s-5); }
.breadcrumbs a {
  color: var(--slate);
  border-bottom: none;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep,
.breadcrumbs .separator {
  margin: 0 var(--s-2);
  color: var(--gold);
  opacity: 0.6;
}

/* --- Article / Blog Post --- */
.article-header {
  padding: var(--s-10) var(--s-6) var(--s-8);
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
  position: relative;
}
.article-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: var(--s-8) auto 0;
}
.article-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-4);
  padding: var(--s-2) var(--s-4);
  background: var(--gold-soft);
  border-radius: 3px;
}
.article-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: var(--s-6);
  color: var(--white);
}
.article-subtitle {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--slate-light);
  max-width: 720px;
  margin: 0 auto var(--s-6);
  font-family: var(--font-body);
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  color: var(--slate);
  font-size: 0.88rem;
}
.article-meta .sep { color: var(--gold); opacity: 0.6; }

/* Article body content */
.article-body {
  padding: var(--s-10) var(--s-6) var(--s-16);
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body > *:first-child { margin-top: 0; }
.article-body h2 {
  margin-top: var(--s-16);
  margin-bottom: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(212, 162, 58, 0.15);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}
.article-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 { margin-top: var(--s-10); font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.article-body p { margin-bottom: var(--s-5); }
.article-body ul, .article-body ol { margin-bottom: var(--s-6); padding-left: var(--s-8); }
.article-body li { margin-bottom: var(--s-3); }
.article-body a:not(.btn) {
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 162, 58, 0.3);
}
.article-body a:not(.btn):hover {
  border-bottom-color: var(--gold);
  color: var(--gold-dark);
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--s-3) var(--s-6);
  margin: var(--s-8) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--slate-light);
}

/* Tables inside articles */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-8) 0;
  font-size: 0.95rem;
  background: var(--bg-alt);
  border: 1px solid rgba(212, 162, 58, 0.15);
  border-radius: 6px;
  overflow: hidden;
}
.article-body th,
.article-body td {
  padding: var(--s-3) var(--s-5);
  text-align: left;
  border-bottom: 1px solid rgba(212, 162, 58, 0.12);
}
.article-body th {
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold);
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tbody tr:hover { background: rgba(212, 162, 58, 0.04); }

/* --- Callout (inline product plug within articles) --- */
.callout {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
  border: 1px solid rgba(212, 162, 58, 0.35);
  border-radius: 10px;
  padding: var(--s-8);
  margin: var(--s-12) 0;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 10px 10px 0 0;
}
.callout-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
  padding: var(--s-1) var(--s-3);
  background: var(--gold-soft);
  border-radius: 3px;
}
.callout h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 0 var(--s-3);
}
.callout p {
  color: var(--slate-light);
  margin-bottom: var(--s-5);
}
.callout .btn { margin-top: var(--s-2); }

/* --- Author Box --- */
.author-box {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
  padding: var(--s-6);
  background: var(--bg-alt);
  border: 1px solid rgba(212, 162, 58, 0.15);
  border-radius: 8px;
  margin: var(--s-12) 0;
}
.author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info h4 {
  font-family: var(--font-body);
  color: var(--white);
  margin: 0 0 var(--s-1);
  font-size: 1.05rem;
  font-weight: 600;
}
.author-info p {
  font-size: 0.92rem;
  color: var(--slate-light);
  margin: 0;
  line-height: 1.55;
}
.author-info p + p { margin-top: var(--s-2); }

/* --- FAQ --- */
.faq-list {
  margin: var(--s-8) 0;
}
.faq-item {
  border-bottom: 1px solid rgba(212, 162, 58, 0.15);
  padding: var(--s-6) 0;
}
.faq-item:first-child { border-top: 1px solid rgba(212, 162, 58, 0.15); }
.faq-question {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--white);
  margin: 0 0 var(--s-3);
  font-weight: 600;
  line-height: 1.4;
}
.faq-answer {
  color: var(--slate-light);
  margin: 0;
  line-height: 1.65;
}

/* --- Site Footer --- */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(212, 162, 58, 0.15);
  padding: var(--s-16) 0 var(--s-6);
  color: var(--slate);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-10);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); } }

.footer-brand .logo { margin-bottom: var(--s-4); }
.footer-brand p {
  max-width: 340px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate-light);
}
.footer-col h4,
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--s-4);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: var(--s-3); }
.footer-col a {
  color: var(--slate-light);
  font-size: 0.92rem;
  border-bottom: none;
}
.footer-col a:hover { color: var(--gold); }
.footer-signup p { font-size: 0.88rem; color: var(--slate-light); margin-bottom: var(--s-3); }

.email-form {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: var(--s-3) var(--s-4);
  background: var(--navy);
  border: 1px solid rgba(212, 162, 58, 0.3);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.email-form input[type="email"]::placeholder { color: var(--slate); }
.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 162, 58, 0.15);
}
.email-form button {
  padding: var(--s-3) var(--s-5);
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: var(--s-6);
  border-top: 1px solid rgba(212, 162, 58, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-size: 0.85rem;
  color: var(--slate);
}
.footer-bottom a { color: var(--slate-light); }
.footer-bottom a:hover { color: var(--gold); }

/* --- Email Signup Block (in-content) --- */
.email-signup {
  background: var(--bg-alt);
  border: 1px solid rgba(212, 162, 58, 0.2);
  border-radius: 8px;
  padding: var(--s-8);
  margin: var(--s-10) 0;
  text-align: center;
}
.email-signup h3 {
  margin-top: 0;
  margin-bottom: var(--s-3);
  font-size: 1.5rem;
}
.email-signup p {
  color: var(--slate-light);
  margin-bottom: var(--s-5);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.email-signup .email-form {
  max-width: 440px;
  margin: 0 auto;
}

.email-signup-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 162, 58, 0.12);
  padding: var(--s-2) var(--s-4);
  border-radius: 4px;
  margin-bottom: var(--s-4);
}

.email-signup-fineprint {
  font-size: 0.78rem !important;
  color: var(--slate) !important;
  margin-top: var(--s-4) !important;
  margin-bottom: 0 !important;
}

/* Compact variant — for inline placement (e.g., end of blog posts, inline CTAs) */
.email-signup-compact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-6);
  align-items: center;
  text-align: left;
  padding: var(--s-6);
}
.email-signup-compact h3 { margin-bottom: var(--s-1); font-size: 1.2rem; }
.email-signup-compact p { margin: 0; font-size: 0.9rem; max-width: none; }
.email-signup-compact .email-form { margin: 0; max-width: 360px; }
@media (max-width: 720px) {
  .email-signup-compact { grid-template-columns: 1fr; text-align: center; }
  .email-signup-compact .email-form { margin: 0 auto; }
}

/* Footer signup heading */
.footer-signup h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 var(--s-2);
}
.footer-signup .email-form { max-width: 100%; }
.footer-signup .email-form input[type="email"] { font-size: 0.85rem; padding: var(--s-2) var(--s-3); }
.footer-signup .email-form button { padding: var(--s-2) var(--s-4); font-size: 0.85rem; }

/* --- Hero --- */
.hero {
  position: relative;
  padding: var(--s-24) 0 var(--s-20);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(212, 162, 58, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
  position: relative;
  padding: 0 var(--s-8);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  position: absolute; top: 50%;
  width: 24px; height: 1px;
  background: var(--gold);
}
.hero-eyebrow::before { left: 0; }
.hero-eyebrow::after { right: 0; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-bottom: var(--s-6);
}
.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--slate-light);
  max-width: 640px;
  margin: 0 auto var(--s-10);
}
.hero-ctas {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-16);
  padding-top: var(--s-10);
  border-top: 1px solid rgba(212, 162, 58, 0.2);
  position: relative;
}
.hero-stats::before, .hero-stats::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.5;
}
.hero-stats::before { top: -1px; left: 0; border-right: none; border-bottom: none; }
.hero-stats::after { top: -1px; right: 0; border-left: none; border-bottom: none; }
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.hero-stat-label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
@media (max-width: 680px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

/* --- Section Heads --- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-12);
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-4);
}
.section-head h2 { margin-top: 0; }
.section-head p {
  color: var(--slate-light);
  font-size: 1.1rem;
  margin-top: var(--s-4);
}

/* --- Category Tiles (for homepage + shop) --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .category-grid { grid-template-columns: 1fr; } }

.category-tile {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(212, 162, 58, 0.12);
  border-radius: 10px;
  padding: var(--s-8);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  color: var(--text);
}
.category-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.category-tile:hover {
  border-color: rgba(212, 162, 58, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.category-tile:hover::before { opacity: 1; }
.category-tile-icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--s-5);
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(212, 162, 58, 0.3);
  border-radius: 8px;
  padding: var(--s-3);
}
.category-tile h3 {
  font-size: 1.15rem;
  margin: 0 0 var(--s-2);
  margin-top: 0;
  color: var(--white);
}
.category-tile p {
  font-size: 0.9rem;
  color: var(--slate-light);
  margin: 0;
  line-height: 1.5;
}

/* --- Product Cards (for category pages) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
}
.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 162, 58, 0.12);
  border-radius: 10px;
  padding: var(--s-6);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(212, 162, 58, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.product-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
  font-weight: 700;
}
.product-card h3 {
  font-size: 1.2rem;
  margin: 0 0 var(--s-3);
  margin-top: 0;
  line-height: 1.3;
}
.product-card h3 a {
  color: var(--white);
  border-bottom: none;
}
.product-card h3 a:hover { color: var(--gold); }
.product-card p {
  font-size: 0.92rem;
  color: var(--slate-light);
  flex: 1;
  margin-bottom: var(--s-4);
}
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin: var(--s-3) 0 var(--s-5);
}
.product-card-price .price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
}
.product-card-price .strike {
  text-decoration: line-through;
  color: var(--slate);
  font-size: 0.95rem;
}
.product-card-price .free {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  background: var(--gold-soft);
  padding: var(--s-1) var(--s-3);
  border-radius: 3px;
}
.product-card .btn { width: 100%; }

/* --- Blog Post Cards (for resources hub) --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-6);
}
.post-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 162, 58, 0.1);
  border-radius: 10px;
  padding: var(--s-7, var(--s-6));
  padding: var(--s-8);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover {
  border-color: rgba(212, 162, 58, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.post-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-4);
  font-weight: 700;
}
.post-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 var(--s-3);
  margin-top: 0;
}
.post-card h3 a {
  color: var(--white);
  border-bottom: none;
}
.post-card h3 a:hover { color: var(--gold); }
.post-card p {
  color: var(--slate-light);
  font-size: 0.95rem;
  margin-bottom: var(--s-4);
  flex: 1;
  line-height: 1.6;
}
.post-card-meta {
  font-size: 0.82rem;
  color: var(--slate);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(212, 162, 58, 0.1);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.post-card-meta .sep { color: var(--gold); opacity: 0.6; }

/* --- CTA Band --- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
  padding: var(--s-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 162, 58, 0.15);
  border-bottom: 1px solid rgba(212, 162, 58, 0.15);
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 162, 58, 0.1), transparent 50%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.cta-band h2 {
  margin-top: 0;
  margin-bottom: var(--s-4);
}
.cta-band p {
  color: var(--slate-light);
  font-size: 1.1rem;
  margin-bottom: var(--s-8);
}

/* --- Ecosystem Flow (homepage "How It All Works" section) --- */
.ecosystem-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.flow-step {
  background: var(--bg-card);
  border: 1px solid rgba(212, 162, 58, 0.15);
  border-radius: 10px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all var(--transition);
  color: var(--text);
  text-decoration: none;
  min-height: 240px;
}
.flow-step:hover {
  border-color: rgba(212, 162, 58, 0.5);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.flow-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--s-4);
}
.flow-step h3 {
  font-size: 1.05rem;
  margin: 0 0 var(--s-3);
  line-height: 1.3;
  color: var(--white);
}
.flow-step p {
  font-size: 0.88rem;
  color: var(--slate-light);
  line-height: 1.55;
  flex: 1;
  margin: 0 0 var(--s-4);
}
.flow-step-product {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  padding-top: var(--s-3);
  border-top: 1px solid rgba(212, 162, 58, 0.12);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0 var(--s-2);
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .ecosystem-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-4);
  }
  .flow-arrow { display: none; }
}
@media (max-width: 560px) {
  .ecosystem-flow { grid-template-columns: 1fr; }
}

/* --- Related / Next-reads section --- */
.related-section {
  background: var(--bg-alt);
  padding: var(--s-16) 0;
}

/* --- Utility --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.text-muted { color: var(--slate-light); }
