/* =========================================================================
   NRI investors page. Loaded only by nri-investors.php via $page_css, so
   nothing here can affect any other page.
   ========================================================================= */

.IN-nri-hero,
.IN-nri-overview,
.IN-nri-steps,
.IN-nri-cta {
  --nri-blue: #145683;
  --nri-blue-light: #2F80BE;
  --nri-ink: #101828;
  --nri-body: #55636F;
  --nri-line: #E6ECF2;
  --nri-wash: #EAF4FD;
  --nri-good: #1B7F4B;
  --nri-good-bg: #E7F6EC;
  --nri-warn: #B4322B;
  --nri-warn-bg: #FCEAE9;
  --nri-accent: #A9670A;
  --nri-accent-bg: #FDF1DC;
  --nri-info: #1B5E8C;
  --nri-info-bg: #E8F1F9;
}

/* ---------------------------------- hero ---------------------------------- */
.IN-nri-hero {
  background: linear-gradient(115deg, #10507C 0%, #1A6699 55%, #2C7CB4 100%);
  padding: 54px 0 62px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.IN-nri-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.nri-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  margin-bottom: 18px;
}

.IN-nri-hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: #FFFFFF;
}

.nri-hero-sub {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.92);
}

.nri-hero-sub strong {
  font-weight: 700;
  color: #FFFFFF;
}

/* -------------------------------- overview -------------------------------- */
.IN-nri-overview {
  padding: 56px 0 48px;
  background: #FFFFFF;
}

.nri-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nri-blue-light);
  margin: 0 0 10px;
}

.nri-heading {
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--nri-ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.nri-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--nri-body);
  margin: 0 0 18px;
}

.nri-body strong {
  color: var(--nri-ink);
  font-weight: 600;
}

.nri-callout {
  border: 1px solid #BFDCF2;
  border-radius: 10px;
  background: #F7FBFE;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--nri-body);
}

.nri-callout strong {
  color: var(--nri-ink);
  font-weight: 600;
}

.nri-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.nri-stat {
  background: var(--nri-wash);
  border-radius: 12px;
  padding: 18px 20px;
}

.nri-stat--wide {
  grid-column: 1 / -1;
}

.nri-stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--nri-blue);
  line-height: 1.1;
  margin-bottom: 6px;
}

.nri-stat-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--nri-body);
}

/* --------------------------------- steps ---------------------------------- */
.IN-nri-steps {
  background: #F5F8FA;
  padding: 50px 0 60px;
}

.nri-steps-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--nri-blue);
  margin: 0 0 30px;
}

.nri-step {
  position: relative;
  padding-left: 46px;
  margin-bottom: 26px;
}

.nri-step-num {
  position: absolute;
  left: 0;
  top: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #F5A623;
  background: #FFFFFF;
  color: var(--nri-blue);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nri-step-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 30px 28px 32px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.nri-step-sub {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 26px;
}

.nri-grid {
  display: grid;
  gap: 16px;
}

.nri-grid--4 { grid-template-columns: repeat(4, 1fr); }
.nri-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nri-grid--2 { grid-template-columns: repeat(2, 1fr); }

.nri-card {
  border: 1px solid var(--nri-line);
  border-radius: 11px;
  padding: 16px 16px 18px;
  background: #FFFFFF;
}

.nri-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--nri-wash);
  color: var(--nri-blue);
  font-size: 15px;
  margin-bottom: 10px;
}

.nri-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--nri-ink);
  margin: 0 0 7px;
  line-height: 1.3;
}

.nri-card p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--nri-body);
  margin: 0;
}

.nri-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.nri-badge {
  flex: none;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.nri-badge--good   { background: var(--nri-good-bg);   color: var(--nri-good); }
.nri-badge--warn   { background: var(--nri-warn-bg);   color: var(--nri-warn); }
.nri-badge--accent { background: var(--nri-accent-bg); color: var(--nri-accent); }
.nri-badge--info   { background: var(--nri-info-bg);   color: var(--nri-info); }

.nri-card-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--nri-line);
  font-size: 11.5px;
  color: #7C8A96;
}

/* reference tables in step 03 */
.nri-card--table h4 {
  font-size: 15px;
  margin-bottom: 14px;
}

.nri-card--table h4 i {
  color: var(--nri-blue-light);
  margin-right: 6px;
}

.nri-card--table dl {
  margin: 0;
}

.nri-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #F0F4F7;
}

.nri-row:last-child {
  border-bottom: 0;
}

.nri-row dt {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--nri-body);
}

.nri-value {
  font-size: 11.5px;
  font-weight: 600;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.nri-value--good   { color: var(--nri-good); }
.nri-value--warn   { color: var(--nri-warn); }
.nri-value--accent { color: var(--nri-accent); }
.nri-value--info   { color: var(--nri-info); }
.nri-value--muted  { color: var(--nri-body); }

/* step 04 gradient panel */
.nri-tax-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(110deg, #1173C0 0%, #1A5E96 100%);
  border-radius: 12px;
  padding: 24px 26px;
  margin-top: 8px;
}

.nri-tax-intro {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.nri-tax-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nri-tax-row {
  background: rgba(3, 41, 71, 0.55);
  border-radius: 8px;
  padding: 11px 14px;
}

.nri-tax-term {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.nri-tax-note {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

/* ---------------------------------- cta ----------------------------------- */
.IN-nri-cta {
  background: #FFFFFF;
  padding: 10px 0 56px;
}

.nri-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--nri-line);
  border-radius: 14px;
  padding: 26px 28px;
  background: #FCFDFE;
}

.nri-pill--light {
  background: var(--nri-wash);
  color: var(--nri-blue);
  margin-bottom: 12px;
}

.nri-cta-text h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--nri-ink);
  margin: 0 0 10px;
}

.nri-cta-text h2 em {
  font-style: italic;
  color: var(--nri-blue-light);
}

.nri-cta-text p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--nri-body);
  margin: 0;
  max-width: 70ch;
}

.nri-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}

.nri-btn {
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  padding: 11px 20px;
  white-space: nowrap;
}

.nri-btn--solid {
  background: var(--nri-blue);
  color: #FFFFFF;
  border: 1px solid var(--nri-blue);
}

.nri-btn--solid:hover {
  background: #0E3E5F;
  color: #FFFFFF;
}

.nri-btn--ghost {
  background: #FFFFFF;
  color: var(--nri-blue);
  border: 1px solid var(--nri-blue);
}

.nri-btn--ghost:hover {
  background: var(--nri-wash);
  color: var(--nri-blue);
}

/* ------------------------------- responsive ------------------------------- */
@media (max-width: 1199.98px) {
  .nri-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .nri-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  .IN-nri-hero { padding: 40px 0 44px; }
  .nri-grid--4,
  .nri-grid--3,
  .nri-grid--2 { grid-template-columns: 1fr; }
  .nri-stats { grid-template-columns: 1fr; }
  .nri-step { padding-left: 0; padding-top: 26px; }
  .nri-step-num { top: 0; left: 0; }
  .nri-step-card { padding: 22px 18px 24px; }
  .nri-tax-panel { grid-template-columns: 1fr; }
  .nri-cta-box { flex-direction: column; align-items: flex-start; }
  .nri-cta-actions { flex-direction: row; width: 100%; }
  .nri-btn { flex: 1; text-align: center; }
}
