/* =========================================================
  REDOVAR PRODUCT LIFETIME POLICY
  Developed by Cavendish Pierre-Louis
  https://cavendishpierrelouis.io
========================================================= */

:root {
  --blue: #0B369A;
  --blue-hover: #092F86;

  --terra: #C34811;
  --terra-hover: #A93D0D;

  --black: #111111;
  --text: #171717;

  --muted: #6B6B68;
  --soft: #8B8B86;

  --border: #E7E7E3;
  --border-strong: #D9D9D4;

  --surface: #F7F7F5;
  --surface-alt: #F2F2EF;

  --white: #FFFFFF;

  --radius: 4px;

  --max: 1480px;

  --gutter:
    clamp(
      22px,
      4.4vw,
      72px
    );

  --header-h: 76px;

  --ease:
    cubic-bezier(
      .22,
      .61,
      .36,
      1
    );
}


/* =========================================================
  RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  min-width: 320px;

  overflow-x: clip;

  background:
    var(--white);

  color:
    var(--text);

  font-family:
    "Onest",
    "Helvetica Neue",
    Arial,
    sans-serif;

  -webkit-font-smoothing:
    antialiased;

  text-rendering:
    optimizeLegibility;
}


img {
  display: block;
}


a {
  color: inherit;
}


button {
  font: inherit;
}


::selection {
  background:
    rgba(
      11,
      54,
      154,
      .14
    );
}


/* =========================================================
  MAIN
========================================================= */

.lifetime-main {
  width: 100%;

  overflow: clip;

  background:
    var(--white);
}


/* =========================================================
  SHELL
========================================================= */

.lifetime-shell {
  width:
    min(
      100%,
      var(--max)
    );

  margin-inline:
    auto;

  padding-inline:
    var(--gutter);
}


/* =========================================================
  HERO
========================================================= */

.lifetime-hero {
  position: relative;

  isolation: isolate;

  min-height:
    clamp(
      470px,
      44vw,
      610px
    );

  padding:
    calc(
      var(--header-h)
      +
      clamp(
        86px,
        8vw,
        126px
      )
    )
    0
    clamp(
      126px,
      12vw,
      176px
    );

  overflow: hidden;

  background-color:
    var(--terra);

  background-image:
    linear-gradient(
      90deg,
      rgba(195, 72, 17, .98) 0%,
      rgba(195, 72, 17, .96) 29%,
      rgba(195, 72, 17, .83) 48%,
      rgba(195, 72, 17, .40) 68%,
      rgba(195, 72, 17, .08) 86%,
      rgba(195, 72, 17, 0) 100%
    ),
    url("../../assets/images/legal-hero.PNG");

  background-repeat:
    no-repeat;

  background-position:
    center,
    center right;

  background-size:
    cover,
    cover;

  color:
    var(--white);
}


/* =========================================================
  HERO BOTTOM CURVE
========================================================= */

.lifetime-hero::after {
  content: "";

  position: absolute;

  z-index: 1;

  left: 50%;
  bottom: -72px;

  width: 116%;
  height: 108px;

  background:
    var(--white);

  border-radius:
    50%
    50%
    0
    0
    /
    100%
    100%
    0
    0;

  transform:
    translateX(-50%);

  pointer-events: none;
}


/* =========================================================
  HERO INNER
========================================================= */

.lifetime-hero-inner {
  position: relative;

  z-index: 2;

  min-height: 100%;

  display: flex;

  align-items: center;
}


/* =========================================================
  HERO COPY
========================================================= */

.lifetime-hero-copy {
  width:
    min(
      100%,
      790px
    );
}


.lifetime-copy-menu {
  position: absolute;

  top: calc(var(--header-h) + clamp(25px, 2.7vw, 38px));
  right:
    max(
      var(--gutter),
      calc(
        (100vw - var(--max)) / 2 + var(--gutter)
      )
    );

  z-index: 30;
}


.lifetime-copy-menu summary {
  list-style: none;
}


.lifetime-copy-menu summary::-webkit-details-marker {
  display: none;
}


.lifetime-copy-trigger {
  min-height: 40px;

  padding: 0 14px;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  border-radius: 4px;

  background: var(--white);

  color: var(--blue);

  font-size: 11px;

  line-height: 1;

  font-weight: 550;

  cursor: pointer;
}


.lifetime-copy-trigger > img {
  flex: 0 0 15px;

  width: 15px;

  height: 15px;

  object-fit: contain;
}


.lifetime-copy-trigger:hover,
.lifetime-copy-trigger:focus-visible,
.lifetime-copy-menu[open] .lifetime-copy-trigger {
  background: #F1F1EE;

  outline: none;
}


.lifetime-copy-chevron {
  width: 7px;
  height: 7px;

  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;

  transform: translateY(-2px) rotate(45deg);
}


.lifetime-copy-menu[open] .lifetime-copy-chevron {
  transform: translateY(2px) rotate(225deg);
}


.lifetime-copy-dropdown {
  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  width: min(340px, calc(100vw - 32px));

  padding: 6px;

  display: grid;

  gap: 2px;

  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 6px;

  background: var(--white);

  color: var(--text);

  box-shadow: 0 18px 54px rgba(0, 0, 0, .12);
}


.lifetime-copy-action {
  width: 100%;
  min-height: 56px;

  padding: 9px 10px;

  display: grid;

  grid-template-columns: 21px minmax(0, 1fr);

  gap: 11px;

  align-items: center;

  border-radius: 4px;

  background: transparent;

  color: var(--text);

  text-align: left;
  text-decoration: none;

  cursor: pointer;
}


.lifetime-copy-action:hover,
.lifetime-copy-action:focus-visible {
  background: var(--surface);

  outline: none;
}


.lifetime-copy-action > img {
  width: 18px;
  height: 18px;

  object-fit: contain;

  filter: brightness(0) saturate(100%);
}


.lifetime-copy-action > span {
  min-width: 0;

  display: grid;

  gap: 2px;
}


.lifetime-copy-action strong {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
}


.lifetime-copy-action small {
  color: var(--muted);

  font-size: 10px;
  line-height: 1.35;
}


.lifetime-copy-toast {
  position: absolute;

  right: var(--gutter);
  bottom: 26px;

  display: none;

  min-height: 32px;

  padding: 0 11px;

  align-items: center;

  border-radius: 4px;

  background: var(--white);

  color: var(--text);

  font-size: 10px;
}


.lifetime-copy-toast.is-visible {
  display: inline-flex;
}


.lifetime-hero h1 {
  max-width: 900px;

  margin: 0;

  color:
    var(--white);

  font-size:
    clamp(
      56px,
      6vw,
      88px
    );

  line-height: .95;

  letter-spacing:
    -.056em;

  font-weight: 500;

  text-wrap: balance;
}


.lifetime-hero-lead {
  max-width: 580px;

  margin:
    27px
    0
    0;

  color:
    rgba(
      255,
      255,
      255,
      .82
    );

  font-size:
    clamp(
      16px,
      1.3vw,
      19px
    );

  line-height: 1.62;

  letter-spacing:
    -.012em;

  font-weight: 400;
}


/* =========================================================
  POLICY
========================================================= */

.lifetime-policy {
  position: relative;

  background:
    var(--white);
}


/* =========================================================
  POLICY LAYOUT

  IMPORTANT:
  Rail stays far left.
  TOC sits beside it.
  Reading column lands around the visual center.
========================================================= */

.lifetime-policy-grid {
  position: relative;

  padding-top:
    clamp(
      84px,
      8vw,
      118px
    );

  padding-bottom:
    clamp(
      126px,
      12vw,
      176px
    );

  display: grid;

  grid-template-columns:
    20px
    minmax(170px, 210px)
    minmax(0, 660px)
    minmax(0, 1fr);

  column-gap:
    clamp(
      38px,
      4vw,
      62px
    );

  align-items: start;
}


/* =========================================================
  STICKY BROKEN PROGRESS
========================================================= */

.lifetime-progress {
  position: sticky;

  top:
    calc(
      var(--header-h)
      +
      44px
    );

  grid-column: 1;

  align-self: start;

  width: 20px;

  display: flex;

  justify-content: flex-start;
}


/* =========================================================
  BROKEN RAIL
========================================================= */

.lifetime-progress-rail {
  width: 8px;

  display: grid;

  justify-items: center;

  gap: 7px;
}


.lifetime-status-dash {
  width: 2px;

  height: 15px;

  display: block;

  border-radius:
    999px;

  background:
    #DCDCD7;

  transform:
    scaleY(.92);

  transform-origin:
    top center;

  opacity: .9;

  transition:
    background-color
    220ms
    ease,
    transform
    300ms
    var(--ease),
    opacity
    220ms
    ease;
}


.lifetime-status-dash.is-on {
  background:
    var(--terra);

  transform:
    scaleY(1);

  opacity: 1;
}


/* =========================================================
  TABLE OF CONTENTS
========================================================= */

.lifetime-toc {
  position: sticky;

  top:
    calc(
      var(--header-h)
      +
      42px
    );

  grid-column: 2;

  align-self: start;

  min-width: 0;
}


/* =========================================================
  TOC NAV
========================================================= */

.lifetime-toc-nav {
  width: 100%;

  display: grid;

  gap: 2px;
}


/* =========================================================
  TOC LABEL
========================================================= */

.lifetime-toc-label {
  margin:
    0
    0
    17px;

  color:
    var(--text);

  font-size: 11px;

  line-height: 1.2;

  font-weight: 600;

  letter-spacing:
    -.008em;

  display: flex;

  align-items: center;

  gap: 8px;
}


.lifetime-toc-label img {
  width: 15px;
  height: 15px;

  object-fit: contain;
}


/* =========================================================
  TOC LINKS
========================================================= */

.lifetime-toc-nav a {
  width: 100%;

  padding:
    7px
    0;

  color:
    var(--soft);

  font-size: 12px;

  line-height: 1.45;

  letter-spacing:
    -.008em;

  font-weight: 450;

  text-decoration: none;

  transition:
    color
    160ms
    ease,
    transform
    220ms
    var(--ease);
}


.lifetime-toc-nav a:hover,
.lifetime-toc-nav a:focus-visible {
  color:
    var(--text);

  outline: none;

  transform:
    translateX(2px);
}


.lifetime-toc-nav a.is-active {
  color:
    var(--text);

  font-weight: 600;

  transform: none;
}


/* =========================================================
  READING COLUMN
========================================================= */

.lifetime-copy {
  grid-column: 3;

  width: 100%;

  max-width: 660px;

  min-width: 0;
}


/* =========================================================
  DOCUMENT INTRO
========================================================= */

.lifetime-document-intro {
  width: 100%;

  margin:
    0
    0
    clamp(
      78px,
      7vw,
      104px
    );
}


/* =========================================================
  DOCUMENT META
========================================================= */

.lifetime-document-meta {
  width: 100%;

  margin:
    0
    0
    42px;

  padding:
    0
    0
    24px;

  display: flex;

  align-items: flex-start;

  gap:
    clamp(
      34px,
      5vw,
      64px
    );

  border-bottom:
    1px
    solid
    var(--border);
}


.lifetime-document-meta p {
  margin: 0 !important;

  display: grid;

  gap: 5px;

  font-size: 12px !important;

  line-height: 1.4 !important;
}


.lifetime-document-meta span {
  color:
    var(--soft);

  font-size: 10px;

  line-height: 1.2;

  font-weight: 500;
}


.lifetime-document-meta strong {
  color:
    var(--text);

  font-size: 12px;

  line-height: 1.4;

  font-weight: 550;
}


.lifetime-meta-value {
  display: inline-flex;

  align-items: center;

  gap: 7px;
}


.lifetime-meta-value img {
  width: 15px;
  height: 15px;

  object-fit: contain;

  opacity: 1;
}


/* =========================================================
  INTRO TITLE
========================================================= */

.lifetime-document-intro > h2 {
  max-width: 620px;

  margin:
    0
    0
    24px;

  color:
    var(--text);

  font-size: 22px;

  line-height: 1.3;

  letter-spacing:
    -.022em;

  font-weight: 600;

  text-wrap: pretty;
}


/* =========================================================
  BOOK COPY
========================================================= */

.lifetime-copy p {
  width: 100%;

  max-width: 64ch;

  margin:
    0
    0
    1.18em;

  color:
    #3A3A37;

  font-size: 15.5px;

  line-height: 1.74;

  letter-spacing:
    -.006em;

  font-weight: 400;

  text-align: left;

  text-wrap: pretty;

  font-kerning: normal;

  hyphens: none;
}


.lifetime-copy p:last-child {
  margin-bottom: 0;
}


/* =========================================================
  INTRO COPY
========================================================= */

.lifetime-document-intro > p {
  max-width: 63ch;

  color:
    #30302E;

  font-size: 16.5px;

  line-height: 1.72;

  letter-spacing:
    -.01em;
}


/* =========================================================
  READING SECTIONS
========================================================= */

.lifetime-copy-section {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 0;

  scroll-margin-top:
    calc(
      var(--header-h)
      +
      56px
    );
}


.lifetime-copy-section
+
.lifetime-copy-section {
  margin-top:
    clamp(
      66px,
      6vw,
      88px
    );
}


/* =========================================================
  SECTION TITLES

  DESKTOP:
  Titles live in the left TOC.
  Keep H2 semantically in the document for accessibility.
========================================================= */

.lifetime-copy-section > h2 {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip:
    rect(
      0,
      0,
      0,
      0
    );

  white-space: nowrap;

  border: 0;
}


/* =========================================================
  EMPHASIS
========================================================= */

.lifetime-copy
.lifetime-emphasis {
  max-width: 60ch;

  margin-top: 25px;

  color:
    var(--text);

  font-size: 16px;

  line-height: 1.68;

  letter-spacing:
    -.01em;

  font-weight: 550;
}


/* =========================================================
  SUPPORT FACTORS
========================================================= */

.lifetime-factors {
  width: 100%;

  margin:
    32px
    0
    34px;

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  gap: 12px;
}


/* =========================================================
  FACTOR CARD
========================================================= */

.lifetime-factors > div {
  min-width: 0;

  min-height:
    154px;

  padding:
    20px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: flex-start;

  gap:
    18px;

  border:
    0;

  border-radius:
    var(--radius);

  background:
    var(--surface);
}


/* =========================================================
  FACTOR LABEL
========================================================= */

.lifetime-factor-label {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    9px;

  color:
    var(--blue);

  font-size:
    10.5px;

  line-height:
    1.4;

  font-weight:
    600;
}


.lifetime-factor-label img {
  width:
    19px;

  height:
    19px;

  flex:
    0
    0
    19px;

  object-fit:
    contain;
}


.lifetime-factor-label > span {
  color:
    inherit;

  font-size:
    inherit;

  line-height:
    inherit;

  font-weight:
    inherit;
}


.lifetime-factors strong {
  max-width:
    100%;

  color:
    var(--text);

  font-size:
    13.5px;

  line-height:
    1.56;

  letter-spacing:
    -.006em;

  font-weight:
    500;
}


.lifetime-after-factors {
  margin-top:
    28px !important;
}


/* =========================================================
  INLINE LINK
========================================================= */

.lifetime-inline-link {
  position: relative;

  margin-top: 8px;

  display: inline-flex;

  align-items: center;

  min-height: 36px;

  color:
    var(--blue);

  font-size: 12px;

  line-height: 1;

  font-weight: 550;

  text-decoration: none;

  transition:
    color
    180ms
    ease;
}


.lifetime-inline-link::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 5px;

  height: 1px;

  background:
    currentColor;

  transform:
    scaleX(1);

  transform-origin:
    left center;

  transition:
    transform
    260ms
    var(--ease);
}


.lifetime-inline-link:hover,
.lifetime-inline-link:focus-visible {
  color:
    var(--terra);

  outline: none;
}


.lifetime-inline-link:hover::after,
.lifetime-inline-link:focus-visible::after {
  transform:
    scaleX(0);

  transform-origin:
    right center;
}


/* =========================================================
  PAGE ACTIONS
========================================================= */

.lifetime-page-actions {
  width: 100%;

  margin-top:
    clamp(
      80px,
      8vw,
      110px
    );

  padding-top:
    34px;

  border-top:
    1px
    solid
    var(--border);

  background:
    transparent;
}


/* =========================================================
  ACTION GROUP
========================================================= */

.lifetime-page-actions-inner {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap:
    clamp(
      28px,
      4vw,
      50px
    );
}


/* =========================================================
  ACTION BUTTON
========================================================= */

.lifetime-page-actions button {
  min-height: 46px;

  padding: 0;

  display: inline-flex;

  align-items: center;

  gap: 11px;

  border: 0;

  background:
    transparent;

  color:
    var(--text);

  font-size: 11px;

  line-height: 1;

  font-weight: 600;

  cursor: pointer;

  transition:
    color
    150ms
    ease;
}


.lifetime-page-actions button:hover,
.lifetime-page-actions button:focus-visible {
  color:
    var(--blue);

  outline: none;
}


/* =========================================================
  ACTION ICON
========================================================= */

.lifetime-page-action-icon {
  width: 34px;
  height: 34px;

  display: grid;

  place-items: center;

  flex:
    0
    0
    34px;

  background:
    transparent;
}


.lifetime-page-action-icon img {
  width: 18px;
  height: 18px;

  object-fit: contain;

  transition:
    filter
    150ms
    ease;
}


.lifetime-page-action-status {
  align-self: center;

  color:
    var(--muted);

  font-size: 11px;
}


/* =========================================================
  RIGHT LAYOUT SPACE
========================================================= */

.lifetime-layout-space {
  grid-column: 4;

  min-width: 0;
}


/* =========================================================
  CLOSING
========================================================= */

.lifetime-closing {
  padding:
    clamp(
      120px,
      11vw,
      176px
    )
    0;

  background:
    var(--blue);

  color:
    var(--white);
}


.lifetime-closing-inner {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}


.lifetime-closing h2 {
  max-width: 820px;

  margin: 0;

  color:
    var(--white);

  font-size:
    clamp(
      42px,
      5vw,
      72px
    );

  line-height: .98;

  letter-spacing:
    -.05em;

  font-weight: 500;
}


/* =========================================================
  CLOSING BUTTON
========================================================= */

.lifetime-button {
  min-width: 104px;

  min-height: 44px;

  margin-top: 38px;

  padding:
    0
    16px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius:
    var(--radius);

  background:
    var(--white);

  color:
    var(--blue);

  font-size: 12px;

  line-height: 1;

  font-weight: 600;

  text-decoration: none;

  transition:
    background-color
    160ms
    ease,
    transform
    160ms
    ease;
}


.lifetime-button:hover,
.lifetime-button:focus-visible {
  background:
    var(--border-strong);

  outline: none;
}


.lifetime-button:active {
  transform:
    translateY(1px);
}


/* =========================================================
  TABLET
========================================================= */

@media (max-width: 1120px) {

  .lifetime-policy-grid {
    grid-template-columns:
      18px
      minmax(155px, 185px)
      minmax(0, 620px)
      minmax(0, 1fr);

    column-gap:
      clamp(
        28px,
        3.5vw,
        44px
      );
  }

}


/* =========================================================
  TABLET / COMPACT
========================================================= */

@media (max-width: 900px) {

  .lifetime-policy-grid {
    padding-top: 0;

    grid-template-columns:
      1fr;

    column-gap: 0;
  }


  /* =======================================================
    MOBILE / TABLET TOC
  ======================================================== */

  .lifetime-toc {
    position: sticky;

    top:
      var(--header-h);

    z-index: 30;

    grid-column: 1;
    grid-row: 1;

    width:
      calc(
        100%
        +
        var(--gutter)
        +
        var(--gutter)
      );

    margin-left:
      calc(
        var(--gutter)
        *
        -1
      );

    padding:
      13px
      var(--gutter);

    background:
      rgba(
        255,
        255,
        255,
        .96
      );

    backdrop-filter:
      blur(12px);

    -webkit-backdrop-filter:
      blur(12px);

    border-bottom:
      1px
      solid
      rgba(
        17,
        17,
        17,
        .055
      );
  }


  .lifetime-toc-nav {
    display: flex;

    align-items: center;

    gap: 24px;

    overflow-x: auto;

    scrollbar-width: none;

    -webkit-overflow-scrolling:
      touch;
  }


  .lifetime-toc-nav::-webkit-scrollbar {
    display: none;
  }


  .lifetime-toc-label {
    flex:
      0
      0
      auto;

    margin: 0;

    padding-right: 4px;
  }


  .lifetime-toc-nav a {
    flex:
      0
      0
      auto;

    width: auto;

    padding:
      6px
      0;

    white-space: nowrap;
  }


  /* =======================================================
    HORIZONTAL PROGRESS
  ======================================================== */

  .lifetime-progress {
    position: sticky;

    top:
      calc(
        var(--header-h)
        +
        47px
      );

    z-index: 29;

    grid-column: 1;
    grid-row: 2;

    width:
      calc(
        100%
        +
        var(--gutter)
        +
        var(--gutter)
      );

    margin-left:
      calc(
        var(--gutter)
        *
        -1
      );

    padding:
      9px
      var(--gutter);

    background:
      rgba(
        255,
        255,
        255,
        .96
      );

    justify-content: flex-start;
  }


  .lifetime-progress-rail {
    width: 100%;

    display: flex;

    gap: 6px;
  }


  .lifetime-status-dash {
    width: auto;

    height: 2px;

    flex: 1;

    transform:
      scaleX(.94);

    transform-origin:
      left center;
  }


  .lifetime-status-dash.is-on {
    transform:
      scaleX(1);
  }


  .lifetime-copy {
    grid-column: 1;
    grid-row: 3;

    width: 100%;

    max-width: 660px;

    padding-top:
      clamp(
        66px,
        8vw,
        88px
      );
  }


  .lifetime-layout-space {
    display: none;
  }

}


/* =========================================================
  MOBILE
========================================================= */

@media (max-width: 760px) {

  .lifetime-hero {
    min-height: 430px;

    padding:
      calc(
        var(--header-h)
        +
        66px
      )
      0
      104px;

    background-position:
      center,
      62%
      center;
  }


  .lifetime-hero h1 {
    font-size:
      clamp(
        46px,
        12vw,
        64px
      );
  }


  .lifetime-hero-lead {
    max-width: 420px;

    font-size: 16px;
  }


  .lifetime-hero::after {
    bottom: -76px;

    width: 145%;
    height: 106px;
  }


  .lifetime-policy-grid {
    padding-bottom:
      108px;
  }


  .lifetime-document-intro {
    margin-bottom: 72px;
  }


  .lifetime-document-meta {
    gap: 28px;

    margin-bottom: 34px;
  }


  .lifetime-copy-section
  +
  .lifetime-copy-section {
    margin-top: 68px;
  }


  /*
    On small screens the left TOC becomes horizontal,
    so show the section heading in the copy again.
  */
  .lifetime-copy-section > h2 {
    position: static;

    width: auto;
    height: auto;

    margin:
      0
      0
      18px;

    padding: 0;

    overflow: visible;

    clip: auto;

    white-space: normal;

    color:
      var(--text);

    font-size: 18px;

    line-height: 1.4;

    letter-spacing:
      -.018em;

    font-weight: 600;

    text-wrap: pretty;
  }


  .lifetime-copy p {
    max-width: 100%;

    font-size: 15.5px;

    line-height: 1.72;
  }


  .lifetime-document-intro > p {
    font-size: 16px;

    line-height: 1.7;
  }


  .lifetime-factors {
    grid-template-columns:
      1fr;

    gap:
      10px;
  }


  .lifetime-factors > div {
    min-height:
      0;

    padding:
      18px;
  }


  .lifetime-closing {
    padding:
      96px
      0;
  }

}


/* =========================================================
  SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .lifetime-hero {
    min-height: 400px;

    padding:
      calc(
        var(--header-h)
        +
        54px
      )
      0
      94px;
  }


  .lifetime-document-meta {
    display: grid;

    gap: 17px;

    padding-bottom: 21px;
  }


  .lifetime-document-intro > h2 {
    font-size: 20px;
  }


  .lifetime-copy {
    padding-top: 58px;
  }


  .lifetime-copy-section
  +
  .lifetime-copy-section {
    margin-top: 60px;
  }


  .lifetime-factors {
    margin-top: 27px;
  }


  .lifetime-factors > div {
    padding:
      17px;
  }


  .lifetime-factor-label img {
    width:
      18px;

    height:
      18px;

    flex-basis:
      18px;
  }


  .lifetime-page-actions-inner {
    display: grid;

    grid-template-columns:
      1fr;
  }


  .lifetime-page-actions button {
    width: 100%;
  }


  .lifetime-closing {
    padding:
      86px
      0;
  }


  .lifetime-button {
    width: 100%;
  }

}


/* =========================================================
  PRINT
========================================================= */

@media print {

  .site-header,
  .mobile-menu,
  .lifetime-progress,
  .lifetime-toc,
  .lifetime-page-actions,
  .lifetime-closing,
  .site-footer,
  .privacy-control {
    display:
      none
      !important;
  }


  .lifetime-hero {
    min-height: 0;

    padding:
      32px
      0;

    background:
      var(--white);

    color:
      var(--text);
  }


  .lifetime-hero::after {
    display: none;
  }


  .lifetime-hero h1 {
    color:
      var(--text);

    font-size: 34px;
  }


  .lifetime-hero-lead {
    color:
      var(--muted);
  }


  .lifetime-policy-grid {
    display: block;

    width: 100%;

    padding:
      42px
      0;
  }


  .lifetime-copy {
    max-width: none;
  }


  .lifetime-copy-section > h2 {
    position: static;

    width: auto;
    height: auto;

    margin:
      30px
      0
      16px;

    padding: 0;

    overflow: visible;

    clip: auto;

    white-space: normal;

    font-size: 18px;

    font-weight: 600;
  }

}


/* =========================================================
  REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration:
      .01ms
      !important;

    animation-iteration-count:
      1
      !important;

    transition-duration:
      .01ms
      !important;
  }

}
