@charset "UTF-8";

/* ==========================================================================
   1. Google Fonts Imports
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&display=swap');

/* ==========================================================================
   2. Design Tokens & CSS Variables
   ========================================================================== */
:root {
  /* Font Families */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Line Heights */
  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.65;
  --lh-relaxed: 1.75;

  /* Typography Color Scale (Financial Palette) */
  --color-text-primary: #1a202c;    /* Deep slate for high-contrast headers */
  --color-text-secondary: #4a5568;  /* Neutral charcoal for long body copy */
  --color-text-muted: #718096;      /* Subtitles, small labels */
  --color-text-disclaimer: #4a5568; /* Regulatory compliance minimum */
  --color-accent-gold: #854d0e;     /* Executive advisory highlight */
  --color-accent-navy: #0f172a;     /* Trust anchor */
}

/* ==========================================================================
   3. Base Document & Body Settings
   ========================================================================== */
html {
  font-size: 24px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px */
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text-secondary);
  background-color: #ffffff;
}

/* ==========================================================================
   4. Heading Hierarchy (Playfair Display)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: var(--lh-heading);
  margin-top: 0;
  letter-spacing: -0.01em;
}

/* Page Hero / Primary Value Prop */
h1, .h1 {
  font-size: clamp(2rem, 1.3rem + 2.5vw, 3rem); /* 32px to 48px */
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* Major Section Titles */
h2, .h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); /* 24px to 36px */
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}

/* Card Titles / Sub-sections / Strategy Blocks */
h3, .h3 {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem); /* 20px to 24px */
  font-weight: var(--fw-semibold);
  margin-bottom: 0.75rem;
}

/* Minor Headings / Filter Headers */
h4, .h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: var(--fw-semibold);
  margin-bottom: 0.5rem;
}

h5, .h5 {
  font-size: 1rem; /* 16px */
  font-weight: var(--fw-medium);
}

h6, .h6 {
  font-size: 0.875rem; /* 14px */
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   5. Text & Paragraph Styling
   ========================================================================== */
p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.125rem; /* 18px */
  line-height: var(--lh-relaxed);
  color: var(--color-text-primary);
  font-weight: var(--fw-regular);
}

small, .text-small {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
}

/* Regulatory Footers & Compliance Disclaimers (SEBI/AMFI) */
.text-disclaimer {
  font-size: 0.75rem; /* 12px */
  line-height: 1.5;
  color: var(--color-text-disclaimer);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   6. Financial Elements & Tabular Numbers
   ========================================================================== */

/* Locks digits to a mono-spaced grid to align decimals */
.numeric-data,
.financial-table td,
.financial-metric-value,
.currency-val {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Large Financial Metric Callouts (e.g. AUM, Returns) */
.financial-metric-value {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-accent-navy);
}

.financial-metric-label {
  font-size: 0.8125rem; /* 13px */
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   7. Financial Data Tables
   ========================================================================== */
.financial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem; /* 15px */
}

.financial-table th {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #e2e8f0;
  color: var(--color-text-primary);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.financial-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #edf2f7;
  color: var(--color-text-secondary);
}

.financial-table tr:hover td {
  background-color: #f8fafc;
}

/* ==========================================================================
   8. Buttons & Interactive Links
   ========================================================================== */
.btn-primary {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background-color: var(--color-accent-navy);
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #1e293b;
}
