/* SIP Insurance: green, modern look. Change the colours in :root to restyle the whole site. */
:root {
  --bg: #f6fbf9;
  --ink: #1b2a27;
  --head: #1b2a27;
  --muted: #4e625d;
  --line: #d6ebe4;
  --accent: #00b386;
  --accent-dark: #0f6e56;
  --accent-ink: #ffffff;
  --soft: #e1f5ee;
  --card-bg: #ffffff;
  --radius: 14px;
  --btn-radius: 999px;
  --font: "Noto Sans", "Noto Sans Devanagari", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--accent-dark); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--head); font-size: 19px; font-weight: 600; text-decoration: none; letter-spacing: .2px; }
.brand svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
nav { display: flex; gap: 4px 20px; flex-wrap: wrap; align-items: center; order: 2; margin-left: auto; }
.brand { order: 1; }
.lang { order: 3; display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 2px; flex: none; }
.lang button { font: inherit; font-size: 13px; line-height: 1; padding: 7px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.lang button:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--head); }
nav a[aria-current="page"] { color: var(--head); border-bottom-color: var(--accent); }

/* hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.hero h1 { color: var(--head); font-size: 34px; line-height: 1.35; font-weight: 600; margin: 0 0 14px; }
.hero p { color: var(--muted); font-size: 17px; margin: 0 0 22px; max-width: 560px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 11px 24px; border-radius: var(--btn-radius); border: 1px solid var(--accent); cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(.94); }
.btn.ghost { background: transparent; color: var(--accent-dark); }
.example { background: var(--soft); border-radius: var(--radius); padding: 22px; text-align: center; }
.example .big { color: var(--accent-dark); font-size: 34px; font-weight: 600; line-height: 1.2; margin: 2px 0 6px; }
.example p { margin: 0 0 6px; font-size: 15px; max-width: none; }
.example a { font-size: 15px; font-weight: 500; text-decoration: none; }

/* sections */
section { padding: 36px 0; }
.page-title { padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.page-title h1 { color: var(--head); font-size: 30px; margin: 0 0 6px; font-weight: 600; line-height: 1.4; }
.page-title p { color: var(--muted); margin: 0; max-width: 680px; }
h2 { color: var(--head); font-size: 23px; font-weight: 600; margin: 0 0 14px; line-height: 1.4; }
h3 { color: var(--head); font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.lead { color: var(--muted); max-width: 720px; margin-top: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.card .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; display: block; }
.card a.more { font-size: 15px; font-weight: 500; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--card-bg); border-radius: var(--radius); padding: 18px 20px; font-size: 15px; }
.steps li::before { content: counter(step); display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; margin-right: 8px; }
.band { background: var(--soft); }
.note { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* calculator and comparison */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.field label b { color: var(--head); font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
select { width: 100%; font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.result { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.result .big { color: var(--accent-dark); font-size: 34px; font-weight: 600; line-height: 1.2; }
.result dl { margin: 14px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 600; text-align: right; }
.filters { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.filters .field { flex: 1 1 220px; margin-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 13px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td .sub { color: var(--muted); font-size: 13px; }
td .warn { color: #a32d2d; font-size: 12.5px; display: block; margin-top: 2px; }
td.total { color: var(--accent-dark); font-weight: 600; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.contact-list li:last-child { border-bottom: none; }
.contact-list li span { color: var(--muted); font-size: 14px; display: block; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 30px 0 36px; margin-top: 20px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.site-footer .brand { font-size: 17px; }
.site-footer p { margin: 0 0 8px; }
.reg { font-size: 14px; color: var(--ink); }

@media (max-width: 760px) {
  .hero { padding: 30px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .page-title h1 { font-size: 25px; }
  .grid3, .grid2, .steps, .calc { grid-template-columns: 1fr; }
  nav { gap: 2px 14px; order: 3; width: 100%; margin-left: 0; }
  .lang { order: 2; margin-left: auto; }
  nav a { font-size: 14px; }
  .result .big, .example .big { font-size: 28px; }
}
