/* InsurePartner.in theme: navy + teal/green, matching the logo and business card. Loaded after each page's own styles. */
:root {
  --ip-navy: #0B2A4A; --ip-navy-deep: #071E35; --ip-teal: #0EA58C; --ip-teal-ink: #0A7D69;
  --ip-green: #1FCB97; --ip-cyan: #0E97A3; --ip-mint: #E9F7F2;
  --ip-grad: linear-gradient(120deg, #1FCB97 0%, #0E97A3 100%);
  --bg: #F5F8FA; --surface: #FFFFFF; --fg: #0F1E2E; --muted: #52606F; --line: #DCE5EC;
  --brand: #0B2A4A; --brand-ink: #FFFFFF; --accent: #0A7D69; --soft: #E9F7F2;
  --display: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Plus Jakarta Sans", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
h2, .post h2 { color: var(--ip-navy); font-weight: 800; }
a { color: var(--ip-teal-ink); }

/* Top bar */
.topnav { background: var(--ip-navy-deep); border-bottom: 3px solid transparent; border-image: var(--ip-grad) 1; }

/* Section labels: teal with a short gradient dash, like the card */
.eyebrow { color: var(--ip-teal-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--ip-grad); flex: none; }
.hero .eyebrow { color: #3DDBB0; }

/* Hero: navy with a soft green glow, a faint logo mark and the teal wave from the card */
.hero { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 420px at 88% -8%, rgba(31,203,151,.22), transparent 62%), linear-gradient(135deg, #0B2A4A 0%, #071E35 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; right: -90px; top: 12px; width: 380px; height: 380px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cdefs%3E%3Cmask id=%22m%22%3E%3Crect width=%22100%22 height=%22100%22 fill=%22%23fff%22/%3E%3Cpath d=%22M50 28 L68 34 V54 C68 67 60 75 50 80 C40 75 32 67 32 54 V34 Z%22 fill=%22%23000%22/%3E%3Crect x=%2248.4%22 y=%2278%22 width=%223.2%22 height=%2222%22 fill=%22%23000%22/%3E%3C/mask%3E%3C/defs%3E%3Cg mask=%22url%28%23m%29%22 fill=%22%23fff%22%3E%3Ccircle cx=%2220%22 cy=%2217%22 r=%2210.5%22/%3E%3Ccircle cx=%2280%22 cy=%2217%22 r=%2210.5%22/%3E%3Cpath d=%22M3 100 V58 C3 46 12 38 24 38 H50 V100 Z%22/%3E%3Cpath d=%22M97 100 V58 C97 46 88 38 76 38 H50 V100 Z%22/%3E%3C/g%3E%3Cpath d=%22M39 52 L47 60 L61 45%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%225.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / contain no-repeat; opacity: .05; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 72px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 90%22 preserveAspectRatio=%22none%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 x2=%221%22 y1=%220%22 y2=%220%22%3E%3Cstop offset=%220%22 stop-color=%22%231FCB97%22/%3E%3Cstop offset=%221%22 stop-color=%22%230E97A3%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M0 58 C 380 96 900 4 1440 26 L1440 90 L0 90 Z%22 fill=%22url%28%23g%29%22/%3E%3Cpath d=%22M0 72 C 380 110 900 18 1440 40 L1440 90 L0 90 Z%22 fill=%22%23F5F8FA%22/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 96px; }

/* Buttons */
.btn { border-radius: 12px; font-weight: 700; }
.btn-accent, .lf button { background: var(--ip-grad); color: #06231C; border: 0; box-shadow: 0 8px 22px rgba(14,151,163,.30); }
.btn-brand { background: var(--ip-navy); color: #FFFFFF; }
.btn-brand:hover { background: #123A63; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
  .btn-accent:hover, .lf button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14,151,163,.40); }
}

/* Cards */
.plan, .contact div, .quote-box, .blogcta, .lead-box, .toc, .related a { border-radius: 16px; }
.plan, .contact div, .quote-box, .blogcta { border-color: var(--line); box-shadow: 0 1px 2px rgba(11,42,74,.04), 0 10px 28px rgba(11,42,74,.06); }
.plan { position: relative; overflow: hidden; padding-top: 24px; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ip-grad); }
.plan h3 { color: var(--ip-navy); }
.plan .who-for, .post .tag { justify-self: start; background: var(--ip-mint); color: var(--ip-teal-ink); padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }

/* How it works: numbered steps in gradient circles */
.steps li::before { background: var(--ip-grad); color: #06231C; font-weight: 800; box-shadow: 0 6px 16px rgba(14,151,163,.25); }

/* Quote form */
.quote { background: linear-gradient(180deg, #E9F7F2 0%, #F5F8FA 100%); }
input[type=text], input[type=tel], input[type=number], select, textarea { background: #FFFFFF; border-radius: 12px; border-color: var(--line); }
input:focus, select:focus, textarea:focus { border-color: var(--ip-teal); }
.chip span { background: #FFFFFF; }
.chip:hover span { border-color: var(--ip-teal); }
.chip input:checked + span { background: var(--ip-navy); border-color: var(--ip-navy); color: #FFFFFF; }

/* Contact cards get the round teal icons from the business card */
.contact div { position: relative; padding-left: 66px; }
.contact div::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill=%22%23fff%22 d=%22M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.15.38 2.36.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z%22/%3E%3C/svg%3E") center / 18px 18px no-repeat, var(--ip-grad); }
.contact div:nth-child(2)::before { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22/%3E%3Cpath d=%22M3.5 7l8.5 6 8.5-6%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / 18px 18px no-repeat, var(--ip-grad); }
.contact div:nth-child(3)::before { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 21.5s6.5-5.8 6.5-11.2a6.5 6.5 0 1 0-13 0c0 5.4 6.5 11.2 6.5 11.2z%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22/%3E%3Ccircle cx=%2212%22 cy=%2210.2%22 r=%222.4%22 fill=%22%23fff%22/%3E%3C/svg%3E") center / 18px 18px no-repeat, var(--ip-grad); }

/* Footer: navy with the logo */
footer { background: var(--ip-navy-deep); color: #A9B8C7; border-top: 0; position: relative; padding-block: 40px 56px; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ip-grad); }
footer strong { color: #FFFFFF; }
footer a { color: #8EE3CB; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }

@media (max-width: 760px) {
  .hero::before { width: 240px; height: 240px; right: -70px; top: 14px; }
  .hero::after { height: 44px; }
  .hero .wrap { padding-bottom: 64px; }
  footer { margin-bottom: -76px; padding-bottom: 132px; }
}
