/* Aviva India - static site
   Breakpoints: <=600 mobile, 601-1024 tablet, >1024 desktop */

:root {
  --yellow: #ffd900;
  --navy: #191d64;
  --blue: #1034bf;
  --blue-light: #3d7be0;
  --blue-dark: #10338e;
  --ink: #191919;
  --body: #303b50;
  --muted: #737373;
  --line: #c6c6c6;
  --rule: #eeefee;
  --bg: #f9f9f9;
  --red: #b10101;
  --cream: #fff3c6;
  --maxw: 1344px;
  --pad: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}
a:hover,
a:focus {
  color: var(--navy);
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}
:target {
  scroll-margin-top: 24px;
}
h2.cat {
  scroll-margin-top: 24px;
}
.table-wrap + h2.cat {
  margin-top: 44px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus {
  left: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 14px 32px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}
.btn-yellow:hover,
.btn-yellow:focus {
  background: #f0cc00;
  color: var(--navy);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover,
.btn-blue:focus {
  background: var(--navy);
  color: #fff;
}
.btn-sm {
  padding: 10px 22px;
  font-size: 15px;
}
.fund-nav-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
/* ---------- header ---------- */

.site-header {
  background: var(--yellow);
  padding: 14px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo img {
  width: 150px;
}

.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.nav-toggle {
  display: none;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}
.nav-check:focus-visible + .nav-toggle {
  outline: 3px solid rgba(16, 52, 191, 0.5);
  outline-offset: 2px;
}
.nav-toggle .bars {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy);
}
.nav-toggle .bars::before {
  top: -6px;
}
.nav-toggle .bars::after {
  top: 6px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-weight: 600;
  color: var(--navy);
}
.main-nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
}
.main-nav a:hover,
.main-nav a:focus {
  text-decoration: underline;
}

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ---------- alert bar ---------- */

.alert-bar {
  background: var(--red);
  color: #fff;
  margin: 0;
  padding: 11px var(--pad);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}
.alert-bar .wrap {
  padding: 0;
  display: block;
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(90deg, #c9dcf7, #f9f9f9 60%);
  padding: 48px var(--pad);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-img {
  flex: 1 1 380px;
  min-width: 0;
}
.hero-img img {
  border-radius: 12px;
  width: 100%;
}
.hero-copy {
  flex: 1.2 1 440px;
  min-width: 0;
}
.hero-copy h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
  margin-bottom: 12px;
}
.hero-copy h1 .hl {
  background: var(--blue);
  color: #fff;
  padding: 0 10px;
  border-radius: 4px;
  display: inline-block;
}
.hero-sub {
  margin: 0 0 28px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--navy);
  font-weight: 600;
}

/* icon strip */

.usp {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.usp li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 10px;
}
.usp li + li {
  border-left: 1px dotted var(--line);
}
.usp svg {
  display: block;
  margin: 0 auto 10px;
  width: 56px;
  height: 56px;
}
.usp span {
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  line-height: 1.35;
  display: block;
}

/* ---------- page banner (sub pages) ---------- */

.page-banner {
  background: linear-gradient(135deg, #12163a 0%, #1b2147 55%, #2b3367 100%);
  color: #fff;
  padding: 30px var(--pad);
}
.page-banner .crumb {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.page-banner .crumb a {
  color: #fff;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 34px);
}
.page-banner p {
  margin: 10px 0 0;
  font-size: 17px;
  color: #c6c6c6;
  max-width: 760px;
}

/* ---------- sections ---------- */

.section {
  padding: 44px 0;
}
.section.alt {
  background: var(--bg);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.section-head::before,
.section-head::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--blue);
}
.section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  text-align: center;
}

.section-note {
  margin: 0 0 24px;
  text-align: center;
  color: var(--body);
  font-size: 16px;
}

h2.plain {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 14px;
}
h2.cat {
  font-size: 22px;
  margin: 44px 0 14px;
}
h2.cat:first-of-type {
  margin-top: 8px;
}

/* ---------- cards ---------- */

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card {
  flex: 1 1 280px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.card.grey {
  background: var(--bg);
  border: 0;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.card p {
  margin: 0 0 10px;
  color: var(--body);
}
.card svg {
  margin-bottom: 10px;
}
.card .inner {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  line-height: 1.7;
  color: var(--body);
}

/* fraud notice */

.notice {
  border: 2px solid var(--red);
  background: var(--cream);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
}
.notice svg {
  flex: none;
  width: 40px;
  height: 40px;
}

/* ---------- tables ---------- */

.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
table {
  border-collapse: collapse;
  width: 100%;
}
caption {
  text-align: left;
  padding: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
}
thead th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-size: 16px;
}
tbody td {
  padding: 14px 16px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  border-top: 1px solid var(--rule);
}
tbody tr:nth-child(even) {
  background: var(--bg);
}
td.plan {
  font-weight: 700;
  color: var(--navy);
}
td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td ul {
  margin: 0;
  padding-left: 18px;
}
td ul li {
  margin-bottom: 4px;
}

.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  white-space: nowrap;
}

.table-foot {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.table-foot p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- form ---------- */

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.field {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.field input::placeholder {
  color: var(--muted);
  font-style: italic;
}
.field input:focus {
  outline: 3px solid rgba(16, 52, 191, 0.35);
  outline-offset: 1px;
}

.captcha {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 18px;
}
.captcha-q {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--rule);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 1px;
  user-select: none;
}
.captcha-refresh {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.captcha .field {
  flex: 1 1 220px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.consent input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  flex: none;
}
.consent label {
  color: var(--red);
  font-size: 15px;
  line-height: 1.45;
}

.form-actions {
  text-align: center;
}

.form-msg {
  margin: 14px 0 0;
  font-weight: 700;
}
.form-msg.err {
  color: var(--red);
}
.form-msg.ok {
  color: #3e812c;
}

/* ---------- footer ---------- */

.site-footer {
  background: linear-gradient(135deg, #12163a 0%, #1b2147 55%, #2b3367 100%);
  color: #fff;
  padding: 32px var(--pad) 28px;
  font-size: 16px;
  line-height: 1.45;
}
.site-footer a {
  color: #fff;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 26px;
}
.foot-links {
  flex: 2 1 520px;
  min-width: 0;
}
.foot-contact {
  flex: 1 1 280px;
  min-width: 0;
}
.foot-head {
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.foot-links .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.foot-links .cols div {
  flex: 1 1 240px;
  min-width: 0;
}
.foot-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-links li {
  padding: 5px 0;
}
.foot-links a {
  text-decoration: none;
}
.foot-links a:hover,
.foot-links a:focus {
  text-decoration: underline;
}

.social-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.social-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}
.social-bar a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 26px;
}
.legal-left {
  flex: 1 1 520px;
  min-width: 0;
}
.legal-right {
  flex: 1 1 460px;
  min-width: 0;
}
.legal p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
}
.fraud-box {
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 18px;
}
.company-name {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 10px;
}
.offices {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 20px;
}
.offices div {
  flex: 1 1 200px;
  min-width: 0;
}
.offices .t {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.offices .b {
  font-size: 14px;
  line-height: 1.6;
}

/* ================= tablet ================= */

@media (max-width: 1024px) {
  :root {
    --pad: 28px;
  }
  .hero {
    padding: 36px var(--pad);
  }
  .hero-inner {
    gap: 28px;
  }
  .usp svg {
    width: 48px;
    height: 48px;
  }
  .usp span {
    font-size: 14px;
  }
  .foot-cols {
    gap: 28px;
  }
  .legal {
    gap: 28px;
  }
}

/* ================= mobile ================= */

@media (max-width: 760px) {
  :root {
    --pad: 18px;
  }
  h2.cat {
    margin: 32px 0 12px;
  }
  .alert-bar {
    font-size: 14px;
    text-align: left;
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 12px var(--pad);
    gap: 12px;
  }
  .site-header .logo img {
    width: 120px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    flex-basis: 100%;
    display: none;
  }
  .nav-check:checked ~ .main-nav {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    border-top: 1px solid rgba(25, 29, 100, 0.25);
  }
  .main-nav a {
    padding: 12px 0;
    width: 100%;
  }
  .header-cta .btn {
    padding: 11px 20px;
    font-size: 15px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 22px;
  }
  .hero-copy {
    order: 1;
  }
  .hero-img {
    order: 2;
    flex: 1 1 auto;
    width: 100%;
  }

  /* icon strip wraps to 2 x 2 on small screens */
  .usp {
    flex-wrap: wrap;
  }
  .usp li {
    flex: 1 1 44%;
    padding: 14px 8px;
  }
  .usp li + li {
    border-left: 0;
  }
  .usp li:nth-child(even) {
    border-left: 1px dotted var(--line);
  }
  .usp li:nth-child(n + 3) {
    border-top: 1px dotted var(--line);
  }

  .section {
    padding: 30px 0;
  }
  .section-head {
    gap: 12px;
  }
  .section-head::before,
  .section-head::after {
    display: none;
  }
  .section-head h2 {
    text-align: left;
  }
  .section-note {
    text-align: left;
  }

  /* tables become stacked cards */
  .responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .responsive-table tbody tr {
    display: block;
    border-top: 1px solid var(--line);
    padding: 4px 0 10px;
  }
  .responsive-table tbody tr:first-child {
    border-top: 0;
  }
  .responsive-table tbody td {
    display: block;
    border: 0;
    padding: 6px 16px;
  }
  .responsive-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .responsive-table tbody td.plan {
    font-size: 18px;
    padding-top: 12px;
  }
  .responsive-table tbody td.plan::before {
    display: none;
  }
  .responsive-table td.num {
    text-align: left;
  }

  .captcha {
    align-items: stretch;
  }
  .captcha-q {
    flex: 1 1 auto;
  }

  .foot-cols,
  .legal {
    flex-direction: column;
    gap: 24px;
  }
  .foot-links .cols {
    flex-direction: column;
    gap: 0;
  }
  .offices {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .usp li {
    flex: 1 1 100%;
    border-left: 0 !important;
  }
  .usp li + li {
    border-top: 1px dotted var(--line);
  }
}

/* ================= print ================= */

@media print {
  .site-header,
  .alert-bar,
  .nav-toggle,
  .btn,
  .social-bar {
    display: none;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
  .site-footer {
    background: none;
    color: #000;
  }
}

/* ---------- show more (no JavaScript) ---------- */

.more {
  border-top: 1px solid var(--rule);
}
.more > summary {
  list-style: none;
  display: block;
  padding: 16px;
  text-align: center;
  cursor: pointer;
}
.more > summary::-webkit-details-marker {
  display: none;
}
.more > summary .btn {
  pointer-events: none;
}
.more > summary .label-closed {
  display: inline-block;
}
.more > summary .label-open {
  display: none;
}
.more[open] > summary .label-closed {
  display: none;
}
.more[open] > summary .label-open {
  display: inline-block;
}
.more > summary:focus-visible {
  outline: 3px solid rgba(16, 52, 191, 0.5);
  outline-offset: -3px;
}
.more table {
  border-top: 1px solid var(--rule);
}
