/* ===================== */
/* GUIDE PAGES           */
/* ===================== */

/* Back link (shared with calculator pages) */
.calc-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--purple-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  transition: gap 0.2s;
}

.calc-back:hover {
  gap: 0.75rem;
  color: var(--purple-700);
}

/* ===================== */
/* SHARE / PRINT TOOLBAR */
/* ===================== */
.guide-toolbar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.guide-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.guide-toolbar-btn:hover {
  color: var(--purple-600);
  border-color: var(--purple-300);
  background: var(--purple-50);
}

.guide-toolbar-btn i {
  font-size: 0.7rem;
}

.guide-toolbar-divider {
  width: 1px;
  height: 18px;
  background: var(--gray-200);
  margin: 0 0.15rem;
}

/* Hero */
.guide-hero {
  padding: 2rem 0 1.5rem;
  position: relative;
  z-index: 1;
  background: var(--white);
  border-bottom: 1px solid rgba(45, 27, 78, 0.06);
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.guide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.guide-tag.pro-tag {
  background: #dbeafe;
  color: #3b82f6;
}

.guide-tag.seller-tag {
  background: linear-gradient(135deg, var(--purple-50), var(--purple-100));
  color: var(--purple-700);
}

.guide-tag.buyer-tag {
  background: var(--green-100);
  color: var(--green-500);
}

.guide-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.guide-hero-subtitle {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  max-width: 600px;
}

/* Stats bar */
.guide-hero-stats {
  display: flex;
  gap: 2rem;
}

.guide-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.guide-stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-700);
}

.guide-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.4;
  max-width: 160px;
}

/* Table of Contents */
.guide-toc {
  background: var(--cream);
  border: 1px solid rgba(45, 27, 78, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 88px;
}

.guide-toc h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.guide-toc h3 i {
  color: var(--purple-600);
  font-size: 0.78rem;
}

.guide-toc ol {
  margin: 0;
  padding: 0;
  counter-reset: toc;
  list-style: none;
}

.guide-toc li {
  position: relative;
  counter-increment: toc;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}

.guide-toc li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  color: var(--purple-600);
  font-weight: 700;
  font-size: 0.78rem;
}

.guide-toc a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
  line-height: 1.4;
}

.guide-toc a:hover {
  color: var(--purple-600);
}

/* Body */
.guide-body {
  padding: 2.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.guide-body-inner {
  max-width: 760px;
  margin: 0 auto;
}

.guide-content {
  line-height: 1.75;
}

.guide-section {
  margin-bottom: 3rem;
  scroll-margin-top: 100px;
}

.guide-section:last-child {
  margin-bottom: 0;
}

.guide-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--purple-100);
}

.guide-section p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.guide-section a {
  color: var(--purple-600);
  text-decoration: underline;
}

.guide-section a:hover {
  color: var(--purple-700);
}

/* Callouts */
.guide-callout {
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem;
  background: #fef3c7;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 0.85rem;
  margin: 1.5rem 0;
}

.guide-callout.positive {
  background: var(--green-100);
  border-color: rgba(34, 197, 94, 0.25);
}

.guide-callout-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.3);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.guide-callout.positive .guide-callout-icon {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green-500);
}

.guide-callout strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.guide-callout p {
  font-size: 0.88rem !important;
  margin: 0 !important;
  color: var(--gray-600);
}

/* Comparison */
.guide-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-compare-col {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1.5px solid var(--gray-200);
}

.guide-compare-col.featured {
  border-color: var(--purple-400);
  background: linear-gradient(135deg, var(--purple-50), rgba(139, 92, 246, 0.04));
}

.guide-compare-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.guide-compare-col h4 i {
  color: var(--purple-600);
  font-size: 0.85rem;
}

.guide-compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-compare-col li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.guide-compare-col li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--gray-400);
}

.guide-compare-col.featured li::before {
  content: "\2713";
  color: var(--green-500);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Benefits Grid */
.guide-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-benefit-card {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 27, 78, 0.06);
}

.guide-benefit-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.guide-benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.35rem;
}

.guide-benefit-card p {
  font-size: 0.85rem !important;
  color: var(--gray-600);
  margin: 0 !important;
  line-height: 1.55;
}

/* Pitch Script */
.guide-pitch-script {
  background: var(--cream);
  border: 1px solid rgba(45, 27, 78, 0.06);
  border-radius: 1rem;
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.guide-pitch-script h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.guide-pitch-script h4 i {
  color: var(--purple-600);
}

.guide-script-block {
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--purple-200);
}

.guide-script-block:last-child {
  margin-bottom: 0;
}

.script-label {
  font-size: 0.78rem !important;
  font-weight: 700;
  color: var(--purple-700) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem !important;
}

.script-text {
  font-size: 0.92rem !important;
  color: var(--charcoal) !important;
  font-style: italic;
  line-height: 1.6;
}

/* Tip */
.guide-tip {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--purple-50), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 0.85rem;
  margin: 1.5rem 0;
  align-items: flex-start;
}

.guide-tip i {
  color: #f59e0b;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.guide-tip p {
  font-size: 0.88rem !important;
  margin: 0 !important;
}

/* Objections */
.guide-objection {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 27, 78, 0.06);
  margin-bottom: 0.75rem;
}

.guide-objection h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
  font-style: italic;
}

.guide-objection p {
  font-size: 0.88rem !important;
  margin: 0 !important;
}

/* Math Example */
.guide-math-example {
  background: var(--cream);
  border: 1px solid rgba(45, 27, 78, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.guide-math-example h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.guide-math-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 2rem;
}

.guide-math-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(45, 27, 78, 0.04);
}

.guide-math-row span {
  color: var(--gray-600);
}

.guide-math-row strong {
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}

.guide-math-row.negative strong {
  color: #ef4444;
}

.guide-math-row.total {
  border-bottom: none;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--gray-200);
}

.guide-math-row.total span,
.guide-math-row.total strong {
  font-weight: 700;
  font-size: 0.95rem;
}

.guide-math-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-math-col {
  padding: 1.25rem;
  border-radius: 0.85rem;
  border: 1.5px solid var(--gray-200);
}

.guide-math-col.featured {
  border-color: var(--purple-400);
  background: linear-gradient(135deg, var(--purple-50), rgba(139, 92, 246, 0.04));
}

.guide-math-col.featured .guide-math-row.total strong {
  color: var(--purple-700);
}

.guide-math-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}

/* Platform Grid */
.guide-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-platform-item {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 27, 78, 0.06);
}

.guide-platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-50), var(--purple-100));
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.guide-platform-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.35rem;
}

.guide-platform-item p {
  font-size: 0.82rem !important;
  margin: 0 !important;
  line-height: 1.55;
}

/* Partner Benefits */
.guide-partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.guide-partner-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: 0.85rem;
  border: 1px solid rgba(45, 27, 78, 0.06);
  align-items: flex-start;
}

.guide-partner-item > i {
  color: var(--green-500);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.guide-partner-item strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.guide-partner-item p {
  font-size: 0.85rem !important;
  margin: 0 !important;
}

/* Asset Blocks (Buyer's Guide) */
.guide-asset-block {
  background: var(--white);
  border: 1px solid rgba(45, 27, 78, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.guide-asset-block:last-of-type {
  margin-bottom: 0;
}

.guide-asset-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.guide-asset-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-100), rgba(34, 197, 94, 0.12));
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.guide-asset-header h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.15rem;
}

.guide-asset-stat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-600);
}

.guide-asset-block > p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.guide-asset-terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.guide-asset-terms > div {
  padding: 0.6rem 0.75rem;
  background: var(--cream);
  border-radius: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.guide-asset-terms span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.guide-asset-terms strong {
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 700;
}

.guide-asset-block .guide-tip {
  margin: 1rem 0 0;
}

/* CTA Box */
.guide-cta-box {
  background: linear-gradient(160deg, var(--purple-900), var(--purple-700));
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.guide-cta-box h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.guide-cta-box p {
  font-size: 0.95rem !important;
  opacity: 0.85;
  margin: 0 0 1.5rem !important;
  color: #ffffff !important;
}

.guide-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.guide-cta-box .btn-primary {
  background: #ffffff;
  color: var(--purple-800);
  box-shadow: none;
}

.guide-cta-box .btn-primary:hover {
  background: #f5f0ff;
}

.guide-cta-box .btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
}

.guide-cta-box .btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===================== */
/* TRACK SELECTOR        */
/* ===================== */
.guide-track-selector {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 27, 78, 0.06);
}

.guide-track-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.guide-track-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.guide-track-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.5rem;
  background: var(--cream);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.2s;
}

.guide-track-tab i {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.guide-track-tab:hover {
  border-color: var(--purple-300);
  background: var(--purple-50);
}

.guide-track-tab:hover i {
  color: var(--purple-500);
}

.guide-track-tab.active {
  background: linear-gradient(135deg, var(--purple-50), rgba(139, 92, 246, 0.1));
  border-color: var(--purple-500);
  color: var(--purple-700);
}

.guide-track-tab.active i {
  color: var(--purple-600);
}

/* Track content headers */
.guide-track-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.guide-track-header i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.guide-track-header h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.guide-track-header span {
  width: 100%;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-left: 1.85rem;
}

.seller-track-header {
  background: linear-gradient(135deg, var(--purple-50), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.seller-track-header i { color: var(--purple-600); }
.seller-track-header h3 { color: var(--purple-800); }
.seller-track-header span { color: var(--purple-600); }

.buyer-track-header {
  background: linear-gradient(135deg, var(--green-100), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.buyer-track-header i { color: var(--green-500); }
.buyer-track-header h3 { color: #166534; }
.buyer-track-header span { color: #16a34a; }

.agent-track-header {
  background: linear-gradient(135deg, #dbeafe, rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.agent-track-header i { color: #3b82f6; }
.agent-track-header h3 { color: #1e3a5f; }
.agent-track-header span { color: #3b82f6; }

/* Track content within guide section */
.guide-track-content h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 1.5rem 0 0.75rem;
}

.guide-track-content h4:first-of-type {
  margin-top: 0;
}

/* For Everyone tag */
.guide-tag:not(.pro-tag):not(.seller-tag):not(.buyer-tag) {
  background: linear-gradient(135deg, #fef3c7, rgba(251, 191, 36, 0.15));
  color: #92400e;
}

/* ===================== */
/* TABLET                */
/* ===================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .guide-hero-inner {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 2rem;
    align-items: start;
  }

  .guide-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.5rem;
  }
}

/* ===================== */
/* MOBILE                */
/* ===================== */
@media (max-width: 768px) {
  .guide-hero {
    padding: 1.25rem 0 1rem;
  }

  .guide-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .guide-hero-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
  }

  .guide-hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .guide-hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .guide-stat-number {
    font-size: 1.25rem;
  }

  .guide-toc {
    position: static;
  }

  .guide-body {
    padding: 1.75rem 0 2.5rem;
  }

  .guide-section h2 {
    font-size: 1.25rem;
  }

  .guide-comparison,
  .guide-math-comparison {
    grid-template-columns: 1fr;
  }

  .guide-benefits-grid,
  .guide-platform-grid {
    grid-template-columns: 1fr;
  }

  .guide-math-inputs {
    grid-template-columns: 1fr;
  }

  .guide-cta-box {
    padding: 2rem 1.5rem;
  }

  .guide-cta-box h3 {
    font-size: 1.2rem;
  }

  .guide-cta-buttons {
    flex-direction: column;
  }

  .guide-pitch-script {
    padding: 1.25rem;
  }

  .guide-callout {
    flex-direction: column;
    gap: 0.5rem;
  }

  .guide-track-tabs {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .guide-track-tab {
    padding: 0.5rem 0.85rem;
  }

  .guide-track-tab i {
    font-size: 0.8rem;
  }

  .guide-track-header {
    padding: 0.85rem;
  }

  .guide-track-header span {
    margin-left: 0;
  }

  .guide-toolbar {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .guide-toolbar-divider {
    display: none;
  }

  .guide-asset-terms {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-asset-block {
    padding: 1.25rem;
  }
}

/* ===================== */
/* PRICING TIER CARDS    */
/* ===================== */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-tier-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-tier-card.featured {
  border-color: var(--purple-500);
  box-shadow: 0 8px 30px -8px rgba(139, 92, 246, 0.15);
}

.pricing-tier-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-600);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  white-space: nowrap;
}

.pricing-tier-header {
  margin-bottom: 1.25rem;
}

.pricing-tier-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-tier-header h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0.25rem 0 0.2rem;
  border: none;
  padding: 0;
}

.pricing-tier-for {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.pricing-tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}

.pricing-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--charcoal);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.pricing-tier-monthly {
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pricing-tier-tagline {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--purple-600);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pricing-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.pricing-tier-features li i {
  color: var(--green-500);
  font-size: 0.7rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.pricing-tier-features li strong {
  color: var(--charcoal);
}

.pricing-tier-ideal {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
  padding: 0.85rem;
  background: var(--cream);
  border-radius: 0.6rem;
  margin-bottom: 1.25rem;
}

.pricing-tier-ideal strong {
  color: var(--charcoal);
}

.pricing-tier-cta {
  margin-bottom: 0.85rem;
}

.pricing-tier-cta .btn {
  width: 100%;
  justify-content: center;
}

.pricing-tier-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.75rem;
}

.pricing-tier-guides span {
  color: var(--gray-400);
  font-weight: 600;
}

.pricing-tier-guides a {
  color: var(--purple-600);
  text-decoration: none;
  font-weight: 500;
}

.pricing-tier-guides a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .pricing-tier-card.featured {
    order: -1;
  }
}

/* ===================== */
/* PRINT                 */
/* ===================== */
@media print {
  .header,
  .guide-toolbar,
  .guide-track-selector,
  .guide-cta-box,
  .footer,
  .mobile-menu-btn,
  .calc-back,
  .toast {
    display: none !important;
  }

  .guide-hero {
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--charcoal);
  }

  .guide-hero-inner {
    grid-template-columns: 1fr;
  }

  .guide-hero-sidebar {
    display: none;
  }

  .guide-body {
    padding: 1rem 0;
  }

  .guide-track-content {
    display: block !important;
    page-break-inside: avoid;
  }

  .guide-section {
    page-break-inside: avoid;
  }

  .guide-comparison,
  .guide-math-comparison,
  .guide-benefits-grid,
  .guide-platform-grid {
    break-inside: avoid;
  }

  body {
    background: white;
    font-size: 11pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ===================== */
/* DARK MODE             */
/* ===================== */
[data-theme="dark"] .guide-hero {
  background: linear-gradient(160deg, #0d0817 0%, #1a1030 40%, #120c22 100%);
}

[data-theme="dark"] .guide-hero-title {
  color: #ececf1;
}

[data-theme="dark"] .guide-hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .guide-stat-number {
  color: #c084fc;
}

[data-theme="dark"] .guide-stat-label {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .guide-toc {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-toc h3 {
  color: #ececf1;
}

[data-theme="dark"] .guide-toc a {
  color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .guide-toc a:hover {
  color: #c084fc;
}

[data-theme="dark"] .guide-body {
  background: #0f0d14;
}

[data-theme="dark"] .guide-content h2 {
  color: #ececf1;
}

[data-theme="dark"] .guide-content h3 {
  color: #ececf1;
}

[data-theme="dark"] .guide-content p,
[data-theme="dark"] .guide-content li {
  color: #a1a1aa;
}

[data-theme="dark"] .guide-content strong {
  color: #ececf1;
}

[data-theme="dark"] .guide-content a {
  color: #b89ef0;
}

[data-theme="dark"] .guide-callout {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .guide-callout strong {
  color: #ececf1;
}

[data-theme="dark"] .guide-callout p {
  color: #a1a1aa;
}

[data-theme="dark"] .guide-callout.positive {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.2);
}

[data-theme="dark"] .guide-tip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-tip i {
  color: #b89ef0;
}

[data-theme="dark"] .guide-comparison {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-compare-col {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .guide-compare-col.featured {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .guide-compare-col h4 {
  color: #ececf1;
}

[data-theme="dark"] .guide-math-example {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-math-row span {
  color: #8b8b9a;
}

[data-theme="dark"] .guide-math-row strong {
  color: #ececf1;
}

[data-theme="dark"] .guide-math-col {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .guide-math-col.featured {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .guide-objection {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-objection h4 {
  color: #ececf1;
}

[data-theme="dark"] .guide-benefit-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-benefit-card h4 {
  color: #ececf1;
}

[data-theme="dark"] .guide-platform-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .guide-platform-item h4 {
  color: #ececf1;
}

[data-theme="dark"] .guide-platform-icon {
  background: rgba(139, 92, 246, 0.15);
  color: #b89ef0;
}

[data-theme="dark"] .guide-cta-box {
  background: linear-gradient(160deg, #0d0817, #1a1030);
  border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .guide-cta-box h3 {
  color: #ececf1;
}

[data-theme="dark"] .guide-cta-box p {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .guide-cta-box .btn-primary {
  background: #ececf1;
  color: #1a1030;
}

[data-theme="dark"] .guide-cta-box .btn-secondary {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Toolbar */
[data-theme="dark"] .guide-toolbar-btn {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .guide-toolbar-btn:hover {
  color: #ececf1;
}

[data-theme="dark"] .guide-toolbar-divider {
  background: rgba(255, 255, 255, 0.12);
}

/* Pitch script blocks */
[data-theme="dark"] .guide-pitch-script,
[data-theme="dark"] .guide-script-block {
  border-left-color: rgba(139, 92, 246, 0.4);
}

[data-theme="dark"] .script-label,
[data-theme="dark"] .guide-script-label {
  color: #b89ef0;
}

[data-theme="dark"] .script-text,
[data-theme="dark"] .guide-script-text {
  color: #a1a1aa;
}
