/* FoT Messages A — scoped under Uncode. Body background is the only unscoped page rule. */
body.fot-home-app {
  --night: #0A0B1C;
  --card: #14162E;
  --mist: #C8C6D4;
  --ivory: #F4F1EA;
  --indigo: #3E3FE8;
  --first: #C4BEF2;
  background: var(--night);
  color: var(--ivory);
}

body.fot-home-app .fot-home-page,
body.fot-home-app .fot-home-page * {
  box-sizing: border-box;
}

body.fot-home-app .fot-home-page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 0;
  font-family: Inter, "Liberation Sans", sans-serif;
  background: var(--night);
  color: var(--ivory);
}

body.fot-home-app .fot-home-page a {
  color: var(--ivory);
  text-decoration: none;
  box-shadow: none;
  background: none;
}
body.fot-home-app .fot-home-page a:hover,
body.fot-home-app .fot-home-page a:focus-visible {
  color: var(--first);
  background: transparent;
  background-image: none;
  text-decoration: none;
  transform: none;
  filter: none;
}

/*
 * Public-site hover (locked).
 * Text links / nav / titles: ivory #F4F1EA → #C4BEF2. No fill.
 * Indigo primary pills: fill stays #3E3FE8, type stays white.
 * Hover adds 1px rim #C4BEF2. Do not turn violet. No gradient, no scale.
 */
body.fot-home-app header a:hover,
body.fot-home-app header a:focus-visible,
body.fot-home-app .menu-container a:hover,
body.fot-home-app .menu-wrapper a:hover,
body.fot-home-app .overlay-menu a:hover,
body.fot-home-app .mobile-menu a:hover,
body.fot-home-app .navbar a:hover {
  color: #C4BEF2 !important;
  background-color: transparent !important;
  background-image: none !important;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none;
}

body.fot-home-app .fot-pill:hover,
body.fot-home-app .fot-home-page a.read:hover,
body.fot-home-app .fot-home-page a.read:focus-visible,
body.fot-home-app header a.btn:hover,
body.fot-home-app header .btn:hover {
  background-color: #3E3FE8 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 0 0 1px #C4BEF2;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

body.fot-home-app .fot-home-page p {
  margin: 0;
  padding: 0;
}
body.fot-home-app .fot-home-page h1 {
  margin: 0;
  padding: 0;
}

/* Hide leftover plugin chrome if another plugin injects it. Uncode nav stays. */
body.fot-home-app .fot-home-page > header,
body.fot-home-app .fot-home-page .wordmark,
body.fot-home-app .fot-home-page .brand,
body.fot-home-app .fot-home-page .close {
  display: none !important;
}

/* —— Hero / wash —— */
body.fot-home-app .fot-home-page .hero {
  min-height: 0;
  padding: 8px 48px 20px;
  background:
    linear-gradient(90deg, rgba(10,11,28,.90) 0%, rgba(10,11,28,.58) 36%, rgba(10,11,28,.18) 60%, transparent 80%),
    linear-gradient(180deg, rgba(10,11,28,.10) 0%, rgba(10,11,28,.06) 50%, var(--night) 100%),
    url("hero-a3-wash.png") center 18% / cover no-repeat,
    var(--night);
}
body.fot-home-app .fot-home-page .hero-copy {
  max-width: 720px;
}
body.fot-home-app .fot-home-page h1 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  line-height: 1.06;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 14px;
}

/* —— Speaker filters (text links) —— */
body.fot-home-app .fot-home-page .filters {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
body.fot-home-app .fot-home-page .filters a {
  background: none;
  border: 0;
  padding: 0;
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--mist);
  letter-spacing: .01em;
}
body.fot-home-app .fot-home-page .filters a.on {
  color: var(--ivory);
  font-weight: 500;
}
body.fot-home-app .fot-home-page .filters a:hover,
body.fot-home-app .fot-home-page .filters a:focus-visible {
  color: var(--first);
  background: transparent;
}

/* —— Featured well —— */
body.fot-home-app .fot-home-page .well-wrap {
  padding: 4px 48px 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
body.fot-home-app .fot-home-page .well {
  background: var(--card);
  border-radius: 16px;
  padding: 40px 42px 38px;
  box-shadow: 0 0 0 1px rgba(200,198,212,.10), 0 18px 40px rgba(0,0,0,.28);
}
body.fot-home-app .fot-home-page .kicker {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--first);
  font-weight: 500;
  margin-bottom: 14px;
}
body.fot-home-app .fot-home-page .feat-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
}
body.fot-home-app .fot-home-page .feat-av {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 1px solid rgba(244,241,234,.28);
  background: var(--night);
}
body.fot-home-app .fot-home-page .feat-id {
  min-width: 0;
  flex: 1 1 auto;
}
body.fot-home-app .fot-home-page .feat-id .by {
  margin-bottom: 0;
}
body.fot-home-app .fot-home-page .feat-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 12px;
}
body.fot-home-app .fot-home-page .by {
  font-size: 14px;
  color: var(--ivory);
  margin-bottom: 12px;
}
body.fot-home-app .fot-home-page .by b {
  font-weight: 600;
}
body.fot-home-app .fot-home-page .by time {
  color: var(--mist);
  font-weight: 400;
}
body.fot-home-app .fot-home-page .feat-dek {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mist);
  max-width: 640px;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
body.fot-home-app .fot-home-page a.read,
body.fot-home-app .fot-home-page a.read:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--indigo);
  background-image: none;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  filter: none;
}
body.fot-home-app .fot-home-page a.read:hover,
body.fot-home-app .fot-home-page a.read:focus-visible {
  background: #3E3FE8;
  background-image: none;
  color: #fff;
  box-shadow: 0 0 0 1px #C4BEF2;
  transform: none;
  filter: none;
}
body.fot-home-app .fot-home-page .feat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body.fot-home-app .fot-home-page a.listen,
body.fot-home-app .fot-home-page a.listen:visited,
body.fot-home-app .fot-home-page a.watch,
body.fot-home-app .fot-home-page a.watch:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(200,198,212,.45);
  background: transparent;
  background-image: none;
  color: var(--ivory);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  filter: none;
}
body.fot-home-app .fot-home-page a.listen:hover,
body.fot-home-app .fot-home-page a.listen:focus-visible,
body.fot-home-app .fot-home-page a.watch:hover,
body.fot-home-app .fot-home-page a.watch:focus-visible {
  color: #C4BEF2;
  border-color: #C4BEF2;
  background: transparent;
  background-image: none;
  box-shadow: none;
  transform: none;
  filter: none;
}

/* —— Month ledgers —— */
body.fot-home-app .fot-home-page .ledger {
  padding: 36px 48px 8px;
  background: var(--night);
}
body.fot-home-app .fot-home-page .month {
  margin-bottom: 6px;
}
body.fot-home-app .fot-home-page .month-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0 10px;
  border-bottom: 1px solid rgba(200,198,212,.16);
  margin-bottom: 2px;
}
body.fot-home-app .fot-home-page .month-h .lab {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}
body.fot-home-app .fot-home-page .month-h .n {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 400;
}
body.fot-home-app .fot-home-page a.row {
  display: grid;
  grid-template-columns: 148px 1fr 108px;
  gap: 24px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(200,198,212,.08);
  text-decoration: none;
  color: var(--ivory);
  background: none;
}
body.fot-home-app .fot-home-page a.row .who {
  font-size: 12.5px;
  color: var(--mist);
  font-weight: 400;
}
body.fot-home-app .fot-home-page a.row .ttl {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: -.01em;
}
body.fot-home-app .fot-home-page a.row time {
  font-size: 12.5px;
  color: var(--mist);
  text-align: right;
}
body.fot-home-app .fot-home-page a.row time .m {
  display: none;
}
body.fot-home-app .fot-home-page a.row:hover,
body.fot-home-app .fot-home-page a.row:focus-visible {
  color: var(--ivory);
  background: transparent;
  background-image: none;
  transform: none;
  filter: none;
}
body.fot-home-app .fot-home-page a.row:hover .ttl,
body.fot-home-app .fot-home-page a.row:focus-visible .ttl {
  color: var(--first);
}
body.fot-home-app .fot-home-page a.row:hover .who,
body.fot-home-app .fot-home-page a.row:focus-visible .who,
body.fot-home-app .fot-home-page a.row:hover time,
body.fot-home-app .fot-home-page a.row:focus-visible time {
  color: var(--mist);
}

body.fot-home-app .fot-home-page .empty {
  display: none;
  padding: 28px 0 12px;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.5;
}
body.fot-home-app .fot-home-page .empty.show {
  display: block;
}

body.fot-home-app .fot-home-page .fot-msg-note {
  padding: 32px 48px 48px;
  border-top: 1px solid rgba(200,198,212,.10);
  margin-top: 28px;
}
body.fot-home-app .fot-home-page .fot-msg-note p {
  font-size: 13.5px;
  color: var(--mist);
  max-width: 480px;
  line-height: 1.45;
}

/* Mobile — from fot-msg-a-mobile.html. Do not force 390px min-width. */
@media (max-width: 900px) {
  body.fot-home-app .fot-home-page .hero {
    min-height: 0;
    padding: 8px 16px 8px;
    background:
      linear-gradient(180deg, rgba(10,11,28,.10) 0%, var(--night) 100%),
      url("hero-a3-wash.png") center 18% / cover no-repeat,
      var(--night);
  }
  body.fot-home-app .fot-home-page .hero-copy {
    max-width: none;
  }
  body.fot-home-app .fot-home-page h1 {
    font-size: 28px;
    line-height: 1.08;
    margin-bottom: 12px;
  }
  body.fot-home-app .fot-home-page .filters {
    gap: 10px 16px;
  }
  body.fot-home-app .fot-home-page .filters a {
    font-size: 13px;
    font-weight: 500;
    color: var(--mist);
  }
  body.fot-home-app .fot-home-page .filters a.on {
    color: var(--ivory);
  }

  body.fot-home-app .fot-home-page .well-wrap {
    padding: 16px 16px 8px;
    margin-top: 0;
  }
  body.fot-home-app .fot-home-page .well {
    border-radius: 12px;
    padding: 22px 18px 20px;
    box-shadow: 0 0 0 1px rgba(200,198,212,.10);
  }
  body.fot-home-app .fot-home-page .kicker {
    margin-bottom: 10px;
  }
  body.fot-home-app .fot-home-page .feat-head {
    gap: 14px;
    margin-bottom: 10px;
  }
  body.fot-home-app .fot-home-page .feat-av {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  body.fot-home-app .fot-home-page .feat-title {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0;
  }
  body.fot-home-app .fot-home-page .by {
    font-size: 13.5px;
    margin-bottom: 10px;
  }
  body.fot-home-app .fot-home-page .feat-dek {
    font-size: 14px;
    max-width: none;
    margin-bottom: 16px;
  }

  body.fot-home-app .fot-home-page .ledger {
    padding: 12px 16px 8px;
  }
  body.fot-home-app .fot-home-page .month {
    margin-bottom: 10px;
  }
  body.fot-home-app .fot-home-page .month-h {
    padding: 16px 0 10px;
  }
  body.fot-home-app .fot-home-page .month-h .n {
    letter-spacing: .08em;
  }
  body.fot-home-app .fot-home-page a.row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 13px 0;
    grid-template-columns: none;
  }
  body.fot-home-app .fot-home-page a.row time {
    display: block;
    order: 1;
    font-size: 11px;
    color: var(--mist);
    text-align: left;
    margin-bottom: 3px;
  }
  body.fot-home-app .fot-home-page a.row time .d {
    display: none;
  }
  body.fot-home-app .fot-home-page a.row time .m {
    display: inline;
  }
  body.fot-home-app .fot-home-page a.row .who {
    display: block;
    order: 2;
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--first);
    font-weight: 500;
    margin-bottom: 3px;
  }
  body.fot-home-app .fot-home-page a.row .ttl {
    display: block;
    order: 3;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.25;
    color: var(--ivory);
  }
  body.fot-home-app .fot-home-page a.row:hover .who,
  body.fot-home-app .fot-home-page a.row:focus-visible .who {
    color: var(--first);
  }
  body.fot-home-app .fot-home-page a.row:hover time,
  body.fot-home-app .fot-home-page a.row:focus-visible time {
    color: var(--mist);
  }

  body.fot-home-app .fot-home-page .empty {
    padding: 20px 0 8px;
  }
  body.fot-home-app .fot-home-page .fot-msg-note {
    padding: 22px 16px 32px;
    margin-top: 24px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  body.fot-home-app .fot-home-page .hero,
  body.fot-home-app .fot-home-page .well-wrap,
  body.fot-home-app .fot-home-page .ledger,
  body.fot-home-app .fot-home-page .fot-msg-note {
    padding-left: 32px;
    padding-right: 32px;
  }
}

body.fot-home-app .fot-home-page .pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  padding: 20px 48px 36px;
  font-size: 13px;
}
body.fot-home-app .fot-home-page .pager a,
body.fot-home-app .fot-home-page .pager span {
  color: var(--mist);
  background: none;
  text-decoration: none;
}
body.fot-home-app .fot-home-page .pager a:hover,
body.fot-home-app .fot-home-page .pager a:focus-visible {
  color: var(--first);
  background: transparent;
}
body.fot-home-app .fot-home-page .pager .on {
  color: var(--ivory);
  font-weight: 500;
}
body.fot-home-app .fot-home-page .pager .gap {
  color: var(--mist);
}
