@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Noto+Sans+Devanagari:wght@400;600;700;800&family=Noto+Serif+Devanagari:wght@400;500;600;700&family=Outfit:wght@500;600;650;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #FCFAF7;
  --paper-warm: #FFF8EE;
  --ink: #1A1612;
  --ink-soft: #3b2c21;
  --muted: #777D8A;
  --line: #E8E0D4;
  --saffron: #BD9143;
  --saffron-deep: #9A7532;
  --leaf: #45664c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Font Classes */
.font-devanagari, [lang="hi"], .lang-hi, html.lang-hi body {
  font-family: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-serif, .serif-devanagari {
  font-family: 'Newsreader', 'Noto Serif Devanagari', Georgia, serif;
}

.font-cinzel {
  font-family: 'Cinzel', Georgia, serif;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
}

a {
  color: var(--saffron-deep);
  transition: color 0.15s ease;
}
a:hover {
  color: #c94716;
}

strong, b {
  font-weight: 700;
  color: #1a1612;
}

em, i {
  font-style: italic;
  color: #4a382c;
}

.seo-shell {
  width: min(100% - 2rem, 980px);
  margin: 0 auto;
}

.seo-nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
}

.seo-brand {
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.seo-nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}
.seo-nav-link:hover {
  border-color: var(--saffron);
}

.seo-hero {
  padding: 3.5rem 0 2rem;
}

.seo-kicker {
  margin: 0;
  color: var(--saffron-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 22ch;
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.1rem, 6.5vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #1a1612;
}

.seo-lede {
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.8;
}

.seo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.seo-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--paper-warm);
}

.seo-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.seo-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #1a1612;
}

.seo-subheading, .seo-section h3 {
  font-size: clamp(1.22rem, 3.5vw, 1.5rem);
  font-weight: 700;
  color: #1a1612;
  margin: 2.25rem 0 0.85rem 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.seo-para, .seo-section p {
  max-width: 48rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3b2c21;
  margin: 0 0 1.25rem 0;
}

.font-devanagari.seo-para, .lang-hi .seo-para, .lang-hi .seo-section p {
  font-size: 1.08rem;
  line-height: 1.95;
  color: #2b1f16;
}

/* Semantic Bullet & Ordered Lists */
ul.seo-bullet-list {
  max-width: 48rem;
  margin: 1.25rem 0 1.75rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

ul.seo-bullet-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3b2c21;
}

ul.seo-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 2px rgba(189, 145, 67, 0.2);
}

ol.seo-ordered-list {
  max-width: 48rem;
  margin: 1.25rem 0 1.75rem 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-counter;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

ol.seo-ordered-list li {
  position: relative;
  padding-left: 2.25rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #3b2c21;
  counter-increment: seo-counter;
}

ol.seo-ordered-list li::before {
  content: counter(seo-counter) ".";
  position: absolute;
  left: 0.25rem;
  top: 0;
  font-weight: 800;
  color: var(--saffron-deep);
  font-size: 0.95rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.seo-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--paper-warm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.seo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.seo-card h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.15rem;
  color: #1a1612;
}

.seo-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #5f4d3e;
}

.seo-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.seo-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.seo-table th, .seo-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.seo-table th {
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.seo-note {
  border-left: 4px solid var(--saffron);
  padding: 1rem 1.25rem;
  background: var(--paper-warm);
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
  line-height: 1.7;
}

.seo-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--saffron);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.seo-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.seo-source {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.seo-footer {
  padding: 3rem 0 4.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}

.seo-footer p {
  max-width: 48rem;
  margin: 0.35rem 0;
}

@media (min-width: 760px) {
  .seo-nav { min-height: 76px; }
  .seo-hero { padding: 5rem 0 3rem; }
  .seo-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-card { padding: 1.5rem; }
  .seo-section { padding: 3.5rem 0; }
}
