:root {
  --primary: #1e3a5f;
  --primary-light: #2c5282;
  --primary-dark: #15293f;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-dark: #b45309;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #1a202c;
  --text: #1a202c;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --success: #059669;
  --danger: #dc2626;
  --container: 820px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-top: 3rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }

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

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

ul, ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

strong { font-weight: 600; color: var(--primary-dark); }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-logo {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.site-nav a:hover { color: var(--primary); }

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb li::after { content: "›"; margin-left: 0.5rem; color: var(--border-dark); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--text-muted); }

/* Article */
article { padding: 1rem 0 4rem; }

.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quick Answer */
.quick-answer {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.quick-answer h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.quick-answer ul { margin-bottom: 0; }

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.cta-block p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Service Cards */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.service-card:hover { box-shadow: var(--shadow); }
.service-card.best { border-color: var(--accent); border-width: 2px; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-card h3 { margin-top: 0; font-size: 1.5rem; }

.service-card .service-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-card .for-who {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
}

.service-card ul { margin-bottom: 1.5rem; }

.service-link {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.service-link:hover { background: var(--primary-dark); color: #fff; }

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 500px;
}

th, td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-family: Georgia, serif;
}

tr:nth-child(even) { background: var(--bg-alt); }
.table-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Checklist */
.checklist {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.checklist ul { list-style: none; padding: 0; margin: 0; }

.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  color: var(--accent);
}

/* Tips */
.tip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.tip h3 {
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
  font-family: -apple-system, sans-serif;
}

/* FAQ */
.faq-section { margin: 2rem 0; }

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  background: var(--bg);
}

summary {
  font-weight: 600;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 1rem;
}

details[open] summary::after { content: "−"; }
details[open] { background: var(--bg-alt); }
details p { margin-top: 1rem; margin-bottom: 0; color: var(--text); }

/* Stats Block */
.stats-block {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.stats-block h2, .stats-block h3 { color: #fff; margin-top: 0; }
.stats-block p { color: rgba(255,255,255,0.9); }
.stats-block strong { color: var(--accent-light); }

/* Insights Section */
.insights-section {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.insights-section h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.insights-section h3:first-child { margin-top: 0; }

/* Questions Block */
.questions-block {
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.questions-block ul { list-style: none; padding: 0; }

.questions-block li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.questions-block li::before {
  content: "?";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Disclosure */
.disclosure {
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.85rem;
  color: #92400e;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
  color: #64748b;
}

/* Images */
.hero-image {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.pinterest-image {
  max-width: 400px;
  border-radius: var(--radius);
  margin: 2rem auto;
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }

  .site-header .container { flex-direction: column; align-items: flex-start; }
  .site-nav { justify-content: flex-start; gap: 1rem; }

  .container { padding: 0 1rem; }
  .cta-block { padding: 1.5rem; }
  .service-card { padding: 1.5rem; }
  .quick-answer { padding: 1.25rem; }
  .checklist { padding: 1.25rem; }

  table { font-size: 0.85rem; }
  th, td { padding: 0.625rem 0.5rem; }
}

/* RTL Support */
[dir="rtl"] { text-align: right; }
[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .quick-answer { border-left: none; border-right: 4px solid var(--accent); }
[dir="rtl"] .checklist li { padding-left: 0; padding-right: 2rem; }
[dir="rtl"] .questions-block li { padding-left: 0; padding-right: 1.75rem; }
[dir="rtl"] .service-card .for-who { padding-left: 0; padding-right: 1rem; border-left: none; border-right: 3px solid var(--border); }
[dir="rtl"] .breadcrumb li::after { content: "‹"; }
