/* OneClickRemix — Blog (SEO articles) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #10183c;
  --navy-dark: #0b1128;
  --accent: #0866ff;
  --accent-dark: #0653cc;
  --mint: #059669;
  --amber: #d97706;
  --rose: #e11d48;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f3f7ff;
  --bg: #f6f8fc;
  --border: #e2e8f0;
  --text: #0f172a;
  --grad-deep: linear-gradient(90deg, #2563eb, #7c3aed, #059669);
  --shadow-soft: 0 10px 30px rgba(16, 24, 60, 0.06);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(8, 102, 255, 0.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(5, 150, 105, 0.07), transparent 55%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Nav ── */
.guides-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.guides-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.4px;
  text-decoration: none;
}
.guides-logo:hover { text-decoration: none; }
.guides-logo .logo-mark-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.guides-logo em {
  font-style: normal;
}
.guides-logo .remix {
  background: var(--grad-deep);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.guides-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.guides-nav-links a {
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.guides-nav-links a:hover {
  color: var(--navy);
  background: rgba(16, 24, 60, 0.05);
  text-decoration: none;
}
.guides-nav-links a.is-active {
  color: var(--navy);
  font-weight: 700;
}
.guides-nav-cta {
  display: inline-flex !important;
  align-items: center;
  background: var(--grad-deep) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
}
.guides-nav-cta:hover {
  filter: brightness(1.06);
  background: var(--grad-deep) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ── Layout ── */
.guides-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.guides-index-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.guides-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.guides-page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.guides-page-lead {
  font-size: 17px;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ── Index cards ── */
.guides-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(16, 24, 60, 0.06);
  text-decoration: none;
}
.guide-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--light);
}
.guide-card-body {
  padding: 20px 24px 24px;
}

.guide-card-meta {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.guide-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.55;
}

.guide-card-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.guide-card.is-draft {
  border-style: dashed;
  background: #fafbff;
}
.guide-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--light);
  border-radius: 6px;
}

/* ── Template / placeholder markers (article-template only) ── */
.tpl-banner {
  margin: 0 0 28px;
  padding: 14px 16px;
  background: #fff8e6;
  border: 1px dashed #eab308;
  border-radius: 10px;
  font-size: 14px;
  color: #713f12;
  line-height: 1.5;
}
.tpl-slot {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px dashed #93c5fd;
  border-radius: 10px;
  background: #f8fbff;
}
.tpl-slot-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.tpl-slot .tpl-hint {
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
  margin: 0;
}

/* ── Article ── */
.article-header {
  margin-bottom: 28px;
  padding: 28px 28px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.article-meta {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 14px;
}

.article-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.7px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.article-lead {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.55;
  max-width: 58ch;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #eef2f7;
}
.article-author-photo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(16, 24, 60, 0.08);
}
.article-author-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray);
}
.article-author-text strong {
  color: var(--navy);
  font-weight: 750;
}
.article-author-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

/* AI / GEO — short extractable answer */
.article-key-answer {
  margin: 0 0 22px;
  padding: 20px 22px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
  box-shadow: var(--shadow-soft);
}
.article-key-answer-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}
.article-key-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 550;
}

/* FAQ block */
.article-body > section.article-faq {
  padding: 26px 26px 18px;
}
.article-faq > h2 {
  margin: 0 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}
.article-faq details {
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
}
.article-faq details:last-child {
  border-bottom: 0;
}
.article-faq summary {
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.article-faq summary::-webkit-details-marker {
  display: none;
}
.article-faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}
.article-faq details[open] summary::after {
  content: "–";
}
.article-faq details p {
  margin: 10px 0 4px;
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
}

.article-hero {
  margin: 0 0 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--light);
  box-shadow: var(--shadow-soft);
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-hero-credit {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--gray-light);
  text-align: right;
  border-top: 1px solid var(--border);
  background: #fafbfd;
}
.article-hero-credit a {
  color: var(--gray);
  font-weight: 500;
}

/* TOC */
/* TOC — 3 key highlights */
.article-toc {
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.article-toc-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.toc-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.toc-highlights a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.toc-highlights a:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(8, 102, 255, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}
.toc-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.toc-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.toc-text strong {
  font-size: 15px;
  font-weight: 750;
  color: var(--navy);
  line-height: 1.3;
}
.toc-text span {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  line-height: 1.4;
}

.article-body > section {
  margin: 0 0 22px;
  padding: 26px 26px 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.article-body h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.35px;
  margin: 0 0 14px;
  line-height: 1.25;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}

.article-body h2 .step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--grad-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}

.article-body h3 {
  font-size: 16px;
  font-weight: 750;
  color: var(--navy);
  margin: 22px 0 10px;
}

.article-body p {
  margin-bottom: 14px;
  font-size: 16px;
  color: #334155;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 1.15em;
  font-size: 15.5px;
  color: #334155;
}

.article-body li {
  margin-bottom: 9px;
  padding-left: 2px;
}

.article-body li::marker {
  color: var(--accent);
  font-weight: 700;
}

.article-body strong {
  color: var(--navy);
}

.article-body a {
  font-weight: 600;
}

.article-callout {
  margin: 20px 0 22px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.5;
}
.article-callout--goal {
  background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
  border-color: #a7f3d0;
  border-left-color: var(--mint);
}
.article-callout--warn {
  background: #fff7ed;
  border-color: #fed7aa;
  border-left-color: var(--amber);
}

/* Visual step checklist */
.step-list {
  list-style: none;
  margin: 0 0 18px !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
  counter-reset: step;
}
.step-list li {
  position: relative;
  margin: 0 !important;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfdff;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
}
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* Template / formula blocks */
.template-grid {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}
.template-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fafcff 0%, #f8fafc 100%);
}
.template-card h3 {
  margin-top: 0 !important;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.template-card h3 .chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.formula-block {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #0b1128;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-x: auto;
}
.formula-block em {
  color: #93c5fd;
  font-style: normal;
}

/* Comparison cards */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 18px;
}
.compare-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.compare-card h3 {
  margin: 0 0 8px !important;
  font-size: 15px;
}
.compare-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  background: var(--light);
  color: var(--accent);
}
.compare-card ul {
  margin: 0 !important;
  padding-left: 1.05em;
  font-size: 13.5px;
}
.compare-card li {
  margin-bottom: 6px;
}

/* Week timeline */
.week-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 18px;
}
.week-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.week-card:nth-child(1) { border-top: 3px solid #2563eb; }
.week-card:nth-child(2) { border-top: 3px solid #059669; }
.week-card:nth-child(3) { border-top: 3px solid #0ea5e9; }
.week-card:nth-child(4) { border-top: 3px solid #d97706; }
.week-card h3 {
  margin: 0 0 10px !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: var(--navy);
}
.week-card ul {
  margin: 0 !important;
  padding-left: 1.05em;
  font-size: 14px;
}

.kpi-list {
  list-style: none;
  margin: 0 0 18px !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}
.kpi-list li {
  margin: 0 !important;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 15px;
}
.kpi-list strong {
  display: inline-block;
  min-width: 9.5em;
  color: var(--accent);
}

/* ── Bottom CTA ── */
.article-cta {
  margin-top: 48px;
  padding: 32px 28px;
  background: var(--navy-dark);
  border-radius: 16px;
  text-align: center;
  color: #fff;
}

.article-cta h2 {
  font-size: 22px;
  font-weight: 750;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.article-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-deep);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none !important;
}
.article-cta-btn:hover {
  filter: brightness(1.06);
  text-decoration: none !important;
}

.article-cta-secondary {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.article-cta-secondary a {
  color: rgba(255, 255, 255, 0.75);
}

.article-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-related h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.article-related a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  text-decoration: none;
}
.article-related a:hover {
  color: var(--accent);
}

/* ── Footer strip ── */
.guides-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-light);
}
.guides-footer a {
  color: var(--gray);
  margin: 0 6px;
}

@media (max-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guides-nav {
    padding: 0 16px;
  }
  .guides-nav-links a:not(.guides-nav-cta) {
    display: none;
  }
  .guides-wrap,
  .guides-index-wrap {
    padding: 32px 18px 64px;
  }
  .guide-card {
    padding: 20px;
  }
  .article-header,
  .article-body > section {
    padding: 20px 18px 8px;
  }
  .week-grid {
    grid-template-columns: 1fr;
  }
  .kpi-list strong {
    display: block;
    margin-bottom: 4px;
  }
}
