/* Life insurance page */

/* Hero: copy left, the umbrella family right */
.life-hero { align-items: center; }
.life-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--snow); }
.life-hero__art { display: grid; place-items: center; }
.life-hero__art img { width: min(100%, 360px); height: auto; filter: drop-shadow(0 18px 30px rgba(22, 47, 57, .15)); }
@media (max-width: 900px) { .life-hero__art img { width: min(70%, 300px); } }

/* Video section */
.life-video__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.life-video__grid .head { margin-bottom: 0; }
.life-video__grid .head .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 900px) { .life-video__grid { grid-template-columns: minmax(0, 1fr); } }

/* Five ways to build it */
.ways { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); margin-top: clamp(24px, 4vw, 40px); }
.way { grid-column: span 2; position: relative; display: grid; align-content: start; gap: 8px; padding: clamp(20px, 2.6vw, 28px); background: var(--snow); border: var(--line); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
.way:nth-child(4), .way:nth-child(5) { grid-column: span 3; }
.way h3 { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: var(--step-2); line-height: 1.1; }
.way__num { font: 800 .8rem/1 var(--body); letter-spacing: .12em; color: var(--glow-ink); }
.way__tag { font-weight: 800; color: var(--mint-ink); }
.way p:last-child { color: var(--ink-soft); }
.way--featured { background: var(--ink); color: var(--on-dark); box-shadow: 6px 6px 0 var(--glow); }
.way--featured .way__tag { color: var(--mint); }
.way--featured p:last-child { color: var(--on-dark-soft); }
.way--featured .way__num { color: var(--glow); }
.way__badge { position: absolute; top: -14px; right: 18px; padding: 6px 12px; border: var(--line); border-radius: 999px; background: var(--glow); color: var(--ink); font: 800 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; transform: rotate(3deg); }
@media (max-width: 900px) { .ways { grid-template-columns: minmax(0, 1fr); } .way, .way:nth-child(4), .way:nth-child(5) { grid-column: auto; } }

/* Term vs whole vs IUL */
.ptable-wrap { margin-top: clamp(24px, 4vw, 40px); border: var(--line); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: var(--snow); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1.5px dashed #d9ccb4; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable thead th { background: var(--ink); color: var(--on-dark); font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: var(--step-1); border-bottom: var(--line); }
.ptable thead th:nth-child(4) { color: var(--mint); }
.ptable tbody th { width: 22%; font-weight: 800; color: var(--ink); }
.ptable tbody td { color: var(--ink-soft); }
.ptable__span { background: #e8f8f1; color: var(--ink) !important; font-weight: 700; }
/* Phones: one card per policy type instead of the table */
.ptypes { display: none; }
@media (max-width: 700px) {
  .ptable-wrap { display: none; }
  .ptypes { display: grid; gap: 16px; margin-top: 24px; }
  .ptype { background: var(--snow); border: var(--line); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
  .ptype h3 { margin: 0; padding: 14px 18px; background: var(--ink); color: var(--on-dark); font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: var(--step-2); }
  .ptype--3 h3 { color: var(--mint); }
  .ptype__best { margin: 0; padding: 14px 18px 4px; font-weight: 700; color: var(--ink); }
  .ptype__best span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--glow-ink); margin-bottom: 2px; }
  .ptype dl { margin: 0; padding: 6px 18px 14px; display: grid; }
  .ptype dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1.5px dashed #d9ccb4; }
  .ptype dt { font-weight: 800; color: var(--ink); }
  .ptype dd { margin: 0; text-align: right; color: var(--ink-soft); }
  .ptypes__note { margin: 4px 0 0; padding: 14px 16px; background: #e8f8f1; border: 2px solid var(--mint); border-radius: 14px; color: var(--ink); }
}

/* Where standard policies fall short: dark band, numbered trail-marker list */
.gaps__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.gaps__grid .head { margin-bottom: 0; }
.gaps__yeti { width: clamp(170px, 20vw, 270px); margin-top: 18px; }
.gaps__list { list-style: none; margin: 0; padding: 0; display: grid; }
.gap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.5vw, 28px); align-items: start; padding: clamp(18px, 2.4vw, 26px) 0; border-top: 1.5px dashed rgba(243, 235, 221, .28); }
.gap:last-child { border-bottom: 1.5px dashed rgba(243, 235, 221, .28); }
.gap__num { display: grid; place-items: center; width: clamp(52px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%; background: var(--glow); color: var(--ink); border: var(--line); border-color: var(--night); box-shadow: 4px 4px 0 var(--mint); font: 800 clamp(1.1rem, .9rem + .6vw, 1.4rem)/1 var(--display); font-variation-settings: "SOFT" 100; }
.gap h3 { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: var(--step-2); line-height: 1.1; color: var(--on-dark); margin-bottom: 6px; }
.gap p { color: var(--on-dark-soft); }
@media (max-width: 900px) {
  .gaps__grid { grid-template-columns: minmax(0, 1fr); }
  .gaps__yeti { display: none; }
}

/* Policy facts inside each "way" card */
.way__body { color: var(--ink-soft); }
.way__facts { margin: 8px 0 0; display: grid; }
.way__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1.5px dashed #d9ccb4; font-size: .92rem; }
.way__facts dt { font-weight: 800; color: var(--ink); white-space: nowrap; }
.way__facts dd { margin: 0; text-align: right; color: var(--ink-soft); }
.way--featured .way__body { color: var(--on-dark-soft); }
.way--featured .way__facts div { border-top-color: rgba(243, 235, 221, .25); }
.way--featured .way__facts dt { color: var(--on-dark); }
.way--featured .way__facts dd { color: var(--on-dark-soft); }

/* Living benefits */
.living__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 70px); align-items: end; }
.living__top .head { margin-bottom: 0; max-width: 46em; }
.living__yeti { width: clamp(130px, 14vw, 190px); }
.living__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); margin-top: clamp(28px, 4vw, 44px); }
.lcard { padding: clamp(20px, 2.6vw, 28px); background: var(--snow); border: var(--line); border-radius: 20px; box-shadow: 6px 6px 0 var(--mint); display: grid; gap: 8px; align-content: start; }
.lcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); border: var(--line); font: 800 .95rem/1 var(--display); font-variation-settings: "SOFT" 100; color: var(--ink); }
.lcard h3 { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: var(--step-2); line-height: 1.1; }
.lcard p { color: var(--ink-soft); }
.living__know { margin-top: clamp(22px, 3vw, 34px); padding: clamp(18px, 2.4vw, 26px); border: 2px dashed var(--ink-soft); border-radius: 18px; }
.living__know h3 { font: 800 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--glow-ink); margin-bottom: 10px; }
.living__know ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink); }
@media (max-width: 900px) {
  .living__top { grid-template-columns: minmax(0, 1fr); }
  .living__yeti { display: none; }
  .living__cards { grid-template-columns: minmax(0, 1fr); }
}

/* Living benefits: numbered how-it-works steps + uses */
ol.living__cards { list-style: none; padding: 0; counter-reset: none; }
.lcard { position: relative; }
.living__uses { margin-top: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; align-items: center; }
.living__uses h3, .living__know h3 { font: 800 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--glow-ink); margin: 0; }
.living__uses ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.living__uses li { padding: 9px 16px; border: var(--line); border-radius: 999px; background: var(--snow); font-weight: 700; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.living__know h3 { margin-bottom: 10px; }
@media (max-width: 900px) { .living__uses { grid-template-columns: minmax(0, 1fr); } .living__uses li { font-size: .92rem; } }
