/*
Theme Name: Essay Landing
Description: SPSS Dissertation Help & Data Analysis Service
Author: Dominic Tanui
Version: 1.0
*/

:root {
  --bg-page: #f6f7fb;
  --bg-section: #ffffff;
  --bg-muted: #f3f5fb;
  --bg-dark: #15161b;
  --accent: #1ab76c;
  --accent-soft: #e7f8ef;
  --accent-strong: #11935a;
  --primary-text: #111827;
  --muted-text: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

body {
  font-size:15px;
  font-weight: 600;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--primary-text);
  background-color: var(--bg-page);
  line-height: 1.5;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.page {
  background-color: var(--bg-page);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */

.top-bar {
  background: #ffd977;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
}

.top-bar span {
  font-weight: 500;
}

/* HEADER */

header {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo-img {
  height: 40px;
  width: auto;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3cd58a, #0b8c57);
}

.logo-text-main {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--muted-text);
  margin-top: -2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #4b5563;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul li {
  margin: 0;
  position: relative;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #0f172a;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    padding: 12px 20px 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 50;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-open .primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .header-actions {
    display: none;
  }

  /* Mobile sub-menu styles */
  .primary-menu .sub-menu {
    position: static;
    width: 100%;
    padding: 12px 16px;
    margin-top: 8px;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border-radius: 12px;
  }

  .primary-menu .sub-menu::before {
    display: none;
  }

  .primary-menu .sub-menu::after {
    display: none;
  }

  .primary-menu .menu-item-has-children > a {
    width: 100%;
    justify-content: space-between;
  }

  .primary-menu li:hover > .sub-menu,
  .primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.primary-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.primary-menu .menu-item-has-children > a .dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  position: relative;
}

.dropdown-icon i {
  position: absolute;
  inset: 0;
  font-size: 14px;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.dropdown-icon .active-icon {
  opacity: 0;
}

.menu-item-has-children:hover .dropdown-icon .default-icon,
.menu-item-has-children:focus-within .dropdown-icon .default-icon {
  opacity: 0;
}

.menu-item-has-children:hover .dropdown-icon .active-icon,
.menu-item-has-children:focus-within .dropdown-icon .active-icon {
  opacity: 1;
}

.primary-menu .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 16px);
  width: clamp(260px, 60vw, 720px);
  background: #ffffff;
  padding: 28px 30px;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-auto-rows: 1fr;
  column-gap: 28px;
  row-gap: 12px;
  backdrop-filter: blur(18px);
}

.primary-menu .sub-menu::before {
  content: '';
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 30px;
  right: 30px;
  pointer-events: none;
  background:
    linear-gradient(to right,
      transparent calc(33.333% - 1px),
      rgba(148, 163, 184, 0.35) calc(33.333% - 1px),
      rgba(148, 163, 184, 0.35) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent calc(66.666% - 1px),
      rgba(148, 163, 184, 0.35) calc(66.666% - 1px),
      rgba(148, 163, 184, 0.35) calc(66.666% + 1px),
      transparent calc(66.666% + 1px)
    );
  opacity: 0.35;
}

.primary-menu .sub-menu::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 24px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: rotate(45deg);
  border-radius: 4px 0 0 0;
  z-index: -1;
}

.primary-menu .sub-menu li {
  width: 100%;
}

.primary-menu .sub-menu a {
  font-size: 14px;
  color: #0f172a;
  padding: 6px 4px;
  border-radius: 12px;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.primary-menu .sub-menu li {
  width: 100%;
  max-width: 100%;
}

.primary-menu .sub-menu li:nth-child(n+10) {
  display: none;
}

.primary-menu .sub-menu a:hover {
  background: #0f172a;
  color: #fff;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
  background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0f172a, var(--accent-strong));
  color: white;
  box-shadow: 0 12px 25px rgba(17, 147, 90, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: #e5e7eb;
  color: #111827;
}

.btn-ghost.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

.page-default-hero .btn-ghost.btn-outline {
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

.btn-ghost.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-default-hero .btn-ghost.btn-outline:hover {
  border-color: var(--accent-strong);
  background: rgba(17, 147, 90, 0.08);
}

.page-rich-hero .btn-primary,
.page-default-hero .btn-primary {
  background: #fff;
  color: var(--accent-strong);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.page-rich-hero .btn-primary:hover,
.page-default-hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-strong);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.page-rich-hero .btn-ghost.btn-outline,
.page-default-hero .btn-ghost.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.page-rich-hero .btn-ghost.btn-outline:hover,
.page-default-hero .btn-ghost.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  background: #f9fafb;
}

/* HERO */

.hero {
  background: #ffffff;
  padding: 40px 0 60px;
  border-bottom: 1px solid #eef0f5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  color: var(--accent-strong);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 18px;
  max-width: 420px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #4b5563;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3f4ff;
  font-size: 11px;
  color: #4b5563;
}

.star-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fbbf24;
  clip-path: polygon(50% 0%, 63% 38%, 100% 38%, 70% 59%, 82% 100%, 50% 75%, 18% 100%, 30% 59%, 0 38%, 37% 38%);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-cta-note {
  font-size: 11px;
  color: var(--muted-text);
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted-text);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stat-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
}

.hero-stat-label {
  font-weight: 500;
  color: #374151;
  font-size: 11px;
}

.hero-stat-sub {
  display: block;
  font-size: 11px;
  color: var(--muted-text);
}

.hero-card {
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
}

.hero-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
}

.hero-form-header strong {
  font-weight: 600;
}

.hero-summary-line {
  font-size: 11px;
  color: var(--muted-text);
  margin-bottom: 14px;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 16px;
}

.field-label {
  font-size: 11px;
  color: #4b5563;
  margin-bottom: 4px;
  display: block;
}

.field-input,
.field-select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 6px 10px;
  font-size: 12px;
  background: #ffffff;
}

.hero-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.hero-price-main {
  font-weight: 600;
  font-size: 16px;
}

.hero-price-note {
  font-size: 11px;
  color: var(--muted-text);
}

.hero-mini-text {
  font-size: 10px;
  color: var(--muted-text);
  margin-top: 6px;
}

/* SECTIONS GENERAL */

section {
  padding: 60px 0;
}

.section-bg-white {
  background: #ffffff;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--muted-text);
  max-width: 520px;
  margin: 0 auto 26px;
}

/* 3 STEPS */

.steps-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
}

.steps-list {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-text {
  font-size: 12px;
  color: var(--muted-text);
}

.steps-mock {
  border-radius: 20px;
  background: linear-gradient(145deg, #eef2ff, #f9fafb);
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 10px;
  font-size: 11px;
  color: #4b5563;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px dashed #e5e7eb;
}

.mock-pill {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10px;
  background: #e5e7eb;
}

/* WRITERS SECTION */

.writers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
  font-size: 12px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e5edff, #fef3c7);
}

.info-card-title {
  font-weight: 600;
  font-size: 13px;
}

.info-card-text {
  color: var(--muted-text);
  font-size: 12px;
}

/* SERVICE GRID */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.service-block {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.service-block h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.service-block p {
  font-size: 12px;
  color: var(--muted-text);
  margin-bottom: 10px;
}

.bullet-list {
  list-style: none;
  font-size: 12px;
  color: #4b5563;
  display: grid;
  gap: 5px;
}

.bullet-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 6px;
}

/* REVIEWS */

.reviews-header {
  text-align: left;
  margin-bottom: 24px;
}

.reviews-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 6px;
}

.reviews-header p {
  font-size: 13px;
  color: var(--muted-text);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
  font-size: 12px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-source {
  font-size: 11px;
  color: var(--muted-text);
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-body {
  color: #374151;
  margin-bottom: 12px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted-text);
}

/* CTA BAND */

.cta-band {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  margin-top: 28px;
  margin-bottom: 28px;
}

.cta-band-title {
  font-size: 18px;
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
}

.cta-band-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 14px;
}

/* TEAM SECTION */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.writer-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  padding: 18px 16px;
  font-size: 12px;
}

.writer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.writer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c4e0ff, #fbcfe8);
}

.writer-name {
  font-weight: 600;
  font-size: 13px;
}

.writer-meta {
  font-size: 11px;
  color: var(--muted-text);
}

/* SOCIAL CONNECT */

.social-strip {
  margin-top: 22px;
  padding: 18px 16px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.social-strip-left {
  max-width: 360px;
}

.social-strip-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  background: #f3f4ff;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.faq-item {
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: default;
}

.faq-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faq-icon {
  font-size: 16px;
  color: var(--muted-text);
}

/* NEWS STRIP */

.news-strip {
  margin: 26px 0 18px;
  text-align: center;
  font-size: 11px;
  color: var(--muted-text);
}

.news-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

/* DARK FOOTER CARD */

.dark-card {
  margin: 36px auto 32px;
  max-width: 640px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  color: #e5e7eb;
  padding: 22px 24px 20px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.65);
  font-size: 11px;
  position: relative;
}

.dark-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dark-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.dark-tag {
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(249, 250, 251, 0.12);
  font-size: 11px;
  white-space: nowrap;
}

.dark-card-bottom {
  opacity: 0.7;
}

/* TRUST SECTION */

.trust-section {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 40px 0 50px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  font-size: 12px;
  color: var(--muted-text);
}

.trust-heading {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 10px;
  color: #111827;
}

.trust-stat-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.trust-stat-card {
  border-radius: var(--radius-lg);
  background: #f3f4ff;
  padding: 10px 10px;
  font-size: 11px;
  text-align: center;
}

.trust-stat-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #111827;
}

/* FOOTER */

footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px 26px;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  nav {
    display: none;
  }

  .nav-open nav {
    display: block;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .writers-grid,
  .services-grid,
  .reviews-grid,
  .team-grid,
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-inline: 16px;
  }

  .hero {
    padding: 30px 0 40px;
  }

  section {
    padding: 40px 0;
  }

  .steps-wrapper {
    padding: 20px 18px;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dark-card {
    margin-inline: 16px;
  }
}

/* Service accordions & CTAs */

.service-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.service-block-header h3 {
  margin-bottom: 4px;
}

.service-toggle {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 11px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #374151;
}

.service-toggle:hover {
  background: #eef2ff;
}

.service-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

.service-children {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.service-block--open .service-children {
  max-height: 800px; /* enough for content */
}

.service-children-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #374151;
}

.service-children-list li::before {
  content: "›";
  color: var(--accent);
  margin-right: 6px;
}

.section-cta-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pill-link {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed #d1d5db;
  color: #374151;
  text-decoration: none;
}

.pill-link:hover {
  background: #f9fafb;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 12px;
}

.service-table th,
.service-table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
}

.service-table thead {
  background: #f3f4ff;
  font-weight: 600;
}

/* FAQ detail cards */

.faq-detail-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  font-size: 13px;
}

.faq-detail-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.faq-detail-card p {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.faq-detail-card ul {
  font-size: 12px;
  color: #374151;
  padding-left: 18px;
  margin-top: 4px;
}

/* Responsive tweaks for FAQ/service accordions */

@media (max-width: 768px) {
  .faq-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Scroll reveal animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons hover animation */
.btn {
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-large {
  padding: 12px 28px !important;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

/* Card hover animation */
.info-card,
.review-card,
.service-block,
.writer-card,
.faq-detail-card,
.cta-band,
.dark-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.review-card:hover,
.service-block:hover,
.writer-card:hover,
.faq-detail-card:hover,
.cta-band:hover,
.dark-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

/* Service blocks & toggle refinement */
.service-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.service-block-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-block-header p {
  font-size: 13px;
  color: var(--muted-text);
}

.service-toggle {
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: radial-gradient(circle at 0 0, #eef2ff 0, #ffffff 60%);
  font-size: 11px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #1f2937;
  box-shadow: 0 12px 26px rgba(129, 140, 248, 0.35);
  white-space: nowrap;
}

.service-toggle-label {
  font-weight: 600;
}

.service-toggle-icon {
  font-size: 15px;
  line-height: 1;
}

.service-toggle:hover {
  background: radial-gradient(circle at 0 0, #e0e7ff 0, #ffffff 60%);
}

/* FAQ accordion */
.faq-accordion {
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
  background: #ffffff;
  overflow: hidden;
}

.faq-accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #f9fafb, #f3f4ff);
  border: none;
  cursor: pointer;
}

.faq-accordion-icon {
  font-size: 16px;
  margin-left: 10px;
}

.faq-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 16px;
}

.faq-accordion-panel-inner {
  padding: 10px 0 14px;
  font-size: 13px;
  color: #374151;
}

.faq-accordion-panel-inner p {
  margin-bottom: 6px;
}

.faq-accordion-panel-inner ul {
  margin: 0;
  padding-left: 18px;
}

.faq-accordion.is-open .faq-accordion-panel {
  max-height: 450px;
}

.faq-accordion.is-open .faq-accordion-header {
  background: linear-gradient(90deg, #eef2ff, #e0f2fe);
}

/* Modern flow section for "How it works" */
.flow-section {
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.flow-inner {
  position: relative;
  z-index: 1;
}

.flow-head {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.flow-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 26px;
}

.flow-timeline {
  position: relative;
  padding-left: 22px;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, #a5b4fc, transparent);
}

.flow-step {
  position: relative;
  padding-left: 16px;
  padding-bottom: 18px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step-number {
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #4f46e5;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.flow-step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-step-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 6px;
}

.flow-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow-tag {
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  padding: 4px 9px;
  font-size: 11px;
  color: #4b5563;
  background: #f9fafb;
}

.flow-summary {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
}

.flow-summary-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-summary-text {
  font-size: 13px;
  color: #d1d5db;
  margin-bottom: 12px;
}

.flow-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flow-pill {
  border-radius: 16px;
  padding: 9px 10px;
  font-size: 12px;
  background: rgba(31, 41, 55, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.flow-pill strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  color: #f9fafb;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-summary {
    margin-top: 18px;
  }
}


/* --- Clean "How it works" layout --- */
.how-layout {
  position: relative;
}

.how-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.how-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.how-subline {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 4px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.how-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.how-step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.how-step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.how-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.how-card-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.how-list {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #4b5563;
}

.how-list li {
  margin-bottom: 4px;
}

.how-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.how-chip {
  border-radius: 999px;
  font-size: 11px;
  padding: 3px 8px;
  background: #f3f4ff;
  color: #4f46e5;
}

.how-footer {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.how-progress {
  flex: 1 1 220px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  height: 8px;
  position: relative;
}

.how-progress-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.how-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: #6b7280;
}

.how-footer-text {
  font-size: 12px;
  color: #4b5563;
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- 3-step central timeline for "How it works" --- */
.process-section {
  position: relative;
}

.process-head {
  max-width: 660px;
  margin: 0 auto 34px;
  text-align: center;
}

.process-kicker {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-subtitle {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 6px;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 120px minmax(0, 1.2fr);
  column-gap: 40px;
  row-gap: 70px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #e5e7eb 0, #e5e7eb 40%, transparent 60%);
}

.process-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(16, 185, 129, 0.45);
  color: #ffffff;
  font-size: 24px;
}

.process-number {
  position: absolute;
  font-size: 64px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.06);
  pointer-events: none;
}

.process-number--top {
  top: -4px;
  right: -4px;
}

.process-number--mid {
  top: 8px;
  left: -8px;
}

.process-number--bottom {
  bottom: -4px;
  right: -6px;
}

.process-text {
  max-width: 360px;
}

.process-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-text p {
  font-size: 13px;
  color: var(--muted-text);
}

.process-text--left {
  text-align: left;
  justify-self: end;
}

.process-text--right {
  text-align: left;
  justify-self: start;
}

.process-footer {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.process-note {
  font-size: 12px;
  color: #4b5563;
}

/* Responsive */
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }
  .process-grid::before {
    left: 28px;
  }
  .process-center {
    justify-content: flex-start;
  }
  .process-text,
  .process-text--left,
  .process-text--right {
    justify-self: start;
    padding-left: 10px;
  }
}

/* --- Three-step vertical flow (How it works) --- */
.steps3-section {
  position: relative;
}

.steps3-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.steps3-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 6px;
}

.steps3-subtitle {
  font-size: 13px;
  color: var(--muted-text);
  margin-top: 6px;
}

.steps3-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 10px;
  align-items: stretch;
}

.steps3-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.steps3-center-line {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.steps3-node {
  position: relative;
  z-index: 2;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps3-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.45);
}

.steps3-number-bg {
  position: absolute;
  font-size: 70px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.04);
  z-index: 0;
}

.steps3-row {
  display: contents;
}

.steps3-card {
  align-self: center;
  padding: 16px 18px 14px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.steps3-card-empty {
  pointer-events: none;
  visibility: hidden;
}

.steps3-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.steps3-card-text {
  font-size: 13px;
  color: var(--muted-text);
  margin-bottom: 6px;
}

.steps3-card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #4b5563;
}

.steps3-card-list li {
  margin-bottom: 4px;
}

.steps3-footer {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.steps3-footer-text {
  font-size: 12px;
  color: #4b5563;
  max-width: 520px;
}

.steps3-cta {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .steps3-layout {
    display: block;
  }
  .steps3-center {
    display: none;
  }
  .steps3-card,
  .steps3-card-empty {
    visibility: visible;
    pointer-events: auto;
  }
  .steps3-row-block {
    margin-bottom: 12px;
  }
}


.steps3-icon-circle {
  position: relative;
}
.steps3-icon-circle i {
  font-size: 24px;
}
.steps3-icon-circle::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35), transparent 60%);
  z-index: -1;
}

/* Icon containers using Remix Icons */
.icon-circle,
.writer-avatar,
.trust-stat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}

.icon-circle i,
.writer-avatar i,
.trust-stat-card-icon i {
  font-size: 18px;
}

.writer-avatar i {
  font-size: 20px;
}

.dark-tag i {
  margin-right: 4px;
  font-size: 12px;
  vertical-align: -1px;
}


/* -----------------------------
   Footer
------------------------------*/
.site-footer {
  background: #050816;
  color: #e5e7eb;
  font-size: 13px;
  margin-top: 40px;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-top,
.footer-middle {
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-top-inner,
.footer-middle-inner,
.footer-bottom-inner {
  display: grid;
  gap: 28px;
  padding: 32px 0;
}

.footer-top-inner {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-col-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.page-rich-hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at top right, rgba(111, 76, 255, 0.4), rgba(15, 22, 43, 0.95));
  color: #fff;
  overflow: hidden;
}

.page-rich-hero .container {
  position: relative;
}

.page-rich-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.page-rich-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.page-rich-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-rich-summary {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}

.page-rich-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.meta-chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.page-rich-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-link--on-dark {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.pill-link--on-dark:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.page-rich-hero-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(14, 21, 47, 0.45);
  min-height: 280px;
}

.page-rich-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-rich-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  text-align: center;
  padding: 24px;
}

.page-rich-content {
  padding: 60px 0 40px;
  background: #f8fafc;
}

.page-rich-breadcrumbs {
  background: #f8fafc;
  padding: 18px 0 6px;
}

.page-rich-breadcrumbs .breadcrumbs {
  color: #4b5563;
}

.page-rich-hero.classic {
  background: linear-gradient(135deg, #0f172a, var(--accent-strong));
}

.page-rich-cta-grid {
  padding: 50px 0 20px;
  background: #f8fafc;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cta-card {
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.cta-card.main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--accent-strong), #0f172a);
  color: #fff;
}

.cta-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  opacity: 0.7;
}

.cta-card.secondary {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
}

.page-rich-banner {
  padding: 40px 0 20px;
  background: linear-gradient(135deg, rgba(17, 147, 90, 0.12), rgba(17, 147, 90, 0.06));
}

.banner-inner {
  border-radius: 32px;
  padding: 40px;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #0ea5e9, #312e81);
  background: linear-gradient(135deg, var(--accent-strong), #0f172a);
  color: #fff;
  flex-wrap: wrap;
}

.banner-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.banner-inner ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #e0f2fe;
}

.banner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-rich-article {
  background: #ffffff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.content-styles > *:first-child {
  margin-top: 0;
}

.content-styles h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #111827;
}

.content-styles h3 {
  font-size: 22px;
  margin-top: 26px;
  margin-bottom: 12px;
  color: #111827;
}

.content-styles p,
.content-styles ul,
.content-styles ol {
  font-size: 17px;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 18px;
}

.content-styles ul {
  padding-left: 20px;
  list-style: disc;
}

.content-styles ol {
  padding-left: 22px;
}

.content-styles blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  font-style: italic;
  color: #0f172a;
  background: #f0f4ff;
  margin: 24px 0;
}

.content-styles img {
  max-width: 100%;
  border-radius: 18px;
  margin: 24px 0;
  display: block;
}

.page-default-hero {
  background: linear-gradient(135deg, var(--accent-strong), #0b663a);
  color: #fff;
  padding: 70px 0 50px;
}

.page-default-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.page-default-hero .hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}

.page-default-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 16px;
}

.page-default-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.page-default-hero .hero-meta {
  margin: 18px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.page-default-hero .hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-default-hero .hero-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.page-default-hero .hero-placeholder {
  border-radius: 28px;
  padding: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

.page-default-breadcrumbs {
  background: #f8fafc;
  padding: 18px 0 8px;
}

.page-default-breadcrumbs .breadcrumbs {
  color: #475569;
}

.page-default-content {
  background: #f8fafc;
  padding: 40px 0 60px;
}

.page-default-article {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.home-content-panel {
  background: #f8fafc;
  padding: 40px 0;
}

.home-content-inner {
  display: block;
}

.home-content-scroll {
  padding: 22px;
  max-height: var(--home-panel-height, 420px);
  min-height: 260px;
  overflow-y: auto;
  mask-image: linear-gradient(to bottom, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.home-content-scroll::-webkit-scrollbar {
  width: 8px;
}

.home-content-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 147, 90, 0.35);
  border-radius: 999px;
}

.home-content-scroll::-webkit-scrollbar-track {
  background: rgba(17, 147, 90, 0.08);
}

.home-content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-content-col {
  padding: 4px;
}

.blog-hero {
  background: linear-gradient(135deg, #0f172a, var(--accent-strong));
  color: #ffffff;
  padding: 70px 0;
}

.blog-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.blog-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 12px;
}

.blog-hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 18px;
}

.blog-hero-copy p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.blog-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.blog-hero-visual {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 40px;
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.blog-hero-stats {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #c7d2fe;
}

.blog-hero-stats span {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
}

.blog-archive {
  padding: 60px 0;
  background: #f8fafc;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.post-card {
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.post-card-media {
  position: relative;
}

.post-card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.post-card-placeholder {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1.1rem;
}

.post-card-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.post-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-body h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.post-card-body h2 a {
  color: inherit;
}

.post-card-body p {
  flex: 1;
  color: #475569;
}

.post-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
}

.post-card-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.post-card--compact {
  flex-direction: row;
}

.post-card--compact .post-card-media,
.post-card--compact .post-card-media img {
  height: 160px;
  width: 180px;
}

.post-card--compact .post-card-media {
  flex: 0 0 180px;
}

.post-card--compact .post-card-body {
  padding: 20px;
}

.post-card--compact .post-card-body h2 {
  font-size: 1rem;
}

.blog-cta {
  padding: 60px 0;
}

.blog-cta-card {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  padding: 40px;
  border-radius: 32px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.blog-cta-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.blog-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-load-more {
  text-align: center;
  margin-top: 40px;
}

.blog-load-more .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
}

.single-hero {
  background: #050b1f;
  color: #fff;
  padding: 70px 0 50px;
}

.single-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.single-hero-summary {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

.single-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cbd5f5;
}

.single-hero-media img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
}

.single-hero-placeholder {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  text-align: center;
}

.single-body {
  padding: 60px 0;
  background: #f8fafc;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) 320px;
  gap: 32px;
}

@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
  .single-sidebar {
    position: relative;
  }
}

.single-content {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.single-sidebar .sticky-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  margin-bottom: 20px;
  position: sticky;
  top: 100px;
}

.single-sidebar .sticky-card ol {
  padding-left: 18px;
  margin: 0;
}

.single-sidebar .sticky-card li {
  margin-bottom: 10px;
}

.single-sidebar .sticky-card li.toc-sub {
  margin-left: 12px;
  font-size: 13px;
}

.single-faqs {
  background: #050b1f;
  color: #fff;
  padding: 60px 0;
}

.single-faq-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 14px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.single-faq-block summary {
  cursor: pointer;
  font-weight: 600;
}

.single-faq-block.editor {
  border: 1px dashed #cbd5f5;
  box-shadow: none;
}

.single-faq-list details {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 12px;
  padding: 18px 24px;
}

.single-faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.single-faq-answer p {
  color: #e5e7eb;
}

.helpful-share {
  padding: 40px 0;
  background: #f1f5f9;
}

.helpful-row {
  background: #fff;
  border-radius: 999px;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
}

.helpful-actions button {
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
}

.helpful-row.is-answered {
  background: #d1fae5;
  color: #065f46;
}

.share-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.share-row a,
.share-row button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
}

.share-copy {
  background: #fcd34d;
}

.share-copy.copied {
  background: #4ade80;
  color: #065f46;
}

.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: radial-gradient(circle at 20% 20%, rgba(17, 147, 90, 0.12), transparent 35%), #0f172a;
  color: #fff;
}

.error-hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.error-blob {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(17, 147, 90, 0.4), rgba(17, 147, 90, 0.05));
  filter: blur(20px);
  z-index: 0;
  border-radius: 40px;
}

.error-card {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.error-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 10px;
}

.error-card h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 14px;
}

.error-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-actions .btn-primary {
  background: #fff;
  color: var(--accent-strong);
  border: 1px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.error-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.single-author {
  padding: 60px 0;
  background: #fff;
}

.author-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #f1f5f9;
  border-radius: 24px;
  padding: 24px 28px;
}

.author-avatar img {
  border-radius: 50%;
}

.single-sources {
  padding: 40px 0;
  background: #f8fafc;
}

.sources-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  margin: 30px 0;
}

.sources-block.editor {
  border: 1px dashed #cbd5f5;
  box-shadow: none;
}

.sources-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.related-posts {
  padding: 50px 0 80px;
  background: #fff;
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cta-box {
  border-radius: 30px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.cta-box--light {
  background: #f1f5f9;
}

.cta-box--dark {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
}

.cta-box-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  opacity: 0.7;
}

.cta-banner {
  border-radius: 24px;
  padding: 26px;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.page-default-breadcrumbs .breadcrumbs,
.page-rich-breadcrumbs .breadcrumbs {
  background: rgba(17, 147, 90, 0.08);
  color: #0f172a;
  border: 1px solid rgba(17, 147, 90, 0.15);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.breadcrumbs li::after {
  content: '›';
  opacity: 0.6;
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  opacity: 0.9;
}

.footer-list a:hover {
  opacity: 1;
}

.footer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  font-size: 11px;
}

.footer-pill i {
  font-size: 14px;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.footer-payment-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: #111827;
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 11px;
  font-weight: 600;
}

.footer-middle-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-multi-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.footer-bottom-inner {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-disclaimer {
  max-width: 720px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-copy {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 2px solid #facc15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-align: center;
  color: #facc15;
}

.footer-badge-circle span:first-child {
  font-size: 18px;
  font-weight: 700;
}

.footer-badge-rect {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #38bdf8;
  color: #e5f4ff;
  background: linear-gradient(135deg, #0f172a, #020617);
  font-weight: 600;
}

/* Responsive footer */
@media (max-width: 992px) {
  .footer-top-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-middle-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-top-inner,
  .footer-middle-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.blog-hero .btn-primary {
  background: #ffffff;
  color: var(--accent-strong);
  border: 1px solid #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.blog-hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-strong);
}

.blog-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.blog-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}


/* ----------------------------------------
   Paragraph hyperlink colors
----------------------------------------- */
/* Force hyperlink color inside content paragraphs */
.content-styles p a,
.page-default-article p a,
.single-content p a {
  color: #0c6d3f !important;
  text-decoration: underline;
  font-weight: 600;
}

.content-styles p a:hover,
.page-default-article p a:hover,
.single-content p a:hover {
  color: #0a5c35 !important;
}

