/* ==========================================================================
   Octelligence — Programmatic SEO (jurisdiction pages)
   Hub pages use dark navy hero. Spoke pages use light editorial hero.
   ========================================================================== */

/* ---------------------------------------------------------------
   Hub (topic pillar) — dark navy, matches releases/docs/changelog
   --------------------------------------------------------------- */
.pseo-hub-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1f3a 0%, #102a4f 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0 2.5rem;
}
.pseo-hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(28, 181, 185, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 5% 100%, rgba(96, 165, 250, 0.10) 0%, transparent 55%);
}
.pseo-hub-hero .container { position: relative; z-index: 1; }
.pseo-hub-hero .blog-breadcrumbs { color: rgba(255, 255, 255, 0.7); font-size: .85rem; }
.pseo-hub-hero .blog-breadcrumbs a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.pseo-hub-hero .blog-breadcrumbs a:hover { color: #fff; }
.pseo-hub-hero .blog-breadcrumbs .separator { margin: 0 .55rem; color: rgba(255, 255, 255, 0.4); }
.pseo-hub-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5eead4;
  background: rgba(28, 181, 185, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: .32rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.pseo-hub-hero__title {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin-bottom: .7rem;
  color: #fff;
}
.pseo-hub-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
  margin: 0 0 1.25rem;
}
.pseo-hub-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.7);
}
.pseo-hub-hero__stats strong { color: #fff; font-weight: 700; }

/* ---------------------------------------------------------------
   Spoke (jurisdiction page) — light editorial
   --------------------------------------------------------------- */
.pseo-spoke-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light, #e5e9f2);
}
.pseo-spoke-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%, rgba(30,64,175,.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(185,127,28,.05) 0%, transparent 55%);
}
.pseo-spoke-hero .container { position: relative; z-index: 1; }
.pseo-spoke-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-amber, #b97f1c);
  margin-bottom: 1rem;
}
.pseo-spoke-hero__title {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--navy-dark, #0c1c3a);
  margin-bottom: 1rem;
}
.pseo-spoke-hero__sub {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-secondary, #4d566b);
  max-width: 720px;
  margin: 0 0 1.5rem;
}

/* Statute reference card — prominent in spoke hero */
.pseo-statute-card {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--border-light, #e5e9f2);
  border-left: 4px solid var(--accent-amber, #b97f1c);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.pseo-statute-card__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-amber, #b97f1c);
  margin-bottom: .5rem;
}
.pseo-statute-card__name {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin-bottom: .5rem;
}
.pseo-statute-card table { width: 100%; margin: 0; font-size: .9rem; }
.pseo-statute-card th, .pseo-statute-card td {
  padding: .25rem .75rem .25rem 0;
  vertical-align: top;
  text-align: left;
}
.pseo-statute-card th { width: 100px; font-weight: 600; color: var(--navy-dark, #0c1c3a); white-space: nowrap; }
.pseo-statute-card td { color: var(--text-secondary, #4d566b); }

/* ---------------------------------------------------------------
   Body / prose
   --------------------------------------------------------------- */
.pseo-body { padding: 2.5rem 0 3rem; }
.pseo-prose h2 {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy-dark, #0c1c3a);
  margin-top: 2.25rem;
  margin-bottom: .9rem;
}
.pseo-prose h2:first-child { margin-top: 0; }
.pseo-prose h3 {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin-top: 1.5rem;
  margin-bottom: .55rem;
}
.pseo-prose p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--text-primary, #1a2238);
  margin-bottom: 1.1rem;
}
.pseo-prose ul, .pseo-prose ol {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-primary, #1a2238);
  padding-left: 1.2rem;
  margin-bottom: 1.25rem;
}
.pseo-prose ul li, .pseo-prose ol li { margin-bottom: .45rem; }
.pseo-prose a { color: var(--navy-dark, #0c1c3a); text-decoration: underline; text-decoration-color: rgba(185,127,28,.4); text-underline-offset: 3px; }
.pseo-prose a:hover { text-decoration-color: var(--accent-amber, #b97f1c); }

/* Quick-summary box at top of spoke body */
.pseo-summary {
  background: #f6f8fc;
  border: 1px solid var(--border-light, #e5e9f2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.pseo-summary__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-tertiary, #6b7388);
  margin-bottom: .5rem;
}
.pseo-summary ul { margin: 0; padding-left: 1.2rem; }
.pseo-summary ul li { margin-bottom: .35rem; font-size: .98rem; }

/* Product callout (same pattern as glossary) */
.pseo-product-callout {
  margin: 2rem 0 1rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(135deg, #f6f8fc 0%, #eef2f9 100%);
  border-radius: 12px;
  border: 1px solid var(--border-light, #e5e9f2);
}
.pseo-product-callout__eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-amber, #b97f1c);
  margin-bottom: .5rem;
}
.pseo-product-callout__title {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin-bottom: .55rem;
}
.pseo-product-callout__body {
  font-size: .96rem;
  line-height: 1.55;
  color: var(--text-secondary, #4d566b);
  margin-bottom: .85rem;
}
.pseo-product-callout__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  text-decoration: none;
}
.pseo-product-callout__cta:hover { color: var(--accent-amber, #b97f1c); }

/* ---------------------------------------------------------------
   Sidebar (spoke)
   --------------------------------------------------------------- */
.pseo-sidebar-card {
  background: #fff;
  border: 1px solid var(--border-light, #e5e9f2);
  border-radius: 12px;
  padding: 1.25rem 1.3rem;
}
.pseo-sidebar-card h3 {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin-bottom: .8rem;
}
.pseo-sidebar-card a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem 0;
  font-size: .92rem;
  color: var(--text-primary, #1a2238);
  text-decoration: none;
}
.pseo-sidebar-card a:hover { color: var(--accent-amber, #b97f1c); }
.pseo-sidebar-card a i { color: var(--accent-amber, #b97f1c); width: 18px; }

.pseo-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-secondary, #4d566b);
  text-decoration: none;
}
.pseo-back:hover { color: var(--navy-dark, #0c1c3a); }

/* ---------------------------------------------------------------
   Hub: jurisdiction grid
   --------------------------------------------------------------- */
.pseo-jurisdiction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.pseo-jurisdiction-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.25rem 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border-light, #e5e9f2);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.pseo-jurisdiction-card:hover {
  border-color: var(--navy-dark, #0c1c3a);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(12,28,58,.18);
  color: inherit;
}
.pseo-jurisdiction-card__country {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-amber, #b97f1c);
}
.pseo-jurisdiction-card__name {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin: 0;
}
.pseo-jurisdiction-card__statute {
  font-size: .85rem;
  color: var(--text-tertiary, #6b7388);
  font-style: italic;
}
.pseo-jurisdiction-card__arrow {
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
}

/* ---------------------------------------------------------------
   Hub: comparison table
   --------------------------------------------------------------- */
.pseo-compare-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border: 1px solid var(--border-light, #e5e9f2);
  border-radius: 12px;
  background: #fff;
}
.pseo-compare-table {
  width: 100%;
  margin: 0;
  font-size: .9rem;
  border-collapse: separate;
  border-spacing: 0;
}
.pseo-compare-table th, .pseo-compare-table td {
  padding: .8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-light, #e5e9f2);
}
.pseo-compare-table thead th {
  background: #f6f8fc;
  font-weight: 700;
  color: var(--navy-dark, #0c1c3a);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pseo-compare-table tbody tr:last-child td { border-bottom: none; }
.pseo-compare-table tbody th {
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  background: #fafbfd;
  white-space: nowrap;
}
.pseo-compare-table tbody th a { color: var(--navy-dark, #0c1c3a); text-decoration: none; }
.pseo-compare-table tbody th a:hover { color: var(--accent-amber, #b97f1c); }
.pseo-compare-table td { color: var(--text-secondary, #4d566b); }

/* ---------------------------------------------------------------
   FAQ section (hub)
   --------------------------------------------------------------- */
.pseo-faq { margin-top: 2.5rem; }
.pseo-faq__item {
  border: 1px solid var(--border-light, #e5e9f2);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin-bottom: .75rem;
  background: #fff;
}
.pseo-faq__q {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin-bottom: .5rem;
}
.pseo-faq__a {
  font-size: .98rem;
  line-height: 1.6;
  color: var(--text-primary, #1a2238);
  margin: 0;
}

/* ---------------------------------------------------------------
   Topic cards for jurisdiction summary pages
   --------------------------------------------------------------- */
.pseo-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2.5rem;
}
.pseo-topic-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border-light, #e5e9f2);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.pseo-topic-card:hover {
  border-color: var(--navy-dark, #0c1c3a);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(12,28,58,.18);
  color: inherit;
}
.pseo-topic-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(185, 127, 28, 0.12);
  color: var(--accent-amber, #b97f1c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.pseo-topic-card__body { flex: 1; min-width: 0; }
.pseo-topic-card__title {
  font-family: var(--font-display, 'Source Serif 4', serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  margin: 0 0 .35rem;
}
.pseo-topic-card__desc {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text-secondary, #4d566b);
  margin: 0 0 .55rem;
}
.pseo-topic-card__arrow {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-dark, #0c1c3a);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
