/* Recipe detail page shared styles */
.rd-crumbs { padding: 24px 0 0; font-size: 12px; color: var(--mute); display: flex; gap: 8px; flex-wrap: wrap; }
.rd-crumbs a { color: var(--mute); }
.rd-crumbs a:hover { color: var(--green); }
.rd-crumbs .sep { opacity: 0.5; }
.rd-crumbs .current { color: var(--ink); font-weight: 500; }

.rd-loading { padding: 80px 24px; text-align: center; color: var(--mute); }

.rd-page { max-width: 880px; margin: 0 auto 80px; padding: 0 24px; }

.rd-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 32px 0 18px;
}
.rd-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.rd-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.05;
  letter-spacing: -0.03em; font-variation-settings: "opsz" 144;
  margin-bottom: 18px;
}
.rd-tagline { font-size: 19px; color: var(--ink-soft); line-height: 1.55; max-width: 640px; margin-bottom: 28px; }

.rd-summary-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  font-size: 13px;
}
.rd-summary-meta > div { padding-right: 16px; border-right: 1px solid var(--line); }
.rd-summary-meta > div:last-child { border-right: none; }
@media (max-width: 600px) { .rd-summary-meta > div { border-right: none; padding-right: 0; } }
.rd-summary-meta strong {
  font-family: var(--display); font-weight: 500; font-size: 22px;
  color: var(--ink); display: block; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.rd-summary-meta .label { color: var(--mute); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

.rd-summary {
  font-family: var(--display); font-weight: 400;
  font-size: 22px; line-height: 1.45; color: var(--ink);
  margin-bottom: 48px; max-width: 720px;
  font-variation-settings: "opsz" 144;
}
.rd-summary em { color: var(--ink-soft); font-style: italic; font-variation-settings: "opsz" 9; }

.rd-section { margin: 56px 0; }
.rd-section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--amber); text-transform: uppercase; margin-bottom: 10px;
}
.rd-section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em;
  margin-bottom: 8px; line-height: 1.2; font-variation-settings: "opsz" 144;
}
.rd-section-sub { font-size: 16px; color: var(--ink-soft); line-height: 1.55; max-width: 640px; margin-bottom: 28px; }

/* Tools list */
.rd-tools { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rd-tool {
  display: grid; grid-template-columns: 1fr auto;
  gap: 18px; padding: 20px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  align-items: start;
}
.rd-tool-name { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 4px; }
.rd-tool-role { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.02em; }
.rd-tool-why { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.rd-tool-cost {
  font-family: var(--display); font-weight: 500;
  font-size: 18px; color: var(--ink); letter-spacing: -0.01em;
  white-space: nowrap; text-align: right; line-height: 1.2;
}
.rd-tool-cost-label { font-size: 11px; color: var(--mute); margin-top: 2px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Setup steps timeline */
.rd-steps { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.rd-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 22px 0; border-top: 1px dashed var(--line);
}
.rd-step:first-child { border-top: none; padding-top: 4px; }
.rd-step-num {
  font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1;
  color: var(--green); letter-spacing: -0.02em; font-variation-settings: "opsz" 144;
}
.rd-step-title {
  font-family: var(--display); font-weight: 500; font-size: 19px;
  letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 8px;
}
.rd-step-body { font-size: 15px; color: var(--ink); line-height: 1.6; }
.rd-step-body em { color: var(--ink-soft); font-style: italic; }

/* Skip these — warning style */
.rd-skip {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.rd-skip-item {
  padding: 16px 20px;
  background: rgba(216,128,127,0.05);
  border: 1px solid rgba(216,128,127,0.25);
  border-left: 3px solid #C25450;
  border-radius: 10px;
}
.rd-skip-name { font-weight: 600; color: #B05050; font-size: 15px; margin-bottom: 4px; letter-spacing: -0.005em; }
.rd-skip-why { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
[data-theme="dark"] .rd-skip-name { color: #E69A99; }

/* Upgrade path */
.rd-upgrade {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.rd-upgrade-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--line); }
.rd-upgrade-row:first-child { border-top: none; }
@media (max-width: 600px) { .rd-upgrade-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; } }
.rd-upgrade-milestone {
  font-family: var(--display); font-weight: 500; font-size: 14px;
  color: var(--green); letter-spacing: -0.005em; line-height: 1.3;
}
.rd-upgrade-action { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* Common regrets */
.rd-regrets {
  background: var(--cream-alt); border-radius: 14px;
  padding: 24px 28px; border-left: 3px solid var(--amber);
}
.rd-regrets ul { margin: 0; padding-left: 20px; }
.rd-regrets li { font-size: 15px; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.rd-regrets li:last-child { margin-bottom: 0; }

/* Final CTA */
.rd-cta {
  margin: 64px 0 32px; padding: 40px 32px;
  background: var(--ink); color: var(--cream);
  border-radius: 24px; text-align: center;
  box-shadow: var(--shadow-xl); position: relative; overflow: hidden;
}
.rd-cta::before { content: ''; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(255,193,77,0.10) 0%, transparent 60%); }
.rd-cta-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--amber); text-transform: uppercase; margin-bottom: 12px; position: relative; }
.rd-cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; color: var(--cream); position: relative; font-variation-settings: "opsz" 144; }
.rd-cta h2 .em { color: var(--amber); font-style: italic; font-variation-settings: "opsz" 9; }
.rd-cta p { font-size: 15px; color: rgba(245,242,235,0.7); line-height: 1.55; max-width: 540px; margin: 0 auto 22px; position: relative; }
.rd-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.rd-cta-btn-primary {
  padding: 14px 24px; background: var(--amber); color: var(--ink);
  border: none; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: all 0.2s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.rd-cta-btn-primary:hover { background: #f0b54e; transform: translateY(-1px); }
.rd-cta-btn-ghost {
  padding: 14px 24px; background: transparent; color: var(--cream);
  border: 1px solid rgba(245,242,235,0.3); border-radius: 999px;
  font-weight: 500; font-size: 15px; text-decoration: none;
  transition: all 0.2s var(--ease);
}
.rd-cta-btn-ghost:hover { background: rgba(245,242,235,0.08); border-color: rgba(245,242,235,0.5); }

/* Other recipes (cross-link) */
.rd-related { margin: 56px 0 32px; }
.rd-related-title { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 16px; }
.rd-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .rd-related-grid { grid-template-columns: 1fr; } }
.rd-related-card {
  display: block; padding: 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: inherit;
  transition: all 0.2s var(--ease);
}
.rd-related-card:hover { border-color: var(--green); transform: translateY(-2px); }
.rd-related-card-name { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 4px; }
.rd-related-card-meta { font-size: 12px; color: var(--mute); }
