/* RupeeCase Carousel | The Average Year Myth | 8 Jul 2026 morning
 * 1080 x 1350 portrait. Navy + paper white only. Inter + JetBrains Mono.
 * Locked rules: no emoji . no em dash . no comma in numbers .
 * NSE BhavCopy attribution . author footer . pagination dots.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --navy: #0D1F3C;
  --paper: #FFFFFF;
  --soft: #F4F5F8;
  --rule: #E2E5EC;
  --muted: #5A6478;
  --whisper: #B8BDC9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #2A2A2E; }
body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 40px;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.card {
  width: 1080px; height: 1350px;
  background: var(--paper); color: var(--navy);
  padding: 60px 60px 44px 60px;
  display: flex; flex-direction: column; position: relative;
}

/* top strip */
.top {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--rule); padding-bottom: 18px;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow.brand { color: var(--navy); }

/* body wrapper grows to fill */
.body { flex: 1; display: flex; flex-direction: column; }

/* headlines */
.headline {
  font-size: 60px; font-weight: 800; line-height: 1.04;
  letter-spacing: -0.02em; margin-top: 40px;
}
.headline .u {
  border-bottom: 8px solid var(--navy); padding-bottom: 2px;
}
.subhead {
  font-size: 22px; font-weight: 400; color: var(--muted);
  line-height: 1.5; margin-top: 26px; max-width: 900px;
}

/* big number block */
.bignum { margin-top: 46px; }
.hook-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 150px; font-weight: 600; line-height: 0.95;
  letter-spacing: -0.03em;
}
.hook-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 14px;
}
.lab {
  font-size: 21px; font-weight: 400; color: var(--muted);
  line-height: 1.5; margin-top: 26px; max-width: 900px;
}
.kicker {
  font-size: 20px; font-weight: 400; line-height: 1.55;
  margin-top: 34px; max-width: 920px;
}

/* section eyebrow inside body */
.sec-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px; color: var(--muted); letter-spacing: 0.14em;
  text-transform: uppercase; margin-top: 40px; margin-bottom: 8px;
}
.sec-title {
  font-size: 40px; font-weight: 700; line-height: 1.08;
  letter-spacing: -0.015em; margin-bottom: 8px;
}

/* year bar chart */
.chart { margin-top: 40px; }
.chart-base {
  position: relative; height: 470px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.zeroline {
  position: absolute; left: 0; right: 0;
  border-top: 2px solid var(--navy);
}
.bars { display: flex; height: 100%; align-items: stretch; gap: 6px; }
.col { flex: 1; position: relative; }
.bar {
  position: absolute; left: 12%; right: 12%;
  background: var(--navy);
}
.bar.up { background: var(--navy); }
.bar.down {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-top: none;
}
.bar.near { background: #C9A227; } /* not used; kept navy-only */
.bar.hl { background: var(--navy); outline: 3px solid var(--navy); outline-offset: 3px; }
.yr {
  position: absolute; bottom: -30px; left: 0; right: 0; text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--whisper);
}
.chart-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--muted); letter-spacing: 0.06em;
  margin-top: 46px; text-transform: uppercase;
}

/* stat row */
.stats { display: flex; gap: 0; margin-top: 46px; border-top: 1px solid var(--rule); }
.stat { flex: 1; padding: 26px 8px 6px 8px; }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 60px; font-weight: 600; line-height: 1; letter-spacing: -0.02em;
}
.stat-lab {
  font-size: 17px; color: var(--muted); line-height: 1.35; margin-top: 14px;
  padding-right: 10px;
}

/* rules list */
.rules { margin-top: 34px; }
.rule-item {
  display: flex; gap: 22px; padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.rule-item:last-child { border-bottom: 1px solid var(--rule); }
.rule-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px; font-weight: 600; color: var(--whisper);
  min-width: 46px;
}
.rule-t { font-size: 23px; font-weight: 500; line-height: 1.36; }

/* takeaway */
.takeaway { margin-top: 40px; padding: 22px 26px; border-left: 5px solid var(--navy); background: var(--soft); }
.takeaway-text { font-size: 26px; font-weight: 700; line-height: 1.32; }

/* CTA block */
.cta {
  background: var(--navy); color: var(--paper);
  padding: 26px 30px; margin-top: 34px;
  display: flex; justify-content: space-between; align-items: center;
}
.cta-text { font-size: 21px; font-weight: 500; line-height: 1.3; max-width: 640px; }
.cta-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 11px 18px; letter-spacing: 0.04em; white-space: nowrap;
}

/* footer */
.foot {
  border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 14px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.source-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.author-footer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px; color: var(--navy); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px;
}
.pagination { display: flex; gap: 7px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.dot.active { background: var(--navy); width: 24px; border-radius: 4px; }
