/* ============================================================
   Vishal Trehan — SEBI Registered Research Analyst
   vishaltrehan.in | Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --teal:       #0A6B5E;
  --teal-dark:  #085449;
  --teal-light: #E8F5F2;
  --teal-border:#B8DED8;
  --gold:       #B8902A;
  --gold-light: #FDF6E7;
  --white:      #FFFFFF;
  --bg:         #F7F9FC;
  --border:     #E2E8EF;
  --text:       #111827;
  --muted:      #5A7080;
  --light-text: #6B7B8F;
  --footer-bg:  #111827;
  --font-h:     'Syne', sans-serif;
  --font-b:     'Plus Jakarta Sans', sans-serif;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(10,107,94,0.08);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Skip Nav ── */
.skip-nav {
  position: absolute; top: -100px; left: 16px;
  background: var(--teal); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; z-index: 9999;
  transition: top 0.2s;
}
.skip-nav:focus { top: 16px; }

/* ── Nav ── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
  height: 36px; width: auto; display: block; flex-shrink: 0;
  object-fit: contain;
}
.logo-text { line-height: 1.25; }
.logo-name { font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--text); }
.logo-reg  { font-size: 10px; color: var(--light-text); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  font-weight: 500; transition: color 0.2s; padding: 4px 0;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-cta {
  background: var(--teal); color: var(--white);
  font-family: var(--font-b); font-size: 13px; font-weight: 600;
  padding: 10px 22px; border: none; cursor: pointer;
  border-radius: var(--radius); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); }

/* ── Page Header (inner pages) ── */
.page-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 48px 40px;
  max-width: 100%;
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.page-header-tag {
  font-size: 11px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.08em; margin-bottom: 10px; display: block;
}
.page-header h1 {
  font-family: var(--font-h); font-weight: 700; font-size: 36px;
  color: var(--text); margin-bottom: 10px; line-height: 1.1;
}
.page-header p { font-size: 15px; color: var(--muted); max-width: 560px; line-height: 1.8; }

/* ── Section Utilities ── */
.section { padding: 72px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.bg-light { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-white { background: var(--white); }
.bg-teal-light { background: var(--teal-light); border-top: 1px solid var(--teal-border); border-bottom: 1px solid var(--teal-border); }

.sec-eyebrow {
  font-size: 11px; font-weight: 600; color: #7A5F1A;
  letter-spacing: 0.08em; margin-bottom: 10px; display: block;
}
.gold-line { width: 40px; height: 3px; background: var(--gold); margin-bottom: 14px; }

.page-header-tag {
  font-size: 11px; font-weight: 600; color: #7A5F1A;
  letter-spacing: 0.08em; margin-bottom: 10px; display: block;
}
.sec-title {
  font-family: var(--font-h); font-weight: 700; font-size: 32px;
  color: var(--text); margin-bottom: 12px; line-height: 1.1;
}
.sec-sub {
  font-size: 14px; color: var(--muted);
  max-width: 500px; line-height: 1.8; margin-bottom: 40px;
}

/* ── Buttons ── */
.btn-primary {
  background: var(--teal); color: var(--white);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  padding: 13px 26px; border: none; cursor: pointer;
  border-radius: var(--radius); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline {
  background: var(--white); color: var(--teal);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  padding: 12px 24px; border: 1.5px solid var(--teal); cursor: pointer;
  border-radius: var(--radius); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--teal-light); }

/* ── Footer ── */
.footer { background: var(--footer-bg); padding: 56px 40px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; text-decoration: none; }
.footer-logo .logo-mark { border-color: rgba(255,255,255,0.3); color: var(--white); }
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-reg  { color: #9CA3AF; }
.footer-desc { font-size: 12px; color: #9CA3AF; line-height: 1.8; max-width: 240px; margin-bottom: 20px; }
.footer-sebi {
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  font-size: 11px; color: #9CA3AF; line-height: 1.9;
}
.footer-sebi strong { color: #D1D5DB; }
.footer-col h4 {
  font-family: var(--font-h); font-size: 11px; font-weight: 600;
  color: #9CA3AF; letter-spacing: 0.08em;
  margin-bottom: 16px; text-transform: uppercase;
}
.footer-col a {
  display: block; font-size: 13px;
  color: #9CA3AF; text-decoration: none;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #9CA3AF; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: background 0.2s, color 0.2s;
  margin-bottom: 0;
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 11px; color: #7A8A9A;
}

/* ── Focus Indicators (SC 2.4.7) ── */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
.nav-cta:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible { outline-offset: 2px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-b); font-size: 14px; color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,107,94,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 11px; color: var(--light-text); margin-top: 4px; }
.form-success { display: none; background: var(--teal-light); border: 1px solid var(--teal-border); border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--teal); margin-top: 12px; }
.form-error  { display: none; background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: #B91C1C; margin-top: 12px; }

/* ── Tables ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  background: var(--bg); text-align: left;
  padding: 12px 16px; font-weight: 600; font-size: 12px;
  color: var(--muted); letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border);
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; }
.data-table th[scope="row"] {
  background: none; font-weight: 400; color: var(--text);
  letter-spacing: 0; font-size: 13px; border-bottom: 1px solid var(--border);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:last-child th[scope="row"] { border-bottom: none; }
.data-table tr:hover td, .data-table tr:hover th[scope="row"] { background: var(--bg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }

/* ── Content Blocks (compliance pages) ── */
.content-body { max-width: 820px; }
.content-body h2 {
  font-family: var(--font-h); font-weight: 700; font-size: 20px;
  color: var(--text); margin: 40px 0 12px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.content-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.content-body h3 {
  font-family: var(--font-h); font-weight: 600; font-size: 16px;
  color: var(--text); margin: 24px 0 8px;
}
.content-body p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 14px; }
.content-body ul, .content-body ol { padding-left: 20px; margin-bottom: 14px; }
.content-body li { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 6px; }
.content-body strong { color: var(--text); font-weight: 600; }
.content-body a { color: var(--teal); text-decoration: underline; }
.info-box {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.info-box p { color: var(--teal); margin-bottom: 0; font-size: 13px; line-height: 1.7; }
.warning-box {
  background: var(--gold-light); border-left: 4px solid var(--gold);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.warning-box p { color: #7A5C10; margin-bottom: 0; font-size: 13px; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 48px 24px; }
}
