.mono{font-family:'IBM Plex Mono', monospace; font-variant-numeric: tabular-nums;}

.hero-band{padding:46px 0 70px;}
h1.title{font-size:clamp(28px,5vw,40px); max-width:13ch;}
.sub{font-size:16px; max-width:50ch;}

.calc-tabs{margin:-65px 0 18px; flex-wrap:wrap;}
.calc-tab{display:inline-flex; align-items:center; gap:6px; transition:transform 0.15s ease;}
.calc-tab:hover{transform:translateY(-1px); border-color:var(--blue);}

.wht-select{
  width:100%; border:1.5px solid var(--line); border-radius:8px;
  background:#fff; padding:10px 12px; font-family:'Poppins', sans-serif;
  font-size:14.5px; color:var(--ink); outline:none;
}
.wht-select:focus{border-color:var(--blue);}

.compare-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:22px 0 10px;
}
.compare-card{
  border-radius:10px; padding:18px; text-align:center;
}
.compare-card.filer-card{background:rgba(18,89,195,0.08); border:1.5px solid var(--blue);}
.compare-card.nonfiler-card{background:rgba(255,199,44,0.12); border:1.5px solid var(--yellow-deep);}
.compare-card .cc-label{font-size:12px; text-transform:uppercase; letter-spacing:0.05em; font-family:'IBM Plex Mono', monospace; color:var(--ink-soft); margin-bottom:8px;}
.compare-card .cc-amount{font-family:'IBM Plex Mono', monospace; font-size:22px; font-weight:700; color:var(--ink);}
.compare-card .cc-rate{font-size:12px; color:var(--ink-soft); margin-top:4px;}
.compare-diff{
  grid-column:1 / -1; text-align:center; background:var(--black); color:var(--yellow);
  border-radius:10px; padding:14px; font-size:14px; font-weight:600;
}
@media (max-width:480px){
  .compare-grid{grid-template-columns:1fr;}
}

/* Payslip card (homepage salary calculator) */
.payslip{
  background:var(--paper);
  /* border:1px solid var(--line); */
  border-radius:14px;
  margin:45px 0 40px;
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 48px -22px rgba(10,31,68,0.35), 0 4px 14px rgba(10,31,68,0.08);
}
.payslip::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:6px;
  background:linear-gradient(90deg, var(--navy) 0%, var(--blue) 45%, var(--yellow) 100%);
}
.payslip-inner{padding:30px 26px 26px;}
.payslip-head{
  display:flex; justify-content:space-between; align-items:baseline;
  border-bottom:1px dashed var(--line);
  padding-bottom:16px; margin-bottom:20px;
  flex-wrap:wrap; gap:8px;
}
.payslip-head h2{font-size:19px;}
.fy-tag{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  color:#7A5900;
  background:rgba(255,199,44,0.22);
  padding:4px 10px;
  border-radius:12px;
  font-weight:600;
}
.amount-row{margin-bottom:26px;}
.amount-row span.rs{font-family:'IBM Plex Mono', monospace; font-size:22px; color:var(--ink-soft);}
input#gross{
  flex:1; border:none; background:transparent;
  font-family:'IBM Plex Mono', monospace;
  font-size:26px; font-weight:600; color:var(--ink);
  outline:none; min-width:0;
}
.toggle-row{display:flex; gap:18px; margin-bottom:20px; flex-wrap:wrap;}
.toggle{
  display:flex; align-items:center; gap:7px;
  font-size:14px; color:var(--ink-soft); cursor:pointer;
}
.toggle input{accent-color:var(--blue);}

.deductions-toggle{
  border:1px dashed var(--line);
  border-radius:8px;
  padding:10px 14px;
  margin-bottom:24px;
}
.deductions-toggle summary{
  cursor:pointer; font-size:13.5px; color:var(--blue);
  font-family:'IBM Plex Mono', monospace; font-weight:600;
  list-style:none; display:flex; justify-content:space-between; align-items:center;
}
.deductions-toggle summary::-webkit-details-marker{display:none;}
.deductions-toggle summary::after{content:"+"; color:var(--blue); font-size:16px;}
.deductions-toggle[open] summary::after{content:"\2013";}
.deductions-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:16px 20px;
  margin-top:16px;
}
.ded-field .field-label{margin-bottom:6px;}
input.ded-input{
  width:100%; border:none; border-bottom:1.5px solid var(--line);
  background:transparent; font-family:'IBM Plex Mono', monospace;
  font-size:15px; color:var(--ink); padding:4px 0; outline:none;
}
input.ded-input:focus{border-bottom-color:var(--blue);}
@media (max-width:480px){
  .deductions-grid{grid-template-columns:1fr;}
}

.ledger{border-top:1px dashed var(--line); padding-top:18px;}
.ledger-row{
  display:flex; justify-content:space-between;
  font-size:14.5px; padding:6px 0; color:var(--ink-soft);
}
.ledger-row .val{font-family:'IBM Plex Mono', monospace; color:var(--ink);}
.ledger-row.active{color:var(--ink); font-weight:500;}
.ledger-row.active .val{color:var(--blue);}

.net-row{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:18px; padding-top:18px; border-top:2px solid var(--black);
}
.net-row .label{font-family:'Poppins', sans-serif; font-size:18px; font-weight:700;}
.net-wrap{display:flex; align-items:center; gap:14px;}
.net-row .val{font-family:'IBM Plex Mono', monospace; font-size:27px; color:var(--navy); font-weight:700;}

.stamp{
  width:62px; height:62px; border-radius:50%;
  border:3px solid var(--yellow);
  background:var(--black);
  color:var(--yellow);
  display:flex; align-items:center; justify-content:center;
  font-family:'Poppins', sans-serif; font-weight:700;
  font-size:9px; text-align:center; letter-spacing:0.02em;
  transform:rotate(-9deg) scale(0.85);
  opacity:0;
  transition:opacity 0.25s ease, transform 0.25s ease;
  flex-shrink:0;
  line-height:1.15;
}
.stamp.show{opacity:1; transform:rotate(-9deg) scale(1);}

.note{font-size:12.5px; color:var(--ink-soft); margin-top:16px;}

.share-row{
  display:flex; align-items:center; gap:10px; margin:14px 0 32px;
  flex-wrap:wrap;
}
.share-row span.label-txt{font-size:12.5px; color:var(--ink-soft); margin-right:4px;}
.share-btn{
  display:inline-flex; align-items:center; gap:7px;
  font-size:12.5px; font-weight:600; text-decoration:none;
  padding:8px 14px; border-radius:20px; border:none;
  color:#fff;
  transition:transform 0.15s ease, filter 0.15s ease;
}
.share-btn:hover{transform:translateY(-1px); filter:brightness(1.08);}
.share-btn svg{width:14px; height:14px; flex-shrink:0;}
.share-btn.whatsapp{background:#25D366;}
.share-btn.twitter{background:#1DA1F2;}
.share-btn.copy{background:var(--black);}

.trust-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:10px;
  overflow:hidden; margin:32px 0;
}
.trust-item{
  background:var(--paper); padding:16px 14px; text-align:center;
}
.trust-item .num{display:block; font-size:13.5px; font-weight:700; color:var(--navy); margin-bottom:2px;}
.trust-item .lbl{font-size:11.5px; color:var(--ink-soft);}
@media (max-width:640px){
  .trust-strip{grid-template-columns:repeat(2,1fr);}
}

table.slabs{
  width:100%; border-collapse:collapse;
  font-size:14px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}
table.slabs th, table.slabs td{
  text-align:left; padding:11px 12px;
  border-bottom:1px solid var(--line);
}
table.slabs th{
  font-family:'IBM Plex Mono', monospace; font-size:11px;
  text-transform:uppercase; letter-spacing:0.05em;
  color:#fff; font-weight:600;
  background:var(--navy);
}
table.slabs td.rate{font-family:'IBM Plex Mono', monospace; color:var(--navy); white-space:nowrap;}
table.slabs tr:last-child td{border-bottom:none;}
.rate-cell{display:flex; align-items:center; gap:10px;}
.rate-bar-track{width:56px; height:6px; border-radius:3px; background:var(--line); flex-shrink:0; overflow:hidden;}
.rate-bar-fill{height:100%; border-radius:3px; background:linear-gradient(90deg, var(--blue), var(--yellow));}

.insight-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:16px;
}
.insight-card{
  background:var(--tint);
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px 18px;
}
.insight-icon{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:17px; margin-bottom:14px;
  color:#fff; font-weight:700;
}
.insight-card:nth-child(1) .insight-icon{background:var(--navy);}
.insight-card:nth-child(2) .insight-icon{background:var(--blue);}
.insight-card:nth-child(3) .insight-icon{background:var(--black);}
.insight-card h3{font-family:'Poppins',sans-serif; font-size:14.5px; font-weight:700; margin-bottom:8px;}
.insight-card p{font-size:13.5px; color:var(--ink-soft); margin:0;}
@media (max-width:640px){
  .insight-grid{grid-template-columns:1fr;}
}

.prose p{margin:0 0 14px; color:var(--ink); font-size:15.5px;}
.prose strong{color:var(--navy);}

.ntn-guide{
  background:var(--tint); border:1px solid var(--line); border-radius:12px;
  padding:26px;
}
.ntn-steps{list-style:none; margin:18px 0 20px; padding:0; counter-reset:step;}
.ntn-steps li{
  counter-increment:step;
  display:flex; gap:14px; margin-bottom:14px; font-size:14.5px; color:var(--ink);
}
.ntn-steps li::before{
  content:counter(step);
  flex-shrink:0; width:24px; height:24px; border-radius:50%;
  background:var(--navy); color:var(--yellow);
  font-family:'IBM Plex Mono', monospace; font-size:12px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.ntn-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--black); color:var(--yellow); text-decoration:none;
  padding:12px 22px; border-radius:26px; font-size:14px; font-weight:700;
}
.ntn-cta:hover{background:var(--navy);}

.tools-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
.tool-card{
  background:var(--paper); border:1px solid var(--line); border-radius:10px;
  padding:18px; position:relative;
}
.tool-card h3{font-size:14px; font-weight:700; margin-bottom:6px;}
.tool-card p{font-size:12.5px; color:var(--ink-soft); margin:0;}
.soon-tag{
  position:absolute; top:14px; right:14px;
  font-family:'IBM Plex Mono', monospace; font-size:9.5px;
  text-transform:uppercase; letter-spacing:0.05em;
  background:var(--yellow); color:var(--black);
  padding:2px 8px; border-radius:10px; font-weight:700;
}
.live-tag{background:var(--navy); color:#fff;}
@media (max-width:640px){
  .tools-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:420px){
  .tools-grid{grid-template-columns:1fr;}
}

details summary{font-size:15px; padding-right:14px;}
details p{font-size:14.5px;}

.ad-slot{
  border:1.5px dashed var(--yellow-deep);
  color:var(--ink-soft);
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; text-transform:uppercase; letter-spacing:0.06em;
  text-align:center; padding:14px; border-radius:8px; margin:32px 0;
  background:var(--tint);
}

/* Updates */
.updates-list{display:flex; flex-direction:column; gap:2px;}
.update-card{
  display:flex; gap:16px; align-items:flex-start;
  background:var(--paper); border:1px solid var(--line);
  padding:16px 18px; border-radius:8px; margin-bottom:8px;
  text-decoration:none; color:inherit;
}
.update-card:hover{border-color:var(--blue);}
.update-date{
  flex-shrink:0; width:78px; font-family:'IBM Plex Mono', monospace;
  font-size:12px; color:var(--ink-soft); padding-top:2px;
}
.update-body h3{font-size:14.5px; font-weight:600; margin-bottom:4px; color:var(--ink);}
.update-body p{font-size:13px; color:var(--ink-soft); margin:0;}
.update-tag{
  display:inline-block; font-family:'IBM Plex Mono', monospace; font-size:9.5px;
  text-transform:uppercase; background:rgba(18,89,195,0.1); color:var(--blue);
  padding:2px 8px; border-radius:10px; margin-bottom:6px; font-weight:600;
}
.updates-loading, .updates-error{font-size:13.5px; color:var(--ink-soft);}
.updates-footer-link{
  display:inline-block; margin-top:10px; font-size:13px; font-weight:600; color:var(--blue);
}

footer{padding:40px 0 30px;}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:28px;
  margin-bottom:28px;
}
.footer-brand .site-logo{margin-bottom:10px;}
.footer-brand p{font-size:13px; color:#9AA1B4; max-width:32ch; margin:0;}
.footer-col h4{
  font-size:12px; text-transform:uppercase; letter-spacing:0.06em;
  color:var(--yellow); margin-bottom:12px; font-weight:700;
}
.footer-col ul{list-style:none; margin:0; padding:0;}
.footer-col li{margin-bottom:8px;}
.footer-col a{font-size:13.5px; color:#C9CFDD; text-decoration:none;}
.footer-col a:hover{color:var(--yellow);}
.footer-bottom{
  border-top:1px solid #2A2E3A; padding-top:18px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:10px;
  font-size:12px; color:#8890A3;
}
@media (max-width:640px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}
a{color:var(--blue);}
