/* ═══════════════════════════════════════════════════════
   ARYZEN CAPITAL ADVISORS LLP — Shared Stylesheet
   Brand: Navy #0B2F58 · Gold #C8A84B · Emerald #2E7D32
   Typography: Lora (headings) + Source Sans 3 (body)
═══════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ──────────────────────────── */
:root {
  --navy: #0B2F58;
  --navy-mid: #0f3d72;
  --navy-light: #144a8a;
  --dark: #111827;
  --grey: #1f2937;
  --grey-mid: #374151;
  --green: #2E7D32;
  --green-dark: #1b5e20;
  --green-light: #43A047;
  --gold: #C8A84B;
  --gold-light: #E8C96A;
  --gold-pale: #fdf6e3;
  --cream: #F9F7F2;
  --white: #FFFFFF;
  --border: #e5e7eb;
  --border-dark: #d1d5db;
  --muted: #5f6b7a;
  --error: #dc2626;
  --focus-ring: #2563eb;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--grey);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 100px;
}
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--navy); color: #fff;
  padding: 12px 20px; font-weight: 700; font-size: var(--text-sm);
  text-decoration: none; z-index: 9999; border-radius: 0 0 6px 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
h1,h2,h3,h4,h5,h6 { font-family: 'Lora', Georgia, serif; line-height: 1.2; }
p, li, td, th { line-height: 1.7; }

/* ─── SEBI TOP BAR ───────────────────────────────────── */
#sebi-topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-xs);
  text-align: center;
  padding: 7px 20px;
  letter-spacing: 0.04em;
}
#sebi-topbar a { color: var(--gold-light); text-decoration: underline; }
#sebi-topbar a:hover { color: #fff; }
#sebi-topbar strong { color: var(--gold-light); }

/* ─── HEADER / NAV ───────────────────────────────────── */
#main-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 12px rgba(11,47,88,0.07);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
#logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px;
  background: var(--navy); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 22px; font-weight: 700;
  color: var(--gold-light); flex-shrink: 0; letter-spacing: -1px;
}
.logo-text-block { display: flex; flex-direction: column; }
.logo-name { font-family: 'Lora', serif; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo-tagline { font-size: 10px; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; font-weight: 500; }
#primary-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
#primary-nav a {
  color: var(--grey-mid); text-decoration: none; font-size: var(--text-sm);
  font-weight: 500; padding: 8px 12px; border-radius: 6px;
  transition: background 0.15s, color 0.15s; display: block;
}
#primary-nav a:hover, #primary-nav a[aria-current="page"] { background: var(--cream); color: var(--navy); }
.nav-cta {
  background: var(--navy) !important; color: #fff !important;
  padding: 9px 18px !important; border-radius: 6px !important;
  font-weight: 600 !important; font-size: var(--text-sm) !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--navy-light) !important; }

/* ─── TICKER ─────────────────────────────────────────── */
/* ─── TICKER (TradingView widget) ──────────────── */
#ticker-section { border-bottom: 2px solid var(--gold); }


/* ─── PAGE HEADER (inner pages) ──────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0c3668 55%, #142954 100%);
  padding: 56px 32px 52px; position: relative; overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.page-hero::before {
  content:''; position: absolute; top: -40%; right: -8%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,168,75,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,75,0.15); border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold-light); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: var(--text-base); color: rgba(255,255,255,0.68); max-width: 560px; line-height: 1.75; }

/* ─── SECTION DEFAULTS ───────────────────────────────── */
section { padding: 72px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7A5C0A; margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 3vw, 34px); color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.section-sub { font-size: var(--text-base); color: var(--muted); max-width: 560px; line-height: 1.72; }
.flex-center { display: flex; justify-content: center; }
.mt-6 { margin-top: 24px; }
.mt-4 { margin-top: 16px; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy); font-weight: 700;
  font-size: var(--text-sm); padding: 14px 28px; border-radius: 6px;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s; border: none; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25); font-weight: 600;
  font-size: var(--text-sm); padding: 14px 28px; border-radius: 6px;
  text-decoration: none; transition: background 0.2s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.17); }
.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy); font-weight: 700;
  font-size: var(--text-sm); padding: 11px 24px; border-radius: 6px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(200,168,75,0.55); color: var(--gold-light);
  font-weight: 700; font-size: var(--text-sm);
  padding: 11px 24px; border-radius: 6px; text-decoration: none; transition: background 0.2s;
}
.btn-outline-gold:hover { background: rgba(200,168,75,0.1); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--green); font-weight: 700;
  font-size: var(--text-sm); padding: 14px 28px; border-radius: 6px;
  text-decoration: none; white-space: nowrap; transition: background 0.2s;
}
.btn-white:hover { background: var(--cream); }

/* ─── TRUST STRIP ────────────────────────────────────── */
#trust-strip { background: var(--cream); border-bottom: 1px solid var(--border); padding: 28px 32px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: 10px; border: 1px solid var(--border); padding: 18px 22px; }
.trust-icon { width: 48px; height: 48px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.trust-title { font-weight: 700; font-size: var(--text-base); color: var(--navy); margin-bottom: 2px; }
.trust-desc { font-size: var(--text-xs); color: var(--muted); }

/* ─── FOUNDER ────────────────────────────────────────── */
#founder { background: var(--white); padding: 64px 32px; border-bottom: 1px solid var(--border); }
.founder-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.founder-avatar {
  width: 160px; height: 160px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 52px; font-weight: 700; color: var(--gold-light);
  margin: 0 auto 14px; border: 4px solid var(--gold);
}
.founder-social { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.founder-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--cream); border: 1px solid var(--border);
  border-radius: 8px; color: var(--navy); text-decoration: none;
  font-size: 15px; transition: background 0.2s, border-color 0.2s;
}
.founder-social a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.founder-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7A5C0A; margin-bottom: 8px; }
.founder-name { font-family: 'Lora', serif; font-size: 28px; color: var(--navy); margin-bottom: 4px; }
.founder-role { font-size: var(--text-sm); color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.founder-bio { font-size: var(--text-sm); color: var(--grey-mid); line-height: 1.75; max-width: 640px; }
.founder-creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cred-chip { background: var(--cream); border: 1px solid var(--border); color: var(--navy); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; }

/* ─── SERVICES ───────────────────────────────────────── */
#services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.service-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 32px 26px;
  background: var(--white); transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--green)); opacity: 0; transition: opacity 0.25s;
}
.service-card:hover { border-color: var(--navy-mid); box-shadow: 0 8px 28px rgba(11,47,88,0.1); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; background: var(--cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.service-type { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 7px; }
.service-card h3 { font-size: var(--text-xl); color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.service-card p { font-size: var(--text-sm); color: var(--muted); line-height: 1.68; margin-bottom: 20px; }
.service-link { font-size: var(--text-sm); font-weight: 700; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--green); }
.service-disclaimer { font-size: 10px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 18px; margin-top: 36px; line-height: 1.5; }

/* ─── TOOLKIT ────────────────────────────────────────── */
#toolkit { background: var(--navy); }
#toolkit .section-title { color: #fff; }
#toolkit .section-sub { color: rgba(255,255,255,0.6); }
.toolkit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.tool-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 26px 22px; transition: background 0.2s, border-color 0.2s;
}
.tool-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(200,168,75,0.38); }
.tool-icon { font-size: 28px; margin-bottom: 14px; }
.tool-card h3 { font-size: var(--text-lg); color: #fff; margin-bottom: 8px; }
.tool-card p { font-size: var(--text-sm); color: rgba(255,255,255,0.55); line-height: 1.62; margin-bottom: 16px; }
.tool-link { font-size: var(--text-xs); font-weight: 700; color: var(--gold-light); text-decoration: none; letter-spacing: 0.04em; }
.tool-link:hover { color: #fff; }
.tool-disclaimer { font-size: 11px; color: rgba(255,255,255,0.75); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; text-align: center; line-height: 1.5; }

/* ─── KNOWLEDGE HUB ──────────────────────────────────── */
#knowledge { background: var(--cream); }
.knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow 0.25s, transform 0.2s; text-decoration: none; display: block; }
.blog-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-thumb { height: 170px; background: linear-gradient(135deg, var(--navy), #1a4a7a); display: flex; align-items: center; justify-content: center; font-size: 44px; }
.blog-body { padding: 22px 24px; }
.blog-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: rgba(46,125,50,0.08); padding: 3px 10px; border-radius: 100px; display: inline-block; margin-bottom: 10px; }
.blog-card h3 { font-size: var(--text-lg); color: var(--navy); margin-bottom: 7px; line-height: 1.35; }
.blog-card p { font-size: var(--text-sm); color: var(--muted); line-height: 1.62; margin-bottom: 14px; }
.blog-meta { font-size: 11px; color: var(--muted); display: flex; gap: 14px; }
.ed-disclaimer { font-size: 11px; color: var(--muted); border-top: 1px solid var(--border-dark); padding-top: 20px; margin-top: 6px; text-align: center; }

/* ─── ACCREDITED ─────────────────────────────────────── */
#accredited { background: var(--white); padding: 64px 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.accredited-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
#accredited h2 { font-size: var(--text-3xl); color: var(--navy); margin-bottom: 14px; }
#accredited p { font-size: var(--text-sm); color: var(--muted); line-height: 1.72; margin-bottom: 14px; }
.ai-disc { background: rgba(220,38,38,0.05); border: 1px solid rgba(220,38,38,0.2); border-radius: 8px; padding: 14px 18px; font-size: var(--text-xs); color: #7f1d1d; line-height: 1.6; margin-top: 20px; }
.ai-bullets { list-style: none; margin-top: 20px; }
.ai-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); color: var(--grey-mid); margin-bottom: 12px; line-height: 1.55; }
.ai-bullets li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── CTA BAND ───────────────────────────────────────── */
#cta-band { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); padding: 60px 32px; }
.cta-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
#cta-band h2 { font-size: var(--text-3xl); color: #fff; margin-bottom: 10px; }
#cta-band p { font-size: var(--text-base); color: rgba(255,255,255,0.75); max-width: 580px; line-height: 1.72; }

/* ─── COMPLIANCE / MEDIA ─────────────────────────────── */
#compliance-wall { background: #f3f4f6; padding: 56px 32px; border-top: 3px solid var(--navy); }
.compliance-inner { max-width: 1200px; margin: 0 auto; }
.compliance-header { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.compliance-badge { background: var(--navy); color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
#compliance-wall h2 { font-size: var(--text-2xl); color: var(--navy); }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.compliance-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.compliance-card h3 { font-size: var(--text-base); color: var(--navy); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.compliance-card p, .compliance-card li { font-size: var(--text-sm); color: var(--grey-mid); line-height: 1.65; }
.compliance-card ul { list-style: none; }
.compliance-card ul li { padding: 3px 0; padding-left: 14px; position: relative; }
.compliance-card ul li::before { content:'·'; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.reg-block { background: var(--white); border: 1px solid var(--border-dark); border-left: 4px solid var(--navy); border-radius: 8px; padding: 20px 24px; margin-bottom: 20px; }
.reg-block dl { display: grid; grid-template-columns: 200px 1fr; row-gap: 6px; column-gap: 16px; }
.reg-block dt { font-size: var(--text-sm); font-weight: 700; color: var(--navy); }
.reg-block dd { font-size: var(--text-sm); color: var(--grey-mid); }
#media { background: var(--white); padding: 48px 32px; border-top: 1px solid var(--border); }
.media-inner { max-width: 1200px; margin: 0 auto; }
.media-label { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.media-logos { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.media-logo { font-family: 'Lora', serif; font-weight: 700; font-size: 17px; color: #bbb; text-decoration: none; transition: color 0.2s; }
.media-logo:hover { color: var(--navy); }

/* ─── COMPLAINT TABLE ────────────────────────────────── */
.complaint-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.complaint-table th { background: var(--navy); color: #fff; font-weight: 700; text-align: left; padding: 10px 14px; font-size: var(--text-xs); letter-spacing: 0.04em; }
.complaint-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--grey-mid); }
.complaint-table tr:last-child td { border-bottom: none; }
.complaint-table tr:nth-child(even) td { background: #f9fafb; }

/* ─── FOOTER ─────────────────────────────────────────── */
#main-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 56px 32px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .f-name { font-family:'Lora',serif; font-weight:700; color:#fff; font-size:18px; display:block; margin-bottom:8px; }
.footer-brand p { font-size: var(--text-xs); line-height: 1.72; color: rgba(255,255,255,0.43); max-width: 260px; margin-bottom: 14px; }
.f-reg { font-size: 10px; color: rgba(255,255,255,0.32); line-height: 1.65; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 14px; }
.footer-col a { display: block; font-size: var(--text-sm); color: rgba(255,255,255,0.48); text-decoration: none; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 8px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.32); text-decoration: none; font-size: 10px; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ─── STICKY DISCLAIMER ──────────────────────────────── */
#sticky-disc {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(11,47,88,0.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(200,168,75,0.4); padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  z-index: 500; font-size: 11px; color: rgba(255,255,255,0.62); line-height: 1.45;
}
#sticky-disc strong { color: rgba(255,255,255,0.82); }
.disc-close { background: none; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); font-size: 15px; padding: 2px 8px; border-radius: 4px; cursor: pointer; flex-shrink: 0; line-height: 1.3; }
.disc-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ─── COOKIE BANNER ──────────────────────────────────── */
#cookie-banner { position: fixed; bottom: 52px; left: 0; right: 0; background: var(--dark); border-top: 1px solid rgba(255,255,255,0.1); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 400; font-size: var(--text-xs); color: rgba(255,255,255,0.65); }
.cookie-btn { background: var(--gold); color: var(--navy); border: none; font-weight: 700; font-size: var(--text-xs); padding: 8px 18px; border-radius: 5px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.cookie-btn:hover { background: var(--gold-light); }
.cookie-btn-reject { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); font-weight: 600; font-size: var(--text-xs); padding: 8px 14px; border-radius: 5px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.cookie-actions { display: flex; gap: 8px; }

/* ─── UTILITIES ──────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.info-notice { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 14px 18px; font-size: var(--text-sm); color: #1e40af; line-height: 1.6; margin-bottom: 20px; }
.warn-notice { background: rgba(220,38,38,0.05); border: 1px solid rgba(220,38,38,0.2); border-radius: 8px; padding: 14px 18px; font-size: var(--text-xs); color: #7f1d1d; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Breakpoints: 768px · 480px
   All grids collapse, hamburger nav, touch targets
═══════════════════════════════════════════════════════ */

/* ─── HAMBURGER BUTTON ──────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
#primary-nav.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 300;
  padding: 80px 32px 32px;
  gap: 4px;
  overflow-y: auto;
  box-shadow: 0 0 0 100vw rgba(0,0,0,0.4);
}
#primary-nav.mobile-open li { width: 100%; }
#primary-nav.mobile-open a {
  display: block;
  font-size: var(--text-lg) !important;
  padding: 14px 16px !important;
  border-radius: 8px;
  color: var(--grey) !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--border);
}
#primary-nav.mobile-open a[aria-current="page"] { background: var(--cream); color: var(--navy) !important; }
#primary-nav.mobile-open .nav-cta {
  margin: 16px 0 0 !important;
  background: var(--navy) !important;
  color: #fff !important;
  text-align: center;
  border-radius: 8px !important;
  padding: 16px !important;
  font-size: var(--text-base) !important;
}
.nav-close {
  display: none;
  position: fixed;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 28px; cursor: pointer;
  color: var(--grey); z-index: 310;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  line-height: 1;
}
#primary-nav.mobile-open ~ .nav-close { display: flex; }

/* ─── 768px TABLET / MOBILE ──────────────────────────── */
@media (max-width: 768px) {

  /* Header */
  .header-inner { padding: 0 16px; height: 60px; }
  .logo-name { font-size: 15px; }
  .logo-tagline { display: none; }
  .logo-mark { width: 36px; height: 36px; font-size: 18px; }

  /* Hamburger on, nav off */
  .nav-hamburger { display: flex; }
  #primary-nav { display: none; }

  /* SEBI top bar */
  #sebi-topbar { font-size: 9px; padding: 6px 12px; line-height: 1.5; }

  /* Ticker */
  #ticker-section { padding: 6px 0; }
  .ticker-pause { display: none; }

  /* Page hero */
  .page-hero { padding: 40px 20px 36px; }
  .page-hero h1 { font-size: clamp(22px, 6vw, 32px); }
  .page-hero p { font-size: var(--text-sm); }

  /* Sections */
  section { padding: 48px 20px; }
  .section-inner { max-width: 100%; }
  .section-title { font-size: clamp(22px, 5vw, 28px); }

  /* Trust strip */
  .trust-inner { grid-template-columns: 1fr; gap: 12px; }

  /* Founder */
  .founder-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .founder-creds { justify-content: center; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Toolkit */
  .toolkit-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Knowledge */
  .knowledge-grid { grid-template-columns: 1fr; gap: 18px; }

  /* Accredited */
  .accredited-inner { grid-template-columns: 1fr; gap: 32px; }

  /* CTA band */
  .cta-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .cta-inner .btn-white { width: 100%; justify-content: center; }

  /* Compliance grid */
  .compliance-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }

  /* Sticky disclaimer */
  #sticky-disc { font-size: 10px; padding: 8px 14px; }

  /* Cookie banner */
  #cookie-banner { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* Reg block */
  .reg-block dl { grid-template-columns: 1fr; row-gap: 2px; }
  .reg-block dt { margin-top: 10px; }
  .reg-block dt:first-child { margin-top: 0; }
}

/* ─── 480px SMALL MOBILE ─────────────────────────────── */
@media (max-width: 480px) {

  body { font-size: 15px; }

  /* SEBI bar — shorten */
  #sebi-topbar { font-size: 8px; }

  /* Hero (homepage) */
  #hero { padding: 48px 20px 44px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  #hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta a { width: 100%; justify-content: center; text-align: center; }
  .hcard-stats { gap: 16px; }
  .stat-n { font-size: 22px; }

  /* Hero cards stacked */
  .hero-cards { gap: 10px; }

  /* Toolkit cards 1 col */
  .toolkit-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Footer brand */
  .footer-brand p { max-width: 100%; }

  /* Article layout */
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; margin-top: 32px; }

  /* Comparison tables — scrollable */
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Checklist items */
  .check-item { padding: 10px 0; }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Calc panels */
  .calc-panel.active { grid-template-columns: 1fr; gap: 24px; }

  /* Dashboard grid */
  .dash-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-value { font-size: 18px; }

  /* Philosophy grid */
  .philosophy-grid { grid-template-columns: 1fr; }

  /* Analyser grid */
  .analyser-grid { grid-template-columns: 1fr; gap: 24px; }
  .holding-row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .holding-row input, .holding-row select { font-size: 14px; }
}

/* ─── ARTICLE PAGES — responsive sidebar ─────────────── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; margin-top: 40px; }
}

/* ─── NAV OVERLAY CLOSE BUTTON ───────────────────────── */
@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
  #primary-nav { display: flex !important; }
}

/* Footer column headings (h2 styled as labels for accessibility) */
.footer-col-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 16px;
}

/* ─── MOBILE RESPONSIVE FIXES (V2.1) ────────────────────────────────────── */

/* 1. Hide ticker on mobile — too wide for small screens */
@media (max-width: 768px) {
  #ticker-section { display: none !important; }
}

/* 2. Hero — stack at 600px (not just 480px) so right panel doesn't overflow */
@media (max-width: 600px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .hero-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
}

/* 3. Trust badges — single column at mobile */
@media (max-width: 480px) {
  .trust-inner { grid-template-columns: 1fr !important; }
}

/* 4. Knowledge Hub grid — collapse to 1 col at tablet/large phone */
@media (max-width: 600px) {
  .knowledge-grid { grid-template-columns: 1fr !important; }
}

/* 5. Footer links — larger tap targets */
.footer-col a {
  display: block;
  padding: 6px 0;
  min-height: 36px;
  line-height: 1.6;
}

/* 6. Social icon tap targets — pad out to 44px */
.founder-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* 7. SEBI topbar — prevent horizontal overflow on small screens */
@media (max-width: 480px) {
  #sebi-topbar {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* 8. Nav links — minimum tap height */
#primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
