/* RankCraft — premium advisor, editorial split layout */
body.theme-rankcraft {
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --bg: #faf9f7;
  --bg-alt: #f3f1ec;
  --text: #1c1917;
  --text-muted: #57534e;
  --border: #e7e5e4;
}

.theme-rankcraft h1,
.theme-rankcraft h2,
.theme-rankcraft .section-header h2,
.theme-rankcraft .page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.theme-rankcraft .site-header {
  background: rgb(250 249 247 / 0.92);
  backdrop-filter: blur(10px);
}

.theme-rankcraft .logo-icon {
  border-radius: 0.35rem;
  background: linear-gradient(145deg, #1e1b4b, var(--primary));
}

.theme-rankcraft .logo {
  flex-shrink: 0;
}

.theme-rankcraft .logo-img {
  height: 3.5rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .theme-rankcraft .logo-img {
    height: 4.5rem;
    max-width: 16rem;
  }
}

.theme-rankcraft .site-footer .logo-img {
  height: 3rem;
  max-width: 12rem;
}

@media (min-width: 768px) {
  .theme-rankcraft .site-footer .logo-img {
    height: 3.5rem;
    max-width: 14rem;
  }
}

/* Split hero — light, asymmetric */
.hero-split {
  min-height: auto;
  padding: 3rem 0 4rem;
  background: var(--bg);
  display: block;
}

.hero-split .hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 992px) {
  .hero-split .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    padding-top: 1rem;
  }
}

.hero-split .hero-copy {
  text-align: left;
}

.hero-split .badge-offer {
  background: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-split h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--text);
  text-shadow: none;
  line-height: 1.12;
}

.hero-split h1 .accent {
  color: var(--primary);
  display: block;
  font-style: italic;
}

.hero-split .hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 32rem;
  margin: 0 0 1.5rem;
  text-align: left;
}

.hero-split .hero-pills {
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.hero-split .pill {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow);
}

.hero-split .pill svg {
  color: #16a34a;
}

.hero-split .hero-actions {
  justify-content: flex-start;
}

.hero-split .btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.hero-split .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hero-split .trust-line {
  justify-content: flex-start;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.hero-split .hero-visual {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(30 27 75 / 0.2);
}

.hero-split .hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-split .hero-visual-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-visual-card strong {
  font-size: 0.95rem;
  display: block;
}

.hero-visual-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Process steps */
.steps-row {
  display: grid;
  gap: 1.5rem;
}

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

.step-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.step-card .step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Comparison table plans */
.plan-compare {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.plan-compare-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
  align-items: stretch;
}

.plan-compare-row:last-child {
  border-bottom: none;
}

.plan-compare-row.head {
  background: var(--bg-alt);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.plan-compare-cell {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
  font-size: 0.9rem;
}

.plan-compare-cell:last-child {
  border-right: none;
}

.plan-compare-cell.feature {
  font-weight: 600;
  color: var(--text);
  background: #fff;
}

.plan-compare-cell.tier {
  text-align: center;
  background: #fff;
}

.plan-compare-cell.tier.highlight {
  background: var(--primary-light);
}

.plan-compare-cell .tier-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.plan-compare-cell .tier-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-compare-cell .tier-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .plan-compare {
    overflow-x: auto;
  }
  .plan-compare-row {
    min-width: 640px;
  }
}

.quote-strip {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.quote-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  max-width: 40rem;
  margin: 0 auto 0.75rem;
  line-height: 1.45;
}

.quote-strip cite {
  font-size: 0.85rem;
  opacity: 0.85;
  font-style: normal;
}

.theme-rankcraft .section-alt {
  background: var(--bg-alt);
}
