
/* =====================================
   KRP WEALTH AND INSURANCE SOLUTIONS
   Main Website Stylesheet
===================================== */

:root {
  --navy: #10233F;
  --navy-dark: #09172B;
  --gold: #C9A44C;
  --gold-light: #E6C875;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --text: #263449;
  --muted: #566477;
  --border: #E5EAF0;
  --success: #237A57;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* HEADER */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: color .2s;
}

.nav-links a:hover {
  color: #80601D;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-btn {
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 5px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  padding: 10px 13px;
  border-radius: 5px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
}

/* HERO SECTION */

.hero {
  background: linear-gradient(
    120deg,
    var(--navy-dark),
    var(--navy)
  );
  color: var(--white);
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  margin: 18px 0;
}

.highlight {
  color: var(--gold-light);
}

.hero-description {
  max-width: 600px;
  color: #D9E2EF;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-logo-card {
  background: var(--white);
  padding: 32px;
  border-radius: 14px;
  text-align: center;
  color: var(--navy);
  box-shadow: 0 20px 50px #0003;
}

.hero-logo-card img {
  width: 150px;
  margin: auto;
}

.hero-logo-card h3 {
  margin-top: 15px;
}

/* COMMON SECTIONS */

.section {
  padding: 75px 0;
}

.section-light {
  background: var(--light);
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}

.section-heading h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
}

/* SERVICE CARDS */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 10px;
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #10233F12;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #F8F1E1;
  color: #80601D;
  border-radius: 10px;
  font-size: 23px;
}

.service-card h3 {
  color: var(--navy);
  margin: 18px 0 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ABOUT SECTION */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  color: var(--navy);
  font-size: 34px;
  line-height: 1.3;
  margin: 14px 0;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 15px;
}

.credential-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 15px;
}

.credential-card strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.credential-card span {
  color: var(--muted);
  font-size: 12px;
}

/* CONTACT */

.contact-box {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  border-radius: 12px;
  padding: 55px 25px;
}

.contact-box h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-box p {
  color: #D9E2EF;
  margin-bottom: 25px;
}

/* FOOTER */

.site-footer {
  background: var(--navy-dark);
  color: #D9E2EF;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.site-footer a {
  display: block;
  font-size: 13px;
  margin: 8px 0;
}

.footer-disclosure {
  border-top: 1px solid #ffffff25;
  margin-top: 35px;
  padding-top: 20px;
  color: #AEBACC;
  font-size: 11px;
}

/* WHATSAPP BUTTON */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #137547;
  color: var(--white);
  padding: 13px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 20px #0003;
  z-index: 999;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 900px) {
  .nav-links {
    gap: 12px;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .navbar {
    min-height: 70px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 8px 15px #0001;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 14px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 55px 0;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }
}

/* SHARED DROPDOWN NAVIGATION */

.navbar {
  flex-wrap: wrap;
  padding-top: 8px;
}

.nav-links {
  order: 3;
  flex: 1 0 100%;
  justify-content: space-between;
  gap: 4px;
}

.nav-group {
  position: relative;
}

.nav-group-heading {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-group-heading > a,
.nav-links > a {
  white-space: nowrap;
}

.nav-group-toggle {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
}

.nav-group-toggle:hover,
.nav-group.is-open .nav-group-toggle {
  background: #F8F1E1;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1002;
  width: max-content;
  min-width: 230px;
  max-width: min(320px, 90vw);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px #10233F20;
}

.nav-group.is-open .nav-submenu {
  display: grid;
}

.nav-submenu a {
  display: block;
  padding: 9px 11px;
  border-radius: 5px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: var(--light);
  color: #80601D;
}

.nav-group:nth-last-child(2) .nav-submenu {
  right: 0;
  left: auto;
}

.nav-actions .nav-contact-link {
  padding: 9px 13px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-actions .nav-whatsapp-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-nav-actions {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-group-toggle:focus-visible,
.nav-links a:focus-visible,
.nav-actions a:focus-visible,
.menu-toggle:focus-visible,
.language-btn:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.footer-brand {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 17px;
}

.footer-grid {
  grid-template-columns: 1.35fr repeat(4, 1fr);
}

.site-footer .footer-grid > div {
  min-width: 0;
}

.contact-form {
  max-width: 680px;
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form-status {
  margin-top: 12px;
}

.contact-form-status a {
  display: inline-block;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

.resource-list {
  display: grid;
  gap: 14px;
  padding-left: 22px;
}

.resource-faq {
  max-width: 900px;
  margin: 0 auto;
}

.resource-faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.resource-faq summary {
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.resource-faq p {
  padding-top: 10px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .site-header:not(.has-enhanced-nav) .navbar {
    flex-wrap: wrap;
  }

  .site-header:not(.has-enhanced-nav) .nav-links {
    display: flex;
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 8px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header:not(.has-enhanced-nav) .menu-toggle {
    display: none;
  }

  .site-header .navbar {
    min-height: 70px;
    flex-wrap: nowrap;
    padding-top: 0;
    position: relative;
  }

  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 12px 4% 18px;
    border-top: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 12px 20px #0002;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header .nav-links.active {
    display: flex;
  }

  .site-header .nav-links > a,
  .site-header .nav-group {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .site-header .nav-links > a {
    padding: 12px 4px;
    font-size: 15px;
  }

  .site-header .nav-group-heading {
    min-height: 48px;
  }

  .site-header .nav-group-heading > a {
    flex: 1;
    padding: 12px 4px;
    font-size: 15px;
  }

  .site-header .nav-group-toggle {
    width: 44px;
    height: 44px;
  }

  .site-header .nav-submenu,
  .site-header .nav-group:nth-last-child(2) .nav-submenu {
    position: static;
    width: 100%;
    max-width: none;
    padding: 0 0 10px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header .nav-submenu a {
    padding: 10px;
    font-size: 14px;
  }

  .site-header .mobile-nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
  }

  .site-header .mobile-nav-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-header .mobile-nav-actions .nav-whatsapp-link {
    padding: 0 10px;
    color: var(--navy);
    font-weight: 700;
  }

  .site-header .nav-actions .nav-whatsapp-link {
    display: none;
  }

  .site-header .menu-toggle {
    display: inline-block;
    min-width: 42px;
    min-height: 42px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .site-header .footer-grid,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header .brand-tagline {
    max-width: 170px;
    line-height: 1.3;
  }

  .site-header .nav-actions {
    gap: 4px;
  }

  .site-header .navbar {
    gap: 8px;
  }

  .site-header .brand {
    max-width: 145px;
    gap: 7px;
  }

  .site-header .brand img {
    width: 42px;
    height: 42px;
  }

  .site-header .brand > span,
  .site-header .brand > div {
    min-width: 0;
  }

  .site-header .brand-name {
    font-size: 12px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .site-header .brand-tagline {
    display: none;
  }

  .site-header .nav-actions .nav-contact-link {
    display: inline-flex;
    min-height: 40px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .site-header .language-btn {
    padding: 8px;
    font-size: 12px;
  }
}


/* =====================================
   KRP SIP CALCULATOR
===================================== */

.sip-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  max-width: 950px;
  margin: auto;
  padding: 35px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 35px #10233F10;
}

.sip-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sip-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.sip-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 16px;
  color: var(--navy);
  background: #fff;
}

.sip-field input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.sip-inputs .btn {
  border: 0;
  min-height: 48px;
  font-size: 15px;
}

.sip-results {
  padding: 25px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
}

.sip-results h3 {
  color: var(--gold-light);
  margin-bottom: 25px;
  font-size: 20px;
}

.sip-result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff25;
  font-size: 14px;
}

.sip-result-row strong {
  text-align: right;
  color: white;
}

.sip-result-total {
  margin-top: 22px;
  padding: 20px;
  border-radius: 8px;
  background: #ffffff12;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sip-result-total span {
  color: #D9E2EF;
  font-size: 14px;
}

.sip-result-total strong {
  color: var(--gold-light);
  font-size: 29px;
  overflow-wrap: anywhere;
}

.sip-message {
  margin-top: 18px;
  color: #D9E2EF;
  font-size: 12px;
}

.sip-disclaimer {
  max-width: 950px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .sip-calculator {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 25px;
  }

  .sip-result-total strong {
    font-size: 25px;
  }

  .sip-result-row {
    font-size: 13px;
  }
}


/* =====================================
   KRP SIP GROWTH CHART
===================================== */

.sip-chart-card {
  max-width: 950px;
  margin: 30px auto 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px #10233F0A;
}

.sip-chart-heading h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 5px;
}

.sip-chart-heading p {
  color: var(--muted);
  font-size: 13px;
}

.sip-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 22px 0 12px;
  font-size: 13px;
  color: var(--text);
}

.sip-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sip-chart-legend i {
  display: inline-block;
  width: 19px;
  height: 4px;
  border-radius: 5px;
}

.legend-invested {
  background: #80601D;
}

.legend-value {
  background: #173F70;
}

.sip-chart-wrap {
  position: relative;
  width: 100%;
  height: 320px;
}

#sip-growth-chart {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 650px) {
  .sip-chart-card {
    padding: 18px 12px;
  }

  .sip-chart-wrap {
    height: 250px;
  }

  .sip-chart-heading h3 {
    font-size: 18px;
  }

  .sip-chart-legend {
    gap: 12px;
    font-size: 11px;
  }
}


/* Mobile footer and WhatsApp spacing fix */
@media (max-width: 600px) {
  .footer-disclosure {
    font-size: 12px;
    line-height: 1.7;
    padding-bottom: 55px;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 14px;
    z-index: 1000;
  }
}

/* KRP Footer Readability Enhancement */
.footer-disclosure {
    font-size: 14px;
    line-height: 1.8;
}

.site-footer {
    padding-top: 40px;
    padding-bottom: 30px;
}

@media (max-width: 600px) {
    .footer-disclosure {
        font-size: 13px;
        line-height: 1.7;
    }

    .site-footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


/* =====================================
   KRP RESPONSIVE LAYOUT IMPROVEMENTS
   Add at the END of style.css
===================================== */

/* Prevent horizontal overflow */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: min(1160px, 92%);
}

/* Improve header alignment */
.navbar {
    flex-wrap: wrap;
}

.brand {
    min-width: 0;
}

.brand-name {
    overflow-wrap: anywhere;
}

.nav-links a {
    white-space: nowrap;
}

/* Improve section spacing */
section.section {
    scroll-margin-top: 90px;
}

/* Tablet layout */
@media (max-width: 900px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-logo-card {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Mobile layout */
@media (max-width: 650px) {
    .navbar {
        min-height: 70px;
        gap: 10px;
    }

    .brand {
        gap: 8px;
        flex: 1;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-tagline {
        font-size: 10px;
    }

    .nav-actions {
        gap: 6px;
    }

    .language-btn {
        padding: 7px 9px;
        font-size: 12px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-logo-card {
        padding: 22px;
    }

    .service-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 22px;
    }

    .about-grid {
        gap: 25px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .section {
        padding: 45px 0;
    }

    .contact-box {
        padding: 38px 18px;
    }

    .contact-box h2 {
        font-size: 25px;
    }

    .sip-calculator {
        padding: 18px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        z-index: 1000;
    }
}

/* Small mobile screens */
@media (max-width: 380px) {
    .brand-name {
        font-size: 12px;
    }

    .language-btn {
        padding: 6px 7px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .sip-result-row {
        flex-wrap: wrap;
    }
}



/* =====================================
   STAGE 1 – HYBRID DESIGN REFINEMENTS
===================================== */
:focus-visible {
  outline: 3px solid var(--navy-dark);
  outline-offset: 3px;
  transition: none;
}

.hero :focus-visible,
.contact-box :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.nav-links a[aria-current="page"] { color: #80601D; }

.learning-grid .service-card { display: flex; flex-direction: column; align-items: flex-start; }
.learning-grid .service-card p { flex: 1; }
.text-link { display: inline-block; margin-top: 18px; color: #80601d; font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--navy); text-decoration: underline; }

.calculator-page-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-outline-dark { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.sip-chart-card {
  max-width: 950px;
  margin: 28px auto 0;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 35px #10233F10;
}
.sip-chart-heading h3 { color: var(--navy); margin-bottom: 4px; }
.sip-chart-heading p { color: var(--muted); font-size: 13px; }
.sip-chart-legend { display: flex; gap: 20px; flex-wrap: wrap; margin: 18px 0 8px; color: var(--muted); font-size: 12px; }
.sip-chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sip-chart-legend i { display: inline-block; width: 18px; height: 4px; border-radius: 5px; }
.legend-invested { background: var(--gold); }
.legend-value { background: #173F70; }
.sip-chart-wrap { width: 100%; height: 280px; }
.sip-chart-wrap canvas { display: block; width: 100%; height: 100%; }

.site-footer .footer-disclosure p { margin: 8px 0; }
.site-footer .footer-disclosure strong { color: var(--white); }
.site-footer .mf-muted { color: #D9E2EF; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .navbar { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    padding: 16px 4%;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 0;
    box-shadow: 0 12px 22px #10233F18;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: 0; }
}

@media (max-width: 650px) {
  .sip-chart-card { padding: 16px; }
  .sip-chart-wrap { height: 230px; }
  .calculator-page-links .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* KRP Full Brand Name */
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand {
  text-decoration: none;
}

.brand-name {
  font-size: 21px;
  letter-spacing: 1px;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media (max-width: 650px) {
  .brand-name {
    font-size: 17px;
  }

  .brand-tagline {
    font-size: 8px;
  }
}
