/* ============================================
   Suhani Katariya — SEBI Registered Research Analyst
   Editorial Finance Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #0A1929;
  --ink-soft: #243447;
  --cream: #FAF7F2;
  --cream-deep: #F2EDE3;
  --brass: #A8763E;
  --brass-light: #C9A961;
  --rule: #D9D2C5;
  --muted: #6B7280;
  --danger: #8B2E1F;
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

/* ===== Top compliance strip ===== */
.compliance-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}
.compliance-strip strong { color: var(--brass-light); font-weight: 600; }

/* ===== Header ===== */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 4px;
  font-weight: 500;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--brass); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brass);
}
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--ink);
}

/* ===== Hero ===== */
.hero {
  padding: 96px 32px 72px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168,118,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: 24px;
  display: inline-block; padding-bottom: 6px;
  border-bottom: 1px solid var(--brass);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic; font-weight: 400; color: var(--brass);
}
.hero-lede {
  font-size: 18px; line-height: 1.6; color: var(--ink-soft);
  max-width: 60ch; margin-bottom: 40px;
}
.hero-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--rule);
  font-size: 13px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hero-meta dd { font-family: var(--display); font-size: 16px; color: var(--ink); font-weight: 500; }

/* ===== Sections ===== */
.section { padding: 80px 32px; }
.section.alt { background: var(--cream-deep); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--ink);
  max-width: 22ch;
}
.section-title em { font-style: italic; color: var(--brass); }

.lede {
  font-size: 18px; line-height: 1.65; color: var(--ink-soft);
  max-width: 60ch; margin-bottom: 48px;
}

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--cream); border: 1px solid var(--rule); padding: 32px;
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(10, 25, 41, 0.06); }
.card-num {
  font-family: var(--display); font-style: italic; font-size: 14px;
  color: var(--brass); margin-bottom: 12px;
}
.card h3 {
  font-family: var(--display); font-size: 22px; font-weight: 500;
  margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.01em;
}
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--ink); color: var(--cream);
  text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--brass); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Page header (interior pages) ===== */
.page-header {
  padding: 80px 32px 56px;
  border-bottom: 1px solid var(--rule);
}
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.page-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: 16px;
}
.page-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink);
  max-width: 24ch;
}
.page-title em { font-style: italic; color: var(--brass); }

/* ===== Long-form prose ===== */
.prose {
  max-width: 760px; margin: 0 auto;
  padding: 64px 32px 80px;
  font-size: 16px; line-height: 1.7;
}
.prose h2 {
  font-family: var(--display);
  font-size: 28px; font-weight: 500; line-height: 1.2;
  margin: 56px 0 20px; color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--display);
  font-size: 19px; font-weight: 600;
  margin: 32px 0 12px; color: var(--ink);
}
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 16px 0 20px 24px; }
.prose li { margin-bottom: 10px; color: var(--ink-soft); padding-left: 4px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brass); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink); }

.callout {
  background: var(--cream-deep);
  border-left: 3px solid var(--brass);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
}
.callout strong { display: block; margin-bottom: 6px; color: var(--ink); }

.toc {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.toc-title {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: 16px;
}
.toc ol { list-style: none; margin: 0; counter-reset: toc; }
.toc li {
  counter-increment: toc;
  padding: 8px 0; border-bottom: 1px dashed var(--rule);
  display: flex; align-items: baseline; gap: 12px;
}
.toc li:last-child { border-bottom: none; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--display); font-style: italic;
  color: var(--brass); font-size: 13px; min-width: 24px;
}
.toc a {
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.toc a:hover { color: var(--brass); }

/* ===== Plans / pricing ===== */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.plan {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}
.plan:hover { border-color: var(--brass); }
.plan.featured { border-color: var(--ink); border-width: 2px; }
.plan.featured::before {
  content: 'Most Suited';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--cream);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 14px; font-weight: 600;
}
.plan-name {
  font-family: var(--display); font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.plan-tag { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan-price {
  font-family: var(--display);
  font-size: 36px; font-weight: 500; line-height: 1;
  margin-bottom: 4px;
}
.plan-price-period { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.plan-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.plan-features li {
  font-size: 14px; padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-soft);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: ''; flex-shrink: 0; margin-top: 8px;
  width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 32px 0;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass-light); margin-bottom: 20px; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a {
  color: rgba(250, 247, 242, 0.85);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: var(--brass-light); }
.footer-col p { font-size: 13.5px; color: rgba(250, 247, 242, 0.75); line-height: 1.6; }
.footer-brand-name {
  font-family: var(--display); font-size: 20px; font-weight: 500;
  color: var(--cream); margin-bottom: 12px;
}
.footer-meta {
  font-size: 12px; color: rgba(250, 247, 242, 0.7);
  line-height: 1.6;
}
.footer-meta strong { color: var(--cream); font-weight: 600; }

.disclaimer-bar {
  max-width: 1200px; margin: 0 auto;
  padding: 32px 0; border-bottom: 1px solid rgba(250, 247, 242, 0.12);
  font-size: 12.5px; color: rgba(250, 247, 242, 0.7);
  line-height: 1.7;
}
.disclaimer-bar p { margin-bottom: 12px; }
.disclaimer-bar p:last-child { margin-bottom: 0; }
.disclaimer-bar strong { color: var(--cream); font-weight: 600; }

.copyline {
  max-width: 1200px; margin: 0 auto;
  padding: 24px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(250, 247, 242, 0.6);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 20px 32px; gap: 16px; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding: 64px 24px 48px; }
  .section { padding: 56px 24px; }
  .page-header { padding: 56px 24px 40px; }
  .prose { padding: 48px 24px 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .copyline { flex-direction: column; gap: 8px; }
  .hero-meta { gap: 24px; }
  .header-inner { padding: 16px 24px; }
}
