
:root{
  --brand: #4338CA;        
  --brand-dark: #312E81;   /* deeper indigo for hover states */
  --accent: #F59E0B;       /* warm amber — secondary accent */
  --accent-dark: #B45309;
  --ink: #1E2333;          /* body / heading text */
  --muted: #5B6270;
  --soft: #F4F5FC;         /* soft section background */
  --border: #E7E8F2;
}

body{
  font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6, .brand-font{
  font-weight: 700;
}

a{ text-decoration: none; }

p{ line-height: 1.7; }

/* ---------- Accessibility: skip link & focus states ---------- */
.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 .5rem 0;
}
.skip-link:focus{
  left: 0;
  top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Brand colors as simple utility overrides ---------- */
.text-brand{ color: var(--brand) !important; }
.bg-brand{ background-color: var(--brand) !important; }
.bg-soft{ background-color: var(--soft) !important; }
.btn-brand{ background-color: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus{ background-color: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline-brand{ border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline-brand:hover, .btn-outline-brand:focus{ background-color: var(--brand); color: #fff; }
.btn-accent{ background-color: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover{ background-color: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.border-brand{ border-color: var(--brand) !important; }

/* ---------- Simple fade-up animation (CSS only) ---------- */
@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: translateY(0); }
}
.animate-fade{ animation: fadeUp .6s ease both; }
.delay-1{ animation-delay: .12s; }
.delay-2{ animation-delay: .24s; }
.delay-3{ animation-delay: .36s; }

@media (prefers-reduced-motion: reduce){
  .animate-fade{ animation: none; }
}

/* ---------- Hover lift used on cards ---------- */
.hover-lift{ transition: transform .2s ease, box-shadow .2s ease; }
.hover-lift:hover{ transform: translateY(-6px); box-shadow: 0 1rem 2rem rgba(30,35,51,.10) !important; }

/* ---------- Header ---------- */
.navbar-brand-icon{
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700;
}
.nav-link-custom{ color: var(--ink); font-weight: 600; }
.nav-link-custom.active{ color: var(--brand); }

/* ---------- Hero ---------- */
.hero-section{
  background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
}
.hero-img-frame{
  border-radius: 1.5rem;
  overflow: hidden;
}
.hero-img-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Section eyebrow label ---------- */
.eyebrow{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Number badge used in business / politics lists ---------- */
.idx-badge{
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}

/* ---------- Score row ---------- */
.score-box{ background: var(--soft); border-radius: .5rem; font-weight: 700; }

/* ---------- Article banner image ---------- */
.article-banner{
  border-radius: 1.25rem;
  height: 360px;
  object-fit: cover;
  width: 100%;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb-nav ol{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: .85rem;
  color: var(--muted);
}
.breadcrumb-nav li:not(:last-child)::after{
  content: "/";
  margin-left: .4rem;
  color: var(--border);
}
.breadcrumb-nav a{ color: var(--brand); font-weight: 600; }
.breadcrumb-nav a:hover{ text-decoration: underline; }
.breadcrumb-nav li{ display: flex; gap: .4rem; align-items: center; }
.breadcrumb-nav [aria-current="page"]{ color: var(--muted); font-weight: 500; }

/* ---------- Footer ---------- */
.footer-light a{ color: var(--ink); }
.footer-light a:hover{ color: var(--brand); }
.footer-heading{
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767.98px){
  .hero-img-frame{ margin-top: 2rem; }
  .article-banner{ height: 220px; }
}

/* ---------- Legal / policy content pages ---------- */
.legal-content h2{
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.legal-content p,
.legal-content li{
  color: var(--muted);
  line-height: 1.75;
}
.legal-content ul{ padding-left: 1.2rem; }
.legal-updated{
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- Simple info / contact cards ---------- */
.info-icon{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ---------- Form feedback / status message area ---------- */
.form-status{
  font-size: .9rem;
  margin-top: .75rem;
}
.form-status[hidden]{ display: none; }
