@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-warm: #F4F2EE;
  --bg-dark: #0F0F0E;
  --text: #111110;
  --text-secondary: #4A4A47;
  --text-muted: #9A9A96;
  --accent: #C8502A;
  --accent-light: #E06B44;
  --accent-dark: #9E3D1E;
  --teal: #2A6B6A;
  --teal-light: #3D8A89;
  --border: #E0DDD8;
  --border-light: #ECEAE6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 0px;
  --radius-sm: 2px;
  --radius-md: 6px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

/* ─── Reading Progress Bar ─── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ─── Layout ─── */
.editorial-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .editorial-container {
    padding: 0 40px;
  }
}

@media (min-width: 1100px) {
  .editorial-container {
    padding: 0;
  }
}

/* ─── Article Header ─── */
.article-header {
  padding-top: 96px;
  padding-bottom: 56px;
  position: relative;
}

.article-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-top: 48px;
}

.article-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.article-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 36px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Body Text ─── */
.article-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.75em;
  color: var(--text);
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 72px;
  margin-bottom: 28px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--text);
}

.article-body strong {
  font-weight: 600;
  color: var(--text);
}

/* ─── Drop Cap ─── */
.article-body .drop-cap::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  float: left;
  line-height: 0.78;
  padding-right: 14px;
  padding-top: 8px;
  font-weight: 900;
  color: var(--accent);
}

/* ─── Images ─── */
.editorial-image {
  margin: 56px 0;
  width: 100%;
}

.editorial-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  filter: brightness(0.97) contrast(1.02);
  background: var(--bg-warm);
  min-height: 200px;
  object-fit: cover;
}

/* Placeholder when image fails to load */
.editorial-image img[src=""],
.editorial-image img:not([src]) {
  display: none;
}

.editorial-image .caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  font-style: italic;
  line-height: 1.6;
  text-align: left;
}

.editorial-image.full-bleed {
  margin-left: -24px;
  margin-right: -24px;
}

@media (min-width: 768px) {
  .editorial-image.full-bleed {
    margin-left: -40px;
    margin-right: -40px;
  }
}

@media (min-width: 1100px) {
  .editorial-image.full-bleed {
    margin-left: calc(-1 * (50vw - 792px));
    margin-right: calc(-1 * (50vw - 360px));
  }
}

/* ─── Pull Quote ─── */
.pull-quote {
  margin: 56px -8px;
  padding: 0;
  border: none;
  background: none;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 8rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 0;
  left: -8px;
  pointer-events: none;
}

.pull-quote p,
.pull-quote > *:not(cite) {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  padding: 32px 0 0 0;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Handle blockquote text directly */
.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  padding: 32px 0 0 0;
}

.pull-quote cite {
  display: block;
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── CTA Insert ─── */
.cta-insert {
  margin: 56px 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-insert-inner {
  padding: 48px 52px;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
}

.cta-insert-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}

.cta-insert .cta-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
  display: block;
}

.cta-insert h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cta-insert p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 480px;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.btn-primary::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-secondary:hover::after {
  transform: translateX(4px);
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 56px 0;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  text-align: left;
  padding: 36px 32px;
  background: var(--bg);
  transition: background 0.2s ease;
}

.feature-item:hover {
  background: var(--bg-warm);
}

.feature-item .icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.feature-item h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── Reviews ─── */
.reviews-section {
  margin: 72px 0;
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-section > h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: left;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.reviews-section > h2 + p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.review-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .review-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  padding: 36px 32px;
  background: var(--bg);
  transition: background 0.2s ease;
}

.review-card:hover {
  background: var(--bg-warm);
}

.review-card .stars {
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.review-card .reviewer {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Stats ─── */
.stats-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 56px 0;
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ─── Plan Comparison ─── */
.plan-comparison {
  margin: 56px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .plan-comparison {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plan-card {
  padding: 44px 40px;
  background: var(--bg);
  text-align: left;
  transition: background 0.2s ease;
  position: relative;
}

.plan-card:hover {
  background: var(--bg-warm);
  transform: none;
  box-shadow: none;
}

.plan-card:last-child {
  background: var(--bg-dark);
  color: #fff;
}

.plan-card:last-child:hover {
  background: #1a1a18;
}

.plan-card .plan-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.plan-card:last-child .plan-name {
  color: #fff;
}

.plan-card .plan-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-card:last-child .plan-price {
  border-bottom-color: rgba(255,255,255,0.1);
}

.plan-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.plan-card ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-card:last-child ul li {
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.08);
}

.plan-card ul li:last-child {
  border-bottom: none;
}

.plan-card ul li i {
  color: var(--teal);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.plan-card:last-child ul li i {
  color: var(--accent-light);
}

/* Plan card buttons override */
.plan-card .btn-secondary {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

.plan-card .btn-secondary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--bg-dark);
  color: #7A7A76;
  padding: 72px 0 36px;
  margin-top: 96px;
}

.site-footer .editorial-container {
  max-width: 720px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-nav h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  color: #7A7A76;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: #fff;
}

.footer-legal h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-legal p {
  font-size: 0.78rem;
  line-height: 1.9;
  color: #5A5A56;
  margin-bottom: 2px;
}

.footer-disclaimer {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  line-height: 1.75;
  color: #4A4A46;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #4A4A46;
}

/* ─── Dividers ─── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 56px 0;
}

.divider-dots {
  text-align: center;
  margin: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.divider-dots::before,
.divider-dots::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── Highlight Box ─── */
.highlight-box {
  margin: 40px 0;
  padding: 32px 36px;
  background: var(--bg-warm);
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--border);
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

/* ─── Inner Pages ─── */
.page-header {
  padding-top: 72px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}

.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-content {
  padding-bottom: 72px;
}

.page-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 16px;
  color: var(--text);
}

.page-content p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.3em;
  color: var(--text);
}

.page-content ul {
  margin-left: 24px;
  margin-bottom: 1.3em;
}

.page-content ul li {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 8px;
  color: var(--text);
}

/* ─── Contact Form ─── */
.contact-form {
  margin-top: 36px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  margin-top: 44px;
  padding: 36px;
  background: var(--bg-warm);
  border-top: 2px solid var(--accent);
}

.contact-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.contact-info a {
  color: var(--accent);
}

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .article-header {
    padding-top: 64px;
  }

  .article-body h2 {
    margin-top: 52px;
  }

  .pull-quote {
    margin: 40px 0;
  }

  .cta-insert-inner {
    padding: 36px 28px;
  }

  .stats-highlight {
    grid-template-columns: 1fr;
  }

  .stats-highlight .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stats-highlight .stat-item:last-child {
    border-bottom: none;
  }

  .plan-comparison {
    grid-template-columns: 1fr;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
